diff --git a/.github/workflows/build-doc.yaml b/.github/workflows/build-doc.yaml new file mode 100644 index 00000000..00fa2064 --- /dev/null +++ b/.github/workflows/build-doc.yaml @@ -0,0 +1,31 @@ +# SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +# +# SPDX-License-Identifier: MIT + +name: Build Documentation + +on: + push: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'corretto' + + - name: Create javadoc + run: mvn javadoc:javadoc + + - name: Deploy to gh-pages 🚀 + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: target/site/apidocs/ diff --git a/.github/workflows/ci-for-dev-scripts.yml b/.github/workflows/ci-for-dev-scripts.yml new file mode 100644 index 00000000..9a1ec283 --- /dev/null +++ b/.github/workflows/ci-for-dev-scripts.yml @@ -0,0 +1,40 @@ +# SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +# +# SPDX-License-Identifier: MIT + +name: CI-for-dev-scripts + +on: + push: + branches: [ master, main ] + tags: [ "**" ] + paths: + - dev_scripts/** + pull_request: + branches: [ "**" ] + paths: + - dev_scripts/** + +jobs: + Execute-continuous-integration: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['3.10'] + + steps: + - uses: actions/checkout@v7 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v7 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: | + python3 -m pip install --upgrade pip + pip3 install --group dev_scripts/pyproject.toml:dev -e dev_scripts + + - name: Run checks + run: | + python3 dev_scripts/continuous_integration_of_dev_scripts/precommit.py diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..c5ba9cc4 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,39 @@ +# SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +# +# SPDX-License-Identifier: MIT + +name: CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'corretto' + cache: maven + + - name: Check version info + run: | + pushd ./dev_scripts + pip3 install "." + popd + python3 ./dev_scripts/check_docs_package_version.py --validate + + - name: Build with Maven + run: mvn -B package --file pom.xml + + - name: Create javadoc + run: mvn javadoc:javadoc diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml new file mode 100644 index 00000000..fd007a3c --- /dev/null +++ b/.github/workflows/deploy.yaml @@ -0,0 +1,35 @@ +# SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +# +# SPDX-License-Identifier: MIT + +name: Publish package to the Maven Central Repository + +on: + release: + types: [created] + +jobs: + publish: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up Maven Central Repository + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'corretto' + server-id: central + server-username: MAVEN_USERNAME + server-password: MAVEN_PASSWORD + gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} + gpg-passphrase: MAVEN_GPG_PASSPHRASE + + - name: Publish package + run: mvn deploy -P release + env: + MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} + MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..d15ecd72 --- /dev/null +++ b/.gitignore @@ -0,0 +1,64 @@ +# SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +# +# SPDX-License-Identifier: MIT + +# Compiled class file +*.class + +# Log file +*.log + +# BlueJ files +*.ctxt + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.jar +*.war +*.nar +*.ear +*.zip +*.tar.gz +*.rar + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* +replay_pid* + +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +# IntelliJ IDEA +.idea/ +*.iws +*.iml +*.ipr + +# Eclipse +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +# NetBeans +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +# VS Code +.vscode/ + +# Mac OS +.DS_Store diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..94e0a291 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,121 @@ +# Contributing + +## Issues + +Please report bugs or feature requests by [creating GitHub issues]. + +[creating GitHub issues]: https://github.com/aas-core-works/aas-core3.2-java/issues/new/choose + +## In Code + +If you want to contribute in code, pull requests are welcome! + +Please do [create a new issue] before you dive into coding. +It can well be that we already started working on the feature, or that there are upstream or downstream complexities involved which you might not be aware of. + +[create a new issue]: https://github.com/aas-core-works/aas-core3.2-java/issues/new/choose + +### SDK Code Generation + +The biggest part of the code has been automatically generated by [aas-core-codegen]. +It probably makes most sense to change the generator rather than add new functionality. +However, this needs to be decided on a case-by-case basis. + +[aas-core-codegen]: https://github.com/aas-core-works/aas-core-codegen + +### Semantic Patching for `dk.brics.automaton` + +The regular expression engine in the standard Java library runs into stack overflow on some of the regular expressions required by the meta-model. +We therefore had to resort to the external library `dk.brics.automaton` for some of the regular expressions. + +Once the code is generated by `aas-core-codegen` (see above), you have to semantically patch it to use `dk.brics.automaton`. + +Please see [dev_scripts/semantic-patching/README.md](dev_scripts/semantic-patching/README.md) for more information. + +### Test Code Generation + +The code of the unit tests has been automatically generated using the Python scripts in the `dev_scripts/` directory. + +To re-generate the test code, first create a virtual environment in `dev_scripts/`: + +``` +python -m venv venv +``` + +Activate the virtual environment (in Windows): + +``` +venv\Scripts\activate +``` + +or in Linux: +``` +source venv/bin/activate +``` + +Then install the dependencies: + +``` +pip3 install -e . +``` + +Now you can run the generation scripts: + +``` +python dev_scripts/update_all.py +``` + +### Test Data + +The test data is automatically generated by [aas-core3.2-testgen], and copied to this repository on every change. + +[aas-core3.2-testgen]: https://github.com/aas-core-works/aas-core3.2-testgen + +### Build + +To build the project, run: + +```bash +mvn build +``` + +### Pre-commit Checks + +To lint, check, and test your project, you can use the `mvn verify` subcommand. +Maven will install all necessary dependencies automatically: + +```bash +mvn verify +``` + +## Pull Requests + +**Feature branches**. +We develop using the feature branches, see [this section of the Git book]. + +[this section of the Git book]: https://git-scm.com/book/en/v2/Git-Branching-Branching-Workflows + +If you are a member of the development team, create a feature branch directly within the repository. + +Otherwise, if you are a non-member contributor, fork the repository and create the feature branch in your forked repository. See [this GitHub tutorial] for more guidance. + +[this GitHub tutorial]: https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork + +**Branch Prefix**. +Please prefix the branch with your Github user name (*e.g.,* `mristin/Add-some-feature`). + +**Continuous Integration**. +GitHub will run the continuous integration (CI) automatically through GitHub actions. +The CI includes building the solution, running the test, inspecting the code *etc.* + +### Commit Messages + +The commit messages follow the guidelines from https://chris.beams.io/posts/git-commit: + +* Separate subject from body with a blank line, +* Limit the subject line to 50 characters, +* Capitalize the subject line, +* Do not end the subject line with a period, +* Use the imperative mood in the subject line, +* Wrap the body at 72 characters, and +* Use the body to explain *what* and *why* (instead of *how*). diff --git a/LICENSE b/LICENSE index 83ca1897..1f280b51 100644 --- a/LICENSE +++ b/LICENSE @@ -19,3 +19,5 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Please see the file AUTHORS for the full list of the authors of aas-core3.2-java. diff --git a/LICENSES/CC-BY-4.0.txt b/LICENSES/CC-BY-4.0.txt new file mode 100644 index 00000000..13ca539f --- /dev/null +++ b/LICENSES/CC-BY-4.0.txt @@ -0,0 +1,156 @@ +Creative Commons Attribution 4.0 International + + Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. + +Considerations for licensors: Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. More considerations for licensors. + +Considerations for the public: By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor’s permission is not necessary for any reason–for example, because of any applicable exception or limitation to copyright–then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. More considerations for the public. + +Creative Commons Attribution 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. + +Section 1 – Definitions. + + a. Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License. + + c. Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. + + d. Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements. + + e. Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material. + + f. Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License. + + g. Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license. + + h. Licensor means the individual(s) or entity(ies) granting rights under this Public License. + + i. Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them. + + j. Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world. + + k. You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. + +Section 2 – Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to: + + A. reproduce and Share the Licensed Material, in whole or in part; and + + B. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. + + 3. Term. The term of this Public License is specified in Section 6(a). + + 4. Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material. + + 5. Downstream recipients. + + A. Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License. + + B. No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material. + + 6. No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i). + +b. Other rights. + + 1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this Public License. + + 3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties. + +Section 3 – License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified form), You must: + + A. retain the following if it is supplied by the Licensor with the Licensed Material: + + i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of warranties; + + v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable; + + B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and + + C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information. + + 3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. + + 4. If You Share Adapted Material You produce, the Adapter's License You apply must not prevent recipients of the Adapted Material from complying with this Public License. + +Section 4 – Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database; + + b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and + + c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. +For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. + +Section 5 – Disclaimer of Warranties and Limitation of Liability. + + a. Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You. + + b. To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You. + + c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability. + +Section 6 – Term and Termination. + + a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or + + 2. upon express reinstatement by the Licensor. + + c. For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. + + d. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License. + + e. Sections 1, 5, 6, 7, and 8 survive termination of this Public License. + +Section 7 – Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License. + +Section 8 – Interpretation. + + a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions. + + c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor. + + d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority. + +Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. + +Creative Commons may be contacted at creativecommons.org. diff --git a/README.md b/README.md new file mode 100644 index 00000000..85a671a1 --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# aas-core3.2-java + +[![CI](https://github.com/aas-core-works/aas-core3.2-java/actions/workflows/ci.yml/badge.svg)](https://github.com/aas-core-works/aas-core3.2-java/actions/workflows/ci.yml) +[![Build Documentation](https://github.com/aas-core-works/aas-core3.2-java/actions/workflows/build-doc.yaml/badge.svg)](https://github.com/aas-core-works/aas-core3.2-java/actions/workflows/build-doc.yaml) + +This is a software development kit (SDK) to manipulate, verify and de/serialize Asset Administration Shells based on the version 3.0 of the meta-model. + +The documentation is available on https://aas-core-works.github.io/aas-core3.2-java/. + +The code has been automatically generated by aas-core-codegen. + +If you want to contribute, please see [CONTRIBUTING.md](CONTRIBUGING.md). diff --git a/REUSE.toml b/REUSE.toml index dbd2e83a..68468b80 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -10,3 +10,47 @@ path = ["AUTHORS"] precedence = "aggregate" SPDX-FileCopyrightText = "2026 aas-core3.2-java AUTHORS" SPDX-License-Identifier = "MIT" + +# Verbatim text and configurations that cannot be annotated by format, as +# the snippets are spliced into the generated code and the semantic-patching +# test data is compared byte-by-byte. +[[annotations]] +path = [ + "dev_scripts/codegen/snippets/**", + "dev_scripts/continuous_integration_of_dev_scripts/pylint.rc", + "dev_scripts/semantic-patching/test-data/**", +] +precedence = "aggregate" +SPDX-FileCopyrightText = "2026 aas-core3.2-java AUTHORS" +SPDX-License-Identifier = "MIT" + +# Test data and the recorded test outputs are generated and compared +# byte-by-byte, and JSON can not carry a comment. +[[annotations]] +path = ["test_data/**"] +precedence = "aggregate" +SPDX-FileCopyrightText = "2026 aas-core3.2-java AUTHORS" +SPDX-License-Identifier = "MIT" + +# The documentation. +[[annotations]] +path = ["README.md", "CONTRIBUTING.md", "dev_scripts/semantic-patching/README.md", "doc/**"] +precedence = "aggregate" +SPDX-FileCopyrightText = "2026 aas-core3.2-java AUTHORS" +SPDX-License-Identifier = "MIT" + +# The meta-model transcribes the AAS specification: its docstrings quote +# the definitions of the classes, attributes and constraints. That text keeps +# the license of the specification (published by IDTA under CC BY 4.0). +[[annotations]] +path = ["dev_scripts/codegen/meta_model.py"] +precedence = "aggregate" +SPDX-FileCopyrightText = "Industrial Digital Twin Association e. V." +SPDX-License-Identifier = "CC-BY-4.0" + +# The revision of the test data, read verbatim by the update script. +[[annotations]] +path = ["src/test/java/testgen_rev.txt"] +precedence = "aggregate" +SPDX-FileCopyrightText = "2026 aas-core3.2-java AUTHORS" +SPDX-License-Identifier = "MIT" diff --git a/dev_scripts/.gitignore b/dev_scripts/.gitignore new file mode 100644 index 00000000..be78d90a --- /dev/null +++ b/dev_scripts/.gitignore @@ -0,0 +1,8 @@ +# SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +# +# SPDX-License-Identifier: MIT + +__pycache__ +*.pyc +/*.egg-info +venv/ diff --git a/dev_scripts/apply_reuse_annotation.py b/dev_scripts/apply_reuse_annotation.py new file mode 100644 index 00000000..97682f29 --- /dev/null +++ b/dev_scripts/apply_reuse_annotation.py @@ -0,0 +1,54 @@ +# SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +# +# SPDX-License-Identifier: MIT + +"""Apply the REUSE annotation for the generated code.""" + +import argparse +import os +import pathlib +import subprocess +import sys + +_LICENSE = "MIT" + +_COPYRIGHT = "aas-core3.2-java AUTHORS" + +_YEAR = "2025" + + +def main() -> int: + """Execute the main routine.""" + parser = argparse.ArgumentParser(description=__doc__) + _ = parser.parse_args() + + repo_root = pathlib.Path(os.path.realpath(__file__)).parent.parent + + src_dir = os.path.relpath(str(repo_root / "src" / "main"), os.getcwd()) + test_dir = os.path.relpath(str(repo_root / "src" / "test"), os.getcwd()) + + subprocess.run( + [ + sys.executable, + "-m", + "reuse", + "annotate", + "--copyright", + _COPYRIGHT, + "--year", + _YEAR, + "--license", + _LICENSE, + "--skip-unrecognised", + "-r", + src_dir, + test_dir, + ], + check=True, + ) + + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/check.py b/dev_scripts/check.py new file mode 100644 index 00000000..30f83aae --- /dev/null +++ b/dev_scripts/check.py @@ -0,0 +1,56 @@ +# SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +# +# SPDX-License-Identifier: MIT + +"""Check that the code is formatted, the tests pass and the docs can be generated.""" + +import argparse +import os +import pathlib +import subprocess +import sys + + +def main() -> int: + """Execute the main routine.""" + parser = argparse.ArgumentParser(description=__doc__) + _ = parser.parse_args() + + repo_root = pathlib.Path(os.path.realpath(__file__)).parent.parent + + # NOTE: The spotless `apply` goal is bound to the `validate` phase, so any + # lifecycle phase (test, javadoc) re-formats the code. The formatting check + # has to run first, directly as a goal, so that it sees the code as committed. + steps = [ + ("Checking the formatting...", ["spotless:check"]), + ("Running the tests...", ["test"]), + ("Generating the docs...", ["javadoc:javadoc"]), + ] + + failed = [] + + print("Checking the REUSE compliance...") + exit_code = subprocess.call( + [sys.executable, "-m", "reuse", "lint"], cwd=str(repo_root) + ) + if exit_code != 0: + failed.append("Checking the REUSE compliance") + + for message, goals in steps: + print(message) + exit_code = subprocess.call(["mvn", "--batch-mode", *goals], cwd=str(repo_root)) + if exit_code != 0: + failed.append(message.rstrip(".")) + + if failed: + print("FAILED:", file=sys.stderr) + for message in failed: + print(f"* {message}", file=sys.stderr) + return 1 + + print("All checks passed.") + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/check_docs_package_version.py b/dev_scripts/check_docs_package_version.py new file mode 100644 index 00000000..fca84f83 --- /dev/null +++ b/dev_scripts/check_docs_package_version.py @@ -0,0 +1,164 @@ +# SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +# +# SPDX-License-Identifier: MIT + +""" +Check and conditionally update package version in docs. +""" + +from __future__ import annotations + +import argparse +from dataclasses import dataclass +import os +import pathlib +from pathlib import Path +import sys + +from lxml import etree + + +@dataclass +class DependencyInfo: + """Describe the Maven coordinates of the package.""" + + group_id: str + artifact_id: str + version: str + + +def _load_dependency_info(repo_root: Path) -> DependencyInfo: + pom_path = repo_root / "pom.xml" + + parser = etree.XMLParser() + tree = etree.parse(pom_path, parser=parser) + + group_id = tree.xpath( + "/pom:project/pom:groupId[1]", + namespaces={ + "pom": "http://maven.apache.org/POM/4.0.0", + }, + )[0].text + artifact_id = tree.xpath( + "/pom:project/pom:artifactId[1]", + namespaces={ + "pom": "http://maven.apache.org/POM/4.0.0", + }, + )[0].text + version = tree.xpath( + "/pom:project/pom:version[1]", + namespaces={ + "pom": "http://maven.apache.org/POM/4.0.0", + }, + )[0].text + + return DependencyInfo(group_id=group_id, artifact_id=artifact_id, version=version) + + +def _validate_docs_dependency(repo_root: Path) -> bool: + docs_overview_path = repo_root / "doc/overview.html" + + parser = etree.HTMLParser() + tree = etree.parse(docs_overview_path, parser=parser) + + group_id = tree.xpath( + "//dependency[1]/groupid[1]", + )[0].text + artifact_id = tree.xpath( + "//dependency[1]/artifactid[1]", + )[0].text + version = tree.xpath( + "//dependency[1]/version[1]", + )[0].text + + dependency_info = _load_dependency_info(repo_root) + + if dependency_info.group_id != group_id: + print( + f"ERROR: groupId did not match, found: {group_id}, expected {dependency_info.group_id}", + file=sys.stderr, + ) + + if dependency_info.artifact_id != artifact_id: + print( + f"ERROR: artifactId did not match, found: {artifact_id}, expected {dependency_info.artifact_id}", + file=sys.stderr, + ) + + if dependency_info.version != version: + print( + f"ERROR: version did not match, found: {version}, expected {dependency_info.version}", + file=sys.stderr, + ) + + return bool( + dependency_info.group_id == group_id + and dependency_info.artifact_id == artifact_id + and dependency_info.version == version + ) + + +def _update_docs_dependency(repo_root: Path) -> None: + docs_overview_path = repo_root / "doc/overview.html" + + parser = etree.HTMLParser() + tree = etree.parse(docs_overview_path, parser=parser) + + dependency_info = _load_dependency_info(repo_root) + + old_group_id = tree.xpath( + "//dependency[1]/groupid[1]", + )[0].text + old_artifact_id = tree.xpath( + "//dependency[1]/artifactid[1]", + )[0].text + old_version = tree.xpath( + "//dependency[1]/version[1]", + )[0].text + + with docs_overview_path.open("r+") as docs_overview_file: + data = docs_overview_file.read() + docs_overview_file.seek(0) + + data = data.replace(old_group_id, dependency_info.group_id) + data = data.replace(old_artifact_id, dependency_info.artifact_id) + data = data.replace(old_version, dependency_info.version) + + docs_overview_file.write(data) + + +def main() -> int: + """Execute the main routine.""" + this_path = pathlib.Path(os.path.realpath(__file__)) + repo_root = this_path.parent.parent + + parser = argparse.ArgumentParser( + description="Validate and update package dependency infos in the documentation" + ) + + group = parser.add_mutually_exclusive_group(required=True) + group.add_argument( + "--update", + action="store_true", + help="update the dependency info in the documentation", + ) + group.add_argument( + "--validate", + action="store_true", + help="check that dependency info in documentation matches pom.xml", + ) + + args = parser.parse_args() + + if args.update: + _update_docs_dependency(repo_root) + return 0 + + if not _validate_docs_dependency(repo_root): + return 1 + + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/codegen/meta_model.py b/dev_scripts/codegen/meta_model.py new file mode 100644 index 00000000..8e683d6a --- /dev/null +++ b/dev_scripts/codegen/meta_model.py @@ -0,0 +1,12374 @@ +# Downloaded from: https://raw.githubusercontent.com/aas-core-works/aas-core-meta/feab6a1c7047e4b05f636c1fa16dfe5d3469b661/aas_core_meta/v3_2.py +# SPDX-FileCopyrightText: 2024 aas-core-meta AUTHORS +# +# SPDX-License-Identifier: MIT + +""" +--- WORK IN PROGRESS --- +Provide an implementation of the Asset Administration Shell (AAS) V3.2. + +The presented version of the Metamodel is related to the work of +aas-core-works, which can be found here: https://github.com/aas-core-works. + +The presented content is neither related to the IDTA nor +Plattform Industrie 4.0 and does not represent an official publication. + +We diverge from the book in the following points. + +We did not implement the following constraints as they are too general and can not +be formalized as part of the core library, but affects external components such as +AAS registry or AAS server: + +* :constraintref:`AASd-022` + +We did not implement the following constraints since they depend on registry and +de-referencing of :class:`Reference` objects: + +* :constraintref:`AASd-006` +* :constraintref:`AASd-007` +* :constraintref:`AASc-3a-003` + +Some constraints are not enforceable as they depend on the wider context +such as language understanding, so we could not formalize them: + +* :constraintref:`AASd-012`: This constraint requires that the texts inside + ``Multi_language_property`` shall have the same meanings in the separate languages. + This cannot be tested. + +Furthermore, we diverge from the book in the following points regarding +the enumerations. We have to implement subsets of enumerations as sets as common +programming languages do not support inheritance of enumerations. The relationship +between the properties and the sets is defined through invariants. This causes +the following divergences: + +* We decided therefore to remove the enumeration ``DataTypeDefRDF`` + and keep only :class:`Data_type_def_XSD` as enumeration. Otherwise, we would have + to write redundant invariants all over the meta-model because ``DataTypeDefRDF`` + is actually never used in any type definition. + +* The enumeration :class:`AAS_submodel_elements` is used in two different contexts. + One context is the definition of key types in a reference. Another context is + the definition of element types in a :class:`Submodel_element_list`. + + To avoid confusion, we introduce two separate enumerations for the separate contexts. + Firstly, a set of :class:`Key_types`, :const:`AAS_submodel_elements_as_keys` to + represent the first context (key type in a reference). + Secondly, the enumeration :class:`AAS_submodel_elements` is kept as designator + for :attr:`Submodel_element_list.type_value_list_element`. + +* The specification introduces several types of ``Lang_string_set``. + These types differ between the allowed length of their text inside the singular + ``Lang_string`` objects. Since the native representation of ``Lang_string_set`` as + ``List`` of ``Lang_string`` is required by specification, it is impossible to + introduce separate ``Lang_string_set`` types. Therefore, the distinction is drawn here + between the ``Lang_string`` types. + + ``DefinitionTypeIEC61360`` is represented as a + ``List`` of :class:`Lang_string_definition_type_IEC_61360` + + ``MultiLanguageNameType`` is represented as a + ``List`` of :class:`Lang_string_name_type` + + ``PreferredNameTypeIEC61360`` is represented as a + ``List`` of :class:`Lang_string_preferred_name_type_IEC_61360` + + ``ShortNameTypeIEC61360`` is represented as a + ``List`` of :class:`Lang_string_short_name_type_IEC_61360` + + ``MultiLanguageTextType`` is represented as a + ``List`` of :class:`Lang_string_text_type` + + Furthermore, since ``Lang_string`` is not used anywhere, we rename it to + :class:`Abstract_lang_string`. + +Concerning the data specifications, we embed them within +:class:`Has_data_specification` instead of referencing them *via* an external reference. +The working group decided to change the rules for serialization *after* the book was +published. The data specifications are critical in applications, but there is no +possibility to access them through a data channel as they are not part of +an environment. +""" + +from enum import Enum +from re import match +from typing import ( + AbstractSet, + Annotated, + Final, + List, + Optional, + Sequence, + Set, + Tuple, + Union, +) + +from icontract import invariant, DBC, ensure + +from aas_core_meta.marker import ( + abstract, + serialization, + verification, + constant_set, + constant_str, + non_mutating, + json_name, + JSONObject, +) + +__version__ = "V3.2" + +__xml_namespace__ = "https://admin-shell.io/aas/3/2" + + +# region Verification + + +@verification +def matches_ID_short(text: str) -> bool: + """ + Check that :paramref:`text` is a valid short ID. + """ + pattern = f"^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$" + + return match(pattern, text) is not None + + +@verification +def matches_version_type(text: str) -> bool: + """ + Check that :paramref:`text` is a valid version string. + """ + pattern = f"^(0|[1-9][0-9]*)$" + + return match(pattern, text) is not None + + +@verification +def matches_revision_type(text: str) -> bool: + """ + Check that :paramref:`text` is a valid revision string. + """ + pattern = f"^(0|[1-9][0-9]*)$" + + return match(pattern, text) is not None + + +@verification +def matches_xs_date_time_UTC(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:dateTime``. + + The time zone must be fixed to UTC. We verify only that the ``text`` matches + a pre-defined pattern. We *do not* verify that the day of month is + correct nor do we check for leap seconds. + + See: https://www.w3.org/TR/xmlschema-2/#dateTime + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + digit = "[0-9]" + year_frag = f"-?(([1-9]{digit}{digit}{digit}+)|(0{digit}{digit}{digit}))" + month_frag = f"((0[1-9])|(1[0-2]))" + day_frag = f"((0[1-9])|([12]{digit})|(3[01]))" + hour_frag = f"(([01]{digit})|(2[0-3]))" + minute_frag = f"[0-5]{digit}" + second_frag = f"([0-5]{digit})(\\.{digit}+)?" + end_of_day_frag = "24:00:00(\\.0+)?" + timezone_frag = r"(Z|\+00:00|-00:00)" + date_time_lexical_rep = ( + f"{year_frag}-{month_frag}-{day_frag}" + f"T" + f"(({hour_frag}:{minute_frag}:{second_frag})|{end_of_day_frag})" + f"{timezone_frag}" + ) + pattern = f"^{date_time_lexical_rep}$" + + return match(pattern, text) is not None + + +@verification +def is_xs_date_time_UTC(text: str) -> bool: + """ + Check that :paramref:`text` is a ``xs:dateTime`` with time zone set to UTC. + + The ``text`` is assumed to match a pre-defined pattern for ``xs:dateTime`` with + the time zone set to UTC. In this function, we check for days of month (e.g., + February 29th). + + See: https://www.w3.org/TR/xmlschema-2/#dateTime + + :param text: Text to be checked + :returns: True if the :paramref:`text` is a valid ``xs:dateTime`` in UTC + """ + return matches_xs_date_time_UTC(text) and _is_prefix_valid_date(text) + + +@verification +def matches_MIME_type(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of MIME type. + + The definition has been taken from: + https://www.rfc-editor.org/rfc/rfc7231#section-3.1.1.1, + https://www.rfc-editor.org/rfc/rfc7230#section-3.2.3 and + https://www.rfc-editor.org/rfc/rfc7230#section-3.2.6. + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + tchar = "[!#$%&'*+\\-.^_`|~0-9a-zA-Z]" + token = f"({tchar})+" + type = f"{token}" + subtype = f"{token}" + ows = "[ \t]*" + obs_text = "[\\x80-\\xff]" + qd_text = f"([\t !#-\\[\\]-~]|{obs_text})" + quoted_pair = f"\\\\([\t !-~]|{obs_text})" + quoted_string = f'"({qd_text}|{quoted_pair})*"' + parameter = f"{token}=({token}|{quoted_string})" + media_type = f"^{type}/{subtype}({ows};{ows}{parameter})*$" + + return match(media_type, text) is not None + + +@verification +def matches_RFC_2396(text: str) -> bool: + """ + Check that :paramref:`text` matches to the URI pattern defined in RFC 2396 + + The definition has been taken from: + https://datatracker.ietf.org/doc/html/rfc2396 + + Note that RFX 2396 alone is not enough for specifying ``xs:anyURI`` for + XSD version 1.0, as that specifies URI together with the amendment of + RFC 2732. + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + alphanum = "[a-zA-Z0-9]" + mark = "[\\-_.!~*'()]" + unreserved = f"({alphanum}|{mark})" + hex = "([0-9]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF])" + escaped = f"%{hex}{hex}" + pchar = f"({unreserved}|{escaped}|[:@&=+$,])" + param = f"({pchar})*" + segment = f"({pchar})*(;{param})*" + path_segments = f"{segment}(/{segment})*" + abs_path = f"/{path_segments}" + scheme = "[a-zA-Z][a-zA-Z0-9+\\-.]*" + userinfo = f"({unreserved}|{escaped}|[;:&=+$,])*" + domainlabel = f"({alphanum}|{alphanum}({alphanum}|-)*{alphanum})" + toplabel = f"([a-zA-Z]|[a-zA-Z]({alphanum}|-)*{alphanum})" + hostname = f"({domainlabel}\\.)*{toplabel}(\\.)?" + ipv4address = "[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+" + host = f"({hostname}|{ipv4address})" + port = "[0-9]*" + hostport = f"{host}(:{port})?" + server = f"(({userinfo}@)?{hostport})?" + reg_name = f"({unreserved}|{escaped}|[$,;:@&=+])+" + authority = f"({server}|{reg_name})" + net_path = f"//{authority}({abs_path})?" + reserved = "[;/?:@&=+$,]" + uric = f"({reserved}|{unreserved}|{escaped})" + query = f"({uric})*" + hier_part = f"({net_path}|{abs_path})(\\?{query})?" + uric_no_slash = f"({unreserved}|{escaped}|[;?:@&=+$,])" + opaque_part = f"{uric_no_slash}({uric})*" + absoluteuri = f"{scheme}:({hier_part}|{opaque_part})" + fragment = f"({uric})*" + rel_segment = f"({unreserved}|{escaped}|[;@&=+$,])+" + rel_path = f"{rel_segment}({abs_path})?" + relativeuri = f"({net_path}|{abs_path}|{rel_path})(\\?{query})?" + uri_reference = f"^({absoluteuri}|{relativeuri})?(\\#{fragment})?$" + return match(uri_reference, text) is not None + + +# noinspection SpellCheckingInspection +@verification +def matches_BCP_47(text: str) -> bool: + """ + Check that :paramref:`text` is a valid BCP 47 language tag. + + See: https://en.wikipedia.org/wiki/IETF_language_tag + """ + alphanum = "[a-zA-Z0-9]" + singleton = "[0-9A-WY-Za-wy-z]" + extension = f"{singleton}(-({alphanum}){{2,8}})+" + extlang = "[a-zA-Z]{3}(-[a-zA-Z]{3}){,2}" + irregular = ( + "(en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|" + "i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|" + "i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)" + ) + regular = ( + "(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|" + "zh-min|zh-min-nan|zh-xiang)" + ) + grandfathered = f"({irregular}|{regular})" + language = f"([a-zA-Z]{{2,3}}(-{extlang})?|[a-zA-Z]{{4}}|[a-zA-Z]{{5,8}})" + script = "[a-zA-Z]{4}" + region = "([a-zA-Z]{2}|[0-9]{3})" + variant = f"(({alphanum}){{5,8}}|[0-9]({alphanum}){{3}})" + privateuse = f"[xX](-({alphanum}){{1,8}})+" + langtag = ( + f"{language}(-{script})?(-{region})?(-{variant})*(-{extension})*(-" + f"{privateuse})?" + ) + language_tag = f"({langtag}|{privateuse}|{grandfathered})" + + pattern = f"^{language_tag}$" + return match(pattern, text) is not None + + +@verification +def lang_strings_have_unique_languages( + lang_strings: Sequence["Abstract_lang_string"], +) -> bool: + """ + Check that the :paramref:`lang_strings` do not have overlapping + :attr:`Abstract_lang_string.language`'s + """ + language_set: Set[str] = set() + for lang_string in lang_strings: + if lang_string.language in language_set: + return False + + language_set.add(lang_string.language) + + return True + + +@verification +def qualifier_types_are_unique(qualifiers: Sequence["Qualifier"]) -> bool: + """ + Check that :attr:`Qualifier.type`'s of :paramref:`qualifiers` are unique. + + :param qualifiers: to be checked + :return: True if all :attr:`Qualifier.type`'s are unique + """ + observed_types: Set[str] = set() + for qualifier in qualifiers: + if qualifier.type in observed_types: + return False + + observed_types.add(qualifier.type) + + return True + + +@verification +def matches_XML_serializable_string(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of the Constraint AASd-130. + + Ensures that encoding is possible and interoperability between different + serializations is possible. + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # noinspection SpellCheckingInspection + pattern = r"^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$" + return match(pattern, text) is not None + + +# noinspection SpellCheckingInspection +@verification +def matches_xs_any_URI(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:anyURI``. + + See: https://www.w3.org/TR/xmlschema-2/#anyURI and + https://datatracker.ietf.org/doc/html/rfc2396 and + https://datatracker.ietf.org/doc/html/rfc2732 + + Note, that version 1.0 of the XSD specification defines ``xs:anyURI`` as + "defined by RFC 2396, as amended by RFC 2732". Therefore, we use a + pattern here that implements the amendments of RFC 2732. This should not + be confused with ``matches_RFC_2396``, which does not include those + amendments and is used in different parts of the specification. + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + alphanum = "[a-zA-Z0-9]" + mark = "[\\-_.!~*'()]" + unreserved = f"({alphanum}|{mark})" + hex = "([0-9]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF])" + escaped = f"%{hex}{hex}" + pchar = f"({unreserved}|{escaped}|[:@&=+$,])" + param = f"({pchar})*" + segment = f"({pchar})*(;{param})*" + path_segments = f"{segment}(/{segment})*" + abs_path = f"/{path_segments}" + scheme = "[a-zA-Z][a-zA-Z0-9+\\-.]*" + userinfo = f"({unreserved}|{escaped}|[;:&=+$,])*" + domainlabel = f"({alphanum}|{alphanum}({alphanum}|-)*{alphanum})" + toplabel = f"([a-zA-Z]|[a-zA-Z]({alphanum}|-)*{alphanum})" + hostname = f"({domainlabel}\\.)*{toplabel}(\\.)?" + ipv4address = "[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}" + hex4 = "[0-9A-Fa-f]{1,4}" + hexseq = f"{hex4}(:{hex4})*" + hexpart = f"({hexseq}|{hexseq}::({hexseq})?|::({hexseq})?)" + ipv6address = f"{hexpart}(:{ipv4address})?" + ipv6reference = f"\\[{ipv6address}\\]" + host = f"({hostname}|{ipv4address}|{ipv6reference})" + port = "[0-9]*" + hostport = f"{host}(:{port})?" + server = f"(({userinfo}@)?{hostport})?" + reg_name = f"({unreserved}|{escaped}|[$,;:@&=+])+" + authority = f"({server}|{reg_name})" + net_path = f"//{authority}({abs_path})?" + reserved = "[;/?:@&=+$,\\[\\]]" + uric = f"({reserved}|{unreserved}|{escaped})" + query = f"({uric})*" + hier_part = f"({net_path}|{abs_path})(\\?{query})?" + uric_no_slash = f"({unreserved}|{escaped}|[;?:@&=+$,])" + opaque_part = f"{uric_no_slash}({uric})*" + absoluteuri = f"{scheme}:({hier_part}|{opaque_part})" + fragment = f"({uric})*" + rel_segment = f"({unreserved}|{escaped}|[;@&=+$,])+" + rel_path = f"{rel_segment}({abs_path})?" + relativeuri = f"({net_path}|{abs_path}|{rel_path})(\\?{query})?" + uri_reference = f"^({absoluteuri}|{relativeuri})?(\\#{fragment})?$" + return match(uri_reference, text) is not None + + +# noinspection SpellCheckingInspection +@verification +def matches_xs_base_64_binary(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:base64Binary``. + + See: https://www.w3.org/TR/xmlschema-2/#base64Binary + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # Base64 characters whose bit-string value ends in '0000' + b04_char = "[AQgw]" + b04 = f"{b04_char}\\x20?" + + # Base64 characters whose bit-string value ends in '00' + b16_char = "[AEIMQUYcgkosw048]" + b16 = f"{b16_char}\\x20?" + + b64_char = "[A-Za-z0-9+/]" + b64 = f"{b64_char}\\x20?" + + b64quad = f"({b64}{b64}{b64}{b64})" + + # b64_final_quad represents three octets of binary data without trailing space. + b64_final_quad = f"({b64}{b64}{b64}{b64_char})" + + # padded_8 represents a single octet at the end of the data. + padded_8 = f"{b64}{b04}=\x20?=" + + # padded_16 represents a two-octet at the end of the data. + padded_16 = f"{b64}{b64}{b16}=" + + b64final = f"({b64_final_quad}|{padded_16}|{padded_8})" + + base64_binary = f"({b64quad}*{b64final})?" + + pattern = f"^{base64_binary}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_boolean(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:boolean``. + + See: https://www.w3.org/TR/xmlschema-2/#boolean + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + pattern = "^(true|false|1|0)$" + return match(pattern, text) is not None + + +@verification +def matches_xs_date(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:date``. + + See: https://www.w3.org/TR/xmlschema-2/#date + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + digit = "[0-9]" + year_frag = f"-?(([1-9]{digit}{digit}{digit}+)|(0{digit}{digit}{digit}))" + month_frag = f"((0[1-9])|(1[0-2]))" + day_frag = f"((0[1-9])|([12]{digit})|(3[01]))" + minute_frag = f"[0-5]{digit}" + timezone_frag = rf"(Z|(\+|-)((0{digit}|1[0-3]):{minute_frag}|14:00))" + date_lexical_rep = f"{year_frag}-{month_frag}-{day_frag}{timezone_frag}?" + + pattern = f"^{date_lexical_rep}$" + return match(pattern, text) is not None + + +@verification +def _is_leap_year(year: str) -> bool: + """ + Check that the :paramref:`year` of an ``xs:date`` is a leap year. + + The :paramref:`year` is expected to be given as text, *i.e.*, as digits with + an optional minus prefix, as the year can be arbitrarily large. + + We consider the years B.C. to be one-off. See the note at + https://www.w3.org/TR/xmlschema-2/#dateTime: "'-0001' is the lexical + representation of the year 1 Before Common Era (1 BCE, sometimes written "1 BC")." + Hence, the year -1 in XML is the year 0 in astronomical years. + + :param year: Text of the year to be checked + :returns: True if the :paramref:`year` is a leap year + """ + # NOTE (mristin): + # Since 10000 is divisible by 400, the last four digits suffice to determine + # the leap year. This way, we never parse a number which does not fit into + # an integer. + remainder = int(year.lstrip("-")[-4:]) % 400 + + if year.startswith("-"): + # NOTE (mristin): + # We shift the years B.C. by one. We add 399 instead of subtracting 1 so + # that the remainder is never negative, as the modulo of negative numbers + # differs between the programming languages. + remainder = (remainder + 399) % 400 + + # See: https://en.wikipedia.org/wiki/Leap_year#Algorithm + return remainder % 4 == 0 and (remainder % 100 != 0 or remainder == 0) + + +@verification +def _is_day_of_month_valid(is_leap_year: bool, month: int, day: int) -> bool: + """ + Check that the :paramref:`day` exists in the :paramref:`month`. + + :param is_leap_year: True if February has 29 days + :param month: Month of the year, starting with 1 + :param day: Day of the month, starting with 1 + :returns: True if the :paramref:`day` exists in the :paramref:`month` + """ + if month < 1 or month > 12 or day < 1: + return False + + if month == 2: + if is_leap_year: + return day <= 29 + + return day <= 28 + + if month == 4 or month == 6 or month == 9 or month == 11: + return day <= 30 + + return day <= 31 + + +@verification +def _is_prefix_valid_date(text: str) -> bool: + """ + Check that the date at the start of :paramref:`text` is valid. + + The :paramref:`text` is expected to start with a date matching the pattern + ``-?YYYY-MM-DD``, where the year can have more than four digits. Whatever follows + the date, such as the time or the time zone, is ignored. + + :param text: Text to be checked + :returns: True if the date at the start of :paramref:`text` is valid + """ + # NOTE (mristin): + # We start searching from the second character so that we skip the minus + # of a year B.C. + month_start = text.find("-", 1) + 1 + + year = text[: month_start - 1] + + # We do not accept year zero, + # see the note at: https://www.w3.org/TR/xmlschema-2/#dateTime + if year.lstrip("-").lstrip("0") == "": + return False + + month = int(text[month_start : month_start + 2]) + day = int(text[month_start + 3 : month_start + 5]) + + return _is_day_of_month_valid(_is_leap_year(year), month, day) + + +@verification +def is_xs_date(text: str) -> bool: + """ + Check that :paramref:`text` is a valid ``xs:date``. + + We check that the :paramref:`text` matches the pattern of ``xs:date``, and that + the day exists in the month (*e.g.*, February 29th only in leap years). + + See: https://www.w3.org/TR/xmlschema-2/#date + + :param text: Text to be checked + :returns: True if the :paramref:`text` is a valid ``xs:date`` + """ + return matches_xs_date(text) and _is_prefix_valid_date(text) + + +@verification +def matches_xs_date_time(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:dateTime``. + + See: https://www.w3.org/TR/xmlschema-2/#dateTime + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + digit = "[0-9]" + year_frag = f"-?(([1-9]{digit}{digit}{digit}+)|(0{digit}{digit}{digit}))" + month_frag = f"((0[1-9])|(1[0-2]))" + day_frag = f"((0[1-9])|([12]{digit})|(3[01]))" + hour_frag = f"(([01]{digit})|(2[0-3]))" + minute_frag = f"[0-5]{digit}" + second_frag = f"([0-5]{digit})(\\.{digit}+)?" + end_of_day_frag = "24:00:00(\\.0+)?" + timezone_frag = rf"(Z|(\+|-)((0{digit}|1[0-3]):{minute_frag}|14:00))" + date_time_lexical_rep = ( + f"{year_frag}-{month_frag}-{day_frag}" + f"T" + f"(({hour_frag}:{minute_frag}:{second_frag})|{end_of_day_frag})" + f"{timezone_frag}?" + ) + + pattern = f"^{date_time_lexical_rep}$" + return match(pattern, text) is not None + + +@verification +def is_xs_date_time(text: str) -> bool: + """ + Check that :paramref:`text` is a ``xs:dateTime``. + + The ``text`` is assumed to match a pre-defined pattern for ``xs:dateTime``. + In this function, we check for days of month (e.g., February 29th). + + See: https://www.w3.org/TR/xmlschema-2/#dateTime + + :param text: Text to be checked + :returns: True if the :paramref:`text` is a valid ``xs:dateTime`` + """ + return matches_xs_date_time(text) and _is_prefix_valid_date(text) + + +@verification +def _fraction_of_date_time_UTC(text: str) -> str: + """ + Get the digits of the fraction of a second in :paramref:`text`. + + The :paramref:`text` is expected to be a valid ``xs:dateTime`` with the time + zone fixed to UTC, *i.e.*, it ends with ``Z``, ``+00:00`` or ``-00:00``. + + :param text: Date-time to be parsed + :returns: The digits after the decimal point, or an empty text if there are none + """ + point = text.find(".") + if point == -1: + return "" + + if text.endswith("Z"): + return text[point + 1 : -1] + + return text[point + 1 : -6] + + +@verification +def _is_next_day(text: str, next_text: str) -> bool: + """ + Check that the date of :paramref:`next_text` is the day after the date of + :paramref:`text`. + + Both :paramref:`text` and :paramref:`next_text` are expected to start with + a valid date matching the pattern ``-?YYYY-MM-DD``, where the year can have + more than four digits, but has to fit into an integer. Whatever follows + the date, such as the time or the time zone, is ignored. + + :param text: Text starting with the date to be incremented + :param next_text: Text starting with the date expected to follow + :returns: True if the date of :paramref:`next_text` follows the date of + :paramref:`text` + """ + # NOTE (mristin): + # We start searching from the second character so that we skip the minus + # of a year B.C. + month_start = text.find("-", 1) + 1 + next_month_start = next_text.find("-", 1) + 1 + + year_text = text[: month_start - 1] + + year = int(year_text) + month = int(text[month_start : month_start + 2]) + day = int(text[month_start + 3 : month_start + 5]) + + next_year = int(next_text[: next_month_start - 1]) + next_month = int(next_text[next_month_start : next_month_start + 2]) + next_day = int(next_text[next_month_start + 3 : next_month_start + 5]) + + if _is_day_of_month_valid(_is_leap_year(year_text), month, day + 1): + return year == next_year and month == next_month and day + 1 == next_day + + if next_day != 1: + return False + + if month < 12: + return year == next_year and month + 1 == next_month + + # NOTE (mristin): + # There is no year zero, see the note at + # https://www.w3.org/TR/xmlschema-2/#dateTime, so the year 1 B.C., ``-0001``, + # is followed by the year 1, ``0001``. + return next_month == 1 and ( + next_year == year + 1 or (year == -1 and next_year == 1) + ) + + +@verification +def date_time_UTC_less(that: str, other: str) -> Optional[bool]: + """ + Check that the date-time :paramref:`that` is before :paramref:`other`. + + We compare the years as integers, and the rest of the texts part by part as + strings, since the fraction of a second can be arbitrarily long. + + We do not compare the years with more than 15 digits, as they do not safely fit + into an integer. Such years are valid in ``xs:dateTime``, but not realistic. + + The end of a day, ``24:00:00``, is the same instant as the start of the next day, + see the note at https://www.w3.org/TR/xmlschema-2/#dateTime. + + :param that: Date-time which is expected to come first + :param other: Date-time which is expected to come later + :returns: + True if :paramref:`that` is before :paramref:`other`, False if not, and + None if either of them is not a valid ``xs:dateTime`` in UTC, or if + either of their years has more than 15 digits + """ + if not is_xs_date_time_UTC(that) or not is_xs_date_time_UTC(other): + return None + + # NOTE (mristin): + # We start searching from the second character so that we skip the minus + # of a year B.C. + that_month_start = that.find("-", 1) + 1 + other_month_start = other.find("-", 1) + 1 + + that_year_text = that[: that_month_start - 1] + other_year_text = other[: other_month_start - 1] + + if len(that_year_text.lstrip("-")) > 15 or len(other_year_text.lstrip("-")) > 15: + return None + + # NOTE (mristin): + # The years B.C. are negative, so they are ordered as the integers, even + # though there is no year zero in between. + that_year = int(that_year_text) + other_year = int(other_year_text) + + # NOTE (mristin): + # The month, the day, the hours, the minutes and the whole seconds, given as + # ``MM-DDTHH:MM:SS``, are of fixed width, so they are ordered as the texts. + that_rest = that[that_month_start : that_month_start + 14] + other_rest = other[other_month_start : other_month_start + 14] + + that_fraction = _fraction_of_date_time_UTC(that).rstrip("0") + other_fraction = _fraction_of_date_time_UTC(other).rstrip("0") + + less = False + + if that_year != other_year: + less = that_year < other_year + + elif that_rest != other_rest: + less = that_rest < other_rest + + else: + # NOTE (mristin): + # The fractions are stripped of the trailing zeros, so they are ordered + # as the texts. + less = that_fraction < other_fraction + + # NOTE (mristin): + # The end of a day sorts after all the other times of the same day, and before + # all the times of the later days, which is correct except for the start of + # the next day, as the two are the same instant. If :paramref:`other` is + # the end of a day instead, it sorts correctly, as the start of the next day + # comes after all the times of that day. + if ( + less + and that[that_month_start + 6 : that_month_start + 8] == "24" + and other[other_month_start + 6 : other_month_start + 14] == "00:00:00" + and other_fraction == "" + ): + return not _is_next_day(that, other) + + return less + + +@verification +def date_time_UTC_less_or_equal_or_invalid(that: str, other: str) -> bool: + """ + Check that the date-time :paramref:`that` is before or at the same instant as + :paramref:`other`, unless either of them is invalid. + + The invalid date-times are reported by the invariants of + :class:`Date_time_UTC`, so that we do not report them twice. + See :func:`date_time_UTC_less`. + + :param that: Date-time which is expected to come first or at the same instant + :param other: Date-time which is expected to come later or at the same instant + :returns: + True if :paramref:`that` is before or at the same instant as + :paramref:`other`, or if either of them is not a valid ``xs:dateTime`` + in UTC + """ + # NOTE (mristin): + # The date-time :paramref:`that` is before or at the same instant as + # :paramref:`other` if and only if :paramref:`other` is not before it. + other_less = date_time_UTC_less(other, that) + if other_less is None: + return True + + return not other_less + + +# noinspection SpellCheckingInspection +@verification +def matches_xs_decimal(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:decimal``. + + See: https://www.w3.org/TR/xmlschema-2/#decimal + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + digit = "[0-9]" + unsigned_no_decimal_pt_numeral = f"{digit}+" + no_decimal_pt_numeral = rf"(\+|-)?{unsigned_no_decimal_pt_numeral}" + frac_frag = f"{digit}+" + unsigned_decimal_pt_numeral = ( + rf"({unsigned_no_decimal_pt_numeral}\.{frac_frag}|\.{frac_frag})" + ) + decimal_pt_numeral = rf"(\+|-)?{unsigned_decimal_pt_numeral}" + decimal_lexical_rep = f"({decimal_pt_numeral}|{no_decimal_pt_numeral})" + + pattern = f"^{decimal_lexical_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_double(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:double``. + + See: https://www.w3.org/TR/xmlschema-2/#double + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # NOTE (mristin): + # See: https://www.w3.org/TR/xmlschema-2/#nt-doubleRep + double_rep = r"((\+|-)?([0-9]+(\.[0-9]*)?|\.[0-9]+)([Ee](\+|-)?[0-9]+)?|-?INF|NaN)" + + pattern = f"^{double_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_duration(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:duration``. + + See: https://www.w3.org/TR/xmlschema-2/#duration + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # NOTE (mristin): + # See https://www.w3.org/TR/xmlschema-2/#nt-durationRep + + # fmt: off + duration_rep = ( +r"-?P((([0-9]+Y([0-9]+M)?([0-9]+D)?" + r"|([0-9]+M)([0-9]+D)?" + r"|([0-9]+D)" + r")" + r"(T(([0-9]+H)([0-9]+M)?([0-9]+(\.[0-9]+)?S)?" + r"|([0-9]+M)([0-9]+(\.[0-9]+)?S)?" + r"|([0-9]+(\.[0-9]+)?S)" + r")" + r")?" + r")" + r"|(T(([0-9]+H)([0-9]+M)?([0-9]+(\.[0-9]+)?S)?" + r"|([0-9]+M)([0-9]+(\.[0-9]+)?S)?" + r"|([0-9]+(\.[0-9]+)?S)" + r")" + r")" + r")" + ) + # fmt: on + + pattern = f"^{duration_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_float(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:float``. + + See: https://www.w3.org/TR/xmlschema-2/#float + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + float_rep = ( + r"((\+|-)?([0-9]+(\.[0-9]*)?|\.[0-9]+)([Ee](\+|-)?[0-9]+)?" r"|-?INF|NaN)" + ) + + pattern = f"^{float_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_g_day(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:gDay``. + + See: https://www.w3.org/TR/xmlschema-2/#gDay + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # NOTE (mristin): + # See https://www.w3.org/TR/xmlschema-2/#nt-gDayRep + g_day_lexical_rep = ( + r"---(0[1-9]|[12][0-9]|3[01])(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?" + ) + + pattern = f"^{g_day_lexical_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_g_month(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:gMonth``. + + See: https://www.w3.org/TR/xmlschema-2/#gMonth + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # NOTE (mristin): + # See https://www.w3.org/TR/xmlschema-2/#nt-gMonthRep + g_month_lexical_rep = ( + r"--(0[1-9]|1[0-2])(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?" + ) + + pattern = f"^{g_month_lexical_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_g_month_day(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:gMonthDay``. + + See: https://www.w3.org/TR/xmlschema-2/#gMonthDay + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # NOTE (mristin): + # See https://www.w3.org/TR/xmlschema-2/#nt-gMonthDayRep + g_month_day_rep = ( + r"--(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])" + r"(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?" + ) + + pattern = f"^{g_month_day_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_g_year(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:gYear``. + + See: https://www.w3.org/TR/xmlschema-2/#gYear + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # NOTE (mristin): + # See https://www.w3.org/TR/xmlschema-2/#nt-gYearRep + g_year_rep = ( + r"-?([1-9][0-9]{3,}|0[0-9]{3})(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?" + ) + + pattern = f"^{g_year_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_g_year_month(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:gYearMonth``. + + See: https://www.w3.org/TR/xmlschema-2/#gYearMonth + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # NOTE (mristin): + # See https://www.w3.org/TR/xmlschema-2/#nt-gYearMonthRep + + g_year_month_rep = ( + r"-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])" + r"(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?" + ) + + pattern = f"^{g_year_month_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_hex_binary(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:hexBinary``. + + See: https://www.w3.org/TR/xmlschema-2/#hexBinary + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # NOTE (mristin): + # See https://www.w3.org/TR/xmlschema-2/#nt-hexBinary + hex_binary = r"([0-9a-fA-F]{2})*" + + pattern = f"^{hex_binary}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_time(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:time``. + + See: https://www.w3.org/TR/xmlschema-2/#time + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # NOTE (mristin): + # See https://www.w3.org/TR/xmlschema-2/#nt-timeRep + time_rep = ( + r"(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?|(24:00:00(\.0+)?))" + r"(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?" + ) + + pattern = f"^{time_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_integer(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:integer``. + + See: https://www.w3.org/TR/xmlschema-2/#integer + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + integer_rep = r"[\-+]?[0-9]+" + + pattern = f"^{integer_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_long(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:long``. + + See: https://www.w3.org/TR/xmlschema-2/#long + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + long_rep = r"[\-+]?0*[0-9]{1,20}" + + pattern = f"^{long_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_int(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:int``. + + See: https://www.w3.org/TR/xmlschema-2/#int + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + int_rep = r"[\-+]?0*[0-9]{1,10}" + + pattern = f"^{int_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_short(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:short``. + + See: https://www.w3.org/TR/xmlschema-2/#short + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + short_rep = r"[\-+]?0*[0-9]{1,5}" + + pattern = f"^{short_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_byte(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:byte``. + + See: https://www.w3.org/TR/xmlschema-2/#byte + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + byte_rep = r"[\-+]?0*[0-9]{1,3}" + + pattern = f"^{byte_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_non_negative_integer(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:nonNegativeInteger``. + + See: https://www.w3.org/TR/xmlschema-2/#nonNegativeInteger + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + non_negative_integer_rep = r"(-0|\+?[0-9]+)" + + pattern = f"^{non_negative_integer_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_positive_integer(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:positiveInteger``. + + See: https://www.w3.org/TR/xmlschema-2/#positiveInteger + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + positive_integer_rep = r"\+?0*[1-9][0-9]*" + + pattern = f"^{positive_integer_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_unsigned_long(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:unsignedLong``. + + See: https://www.w3.org/TR/xmlschema-2/#unsignedLong + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + unsigned_long_rep = r"(-0|\+?0*[0-9]{1,20})" + + pattern = f"^{unsigned_long_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_unsigned_int(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:unsignedInt``. + + See: https://www.w3.org/TR/xmlschema-2/#unsignedInt + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + unsigned_int_rep = r"(-0|\+?0*[0-9]{1,10})" + + pattern = f"^{unsigned_int_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_unsigned_short(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:unsignedShort``. + + See: https://www.w3.org/TR/xmlschema-2/#unsignedShort + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + unsigned_short_rep = r"(-0|\+?0*[0-9]{1,5})" + + pattern = f"^{unsigned_short_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_unsigned_byte(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:unsignedByte``. + + See: https://www.w3.org/TR/xmlschema-2/#unsignedByte + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + unsigned_byte_rep = r"(-0|\+?0*[0-9]{1,3})" + + pattern = f"^{unsigned_byte_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_non_positive_integer(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:nonPositiveInteger``. + + See: https://www.w3.org/TR/xmlschema-2/#nonPositiveInteger + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + non_positive_integer_rep = r"(\+0|0|-[0-9]+)" + + pattern = f"^{non_positive_integer_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_negative_integer(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:negativeInteger``. + + See: https://www.w3.org/TR/xmlschema-2/#negativeInteger + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + negative_integer_rep = r"(-0*[1-9][0-9]*)" + + pattern = f"^{negative_integer_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_string(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:string``. + + See: https://www.w3.org/TR/xmlschema-2/#string + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # From: https://www.w3.org/TR/xml11/#NT-Char + # Any Unicode character, excluding the surrogate blocks, FFFE, and FFFF. + # noinspection SpellCheckingInspection + pattern = r"^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$" + return match(pattern, text) is not None + + +@verification +def _is_magnitude_at_most(digits: str, limit: str) -> bool: + """ + Check that the number given as :paramref:`digits` is at most :paramref:`limit`. + + Both :paramref:`digits` and :paramref:`limit` are expected to be decimal digits + without a sign and without leading zeros. An empty text represents zero. + + We compare the numbers as strings, since they might not fit into an integer. + The digits of numbers of equal length are ordered as the numbers themselves. + + :param digits: Number to be checked + :param limit: Largest allowed number + :returns: True if :paramref:`digits` is at most :paramref:`limit` + """ + if len(digits) != len(limit): + return len(digits) < len(limit) + + return digits <= limit + + +@verification +def _is_integer_in_range(text: str, max_negative: str, max_positive: str) -> bool: + """ + Check that the integer :paramref:`text` is within the given range. + + The :paramref:`text` is expected to consist of decimal digits with an optional + sign. + + :param text: Text to be checked + :param max_negative: Largest allowed magnitude of a negative number + :param max_positive: Largest allowed positive number + :returns: True if the :paramref:`text` is within the range + """ + digits = text.lstrip("+-").lstrip("0") + + if text.startswith("-"): + return _is_magnitude_at_most(digits, max_negative) + + return _is_magnitude_at_most(digits, max_positive) + + +Xs_double_overflow_threshold: Final[str] = constant_str( + value=( + "179769313486231580793728971405303415079934132710037826936173" + "778980444968292764750946649017977587207096330286416692887910" + "946555547851940402630657488671505820681908902000708383676273" + "854845817711531764475730270069855571366959622842914819860834" + "936475292719074168444365510704342711559699508093042880177904" + "174497792" + ), + description="""\ +Represent the smallest magnitude of a decimal which overflows an ``xs:double``. + +The decimals are rounded to the nearest double-precision floating-point number. +Hence, the decimals at or beyond the half-way between the largest double, +(2 - 2^-52) * 2^1023, and 2^1024 round to infinity. The half-way is the exact +integer 2^1024 - 2^970, given here in decimal digits.""", +) + +Xs_float_overflow_threshold: Final[str] = constant_str( + value="340282356779733661637539395458142568448", + description="""\ +Represent the smallest magnitude of a decimal which overflows an ``xs:float``. + +The decimals are rounded to the nearest single-precision floating-point number. +Hence, the decimals at or beyond the half-way between the largest float, +(2 - 2^-23) * 2^127, and 2^128 round to infinity. The half-way is the exact +integer 2^128 - 2^103, given here in decimal digits.""", +) + + +@verification +def _is_decimal_magnitude_below(text: str, limit: str) -> bool: + """ + Check that the magnitude of the decimal :paramref:`text` is below :paramref:`limit`. + + The :paramref:`text` is expected to match the pattern of a finite ``xs:double`` + or ``xs:float``, *i.e.*, a decimal with an optional sign, an optional point and + an optional exponent. The :paramref:`limit` is expected to be a positive integer + without leading zeros. + + We compare the numbers as strings, since they do not necessarily fit into + any native number, and parsing them to floating-point numbers would round them. + + :param text: Decimal to be checked + :param limit: Exclusive upper bound on the magnitude + :returns: True if the magnitude of :paramref:`text` is below :paramref:`limit` + """ + unsigned = text.lstrip("+-") + + exponent_start = unsigned.find("e") + if exponent_start == -1: + exponent_start = unsigned.find("E") + + mantissa = unsigned + exponent_text = "" + if exponent_start != -1: + mantissa = unsigned[:exponent_start] + exponent_text = unsigned[exponent_start + 1 :] + + point = mantissa.find(".") + + integer_part = mantissa + fraction_part = "" + if point != -1: + integer_part = mantissa[:point] + fraction_part = mantissa[point + 1 :] + + # NOTE (mristin): + # We represent the decimal as the significant digits ``0.d1 d2 ...`` times + # ten to the power of the magnitude. The significant digits are given by + # the ``head`` followed by the ``tail``. + head = integer_part.lstrip("0") + tail = fraction_part + shift: int = len(head) + + if head == "": + tail = fraction_part.lstrip("0") + if tail == "": + # The decimal is zero. + return True + + shift = len(tail) - len(fraction_part) + + exponent_digits = exponent_text.lstrip("+-").lstrip("0") + + # NOTE (mristin): + # An exponent with more than 15 digits does not safely fit into an integer. + # Its magnitude then dwarfs the number of the digits in any text, so its sign + # alone decides. + if len(exponent_digits) > 15: + return exponent_text.startswith("-") + + exponent: int = 0 + if len(exponent_digits) > 0: + exponent = int(exponent_digits) + + if exponent_text.startswith("-"): + exponent = -exponent + + magnitude = exponent + shift + + if magnitude != len(limit): + return magnitude < len(limit) + + # NOTE (mristin): + # Both the decimal and the limit have the same magnitude, so their significant + # digits are ordered as the numbers themselves. Trailing zeros do not affect + # the order: if the significant digits start with all the digits of the limit, + # the decimal is at least as large as the limit, and not below it. + return head + tail < limit + + +@verification +def is_xs_double(text: str) -> bool: + """ + Check that :paramref:`text` is a valid ``xs:double``. + + We check that the :paramref:`text` matches the pattern of ``xs:double``, and + that it does not overflow, *i.e.*, that it does not round to infinity unless it + is ``INF`` or ``-INF``. See :const:`Xs_double_overflow_threshold`. + + See: https://www.w3.org/TR/xmlschema-2/#double + + :param text: Text to be checked + :returns: True if the :paramref:`text` is a valid ``xs:double`` + """ + if not matches_xs_double(text): + return False + + if text == "INF" or text == "-INF" or text == "NaN": + return True + + return _is_decimal_magnitude_below(text, Xs_double_overflow_threshold) + + +@verification +def is_xs_float(text: str) -> bool: + """ + Check that :paramref:`text` is a valid ``xs:float``. + + We check that the :paramref:`text` matches the pattern of ``xs:float``, and + that it does not overflow, *i.e.*, that it does not round to infinity unless it + is ``INF`` or ``-INF``. See :const:`Xs_float_overflow_threshold`. + + See: https://www.w3.org/TR/xmlschema-2/#float + + :param text: Text to be checked + :returns: True if the :paramref:`text` is a valid ``xs:float`` + """ + if not matches_xs_float(text): + return False + + if text == "INF" or text == "-INF" or text == "NaN": + return True + + return _is_decimal_magnitude_below(text, Xs_float_overflow_threshold) + + +@verification +def is_xs_g_month_day(text: str) -> bool: + """ + Check that :paramref:`text` is a valid ``xs:gMonthDay``. + + We check that the :paramref:`text` matches the pattern of ``xs:gMonthDay``, + and that the day exists in the month. February 29th is valid, as there is no + year to tell otherwise. + + See: https://www.w3.org/TR/xmlschema-2/#gMonthDay + + :param text: Text to be checked + :returns: True if the :paramref:`text` is a valid ``xs:gMonthDay`` + """ + return matches_xs_g_month_day(text) and _is_day_of_month_valid( + True, int(text[2:4]), int(text[5:7]) + ) + + +@verification +def is_xs_long(text: str) -> bool: + """ + Check that :paramref:`text` is a valid ``xs:long``. + + We check that the :paramref:`text` matches the pattern of ``xs:long``, and + that the number is within the range of ``xs:long``. + + See: https://www.w3.org/TR/xmlschema-2/#long + + :param text: Text to be checked + :returns: True if the :paramref:`text` is a valid ``xs:long`` + """ + return matches_xs_long(text) and _is_integer_in_range( + text, "9223372036854775808", "9223372036854775807" + ) + + +@verification +def is_xs_int(text: str) -> bool: + """ + Check that :paramref:`text` is a valid ``xs:int``. + + We check that the :paramref:`text` matches the pattern of ``xs:int``, and + that the number is within the range of ``xs:int``. + + See: https://www.w3.org/TR/xmlschema-2/#int + + :param text: Text to be checked + :returns: True if the :paramref:`text` is a valid ``xs:int`` + """ + return matches_xs_int(text) and _is_integer_in_range( + text, "2147483648", "2147483647" + ) + + +@verification +def is_xs_short(text: str) -> bool: + """ + Check that :paramref:`text` is a valid ``xs:short``. + + We check that the :paramref:`text` matches the pattern of ``xs:short``, and + that the number is within the range of ``xs:short``. + + See: https://www.w3.org/TR/xmlschema-2/#short + + :param text: Text to be checked + :returns: True if the :paramref:`text` is a valid ``xs:short`` + """ + return matches_xs_short(text) and _is_integer_in_range(text, "32768", "32767") + + +@verification +def is_xs_byte(text: str) -> bool: + """ + Check that :paramref:`text` is a valid ``xs:byte``. + + We check that the :paramref:`text` matches the pattern of ``xs:byte``, and + that the number is within the range of ``xs:byte``. + + See: https://www.w3.org/TR/xmlschema-2/#byte + + :param text: Text to be checked + :returns: True if the :paramref:`text` is a valid ``xs:byte`` + """ + return matches_xs_byte(text) and _is_integer_in_range(text, "128", "127") + + +@verification +def is_xs_unsigned_long(text: str) -> bool: + """ + Check that :paramref:`text` is a valid ``xs:unsignedLong``. + + We check that the :paramref:`text` matches the pattern of ``xs:unsignedLong``, and + that the number is within the range of ``xs:unsignedLong``. + + See: https://www.w3.org/TR/xmlschema-2/#unsignedLong + + :param text: Text to be checked + :returns: True if the :paramref:`text` is a valid ``xs:unsignedLong`` + """ + return matches_xs_unsigned_long(text) and _is_integer_in_range( + text, "0", "18446744073709551615" + ) + + +@verification +def is_xs_unsigned_int(text: str) -> bool: + """ + Check that :paramref:`text` is a valid ``xs:unsignedInt``. + + We check that the :paramref:`text` matches the pattern of ``xs:unsignedInt``, and + that the number is within the range of ``xs:unsignedInt``. + + See: https://www.w3.org/TR/xmlschema-2/#unsignedInt + + :param text: Text to be checked + :returns: True if the :paramref:`text` is a valid ``xs:unsignedInt`` + """ + return matches_xs_unsigned_int(text) and _is_integer_in_range( + text, "0", "4294967295" + ) + + +@verification +def is_xs_unsigned_short(text: str) -> bool: + """ + Check that :paramref:`text` is a valid ``xs:unsignedShort``. + + We check that the :paramref:`text` matches the pattern of ``xs:unsignedShort``, and + that the number is within the range of ``xs:unsignedShort``. + + See: https://www.w3.org/TR/xmlschema-2/#unsignedShort + + :param text: Text to be checked + :returns: True if the :paramref:`text` is a valid ``xs:unsignedShort`` + """ + return matches_xs_unsigned_short(text) and _is_integer_in_range(text, "0", "65535") + + +@verification +def is_xs_unsigned_byte(text: str) -> bool: + """ + Check that :paramref:`text` is a valid ``xs:unsignedByte``. + + We check that the :paramref:`text` matches the pattern of ``xs:unsignedByte``, and + that the number is within the range of ``xs:unsignedByte``. + + See: https://www.w3.org/TR/xmlschema-2/#unsignedByte + + :param text: Text to be checked + :returns: True if the :paramref:`text` is a valid ``xs:unsignedByte`` + """ + return matches_xs_unsigned_byte(text) and _is_integer_in_range(text, "0", "255") + + +@verification +def value_consistent_with_XSD_type(value: str, value_type: "Data_type_def_XSD") -> bool: + """ + Check that the :paramref:`value` conforms to its :paramref:`value_type`. + + :param value: which needs to conform + :param value_type: pre-defined value type + :return: True if the :paramref:`value` conforms + """ + if value_type == Data_type_def_XSD.Any_URI: + return matches_xs_any_URI(value) + elif value_type == Data_type_def_XSD.Base_64_binary: + return matches_xs_base_64_binary(value) + elif value_type == Data_type_def_XSD.Boolean: + return matches_xs_boolean(value) + elif value_type == Data_type_def_XSD.Byte: + return is_xs_byte(value) + elif value_type == Data_type_def_XSD.Date: + return is_xs_date(value) + elif value_type == Data_type_def_XSD.Date_time: + return is_xs_date_time(value) + elif value_type == Data_type_def_XSD.Decimal: + return matches_xs_decimal(value) + elif value_type == Data_type_def_XSD.Double: + return is_xs_double(value) + elif value_type == Data_type_def_XSD.Duration: + return matches_xs_duration(value) + elif value_type == Data_type_def_XSD.Float: + return is_xs_float(value) + elif value_type == Data_type_def_XSD.G_day: + return matches_xs_g_day(value) + elif value_type == Data_type_def_XSD.G_month: + return matches_xs_g_month(value) + elif value_type == Data_type_def_XSD.G_month_day: + return is_xs_g_month_day(value) + elif value_type == Data_type_def_XSD.G_year: + return matches_xs_g_year(value) + elif value_type == Data_type_def_XSD.G_year_month: + return matches_xs_g_year_month(value) + elif value_type == Data_type_def_XSD.Hex_binary: + return matches_xs_hex_binary(value) + elif value_type == Data_type_def_XSD.Int: + return is_xs_int(value) + elif value_type == Data_type_def_XSD.Integer: + return matches_xs_integer(value) + elif value_type == Data_type_def_XSD.Long: + return is_xs_long(value) + elif value_type == Data_type_def_XSD.Negative_integer: + return matches_xs_negative_integer(value) + elif value_type == Data_type_def_XSD.Non_negative_integer: + return matches_xs_non_negative_integer(value) + elif value_type == Data_type_def_XSD.Non_positive_integer: + return matches_xs_non_positive_integer(value) + elif value_type == Data_type_def_XSD.Positive_integer: + return matches_xs_positive_integer(value) + elif value_type == Data_type_def_XSD.Short: + return is_xs_short(value) + elif value_type == Data_type_def_XSD.String: + return matches_xs_string(value) + elif value_type == Data_type_def_XSD.Time: + return matches_xs_time(value) + elif value_type == Data_type_def_XSD.Unsigned_byte: + return is_xs_unsigned_byte(value) + elif value_type == Data_type_def_XSD.Unsigned_int: + return is_xs_unsigned_int(value) + elif value_type == Data_type_def_XSD.Unsigned_long: + return is_xs_unsigned_long(value) + elif value_type == Data_type_def_XSD.Unsigned_short: + return is_xs_unsigned_short(value) + + # NOTE (mristin): + # We covered all the literals of :class:`Data_type_def_XSD` above. + return False + + +@verification +def is_model_reference_to(reference: "Reference", expected_type: "Key_types") -> bool: + """ + Check that the target of the model reference matches the :paramref:`expected_type`. + """ + # fmt: off + return ( + reference.type == Reference_types.Model_reference + and len(reference.keys) != 0 + and reference.keys[-1].type == expected_type + ) + # fmt: on + + +@verification +def is_model_reference_to_referable(reference: "Reference") -> bool: + """Check that the target of the reference matches a :const:`AAS_referables`.""" + # fmt: off + return ( + reference.type == Reference_types.Model_reference + and len(reference.keys) != 0 + and reference.keys[-1].type in AAS_referables + ) + # fmt: on + + +@verification +def ID_shorts_are_unique(referables: Sequence["Referable"]) -> bool: + """ + Check that the :attr:`Referable.ID_short`'s among the :paramref:`referables` are + unique in their namespace. + """ + id_short_set: Set[str] = set() + for referable in referables: + id_short = referable.ID_short + if id_short is None: + continue + + if id_short in id_short_set: + return False + + id_short_set.add(id_short) + + return True + + +@verification +def _collect_unique_ID_shorts_of_variables( + variables: Optional[Sequence["Operation_variable"]], id_short_set: Set[str] +) -> bool: + """ + Collect the :attr:`Referable.ID_short`'s of the :paramref:`variables` values. + + :param variables: Operation variables whose ID-shorts we collect + :param id_short_set: ID-shorts observed so far, extended in place + :returns: False if an ID-short has been already observed + """ + if variables is None: + return True + + for variable in variables: + id_short = variable.value.ID_short + if id_short is None: + continue + + if id_short in id_short_set: + return False + + id_short_set.add(id_short) + + return True + + +@verification +def ID_shorts_of_variables_are_unique( + input_variables: Optional[Sequence["Operation_variable"]], + output_variables: Optional[Sequence["Operation_variable"]], + inoutput_variables: Optional[Sequence["Operation_variable"]], +) -> bool: + """ + Check that the :attr:`Referable.ID_short`'s among all the + :paramref:`input_variables`, :paramref:`output_variables` + and :paramref:`inoutput_variables` are unique. + """ + id_short_set: Set[str] = set() + return ( + _collect_unique_ID_shorts_of_variables(input_variables, id_short_set) + and _collect_unique_ID_shorts_of_variables(output_variables, id_short_set) + and _collect_unique_ID_shorts_of_variables(inoutput_variables, id_short_set) + ) + + +@verification +def specific_asset_ID_name_matches_global_asset_ID(name: str) -> bool: + """Check whether :paramref:`name` is the reserved global asset ID key.""" + pattern = "^[gG][lL][oO][bB][aA][lL][aA][sS][sS][eE][tT][iI][dD]$" + return match(pattern, name) is not None + + +@verification +def submodel_element_has_template_qualifier_in_tree( + element: "Submodel_element", +) -> bool: + """Check whether :paramref:`element` or its descendants have template qualifiers.""" + if element.qualifiers is not None and any( + qualifier.kind_or_default() == Qualifier_kind.Template_qualifier + for qualifier in element.qualifiers + ): + return True + + if isinstance(element, Submodel_element_list): + return element.value is not None and any( + submodel_element_has_template_qualifier_in_tree(child) + for child in element.value + ) + + if isinstance(element, Submodel_element_collection): + return element.value is not None and any( + submodel_element_has_template_qualifier_in_tree(child) + for child in element.value + ) + + if isinstance(element, Entity): + return element.statements is not None and any( + submodel_element_has_template_qualifier_in_tree(child) + for child in element.statements + ) + + if isinstance(element, Annotated_relationship_element): + return element.annotations is not None and any( + submodel_element_has_template_qualifier_in_tree(child) + for child in element.annotations + ) + + if isinstance(element, Operation): + # NOTE (empwilli): + # According to AASd-129 child nodes of Operations are exempt from this rule. + pass + + return False + + +@verification +def submodel_elements_have_no_template_qualifiers( + elements: Sequence["Submodel_element"], +) -> bool: + """Check that :paramref:`elements` have no template qualifiers in their trees.""" + return all( + not submodel_element_has_template_qualifier_in_tree(element) + for element in elements + ) + + +@verification +def submodel_element_lists_have_exactly_one_element_in_tree( + element: "Submodel_element", +) -> bool: + """Recursively check that submodel element lists have exactly one child.""" + if isinstance(element, Submodel_element_list): + return ( + element.value is not None + and len(element.value) == 1 + and all( + submodel_element_lists_have_exactly_one_element_in_tree(child) + for child in element.value + ) + ) + + if isinstance(element, Submodel_element_collection): + return element.value is None or all( + submodel_element_lists_have_exactly_one_element_in_tree(child) + for child in element.value + ) + + if isinstance(element, Entity): + return element.statements is None or all( + submodel_element_lists_have_exactly_one_element_in_tree(child) + for child in element.statements + ) + + if isinstance(element, Annotated_relationship_element): + return element.annotations is None or all( + submodel_element_lists_have_exactly_one_element_in_tree(child) + for child in element.annotations + ) + + return True + + +@verification +def submodel_element_lists_in_submodel_elements_have_exactly_one_element( + elements: Sequence["Submodel_element"], +) -> bool: + """Check that all submodel element lists among :paramref:`elements` have one item.""" + return all( + submodel_element_lists_have_exactly_one_element_in_tree(element) + for element in elements + ) + + +@verification +def submodel_element_lists_in_operation_variables_have_exactly_one_element( + input_variables: Optional[Sequence["Operation_variable"]], + output_variables: Optional[Sequence["Operation_variable"]], + inoutput_variables: Optional[Sequence["Operation_variable"]], +) -> bool: + """Check that submodel element lists in operation variables have one item.""" + return ( + ( + input_variables is None + or all( + submodel_element_lists_have_exactly_one_element_in_tree(variable.value) + for variable in input_variables + ) + ) + and ( + output_variables is None + or all( + submodel_element_lists_have_exactly_one_element_in_tree(variable.value) + for variable in output_variables + ) + ) + and ( + inoutput_variables is None + or all( + submodel_element_lists_have_exactly_one_element_in_tree(variable.value) + for variable in inoutput_variables + ) + ) + ) + + +@verification +def extension_names_are_unique(extensions: Sequence["Extension"]) -> bool: + """Check that the extension names are unique.""" + name_set: Set[str] = set() + for extension in extensions: + if extension.name in name_set: + return False + + name_set.add(extension.name) + + return True + + +@verification +def submodel_elements_have_identical_semantic_IDs( + elements: Sequence["Submodel_element"], +) -> bool: + """Check that all semantic IDs are identical, if specified.""" + that_semantic_ID: Optional[Reference] = None + for element in elements: + this_semantic_ID = element.semantic_ID + if this_semantic_ID is None: + continue + + if that_semantic_ID is None: + that_semantic_ID = this_semantic_ID + elif not reference_key_values_equal(that_semantic_ID, this_semantic_ID): + return False + + return True + + +@verification +def submodel_element_is_of_type( + element: "Submodel_element", element_type: "AAS_submodel_elements" +) -> bool: + """ + Check that the run-time type of the :paramref:`element` coincides with + :paramref:`element_type`. + """ + if element_type == AAS_submodel_elements.Annotated_relationship_element: + return isinstance(element, Annotated_relationship_element) + elif element_type == AAS_submodel_elements.Basic_event_element: + return isinstance(element, Basic_event_element) + elif element_type == AAS_submodel_elements.Blob: + return isinstance(element, Blob) + elif element_type == AAS_submodel_elements.Capability: + return isinstance(element, Capability) + elif element_type == AAS_submodel_elements.Data_element: + return isinstance(element, Data_element) + elif element_type == AAS_submodel_elements.Entity: + return isinstance(element, Entity) + elif element_type == AAS_submodel_elements.Event_element: + return isinstance(element, Event_element) + elif element_type == AAS_submodel_elements.File: + return isinstance(element, File) + elif element_type == AAS_submodel_elements.Multi_language_property: + return isinstance(element, Multi_language_property) + elif element_type == AAS_submodel_elements.Operation: + return isinstance(element, Operation) + elif element_type == AAS_submodel_elements.Property: + return isinstance(element, Property) + elif element_type == AAS_submodel_elements.Range: + return isinstance(element, Range) + elif element_type == AAS_submodel_elements.Reference_element: + return isinstance(element, Reference_element) + elif element_type == AAS_submodel_elements.Relationship_element: + return isinstance(element, Relationship_element) + elif element_type == AAS_submodel_elements.Submodel_element: + return True + elif element_type == AAS_submodel_elements.Submodel_element_list: + return isinstance(element, Submodel_element_list) + elif element_type == AAS_submodel_elements.Submodel_element_collection: + return isinstance(element, Submodel_element_collection) + + # NOTE (mristin): + # We covered all the literals of :class:`AAS_submodel_elements` above. + return False + + +@verification +def properties_or_ranges_have_value_type( + elements: Sequence["Submodel_element"], value_type: "Data_type_def_XSD" +) -> bool: + """Check that all the :paramref:`elements` have the :paramref:`value_type`.""" + for element in elements: + if isinstance(element, Property) and element.value_type != value_type: + return False + + if isinstance(element, Range) and element.value_type != value_type: + return False + + return True + + +@verification +def reference_key_values_equal(that: "Reference", other: "Reference") -> bool: + """Check that the two references are equal by comparing their key values.""" + if len(that.keys) != len(other.keys): + return False + + for i in range(0, len(that.keys)): + if that.keys[i].value != other.keys[i].value: + return False + + return True + + +# endregion + + +@invariant( + lambda self: matches_XML_serializable_string(self), + "Constraint AASd-130: An attribute with data type 'string' shall consist " + "of these characters only: " + r"^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.", +) +class XML_serializable_string(str, DBC): + r""" + Represent a string which must be serializable to XML. + + :constraint AASd-130: + + An attribute with data type "string" shall consist of these characters only: + ``^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\u00010000-\u0010FFFF]*$``. + """ + + +# fmt: off +@invariant( + lambda self: len(self) >= 1, + "The value must not be empty." +) +# fmt: on +class Non_empty_XML_serializable_string(XML_serializable_string, DBC): + """Represent an XML-serializable string with at least one character.""" + + +@invariant( + lambda self: is_xs_date_time_UTC(self), + "The value must represent a valid xs:dateTime with the time zone fixed to UTC.", +) +@invariant( + lambda self: matches_xs_date_time_UTC(self), + "The value must match the pattern of xs:dateTime with the time zone fixed to UTC.", +) +class Date_time_UTC(str, DBC): + """Represent an ``xs:dateTime`` with the time zone fixed to UTC.""" + + +@invariant( + lambda self: is_xs_date_time(self), + "The value must represent a valid xs:dateTime.", +) +@invariant( + lambda self: matches_xs_date_time(self), + "The value must match the pattern of xs:dateTime.", +) +class Date_time(str, DBC): + """Represent an ``xs:dateTime``.""" + + +@invariant( + lambda self: matches_xs_duration(self), + "The value must match the pattern of xs:duration.", +) +class Duration(str, DBC): + """Represent an ``xs:duration``.""" + + +class Blob_type(bytearray, DBC): + """Group of bytes to represent file content (binaries and non-binaries)""" + + +@invariant( + lambda self: len(self) <= 2048, + "Identifier shall have a maximum length of 2048 characters.", +) +class Identifier(Non_empty_XML_serializable_string, DBC): + """ + string + + .. note:: + + It is recommended to use existing standards, for example ID-Link + (IEC 61406) may be used for :attr:`Asset_information.global_asset_ID`. + + Typically, identifier strings do not contain blanks, emoticons or + carriage returns because they are not representable in existing systems. + """ + + +@invariant( + lambda self: len(self) <= 2048, + "Value type IEC 61360 shall have a maximum length of 2048 characters.", +) +class Value_type_IEC_61360(Non_empty_XML_serializable_string): + """ + string + """ + + +@invariant( + lambda self: len(self) <= 128, + "Name type shall have a maximum length of 128 characters.", +) +class Name_type(Non_empty_XML_serializable_string, DBC): + """ + string with length 128 maximum and 1 minimum + """ + + +@invariant( + lambda self: len(self) <= 4, + "Version type shall have a maximum length of 4 characters.", +) +@invariant( + lambda self: matches_version_type(self), + "Version type shall match the version pattern.", +) +class Version_type(Non_empty_XML_serializable_string): + """ + string with max 4 and min 1 characters + following the following regular expression: ``^([0-9]|[1-9][0-9]*)$`` + """ + + +@invariant( + lambda self: len(self) <= 4, + "Revision type shall have a maximum length of 4 characters.", +) +@invariant( + lambda self: matches_revision_type(self), + "Revision type shall match the revision pattern.", +) +class Revision_type(Non_empty_XML_serializable_string): + """ + string with max 4 and min 1 characters + following the following regular expression: ``^([0-9]|[1-9][0-9]*)$`` + """ + + +@invariant( + lambda self: len(self) <= 64, + "Label type shall have a maximum length of 64 characters.", +) +class Label_type(Non_empty_XML_serializable_string, DBC): + """ + string with max 64 and min 1 characters + """ + + +@invariant( + lambda self: len(self) <= 255, + "Message topic type shall have a maximum length of 255 characters.", +) +class Message_topic_type(Non_empty_XML_serializable_string, DBC): + """ + string with max 255 and min 1 characters + """ + + +# noinspection SpellCheckingInspection +@invariant( + lambda self: matches_BCP_47(self), + "The value must represent a value language tag conformant to BCP 47.", +) +class BCP_47_language_tag(str, DBC): + """ + Represent a language tag conformant to BCP 47. + + See: https://tools.ietf.org/rfc/bcp/bcp47.txt + """ + + +@invariant( + lambda self: matches_MIME_type(self), + "The value must represent a valid content MIME type according to RFC 2046.", +) +@invariant( + lambda self: len(self) <= 128, + "Content type shall have a maximum length of 128 characters.", +) +class Content_type(Non_empty_XML_serializable_string, DBC): + """ + string with max 128 and min 1 characters + + Any content type as specified in RFC2046. + + The content type should be registered by the Internet Assigned Numbers + Authority (IANA) as specified in RFC2048. + """ + + +@invariant( + lambda self: matches_RFC_2396(self), + "String with max 2048 and min 1 characters conformant to a URI as per RFC 2396.", +) +class Path_type(Identifier, DBC): + """ + Identifier + + string with max 2048 and min 1 characters + + conformant to a URI as per RFC 2396 + + .. note:: + + Values with this restriction are also conformant to the xsd datatype + anyURI. + + "A wide range of internationalized resource identifiers can be + specified when an anyURI is called for, and still be understood as + URIs per RFC 2396 and its successor(s)." + + Source: W3C XML Schema Definition Language (XSD) 1.0 Part 2: Datatypes + """ + + pass + + +class Qualifier_type(Name_type, DBC): + """ + NameType + """ + + +class Value_data_type(XML_serializable_string, DBC): + """ + any XSD atomic type as specified via :class:`Data_type_def_XSD` + """ + + +@invariant( + lambda self: matches_ID_short(self), + "AASd-002: ID-short of Referables shall consist of at least two characters " + "and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); " + "starting mandatory with a letter, and not ending with a hyphen, " + "*I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``.", +) +class ID_short_type(Name_type, DBC): + """ + Represent a short ID of an :class:`Referable`. + + :constraint AASd-002: + + ID-short of :class:`Referable`'s shall consist of at least two characters + and shall only feature letters, digits, hyphen (``-``) and underscore + (``_``); starting mandatory with a letter, + and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. + + :constraint AASd-117: + + :attr:`Referable.ID_short` of non-identifiable :class:`Referable`'s + not being a direct child of a :class:`Submodel_element_list` shall + be specified. + """ + + +@abstract +# fmt: off +@invariant( + lambda self: + not (self.supplemental_semantic_IDs is not None) + or ( + self.semantic_ID is not None + ), + "Constraint AASd-118: If there are supplemental semantic IDs defined " + "then there shall be also a main semantic ID." +) +@invariant( + lambda self: + not (self.supplemental_semantic_IDs is not None) + or len(self.supplemental_semantic_IDs) >= 1, + "Supplemental semantic IDs must be either not set or have at least one item." +) +# fmt: on +class Has_semantics(DBC): + """ + Element that can have a semantic definition plus some supplemental semantic + definitions. + + :constraint AASd-118: + + If there are ID :attr:`Has_semantics.supplemental_semantic_IDs` defined + then there shall be also a main semantic ID :attr:`Has_semantics.semantic_ID`. + """ + + semantic_ID: Optional["Reference"] + """ + Identifier of the semantic definition of the element. It is called semantic ID + of the element or also main semantic ID of the element. + """ + + supplemental_semantic_IDs: Optional[List["Reference"]] + """ + Identifier of a supplemental semantic definition of the element. + It is called supplemental semantic ID of the element. + """ + + def __init__( + self, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + ) -> None: + self.semantic_ID = semantic_ID + self.supplemental_semantic_IDs = supplemental_semantic_IDs + + +# fmt: off +@invariant( + lambda self: + not (self.value is not None) + or ( + value_consistent_with_XSD_type(self.value, self.value_type_or_default()) + ), + "The value must match the value type." +) +@invariant( + lambda self: + not (self.refers_to is not None) + or len(self.refers_to) >= 1, + "Refers-to must be either not set or have at least one item." +) +# fmt: on +class Extension(Has_semantics): + """ + Single extension of an element. + """ + + name: "Name_type" + """ + Name of the extension. + + :constraint AASd-077: + + The name of an extension (Extension/name) within :class:`Has_extensions` needs + to be unique. + """ + + value_type: Optional["Data_type_def_XSD"] + """ + Data type of the :attr:`value` attribute of the extension. + + Default: :attr:`Data_type_def_XSD.String` + """ + + @non_mutating + def value_type_or_default(self) -> "Data_type_def_XSD": + if self.value_type is not None: + return self.value_type + + return Data_type_def_XSD.String + + value: Optional["Value_data_type"] + """ + Value of the extension + """ + + refers_to: Optional[List["Reference"]] + """ + Reference to an element the extension refers to. + """ + + def __init__( + self, + name: "Name_type", + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + value_type: Optional["Data_type_def_XSD"] = None, + value: Optional["Value_data_type"] = None, + refers_to: Optional[List["Reference"]] = None, + ) -> None: + Has_semantics.__init__( + self, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + ) + + self.name = name + self.value_type = value_type + self.value = value + self.refers_to = refers_to + + +# fmt: off +@abstract +@invariant( + lambda self: + not (self.extensions is not None) or extension_names_are_unique(self.extensions), + "Constraint AASd-077: The name of an extension within " + "Has-Extensions needs to be unique." +) +@invariant( + lambda self: + not (self.extensions is not None) + or len(self.extensions) >= 1, + "Extensions must be either not set or have at least one item." +) +# fmt: on +class Has_extensions(DBC): + """ + Element that can be extended by proprietary extensions. + + .. note:: + + Extensions are proprietary, i.e. they do not support global interoperability. + """ + + extensions: Optional[List["Extension"]] + """ + An extension of the element. + """ + + def __init__(self, extensions: Optional[List["Extension"]] = None) -> None: + self.extensions = extensions + + +# fmt: off +@abstract +@invariant( + lambda self: + not (self.display_name is not None) + or lang_strings_have_unique_languages(self.display_name), + "Display name must specify unique languages." +) +@invariant( + lambda self: + not (self.display_name is not None) + or len(self.display_name) >= 1, + "Display name must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.description is not None) + or lang_strings_have_unique_languages(self.description), + "Description must specify unique languages." +) +@invariant( + lambda self: + not (self.description is not None) + or len(self.description) >= 1, + "Description must be either not set or have at least one item." +) +@serialization(with_model_type=True) +# fmt: on +class Referable(Has_extensions): + """ + Element that is referable by its :attr:`ID_short`. + + This ID is not globally unique. + This ID is unique within the name space of the element. + + :constraint AASd-022: + + :attr:`Referable.ID_short` of non-identifiable referables + within the same name space shall be unique (case-sensitive). + """ + + category: Optional[Name_type] + """ + The category is a value that gives further meta information + w.r.t. the class of the element. + It affects the expected existence of attributes and the applicability of + constraints. + + .. note:: + + The category is not identical to the semantic definition + (:class:`Has_semantics`) of an element. The category could e.g. denote that + the element is a measurement value, whereas the semantic definition of + the element would denote that it is the measured temperature. + + .. note:: + + Deprecated. + """ + + ID_short: Optional["ID_short_type"] + """ + In case of identifiables, this attribute is a short name of the element. + In case of a referable, this ID is an identifying string of the element within + its name space. + + .. note:: + + In case the element is a property and the property has a semantic definition + (:attr:`Has_semantics.semantic_ID`) conformant to IEC61360 + the :attr:`ID_short` is typically identical to the short name in English, + if available. + """ + + display_name: Optional[List["Lang_string_name_type"]] + """ + Display name. Can be provided in several languages. + """ + + description: Optional[List["Lang_string_text_type"]] + """ + Description or comments on the element. + + The description can be provided in several languages. + + If no description is defined, the definition of the concept + description that defines the semantics of the element is used. + + Additional information can be provided, e.g., if the element is + qualified and which qualifier types can be expected in which + context or which additional data specification templates. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional["ID_short_type"] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + ) -> None: + Has_extensions.__init__(self, extensions=extensions) + + self.ID_short = ID_short + self.display_name = display_name + self.category = category + self.description = description + + +@abstract +class Identifiable(Referable): + """An element that has a globally unique identifier.""" + + administration: Optional["Administrative_information"] + """ + Administrative information of an identifiable element. + + .. note:: + + Some of the administrative information like the version number might need to + be part of the identification. + """ + + ID: "Identifier" + """The globally unique identification of the element.""" + + def __init__( + self, + ID: "Identifier", + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + administration: Optional["Administrative_information"] = None, + ) -> None: + Referable.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + ) + + self.ID = ID + self.administration = administration + + +class Modelling_kind(Enum): + """Enumeration for denoting whether an element is a template or an instance.""" + + Template = "Template" + """ + Specification of the common features of a structured element in sufficient detail + that such an instance can be instantiated using it + """ + + Instance = "Instance" + """ + Concrete, clearly identifiable element instance. Its creation and validation + may be guided by a corresponding element template. + """ + + +@abstract +class Has_kind(DBC): + """ + An element with a kind is an element that can either represent a template or an + instance. + + Default for an element is that it is representing an instance. + """ + + kind: Optional["Modelling_kind"] + """ + Kind of the element: either template or instance. + + Default: :attr:`Modelling_kind.Instance` + """ + + @non_mutating + def kind_or_default(self) -> "Modelling_kind": + if self.kind is not None: + return self.kind + + return Modelling_kind.Instance + + def __init__(self, kind: Optional["Modelling_kind"] = None) -> None: + self.kind = kind + + +# fmt: off +@abstract +@invariant( + lambda self: + not (self.embedded_data_specifications is not None) + or len(self.embedded_data_specifications) >= 1, + "Embedded data specifications must be either not set or have at least one item." +) +# fmt: on +class Has_data_specification(DBC): + """ + Element that can be extended by using data specification templates. + + A data specification template defines a named set of additional attributes an + element may or shall have. The data specifications used are explicitly specified + with their global ID. + """ + + embedded_data_specifications: Optional[List["Embedded_data_specification"]] + """Embedded data specification.""" + + def __init__( + self, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + self.embedded_data_specifications = embedded_data_specifications + + +# fmt: off +@invariant( + lambda self: + not (self.revision is not None) or self.version is not None, + "Constraint AASd-005: If version is not specified, revision shall also be " + "unspecified. This means that a revision requires a version. If there is " + "no version, there is no revision. Revision is optional." +) +@invariant( + lambda self: + not (self.created_at is not None and self.updated_at is not None) + or date_time_UTC_less_or_equal_or_invalid(self.created_at, self.updated_at), + "Created-at must be before or equal to updated-at." +) +# fmt: on +class Administrative_information(Has_data_specification): + """ + Administrative metainformation for an element. + + :constraint AASd-005: + + If :attr:`version` is not specified, :attr:`revision` shall also be + unspecified. This means that a revision requires a version. If there is + no version, there is no revision. Revision is optional. + """ + + version: Optional[Version_type] + """Version of the element.""" + + revision: Optional[Revision_type] + """Revision of the element.""" + + creator: Optional["Reference"] + """The subject ID of the subject responsible for making the element.""" + + created_at: Optional["Date_time_UTC"] + """date of creation.""" + + updated_at: Optional["Date_time_UTC"] + """date of update.""" + + template_ID: Optional["Identifier"] + """ + Identifier of the template that guided the creation of the element. + + .. note:: + + So far, :attr:`template_ID` is only applicable for :class:`Submodel`'s, + since template specifications are standardized for Submodels only. + + .. note:: + + In case of a submodel, the :attr:`template_ID` is the identifier + of the submodel template that guided the creation of the submodel + + .. note:: + + The :attr:`template_ID` is not relevant for validation in Submodels. + For validation the :attr:`Submodel.semantic_ID` shall be used. + + .. note:: + + Usage of :attr:`template_ID` is not restricted to submodel instances. So also + the creation of submodel templates can be guided by another submodel template. + """ + + def __init__( + self, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + version: Optional[Version_type] = None, + revision: Optional[Revision_type] = None, + creator: Optional["Reference"] = None, + created_at: Optional["Date_time_UTC"] = None, + updated_at: Optional["Date_time_UTC"] = None, + template_ID: Optional["Identifier"] = None, + ) -> None: + Has_data_specification.__init__( + self, embedded_data_specifications=embedded_data_specifications + ) + + self.version = version + self.revision = revision + self.creator = creator + self.created_at = created_at + self.updated_at = updated_at + self.template_ID = template_ID + + +# fmt: off +@abstract +@invariant( + lambda self: + not (self.qualifiers is not None) + or qualifier_types_are_unique(self.qualifiers), + "Constraint AASd-021: Every qualifiable shall only have one qualifier with " + "the same type." +) +@invariant( + lambda self: + not (self.qualifiers is not None) + or len(self.qualifiers) >= 1, + "Qualifiers must be either not set or have at least one item." +) +@serialization(with_model_type=True) +# fmt: on +class Qualifiable(DBC): + """ + A qualifiable element may be further qualified by one or more + qualifiers. + + :constraint AASd-119: + + If any :attr:`Qualifier.kind` value of :attr:`Qualifiable.qualifiers` is + equal to :attr:`Qualifier_kind.Template_qualifier` and the qualified element + inherits from :class:`Has_kind` then the qualified element shall be of + kind Template (:attr:`Has_kind.kind` = :attr:`Modelling_kind.Template`). + + .. note:: + + This constraint is checked at :class:`Submodel`. + """ + + qualifiers: Optional[List["Qualifier"]] + """ + Additional qualification of a qualifiable element. + + :constraint AASd-021: + + Every qualifiable shall only have one qualifier with the same + :attr:`Qualifier.type`. + """ + + def __init__(self, qualifiers: Optional[List["Qualifier"]] = None) -> None: + self.qualifiers = qualifiers + + +class Qualifier_kind(Enum): + """ + Enumeration for kinds of qualifiers. + + .. note:: + + This element is experimental and therefore may be subject to change or may be + removed completely in future versions of the meta-model. + """ + + Value_qualifier = "ValueQualifier" + """ + qualifies the value of the element; the corresponding qualifier value can + change over time. + + Value qualifiers are only applicable to elements with kind + :attr:`Modelling_kind.Instance`. + """ + + Concept_qualifier = "ConceptQualifier" + """ + qualifies the semantic definition (:attr:`Has_semantics.semantic_ID`) the + element is referring to; the corresponding qualifier value is static. + """ + + Template_qualifier = "TemplateQualifier" + """ + qualifies the elements within a specific submodel on concept level; the + corresponding qualifier value is static. + + Template qualifiers are only applicable to elements with kind + :attr:`Modelling_kind.Template`. + """ + + +# fmt: off +@invariant( + lambda self: + not (self.value is not None) + or value_consistent_with_XSD_type(self.value, self.value_type), + "Constraint AASd-020: The value shall be consistent with the data type as defined " + "in value type.", +) +# fmt: on +class Qualifier(Has_semantics): + """ + A qualifier is essentially a type-value-pair. Depending on the kind of + qualifier, it makes additional statements: + + * w.r.t. the value of the qualified element, + * w.r.t. the concept, i.e. semantic definition of the qualified element, + * w.r.t. existence and other meta information of the qualified element type. + + :constraint AASd-006: + + If both the :attr:`value` and the :attr:`value_ID` of + a :class:`Qualifier` are present then the :attr:`value` needs + to be identical to the value of the referenced coded value + in :attr:`value_ID`. + + :constraint AASd-020: + + The value of :attr:`value` shall be consistent with the data type as + defined in :attr:`value_type`. + """ + + kind: Optional["Qualifier_kind"] + """ + The qualifier kind describes the kind of qualifier that is applied to the + element. + + Default: :attr:`Qualifier_kind.Concept_qualifier` + """ + + @non_mutating + def kind_or_default(self) -> "Qualifier_kind": + if self.kind is not None: + return self.kind + + return Qualifier_kind.Concept_qualifier + + type: "Qualifier_type" + """ + The qualifier *type* describes the type of qualifier that is applied to + the element. + """ + + value_type: "Data_type_def_XSD" + """ + Data type of the qualifier value. + """ + + value: Optional["Value_data_type"] + """ + The qualifier value is the value of the qualifier. + """ + + value_ID: Optional["Reference"] + """ + Reference to the global unique ID of a coded value. + """ + + def __init__( + self, + type: "Qualifier_type", + value_type: "Data_type_def_XSD", + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + kind: Optional["Qualifier_kind"] = None, + value: Optional["Value_data_type"] = None, + value_ID: Optional["Reference"] = None, + ) -> None: + Has_semantics.__init__( + self, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + ) + + self.type = type + self.value_type = value_type + self.kind = kind + self.value = value + self.value_ID = value_ID + + +# fmt: off +@invariant( + lambda self: + not (self.submodels is not None) + or ( + all( + is_model_reference_to(reference, Key_types.Submodel) + for reference in self.submodels + ) + ), + "All submodels must be model references to a submodel." +) +@invariant( + lambda self: + not (self.derived_from is not None) + or ( + is_model_reference_to( + self.derived_from, + Key_types.Asset_administration_shell + ) + ), + "Derived-from must be a model reference to an asset administration shell." +) +@invariant( + lambda self: + not (self.submodels is not None) + or len(self.submodels) >= 1, + "Submodels must be either not set or have at least one item." +) +# fmt: on +class Asset_administration_shell(Identifiable, Has_data_specification): + """An Asset Administration Shell.""" + + derived_from: Optional["Reference"] + """ + The reference to the Asset Administration Shell, which the Asset + Administration Shell was derived from. + """ + + asset_information: "Asset_information" + """ + Meta information about the asset, the Asset Administration Shell is + representing. + """ + + submodels: Optional[List["Reference"]] + """ + References to submodels of the Asset Administration Shell. + + A submodel is a description of an aspect of the asset, the Asset + Administration Shell is representing. + + The asset of an Asset Administration Shell is typically described by one or + more submodels. + + Temporarily, no submodel might be assigned to the Asset Administration Shell. + """ + + def __init__( + self, + ID: Identifier, + asset_information: "Asset_information", + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + administration: Optional["Administrative_information"] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + derived_from: Optional["Reference"] = None, + submodels: Optional[List["Reference"]] = None, + ) -> None: + Identifiable.__init__( + self, + ID=ID, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + administration=administration, + ) + + Has_data_specification.__init__( + self, embedded_data_specifications=embedded_data_specifications + ) + + self.derived_from = derived_from + self.asset_information = asset_information + self.submodels = submodels + + +# fmt: off +@invariant( + lambda self: + not (self.specific_asset_IDs is not None) + or len(self.specific_asset_IDs) >= 1, + "Specific asset IDs must be either not set or have at least one item." +) +@invariant( + lambda self: + ( + self.global_asset_ID is not None + or self.specific_asset_IDs is not None + ) and ( + not (self.specific_asset_IDs is not None) + or len(self.specific_asset_IDs) >= 1 + ), + "Constraint AASd-131: Either the global asset ID shall be defined or at least one " + "specific asset ID." +) +@invariant( + lambda self: + not (self.specific_asset_IDs is not None) + or ( + all( + not ( + specific_asset_ID_name_matches_global_asset_ID( + specific_asset_ID.name + ) + ) or ( + self.global_asset_ID is not None + and specific_asset_ID.value == self.global_asset_ID + ) + for specific_asset_ID in self.specific_asset_IDs + ) + ), + "Constraint AASd-116: ``globalAssetId`` (case-insensitive) is a reserved key. " + "If used as value for the name of specific asset ID then the value of specific " + "asset ID shall be identical to the global asset ID with semantics as defined in " + "https://admin-shell.io/aas/3/x/AssetInformation/globalAssetId, " + "x being the minor version of the used specification." +) +# fmt: on +class Asset_information(DBC): + """ + In :class:`Asset_information` identifying metadata of the asset that is + represented by an Asset Administration Shell is defined. + + Several asset kinds are distinguished like for example type assets and + instance assets. + + The asset has a globally unique identifier, plus – if needed – additional + domain-specific (proprietary) identifiers. However, to support the corner case + of very first phase of life cycle where a stabilized/constant global asset + identifier does not already exist, the corresponding attribute + :attr:`global_asset_ID` is optional. + + :constraint AASd-116: + + ``globalAssetId`` (case-insensitive) is a reserved key for + :attr:`Specific_asset_ID.name` with the semantics as defined in + ``https://admin-shell.io/aas/3/x/AssetInformation/globalAssetId`` + where ``x`` is the minor version. + + .. note:: + + :constraintref:`AASd-116` is important to enable a generic search across + global and specific asset IDs (e.g. in IDTA-01002-3-0 discovery + operations like GetAllAssetLinksById). In the future the constraint + might become more strict in stating that the name ``globalAssetId`` + shall not be used as :attr:`Specific_asset_ID.name`. + + .. note:: + + The comparison against ``globalAssetId`` is ASCII case-insensitive. + + :constraint AASd-131: + + For :class:`Asset_information` either the :attr:`global_asset_ID` shall be + defined or at least one item in :attr:`specific_asset_IDs`. + + + """ + + asset_kind: "Asset_kind" + """ + Denotes whether the Asset is of kind :attr:`Asset_kind.Type`, + :attr:`Asset_kind.Instance`, :attr:`Asset_kind.Batch`, :attr:`Asset_kind.Role`, + or :attr:`Asset_kind.Not_applicable`. + """ + + global_asset_ID: Optional["Identifier"] + """ + Identifier of the asset, the Asset Administration Shell is representing. + + This attribute is required as soon as the Asset Administration Shell is + exchanged via partners in the life cycle of the asset. In a first phase of the + life cycle, the asset might not yet have a global asset ID but already an + internal identifier. The internal identifier would be modelled via + :attr:`specific_asset_IDs`. + """ + + specific_asset_IDs: Optional[List["Specific_asset_ID"]] + """ + Additional domain-specific, typically proprietary identifier for the asset like + serial number, manufacturer part ID, customer part IDs, etc. + """ + + asset_type: Optional["Identifier"] + """ + In case :attr:`asset_kind` is not :attr:`Asset_kind.Not_applicable` the + :attr:`asset_type` is the asset ID of the type asset of the asset under + consideration as identified by :attr:`global_asset_ID`. + + .. note:: + + In case :attr:`asset_kind` is "Instance" then the :attr:`asset_type` denotes + which "Type" the asset is of. But it is also possible + to have an :attr:`asset_type` of an asset of kind "Type". + + """ + + default_thumbnail: Optional["Resource"] + """ + Thumbnail of the asset represented by the Asset Administration Shell. + + Used as default. + """ + + def __init__( + self, + asset_kind: "Asset_kind", + global_asset_ID: Optional["Identifier"] = None, + specific_asset_IDs: Optional[List["Specific_asset_ID"]] = None, + asset_type: Optional["Identifier"] = None, + default_thumbnail: Optional["Resource"] = None, + ) -> None: + self.asset_kind = asset_kind + self.global_asset_ID = global_asset_ID + self.specific_asset_IDs = specific_asset_IDs + self.asset_type = asset_type + self.default_thumbnail = default_thumbnail + + +class Resource(DBC): + """ + Resource represents an address to a file (a locator). The value is a URI that + can represent an absolute or relative path. + """ + + path: "Path_type" + """ + Path and name of the resource (with file extension). + + The path can be absolute or relative. + """ + + content_type: Optional["Content_type"] + """ + Content type of the content of the file. + + A single content type (MIME type) can have multiple file extensions + associated with it. + """ + + def __init__( + self, + path: "Path_type", + content_type: Optional["Content_type"] = None, + ) -> None: + self.path = path + self.content_type = content_type + + +class Asset_kind(Enum): + """ + Enumeration for denoting whether an asset is a type asset or an instance + asset or a batch asset or is a role or whether this kind of classification + is not applicable. + """ + + Type = "Type" + """ + Type asset + """ + + Instance = "Instance" + """ + Instance asset + """ + + Batch = "Batch" + """ + Batch asset + """ + + Role = "Role" + """ + Role asset + """ + + Not_applicable = "NotApplicable" + """ + None of the other asset kinds + """ + + +@invariant( + lambda self: not (self.external_subject_ID is not None) + or (self.external_subject_ID.type == Reference_types.External_reference), + "Constraint AASd-133: External subject ID shall be an external reference.", +) +class Specific_asset_ID(Has_semantics): + """ + A specific asset ID describes a generic supplementary identifying attribute of the + asset. + + The specific asset ID is not necessarily globally unique. + + :constraint AASd-133: + + :attr:`external_subject_ID` shall be an external reference, + i.e. :attr:`Reference.type` = :attr:`Reference_types.External_reference`. + """ + + name: Label_type + """Name of the asset identifier.""" + + value: Identifier + """The value of the specific asset identifier with the corresponding name.""" + + external_subject_ID: Optional["Reference"] + """ + The unique ID of the (external) subject the specific asset ID value belongs + to or has meaning to. + + .. note:: + + This is an external reference. + """ + + def __init__( + self, + name: Label_type, + value: Identifier, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + external_subject_ID: Optional["Reference"] = None, + ) -> None: + Has_semantics.__init__( + self, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + ) + self.name = name + self.value = value + self.external_subject_ID = external_subject_ID + + +# fmt: off +@invariant( + lambda self: + not (self.qualifiers is not None) + or ( + not any( + qualifier.kind_or_default() == Qualifier_kind.Template_qualifier + for qualifier in self.qualifiers + ) or ( + self.kind_or_default() == Modelling_kind.Template + ) + ), + "Constraint AASd-119: If any qualifier kind value of a qualifiable qualifier is " + "equal to template qualifier and the qualified element has kind then the qualified " + "element shall be of kind template." +) +@invariant( + lambda self: + not (self.submodel_elements is not None) + or ( + not (self.kind_or_default() != Modelling_kind.Template) + or ( + submodel_elements_have_no_template_qualifiers( + self.submodel_elements + ) + ) + ), + "Constraint AASd-129: If any kind value of a qualifier " + "(attribute qualifier inherited via Qualifiable) is equal to TemplateQualifier, " + "the submodel element shall be part of a submodel template, i.e. a submodel with " + "kind (attribute kind inherited via Has-Kind) value equal to Template. " + "Exception: the submodel element is part of an operation variable." +) +@invariant( + lambda self: + not ( + self.kind_or_default() == Modelling_kind.Template + ) + or ( + self.submodel_elements is not None + and submodel_element_lists_in_submodel_elements_have_exactly_one_element( + self.submodel_elements + ) + ), + "Constraint AASd-138: A submodel element list within a submodel of kind " + "Template or as part of an operation variable shall have exactly one element." +) +@invariant( + lambda self: + not (self.submodel_elements is not None) + or (ID_shorts_are_unique(self.submodel_elements)), + "Constraint AASd-022: ID-short of non-identifiable referables " + "within the same name space shall be unique (case-sensitive)." +) +@invariant( + lambda self: + not (self.submodel_elements is not None) + or all( + item.ID_short is not None + for item in self.submodel_elements + ), + "ID-shorts need to be defined for all the items of submodel elements according to " + "AASd-117 (ID-short of non-identifiable Referables not being a direct child of " + "a Submodel element list shall be specified)." +) +@invariant( + lambda self: + not (self.submodel_elements is not None) + or len(self.submodel_elements) >= 1, + "Submodel elements must be either not set or have at least one item." +) +# fmt: on +class Submodel( + Identifiable, Has_kind, Has_semantics, Qualifiable, Has_data_specification +): + """ + A submodel defines a specific aspect of the asset represented by the Asset + Administration Shell. + + A submodel is used to structure the digital representation and technical + functionality of an Administration Shell into distinguishable parts. Each submodel + refers to a well-defined domain or subject. Submodels can become standardized + and, in turn, submodel templates. + """ + + submodel_elements: Optional[List["Submodel_element"]] + """Submodel elements contained in the submodel.""" + + def __init__( + self, + ID: Identifier, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + administration: Optional["Administrative_information"] = None, + kind: Optional["Modelling_kind"] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + submodel_elements: Optional[List["Submodel_element"]] = None, + ) -> None: + Identifiable.__init__( + self, + ID=ID, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + administration=administration, + ) + + Has_kind.__init__(self, kind=kind) + + Has_semantics.__init__( + self, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + ) + + Qualifiable.__init__(self, qualifiers=qualifiers) + + Has_data_specification.__init__( + self, embedded_data_specifications=embedded_data_specifications + ) + + self.submodel_elements = submodel_elements + + +@abstract +class Submodel_element(Referable, Has_semantics, Qualifiable, Has_data_specification): + """ + A submodel element is an element suitable for the description and differentiation of + assets. + + It is recommended to add a :attr:`Has_semantics.semantic_ID` to a submodel element. + + :constraint AASd-129: + + If any :attr:`Qualifier.kind` value of :attr:`qualifiers` (attribute qualifier + inherited via Qualifiable) is equal to :attr:`Qualifier_kind.Template_qualifier`, + the submodel element shall be part of a submodel template, i.e. + a submodel with :attr:`Submodel.kind` (attribute kind inherited via + :class:`Has_kind`) value equal to :attr:`Modelling_kind.Template`. + Exception: the submodel element is part of an :class:`Operation_variable`. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Referable.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + ) + + Has_semantics.__init__( + self, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + ) + + Qualifiable.__init__(self, qualifiers=qualifiers) + + Has_data_specification.__init__( + self, embedded_data_specifications=embedded_data_specifications + ) + + +class Relationship_element(Submodel_element): + """ + A relationship element is used to define a relationship between two elements + being either referable (model reference) or external (external reference). + """ + + first: Optional["Reference"] + """ + Reference to the first element in the relationship taking the role of the subject. + """ + + second: Optional["Reference"] + """ + Reference to the second element in the relationship taking the role of the object. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + first: Optional["Reference"] = None, + second: Optional["Reference"] = None, + ) -> None: + Submodel_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.first = first + self.second = second + + +class AAS_submodel_elements(Enum): + """ + Enumeration of Submodel Element types including abstract Submodel Element types. + """ + + Annotated_relationship_element = "AnnotatedRelationshipElement" + Basic_event_element = "BasicEventElement" + Blob = "Blob" + Capability = "Capability" + + Data_element = "DataElement" + """ + Data element. + + .. note:: + + Data Element is abstract, *i.e.* if a key uses :attr:`Data_element` + the reference may be a :class:`Property`, a :class:`File` etc. + """ + + Entity = "Entity" + + Event_element = "EventElement" + """ + Event. + + .. note:: + + :class:`Event_element` is abstract. + """ + + File = "File" + + Multi_language_property = "MultiLanguageProperty" + """Property with a value that can be provided in multiple languages""" + + Operation = "Operation" + Property = "Property" + + Range = "Range" + """Range with min and max""" + + Reference_element = "ReferenceElement" + """ + Reference + """ + + Relationship_element = "RelationshipElement" + """ + Relationship + """ + + Submodel_element = "SubmodelElement" + """ + Submodel Element + + .. note:: + + Submodel Element is abstract, *i.e.* if a key uses :attr:`Submodel_element` + the reference may be a :class:`Property`, an :class:`Operation` etc. + """ + + Submodel_element_list = "SubmodelElementList" + """ + List of Submodel Elements + """ + + Submodel_element_collection = "SubmodelElementCollection" + """ + Struct of Submodel Elements + """ + + +# fmt: off +@invariant( + lambda self: + not (self.value is not None) + or ID_shorts_are_unique(self.value), + "ID-shorts of the value must be unique." +) +@invariant( + lambda self: + not ( + self.value is not None + and ( + self.type_value_list_element == AAS_submodel_elements.Property + or self.type_value_list_element == AAS_submodel_elements.Range + ) + ) or ( + self.value_type_list_element is not None + and properties_or_ranges_have_value_type( + self.value, + self.value_type_list_element + ) + ), + "Constraint AASd-109: If type value list element is equal to " + "Property or Range value type list element shall be set " + "and all first level child elements shall have the value type as specified in " + "value type list element." +) +@invariant( + lambda self: + not (self.value is not None) + or all( + submodel_element_is_of_type(element, self.type_value_list_element) + for element in self.value + ), + "Constraint AASd-108: All first level child elements shall have " + "the same submodel element type as specified in type value list element." +) +@invariant( + lambda self: + not (self.value is not None) + or submodel_elements_have_identical_semantic_IDs(self.value), + "Constraint AASd-114: If two first level child elements " + "have a semantic ID then they shall be identical." +) +@invariant( + lambda self: + not ( + self.value is not None + and self.semantic_ID_list_element is not None + ) or ( + all( + not (child.semantic_ID is not None) + or reference_key_values_equal( + child.semantic_ID, + self.semantic_ID_list_element) + for child in self.value + ) + ), + "Constraint AASd-107: If a first level child element has a semantic ID " + "it shall be identical to semantic ID list element." +) +@invariant( + lambda self: + not (self.value is not None) + or len(self.value) >= 1, + "Value must be either not set or have at least one item." +) +# fmt: on +class Submodel_element_list(Submodel_element): + """ + A submodel element list is an ordered list of submodel elements. + + .. note:: + + The list is ordered although the ordering might not be relevant + (see :attr:`order_relevant`). + + The numbering starts with zero (0). + + :constraint AASd-107: + + If a first level child element in a :class:`Submodel_element_list` has + a :attr:`Has_semantics.semantic_ID` it + shall be identical to :attr:`Submodel_element_list.semantic_ID_list_element`. + + :constraint AASd-114: + + If two first level child elements in a :class:`Submodel_element_list` have + a :attr:`Has_semantics.semantic_ID` then they shall be identical. + + :constraint AASd-115: + + If a first level child element in a :class:`Submodel_element_list` does not + specify a :attr:`Has_semantics.semantic_ID` then the value is assumed to be + identical to :attr:`Submodel_element_list.semantic_ID_list_element`. + + :constraint AASd-108: + + All first level child elements in a :class:`Submodel_element_list` shall have + the same submodel element type as specified in :attr:`type_value_list_element`. + + :constraint AASd-109: + + If :attr:`type_value_list_element` is equal to + :attr:`AAS_submodel_elements.Property` or + :attr:`AAS_submodel_elements.Range` + :attr:`value_type_list_element` shall be set and all first + level child elements in the :class:`Submodel_element_list` shall have + the value type as specified in :attr:`value_type_list_element`. + + :constraint AASd-138: + + A :class:`Submodel_element_list` within a :class:`Submodel` of + :attr:`Has_kind.kind` = :attr:`Modelling_kind.Template` or as part of + an :class:`Operation_variable` shall have exactly one element. + + .. note:: + + This constraint is checked at :class:`Submodel` and :class:`Operation`. + """ + + order_relevant: Optional["bool"] + """ + Defines whether order in list is relevant. If :attr:`order_relevant` = ``False`` + then the list is representing a set or a bag. + + Default: ``True`` + """ + + @non_mutating + def order_relevant_or_default(self) -> bool: + if self.order_relevant is not None: + return self.order_relevant + + return True + + semantic_ID_list_element: Optional["Reference"] + """ + Semantic ID the submodel elements contained in the list match to. + """ + + type_value_list_element: "AAS_submodel_elements" + """ + The submodel element type of the submodel elements contained in the list. + """ + + value_type_list_element: Optional["Data_type_def_XSD"] + """ + The value type of the submodel element contained in the list. + """ + + value: Optional[List["Submodel_element"]] + """ + Submodel element contained in the list. + """ + + def __init__( + self, + type_value_list_element: "AAS_submodel_elements", + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + order_relevant: Optional["bool"] = None, + semantic_ID_list_element: Optional["Reference"] = None, + value_type_list_element: Optional["Data_type_def_XSD"] = None, + value: Optional[List["Submodel_element"]] = None, + ) -> None: + Submodel_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.type_value_list_element = type_value_list_element + self.order_relevant = order_relevant + self.semantic_ID_list_element = semantic_ID_list_element + self.value_type_list_element = value_type_list_element + self.value = value + + +# fmt: off +@invariant( + lambda self: + not (self.value is not None) + or ID_shorts_are_unique(self.value), + "ID-shorts of the value must be unique." +) +@invariant( + lambda self: + not (self.value is not None) + or all( + item.ID_short is not None + for item in self.value + ), + "ID-shorts need to be defined for all the items of value according to AASd-117 " + "(ID-short of non-identifiable Referables not being a direct child of a Submodel " + "element list shall be specified)." +) +@invariant( + lambda self: + not (self.value is not None) + or len(self.value) >= 1, + "Value must be either not set or have at least one item." +) +# fmt: on +class Submodel_element_collection(Submodel_element): + """ + A submodel element collection is a kind of struct, i.e. a logical encapsulation + of multiple named values. + """ + + value: Optional[List["Submodel_element"]] + """ + Submodel element contained in the collection. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + value: Optional[List["Submodel_element"]] = None, + ) -> None: + Submodel_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.value = value + + +# fmt: off +@abstract +# fmt: on +class Data_element(Submodel_element): + """ + A data element is a submodel element that is not further composed of + other submodel elements. + + A data element is a submodel element that has a value. The type of value differs + for different subtypes of data elements. + + .. note:: + + Categories are deprecated and should no longer be used. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List[Qualifier]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Submodel_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + +# fmt: off +@invariant( + lambda self: + not (self.value is not None) + or value_consistent_with_XSD_type(self.value, self.value_type), + "Value must be consistent with the value type." +) +# fmt: on +class Property(Data_element): + """ + A property is a data element that has a single value. + + :constraint AASd-007: + + If both, the :attr:`value` and the :attr:`value_ID` are + present then the value of :attr:`value` needs to be identical to + the value of the referenced coded value in :attr:`value_ID`. + """ + + value_type: "Data_type_def_XSD" + """ + Data type of the :attr:`value` attribute. + """ + + value: Optional["Value_data_type"] + """ + The value of the property instance. + """ + + value_ID: Optional["Reference"] + """ + Reference to the global unique ID of a coded value. + """ + + def __init__( + self, + value_type: "Data_type_def_XSD", + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List[Qualifier]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + value: Optional["Value_data_type"] = None, + value_ID: Optional["Reference"] = None, + ) -> None: + Data_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.value_type = value_type + self.value = value + self.value_ID = value_ID + + +# fmt: off +@invariant( + lambda self: + not (self.value is not None) + or len(self.value) >= 1, + "Value must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.value is not None) + or lang_strings_have_unique_languages(self.value), + "Value must specify unique languages." +) +# fmt: on +class Multi_language_property(Data_element): + """ + A property is a data element that has a multi-language value. + + :constraint AASd-012: + If both the :attr:`value` and the :attr:`value_ID` are present then for each + string in a specific language the meaning must be the same as specified in + :attr:`value_ID`. + """ + + value: Optional[List["Lang_string_text_type"]] + """ + The value of the property instance. + """ + + value_ID: Optional["Reference"] + """ + Reference to the global unique ID of a coded value. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List[Qualifier]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + value: Optional[List["Lang_string_text_type"]] = None, + value_ID: Optional["Reference"] = None, + ) -> None: + Data_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.value = value + self.value_ID = value_ID + + +# fmt: off +@invariant( + lambda self: + not (self.min is not None) + or value_consistent_with_XSD_type(self.min, self.value_type), + "Min must be consistent with the value type." +) +@invariant( + lambda self: + not (self.max is not None) + or value_consistent_with_XSD_type(self.max, self.value_type), + "Max must be consistent with the value type." +) +# fmt: on +class Range(Data_element): + """ + A range data element is a data element that defines a range with min and max. + + .. note:: + + This element is experimental and therefore may be subject to change or may be + removed completely in future versions of the meta-model. + """ + + value_type: "Data_type_def_XSD" + """ + Data type of the :attr:`min` und :attr:`max` attributes + """ + + min: Optional["Value_data_type"] + """ + The minimum value of the range. + """ + + max: Optional["Value_data_type"] + """ + The maximum value of the range. + """ + + def __init__( + self, + value_type: "Data_type_def_XSD", + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List[Qualifier]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + min: Optional["Value_data_type"] = None, + max: Optional["Value_data_type"] = None, + ) -> None: + Data_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.value_type = value_type + self.min = min + self.max = max + + +class Reference_element(Data_element): + """ + A reference element is a data element that defines a logical reference to another + element within the same or another Asset Administration Shell or a reference to + an external object or entity. + """ + + value: Optional["Reference"] + """ + External reference to an external object or entity or a logical reference to + another element within the same or another Asset Administration Shell (i.e. a + model reference to a Referable). + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List[Qualifier]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + value: Optional["Reference"] = None, + ) -> None: + Data_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.value = value + + +class Blob(Data_element): + """ + A :class:`Blob` is a data element that represents a file that is contained in the + :attr:`value` attribute with its source code. + """ + + value: Optional["Blob_type"] + """ + The value of the :class:`Blob` instance of a blob data element. + + .. note:: + + In contrast to the file property the file content is stored directly as value + in the :class:`Blob` data element. + """ + + content_type: Optional[Content_type] + """ + Content type of the content of the :class:`Blob`. + + The content type (MIME type) states which file extensions the file can have. + + Valid values are content types like ``application/json``, ``application/xls``, + ``image/jpg``. + + The allowed values are defined as in RFC2046. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List[Qualifier]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + value: Optional["Blob_type"] = None, + content_type: Optional[Content_type] = None, + ) -> None: + Data_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.content_type = content_type + self.value = value + + +class File(Data_element): + """ + A file is a data element that represents an address to a file (a locator). + + The value is a URI that can represent an absolute or relative path. + """ + + value: Optional["Path_type"] + """ + Path and name of the file (with file extension). + + The path can be absolute or relative. + """ + + content_type: Optional["Content_type"] + """ + Content type of the content of the file. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List[Qualifier]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + value: Optional["Path_type"] = None, + content_type: Optional["Content_type"] = None, + ) -> None: + Data_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.content_type = content_type + self.value = value + + +# fmt: off +@invariant( + lambda self: + not (self.annotations is not None) + or all( + item.ID_short is not None + for item in self.annotations + ), + "ID-shorts need to be defined for all the items of annotations according to " + "AASd-117 (ID-short of non-identifiable Referables not being a direct child of " + "a Submodel element list shall be specified)." +) +@invariant( + lambda self: + not (self.annotations is not None) + or len(self.annotations) >= 1, + "Annotations must be either not set or have at least one item." +) +# fmt: on +class Annotated_relationship_element(Relationship_element): + """ + An annotated relationship element is a relationship element that can be annotated + with additional data elements. + """ + + annotations: Optional[List[Data_element]] + """ + A data element that represents an annotation that holds for the relationship + between the two elements + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List[Qualifier]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + first: Optional["Reference"] = None, + second: Optional["Reference"] = None, + annotations: Optional[List[Data_element]] = None, + ) -> None: + Relationship_element.__init__( + self, + first=first, + second=second, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.annotations = annotations + + +# fmt: off +@invariant( + lambda self: + not (self.specific_asset_IDs is not None) + or len(self.specific_asset_IDs) >= 1, + "Specific asset IDs must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.entity_type is not None) + or ( + not (self.entity_type == Entity_type.Self_managed_entity) + or ( + ( + self.global_asset_ID is not None + and self.specific_asset_IDs is None + ) or ( + self.global_asset_ID is None + and self.specific_asset_IDs is not None + and len(self.specific_asset_IDs) >= 1 + ) + ) + ), + "Constraint AASd-014: Either the attribute global asset ID or " + "specific asset ID must be set if Entity/entityType is set to :attr:`Entity_type.Self_managed_entity`." +) +@invariant( + lambda self: + not (self.statements is not None) + or all( + item.ID_short is not None + for item in self.statements + ), + "ID-shorts need to be defined for all the items of statements according to " + "AASd-117 (ID-short of non-identifiable Referables not being a direct child of " + "a Submodel element list shall be specified)." +) +@invariant( + lambda self: + not (self.statements is not None) + or len(self.statements) >= 1, + "Statements must be either not set or have at least one item." +) +# fmt: on +class Entity(Submodel_element): + """ + An entity is a submodel element that is used to model entities. + + :constraint AASd-014: + + Either the attribute :attr:`global_asset_ID` or :attr:`specific_asset_IDs` + of an :class:`Entity` must be set if Entity/entityType is set to :attr:`Entity_type.Self_managed_entity`. + """ + + statements: Optional[List["Submodel_element"]] + """ + Statement applicable to the entity, each statement described by a + :class:`Submodel_element` - typically with a qualified value. + """ + + entity_type: Optional["Entity_type"] + """ + Describes whether the entity is a co-managed entity or a self-managed entity. + """ + + global_asset_ID: Optional["Identifier"] + """ + Global identifier of the asset the entity is representing. + """ + + specific_asset_IDs: Optional[List["Specific_asset_ID"]] + """ + Reference to a specific asset ID representing a supplementary identifier + of the asset represented by the Asset Administration Shell. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + statements: Optional[List["Submodel_element"]] = None, + entity_type: Optional["Entity_type"] = None, + global_asset_ID: Optional["Identifier"] = None, + specific_asset_IDs: Optional[List["Specific_asset_ID"]] = None, + ) -> None: + Submodel_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.statements = statements + self.entity_type = entity_type + self.global_asset_ID = global_asset_ID + self.specific_asset_IDs = specific_asset_IDs + + +class Entity_type(Enum): + """ + Enumeration for denoting whether an entity is a self-managed entity or a co-managed + entity. + """ + + Co_managed_entity = "CoManagedEntity" + """ + There is no separate Asset Administration Shell for co-managed entities. + Co-managed entities need to be part of a self-managed entity. + """ + + Self_managed_entity = "SelfManagedEntity" + """ + Self-managed entities have their own Asset Administration Shell but can be part + of another composite self-managed entity. + + The asset represented by an Asset Administration Shell is a self-managed entity + per definition. + """ + + +class Direction(Enum): + """ + Direction + + .. note:: + + This element is experimental and therefore may be subject to change or may be + removed completely in future versions of the meta-model. + """ + + Input = "input" + """ + Input direction + """ + + Output = "output" + """ + Output direction + """ + + +class State_of_event(Enum): + """ + State of an event + + .. note:: + + This element is experimental and therefore may be subject to change or may be + removed completely in future versions of the meta-model. + """ + + On = "on" + """ + Event is on + """ + + Off = "off" + """ + Event is off + """ + + +# fmt: off +@invariant( + lambda self: + is_model_reference_to_referable(self.observable_reference), + "Observable reference must be a model reference to a referable." +) +@invariant( + lambda self: + ( + is_model_reference_to(self.source, Key_types.Event_element) + or is_model_reference_to(self.source, Key_types.Basic_event_element) + ), + "Source must be a model reference to an Event element." +) +# fmt: on +class Event_payload(DBC): + """ + Defines the necessary information of an event instance sent out or received. + + .. note:: + + This element is experimental and therefore may be subject to change or may be + removed completely in future versions of the meta-model. + """ + + source: "Reference" + """ + Reference to the source event element. + """ + + source_semantic_ID: Optional["Reference"] + """ + :attr:`Has_semantics.semantic_ID` of the source event element, if available + + .. note:: + + It is recommended to use an external reference. + """ + + observable_reference: "Reference" + """ + Reference to the referable, which defines the scope of the event. + """ + + observable_semantic_ID: Optional["Reference"] + """ + :attr:`Has_semantics.semantic_ID` of the referable which defines the scope of + the event, if available. + + .. note:: + + It is recommended to use an external reference. + """ + + topic: Optional["Message_topic_type"] + """ + Information for the outer message infrastructure to schedule the event for + the respective communication channel. + """ + + subject_ID: Optional["Reference"] + """ + Subject, who/which initiated the creation. + + .. note:: + + This is an external reference. + """ + + time_stamp: "Date_time_UTC" + """ + Timestamp in UTC, when this event was triggered. + """ + + payload: Optional["Blob_type"] + """ + Event-specific payload. + """ + + def __init__( + self, + source: "Reference", + observable_reference: "Reference", + time_stamp: "Date_time_UTC", + source_semantic_ID: Optional["Reference"] = None, + observable_semantic_ID: Optional["Reference"] = None, + topic: Optional["Message_topic_type"] = None, + subject_ID: Optional["Reference"] = None, + payload: Optional["Blob_type"] = None, + ) -> None: + self.source = source + self.observable_reference = observable_reference + self.time_stamp = time_stamp + self.source_semantic_ID = source_semantic_ID + self.observable_semantic_ID = observable_semantic_ID + self.topic = topic + self.subject_ID = subject_ID + self.payload = payload + + +@abstract +class Event_element(Submodel_element): + """ + An event element. + + .. note:: + + This element is experimental and therefore may be subject to change or may be + removed completely in future versions of the meta-model. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List[Qualifier]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Submodel_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + +# fmt: off +@invariant( + lambda self: + not (self.message_broker is not None) + or is_model_reference_to_referable(self.message_broker), + "Message broker must be a model reference to a referable." +) +@invariant( + lambda self: + is_model_reference_to_referable(self.observed), + "Observed must be a model reference to a referable." +) +@invariant( + lambda self: + not (self.direction == Direction.Input) + or self.max_interval is None, + "Max. interval is not applicable for input direction." +) +# fmt: on +class Basic_event_element(Event_element): + """ + A basic event element. + + .. note:: + + This element is experimental and therefore may be subject to change or may be + removed completely in future versions of the meta-model. + """ + + observed: "Reference" + """ + Reference to a referable, e.g., a data element or + a submodel, that is being observed. + """ + + direction: "Direction" + """ + Direction of event. + + Can be ``{ Input, Output }``. + """ + + state: "State_of_event" + """ + State of event. + + Can be ``{ On, Off }``. + """ + + message_topic: Optional["Message_topic_type"] + """ + Information for the outer message infrastructure to schedule the event for the + respective communication channel. + """ + + message_broker: Optional["Reference"] + """ + Information about which outer message infrastructure shall handle messages for + the :class:`Event_element`. Refers to a :class:`Submodel`, + :class:`Submodel_element_list`, :class:`Submodel_element_collection` or + :class:`Entity`, which contains :class:`Data_element`'s describing + the proprietary specification for the message broker. + + .. note:: + + This proprietary specification could be standardized by using respective + :class:`Submodel`'s for different message infrastructure, e.g., OPC UA, + MQTT or AMQP. + """ + + last_update: Optional["Date_time_UTC"] + """ + Timestamp in UTC, when the last event was received (input direction) or sent + (output direction). + """ + + min_interval: Optional["Duration"] + """ + For input direction reports on the maximum frequency, the software entity behind + the respective :class:`Referable` can handle input events. + + For output events, the maximum frequency of outputting this event to an outer + infrastructure is specified. + + Might be not specified, i.e. if there is no minimum interval. + """ + + max_interval: Optional["Duration"] + """ + Not applicable for input direction. + + For output direction: maximum interval in time, the respective :class:`Referable` + shall send an update of the status of the event, even if no other trigger + condition for the event was not met. + + Might not be specified, i.e. if there is no maximum interval. + """ + + def __init__( + self, + observed: "Reference", + direction: "Direction", + state: "State_of_event", + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List[Qualifier]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + message_topic: Optional["Message_topic_type"] = None, + message_broker: Optional["Reference"] = None, + last_update: Optional["Date_time_UTC"] = None, + min_interval: Optional["Duration"] = None, + max_interval: Optional["Duration"] = None, + ) -> None: + Event_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.observed = observed + self.direction = direction + self.state = state + self.message_topic = message_topic + self.message_broker = message_broker + self.last_update = last_update + self.min_interval = min_interval + self.max_interval = max_interval + + +# fmt: off +@invariant( + lambda self: + not (self.inoutput_variables is not None) + or len(self.inoutput_variables) >= 1, + "Inoutput variables must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.output_variables is not None) + or len(self.output_variables) >= 1, + "Output variables must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.input_variables is not None) + or len(self.input_variables) >= 1, + "Input variables must be either not set or have at least one item." +) +@invariant( + lambda self: + ID_shorts_of_variables_are_unique( + self.input_variables, + self.output_variables, + self.inoutput_variables + ), + "Constraint AASd-134: For an Operation the ID-short of all values of " + "input, output and in/output variables shall be unique." +) +@invariant( + lambda self: + submodel_element_lists_in_operation_variables_have_exactly_one_element( + self.input_variables, + self.output_variables, + self.inoutput_variables, + ), + "Constraint AASd-138: A submodel element list within a submodel of kind Template " + "or as part of an operation variable shall have exactly one element." +) +# fmt: on +class Operation(Submodel_element): + """ + An operation is a submodel element with input and output variables. + + :constraint AASd-134: + For an :class:`Operation` the :attr:`Referable.ID_short` of all + :attr:`Operation_variable.value`'s in + :attr:`input_variables`, :attr:`output_variables` + and :attr:`inoutput_variables` shall be unique. + """ + + input_variables: Optional[List["Operation_variable"]] + """ + Input parameter of the operation. + """ + + output_variables: Optional[List["Operation_variable"]] + """ + Output parameter of the operation. + """ + + inoutput_variables: Optional[List["Operation_variable"]] + """ + Parameter that is input and output of the operation. + + .. note:: + + In embedded systems inoutput variables are variables that can be read but + that are also written by the system. Typically, this is implemented via a + pointer (i.e. 'by reference' instead of 'by value'). + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + input_variables: Optional[List["Operation_variable"]] = None, + output_variables: Optional[List["Operation_variable"]] = None, + inoutput_variables: Optional[List["Operation_variable"]] = None, + ) -> None: + Submodel_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.input_variables = input_variables + self.output_variables = output_variables + self.inoutput_variables = inoutput_variables + + +# fmt: off +@invariant( + lambda self: + self.value.ID_short is not None, + "Value must have the ID-short specified according to Constraint AASd-117 " + "(ID-short of non-identifiable Referables not being a direct child of a Submodel " + "element list shall be specified)." +) +# fmt: on +class Operation_variable(DBC): + """ + The value of an operation variable is a submodel element that is used as input + and/or output variable of an operation. + + Specification of operations in a :class:`Submodel` with + :attr:`Has_kind.kind` = :attr:`Modelling_kind.Instance` are handled + identical to operations in Submodel templates (:class:`Submodel` with + :attr:`Has_kind.kind` = :attr:`Modelling_kind.Template`). + + .. note:: + + An operation can be invoked via an API call (``InvokeOperationSync`` + and ``InvokeOperationAsync``). For further explanation see Part 2 + (IDTA-01002). + + .. note:: + + :class:`Operation_variable` is introduced as a separate class to + enable future extensions, *e.g.* for adding a default value or + cardinality (optional/mandatory). + """ + + value: "Submodel_element" + """ + Describes an argument or result of an operation via a submodel element + """ + + def __init__(self, value: "Submodel_element") -> None: + self.value = value + + +class Capability(Submodel_element): + """ + A capability is the implementation-independent description of the potential of an + asset to achieve a certain effect in the physical or virtual world. + + .. note:: + + The :attr:`semantic_ID` of a capability is typically an ontology, which + enables reasoning on capabilities. The mapping to one or more skills + implementing the capability is done via a relationship element with the + corresponding semantics. A skill is typically a property or an operation. + In more complex cases, the mapping can also be a collection or a complete + submodel. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Submodel_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + +@verification +def data_specification_IEC_61360s_for_property_or_value_have_appropriate_data_type( + embedded_data_specifications: Sequence["Embedded_data_specification"], +) -> bool: + """ + Check that the :attr:`Data_specification_IEC_61360.data_type` is defined + appropriately for all data specifications whose content is given as IEC 61360. + """ + return all( + not ( + isinstance( + data_specification.data_specification_content, + Data_specification_IEC_61360, + ) + ) + or ( + data_specification.data_specification_content.data_type is not None + and ( + data_specification.data_specification_content.data_type + in Data_type_IEC_61360_for_property_or_value + ) + ) + for data_specification in embedded_data_specifications + ) + + +@verification +def data_specification_IEC_61360s_for_reference_have_appropriate_data_type( + embedded_data_specifications: Sequence["Embedded_data_specification"], +) -> bool: + """ + Check that the :attr:`Data_specification_IEC_61360.data_type` is defined + appropriately for all data specifications whose content is given as IEC 61360. + """ + return all( + not ( + isinstance( + data_specification.data_specification_content, + Data_specification_IEC_61360, + ) + ) + or ( + data_specification.data_specification_content.data_type is not None + and ( + data_specification.data_specification_content.data_type + in Data_type_IEC_61360_for_reference + ) + ) + for data_specification in embedded_data_specifications + ) + + +@verification +def data_specification_IEC_61360s_for_document_have_appropriate_data_type( + embedded_data_specifications: Sequence["Embedded_data_specification"], +) -> bool: + """ + Check that the :attr:`Data_specification_IEC_61360.data_type` is defined + appropriately for all data specifications whose content is given as IEC 61360. + """ + return all( + not ( + isinstance( + data_specification.data_specification_content, + Data_specification_IEC_61360, + ) + ) + or ( + data_specification.data_specification_content.data_type is not None + and ( + data_specification.data_specification_content.data_type + in Data_type_IEC_61360_for_document + ) + ) + for data_specification in embedded_data_specifications + ) + + +@verification +def data_specification_IEC_61360s_have_data_type( + embedded_data_specifications: Sequence["Embedded_data_specification"], +) -> bool: + """ + Check that the :attr:`Data_specification_IEC_61360.data_type` is defined for all + data specifications whose content is given as IEC 61360. + """ + return all( + not ( + isinstance( + data_specification.data_specification_content, + Data_specification_IEC_61360, + ) + ) + or (data_specification.data_specification_content.data_type is not None) + for data_specification in embedded_data_specifications + ) + + +@verification +def data_specification_IEC_61360s_have_value( + embedded_data_specifications: Sequence["Embedded_data_specification"], +) -> bool: + """ + Check that the :attr:`Data_specification_IEC_61360.value` is defined + for all data specifications whose content is given as IEC 61360. + """ + return all( + not ( + isinstance( + data_specification.data_specification_content, + Data_specification_IEC_61360, + ) + ) + or (data_specification.data_specification_content.value is not None) + for data_specification in embedded_data_specifications + ) + + +@verification +def data_specification_IEC_61360s_have_definition_at_least_in_english( + embedded_data_specifications: Sequence["Embedded_data_specification"], +) -> bool: + """ + Check that the :attr:`Data_specification_IEC_61360.definition` is defined + for all data specifications whose content is given as IEC 61360 at least in English. + """ + for data_specification in embedded_data_specifications: + content = data_specification.data_specification_content + if not isinstance(content, Data_specification_IEC_61360): + continue + + definition = content.definition + if definition is None: + return False + + if not any( + is_BCP_47_for_english(lang_string.language) for lang_string in definition + ): + return False + + return True + + +# fmt: off +@invariant( + lambda self: + not ( + self.category is not None + and (self.category == "PROPERTY" or self.category == "VALUE") + and self.embedded_data_specifications is not None + ) or ( + data_specification_IEC_61360s_for_property_or_value_have_appropriate_data_type( + self.embedded_data_specifications) + ), + "Constraint AASc-3a-004: For a concept description with category PROPERTY or VALUE " + "using data specification IEC 61360, the data type of the data specification is " + "mandatory and shall be one of: DATE, STRING, STRING_TRANSLATABLE, " + "INTEGER_MEASURE, INTEGER_COUNT, INTEGER_CURRENCY, REAL_MEASURE, REAL_COUNT, " + "REAL_CURRENCY, BOOLEAN, RATIONAL, RATIONAL_MEASURE, TIME, TIMESTAMP." +) +@invariant( + lambda self: + not ( + self.category is not None + and (self.category == "REFERENCE") + and self.embedded_data_specifications is not None + ) or ( + data_specification_IEC_61360s_for_reference_have_appropriate_data_type( + self.embedded_data_specifications) + ), + "Constraint AASc-3a-005: For a concept description with category REFERENCE " + "using data specification IEC 61360, the data type of the data specification " + "shall be one of: STRING, IRI, IRDI." +) +@invariant( + lambda self: + not ( + self.category is not None + and (self.category == "DOCUMENT") + and self.embedded_data_specifications is not None + ) or ( + data_specification_IEC_61360s_for_document_have_appropriate_data_type( + self.embedded_data_specifications + ) + ), + "Constraint AASc-3a-006: For a concept description with category DOCUMENT " + "using data specification IEC 61360, the data type of the data specification " + "shall be one of: FILE, BLOB, HTML." +) +@invariant( + lambda self: + not ( + self.category is not None + and (self.category == "QUALIFIER_TYPE") + and self.embedded_data_specifications is not None + ) or ( + data_specification_IEC_61360s_have_data_type(self.embedded_data_specifications) + ), + "Constraint AASc-3a-007: For a concept description with category QUALIFIER_TYPE " + "using data specification IEC 61360, the data type of the data specification is " + "mandatory and shall be defined." +) +@invariant( + lambda self: + not ( + self.embedded_data_specifications is not None + ) or ( + ( + data_specification_IEC_61360s_have_definition_at_least_in_english( + self.embedded_data_specifications + ) + ) or ( + data_specification_IEC_61360s_have_value(self.embedded_data_specifications) + ) + ), + "Constraint AASc-3a-008: For a concept description " + "using data specification template IEC 61360, the definition " + "is mandatory and shall be defined at least in English. " + "Exception: The concept description describes a value." +) +@invariant( + lambda self: + not (self.is_case_of is not None) + or len(self.is_case_of) >= 1, + "Is-case-of must be either not set or have at least one item." +) +# fmt: on +class Concept_description(Identifiable, Has_data_specification): + """ + The semantics of a property or other elements that may have a semantic description + is defined by a concept description. + + The description of the concept should follow a standardized schema (realized as + data specification template). + + :constraint AASc-3a-004: + + For a :class:`Concept_description` with :attr:`category` ``PROPERTY`` or + ``VALUE`` using data specification IEC61360, + the :attr:`Data_specification_IEC_61360.data_type` is mandatory and shall be + one of: ``DATE``, ``STRING``, ``STRING_TRANSLATABLE``, ``INTEGER_MEASURE``, + ``INTEGER_COUNT``, ``INTEGER_CURRENCY``, ``REAL_MEASURE``, ``REAL_COUNT``, + ``REAL_CURRENCY``, ``BOOLEAN``, ``RATIONAL``, ``RATIONAL_MEASURE``, + ``TIME``, ``TIMESTAMP``. + + .. note:: + + Note: categories are deprecated since V3.0 of Part 1a of the document series + "Details of the Asset Administration Shell". + + :constraint AASc-3a-005: + For a :class:`Concept_description` with :attr:`category` ``REFERENCE`` + using data specification template IEC61360, + the :attr:`Data_specification_IEC_61360.data_type` shall be + one of: ``STRING``, ``IRI``, ``IRDI``. + + .. note:: + + Note: categories are deprecated since V3.0 of Part 1a of the document series + "Details of the Asset Administration Shell". + + :constraint AASc-3a-006: + For a :class:`Concept_description` with :attr:`category` ``DOCUMENT`` + using data specification IEC61360, + the :attr:`Data_specification_IEC_61360.data_type` shall be one of ``FILE``, + ``BLOB``, ``HTML`` + + .. note:: + + Categories are deprecated since V3.0 of Part 1a of the document series + "Details of the Asset Administration Shell". + + :constraint AASc-3a-007: + For a :class:`Concept_description` with :attr:`category` ``QUALIFIER_TYPE`` + using data specification IEC61360, + the :attr:`Data_specification_IEC_61360.data_type` is mandatory and shall be + defined. + + .. note:: + + Categories are deprecated since V3.0 of Part 1a of the document series + "Details of the Asset Administration Shell". + + :constraint AASc-3a-008: + For a :class:`Concept_description` using data specification template IEC61360, + :attr:`Data_specification_IEC_61360.definition` is mandatory and shall be + defined at least in English. + + Exception: The concept description describes a value, i.e. + :attr:`Data_specification_IEC_61360.value` is defined. + + :constraint AASc-3a-003: + For a :class:`Concept_description` using data specification template IEC61360, + referenced via :attr:`Data_specification_IEC_61360.value_list` + :attr:`Value_reference_pair.value_ID` + the :attr:`Data_specification_IEC_61360.value` shall be set. + """ + + is_case_of: Optional[List["Reference"]] + """ + Reference to an external definition the concept is compatible to or was derived + from. + + .. note:: + + Compare with is-case-of relationship in ISO 13584-32 & IEC EN 61360 + """ + + def __init__( + self, + ID: Identifier, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + administration: Optional["Administrative_information"] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + is_case_of: Optional[List["Reference"]] = None, + ) -> None: + Identifiable.__init__( + self, + ID=ID, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + administration=administration, + ) + + Has_data_specification.__init__( + self, embedded_data_specifications=embedded_data_specifications + ) + + self.is_case_of = is_case_of + + +class Reference_types(Enum): + """ + Enumeration for denoting whether an element is an external or model reference. + """ + + External_reference = "ExternalReference" + """ + External reference. + """ + + Model_reference = "ModelReference" + """ + Model reference. + """ + + +# fmt: off +@invariant( + lambda self: + not ( + self.type == Reference_types.Model_reference + and len(self.keys) > 2 + ) or ( + all( + not (self.keys[i].type == Key_types.Submodel_element_list) + or matches_xs_non_negative_integer(self.keys[i + 1].value) + for i in range(0, len(self.keys) - 1) + ) + ), + "Constraint AASd-128: For model references, the value of a key preceded by a key " + "with type Submodel element list is an integer number denoting the position in " + "the array of the submodel element list." +) +# NOTE (mristin): +# We can write AASd-127 in this simpler form assuming that AASd-126 ensures that +# only the last key can be a fragment reference. +@invariant( + lambda self: + not ( + self.type == Reference_types.Model_reference + and len(self.keys) > 1 + and self.keys[-1].type == Key_types.Fragment_reference + ) or ( + self.keys[-2].type == Key_types.File + or self.keys[-2].type == Key_types.Blob + ), + "Constraint AASd-127: For model references, with more than one key " + "in keys a key with type Fragment Reference shall be preceded " + "by a key with type File or Blob." +) +@invariant( + lambda self: + not ( + self.type == Reference_types.Model_reference + and len(self.keys) > 1 + ) + or ( + all( + not (self.keys[i].type in Generic_fragment_keys) + for i in range(0, len(self.keys) - 1) + ) + ), + "Constraint AASd-126: For model references with more than one key " + "in keys the value of type of the last key " + "in the reference key chain may be one of Generic Fragment Keys or " + "no key at all shall have a value out of Generic Fragment Keys." +) +@invariant( + lambda self: + not (self.type == Reference_types.Model_reference and len(self.keys) > 1) + or ( + all( + self.keys[i].type in Fragment_keys + for i in range(1, len(self.keys)) + ) + ), + "Constraint AASd-125: For model references with more than one key in keys " + "the value of type of each of the keys following the first key " + "of keys shall be one of Fragment Keys." +) +@invariant( + lambda self: + not ( + self.type == Reference_types.External_reference + and len(self.keys) >= 1 + ) + or ( + self.keys[-1].type in Generic_globally_identifiables + or self.keys[-1].type in Generic_fragment_keys + ), + "Constraint AASd-124: For external references the last key of keys " + "shall be either one of Generic Globally Identifiables or " + "one of Generic Fragment Keys." +) +@invariant( + lambda self: + not (self.type == Reference_types.External_reference) + or ( + all( + not (key.type in AAS_referables) + for key in self.keys + ) + ), + "Constraint AASd-137: For external references, i.e. References with " + "Reference/type = ExternalReference, the value of Key/type of any key in " + "Reference/keys shall not be one of AAS referables." +) +@invariant( + lambda self: + not ( + self.type == Reference_types.Model_reference + and len(self.keys) >= 1 + ) + or self.keys[0].type in AAS_identifiables, + "Constraint AASd-123: For model references the value of type of the first key " + "of keys shall be one of AAS identifiables." +) +@invariant( + lambda self: + not ( + self.type == Reference_types.External_reference + and len(self.keys) >= 1 + ) + or self.keys[0].type in Generic_globally_identifiables, + "Constraint AASd-122: For external references the value of type " + "of the first key of keys shall be one of Generic Globally Identifiables." +) +@invariant( + lambda self: + not (len(self.keys) >= 1) + or self.keys[0].type in Globally_identifiables, + "Constraint AASd-121: For References the value of type of the first key of " + "keys shall be one of Globally Identifiables." +) +@invariant( + lambda self: len(self.keys) >= 1, + "Keys must contain at least one item." +) +# fmt: on +class Reference(DBC): + """ + Reference to either a model element of the same or another Asset Administration + Shell or to an external entity. + + A model reference is an ordered list of keys, each key referencing an element. The + complete list of keys may for example be concatenated to a path that gives + unique access to an element. + + An external reference is a reference to an external entity. + + :constraint AASd-121: + + For :class:`Reference`'s the value of :attr:`Key.type` of the first key of " + :attr:`keys` shall be one of :const:`Globally_identifiables`. + + :constraint AASd-122: + + For external references, i.e. :class:`Reference`'s with + :attr:`Reference.type` = :attr:`Reference_types.External_reference`, the value + of :attr:`Key.type` of the first key of :attr:`Reference.keys` shall be one of + :const:`Generic_globally_identifiables`. + + :constraint AASd-123: + + For model references, i.e. :class:`Reference`'s with + :attr:`Reference.type` = :attr:`Reference_types.Model_reference`, the value + of :attr:`Key.type` of the first key of :attr:`Reference.keys` shall be one of + :const:`AAS_identifiables`. + + :constraint AASd-124: + + For external references, i.e. :class:`Reference`'s with + :attr:`Reference.type` = :attr:`Reference_types.External_reference`, the last + key of :attr:`Reference.keys` shall be either one of + :const:`Generic_globally_identifiables` or one of + :const:`Generic_fragment_keys`. + + :constraint AASd-137: + + For external references, i.e. :class:`Reference`'s with + :attr:`Reference.type` = :attr:`Reference_types.External_reference`, + the value of :attr:`Key.type` of any key in :attr:`Reference.keys` + shall not be one of :const:`AAS_referables`. + + :constraint AASd-125: + + For model references, i.e. :class:`Reference`'s with + :attr:`Reference.type` = :attr:`Reference_types.Model_reference`, with more + than one key in :attr:`Reference.keys` the value of :attr:`Key.type` + of each of the keys following the first + key of :attr:`Reference.keys` shall be one of :const:`Fragment_keys`. + + .. note:: + + :constraintref:`AASd-125` ensures that the shortest path is used. + + :constraint AASd-126: + + For model references, i.e. :class:`Reference`'s with + :attr:`Reference.type` = :attr:`Reference_types.Model_reference`, with more + than one key in :attr:`Reference.keys` the value of :attr:`Key.type` + of the last key in the reference key chain may be + one of :const:`Generic_fragment_keys` or no key at all + shall have a value out of :const:`Generic_fragment_keys`. + + :constraint AASd-127: + + For model references, i.e. :class:`Reference`'s with + :attr:`Reference.type` = :attr:`Reference_types.Model_reference`, with more + than one key in :attr:`Reference.keys` a key with :attr:`Key.type` + :attr:`Key_types.Fragment_reference` shall be preceded by a key with + :attr:`Key.type` :attr:`Key_types.File` or :attr:`Key_types.Blob`. All other + AAS fragments, i.e. :attr:`Key.type` values + out of :const:`AAS_submodel_elements_as_keys`, do not support fragments. + + .. note:: + + Which kind of fragments are supported depends on the content type and the + specification of allowed fragment identifiers for the corresponding resource + being referenced via the reference. + + :constraint AASd-128: + + For model references, i.e. :class:`Reference`'s with + :attr:`Reference.type` = :attr:`Reference_types.Model_reference`, the + :attr:`Key.value` of a :class:`Key` preceded by a :class:`Key` with + :attr:`Key.type` = :attr:`Key_types.Submodel_element_list` is an integer + number denoting the position in the array of the submodel element list. + """ + + type: "Reference_types" + """ + Type of the reference. + + Denotes whether the reference is an external reference or a model reference. + """ + + referred_semantic_ID: Optional["Reference"] + """ + Expected :attr:`Has_semantics.semantic_ID` of the referenced model element + (:attr:`Reference.type` = :attr:`Reference_types.Model_reference`); there + typically is no semantic ID for the referenced object of external references + (:attr:`Reference.type` = :attr:`Reference_types.External_reference`). + + .. note:: + + If :attr:`referred_semantic_ID` is defined, the + :attr:`Has_semantics.semantic_ID` of the model element referenced should + have a matching semantic ID. If this is not the case, a validator should + raise a warning. + """ + + keys: List["Key"] + """ + Unique references in their name space. + """ + + def __init__( + self, + type: Reference_types, + keys: List["Key"], + referred_semantic_ID: Optional["Reference"] = None, + ) -> None: + self.type = type + self.keys = keys + self.referred_semantic_ID = referred_semantic_ID + + +class Key(DBC): + """A key is a reference to an element by its ID.""" + + type: "Key_types" + """ + Denotes which kind of entity is referenced. + + If :attr:`type` = :attr:`Key_types.Global_reference`, + the key represents a reference to a source that can be globally identified. + + If :attr:`type` = :attr:`Key_types.Fragment_reference` the key represents + a bookmark or a similar local identifier within its parent element as specified + by the key that precedes this key. + + In all other cases, the key references a model element of the same or another + Asset Administration Shell. + The name of the model element is explicitly listed. + """ + + value: "Identifier" + """ + The key value, for example an IRDI or a URI or the ID-short or any other + fragment value + """ + + def __init__(self, type: "Key_types", value: "Identifier") -> None: + self.type = type + self.value = value + + +class Key_types(Enum): + """Enumeration of different key value types within a key.""" + + Annotated_relationship_element = "AnnotatedRelationshipElement" + Asset_administration_shell = "AssetAdministrationShell" + Basic_event_element = "BasicEventElement" + Blob = "Blob" + Capability = "Capability" + Concept_description = "ConceptDescription" + + Data_element = "DataElement" + """ + Data element. + + .. note:: + + Data elements are abstract, *i.e.* if a key uses :attr:`Data_element` + the reference may be a property, file, etc. + """ + + Entity = "Entity" + Event_element = "EventElement" + """ + Event. + + .. note:: + + :class:`Event_element` is abstract. + """ + + File = "File" + + Fragment_reference = "FragmentReference" + """ + Bookmark or a similar local identifier of a subordinate part of + a primary resource + """ + + Global_reference = "GlobalReference" + + Identifiable = "Identifiable" + """ + Identifiable. + + .. note:: + + Identifiable is abstract, i.e. if a key uses "Identifiable" the reference + may be an :class:`Asset_administration_shell`, a :class:`Submodel` or + a :class:`Concept_description`. + """ + + Multi_language_property = "MultiLanguageProperty" + """Property with a value that can be provided in multiple languages""" + + Operation = "Operation" + Property = "Property" + Range = "Range" + """Range with min and max""" + Referable = "Referable" + + Reference_element = "ReferenceElement" + """ + Reference + """ + + Relationship_element = "RelationshipElement" + """ + Relationship + """ + Submodel = "Submodel" + Submodel_element = "SubmodelElement" + """ + Submodel Element + + .. note:: + + Submodel Element is abstract, *i.e.* if a key uses :attr:`Submodel_element` + the reference may be a :class:`Property`, a :class:`Submodel_element_list`, + an :class:`Operation` etc. + """ + Submodel_element_collection = "SubmodelElementCollection" + """ + Struct of :class:`Submodel_element`'s + """ + + Submodel_element_list = "SubmodelElementList" + """ + List of :class:`Submodel_element`'s + """ + + +Generic_fragment_keys: Final[AbstractSet[Key_types]] = constant_set( + values=[ + Key_types.Fragment_reference, + ], + description="""\ +Enumeration of all identifiable elements within an asset administration shell.""", +) + +assert Key_types.Fragment_reference in Generic_fragment_keys, ( + "We assume that fragment reference is in the generic fragment keys so that " + "AASd-126 ensures that a key of type Fragment reference can only be the last key " + "in the reference. This is necessary for our simpler formulation of AASd-127." +) + +Generic_globally_identifiables: Final[AbstractSet[Key_types]] = constant_set( + values=[ + Key_types.Global_reference, + ], + description="Enumeration of different key value types within a key.", +) + +AAS_identifiables: Final[AbstractSet[Key_types]] = constant_set( + values=[ + Key_types.Asset_administration_shell, + Key_types.Concept_description, + Key_types.Identifiable, + Key_types.Submodel, + ], + description="Enumeration of different key value types within a key.", +) + +AAS_submodel_elements_as_keys: Final[AbstractSet[Key_types]] = constant_set( + values=[ + Key_types.Annotated_relationship_element, + Key_types.Basic_event_element, + Key_types.Blob, + Key_types.Capability, + Key_types.Data_element, + Key_types.Entity, + Key_types.Event_element, + Key_types.File, + Key_types.Multi_language_property, + Key_types.Operation, + Key_types.Property, + Key_types.Range, + Key_types.Reference_element, + Key_types.Relationship_element, + Key_types.Submodel_element, + Key_types.Submodel_element_collection, + Key_types.Submodel_element_list, + ], + description="""\ +Enumeration of all submodel elements within an asset administration shell.""", +) + +AAS_referable_non_identifiables: Final[AbstractSet[Key_types]] = constant_set( + values=[ + Key_types.Annotated_relationship_element, + Key_types.Basic_event_element, + Key_types.Blob, + Key_types.Capability, + Key_types.Data_element, + Key_types.Entity, + Key_types.Event_element, + Key_types.File, + Key_types.Multi_language_property, + Key_types.Operation, + Key_types.Property, + Key_types.Range, + Key_types.Reference_element, + Key_types.Relationship_element, + Key_types.Submodel_element, + Key_types.Submodel_element_collection, + Key_types.Submodel_element_list, + ], + description="Enumeration of different fragment key value types within a key.", + superset_of=[AAS_submodel_elements_as_keys], +) + +AAS_referables: Final[AbstractSet[Key_types]] = constant_set( + values=[ + Key_types.Asset_administration_shell, + Key_types.Concept_description, + Key_types.Identifiable, + Key_types.Submodel, + Key_types.Annotated_relationship_element, + Key_types.Basic_event_element, + Key_types.Blob, + Key_types.Capability, + Key_types.Data_element, + Key_types.Entity, + Key_types.Event_element, + Key_types.File, + Key_types.Multi_language_property, + Key_types.Operation, + Key_types.Property, + Key_types.Range, + Key_types.Reference_element, + Key_types.Referable, + Key_types.Relationship_element, + Key_types.Submodel_element, + Key_types.Submodel_element_collection, + Key_types.Submodel_element_list, + ], + description="Enumeration of referables. " + "We need this to check that model references refer to a Referable. " + "For example, the observed attribute of the " + "Basic Event Element object must be a model reference to a Referable.", + superset_of=[AAS_referable_non_identifiables, AAS_identifiables], +) + +Globally_identifiables: Final[AbstractSet[Key_types]] = constant_set( + values=[ + Key_types.Global_reference, + Key_types.Asset_administration_shell, + Key_types.Concept_description, + Key_types.Identifiable, + Key_types.Submodel, + ], + description="""\ +Enumeration of all referable elements within an asset administration shell""", + superset_of=[AAS_identifiables, Generic_globally_identifiables], +) + +Fragment_keys: Final[AbstractSet[Key_types]] = constant_set( + values=[ + Key_types.Annotated_relationship_element, + Key_types.Basic_event_element, + Key_types.Blob, + Key_types.Capability, + Key_types.Data_element, + Key_types.Entity, + Key_types.Event_element, + Key_types.File, + Key_types.Fragment_reference, + Key_types.Multi_language_property, + Key_types.Operation, + Key_types.Property, + Key_types.Range, + Key_types.Reference_element, + Key_types.Relationship_element, + Key_types.Submodel_element, + Key_types.Submodel_element_collection, + Key_types.Submodel_element_list, + ], + description="Enumeration of different key value types within a key.", + superset_of=[AAS_referable_non_identifiables, Generic_fragment_keys], +) + + +class Data_type_def_XSD(Enum): + """ + Enumeration listing selected XSD anySimpleTypes of XML Schema 1.0. + + See: https://www.w3.org/TR/xmlschema-2/#built-in-primitive-datatypes + + .. note:: + + RDF uses XML Schema Built-in data types from Version 1.1 but recommends + to use only a subset of XSD data types. That is why they are excluded + from the allowed data types in :class:`Data_type_def_XSD`. + + * XSD BuildIn List types are not supported (``ENTITIES``, ``IDREFS`` + and ``NMTOKENS``). + * XSD string BuildIn types are not supported (``normalizedString``, + ``token``, ``language``, ``NCName``, ``ENTITY``, ``ID``, ``IDREF``). + * The following XSD primitive types are not supported: ``NOTATION``, + ``QName``. + + .. note:: + + Additionally, the following RDF types are not supported in + :class:`Data_type_def_XSD`: ``HTML`` and ``XMLLiteral``. + + .. note:: + + Numeric data types in XML Schema are based on the definitions of + IEEE 754 with slight adoptions. For instance, :attr:`Float` and + :attr:`Double` use different exponent ranges. In any case, solely + the XML Schema data type definitions are applicable for AAS values. + """ + + Any_URI = "xs:anyURI" + Base_64_binary = "xs:base64Binary" + Boolean = "xs:boolean" + Byte = "xs:byte" + Date = "xs:date" + Date_time = "xs:dateTime" + Decimal = "xs:decimal" + Double = "xs:double" + Duration = "xs:duration" + Float = "xs:float" + G_day = "xs:gDay" + G_month = "xs:gMonth" + G_month_day = "xs:gMonthDay" + G_year = "xs:gYear" + G_year_month = "xs:gYearMonth" + Hex_binary = "xs:hexBinary" + Int = "xs:int" + Integer = "xs:integer" + Long = "xs:long" + Negative_integer = "xs:negativeInteger" + Non_negative_integer = "xs:nonNegativeInteger" + Non_positive_integer = "xs:nonPositiveInteger" + Positive_integer = "xs:positiveInteger" + Short = "xs:short" + String = "xs:string" + Time = "xs:time" + Unsigned_byte = "xs:unsignedByte" + Unsigned_int = "xs:unsignedInt" + Unsigned_long = "xs:unsignedLong" + Unsigned_short = "xs:unsignedShort" + + +@abstract +class Abstract_lang_string(DBC): + """Strings with language tags""" + + language: BCP_47_language_tag + """Language tag conforming to BCP 47""" + + text: Non_empty_XML_serializable_string + """Text in the :attr:`language`""" + + def __init__( + self, language: BCP_47_language_tag, text: Non_empty_XML_serializable_string + ) -> None: + self.language = language + self.text = text + + +@invariant( + lambda self: len(self.text) <= 128, + "String shall have a maximum length of 128 characters.", +) +class Lang_string_name_type(Abstract_lang_string, DBC): + """String with length 128 maximum and minimum 1 characters and with language tags""" + + def __init__( + self, language: BCP_47_language_tag, text: Non_empty_XML_serializable_string + ) -> None: + Abstract_lang_string.__init__(self, language=language, text=text) + + +@invariant( + lambda self: len(self.text) <= 1023, + "String shall have a maximum length of 1023 characters.", +) +class Lang_string_text_type(Abstract_lang_string, DBC): + """ + String with length 1023 maximum and minimum 1 characters and with language tags + """ + + def __init__( + self, language: BCP_47_language_tag, text: Non_empty_XML_serializable_string + ) -> None: + Abstract_lang_string.__init__(self, language=language, text=text) + + +# fmt: off +@invariant( + lambda self: + not (self.asset_administration_shells is not None) + or len(self.asset_administration_shells) >= 1, + "Asset administration shells must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.submodels is not None) + or len(self.submodels) >= 1, + "Submodels must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.concept_descriptions is not None) + or len(self.concept_descriptions) >= 1, + "Concept descriptions must be either not set or have at least one item." +) +# fmt: on +class Environment: + """ + Container for the sets of different identifiables. + + .. note:: + + Environment is not an identifiable or referable element. It is introduced + to enable file transfer as well as serialization. + """ + + asset_administration_shells: Optional[List[Asset_administration_shell]] + """ + Asset Administration Shell + """ + + submodels: Optional[List[Submodel]] + """ + Submodel + """ + + concept_descriptions: Optional[List[Concept_description]] + """ + Concept description + """ + + def __init__( + self, + asset_administration_shells: Optional[List[Asset_administration_shell]] = None, + submodels: Optional[List[Submodel]] = None, + concept_descriptions: Optional[List[Concept_description]] = None, + ) -> None: + self.asset_administration_shells = asset_administration_shells + self.submodels = submodels + self.concept_descriptions = concept_descriptions + + +# region Data specifications + + +@abstract +@serialization(with_model_type=True) +class Data_specification_content: + """ + Data specification content is part of a data specification template and defines + which additional attributes shall be added to the element instance that references + the data specification template and meta information about the template itself. + + :constraint AASc-3a-050: + If the :class:`Data_specification_IEC_61360` is used + for an element, the value of + :attr:`Has_data_specification.embedded_data_specifications` + shall contain the global reference to the IRI of the corresponding + data specification template + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0 + + """ + + +class Embedded_data_specification: + """Embed the content of a data specification.""" + + data_specification: Reference + """Reference to the data specification""" + + data_specification_content: Data_specification_content + """Actual content of the data specification""" + + def __init__( + self, + data_specification: Reference, + data_specification_content: Data_specification_content, + ) -> None: + self.data_specification = data_specification + self.data_specification_content = data_specification_content + + +class Data_type_IEC_61360(Enum): + Date = "DATE" + """ + values containing a calendar date, conformant to ISO 8601:2004 Format yyyy-mm-dd + Example from IEC 61360-1:2017: "1999-05-31" is the [DATE] representation of: + "31 May 1999". + """ + + String = "STRING" + """ + values consisting of sequence of characters but cannot be translated into other + languages + """ + + String_translatable = "STRING_TRANSLATABLE" + """ + values containing string but shall be represented as different string in different + languages + """ + + Integer_measure = "INTEGER_MEASURE" + """ + values containing values that are measure of type INTEGER. In addition such a value + comes with a physical unit. + """ + + Integer_count = "INTEGER_COUNT" + """ + values containing values of type INTEGER but are no currencies or measures + """ + + Integer_currency = "INTEGER_CURRENCY" + """ + values containing values of type INTEGER that are currencies + """ + + Real_measure = "REAL_MEASURE" + """ + values containing values that are measures of type REAL. In addition such a value + comes with a physical unit. + """ + + Real_count = "REAL_COUNT" + """ + values containing numbers that can be written as a terminating or non-terminating + decimal; a rational or irrational number but are no currencies or measures + """ + + Real_currency = "REAL_CURRENCY" + """ + values containing values of type REAL that are currencies + """ + + Boolean = "BOOLEAN" + """ + values representing truth of logic or Boolean algebra (TRUE, FALSE) + """ + + IRI = "IRI" + """ + values containing values of type STRING conformant to Rfc 3987 + + .. note:: + + In IEC61360-1 (2017) only URI is supported. + An IRI type allows in particular to express an URL or an URI. + """ + + IRDI = "IRDI" + """ + values conforming to ISO/IEC 11179 series global identifier sequences + + IRDI can be used instead of the more specific data types ICID or ISO29002_IRDI. + + ICID values are value conformant to an IRDI, where the delimiter between RAI and ID + is “#” while the delimiter between DI and VI is confined to “##” + + ISO29002_IRDI values are values containing a global identifier that identifies an + administrated item in a registry. The structure of this identifier complies with + identifier syntax defined in ISO/TS 29002-5. The identifier shall fulfil the + requirements specified in ISO/TS 29002-5 for an "international registration data + identifier" (IRDI). + """ + + Rational = "RATIONAL" + """ + values containing values of type rational + """ + + Rational_measure = "RATIONAL_MEASURE" + """ + values containing values of type rational. In addition such a value comes with a + physical unit. + """ + + Time = "TIME" + """ + values containing a time, conformant to ISO 8601:2004 but restricted to what is + allowed in the corresponding type in xml. + + Format hh:mm (ECLASS) + + Example from IEC 61360-1:2017: "13:20:00-05:00" is the [TIME] representation of: + 1.20 p.m. for Eastern Standard Time, which is 5 hours behind Coordinated + Universal Time (UTC). + """ + + Timestamp = "TIMESTAMP" + """ + values containing a time, conformant to ISO 8601:2004 but restricted to what is + allowed in the corresponding type in xml. + + Format yyyy-mm-dd hh:mm (ECLASS) + """ + + File = "FILE" + """ + values containing an address to a file. The values are of type URI and can represent + an absolute or relative path. + + .. note:: + + IEC61360 does not support the file type. + """ + + HTML = "HTML" + """ + Values containing string with any sequence of characters, using the syntax of HTML5 + (see W3C Recommendation 28:2014) + """ + + Blob = "BLOB" + """ + values containing the content of a file. Values may be binaries. + + HTML conformant to HTML5 is a special blob. + + In IEC61360 binary is for a sequence of bits, each bit being represented by “0” and + “1” only. A binary is a blob but a blob may also contain other source code. + """ + + +Data_type_IEC_61360_for_property_or_value: Final[AbstractSet[Data_type_IEC_61360]] = ( + constant_set( + values=[ + Data_type_IEC_61360.Date, + Data_type_IEC_61360.String, + Data_type_IEC_61360.String_translatable, + Data_type_IEC_61360.Integer_measure, + Data_type_IEC_61360.Integer_count, + Data_type_IEC_61360.Integer_currency, + Data_type_IEC_61360.Real_measure, + Data_type_IEC_61360.Real_count, + Data_type_IEC_61360.Real_currency, + Data_type_IEC_61360.Boolean, + Data_type_IEC_61360.Rational, + Data_type_IEC_61360.Rational_measure, + Data_type_IEC_61360.Time, + Data_type_IEC_61360.Timestamp, + ], + description=( + "IEC 61360 data types for concept descriptions categorized " + "with PROPERTY or VALUE." + ), + ) +) + +Data_type_IEC_61360_for_reference: Final[AbstractSet[Data_type_IEC_61360]] = ( + constant_set( + values=[ + Data_type_IEC_61360.String, + Data_type_IEC_61360.IRI, + Data_type_IEC_61360.IRDI, + ], + description=( + "IEC 61360 data types for concept descriptions categorized " + "with REFERENCE." + ), + ) +) + +Data_type_IEC_61360_for_document: Final[AbstractSet[Data_type_IEC_61360]] = ( + constant_set( + values=[ + Data_type_IEC_61360.File, + Data_type_IEC_61360.Blob, + Data_type_IEC_61360.HTML, + ], + description=( + "IEC 61360 data types for concept descriptions categorized " + "with DOCUMENT." + ), + ) +) + + +class Level_type(DBC): + """ + Value represented by up to four variants of a numeric value in a specific role: + ``MIN``, ``NOM``, ``TYP`` and ``MAX``. True means that the value is available, + false means the value is not available. + + EXAMPLE from [IEC61360-1]: In the case of having a property which is + of the LEVEL_TYPE min/max − expressing a range − only those two values + need to be provided. + + .. note:: + + This is how AAS deals with the following combinations of level types: + + - Either all attributes are false. In this case the concept is mapped + to a :class:`Property` and level type is ignored. + - At most one of the attributes is set to true. In this case + the concept is mapped to a :class:`Property`. + - Min and max are set to true. In this case the concept is mapped + to a :class:`Range`. + - More than one attribute is set to true but not min and max only + (see second case). In this case the concept is mapped + to a :class:`Submodel_element_collection` with the corresponding + number of Properties. + Example: If attribute :attr:`min` and :attr:`nom` are set to true + then the concept is mapped to a :class:`Submodel_element_collection` + with two Properties within: min and nom. + The data type of both Properties is the same. + + .. note:: + + In the cases 2. and 4. the :attr:`Property.semantic_ID` of the Property + or Properties within the :class:`Submodel_element_collection` needs to include + information about the level type. Otherwise, the semantics is not described + in a unique way. Please refer to the specification. + + """ + + min: "bool" + """Minimum of the value""" + + nom: "bool" + """Nominal value (value as designated)""" + + typ: "bool" + """Value as typically present""" + + max: "bool" + """Maximum of the value""" + + def __init__( + self, + min: "bool", + nom: "bool", + typ: "bool", + max: "bool", + ) -> None: + self.min = min + self.nom = nom + self.typ = typ + self.max = max + + +class Value_reference_pair(DBC): + """ + A value reference pair within a value list. Each value has a global unique id + defining its semantic. + """ + + value: Value_type_IEC_61360 + """ + The value of the referenced concept definition of the value in :attr:`value_ID`. + """ + + value_ID: Optional["Reference"] + """ + Global unique id of the value. + + .. note:: + + It is recommended to use a global reference. + + """ + + def __init__( + self, + value: Value_type_IEC_61360, + value_ID: Optional["Reference"] = None, + ) -> None: + self.value = value + self.value_ID = value_ID + + +# fmt: off +@invariant( + lambda self: + len(self.value_reference_pairs) >= 1, + "Value reference pair types must contain at least one item." +) +# fmt: on +class Value_list(DBC): + """ + A set of value reference pairs. + """ + + value_reference_pairs: List["Value_reference_pair"] + """ + A pair of a value together with its global unique id. + """ + + def __init__(self, value_reference_pairs: List["Value_reference_pair"]) -> None: + self.value_reference_pairs = value_reference_pairs + + +IEC_61360_data_types_with_unit: Final[AbstractSet[Data_type_IEC_61360]] = constant_set( + values=[ + Data_type_IEC_61360.Integer_measure, + Data_type_IEC_61360.Real_measure, + Data_type_IEC_61360.Rational_measure, + Data_type_IEC_61360.Integer_currency, + Data_type_IEC_61360.Real_currency, + ], + description="""\ +These data types imply that the unit is defined in the data specification.""", +) + + +@invariant( + lambda self: len(self.text) <= 255, + "String shall have a maximum length of 255 characters.", +) +class Lang_string_preferred_name_type_IEC_61360(Abstract_lang_string, DBC): + """ + String with length 255 maximum and minimum 1 characters and with language tags + + .. note:: + + It is advised to keep the length of the name limited to 35 characters. + + """ + + def __init__( + self, language: BCP_47_language_tag, text: Non_empty_XML_serializable_string + ) -> None: + Abstract_lang_string.__init__(self, language=language, text=text) + + +@invariant( + lambda self: len(self.text) <= 18, + "String shall have a maximum length of 18 characters.", +) +class Lang_string_short_name_type_IEC_61360(Abstract_lang_string, DBC): + """ + String with length 18 maximum and minimum 1 characters and with language tags + """ + + def __init__( + self, language: BCP_47_language_tag, text: Non_empty_XML_serializable_string + ) -> None: + Abstract_lang_string.__init__(self, language=language, text=text) + + +@invariant( + lambda self: len(self.text) <= 1023, + "String shall have a maximum length of 1023 characters.", +) +class Lang_string_definition_type_IEC_61360(Abstract_lang_string, DBC): + """ + String with length 1023 maximum and minimum 1 characters and with language tags + """ + + def __init__( + self, language: BCP_47_language_tag, text: Non_empty_XML_serializable_string + ) -> None: + Abstract_lang_string.__init__(self, language=language, text=text) + + +@invariant( + lambda self: len(self.text) <= 256, + "String shall have a maximum length of 256 characters.", +) +class Lang_string_uom(Abstract_lang_string, DBC): + """ + String with length 256 maximum and minimum 1 characters and with language tags. + """ + + def __init__( + self, language: BCP_47_language_tag, text: Non_empty_XML_serializable_string + ) -> None: + Abstract_lang_string.__init__(self, language=language, text=text) + + +@invariant( + lambda self: len(self.text) <= 2048, + "String shall have a maximum length of 2048 characters.", +) +class Definition_type_uom(Abstract_lang_string, DBC): + """ + String with length 2048 maximum and minimum 1 characters and with language tags. + """ + + def __init__( + self, language: BCP_47_language_tag, text: Non_empty_XML_serializable_string + ) -> None: + Abstract_lang_string.__init__(self, language=language, text=text) + + +@invariant( + lambda self: len(self) <= 256, + "String UoM shall have a maximum length of 256 characters.", +) +class String_uom(Non_empty_XML_serializable_string, DBC): + """ + String with a minimum length of 1 and a maximum length of 256 characters. + """ + + +@invariant( + lambda self: len(self) <= 2048, + "Identifier UoM shall have a maximum length of 2048 characters.", +) +class Identifier_uom(Non_empty_XML_serializable_string, DBC): + """ + Identifier with a minimum length of 1 and a maximum length of 2048 characters. + """ + + +@verification +def is_BCP_47_for_english(text: str) -> bool: + """Check that the :paramref:`text` corresponds to a BCP47 code for english.""" + pattern = f"^(en|EN)(-.*)?$" + + return match(pattern, text) is not None + + +@invariant( + lambda self: lang_strings_have_unique_languages(self.preferred_name), + "Preferred name must specify unique languages.", +) +@invariant( + lambda self: len(self.preferred_name) >= 1, + "Preferred name must have at least one item.", +) +@invariant( + lambda self: not (self.definition is not None) + or lang_strings_have_unique_languages(self.definition), + "Definition must specify unique languages.", +) +@invariant( + lambda self: not (self.definition is not None) or len(self.definition) >= 1, + "Definition must be either not set or have at least one item.", +) +@invariant( + lambda self: not (self.preferred_name_quantity is not None) + or lang_strings_have_unique_languages(self.preferred_name_quantity), + "Preferred name quantity must specify unique languages.", +) +@invariant( + lambda self: not (self.preferred_name_quantity is not None) + or len(self.preferred_name_quantity) >= 1, + "Preferred name quantity must be either not set or have at least one item.", +) +@serialization(with_model_type=True) +class Data_specification_uom(Data_specification_content): + """ + Content of data specification template for concept descriptions for Units of + Measurement. + """ + + preferred_name: List["Lang_string_uom"] + """ + Preferred name of the unit in different languages as defined by the + classification system. + """ + + symbol: "String_uom" + """ + Symbol of the unit. + """ + + specific_unit_ID: Optional["String_uom"] + """ + ID of the unit defined by the classification system. + + .. note:: + + This is relevant if the classification system references the unit differently + from the concept description ID. + """ + + definition: Optional[List["Definition_type_uom"]] + """ + Definition of the unit in different languages. + """ + + preferred_name_quantity: Optional[List["Lang_string_uom"]] + """ + Preferred name of the unit's quantity in different languages as defined by the + classification system. + + .. note:: + + :attr:`preferred_name_quantity` and :attr:`quantity_ID` must be consistent if + both attributes are set. + + .. note:: + + If the classification system lists multiple quantities for the unit, exactly + one of those quantities must be selected in accordance with the properties + purpose. + """ + + quantity_ID: Optional["Identifier_uom"] + """ + ID of the unit's quantity. + + .. note:: + + :attr:`preferred_name_quantity` and :attr:`quantity_ID` must be consistent if + both attributes are set. + """ + + classification_system: Optional["String_uom"] + """ + Name of the classification system used for the definition of units and quantities. + + .. note:: + + The most prominent classification systems should be denoted as follows: "ECLASS", + "IEC CDD", "UNECE Rec 20", "UNECE Rec 21", "BIPM", "OPC UA", "SAMM". + + This list is not exclusive. + """ + + classification_system_version: Optional["String_uom"] + """ + Version of the classification system used for the definition of units and + quantities. + + .. note:: + + The version shshould be denoted exactly as provided by the classification system. + """ + + def __init__( + self, + preferred_name: List["Lang_string_uom"], + symbol: "String_uom", + specific_unit_ID: Optional["String_uom"] = None, + definition: Optional[List["Definition_type_uom"]] = None, + preferred_name_quantity: Optional[List["Lang_string_uom"]] = None, + quantity_ID: Optional["Identifier_uom"] = None, + classification_system: Optional["String_uom"] = None, + classification_system_version: Optional["String_uom"] = None, + ) -> None: + self.preferred_name = preferred_name + self.symbol = symbol + self.specific_unit_ID = specific_unit_ID + self.definition = definition + self.preferred_name_quantity = preferred_name_quantity + self.quantity_ID = quantity_ID + self.classification_system = classification_system + self.classification_system_version = classification_system_version + + +# fmt: off +@invariant( + lambda self: + any( + is_BCP_47_for_english(lang_string.language) + for lang_string in self.preferred_name + ), + "Constraint AASc-002: preferred name shall be provided at least in English." +) +@invariant( + lambda self: + lang_strings_have_unique_languages(self.preferred_name), + "Preferred name must specify unique languages." +) +@invariant( + lambda self: + len(self.preferred_name) >= 1, + "Preferred name must have at least one item." +) +@invariant( + lambda self: + not (self.short_name is not None) + or lang_strings_have_unique_languages(self.short_name), + "Short name must specify unique languages." +) +@invariant( + lambda self: + not (self.short_name is not None) + or len(self.short_name) >= 1, + "Short name must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.definition is not None) + or lang_strings_have_unique_languages(self.definition), + "Definition must specify unique languages." +) +@invariant( + lambda self: + not (self.definition is not None) + or len(self.definition) >= 1, + "Definition must be either not set or have at least one item." +) +@invariant( + lambda self: + not ( + self.data_type is not None + and self.data_type in IEC_61360_data_types_with_unit + ) or ( + self.unit is not None or self.unit_ID is not None + ), + "Constraint AASc-3a-009: If data type is a an integer, real or rational with " + "a measure or currency, unit or unit ID shall be defined." +) +@invariant( + lambda self: + not ( + self.value is not None + and self.value_list is not None + ), + "Constraint AASc-3a-010: If value is not empty then value list shall be empty and " + "vice versa." +) +@serialization(with_model_type=True) +# fmt: on +class Data_specification_IEC_61360(Data_specification_content): + """ + Content of data specification template for concept descriptions for properties, + values and value lists conformant to IEC 61360. + + .. note:: + + IEC61360 requires also a globally unique identifier for a concept + description. This ID is not part of the data specification template. + Instead the :attr:`Concept_description.ID` as inherited via + :class:`Identifiable` is used. Same holds for administrative + information like the version and revision. + + .. note:: + + :attr:`Concept_description.ID_short` and :attr:`short_name` are very + similar. However, in this case the decision was to add + :attr:`short_name` explicitly to the data specification. Same holds for + :attr:`Concept_description.display_name` and + :attr:`preferred_name`. Same holds for + :attr:`Concept_description.description` and :attr:`definition`. + + :constraint AASc-3a-010: + If :attr:`value` is not empty then :attr:`value_list` shall be empty + and vice versa. + + .. note:: + + It is also possible that both :attr:`value` and :attr:`value_list` are + empty. This is the case for concept descriptions that define the semantics + of a property but do not have an enumeration (:attr:`value_list`) as + data type. + + .. note:: + + Although it is possible to define a :class:`Concept_description` for a + :attr:´value_list`, + it is not possible to reuse this :attr:`value_list`. + It is only possible to directly add a :attr:`value_list` as data type + to a specific semantic definition of a property. + + :constraint AASc-3a-009: + If :attr:`data_type` one of: + :attr:`Data_type_IEC_61360.Integer_measure`, + :attr:`Data_type_IEC_61360.Real_measure`, + :attr:`Data_type_IEC_61360.Rational_measure`, + :attr:`Data_type_IEC_61360.Integer_currency`, + :attr:`Data_type_IEC_61360.Real_currency`, then :attr:`unit` or + :attr:`unit_ID` shall be defined. + """ + + preferred_name: List["Lang_string_preferred_name_type_IEC_61360"] + """ + Preferred name + + .. note:: + + It is advised to keep the length of the name limited to 35 characters. + + :constraint AASc-3a-002: + :attr:`preferred_name` shall be provided at least in English. + """ + + short_name: Optional[List["Lang_string_short_name_type_IEC_61360"]] + """ + Short name + """ + + unit: Optional[Non_empty_XML_serializable_string] + """ + Unit + """ + + unit_ID: Optional["Reference"] + """ + Unique unit id + + :attr:`unit` and :attr:`unit_ID` need to be consistent if both attributes + are set + + .. note:: + + It is recommended to use an external reference ID. + + """ + + source_of_definition: Optional[Non_empty_XML_serializable_string] + """ + Source of definition + """ + + symbol: Optional[Non_empty_XML_serializable_string] + """ + Symbol + """ + + data_type: Optional["Data_type_IEC_61360"] + """ + Data Type + """ + + definition: Optional[List["Lang_string_definition_type_IEC_61360"]] + """ + Definition in different languages + """ + + value_format: Optional[Non_empty_XML_serializable_string] + """ + Value Format + + .. note:: + + The value format is based on ISO 13584-42 and IEC 61360-2. + + """ + + value_list: Optional["Value_list"] + """ + List of allowed values + """ + + value: Optional[Value_type_IEC_61360] + """ + Value + """ + + level_type: Optional["Level_type"] + """ + Set of levels. + """ + + def __init__( + self, + preferred_name: List["Lang_string_preferred_name_type_IEC_61360"], + short_name: Optional[List["Lang_string_short_name_type_IEC_61360"]] = None, + unit: Optional[Non_empty_XML_serializable_string] = None, + unit_ID: Optional["Reference"] = None, + source_of_definition: Optional[Non_empty_XML_serializable_string] = None, + symbol: Optional[Non_empty_XML_serializable_string] = None, + data_type: Optional["Data_type_IEC_61360"] = None, + definition: Optional[List["Lang_string_definition_type_IEC_61360"]] = None, + value_format: Optional[Non_empty_XML_serializable_string] = None, + value_list: Optional["Value_list"] = None, + value: Optional[Value_type_IEC_61360] = None, + level_type: Optional["Level_type"] = None, + ) -> None: + self.preferred_name = preferred_name + self.short_name = short_name + self.unit = unit + self.unit_ID = unit_ID + self.source_of_definition = source_of_definition + self.symbol = symbol + self.data_type = data_type + self.definition = definition + self.value_format = value_format + self.value_list = value_list + self.value = value + self.level_type = level_type + + +# region Part 2 + + +# region API Interfaces + + +class Serialization_format(Enum): + """ + Determines the format of serialization, for example JSON or XML. + + The values are media types conformant to RFC 2046 and registered as + described in RFC 6838 (IANA). + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces.html#SerializationFormat + """ + + JSON = "application/json" + """ + JSON serialization of the requested data object inside an AAS + Environment structure + """ + + XML = "application/xml" + """ + XML serialization of the requested data object inside an AAS Environment + structure. + """ + + AASX = "application/aasx+xml" + """AASX-Package (binary data) containing the requested data object""" + + +# endregion API Interfaces + + +# region Data Types For Payload + + +@abstract +# fmt: off +@invariant( + lambda self: + not (self.extensions is not None) + or extension_names_are_unique(self.extensions), + "The name of an extension needs to be unique." +) +@invariant( + lambda self: + not (self.extensions is not None) + or len(self.extensions) >= 1, + "Extensions must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.display_name is not None) + or lang_strings_have_unique_languages(self.display_name), + "Display name must specify unique languages." +) +@invariant( + lambda self: + not (self.display_name is not None) + or len(self.display_name) >= 1, + "Display name must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.description is not None) + or lang_strings_have_unique_languages(self.description), + "Description must specify unique languages." +) +@invariant( + lambda self: + not (self.description is not None) + or len(self.description) >= 1, + "Description must be either not set or have at least one item." +) +# fmt: on +class Descriptor(DBC): + """ + The self-describing information of a network resource. + + This class is not part of the metamodel. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#Descriptor + """ + + description: Optional[List["Lang_string_text_type"]] + """ + Description or comments on the element. + + The description can be provided in several languages. + """ + + display_name: Optional[List["Lang_string_name_type"]] + """Display name. Can be provided in several languages.""" + + extensions: Optional[List["Extension"]] + """ + An extension of the element. + + .. note:: + + Extensions are proprietary, i.e. they do not support global interoperability. + """ + + def __init__( + self, + description: Optional[List["Lang_string_text_type"]] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + extensions: Optional[List["Extension"]] = None, + ) -> None: + self.description = description + self.display_name = display_name + self.extensions = extensions + + +# fmt: off +@invariant( + lambda self: + not (self.submodel_descriptors is not None) + or len(self.submodel_descriptors) >= 1, + "Submodel descriptors must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.specific_asset_IDs is not None) + or len(self.specific_asset_IDs) >= 1, + "Specific asset IDs must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.endpoints is not None) + or len(self.endpoints) >= 1, + "Endpoints must be either not set or have at least one item." +) +# fmt: on +class Asset_administration_shell_descriptor(Descriptor): + """ + Descriptor of an Asset Administration Shell. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#AssetAdministrationShellDescriptor + """ + + ID: "Identifier" + """Globally unique identification of the Asset Administration Shell.""" + + administration: Optional["Administrative_information"] + """Administrative information of the Asset Administration Shell.""" + + asset_kind: Optional["Asset_kind"] + """ + Denotes whether the asset of the described Asset Administration Shell is of + kind :attr:`Asset_kind.Type`, :attr:`Asset_kind.Instance`, + :attr:`Asset_kind.Role`, or :attr:`Asset_kind.Not_applicable`. + """ + + asset_type: Optional["Identifier"] + """ + The type of the asset described by the Asset Administration Shell of this + descriptor. + + See :attr:`Asset_information.asset_type` for further information. + """ + + endpoints: Optional[List["Endpoint"]] + """ + Endpoint of the network resource. + + .. note:: + + The cardinality restriction for :attr:`endpoints` allows a provider to skip + the declaration of the location of an Asset Administration Shell and directly + point to the endpoints of the contained submodels through + :attr:`submodel_descriptors`' :attr:`Submodel_descriptor.endpoints`. + A client, therefore, might decide to skip the lookup on the Asset + Administration Shell. + Nevertheless, in case the information contained in the + :class:`Asset_administration_shell_descriptor` deviates from the + related :class:`Asset_administration_shell`, or attributes are missing, + the :class:`Asset_administration_shell` is always the source of truth. + """ + + global_asset_ID: Optional["Identifier"] + """Global reference to the asset the Asset Administration Shell is representing.""" + + ID_short: Optional["Name_type"] + """Short name of the Asset Administration Shell.""" + + specific_asset_IDs: Optional[List["Specific_asset_ID"]] + """Specific asset identifier.""" + + submodel_descriptors: Optional[List["Submodel_descriptor"]] + """Descriptor of a submodel of the Asset Administration Shell.""" + + def __init__( + self, + ID: "Identifier", + description: Optional[List["Lang_string_text_type"]] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + extensions: Optional[List["Extension"]] = None, + administration: Optional["Administrative_information"] = None, + asset_kind: Optional["Asset_kind"] = None, + asset_type: Optional["Identifier"] = None, + endpoints: Optional[List["Endpoint"]] = None, + global_asset_ID: Optional["Identifier"] = None, + ID_short: Optional["Name_type"] = None, + specific_asset_IDs: Optional[List["Specific_asset_ID"]] = None, + submodel_descriptors: Optional[List["Submodel_descriptor"]] = None, + ) -> None: + Descriptor.__init__( + self, + description=description, + display_name=display_name, + extensions=extensions, + ) + + self.ID = ID + self.administration = administration + self.asset_kind = asset_kind + self.asset_type = asset_type + self.endpoints = endpoints + self.global_asset_ID = global_asset_ID + self.ID_short = ID_short + self.specific_asset_IDs = specific_asset_IDs + self.submodel_descriptors = submodel_descriptors + + +# fmt: off +@invariant( + lambda self: len(self.endpoints) >= 1, + "Endpoints must contain at least one item.", +) +@invariant( + lambda self: + not (self.supplemental_semantic_IDs is not None) + or (self.semantic_ID is not None), + "If there are supplemental semantic IDs defined then there shall be also " + "a main semantic ID." +) +@invariant( + lambda self: + not (self.supplemental_semantic_IDs is not None) + or len(self.supplemental_semantic_IDs) >= 1, + "Supplemental semantic IDs must be either not set or have at least one item." +) +# fmt: on +class Submodel_descriptor(Descriptor): + """ + A descriptor of a submodel. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#SubmodelDescriptor + """ + + endpoints: List["Endpoint"] + """Endpoint of the network resource.""" + + ID: "Identifier" + """Globally unique identification of the Submodel.""" + + administration: Optional["Administrative_information"] + """Administrative information of the Submodel.""" + + ID_short: Optional["Name_type"] + """Short name of the Submodel.""" + + semantic_ID: Optional["Reference"] + """ + Identifier of the semantic definition of the Submodel. + """ + + supplemental_semantic_IDs: Optional[List["Reference"]] + """ + Identifier of a supplemental semantic definition of the element called supplemental + semantic ID of the element. + """ + + def __init__( + self, + endpoints: List["Endpoint"], + ID: "Identifier", + description: Optional[List["Lang_string_text_type"]] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + extensions: Optional[List["Extension"]] = None, + administration: Optional["Administrative_information"] = None, + ID_short: Optional["Name_type"] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + ) -> None: + Descriptor.__init__( + self, + description=description, + display_name=display_name, + extensions=extensions, + ) + + self.endpoints = endpoints + self.ID = ID + self.administration = administration + self.ID_short = ID_short + self.semantic_ID = semantic_ID + self.supplemental_semantic_IDs = supplemental_semantic_IDs + + +class Endpoint(DBC): + """ + The endpoint description of a network resource. + + This class is not part of the metamodel. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#Endpoint + """ + + protocol_information: "Protocol_information" + """Protocol information of the network resource endpoint.""" + + interface: "Name_type" + """Name of the offered interface at the endpoint.""" + + def __init__( + self, + protocol_information: "Protocol_information", + interface: "Name_type", + ) -> None: + self.protocol_information = protocol_information + self.interface = interface + + +# fmt: off +@invariant( + lambda self: + not (self.security_attributes is not None) + or len(self.security_attributes) >= 1, + "Security attributes must be either not set or have at least one item." +) +# fmt: on +class Protocol_information(DBC): + """ + The protocol information of a network resource endpoint. + + .. note:: + + The protocol information of a network resource endpoint is defined in + DIN SPEC 16593-2. After the release of DIN SPEC 16593-2, any required + updates will be made. This class is not part of the metamodel. + + The information in this class is a 1:1 copy from DIN SPEC 16593-2. Required + changes need to be made by the related DIN working group. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#ProtocolInformation + """ + + href: "Locator_type" + """The endpoint address as a URL.""" + + endpoint_protocol: Optional["Scheme_type"] + """ + Either scheme of :attr:`href` or scheme plus further information. + + The scheme denotes the highest level of doubtless transmission. + """ + + endpoint_protocol_version: Optional[List["Name_type"]] + """ + Each entry represents one supported version at this very endpoint, the entry shall + be formatted according to the regulations of the protocol specified in + the :attr:`href` + """ + + subprotocol: Optional["Short_ID_type"] + """ + Allows for referencing sub-protocols that may be used in the context of that + endpoint e.g. "OPC Basic SOAP" or UA Binary + """ + + subprotocol_body: Optional["Text_type"] + """ + If the sub-protocol field is present, a subprotocol body might be given to hold + extra information, e.g. node and namespace in an OPC UA server + """ + + subprotocol_body_encoding: Optional["Name_type"] + """ + If :attr:`subprotocol_body` is present, the encoding might be explicitly defined, + otherwise it shall default to subprotocols encoding scheme + """ + + security_attributes: Optional[List["Security_attribute_object"]] + """ + Array of :class:`Security_attribute_object`'s. Each attribute has + three properties: + + :attr:`~Security_attribute_object.type`: enum security type or standard: + + * ``NONE``; + * ``RFC_TLSA``, TLSA according to RFC 6698; or + * ``W3C_DID``, W3C DID document. + + :attr:`~Security_attribute_object.key`: security attribute key according to standard + definitions of the security type. + + :attr:`~Security_attribute_object.value`: security attribute value, *e.g.*, DANE + TLSA Resource Record. + + The :class:`Security_attribute_object`'s are treated as possible + alternatives (logical "or"). + """ + + def __init__( + self, + href: "Locator_type", + endpoint_protocol: Optional["Scheme_type"] = None, + endpoint_protocol_version: Optional[List["Name_type"]] = None, + subprotocol: Optional["Short_ID_type"] = None, + subprotocol_body: Optional["Text_type"] = None, + subprotocol_body_encoding: Optional["Name_type"] = None, + security_attributes: Optional[List["Security_attribute_object"]] = None, + ) -> None: + self.href = href + self.endpoint_protocol = endpoint_protocol + self.endpoint_protocol_version = endpoint_protocol_version + self.subprotocol = subprotocol + self.subprotocol_body = subprotocol_body + self.subprotocol_body_encoding = subprotocol_body_encoding + self.security_attributes = security_attributes + + +class Security_attribute_object(DBC): + """ + Security attributes as defined by DIN SPEC 16593-2. After the release of + DIN SPEC 16593-2, any required updates will be made. This class is not part of + the metamodel. + + The information in this table is derived from DIN SPEC 16593-2. Required changes + need to be made by the related DIN working group. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#SecurityAttributeObject + """ + + type: "Security_type_enum" + """Enum security type or standard.""" + + key: str + """Security attribute key according to standard definitions of the security type.""" + + value: str + """Security attribute value e.g. DANE TLSA Resource Record.""" + + def __init__(self, type: "Security_type_enum", key: str, value: str) -> None: + self.type = type + self.key = key + self.value = value + + +class Security_type_enum(Enum): + """ + The security types as defined by DIN SPEC 16593-2. After the release of + DIN SPEC 16593-2, any required updates will be made. This class is not part of + the metamodel. + + The information in this table is derived from DIN SPEC 16593-2. Required changes + need to be made by the related DIN working group. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#SecurityTypeEnum + """ + + # NOTE (mristin): + # The literal ``NONE`` from the specification is named :attr:`No_security` + # here since ``None`` is a reserved keyword in Python. + No_security = "NONE" + """No predefined security type available.""" + + RFC_TLSA = "RFC_TLSA" + """TLSA according to RFC 6698.""" + + W3C_DID = "W3C_DID" + """Decentralized Identifiers according to the W3C Recommendation.""" + + +class Asset_link(DBC): + """ + Asset identifier derived from either :class:`Specific_asset_ID` or + :attr:`Asset_information.global_asset_ID`. + + This class is not part of the metamodel. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#AssetLink + """ + + name: "Label_type" + """ + Name of the Asset identifier, *i.e.*, ``globalAssetId``, a serial number, + manufacturer part ID, or customer part IDs. + """ + + value: "Identifier" + """Value of the Asset Identifier.""" + + def __init__(self, name: "Label_type", value: "Identifier") -> None: + self.name = name + self.value = value + + +@invariant( + lambda self: len(self.profiles) >= 1, + "Profiles must contain at least one item.", +) +class Service_description(DBC): + """ + The self-describing information of an API Implementation. It enables + servers to present their capabilities to the clients, in particular + which profiles they implement. At least one defined profile is + required. Additional, proprietary attributes might be included. + Nevertheless, the server must not expect that a regular client + understands them. + + This class is not part of the metamodel. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#ServiceDescription + """ + + profiles: List["Service_specification_profile_enum"] + """List of implemented server specification profiles.""" + + def __init__(self, profiles: List["Service_specification_profile_enum"]) -> None: + self.profiles = profiles + + +class Service_specification_profile_enum(Enum): + """ + The identifiers of the standardized service specification profiles. + See also Clause Service Specifications and Profiles for further + details. + + This class is not part of the metamodel. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#ServiceSpecificationProfileEnum + + See also Clause Service Specifications and Profiles: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/service-specifications-and-profiles.html#service-specifications-and-profiles + """ + + AAS_service_specification_SSP_001_V3_0 = ( + "https://admin-shell.io/aas/API/3/0/" + "AssetAdministrationShellServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all features of the Asset Administration + Shell Service Specification Full Profile in version 3.0. + """ + + AAS_service_specification_SSP_001_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "AssetAdministrationShellServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all features of the Asset Administration + Shell Service Specification Full Profile in version 3.1. + """ + + AAS_service_specification_SSP_001_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "AssetAdministrationShellServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all features of the Asset Administration + Shell Service Specification Full Profile in version 3.2. + """ + + AAS_service_specification_SSP_002_V3_0 = ( + "https://admin-shell.io/aas/API/3/0/" + "AssetAdministrationShellServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all features of the Asset Administration + Shell Service Specification Read Profile in version 3.0. + """ + + AAS_service_specification_SSP_002_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "AssetAdministrationShellServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all features of the Asset Administration + Shell Service Specification Read Profile in version 3.1. + """ + + AAS_service_specification_SSP_002_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "AssetAdministrationShellServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all features of the Asset Administration + Shell Service Specification Read Profile in version 3.2. + """ + + Submodel_service_specification_SSP_001_V3_0 = ( + "https://admin-shell.io/aas/API/3/0/SubmodelServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all features of the Submodel Service + Specification Full Profile in version 3.0. + """ + + Submodel_service_specification_SSP_001_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/SubmodelServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all features of the Submodel Service + Specification Full Profile in version 3.1. + """ + + Submodel_service_specification_SSP_001_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/SubmodelServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all features of the Submodel Service + Specification Full Profile in version 3.2. + """ + + Submodel_service_specification_SSP_002_V3_0 = ( + "https://admin-shell.io/aas/API/3/0/SubmodelServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all features of the Submodel Service + Specification Value Profile in version 3.0. + """ + + Submodel_service_specification_SSP_002_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/SubmodelServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all features of the Submodel Service + Specification Value Profile in version 3.1. + """ + + Submodel_service_specification_SSP_002_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/SubmodelServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all features of the Submodel Service + Specification Read Profile in version 3.2. + """ + + Submodel_service_specification_SSP_003_V3_0 = ( + "https://admin-shell.io/aas/API/3/0/SubmodelServiceSpecification/SSP-003" + ) + """ + Indicates that the server implemented all features of the Submodel Service + Specification Read Profile in version 3.0. + """ + + Submodel_service_specification_SSP_003_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/SubmodelServiceSpecification/SSP-003" + ) + """ + Indicates that the server implemented all features of the Submodel Service + Specification Read Profile in version 3.1. + """ + + Submodel_service_specification_SSP_003_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/SubmodelServiceSpecification/SSP-003" + ) + """ + Indicates that the server implemented all features of the Submodel Service + Specification Value Profile in version 3.2. + """ + + AASX_file_server_service_specification_SSP_001_V3_0 = ( + "https://admin-shell.io/aas/API/3/0/" + "AasxFileServerServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all details of the AASX File Server + Service Specification Full Profile in version 3.0. + """ + + AASX_file_server_service_specification_SSP_001_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "AasxFileServerServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all details of the AASX File Server + Service Specification Full Profile in version 3.1. + """ + + AASX_file_server_service_specification_SSP_001_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "AasxFileServerServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all details of the AASX File Server + Service Specification Full Profile in version 3.2. + """ + + AASX_file_server_service_specification_SSP_002_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "AasxFileServerServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all details of the AASX File Server + Service Specification Read Profile in version 3.1. + """ + + AASX_file_server_service_specification_SSP_002_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "AasxFileServerServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all details of the AASX File Server + Service Specification Async Profile in version 3.2. + """ + + AAS_registry_service_specification_SSP_001_V3_0 = ( + "https://admin-shell.io/aas/API/3/0/" + "AssetAdministrationShellRegistryServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Registry Service Specification Full Profile in version 3.0. + """ + + AAS_registry_service_specification_SSP_001_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "AssetAdministrationShellRegistryServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Registry Service Specification Full Profile in version 3.1. + """ + + AAS_registry_service_specification_SSP_001_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "AssetAdministrationShellRegistryServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Registry Service Specification Full Profile in version 3.2. + """ + + AAS_registry_service_specification_SSP_002_V3_0 = ( + "https://admin-shell.io/aas/API/3/0/" + "AssetAdministrationShellRegistryServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Registry Service Specification Read Profile in version 3.0. + """ + + AAS_registry_service_specification_SSP_002_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "AssetAdministrationShellRegistryServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Registry Service Specification Read Profile in version 3.1. + """ + + AAS_registry_service_specification_SSP_002_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "AssetAdministrationShellRegistryServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Registry Service Specification Read Profile in version 3.2. + """ + + AAS_registry_service_specification_SSP_003_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "AssetAdministrationShellRegistryServiceSpecification/SSP-003" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Registry Service Specification Bulk Profile in version 3.1. + """ + + AAS_registry_service_specification_SSP_003_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "AssetAdministrationShellRegistryServiceSpecification/SSP-003" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Registry Service Specification Bulk Profile in version 3.2. + """ + + AAS_registry_service_specification_SSP_004_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "AssetAdministrationShellRegistryServiceSpecification/SSP-004" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Registry Service Specification Query Profile in version 3.1. + """ + + AAS_registry_service_specification_SSP_004_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "AssetAdministrationShellRegistryServiceSpecification/SSP-004" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Registry Service Specification Query Profile in version 3.2. + """ + + AAS_registry_service_specification_SSP_005_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "AssetAdministrationShellRegistryServiceSpecification/SSP-005" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Registry Service Specification Minimal Read Profile in version 3.1. + """ + + AAS_registry_service_specification_SSP_005_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "AssetAdministrationShellRegistryServiceSpecification/SSP-005" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Registry Service Specification Minimal Read Profile in version 3.2. + """ + + Submodel_registry_service_specification_SSP_001_V3_0 = ( + "https://admin-shell.io/aas/API/3/0/" + "SubmodelRegistryServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all details of the Submodel Registry + Service Specification Full Profile in version 3.0. + """ + + Submodel_registry_service_specification_SSP_001_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "SubmodelRegistryServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all details of the Submodel Registry + Service Specification Full Profile in version 3.1. + """ + + Submodel_registry_service_specification_SSP_001_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "SubmodelRegistryServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all details of the Submodel Registry + Service Specification Full Profile in version 3.2. + """ + + Submodel_registry_service_specification_SSP_002_V3_0 = ( + "https://admin-shell.io/aas/API/3/0/" + "SubmodelRegistryServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all details of the Submodel Registry + Service Specification Read Profile in version 3.0. + """ + + Submodel_registry_service_specification_SSP_002_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "SubmodelRegistryServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all details of the Submodel Registry + Service Specification Read Profile in version 3.1. + """ + + Submodel_registry_service_specification_SSP_002_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "SubmodelRegistryServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all details of the Submodel Registry + Service Specification Read Profile in version 3.2. + """ + + Submodel_registry_service_specification_SSP_003_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "SubmodelRegistryServiceSpecification/SSP-003" + ) + """ + Indicates that the server implemented all details of the Submodel Registry + Service Specification Bulk Profile in version 3.1. + """ + + Submodel_registry_service_specification_SSP_003_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "SubmodelRegistryServiceSpecification/SSP-003" + ) + """ + Indicates that the server implemented all details of the Submodel Registry + Service Specification Bulk Profile in version 3.2. + """ + + Submodel_registry_service_specification_SSP_004_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "SubmodelRegistryServiceSpecification/SSP-004" + ) + """ + Indicates that the server implemented all details of the Submodel Registry + Service Specification Query Profile in version 3.1. + """ + + Submodel_registry_service_specification_SSP_004_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "SubmodelRegistryServiceSpecification/SSP-004" + ) + """ + Indicates that the server implemented all details of the Submodel Registry + Service Specification Query Profile in version 3.2. + """ + + Discovery_service_specification_SSP_001_V3_0 = ( + "https://admin-shell.io/aas/API/3/0/" "DiscoveryServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all details of the Discovery Service + Specification Full Profile in version 3.0. + """ + + Discovery_service_specification_SSP_001_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" "DiscoveryServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all details of the Discovery Service + Specification Full Profile in version 3.1. + """ + + Discovery_service_specification_SSP_001_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" "DiscoveryServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all details of the Discovery Service + Specification Full Profile in version 3.2. + """ + + Discovery_service_specification_SSP_002_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" "DiscoveryServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all details of the Discovery Service + Specification Read Profile in version 3.2. + """ + + AAS_repository_service_specification_SSP_001_V3_0 = ( + "https://admin-shell.io/aas/API/3/0/" + "AssetAdministrationShellRepositoryServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Repository Service Specification Full Profile in version 3.0. + """ + + AAS_repository_service_specification_SSP_001_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "AssetAdministrationShellRepositoryServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Repository Service Specification Full Profile in version 3.1. + """ + + AAS_repository_service_specification_SSP_001_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "AssetAdministrationShellRepositoryServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Repository Service Specification Full Profile in version 3.2. + """ + + AAS_repository_service_specification_SSP_002_V3_0 = ( + "https://admin-shell.io/aas/API/3/0/" + "AssetAdministrationShellRepositoryServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Repository Service Specification Read Profile in version 3.0. + """ + + AAS_repository_service_specification_SSP_002_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "AssetAdministrationShellRepositoryServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Repository Service Specification Read Profile in version 3.1. + """ + + AAS_repository_service_specification_SSP_002_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "AssetAdministrationShellRepositoryServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Repository Service Specification Read Profile in version 3.2. + """ + + AAS_repository_service_specification_SSP_003_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "AssetAdministrationShellRepositoryServiceSpecification/SSP-003" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Repository Service Specification Query Profile in version 3.1. + """ + + AAS_repository_service_specification_SSP_003_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "AssetAdministrationShellRepositoryServiceSpecification/SSP-003" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Repository Service Specification Query Profile in version 3.2. + """ + + AAS_repository_service_specification_SSP_004_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "AssetAdministrationShellRepositoryServiceSpecification/SSP-004" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Repository Service Specification Signature Profile in version 3.2. + """ + + AAS_repository_service_specification_SSP_005_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "AssetAdministrationShellRepositoryServiceSpecification/SSP-005" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Repository Service Specification Identifiable Profile in version 3.2. + """ + + AAS_repository_service_specification_SSP_006_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "AssetAdministrationShellRepositoryServiceSpecification/SSP-006" + ) + """ + Indicates that the server implemented all details of the Asset Administration + Shell Repository Service Specification History Profile in version 3.2. + """ + + Submodel_repository_service_specification_SSP_001_V3_0 = ( + "https://admin-shell.io/aas/API/3/0/" + "SubmodelRepositoryServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all details of the Submodel Service + Repository Specification Full Profile in version 3.0. + """ + + Submodel_repository_service_specification_SSP_001_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "SubmodelRepositoryServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all details of the Submodel Service + Repository Specification Full Profile in version 3.1. + """ + + Submodel_repository_service_specification_SSP_001_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "SubmodelRepositoryServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all details of the Submodel Service + Repository Specification Full Profile in version 3.2. + """ + + Submodel_repository_service_specification_SSP_002_V3_0 = ( + "https://admin-shell.io/aas/API/3/0/" + "SubmodelRepositoryServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all details of the Submodel Service + Repository Specification Read Profile in version 3.0. + """ + + Submodel_repository_service_specification_SSP_002_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "SubmodelRepositoryServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all details of the Submodel Service + Repository Specification Read Profile in version 3.1. + """ + + Submodel_repository_service_specification_SSP_002_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "SubmodelRepositoryServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all details of the Submodel Service + Repository Specification Read Profile in version 3.2. + """ + + Submodel_repository_service_specification_SSP_003_V3_0 = ( + "https://admin-shell.io/aas/API/3/0/" + "SubmodelRepositoryServiceSpecification/SSP-003" + ) + """ + Indicates that the server implemented all details of the Submodel Service + Repository Specification Template Profile in version 3.0. + """ + + Submodel_repository_service_specification_SSP_003_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "SubmodelRepositoryServiceSpecification/SSP-003" + ) + """ + Indicates that the server implemented all details of the Submodel Service + Repository Specification Template Profile in version 3.1. + """ + + Submodel_repository_service_specification_SSP_003_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "SubmodelRepositoryServiceSpecification/SSP-003" + ) + """ + Indicates that the server implemented all details of the Submodel Service + Repository Specification Template Profile in version 3.2. + """ + + Submodel_repository_service_specification_SSP_004_V3_0 = ( + "https://admin-shell.io/aas/API/3/0/" + "SubmodelRepositoryServiceSpecification/SSP-004" + ) + """ + Indicates that the server implemented all details of the Submodel Service + Repository Specification Template Read Profile in version 3.0. + """ + + Submodel_repository_service_specification_SSP_004_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "SubmodelRepositoryServiceSpecification/SSP-004" + ) + """ + Indicates that the server implemented all details of the Submodel Service + Repository Specification Template Read Profile in version 3.1. + """ + + Submodel_repository_service_specification_SSP_004_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "SubmodelRepositoryServiceSpecification/SSP-004" + ) + """ + Indicates that the server implemented all details of the Submodel Service + Repository Specification Template Read Profile in version 3.2. + """ + + Submodel_repository_service_specification_SSP_005_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "SubmodelRepositoryServiceSpecification/SSP-005" + ) + """ + Indicates that the server implemented all details of the Submodel Service + Repository Specification Query Profile in version 3.1. + """ + + Submodel_repository_service_specification_SSP_005_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "SubmodelRepositoryServiceSpecification/SSP-005" + ) + """ + Indicates that the server implemented all details of the Submodel Service + Repository Specification Query Profile in version 3.2. + """ + + Submodel_repository_service_specification_SSP_006_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "SubmodelRepositoryServiceSpecification/SSP-006" + ) + """ + Indicates that the server implemented all details of the Submodel Service + Repository Specification Signature Profile in version 3.2. + """ + + Submodel_repository_service_specification_SSP_007_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "SubmodelRepositoryServiceSpecification/SSP-007" + ) + """ + Indicates that the server implemented all details of the Submodel Service + Repository Specification History Profile in version 3.2. + """ + + Concept_description_repository_service_specification_SSP_001_V3_0 = ( + "https://admin-shell.io/aas/API/3/0/" + "ConceptDescriptionRepositoryServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all details of the Concept Description + Repository Service Specification Profile in version 3.0. + """ + + Concept_description_repository_service_specification_SSP_001_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "ConceptDescriptionRepositoryServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all details of the Concept Description + Repository Service Specification Profile in version 3.1. + """ + + Concept_description_repository_service_specification_SSP_001_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "ConceptDescriptionRepositoryServiceSpecification/SSP-001" + ) + """ + Indicates that the server implemented all details of the Concept Description + Repository Service Specification Full Profile in version 3.2. + """ + + Concept_description_repository_service_specification_SSP_002_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "ConceptDescriptionRepositoryServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all details of the Concept Description + Repository Service Specification Query Profile in version 3.2. + """ + + Concept_description_repository_service_specification_SSP_002_V3_1 = ( + "https://admin-shell.io/aas/API/3/1/" + "ConceptDescriptionRepositoryServiceSpecification/SSP-002" + ) + """ + Indicates that the server implemented all details of the Concept Description + Repository Service Specification Query Profile in version 3.1. + """ + + Concept_description_repository_service_specification_SSP_003_V3_2 = ( + "https://admin-shell.io/aas/API/3/2/" + "ConceptDescriptionRepositoryServiceSpecification/SSP-003" + ) + """ + Indicates that the server implemented all details of the Concept Description + Repository Service Specification Signature Profile in version 3.2. + """ + + +@abstract +class Recent_change(DBC): + """ + This class is not part of the metamodel. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#RecentChange + """ + + created_at: "Date_time_UTC" + """The point in time at which the Identifiable object was created""" + + updated_at: "Date_time_UTC" + """ + The point in time at which the Identifiable object was recently updated + """ + + def __init__( + self, created_at: "Date_time_UTC", updated_at: "Date_time_UTC" + ) -> None: + self.created_at = created_at + self.updated_at = updated_at + + +# fmt: off +@invariant( + lambda self: + not (self.specific_asset_IDs is not None) + or len(self.specific_asset_IDs) >= 1, + "Specific asset IDs must be either not set or have at least one item." +) +# fmt: on +class Asset_administration_shell_recent_change(Recent_change): + """ + This class is not part of the metamodel. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#AssetAdministrationShellRecentChange + """ + + ID: "Identifier" + """Globally unique identification of the Asset Administration Shell""" + + global_asset_ID: Optional["Identifier"] + """Global reference to the asset the AAS is representing""" + + specific_asset_IDs: Optional[List["Specific_asset_ID"]] + """Specific asset identifier""" + + def __init__( + self, + created_at: "Date_time_UTC", + updated_at: "Date_time_UTC", + ID: "Identifier", + global_asset_ID: Optional["Identifier"] = None, + specific_asset_IDs: Optional[List["Specific_asset_ID"]] = None, + ) -> None: + Recent_change.__init__(self, created_at=created_at, updated_at=updated_at) + + self.ID = ID + self.global_asset_ID = global_asset_ID + self.specific_asset_IDs = specific_asset_IDs + + +class Concept_description_recent_change(Recent_change): + """ + This class is not part of the metamodel. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#ConceptDescriptionRecentChange + """ + + ID: "Identifier" + """Globally unique identification of the Submodel""" + + def __init__( + self, + created_at: "Date_time_UTC", + updated_at: "Date_time_UTC", + ID: "Identifier", + ) -> None: + Recent_change.__init__(self, created_at=created_at, updated_at=updated_at) + + self.ID = ID + + +# fmt: off +@invariant( + lambda self: + not (self.supplemental_semantic_IDs is not None) + or (self.semantic_ID is not None), + "If there are supplemental semantic IDs defined then there shall be also " + "a main semantic ID." +) +@invariant( + lambda self: + not (self.supplemental_semantic_IDs is not None) + or len(self.supplemental_semantic_IDs) >= 1, + "Supplemental semantic IDs must be either not set or have at least one item." +) +# fmt: on +class Submodel_recent_change(Recent_change): + """ + This class is not part of the metamodel. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#SubmodelRecentChange + """ + + ID: "Identifier" + """Globally unique identification of the Submodel""" + + semantic_ID: Optional["Reference"] + """Identifier of the semantic definition of the Submodel""" + + supplemental_semantic_IDs: Optional[List["Reference"]] + """ + Identifier of a supplemental semantic definition of the element called + supplemental semantic ID of the element + """ + + def __init__( + self, + created_at: "Date_time_UTC", + updated_at: "Date_time_UTC", + ID: "Identifier", + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + ) -> None: + Recent_change.__init__(self, created_at=created_at, updated_at=updated_at) + + self.ID = ID + self.semantic_ID = semantic_ID + self.supplemental_semantic_IDs = supplemental_semantic_IDs + + +@invariant( + lambda self: self >= 0, + "The value must be a non-negative integer.", +) +class Non_negative_integer(int, DBC): + """ + The ``nonNegativeInteger`` datatype as defined by XML Schema Part 2 in + version 1.0. + + This class is not part of the metamodel. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#_simple_data_types + """ + + +# region Primitive Data Types +# +# See: +# https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#_primitive_data_types + + +# fmt: off +@invariant( + lambda self: len(self) >= 1, + "The value must not be empty." +) +@invariant( + lambda self: len(self) <= 32, + "Code type shall have a maximum length of 32 characters.", +) +# fmt: on +class Code_type(str, DBC): + """ + string with max 32 and min 1 characters + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#CodeType + """ + + +class Short_ID_type(Name_type, DBC): + """ + same as :class:`Name_type` (string with max 128 and min 1 characters) + + .. note:: + + :class:`Short_ID_type` is *not* the data type of :class:`ID_short_type` + attributes, but for IDs which shall be shorter than the identifier type. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#ShortIdType + """ + + +# fmt: off +@invariant( + lambda self: len(self) >= 1, + "The value must not be empty." +) +@invariant( + lambda self: len(self) <= 2048, + "Locator type shall have a maximum length of 2048 characters.", +) +# fmt: on +class Locator_type(str, DBC): + """ + string with max 2048 and min 1 characters + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#LocatorType + """ + + +# fmt: off +@invariant( + lambda self: len(self) >= 1, + "The value must not be empty." +) +@invariant( + lambda self: len(self) <= 2048, + "Text type shall have a maximum length of 2048 characters.", +) +# fmt: on +class Text_type(str, DBC): + """ + string with max 2048 and min 1 characters + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#TextType + """ + + +class Scheme_type(Name_type, DBC): + """ + same as NameType (string with max 128 and min 1 characters) + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#SchemeType + """ + + +# endregion Primitive Data Types + + +class Status_code(Enum): + """ + Generic status codes. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#StatusCode + """ + + Success = "Success" + """Success""" + + Success_created = "SuccessCreated" + """Successful creation of a new resource""" + + Success_accepted = "SuccessAccepted" + """The reception of the request was successful""" + + Success_no_content = "SuccessNoContent" + """Success with explicitly no content in the payload""" + + Client_error_bad_request = "ClientErrorBadRequest" + """Bad or malformed request""" + + Client_not_authorized = "ClientNotAuthorized" + """Wrong or missing authorization credentials""" + + Client_forbidden = "ClientForbidden" + """Authorization has been refused""" + + Client_method_not_allowed = "ClientMethodNotAllowed" + """Operation request is not allowed""" + + Client_error_resource_not_found = "ClientErrorResourceNotFound" + """Resource not found""" + + Client_resource_conflict = "ClientResourceConflict" + """Conflict-creating resource (resource already exists)""" + + Server_internal_error = "ServerInternalError" + """Unexpected error""" + + Server_not_implemented = "ServerNotImplemented" + """ + The server has not implemented this API Operation. Intended for cases + where API Operations beyond the supported service profiles are requested. + """ + + Server_error_bad_gateway = "ServerErrorBadGateway" + """Bad gateway""" + + +class Result(DBC): + """ + The result object. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#Result + """ + + messages: Optional[List["Message"]] + """Additional messages containing information for the requester""" + + def __init__(self, messages: Optional[List["Message"]] = None) -> None: + self.messages = messages + + +class Message(DBC): + """ + A message containing more information for the requester about a certain + happening in the backend. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#Message + """ + + message_type: "Message_type_enum" + """The message type""" + + text: str + """The message text""" + + code: Optional["Code_type"] + """Technology-dependent status or error code""" + + correlation_ID: Optional["Short_ID_type"] + """Identifier to relate several result messages throughout several systems""" + + timestamp: Optional["Date_time_UTC"] + """Timestamp of the message""" + + def __init__( + self, + message_type: "Message_type_enum", + text: str, + code: Optional["Code_type"] = None, + correlation_ID: Optional["Short_ID_type"] = None, + timestamp: Optional["Date_time_UTC"] = None, + ) -> None: + self.message_type = message_type + self.text = text + self.code = code + self.correlation_ID = correlation_ID + self.timestamp = timestamp + + +class Message_type_enum(Enum): + """ + The message type. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#MessageTypeEnum + """ + + Undefined = "Undefined" + """ + Used when the message type has not been set. + + .. note:: + + Not documented in the book prose; present as a literal in the + OpenAPI schema's ``messageType`` enumeration. + """ + + Info = "Info" + """Used to inform the user about a certain fact""" + + Warning = "Warning" + """Used for warnings; warnings may lead to errors in the subsequent execution""" + + Error = "Error" + """Used for handling errors""" + + Exception = "Exception" + """Used in case of an internal and/or unhandled exception""" + + +# fmt: off +@invariant( + lambda self: + not (self.input_arguments is not None) + or len(self.input_arguments) >= 1, + "Input arguments must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.inoutput_arguments is not None) + or len(self.inoutput_arguments) >= 1, + "InOutput arguments must be either not set or have at least one item." +) +# fmt: on +class Operation_request(DBC): + """ + The operation request object. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#OperationRequest + """ + + input_arguments: Optional[List["Operation_variable"]] + """Input argument""" + + inoutput_arguments: Optional[List["Operation_variable"]] + """InOutput argument""" + + client_timeout_duration: Optional["Duration"] + """ + Duration indicating when the client suggests the server to have finished + execution of the invoked operation. The server may take this value into account to + decide on its effective timeout, however, the server may or may not use by its own + discretion. + """ + + def __init__( + self, + input_arguments: Optional[List["Operation_variable"]] = None, + inoutput_arguments: Optional[List["Operation_variable"]] = None, + client_timeout_duration: Optional["Duration"] = None, + ) -> None: + self.input_arguments = input_arguments + self.inoutput_arguments = inoutput_arguments + self.client_timeout_duration = client_timeout_duration + + +# fmt: off +@invariant( + lambda self: + not (self.input_arguments is not None) + or len(self.input_arguments) >= 1, + "Input arguments must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.inoutput_arguments is not None) + or len(self.inoutput_arguments) >= 1, + "InOutput arguments must be either not set or have at least one item." +) +# fmt: on +class Operation_request_async(DBC): + """ + The operation request object for asynchronous invocation. + + This class is not part of the metamodel and is not itself a named class + in the specification. It corresponds to the request body of the + ``InvokeOperationAsync`` operation, which is shaped like + :class:`Operation_request` with + :attr:`~Operation_request.client_timeout_duration` made mandatory. + + .. note:: + + This class is deliberately *not* related to :class:`Operation_request` + by inheritance: a subclass constructor must exactly match + argument's type to the inherited property's declared + type, so a property declared ``Optional[Duration]`` on a base class + cannot be narrowed to a required ``Duration`` on a subclass. Making + this a standalone class lets ``client_timeout_duration`` be + genuinely required here. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces.html#_operation_invokeoperationasync + """ + + input_arguments: Optional[List["Operation_variable"]] + """Input argument""" + + inoutput_arguments: Optional[List["Operation_variable"]] + """InOutput argument""" + + client_timeout_duration: "Duration" + """ + Duration indicating when the client suggests the server to have finished + execution of the invoked operation. The server may take this value into account to + decide on its effective timeout, however, the server may or may not use by its own + discretion. + """ + + def __init__( + self, + client_timeout_duration: "Duration", + input_arguments: Optional[List["Operation_variable"]] = None, + inoutput_arguments: Optional[List["Operation_variable"]] = None, + ) -> None: + self.client_timeout_duration = client_timeout_duration + self.input_arguments = input_arguments + self.inoutput_arguments = inoutput_arguments + + +class Operation_request_value_only(DBC): + """ + The operation request object in the ValueOnly notation. + + .. note:: + + The arguments are given in the ValueOnly serialization, *i.e.*, as + a JSON object whose keys are the ID-shorts of the argument values and + whose values are the ValueOnly serializations of the argument values. + Their shape depends on the concrete submodel elements and can not be + pinned down statically, so they are represented as open JSON objects. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#operation-request-value-only + """ + + input_arguments: Optional[JSONObject["ID_short_type"]] + """Input argument""" + + inoutput_arguments: Optional[JSONObject["ID_short_type"]] + """InOutput argument""" + + client_timeout_duration: Optional["Duration"] + """ + Duration indicating when the client suggests the server to have finished + execution of the invoked operation. The server may take this value into account to + decide on its effective timeout, however, the server may or may not use by its own + discretion. + """ + + def __init__( + self, + input_arguments: Optional[JSONObject["ID_short_type"]] = None, + inoutput_arguments: Optional[JSONObject["ID_short_type"]] = None, + client_timeout_duration: Optional["Duration"] = None, + ) -> None: + self.input_arguments = input_arguments + self.inoutput_arguments = inoutput_arguments + self.client_timeout_duration = client_timeout_duration + + +class Operation_request_async_value_only(DBC): + """ + The operation request object for asynchronous invocation in the ValueOnly + notation. + + This class is not part of the metamodel and is not itself a named class + in the specification. It corresponds to the request body of the + ``InvokeOperationAsync`` operation in the ValueOnly notation, which is + shaped like :class:`Operation_request_value_only` with + :attr:`~Operation_request_value_only.client_timeout_duration` made + mandatory. + + .. note:: + + This class is deliberately *not* related to + :class:`Operation_request_value_only` by inheritance; see the note + on :class:`Operation_request_async`. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces.html#_operation_invokeoperationasync + """ + + input_arguments: Optional[JSONObject["ID_short_type"]] + """Input argument""" + + inoutput_arguments: Optional[JSONObject["ID_short_type"]] + """InOutput argument""" + + client_timeout_duration: "Duration" + """ + Duration indicating when the client suggests the server to have finished + execution of the invoked operation. The server may take this value into account to + decide on its effective timeout, however, the server may or may not use by its own + discretion. + """ + + def __init__( + self, + client_timeout_duration: "Duration", + input_arguments: Optional[JSONObject["ID_short_type"]] = None, + inoutput_arguments: Optional[JSONObject["ID_short_type"]] = None, + ) -> None: + self.client_timeout_duration = client_timeout_duration + self.input_arguments = input_arguments + self.inoutput_arguments = inoutput_arguments + + +class Base_operation_result(DBC): + """ + The object containing the intermediate state of an operation. + + .. note:: + + This class is deliberately *not* related to :class:`Result` by + inheritance (and :class:`Operation_result` below is, in turn, not + related to this class by inheritance either). aas-core-codegen + refuses to generate a schema for a concrete class with concrete + descendants unless it is marked + ``@serialization(with_model_type=True)``, which would introduce a + ``modelType`` discriminator property that the official schema does + not have for this hierarchy. Flattening the hierarchy avoids that + mismatch, at the cost of repeating :attr:`messages` here. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#BaseOperationResult + """ + + execution_state: "Execution_state" + """Execution state""" + + messages: Optional[List["Message"]] + """Additional messages containing information for the requester""" + + success: Optional[bool] + """ + Flag indicating whether the business operation behind the operation was + successful (true) or not (false) + """ + + def __init__( + self, + execution_state: "Execution_state", + messages: Optional[List["Message"]] = None, + success: Optional[bool] = None, + ) -> None: + self.execution_state = execution_state + self.messages = messages + self.success = success + + +# fmt: off +@invariant( + lambda self: + not (self.output_arguments is not None) + or len(self.output_arguments) >= 1, + "Output arguments must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.inoutput_arguments is not None) + or len(self.inoutput_arguments) >= 1, + "InOutput arguments must be either not set or have at least one item." +) +# fmt: on +class Operation_result(DBC): + """ + The operation's invocation result object. + + .. note:: + + This class is deliberately *not* related to :class:`Base_operation_result` + by inheritance; see the note on that class. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#OperationResult + """ + + execution_state: "Execution_state" + """Execution state""" + + messages: Optional[List["Message"]] + """Additional messages containing information for the requester""" + + success: Optional[bool] + """ + Flag indicating whether the business operation behind the operation was + successful (true) or not (false) + """ + + output_arguments: Optional[List["Operation_variable"]] + """Output argument""" + + inoutput_arguments: Optional[List["Operation_variable"]] + """InOutput argument""" + + def __init__( + self, + execution_state: "Execution_state", + messages: Optional[List["Message"]] = None, + success: Optional[bool] = None, + output_arguments: Optional[List["Operation_variable"]] = None, + inoutput_arguments: Optional[List["Operation_variable"]] = None, + ) -> None: + self.execution_state = execution_state + self.messages = messages + self.success = success + self.output_arguments = output_arguments + self.inoutput_arguments = inoutput_arguments + + +class Operation_result_value_only(DBC): + """ + The operation's invocation result object in the ValueOnly notation. + + .. note:: + + This class is deliberately *not* related to :class:`Base_operation_result` + by inheritance; see the note on that class. + + .. note:: + + The arguments are given in the ValueOnly serialization; see the note + on :class:`Operation_request_value_only`. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#operation-result-value-only + """ + + execution_state: "Execution_state" + """Execution state""" + + messages: Optional[List["Message"]] + """Additional messages containing information for the requester""" + + success: Optional[bool] + """ + Flag indicating whether the business operation behind the operation was + successful (true) or not (false) + """ + + output_arguments: Optional[JSONObject["ID_short_type"]] + """Output argument""" + + inoutput_arguments: Optional[JSONObject["ID_short_type"]] + """InOutput argument""" + + def __init__( + self, + execution_state: "Execution_state", + messages: Optional[List["Message"]] = None, + success: Optional[bool] = None, + output_arguments: Optional[JSONObject["ID_short_type"]] = None, + inoutput_arguments: Optional[JSONObject["ID_short_type"]] = None, + ) -> None: + self.execution_state = execution_state + self.messages = messages + self.success = success + self.output_arguments = output_arguments + self.inoutput_arguments = inoutput_arguments + + +class Execution_state(Enum): + """ + The operation's invocation result state. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#ExecutionState + """ + + Initiated = "Initiated" + """The operation is ready to be executed (initial state)""" + + Running = "Running" + """The operation is running""" + + Completed = "Completed" + """The operation is completed""" + + Canceled = "Canceled" + """The operation was cancelled externally""" + + Failed = "Failed" + """The operation failed""" + + Timeout = "Timeout" + """The operation has timed out due to given client or server timeout""" + + +class Operation_handle(DBC): + """ + The returned handle of an operation's asynchronous invocation used to + request the current state of the operation's execution. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#OperationHandle + """ + + handle_ID: "Short_ID_type" + """Handle ID""" + + def __init__(self, handle_ID: "Short_ID_type") -> None: + self.handle_ID = handle_ID + + +# endregion Data Types For Payload + +# region Basic Operation Parameters +# +# See: +# https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + + +class Level(Enum): + """ + Indicates the depth of the structure of the response or input content. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + + .. note:: + + We follow the spelling of the literals in the Part 2 OpenAPI schema + (Part2-API-Schemas/openapi.yaml), ``deep`` and ``core``, rather than + the spelling in the book prose, since the servers, such as BaSyx, accept + only the former. + """ + + Deep = "deep" + """ + All elements of a requested hierarchy level and all children on all + sublevels are returned. + + Children in this sense are SubmodelElements which are contained at the + 'submodelElements' field of Submodels, the 'value' field of + SubmodelElementCollections or SubmodelElementLists, the 'statements' + field of Entities, or the 'annotations' field of + AnnotatedRelationshipElements. + """ + + Core = "core" + """ + Only elements of a requested hierarchy level as well as direct children + are returned. By this, a client can iterate the hierarchy step by step. + """ + + +class Content(Enum): + """ + Content indicates the kind of serialization of the response or input content. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + Normal = "Normal" + """ + The standard serialization of the model element or child elements is + applied. + """ + + Metadata = "Metadata" + """Only metadata of an element or child elements is returned; the value is not.""" + + Value = "Value" + """ + Only the raw value of the model element or child elements is returned; + it is commonly referred to as ValueOnly-serialization. + """ + + Reference = "Reference" + """ + Only applicable to Referables. Only the reference to the found element + is returned; potential child elements are ignored. + """ + + Path = "Path" + """ + Returns the ID-short of the requested element and a list of ID-short + paths to child elements if the requested element is a Submodel, + a SubmodelElementCollection, a SubmodelElementList, an + AnnotatedRelationshipElement, or an Entity. + """ + + +class Extent(Enum): + """ + Indicates to which extent the response or input content is being + serialized. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + + .. note:: + + We follow the spelling of the literals in the Part 2 OpenAPI schema + (Part2-API-Schemas/openapi.yaml), ``withoutBlobValue`` and + ``withBlobValue``, rather than the spelling in the book prose, such as + ``WithBLOBValue``, since the servers, such as BaSyx, accept only + the former. + """ + + Without_blob_value = "withoutBlobValue" + """ + Only applicable to BLOB-elements; the BLOB content is not returned. + + This is the default value. + """ + + With_blob_value = "withBlobValue" + """ + Only applicable to BLOB-elements; the BLOB content is returned as + base64-encoded string. + """ + + +# endregion Basic Operation Parameters + + +# region HTTP/REST API + + +class Paged_result(DBC): + """ + An object connecting the actual list of returned items with metadata + information to, *e.g.*, fetch the next part of the result set. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + """ + + result: Optional[List["Referable"]] + """ + List of returned items. Any kind of Referables is possible, depending on + the endpoint which has been requested. + """ + + paging_metadata: Annotated["Paging_metadata", json_name("paging_metadata")] + """ + Additional information for the client to, *e.g.*, fetch the next part of + the result set. + """ + + def __init__( + self, + paging_metadata: "Paging_metadata", + result: Optional[List["Referable"]] = None, + ) -> None: + self.paging_metadata = paging_metadata + self.result = result + + +class Paging_metadata(DBC): + """ + Additional information for the client to, *e.g.*, fetch the next part of + the result set. + + .. note:: + + More attributes may be added to this class in future versions. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + """ + + cursor: Optional[str] + """ + The cursor for the next part of the result set. No cursor attribute means that + the end of the result set has been reached. + """ + + def __init__(self, cursor: Optional[str] = None) -> None: + self.cursor = cursor + + +class Package_description(DBC): + """ + The package description consists of a system-wide unique packageId and + its corresponding Asset Administration Shell identifiers. + + The packageId is used to identify the AASX package at the AASX file + server. The package description is used to list the Asset + Administration Shells in a given AASX package. + + This class is not part of the metamodel. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#PackageDescription + """ + + package_ID: "Short_ID_type" + """File server specific package id""" + + AAS_IDs: Optional[List["Identifier"]] + """Asset Administration Shell unique identifiers""" + + def __init__( + self, + package_ID: "Short_ID_type", + AAS_IDs: Optional[List["Identifier"]] = None, + ) -> None: + self.package_ID = package_ID + self.AAS_IDs = AAS_IDs + + +@verification +def matches_path_item(text: str) -> bool: + """ + Check that :paramref:`text` is a valid idShortPath. + + An idShortPath is a chain of idShorts or SubmodelElementList-indexes + which points to an element within a hierarchy of elements, *e.g.*, + ``sme1.sme2[0].p1``. + """ + pattern = ( + r"^(([A-Za-z][A-Za-z0-9_]+)|(\[[0-9]+\]))" + r"((\.[A-Za-z][A-Za-z0-9_]+)|(\[[0-9]+\])){0,}$" + ) + + return match(pattern, text) is not None + + +@invariant( + lambda self: matches_path_item(self), + "The value must match the pattern of a path item.", +) +class Path_item(str, DBC): + """ + A chain of idShorts or SubmodelElementList-indexes, which points to an + element within a hierarchy of elements, *e.g.*, ``sme1.sme2[0].p1``. + + The root of the path is always a submodel, and the first element is + always the idShort of a first-level submodel element within it. idShorts + are separated by a dot, while SubmodelElementList indices are written in + brackets. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#_addressing_resources + """ + + +# endregion HTTP/REST API + + +# region Metadata And Value Views + + +# NOTE (mristin): +# This region formalizes the Content=Metadata and Content=Value serialization +# views referenced by SerializationModifier's Content enumeration (see class +# Content above), specified for the individual submodel element (and submodel / +# asset administration shell) types in Part 1's mappings document. These views +# are not part of the metamodel itself; they are payload shapes defined for the +# HTTP/REST API, mirrored here from the Part 2 OpenAPI schema +# (Part2-API-Schemas/openapi.yaml) rather than from book prose, since the book +# only describes the Content enumeration in general terms and does not spell +# out each view's attributes. +# +# The *_metadata classes carry every attribute of the corresponding submodel +# element *except* its value, mirroring the OpenAPI schema's +# SubmodelElementAttributes/SubmodelElementMetadata/*Metadata composition. +# +# The *_value classes carry only the value. The ValueOnly-shaped parts of +# their content (*e.g.*, the statements of an entity), whose shape depends on +# the concrete submodel elements, are represented as open JSON objects keyed by +# ID-shorts. The Value variants which are not JSON objects themselves (a bare +# scalar, a bare array, or an open JSON object with no fixed attributes) do not +# have a class here: PropertyValue, MultiLanguagePropertyValue, +# SubmodelElementCollectionValue, SubmodelElementListValue, SubmodelValue and +# SpecificAssetIdValue. SubmodelElementValue, the union over all the Value +# variants, is not formalized either, since its alternatives can not be told +# apart on the wire without knowing the submodel element up-front (*e.g.*, +# a FileValue and a BlobValue are indistinguishable, and so are +# a SubmodelElementCollectionValue and a RangeValue with a "min" and "max" +# child). Each omission is noted where it would otherwise be expected. +# +# See: +# https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + + +@abstract +class Submodel_element_attributes( + Referable, Has_semantics, Qualifiable, Has_data_specification +): + """ + The attributes shared by all submodel elements, without their value. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + # NOTE (mristin): + # The OpenAPI schema also lists ``HasKind`` among the mixed-in classes. We + # omit it here: in Part 1, Has_kind is only used by Submodel, never by an + # individual submodel element, so including it here would introduce an + # attribute (``kind``) that no submodel element actually carries. We treat + # this as a mistake in the OpenAPI schema rather than a deliberate Part 2 + # addition. + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Referable.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + ) + + Has_semantics.__init__( + self, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + ) + + Qualifiable.__init__(self, qualifiers=qualifiers) + + Has_data_specification.__init__( + self, embedded_data_specifications=embedded_data_specifications + ) + + +@abstract +class Submodel_element_metadata(Submodel_element_attributes): + """ + The metadata of a submodel element, without its value. + + This class is not part of the metamodel and is not itself a named class + in the specification. It is the polymorphic union of all the + ``*Metadata`` classes below. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Submodel_element_attributes.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + +class Property_metadata(Submodel_element_metadata): + """ + The metadata of a :class:`Property`, without its value. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + value_type: "Data_type_def_XSD" + """The value type of the property.""" + + def __init__( + self, + value_type: "Data_type_def_XSD", + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Submodel_element_metadata.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.value_type = value_type + + +class Range_metadata(Submodel_element_metadata): + """ + The metadata of a :class:`Range`, without its value. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + value_type: "Data_type_def_XSD" + """The value type of the range.""" + + def __init__( + self, + value_type: "Data_type_def_XSD", + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Submodel_element_metadata.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.value_type = value_type + + +class Blob_metadata(Submodel_element_metadata): + """ + The metadata of a :class:`Blob`, without its value. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Submodel_element_metadata.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + +class File_metadata(Submodel_element_metadata): + """ + The metadata of a :class:`File`, without its value. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Submodel_element_metadata.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + +class Multi_language_property_metadata(Submodel_element_metadata): + """ + The metadata of a :class:`Multi_language_property`, without its value. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Submodel_element_metadata.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + +class Reference_element_metadata(Submodel_element_metadata): + """ + The metadata of a :class:`Reference_element`, without its value. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Submodel_element_metadata.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + +class Relationship_element_metadata(Submodel_element_metadata): + """ + The metadata of a :class:`Relationship_element`, without its value. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Submodel_element_metadata.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + +class Annotated_relationship_element_metadata(Submodel_element_metadata): + """ + The metadata of an :class:`Annotated_relationship_element`, without its value. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Submodel_element_metadata.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + +class Entity_metadata(Submodel_element_metadata): + """ + The metadata of an :class:`Entity`, without its value. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Submodel_element_metadata.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + +class Capability_metadata(Submodel_element_metadata): + """ + The metadata of a :class:`Capability`. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Submodel_element_metadata.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + +class Operation_metadata(Submodel_element_metadata): + """ + The metadata of an :class:`Operation`, without its input/output/inoutput variables. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Submodel_element_metadata.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + +class Submodel_element_collection_metadata(Submodel_element_metadata): + """ + The metadata of a :class:`Submodel_element_collection`, without its value. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Submodel_element_metadata.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + +class Basic_event_element_metadata(Submodel_element_metadata): + """ + The metadata of a :class:`Basic_event_element`. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + direction: "Direction" + """Direction of event.""" + + state: "State_of_event" + """State of event.""" + + message_topic: Optional["Message_topic_type"] + """Topic, to which the event's message is published.""" + + message_broker: Optional["Reference"] + """Reference to a broker where the event's message is published.""" + + last_update: Optional["Date_time_UTC"] + """Timestamp of the last update of the event.""" + + min_interval: Optional["Duration"] + """For continuous signalling, the minimum interval between two consecutive events.""" + + max_interval: Optional["Duration"] + """For continuous signalling, the maximum interval between two consecutive events.""" + + def __init__( + self, + direction: "Direction", + state: "State_of_event", + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + message_topic: Optional["Message_topic_type"] = None, + message_broker: Optional["Reference"] = None, + last_update: Optional["Date_time_UTC"] = None, + min_interval: Optional["Duration"] = None, + max_interval: Optional["Duration"] = None, + ) -> None: + Submodel_element_metadata.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.direction = direction + self.state = state + self.message_topic = message_topic + self.message_broker = message_broker + self.last_update = last_update + self.min_interval = min_interval + self.max_interval = max_interval + + +class Submodel_element_list_metadata(Submodel_element_metadata): + """ + The metadata of a :class:`Submodel_element_list`, without its value. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + order_relevant: Optional[bool] + """Defines whether order in the list is relevant.""" + + semantic_ID_list_element: Optional["Reference"] + """Semantic ID the submodel elements contained in the list match to.""" + + type_value_list_element: "AAS_submodel_elements" + """The submodel element type of the submodel elements contained in the list.""" + + value_type_list_element: Optional["Data_type_def_XSD"] + """The value type of the submodel elements contained in the list.""" + + def __init__( + self, + type_value_list_element: "AAS_submodel_elements", + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + order_relevant: Optional[bool] = None, + semantic_ID_list_element: Optional["Reference"] = None, + value_type_list_element: Optional["Data_type_def_XSD"] = None, + ) -> None: + Submodel_element_metadata.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.order_relevant = order_relevant + self.semantic_ID_list_element = semantic_ID_list_element + self.type_value_list_element = type_value_list_element + self.value_type_list_element = value_type_list_element + + +# fmt: off +@invariant( + lambda self: + not (self.qualifiers is not None) + or ( + not any( + qualifier.kind_or_default() == Qualifier_kind.Template_qualifier + for qualifier in self.qualifiers + ) or ( + self.kind_or_default() == Modelling_kind.Template + ) + ), + "Constraint AASd-119: If any qualifier kind value of a qualifiable qualifier is " + "equal to template qualifier and the qualified element has kind then the qualified " + "element shall be of kind template." +) +# fmt: on +class Submodel_metadata( + Identifiable, Has_kind, Has_semantics, Qualifiable, Has_data_specification +): + """ + The metadata of a :class:`Submodel`, without its submodel elements. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + def __init__( + self, + ID: Identifier, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + administration: Optional["Administrative_information"] = None, + kind: Optional["Modelling_kind"] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Identifiable.__init__( + self, + ID=ID, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + administration=administration, + ) + + Has_kind.__init__(self, kind=kind) + + Has_semantics.__init__( + self, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + ) + + Qualifiable.__init__(self, qualifiers=qualifiers) + + Has_data_specification.__init__( + self, embedded_data_specifications=embedded_data_specifications + ) + + +class Asset_administration_shell_metadata(Identifiable, Has_data_specification): + """ + The metadata of an :class:`Asset_administration_shell`, without its + asset information and submodel references. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + derived_from: Optional["Reference"] + """ + The reference to the Asset Administration Shell, which the Asset + Administration Shell was derived from. + """ + + def __init__( + self, + ID: Identifier, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + administration: Optional["Administrative_information"] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + derived_from: Optional["Reference"] = None, + ) -> None: + Identifiable.__init__( + self, + ID=ID, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + administration=administration, + ) + + Has_data_specification.__init__( + self, embedded_data_specifications=embedded_data_specifications + ) + + self.derived_from = derived_from + + +# NOTE (mristin): +# The *_value classes below are deliberately *not* related by inheritance, +# and none of them is used as a base class. +# +# Consequently, each is marked with @serialization(with_model_type=False): +# since none of them is part of a polymorphic hierarchy here, no "modelType" +# discriminator should be emitted for them on serialization. +# +# Several variants from the HTTP schema have no class here at all, since +# a class is always serialized as a JSON object with fixed attributes: +# +# * ``PropertyValue`` is a raw JSON string, number or boolean, not an +# object -- use :py:data:`JSONValue` where needed. +# * ``MultiLanguagePropertyValue`` is a bare JSON array of single-entry +# objects, language tag to text, not an object with fixed attributes. +# * ``SubmodelElementCollectionValue`` and ``SubmodelValue`` are +# ValueOnly-shaped JSON objects keyed by the ID-shorts of the contained +# elements -- use :class:`JSONObject` over :class:`ID_short_type` where +# needed. +# * ``SubmodelElementListValue`` is a bare JSON array of values, not an +# object. +# * ``SpecificAssetIdValue`` is a single-entry JSON object, name to value, +# so it is represented as an open JSON object in :class:`Entity_value`. +# * ``SubmodelElementValue`` is a union over all of the above, which can not +# be decided on the wire without knowing the submodel element up-front. + + +# fmt: off +@invariant( + lambda self: len(self.keys) >= 1, + "Keys must contain at least one item." +) +# fmt: on +@serialization(with_model_type=False) +class Reference_element_value(DBC): + """ + The value of a :class:`Reference_element`. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + type: "Reference_types" + """ + Type of the reference. + + Denotes whether the reference is an external reference or a model + reference. + """ + + keys: List["Key"] + """Unique references in their name space.""" + + referred_semantic_ID: Optional["Reference"] + """ + Expected :attr:`Has_semantics.semantic_ID` of the referenced model + element. + """ + + def __init__( + self, + type: "Reference_types", + keys: List["Key"], + referred_semantic_ID: Optional["Reference"] = None, + ) -> None: + self.type = type + self.keys = keys + self.referred_semantic_ID = referred_semantic_ID + + +@serialization(with_model_type=False) +class Blob_value(DBC): + """ + The value of a :class:`Blob`. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + content_type: Optional["Content_type"] + """The content type of the BLOB, *e.g.*, ``application/pdf``.""" + + value: Optional["Blob_type"] + """The BLOB content.""" + + def __init__( + self, + content_type: Optional["Content_type"] = None, + value: Optional["Blob_type"] = None, + ) -> None: + self.content_type = content_type + self.value = value + + +@serialization(with_model_type=False) +class File_value(DBC): + """ + The value of a :class:`File`. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + content_type: Optional["Content_type"] + """The content type of the file, *e.g.*, ``application/pdf``.""" + + value: Optional["Path_type"] + """The path or URL to the file content.""" + + def __init__( + self, + content_type: Optional["Content_type"] = None, + value: Optional["Path_type"] = None, + ) -> None: + self.content_type = content_type + self.value = value + + +@serialization(with_model_type=False) +class Range_value(DBC): + """ + The value of a :class:`Range`. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + min: float + """The minimum value of the range.""" + + max: float + """The maximum value of the range.""" + + def __init__(self, min: float, max: float) -> None: + self.min = min + self.max = max + + +@serialization(with_model_type=False) +class Relationship_element_value(DBC): + """ + The value of a :class:`Relationship_element`. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + first: Optional["Reference"] + """Reference to the first element in the relationship.""" + + second: Optional["Reference"] + """Reference to the second element in the relationship.""" + + def __init__( + self, + first: Optional["Reference"] = None, + second: Optional["Reference"] = None, + ) -> None: + self.first = first + self.second = second + + +@serialization(with_model_type=False) +class Basic_event_element_value(DBC): + """ + The value of a :class:`Basic_event_element`. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + observed: "Reference" + """Reference to the :class:`Referable`, which defines the scope of the event.""" + + def __init__(self, observed: "Reference") -> None: + self.observed = observed + + +@serialization(with_model_type=False) +class Annotated_relationship_element_value(DBC): + """ + The value of an :class:`Annotated_relationship_element`. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + .. note:: + + The annotations are given in the ValueOnly serialization, *i.e.*, as + a JSON object whose keys are the ID-shorts of the annotations and + whose values are the ValueOnly serializations of the annotations. + Their shape depends on the concrete data elements and can not be + pinned down statically, so they are represented as an open JSON + object. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + first: Optional["Reference"] + """Reference to the first element in the relationship.""" + + second: Optional["Reference"] + """Reference to the second element in the relationship.""" + + annotations: Optional[JSONObject["ID_short_type"]] + """Annotations which hold for the relationship between the two elements.""" + + def __init__( + self, + first: Optional["Reference"] = None, + second: Optional["Reference"] = None, + annotations: Optional[JSONObject["ID_short_type"]] = None, + ) -> None: + self.first = first + self.second = second + self.annotations = annotations + + +# NOTE (mristin): +# We follow the Part 2 OpenAPI schema (and the Part 1 ValueOnly JSON schema) +# for ``specificAssetIds``, where each item is a single-entry JSON object +# mapping the name of the specific asset ID to its value. The Part 1 prose, +# in contrast, states that the items are serialized as SpecificAssetId in +# format "Normal". +# +# fmt: off +@invariant( + lambda self: + not (self.specific_asset_IDs is not None) + or len(self.specific_asset_IDs) >= 1, + "Specific asset IDs must be either not set or have at least one item." +) +# fmt: on +@serialization(with_model_type=False) +class Entity_value(DBC): + """ + The value of an :class:`Entity`. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + .. note:: + + The statements are given in the ValueOnly serialization, *i.e.*, as + a JSON object whose keys are the ID-shorts of the statements and + whose values are the ValueOnly serializations of the statements. + Their shape depends on the concrete submodel elements and can not be + pinned down statically, so they are represented as an open JSON + object. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + """ + + entity_type: Optional["Entity_type"] + """ + Describes whether the entity is a co-managed entity or a self-managed + entity. + """ + + global_asset_ID: Optional["Identifier"] + """ + Global identifier of the asset the entity is representing. + """ + + specific_asset_IDs: Optional[List[JSONObject["Label_type"]]] + """ + Additional domain-specific, typically proprietary identifiers for the asset, + each given as a single-entry JSON object mapping + the :attr:`Specific_asset_ID.name` to the :attr:`Specific_asset_ID.value`. + """ + + statements: Optional[JSONObject["ID_short_type"]] + """ + Describes statements applicable to the entity by a set of submodel elements, + typically with a qualified value. + """ + + def __init__( + self, + entity_type: Optional["Entity_type"] = None, + global_asset_ID: Optional["Identifier"] = None, + specific_asset_IDs: Optional[List[JSONObject["Label_type"]]] = None, + statements: Optional[JSONObject["ID_short_type"]] = None, + ) -> None: + self.entity_type = entity_type + self.global_asset_ID = global_asset_ID + self.specific_asset_IDs = specific_asset_IDs + self.statements = statements + + +# endregion Metadata And Value Views + + +# region GetXxxResult Envelopes + + +# NOTE (mristin): +# Each class here is one endpoint's paginated response envelope: the +# official API composes it as PagedResult + a "result" property with a +# type specific to that endpoint. We do not model this via inheritance from +# Paged_result: doing so would give Paged_result concrete descendants, which would force +# @serialization(with_model_type=True) on it and introduce a +# "modelType" discriminator that the official API does not have anywhere +# in this family. Each class below is therefore standalone, duplicating +# paging_metadata by hand (same reasoning as for Result/ +# Base_operation_result/Operation_result above). +# +# GetSubmodelElementsValueResult and GetSubmodelsValueResult type the items +# of their "result" as ValueOnly-shaped JSON, so we represent each item as +# an open JSON object keyed by ID-shorts. +# +# Since V3.0.4 (https://github.com/admin-shell-io/aas-specs-api/pull/414), +# the OpenAPI types these results as a single JSON object instead of an array +# of items. We deliberately deviate from the OpenAPI here and follow BaSyx Go +# (https://github.com/eclipse-basyx/basyx-go-components), which keeps both +# results as arrays, as did the OpenAPI up to V3.0.3, all the other GetXxxResult +# schemas, and the prose of the specification (cardinality 0..* of result). +# +# In particular, a single SubmodelValue can not hold a page of several +# submodels, since the ValueOnly serialization carries no identifier of +# the submodel, and the ID-shorts may repeat across the submodels. Each item +# of the result of GetSubmodelElementsValueResult is a JSON object with +# a single key, the ID-short of the submodel element, so that the ID-short is +# not lost, as it would be for a bare PropertyValue. +# +# We therefore suspect this to be a bug in the OpenAPI. The change in V3.0.4 +# refers to https://github.com/admin-shell-io/aas-specs-api/issues/251, +# which only concerns removing the wrapping "submodelElements" from +# SubmodelValue, and not the paging. +# +# See: +# https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + + +class Get_asset_administration_shells_result(DBC): + """ + The result of listing all Asset Administration Shells. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + """ + + paging_metadata: Annotated["Paging_metadata", json_name("paging_metadata")] + """ + Additional information for the client to, *e.g.*, fetch the next part of + the result set. + """ + + result: Optional[List["Asset_administration_shell"]] + """The returned items.""" + + def __init__( + self, + paging_metadata: "Paging_metadata", + result: Optional[List["Asset_administration_shell"]] = None, + ) -> None: + self.paging_metadata = paging_metadata + self.result = result + + +class Get_asset_administration_shells_metadata_result(DBC): + """ + The result of listing the metadata of all Asset Administration Shells. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + """ + + paging_metadata: Annotated["Paging_metadata", json_name("paging_metadata")] + """ + Additional information for the client to, *e.g.*, fetch the next part of + the result set. + """ + + result: Optional[List["Asset_administration_shell_metadata"]] + """The returned items.""" + + def __init__( + self, + paging_metadata: "Paging_metadata", + result: Optional[List["Asset_administration_shell_metadata"]] = None, + ) -> None: + self.paging_metadata = paging_metadata + self.result = result + + +class Get_all_asset_administration_shells_recent_changes_result(DBC): + """ + The result of listing the recent changes of all Asset Administration Shells. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + """ + + paging_metadata: Annotated["Paging_metadata", json_name("paging_metadata")] + """ + Additional information for the client to, *e.g.*, fetch the next part of + the result set. + """ + + result: Optional[List["Asset_administration_shell_recent_change"]] + """The returned items.""" + + def __init__( + self, + paging_metadata: "Paging_metadata", + result: Optional[List["Asset_administration_shell_recent_change"]] = None, + ) -> None: + self.paging_metadata = paging_metadata + self.result = result + + +class Get_asset_administration_shell_descriptors_result(DBC): + """ + The result of listing all Asset Administration Shell descriptors. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + """ + + paging_metadata: Annotated["Paging_metadata", json_name("paging_metadata")] + """ + Additional information for the client to, *e.g.*, fetch the next part of + the result set. + """ + + result: Optional[List["Asset_administration_shell_descriptor"]] + """The returned items.""" + + def __init__( + self, + paging_metadata: "Paging_metadata", + result: Optional[List["Asset_administration_shell_descriptor"]] = None, + ) -> None: + self.paging_metadata = paging_metadata + self.result = result + + +class Get_concept_descriptions_result(DBC): + """ + The result of listing all concept descriptions. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + """ + + paging_metadata: Annotated["Paging_metadata", json_name("paging_metadata")] + """ + Additional information for the client to, *e.g.*, fetch the next part of + the result set. + """ + + result: Optional[List["Concept_description"]] + """The returned items.""" + + def __init__( + self, + paging_metadata: "Paging_metadata", + result: Optional[List["Concept_description"]] = None, + ) -> None: + self.paging_metadata = paging_metadata + self.result = result + + +class Get_all_concept_descriptions_recent_changes_result(DBC): + """ + The result of listing the recent changes of all concept descriptions. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + """ + + paging_metadata: Annotated["Paging_metadata", json_name("paging_metadata")] + """ + Additional information for the client to, *e.g.*, fetch the next part of + the result set. + """ + + result: Optional[List["Concept_description_recent_change"]] + """The returned items.""" + + def __init__( + self, + paging_metadata: "Paging_metadata", + result: Optional[List["Concept_description_recent_change"]] = None, + ) -> None: + self.paging_metadata = paging_metadata + self.result = result + + +class Get_package_descriptions_result(DBC): + """ + The result of listing all AASX package descriptions. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + """ + + paging_metadata: Annotated["Paging_metadata", json_name("paging_metadata")] + """ + Additional information for the client to, *e.g.*, fetch the next part of + the result set. + """ + + result: Optional[List["Package_description"]] + """The returned items.""" + + def __init__( + self, + paging_metadata: "Paging_metadata", + result: Optional[List["Package_description"]] = None, + ) -> None: + self.paging_metadata = paging_metadata + self.result = result + + +class Get_path_items_result(DBC): + """ + The result of listing idShortPaths. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + """ + + paging_metadata: Annotated["Paging_metadata", json_name("paging_metadata")] + """ + Additional information for the client to, *e.g.*, fetch the next part of + the result set. + """ + + result: Optional[List["Path_item"]] + """The returned items.""" + + def __init__( + self, + paging_metadata: "Paging_metadata", + result: Optional[List["Path_item"]] = None, + ) -> None: + self.paging_metadata = paging_metadata + self.result = result + + +class Get_references_result(DBC): + """ + The result of listing references. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + """ + + paging_metadata: Annotated["Paging_metadata", json_name("paging_metadata")] + """ + Additional information for the client to, *e.g.*, fetch the next part of + the result set. + """ + + result: Optional[List["Reference"]] + """The returned items.""" + + def __init__( + self, + paging_metadata: "Paging_metadata", + result: Optional[List["Reference"]] = None, + ) -> None: + self.paging_metadata = paging_metadata + self.result = result + + +class Get_submodel_descriptors_result(DBC): + """ + The result of listing all submodel descriptors. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + """ + + paging_metadata: Annotated["Paging_metadata", json_name("paging_metadata")] + """ + Additional information for the client to, *e.g.*, fetch the next part of + the result set. + """ + + result: Optional[List["Submodel_descriptor"]] + """The returned items.""" + + def __init__( + self, + paging_metadata: "Paging_metadata", + result: Optional[List["Submodel_descriptor"]] = None, + ) -> None: + self.paging_metadata = paging_metadata + self.result = result + + +class Get_submodel_elements_metadata_result(DBC): + """ + The result of listing the metadata of all submodel elements. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + """ + + paging_metadata: Annotated["Paging_metadata", json_name("paging_metadata")] + """ + Additional information for the client to, *e.g.*, fetch the next part of + the result set. + """ + + result: Optional[List["Submodel_element_metadata"]] + """The returned items.""" + + def __init__( + self, + paging_metadata: "Paging_metadata", + result: Optional[List["Submodel_element_metadata"]] = None, + ) -> None: + self.paging_metadata = paging_metadata + self.result = result + + +# fmt: off +@invariant( + lambda self: + not (self.result is not None) + or all( + item.ID_short is not None + for item in self.result + ), + "ID-shorts need to be defined for all the items of result according to " + "AASd-117 (ID-short of non-identifiable Referables not being a direct child of " + "a Submodel element list shall be specified)." +) +# fmt: on +class Get_submodel_elements_result(DBC): + """ + The result of listing all submodel elements. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + """ + + paging_metadata: Annotated["Paging_metadata", json_name("paging_metadata")] + """ + Additional information for the client to, *e.g.*, fetch the next part of + the result set. + """ + + result: Optional[List["Submodel_element"]] + """The returned items.""" + + def __init__( + self, + paging_metadata: "Paging_metadata", + result: Optional[List["Submodel_element"]] = None, + ) -> None: + self.paging_metadata = paging_metadata + self.result = result + + +class Get_submodel_elements_value_result(DBC): + """ + The result of listing the submodel elements in the ValueOnly notation. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + .. note:: + + Each item of the result is a submodel element given in the ValueOnly + serialization, *i.e.*, as a JSON object with a single key, the ID-short + of the submodel element, whose value is its ValueOnly serialization. + The shape of the value depends on the concrete submodel element and + can not be pinned down statically, so each item is represented as + an open JSON object. + + Unlike the OpenAPI schema, which types the result as a single JSON + object since V3.0.4, we follow BaSyx Go and represent the result as + an array of items. We suspect the OpenAPI schema to be buggy here. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + """ + + paging_metadata: Annotated["Paging_metadata", json_name("paging_metadata")] + """ + Additional information for the client to, *e.g.*, fetch the next part of + the result set. + """ + + result: Optional[List[JSONObject["ID_short_type"]]] + """The returned items.""" + + def __init__( + self, + paging_metadata: "Paging_metadata", + result: Optional[List[JSONObject["ID_short_type"]]] = None, + ) -> None: + self.paging_metadata = paging_metadata + self.result = result + + +class Get_all_submodels_recent_changes_result(DBC): + """ + The result of listing the recent changes of all submodels. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + """ + + paging_metadata: Annotated["Paging_metadata", json_name("paging_metadata")] + """ + Additional information for the client to, *e.g.*, fetch the next part of + the result set. + """ + + result: Optional[List["Submodel_recent_change"]] + """The returned items.""" + + def __init__( + self, + paging_metadata: "Paging_metadata", + result: Optional[List["Submodel_recent_change"]] = None, + ) -> None: + self.paging_metadata = paging_metadata + self.result = result + + +class Get_submodels_metadata_result(DBC): + """ + The result of listing the metadata of all submodels. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + """ + + paging_metadata: Annotated["Paging_metadata", json_name("paging_metadata")] + """ + Additional information for the client to, *e.g.*, fetch the next part of + the result set. + """ + + result: Optional[List["Submodel_metadata"]] + """The returned items.""" + + def __init__( + self, + paging_metadata: "Paging_metadata", + result: Optional[List["Submodel_metadata"]] = None, + ) -> None: + self.paging_metadata = paging_metadata + self.result = result + + +class Get_submodels_result(DBC): + """ + The result of listing all submodels. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + """ + + paging_metadata: Annotated["Paging_metadata", json_name("paging_metadata")] + """ + Additional information for the client to, *e.g.*, fetch the next part of + the result set. + """ + + result: Optional[List["Submodel"]] + """The returned items.""" + + def __init__( + self, + paging_metadata: "Paging_metadata", + result: Optional[List["Submodel"]] = None, + ) -> None: + self.paging_metadata = paging_metadata + self.result = result + + +class Get_submodels_value_result(DBC): + """ + The result of listing the submodels in the ValueOnly notation. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + .. note:: + + Each item of the result is a submodel given in the ValueOnly + serialization, *i.e.*, as a JSON object whose keys are the ID-shorts + of the submodel elements and whose values are their ValueOnly + serializations. Their shape depends on the concrete submodel elements + and can not be pinned down statically, so each item is represented + as an open JSON object. + + Unlike the OpenAPI schema, which types the result as a single + SubmodelValue since V3.0.4, we follow BaSyx Go and represent + the result as an array of items. We suspect the OpenAPI schema to be + buggy here. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + """ + + paging_metadata: Annotated["Paging_metadata", json_name("paging_metadata")] + """ + Additional information for the client to, *e.g.*, fetch the next part of + the result set. + """ + + result: Optional[List[JSONObject["ID_short_type"]]] + """The returned items.""" + + def __init__( + self, + paging_metadata: "Paging_metadata", + result: Optional[List[JSONObject["ID_short_type"]]] = None, + ) -> None: + self.paging_metadata = paging_metadata + self.result = result + + +# endregion GetXxxResult Envelopes + + +# region AAS Query Language + + +# NOTE (mristin): +# This region formalizes the JSON serialization of the AAS Query Language +# following the normative JSON schema given in the specification, see: +# https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema +# +# The copy of the schema in the Part 2 OpenAPI schema +# (Part2-API-Schemas/openapi.yaml) is less strict: it does not constrain +# the ``REFERENCE`` attribute by a pattern, and it does not require +# the non-field operands of a comparison to be of the same type. +# +# The language is also shared with the AAS Access Rules of Part 4 +# (IDTA-01004), but we formalize here only the part which is accepted as +# a query. +# +# The schema represents each expression as a JSON object with exactly +# one of many possible properties (*e.g.*, ``{"$and": [...]}``, +# ``{"$eq": [...]}``). We model each such alternative as a separate class +# with a single required property, and group the alternatives in named unions +# (*e.g.*, :py:data:`Logical_expression` or :py:data:`Value`). Since the +# required properties of the alternatives within a union are pairwise +# distinct, the alternatives can be told apart on the wire by the property +# alone, so no ``modelType`` discriminator is needed. +# +# The schema types each comparison by the type of its operands (*e.g.*, +# ``numericalComparisonItems`` or ``stringItems``). As the operator (*e.g.*, +# ``$eq``) is the same JSON property for all the operand types, we can not +# dispatch on the operand types statically. Hence, we represent the operands +# of the overloaded comparisons (``$eq``, ``$ne``, ``$gt``, ``$ge``, ``$lt`` +# and ``$le``) as a pair of any :py:data:`Value`, and check the types of +# the operands in the invariants (see :func:`are_equality_comparable` and +# :func:`are_order_comparable`). +# +# We deviate from the schema in the following points: +# +# * In ``$timeCast``, the schema allows either a ``stringValue`` or +# a ``dateTimeOperand``. Both allow an ``$attribute`` alternative, and +# ``dateTimeAttributeItem`` is a subset of ``attributeItem``. We therefore +# leave out :class:`Date_time_attribute_operand` in +# :py:data:`Time_cast_operand` so that the ``$attribute`` alternative remains +# decidable, and a date-time attribute is covered by +# :class:`Attribute_operand`. +# +# * The schema limits the identifier in a ``REFERENCE`` attribute to 2048 +# characters with a bounded repetition (``{1,2048}``) in the pattern. We +# use an unbounded repetition (``+``) in :func:`matches_reference_identifier` +# instead, since such a large bound is not supported by all the regular +# expression engines (*e.g.*, the one of Go limits the repetition to 1000). +# +# The query results (``QueryResultAssetAdministrationShell``, +# ``QueryResultSubmodel`` *etc.*) are not formalized here, since their +# ``result`` items are either an object or a plain string (depending on +# ``$select``), which can not be represented as a named union of classes. +# +# See: +# https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html + + +@verification +def matches_field_identifier(text: str) -> bool: + """ + Check that :paramref:`text` is a valid field identifier of the query language. + + A field identifier starts with a root (``$aas``, ``$sm``, ``$sme``, ``$cd``, + ``$aasdesc`` or ``$smdesc``), optionally followed by an idShortPath in case + of ``$sme``, and ends with an attribute declaration after ``#``, *e.g.*, + ``$sme.someCollection.someProperty#value``. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#query-grammar + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + array_index = "(0|[1-9][0-9]*)" + optional_index = f"\\[{array_index}?\\]" + reference_clause = f"(type|keys{optional_index}\\.(type|value))" + semantic_id_clause = f"semanticId(\\.{reference_clause})?" + supplemental_semantic_id_clause = ( + f"supplementalSemanticIds({optional_index})?(\\.{reference_clause})?" + ) + specific_asset_ids_clause = ( + f"specificAssetIds{optional_index}" + f"\\.(name|value|externalSubjectId(\\.{reference_clause})?)" + ) + endpoint_clause = ( + f"endpoints{optional_index}\\.(interface|protocolinformation\\.href)" + ) + sm_descriptor_clause = ( + f"({semantic_id_clause}|{supplemental_semantic_id_clause}" + f"|idShort|id|{endpoint_clause})" + ) + id_short = "[A-Za-z]([A-Za-z0-9_-]*[A-Za-z0-9_])?" + id_short_path_segment = f"{id_short}({optional_index})*" + id_short_path = f"{id_short_path_segment}(\\.{id_short_path_segment})*" + + fields_aas = ( + f"(idShort|id|assetInformation\\.assetKind|assetInformation\\.assetType" + f"|assetInformation\\.globalAssetId" + f"|assetInformation\\.{specific_asset_ids_clause}" + f"|submodels{optional_index}(\\.{reference_clause})?)" + ) + fields_sm = f"({semantic_id_clause}|{supplemental_semantic_id_clause}|idShort|id)" + fields_sme = ( + f"({semantic_id_clause}|{supplemental_semantic_id_clause}" + f"|idShort|value|valueType|language)" + ) + fields_cd = "(idShort|id)" + fields_aas_descriptor = ( + f"(idShort|id|assetKind|assetType|globalAssetId" + f"|{specific_asset_ids_clause}|{endpoint_clause}" + f"|submodelDescriptors{optional_index}\\.{sm_descriptor_clause})" + ) + + pattern = ( + f"^(\\$aas#{fields_aas}" + f"|\\$sm#{fields_sm}" + f"|\\$sme(\\.{id_short_path})?#{fields_sme}" + f"|\\$cd#{fields_cd}" + f"|\\$aasdesc#{fields_aas_descriptor}" + f"|\\$smdesc#{sm_descriptor_clause})$" + ) + + return match(pattern, text) is not None + + +@invariant( + lambda self: matches_field_identifier(self), + "The value must match the pattern of a field identifier.", +) +class Field_identifier(str, DBC): + """ + Identify a field whose value is compared in a query, *e.g.*, + ``$aas#assetInformation.assetKind`` or ``$sme.someProperty#value``. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#query-grammar + """ + + +@verification +def matches_fragment_field_identifier(text: str) -> bool: + """ + Check that :paramref:`text` is a valid fragment field identifier. + + A fragment field identifier points to the part of the returned data which + should be filtered, *e.g.*, ``$aas#assetInformation.specificAssetIds[]`` + or ``$sme.someCollection``. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#query-grammar + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + array_index = "(0|[1-9][0-9]*)" + optional_index = f"\\[{array_index}?\\]" + reference_clause = f"keys({optional_index})?" + semantic_id_clause = f"semanticId(\\.{reference_clause})?" + supplemental_semantic_id_clause = ( + f"supplementalSemanticIds({optional_index}(\\.{reference_clause})?)?" + ) + specific_asset_ids_clause = ( + f"specificAssetIds({optional_index}" + f"(\\.externalSubjectId(\\.{reference_clause})?)?)?" + ) + submodels_clause = f"submodels({optional_index}(\\.{reference_clause})?)?" + endpoint_clause = f"endpoints({optional_index})?" + sm_descriptor_clause = ( + f"({semantic_id_clause}|{supplemental_semantic_id_clause}" + f"|idShort|{endpoint_clause})" + ) + submodel_descriptors_clause = ( + f"submodelDescriptors({optional_index}(\\.{sm_descriptor_clause})?)?" + ) + id_short = "[A-Za-z]([A-Za-z0-9_-]*[A-Za-z0-9_])?" + id_short_path_segment = f"{id_short}({optional_index})*" + id_short_path = f"{id_short_path_segment}(\\.{id_short_path_segment})*" + + fields_aas = ( + f"(idShort|assetInformation\\.assetType|assetInformation\\.globalAssetId" + f"|assetInformation\\.{specific_asset_ids_clause}|{submodels_clause})" + ) + fields_sm = f"({semantic_id_clause}|{supplemental_semantic_id_clause}|idShort)" + fields_sme = ( + f"({semantic_id_clause}|{supplemental_semantic_id_clause}" + f"|idShort|value|valueType|language)" + ) + fields_aas_descriptor = ( + f"(idShort|description|displayName|extension|administration" + f"|assetKind|assetType|globalAssetId|{specific_asset_ids_clause}" + f"|{endpoint_clause}|{submodel_descriptors_clause})" + ) + + pattern = ( + f"^(\\$aas#{fields_aas}" + f"|\\$sm#{fields_sm}" + f"|\\$sme(\\.{id_short_path})?(#{fields_sme})?" + f"|\\$cd#idShort" + f"|\\$aasdesc#{fields_aas_descriptor}" + f"|\\$smdesc#{sm_descriptor_clause})$" + ) + + return match(pattern, text) is not None + + +@invariant( + lambda self: matches_fragment_field_identifier(self), + "The value must match the pattern of a fragment field identifier.", +) +class Fragment_field_identifier(str, DBC): + """ + Identify the part of the returned data to which a query filter applies, + *e.g.*, ``$aas#assetInformation.specificAssetIds[]``. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#query-grammar + """ + + +@invariant( + lambda self: len(self) >= 1, + "The value must have at least one character.", +) +class Standard_string(str, DBC): + """ + Represent a string literal in a query with at least one character. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#query-grammar + """ + + +@verification +def matches_hex_literal(text: str) -> bool: + """ + Check that :paramref:`text` is a valid hexadecimal literal of the query language. + + A hexadecimal literal is prefixed with ``16#``, *e.g.*, ``16#1F``. + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + pattern = "^16#[0-9A-F]+$" + + return match(pattern, text) is not None + + +@invariant( + lambda self: matches_hex_literal(self), + "The value must match the pattern of a hexadecimal literal.", +) +class Hex_literal_type(str, DBC): + """ + Represent a hexadecimal literal in a query, *e.g.*, ``16#1F``. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#query-grammar + """ + + +@verification +def matches_date_time_literal(text: str) -> bool: + """ + Check that :paramref:`text` is a valid date-time literal of the query language. + + A date-time literal is a valid calendar date, followed by an optional ``T`` + separator, the time and an optional time zone, *e.g.*, + ``2024-02-29T12:00:00Z``. + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + digit = "[0-9]" + month_with_31_days = f"(0[13578]|1[02])-(0[1-9]|[12]{digit}|3[01])" + month_with_30_days = f"(0[469]|11)-(0[1-9]|[12]{digit}|30)" + february = f"02-(0[1-9]|1{digit}|2[0-8])" + common_date = f"{digit}{{4}}-({month_with_31_days}|{month_with_30_days}|{february})" + leap_year = ( + f"({digit}{{2}}(0[48]|[2468][048]|[13579][26])" + f"|([02468][048]|[13579][26])00)" + ) + leap_day = f"{leap_year}-02-29" + time = ( + f"(([01]{digit}|2[0-3]):[0-5]{digit}(:[0-5]{digit})?(\\.{digit}+)?" + f"|24:00(:00)?(\\.0+)?)" + ) + timezone = f"(Z|[+-]((0{digit}|1[0-3]):[0-5]{digit}|14:00))" + + pattern = f"^(({common_date})|({leap_day}))T?{time}{timezone}?$" + + return match(pattern, text) is not None + + +@invariant( + lambda self: matches_date_time_literal(self), + "The value must match the pattern of a date-time literal.", +) +class Date_time_literal_type(str, DBC): + """ + Represent a date-time literal in a query, *e.g.*, ``2024-02-29T12:00:00Z``. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#casting + """ + + +@verification +def matches_time_literal(text: str) -> bool: + """ + Check that :paramref:`text` is a valid time literal of the query language. + + A time literal is given as ``HH:MM``, ``HH:MM:SS``, optionally with + fractional seconds and an optional time zone, *e.g.*, ``12:00:00+01:00``. + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + digit = "[0-9]" + time = ( + f"(([01]{digit}|2[0-3]):[0-5]{digit}(:[0-5]{digit})?(\\.{digit}+)?" + f"|24:00(:00)?(\\.0+)?)" + ) + timezone = f"(Z|[+-]((0{digit}|1[0-3]):[0-5]{digit}|14:00))" + + pattern = f"^{time}{timezone}?$" + + return match(pattern, text) is not None + + +@invariant( + lambda self: matches_time_literal(self), + "The value must match the pattern of a time literal.", +) +class Time_literal_type(str, DBC): + """ + Represent a time literal in a query, *e.g.*, ``12:00:00+01:00``. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#casting + """ + + +@verification +def matches_reference_identifier(text: str) -> bool: + """ + Check that :paramref:`text` is a valid reference identifier. + + A reference identifier points to an attribute of a specific instance given + by its identifier, *e.g.*, ``$sm("https://example.com/sm")#idShort`` or + ``$sme("https://example.com/sm").someProperty#value``. A quotation mark and + a reverse solidus in the identifier are escaped as ``\\"`` and ``\\\\``, + respectively. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#query-grammar + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + array_index = "(0|[1-9][0-9]*)" + optional_index = f"\\[{array_index}?\\]" + reference_clause = f"(type|keys{optional_index}\\.(type|value))" + semantic_id_clause = f"semanticId(\\.{reference_clause})?" + supplemental_semantic_id_clause = ( + f"supplementalSemanticIds({optional_index})?(\\.{reference_clause})?" + ) + specific_asset_ids_clause = ( + f"specificAssetIds{optional_index}" + f"\\.(name|value|externalSubjectId(\\.{reference_clause})?)" + ) + id_short = "[A-Za-z]([A-Za-z0-9_-]*[A-Za-z0-9_])?" + id_short_path_segment = f"{id_short}({optional_index})*" + id_short_path = f"{id_short_path_segment}(\\.{id_short_path_segment})*" + + # NOTE (mristin): + # The identifier is limited to the characters of an XML-serializable + # string, where the quotation mark and the reverse solidus need to be + # escaped. + # noinspection SpellCheckingInspection + identifier_character = ( + r"([\x09\x0A\x0D\x20-\x21\x23-\x5B\x5D-\uD7FF\uE000-\uFFFD" + r'\U00010000-\U0010FFFF]|\\["\\])' + ) + identifier_instance = f'\\("{identifier_character}+"\\)' + + fields_aas = ( + f"(idShort|id|assetInformation\\.assetKind|assetInformation\\.assetType" + f"|assetInformation\\.globalAssetId" + f"|assetInformation\\.{specific_asset_ids_clause}" + f"|submodels{optional_index}(\\.{reference_clause})?)" + ) + fields_sm = f"({semantic_id_clause}|{supplemental_semantic_id_clause}|idShort|id)" + fields_sme = ( + f"({semantic_id_clause}|{supplemental_semantic_id_clause}" + f"|idShort|value|valueType|language)" + ) + + pattern = ( + f"^(\\$aas{identifier_instance}#{fields_aas}" + f"|\\$sm{identifier_instance}#{fields_sm}" + f"|\\$cd{identifier_instance}#(idShort|id)" + f"|\\$sme{identifier_instance}\\.{id_short_path}#{fields_sme})$" + ) + + return match(pattern, text) is not None + + +@invariant( + lambda self: matches_reference_identifier(self), + "The value must match the pattern of a reference identifier.", +) +class Reference_identifier(str, DBC): + """ + Identify an attribute of a specific instance, *e.g.*, + ``$sm("https://example.com/sm")#idShort``. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#query-grammar + """ + + +class Global_attribute_kind(Enum): + """ + Enumerate the global attributes which can be used in a query. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#query-grammar + """ + + Local_now = "LOCALNOW" + """The current date and time in the local time zone of the server""" + + UTC_now = "UTCNOW" + """The current date and time in UTC""" + + Client_now = "CLIENTNOW" + """The current date and time of the client""" + + Anonymous = "ANONYMOUS" + """The anonymous user, *i.e.*, a request without authentication""" + + +class Date_time_global_attribute_kind(Enum): + """ + Enumerate the global attributes which can be used as a date-time operand + in a query. + + This is a subset of :class:`Global_attribute_kind`. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#query-grammar + """ + + Local_now = "LOCALNOW" + """The current date and time in the local time zone of the server""" + + UTC_now = "UTCNOW" + """The current date and time in UTC""" + + Client_now = "CLIENTNOW" + """The current date and time of the client""" + + +class Claim_attribute(DBC): + """ + Refer to a claim of the requester, *e.g.*, from an access token. + + This class is not part of the metamodel and is not itself a named class + in the specification. + """ + + claim: Annotated[str, json_name("CLAIM")] + """Name of the claim""" + + def __init__(self, claim: str) -> None: + self.claim = claim + + +class Global_attribute(DBC): + """ + Refer to a global attribute such as the current time. + + This class is not part of the metamodel and is not itself a named class + in the specification. + """ + + kind: Annotated["Global_attribute_kind", json_name("GLOBAL")] + """Kind of the global attribute""" + + def __init__(self, kind: "Global_attribute_kind") -> None: + self.kind = kind + + +class Reference_attribute(DBC): + """ + Refer to an attribute of a specific AAS element. + + This class is not part of the metamodel and is not itself a named class + in the specification. + """ + + reference: Annotated["Reference_identifier", json_name("REFERENCE")] + """Reference to the attribute""" + + def __init__(self, reference: "Reference_identifier") -> None: + self.reference = reference + + +class Date_time_attribute_item(DBC): + """ + Refer to a global attribute which gives a date and time. + + This class is not part of the metamodel and is not itself a named class + in the specification. + """ + + kind: Annotated["Date_time_global_attribute_kind", json_name("GLOBAL")] + """Kind of the global attribute""" + + def __init__(self, kind: "Date_time_global_attribute_kind") -> None: + self.kind = kind + + +class Field_operand(DBC): + """ + Use the value of a field as an operand. + + This class is not part of the metamodel and is not itself a named class + in the specification. + """ + + field: Annotated["Field_identifier", json_name("$field")] + """Identifier of the field""" + + def __init__(self, field: "Field_identifier") -> None: + self.field = field + + +class String_literal(DBC): + """ + Use a string literal as an operand. + + This class is not part of the metamodel and is not itself a named class + in the specification. + """ + + str_val: Annotated["Standard_string", json_name("$strVal")] + """The string value""" + + def __init__(self, str_val: "Standard_string") -> None: + self.str_val = str_val + + +class Attribute_operand(DBC): + """ + Use an attribute as an operand. + + This class is not part of the metamodel and is not itself a named class + in the specification. + """ + + attribute: Annotated["Attribute_item", json_name("$attribute")] + """The attribute""" + + def __init__(self, attribute: "Attribute_item") -> None: + self.attribute = attribute + + +class Number_literal(DBC): + """ + Use a number literal as an operand. + + This class is not part of the metamodel and is not itself a named class + in the specification. + """ + + num_val: Annotated[float, json_name("$numVal")] + """The numerical value""" + + def __init__(self, num_val: float) -> None: + self.num_val = num_val + + +class Hex_literal(DBC): + """ + Use a hexadecimal literal as an operand. + + This class is not part of the metamodel and is not itself a named class + in the specification. + """ + + hex_val: Annotated["Hex_literal_type", json_name("$hexVal")] + """The hexadecimal value""" + + def __init__(self, hex_val: "Hex_literal_type") -> None: + self.hex_val = hex_val + + +class Date_time_literal(DBC): + """ + Use a date-time literal as an operand. + + This class is not part of the metamodel and is not itself a named class + in the specification. + """ + + date_time_val: Annotated["Date_time_literal_type", json_name("$dateTimeVal")] + """The date-time value""" + + def __init__(self, date_time_val: "Date_time_literal_type") -> None: + self.date_time_val = date_time_val + + +class Time_literal(DBC): + """ + Use a time literal as an operand. + + This class is not part of the metamodel and is not itself a named class + in the specification. + """ + + time_val: Annotated["Time_literal_type", json_name("$timeVal")] + """The time value""" + + def __init__(self, time_val: "Time_literal_type") -> None: + self.time_val = time_val + + +class Boolean_literal(DBC): + """ + Use a boolean literal as an operand or as a logical expression. + + This class is not part of the metamodel and is not itself a named class + in the specification. + """ + + boolean: Annotated[bool, json_name("$boolean")] + """The boolean value""" + + def __init__(self, boolean: bool) -> None: + self.boolean = boolean + + +class String_cast(DBC): + """ + Cast the operand to ``xs:string``. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#casting + """ + + str_cast: Annotated["Value", json_name("$strCast")] + """The operand to be cast""" + + def __init__(self, str_cast: "Value") -> None: + self.str_cast = str_cast + + +class Number_cast(DBC): + """ + Cast the operand to a number. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#casting + """ + + num_cast: Annotated["Value", json_name("$numCast")] + """The operand to be cast""" + + def __init__(self, num_cast: "Value") -> None: + self.num_cast = num_cast + + +class Hex_cast(DBC): + """ + Cast the operand to ``xs:hexBinary``. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#casting + """ + + hex_cast: Annotated["Value", json_name("$hexCast")] + """The operand to be cast""" + + def __init__(self, hex_cast: "Value") -> None: + self.hex_cast = hex_cast + + +class Boolean_cast(DBC): + """ + Cast the operand to ``xs:boolean``. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#casting + """ + + bool_cast: Annotated["Value", json_name("$boolCast")] + """The operand to be cast""" + + def __init__(self, bool_cast: "Value") -> None: + self.bool_cast = bool_cast + + +class Date_time_cast(DBC): + """ + Cast the string operand to ``xs:dateTime``. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#casting + """ + + date_time_cast: Annotated["String_value", json_name("$dateTimeCast")] + """The operand to be cast""" + + def __init__(self, date_time_cast: "String_value") -> None: + self.date_time_cast = date_time_cast + + +class Time_cast(DBC): + """ + Cast the string or date-time operand to ``xs:time``. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#casting + """ + + time_cast: Annotated["Time_cast_operand", json_name("$timeCast")] + """The operand to be cast""" + + def __init__(self, time_cast: "Time_cast_operand") -> None: + self.time_cast = time_cast + + +class Day_of_week(DBC): + """ + Extract the day of the week from the date-time operand as a number. + + This class is not part of the metamodel and is not itself a named class + in the specification. + """ + + day_of_week: Annotated["Date_time_operand", json_name("$dayOfWeek")] + """The date-time operand""" + + def __init__(self, day_of_week: "Date_time_operand") -> None: + self.day_of_week = day_of_week + + +class Day_of_month(DBC): + """ + Extract the day of the month from the date-time operand as a number. + + This class is not part of the metamodel and is not itself a named class + in the specification. + """ + + day_of_month: Annotated["Date_time_operand", json_name("$dayOfMonth")] + """The date-time operand""" + + def __init__(self, day_of_month: "Date_time_operand") -> None: + self.day_of_month = day_of_month + + +class Month(DBC): + """ + Extract the month from the date-time operand as a number. + + This class is not part of the metamodel and is not itself a named class + in the specification. + """ + + month: Annotated["Date_time_operand", json_name("$month")] + """The date-time operand""" + + def __init__(self, month: "Date_time_operand") -> None: + self.month = month + + +class Year(DBC): + """ + Extract the year from the date-time operand as a number. + + This class is not part of the metamodel and is not itself a named class + in the specification. + """ + + year: Annotated["Date_time_operand", json_name("$year")] + """The date-time operand""" + + def __init__(self, year: "Date_time_operand") -> None: + self.year = year + + +class Date_time_attribute_operand(DBC): + """ + Use a date-time global attribute as an operand. + + This class is not part of the metamodel and is not itself a named class + in the specification. + """ + + attribute: Annotated["Date_time_attribute_item", json_name("$attribute")] + """The attribute""" + + def __init__(self, attribute: "Date_time_attribute_item") -> None: + self.attribute = attribute + + +@verification +def _can_be_of_type(value: "Value", value_type: str) -> bool: + """ + Check that :paramref:`value` can be used as an operand of :paramref:`value_type`. + + Following the normative JSON schema of the query language, a field is + implicitly cast to the type of the other operand, and can hence be used as + an operand of any type. A global attribute giving a date and time + (``LOCALNOW``, ``UTCNOW`` or ``CLIENTNOW``) can be used both as a string and + as a date-time, while all the other attributes are strings. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + + :param value: Operand of a comparison + :param value_type: + One of ``string``, ``number``, ``hex``, ``boolean``, ``date_time`` + or ``time`` + :returns: True if :paramref:`value` can be used as :paramref:`value_type` + """ + if isinstance(value, Field_operand): + return True + + if isinstance(value, Attribute_operand): + if value_type == "string": + return True + + attribute = value.attribute + return ( + value_type == "date_time" + and isinstance(attribute, Global_attribute) + and ( + attribute.kind == Global_attribute_kind.Local_now + or attribute.kind == Global_attribute_kind.UTC_now + or attribute.kind == Global_attribute_kind.Client_now + ) + ) + + if isinstance(value, (String_literal, String_cast)): + return value_type == "string" + + if isinstance( + value, + (Number_literal, Number_cast, Day_of_week, Day_of_month, Month, Year), + ): + return value_type == "number" + + if isinstance(value, (Hex_literal, Hex_cast)): + return value_type == "hex" + + if isinstance(value, (Boolean_literal, Boolean_cast)): + return value_type == "boolean" + + if isinstance(value, (Date_time_literal, Date_time_cast)): + return value_type == "date_time" + + if isinstance(value, (Time_literal, Time_cast)): + return value_type == "time" + + return False + + +@verification +def are_equality_comparable(left: "Value", right: "Value") -> bool: + """ + Check that :paramref:`left` and :paramref:`right` can be compared for + (in)equality. + + Following the normative JSON schema of the query language, the two operands + need to be of the same type: a string, a number, a hexadecimal, a boolean, + a date-time or a time. A field is implicitly cast to the type of the other + operand, and can hence be compared with an operand of any type. A global + attribute giving a date and time (``LOCALNOW``, ``UTCNOW`` or ``CLIENTNOW``) + can be used both as a string and as a date-time. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + + :param left: First operand of the comparison + :param right: Second operand of the comparison + :returns: True if the operands can be compared for (in)equality + """ + return ( + (_can_be_of_type(left, "string") and _can_be_of_type(right, "string")) + or (_can_be_of_type(left, "number") and _can_be_of_type(right, "number")) + or (_can_be_of_type(left, "hex") and _can_be_of_type(right, "hex")) + or (_can_be_of_type(left, "boolean") and _can_be_of_type(right, "boolean")) + or (_can_be_of_type(left, "date_time") and _can_be_of_type(right, "date_time")) + or (_can_be_of_type(left, "time") and _can_be_of_type(right, "time")) + ) + + +@verification +def are_order_comparable(left: "Value", right: "Value") -> bool: + """ + Check that :paramref:`left` and :paramref:`right` can be compared by order. + + The operands need to be comparable for (in)equality (see + ``are_equality_comparable``), but booleans can not be ordered. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + + :param left: First operand of the comparison + :param right: Second operand of the comparison + :returns: True if the operands can be compared by order + """ + return ( + are_equality_comparable(left, right) + and not isinstance(left, (Boolean_literal, Boolean_cast)) + and not isinstance(right, (Boolean_literal, Boolean_cast)) + ) + + +# fmt: off +@invariant( + lambda self: are_equality_comparable(self.eq[0], self.eq[1]), + "The operands must be comparable by (in)equality." +) +# fmt: on +class Equal_comparison(DBC): + """ + Check whether the two operands are equal. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + The operands must be of compatible types, see + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + """ + + eq: Annotated[Tuple["Value", "Value"], json_name("$eq")] + """The two operands""" + + def __init__(self, eq: Tuple["Value", "Value"]) -> None: + self.eq = eq + + +# fmt: off +@invariant( + lambda self: are_equality_comparable(self.ne[0], self.ne[1]), + "The operands must be comparable by (in)equality." +) +# fmt: on +class Not_equal_comparison(DBC): + """ + Check whether the two operands are not equal. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + The operands must be of compatible types, see + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + """ + + ne: Annotated[Tuple["Value", "Value"], json_name("$ne")] + """The two operands""" + + def __init__(self, ne: Tuple["Value", "Value"]) -> None: + self.ne = ne + + +# fmt: off +@invariant( + lambda self: are_order_comparable(self.gt[0], self.gt[1]), + "The operands must be comparable by order." +) +# fmt: on +class Greater_than_comparison(DBC): + """ + Check whether the first operand is greater than the second one. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + The operands must be of compatible types, see + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + """ + + gt: Annotated[Tuple["Value", "Value"], json_name("$gt")] + """The two operands""" + + def __init__(self, gt: Tuple["Value", "Value"]) -> None: + self.gt = gt + + +# fmt: off +@invariant( + lambda self: are_order_comparable(self.ge[0], self.ge[1]), + "The operands must be comparable by order." +) +# fmt: on +class Greater_than_or_equal_comparison(DBC): + """ + Check whether the first operand is greater than or equal to the second one. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + The operands must be of compatible types, see + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + """ + + ge: Annotated[Tuple["Value", "Value"], json_name("$ge")] + """The two operands""" + + def __init__(self, ge: Tuple["Value", "Value"]) -> None: + self.ge = ge + + +# fmt: off +@invariant( + lambda self: are_order_comparable(self.lt[0], self.lt[1]), + "The operands must be comparable by order." +) +# fmt: on +class Less_than_comparison(DBC): + """ + Check whether the first operand is less than the second one. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + The operands must be of compatible types, see + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + """ + + lt: Annotated[Tuple["Value", "Value"], json_name("$lt")] + """The two operands""" + + def __init__(self, lt: Tuple["Value", "Value"]) -> None: + self.lt = lt + + +# fmt: off +@invariant( + lambda self: are_order_comparable(self.le[0], self.le[1]), + "The operands must be comparable by order." +) +# fmt: on +class Less_than_or_equal_comparison(DBC): + """ + Check whether the first operand is less than or equal to the second one. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + The operands must be of compatible types, see + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + """ + + le: Annotated[Tuple["Value", "Value"], json_name("$le")] + """The two operands""" + + def __init__(self, le: Tuple["Value", "Value"]) -> None: + self.le = le + + +class Contains_comparison(DBC): + """ + Check whether the second string operand is a substring of the first one. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + """ + + contains: Annotated[Tuple["String_value", "String_value"], json_name("$contains")] + """The two string operands""" + + def __init__(self, contains: Tuple["String_value", "String_value"]) -> None: + self.contains = contains + + +class Starts_with_comparison(DBC): + """ + Check whether the first string operand starts with the second one. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + """ + + starts_with: Annotated[ + Tuple["String_value", "String_value"], json_name("$starts-with") + ] + """The two string operands""" + + def __init__(self, starts_with: Tuple["String_value", "String_value"]) -> None: + self.starts_with = starts_with + + +class Ends_with_comparison(DBC): + """ + Check whether the first string operand ends with the second one. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + """ + + ends_with: Annotated[Tuple["String_value", "String_value"], json_name("$ends-with")] + """The two string operands""" + + def __init__(self, ends_with: Tuple["String_value", "String_value"]) -> None: + self.ends_with = ends_with + + +class Regex_comparison(DBC): + """ + Check whether the first string operand matches the regular expression + given as the second one. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + """ + + regex: Annotated[Tuple["String_value", "String_value"], json_name("$regex")] + """The string operand and the regular expression""" + + def __init__(self, regex: Tuple["String_value", "String_value"]) -> None: + self.regex = regex + + +# fmt: off +@invariant( + lambda self: len(self.match_operands) >= 1, + "Match operands must have at least one item." +) +# fmt: on +class Match_clause(DBC): + """ + Check that all the operands hold for the same element of a list. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_match_of_elements_in_lists + """ + + match_operands: Annotated[List["Match_expression"], json_name("$match")] + """The comparisons and nested matches which all need to hold""" + + def __init__(self, match_operands: List["Match_expression"]) -> None: + self.match_operands = match_operands + + +# fmt: off +@invariant( + lambda self: len(self.and_operands) >= 2, + "And operands must have at least two items." +) +# fmt: on +class And_expression(DBC): + """ + Connect two or more expressions through a logical AND. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_logical_expressions + """ + + and_operands: Annotated[List["Logical_expression"], json_name("$and")] + """The expressions to be connected""" + + def __init__(self, and_operands: List["Logical_expression"]) -> None: + self.and_operands = and_operands + + +# fmt: off +@invariant( + lambda self: len(self.or_operands) >= 2, + "Or operands must have at least two items." +) +# fmt: on +class Or_expression(DBC): + """ + Connect two or more expressions through a logical OR. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_logical_expressions + """ + + or_operands: Annotated[List["Logical_expression"], json_name("$or")] + """The expressions to be connected""" + + def __init__(self, or_operands: List["Logical_expression"]) -> None: + self.or_operands = or_operands + + +class Not_expression(DBC): + """ + Negate an expression. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_logical_expressions + """ + + not_operand: Annotated["Logical_expression", json_name("$not")] + """The expression to be negated""" + + def __init__(self, not_operand: "Logical_expression") -> None: + self.not_operand = not_operand + + +class Query_select(Enum): + """ + Enumerate what a query returns instead of the full objects. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_select_expression + """ + + ID = "id" + """Return only the identifiers of the matching objects""" + + +class Query_filter(DBC): + """ + Filter a fragment of the returned data by a condition. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_query_filter + """ + + fragment: Annotated["Fragment_field_identifier", json_name("$fragment")] + """The fragment of the returned data to which the filter applies""" + + condition: Annotated["Logical_expression", json_name("$condition")] + """The condition which the elements of the fragment need to fulfill""" + + def __init__( + self, + fragment: "Fragment_field_identifier", + condition: "Logical_expression", + ) -> None: + self.fragment = fragment + self.condition = condition + + +class Query(DBC): + """ + A query in the AAS Query Language. + + This class is not part of the metamodel and is not itself a named class + in the specification. + + See: + https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html + """ + + select: Annotated[Optional["Query_select"], json_name("$select")] + """ + What the query returns instead of the full objects. + + If not specified, the full objects are returned. + """ + + condition: Annotated["Logical_expression", json_name("$condition")] + """The condition which the returned objects need to fulfill""" + + filters: Annotated[Optional[List["Query_filter"]], json_name("$filters")] + """ + Filters to reduce the returned data + + The list can be empty, as the grammar allows ``$filters`` to be followed by + zero filters. Elements without a filter remain unfiltered. + """ + + def __init__( + self, + condition: "Logical_expression", + select: Optional["Query_select"] = None, + filters: Optional[List["Query_filter"]] = None, + ) -> None: + self.condition = condition + self.select = select + self.filters = filters + + +#: An attribute which can be used as an operand +Attribute_item = Union[Claim_attribute, Global_attribute, Reference_attribute] + +#: An operand which evaluates to a string +String_value = Union[Field_operand, String_literal, String_cast, Attribute_operand] + +#: An operand which evaluates to a date and time +Date_time_operand = Union[ + Date_time_literal, Date_time_cast, Date_time_attribute_operand +] + +#: An operand which can be cast to ``xs:time`` +Time_cast_operand = Union[String_value, Date_time_literal, Date_time_cast] + +#: An operand which evaluates to a number +Numerical_operand = Union[ + Number_literal, Number_cast, Day_of_week, Day_of_month, Month, Year +] + +#: An operand which evaluates to a hexadecimal +Hex_operand = Union[Hex_literal, Hex_cast] + +#: An operand which evaluates to a boolean +Bool_operand = Union[Boolean_literal, Boolean_cast] + +#: An operand which evaluates to a time +Time_operand = Union[Time_literal, Time_cast] + +# NOTE (mristin): +# We can not include :py:data:`Date_time_operand` as a whole in +# :py:data:`Value`, since its :class:`Date_time_attribute_operand` shares +# the JSON property ``$attribute`` with :class:`Attribute_operand` of +# :py:data:`String_value`, so the two could not be told apart on the wire. +# A date-time global attribute is covered by :class:`Attribute_operand` +# instead, and we list the remaining date-time operands individually. + +#: Any operand of a comparison +Value = Union[ + String_value, + Numerical_operand, + Hex_operand, + Bool_operand, + Date_time_literal, + Date_time_cast, + Time_operand, +] + +#: An expression which can be nested in a :class:`Match_clause` +Match_expression = Union[ + Match_clause, + Equal_comparison, + Not_equal_comparison, + Greater_than_comparison, + Greater_than_or_equal_comparison, + Less_than_comparison, + Less_than_or_equal_comparison, + Contains_comparison, + Starts_with_comparison, + Ends_with_comparison, + Regex_comparison, +] + +#: An expression which evaluates to a boolean +Logical_expression = Union[ + And_expression, + Or_expression, + Not_expression, + Boolean_literal, + Match_expression, +] + + +# endregion AAS Query Language + + +# endregion Part 2 + +# Downloaded from: https://raw.githubusercontent.com/aas-core-works/aas-core-meta/feab6a1c7047e4b05f636c1fa16dfe5d3469b661/aas_core_meta/v3_2.py diff --git a/dev_scripts/codegen/snippets/package.txt b/dev_scripts/codegen/snippets/package.txt new file mode 100644 index 00000000..5a884ed3 --- /dev/null +++ b/dev_scripts/codegen/snippets/package.txt @@ -0,0 +1 @@ +aas_core.aas3_2 diff --git a/dev_scripts/continuous_integration_of_dev_scripts/__init__.py b/dev_scripts/continuous_integration_of_dev_scripts/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/dev_scripts/continuous_integration_of_dev_scripts/mypy.ini b/dev_scripts/continuous_integration_of_dev_scripts/mypy.ini new file mode 100644 index 00000000..cb6a0c28 --- /dev/null +++ b/dev_scripts/continuous_integration_of_dev_scripts/mypy.ini @@ -0,0 +1,8 @@ +; SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +; +; SPDX-License-Identifier: MIT + +[mypy] + +[mypy-lxml.*] +ignore_missing_imports = True diff --git a/dev_scripts/continuous_integration_of_dev_scripts/precommit.py b/dev_scripts/continuous_integration_of_dev_scripts/precommit.py new file mode 100644 index 00000000..c9d06254 --- /dev/null +++ b/dev_scripts/continuous_integration_of_dev_scripts/precommit.py @@ -0,0 +1,194 @@ +#!/usr/bin/env python3 + +# SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +# +# SPDX-License-Identifier: MIT + +"""Run pre-commit checks on the repository.""" + +import argparse +import enum +import os +import pathlib +import shlex +import subprocess +import sys +from typing import Optional, Mapping, Sequence + + +# pylint: disable=unnecessary-comprehension + + +class Step(enum.Enum): + """Enumerate different pre-commit steps.""" + + REFORMAT = "reformat" + MYPY = "mypy" + PYLINT = "pylint" + TEST = "test" + DOCTEST = "doctest" + + +def call_and_report( + verb: str, + cmd: Sequence[str], + cwd: Optional[pathlib.Path] = None, + env: Optional[Mapping[str, str]] = None, +) -> int: + """ + Wrap a subprocess call with the reporting to STDERR if it failed. + + Return 1 if there is an error and 0 otherwise. + """ + cmd_str = " ".join(shlex.quote(part) for part in cmd) + + if cwd is not None: + print(f"Executing from {cwd}: {cmd_str}") + else: + print(f"Executing: {cmd_str}") + + exit_code = subprocess.call(cmd, cwd=str(cwd) if cwd is not None else None, env=env) + + if exit_code != 0: + print( + f"Failed to {verb} with exit code {exit_code}: {cmd_str}", file=sys.stderr + ) + + return exit_code + + +def main() -> int: + """Execute entry_point routine.""" + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument( + "--overwrite", + help="Try to automatically fix the offending files (e.g., by re-formatting).", + action="store_true", + ) + parser.add_argument( + "--select", + help=( + "If set, only the selected steps are executed. " + "This is practical if some of the steps failed and you want to " + "fix them in isolation. " + "The steps are given as a space-separated list of: " + + " ".join(value.value for value in Step) + ), + metavar="", + nargs="+", + choices=[value.value for value in Step], + ) + parser.add_argument( + "--skip", + help=( + "If set, skips the specified steps. " + "This is practical if some of the steps passed and " + "you want to fix the remainder in isolation. " + "The steps are given as a space-separated list of: " + + " ".join(value.value for value in Step) + ), + metavar="", + nargs="+", + choices=[value.value for value in Step], + ) + + args = parser.parse_args() + + overwrite = bool(args.overwrite) + + selects = ( + [Step(value) for value in args.select] + if args.select is not None + else [value for value in Step] + ) + skips = [Step(value) for value in args.skip] if args.skip is not None else [] + + src_root = pathlib.Path(os.path.realpath(__file__)).parent.parent + + if Step.REFORMAT in selects and Step.REFORMAT not in skips: + print("Re-formatting...") + if overwrite: + exit_code = call_and_report( + verb="black", + cmd=["black", ".", "--exclude", "codegen|venv"], + cwd=src_root, + ) + if exit_code != 0: + return 1 + else: + exit_code = call_and_report( + verb="check with black", + cmd=["black", "--check", ".", "--exclude", "codegen|venv"], + cwd=src_root, + ) + if exit_code != 0: + return 1 + else: + print("Skipped re-formatting.") + + if Step.MYPY in selects and Step.MYPY not in skips: + print("Mypy'ing...") + config_file = pathlib.Path("continuous_integration_of_dev_scripts") / "mypy.ini" + + exit_code = call_and_report( + verb="mypy", + cmd=[ + "mypy", + "--strict", + "--config-file", + str(config_file), + ".", + "--exclude", + "codegen|venv", + ], + cwd=src_root, + ) + if exit_code != 0: + return 1 + else: + print("Skipped mypy'ing.") + + if Step.PYLINT in selects and Step.PYLINT not in skips: + print("Pylint'ing...") + rcfile = pathlib.Path("continuous_integration_of_dev_scripts") / "pylint.rc" + + exit_code = call_and_report( + verb="pylint", + cmd=["pylint", f"--rcfile={rcfile}", ".", "--ignore=codegen,venv"], + cwd=src_root, + ) + if exit_code != 0: + return 1 + else: + print("Skipped pylint'ing.") + + if Step.DOCTEST in selects and Step.DOCTEST not in skips: + print("Doctest'ing...") + + for module_name in [ + "continuous_integration_of_dev_scripts", + ]: + for pth in (src_root / module_name).glob("**/*.py"): + if pth.name == "__main__.py": + continue + + # NOTE (mristin, 2022-12-08): + # The subprocess calls are expensive, call only if there is an actual + # doctest + text = pth.read_text(encoding="utf-8") + if ">>>" in text: + exit_code = call_and_report( + verb="doctest", + cmd=[sys.executable, "-m", "doctest", str(pth)], + cwd=src_root, + ) + if exit_code != 0: + return 1 + else: + print("Skipped doctest'ing.") + + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/continuous_integration_of_dev_scripts/pylint.rc b/dev_scripts/continuous_integration_of_dev_scripts/pylint.rc new file mode 100644 index 00000000..bcdc1152 --- /dev/null +++ b/dev_scripts/continuous_integration_of_dev_scripts/pylint.rc @@ -0,0 +1,10 @@ +[TYPECHECK] +ignored-modules = numpy +ignored-classes = numpy,PurePath +generated-members=bottle\.request\.forms\.decode,bottle\.request\.query\.decode + +[FORMAT] +max-line-length=120 + +[MESSAGES CONTROL] +disable=c-extension-no-member,too-few-public-methods,len-as-condition,duplicate-code,no-else-raise,no-else-return,too-many-locals,too-many-branches,too-many-nested-blocks,too-many-return-statements,unsubscriptable-object,not-an-iterable,broad-except,too-many-statements,protected-access,unnecessary-pass,too-many-statements,too-many-arguments,no-member,too-many-instance-attributes,too-many-lines,undefined-variable,unnecessary-lambda,assignment-from-none,useless-return,unused-argument,too-many-boolean-expressions,consider-using-f-string,use-dict-literal,invalid-name,no-else-continue,no-else-break,unneeded-not,too-many-public-methods,line-too-long diff --git a/dev_scripts/download_aas_core_meta_model.py b/dev_scripts/download_aas_core_meta_model.py new file mode 100644 index 00000000..201c68a8 --- /dev/null +++ b/dev_scripts/download_aas_core_meta_model.py @@ -0,0 +1,94 @@ +# SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +# +# SPDX-License-Identifier: MIT + +"""Download the meta-model to this directory.""" + +import pathlib +import os +import argparse +import sys +from typing import Dict, Union + +import requests + + +GITHUB_API = "https://api.github.com" +OWNER = "aas-core-works" +REPO = "aas-core-meta" +REF = "main" +FILEPATH = "aas_core_meta/v3_2.py" + + +def _latest_commit_sha_for_path( + owner: str, repo: str, ref: str, path: str, *, timeout: float = 15.0 +) -> str: + """ + Resolve the latest commit SHA on a ref for a specific path. + + Uses: GET /repos/{owner}/{repo}/commits?path=...&sha=...&per_page=1 + """ + url = f"{GITHUB_API}/repos/{owner}/{repo}/commits" + params: Dict[str, Union[str, int]] = {"path": path, "sha": ref, "per_page": 1} + resp = requests.get(url, params=params, timeout=timeout) + try: + resp.raise_for_status() + except requests.HTTPError as ex: + raise RuntimeError( + f"Failed to resolve latest commit for {owner}/{repo}:{ref} path={path} " + f"({resp.status_code}): {resp.text}" + ) from ex + + commits = resp.json() + if not commits or not isinstance(commits, list): + raise RuntimeError( + "Could not determine latest commit SHA (empty API response)." + ) + + sha = commits[0].get("sha") + if not sha or not isinstance(sha, str): + raise RuntimeError("API did not return a valid commit SHA.") + assert isinstance(sha, str) + return sha + + +def _download_raw_from_commit( + owner: str, repo: str, sha: str, path: str, *, timeout: float = 30.0 +) -> str: + """Download the raw file contents for a given commit SHA and path.""" + raw_url = f"https://raw.githubusercontent.com/{owner}/{repo}/{sha}/{path}" + resp = requests.get(raw_url, timeout=timeout) + try: + resp.raise_for_status() + except requests.HTTPError as ex: + raise RuntimeError( + f"Failed to download file from {raw_url} ({resp.status_code}): {resp.text}" + ) from ex + + return resp.text + + +def main() -> int: + """Execute the main routine.""" + parser = argparse.ArgumentParser(description=__doc__) + _ = parser.parse_args() + + repo_root = pathlib.Path(os.path.realpath(__file__)).parent.parent + + sha = _latest_commit_sha_for_path(OWNER, REPO, REF, FILEPATH) + + content = _download_raw_from_commit(OWNER, REPO, sha, FILEPATH) + + pinned_url = f"https://raw.githubusercontent.com/{OWNER}/{REPO}/{sha}/{FILEPATH}" + banner = f"# Downloaded from: {pinned_url}\n" + + out_path = repo_root / "dev_scripts" / "codegen" / "meta_model.py" + + out_path.write_text(f"{banner}{content.rstrip()}\n\n{banner}", encoding="utf-8") + + print(f"Wrote {out_path} (from commit {sha[:12]}).") + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/download_latest_test_data.py b/dev_scripts/download_latest_test_data.py new file mode 100644 index 00000000..28d3b28f --- /dev/null +++ b/dev_scripts/download_latest_test_data.py @@ -0,0 +1,140 @@ +# SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +# +# SPDX-License-Identifier: MIT + +"""Download the latest test data released on aas-core-testdatagen.""" + +import argparse +import collections +import json +import os +import pathlib +import shutil +import sys +import uuid +import zipfile +from typing import Final + +import requests +from icontract import require + +_REPO: Final[str] = "aas-core-works/aas-core-testdatagen" + + +def _get_latest_version() -> str: + """Get the latest version tag from aas-core-testdatagen GitHub repository.""" + url = f"https://api.github.com/repos/{_REPO}/releases/latest" + + try: + response = requests.get(url, timeout=30) + response.raise_for_status() + data = response.json() + + tag_name = data.get("tag_name") + + if not isinstance(tag_name, str): + raise RuntimeError( + f"Expected the 'tag_name' to be a string, but got: {tag_name}" + ) + + return tag_name + except (requests.RequestException, KeyError) as exception: + raise RuntimeError( + f"Error fetching the latest version from {url}" + ) from exception + + +def _construct_download_url(version: str) -> str: + """Construct the download URL for the test data zip file.""" + return ( + f"https://github.com/{_REPO}/releases/download/{version}/test_data_for_v3_2.zip" + ) + + +def _download(url: str, destination: pathlib.Path) -> None: + """Download the test data zip file.""" + response = requests.get(url, stream=True, timeout=30) + response.raise_for_status() + + with open(destination, "wb") as f: + for chunk in response.iter_content(chunk_size=8192): + f.write(chunk) + + +# fmt: off +@require( + lambda zip_path: + zip_path.name.endswith(".zip") + and zip_path.exists() + and zip_path.is_file() +) +# fmt: on +def _extract_zip_in_its_parent(zip_path: pathlib.Path) -> None: + """Extract the archive in its directory.""" + try: + with zipfile.ZipFile(zip_path, "r") as zip_ref: + zip_ref.extractall(zip_path.parent) + + except Exception as exception: + raise RuntimeError( + f"Failed to unpack {zip_path} to {zip_path.parent}" + ) from exception + + +def main() -> int: + """Execute the main routine.""" + parser = argparse.ArgumentParser(description=__doc__) + _ = parser.parse_args() + + repo_root = pathlib.Path(os.path.realpath(__file__)).parent.parent + + test_data_dir = repo_root / "test_data" + + json_dir = test_data_dir / "Json" + if json_dir.exists(): + print(f"Deleting existing {json_dir} ...") + shutil.rmtree(json_dir) + + xml_dir = test_data_dir / "Xml" + if xml_dir.exists(): + print(f"Deleting existing {xml_dir} ...") + shutil.rmtree(xml_dir) + + source_path = test_data_dir / "source.json" + if source_path.exists(): + print(f"Deleting existing {source_path} ...") + source_path.unlink() + + latest_version = _get_latest_version() + if latest_version is None: + print("Failed to get latest version") + return 1 + + print(f"Latest version: {latest_version}") + + url = _construct_download_url(latest_version) + + zip_path = test_data_dir / f"test_data_for_v3_2.{uuid.uuid4()}.zip" + + try: + print(f"Downloading from: {url} to {zip_path} ...") + _download(url=url, destination=zip_path) + _extract_zip_in_its_parent(zip_path=zip_path) + + print(f"Writing the version to {source_path} ...") + with source_path.open("wt") as fid: + json.dump( + collections.OrderedDict([("version", latest_version), ("url", url)]), + fid, + indent=2, + ) + + finally: + print(f"Deleting {zip_path} ...") + zip_path.unlink() + + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/find_duplicate_files_if_case_insensitive.py b/dev_scripts/find_duplicate_files_if_case_insensitive.py new file mode 100644 index 00000000..7bb68f29 --- /dev/null +++ b/dev_scripts/find_duplicate_files_if_case_insensitive.py @@ -0,0 +1,63 @@ +# SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +# +# SPDX-License-Identifier: MIT + +""" +Find all the duplicate repository files on case-insensitive filesystems. + +This is in particular important for Windows so that we do not mess up Git there. + +You should run this script on a *case-sensitive* filesystem, *e.g.*, in Linux. +""" + +import os.path +import pathlib +import sys +import textwrap +from typing import List, MutableMapping + + +def main() -> int: + """Execute the main routine.""" + this_path = pathlib.Path(os.path.realpath(__file__)) + repo_root = this_path.parent.parent + + paths = [] # type: List[pathlib.Path] + + for path in repo_root.iterdir(): + if path.name == ".git": + continue + + if path.is_file(): + paths.append(path) + else: + assert path.is_dir() + paths.extend( + another_path + for another_path in path.glob("**/*") + if another_path.is_file() + ) + + path_map = dict() # type: MutableMapping[str, List[pathlib.Path]] + for path in paths: + key = str(path).lower() + existing_paths = path_map.get(key, None) + if existing_paths is None: + path_map[key] = [path] + else: + existing_paths.append(path) + + for key in sorted(path_map.keys()): + paths = path_map[key] + if len(paths) > 1: + paths_joined = "\n".join( + str(path.relative_to(repo_root)) for path in sorted(paths) + ) + paths_joined_indented = textwrap.indent(paths_joined, " ") + print(f"* Duplicates for {key}:\n{paths_joined_indented}") + + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/format_code.py b/dev_scripts/format_code.py new file mode 100644 index 00000000..844ecfe5 --- /dev/null +++ b/dev_scripts/format_code.py @@ -0,0 +1,27 @@ +# SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +# +# SPDX-License-Identifier: MIT + +"""Re-format the Java code with Spotless (google-java-format).""" + +import argparse +import os +import pathlib +import subprocess +import sys + + +def main() -> int: + """Execute the main routine.""" + parser = argparse.ArgumentParser(description=__doc__) + _ = parser.parse_args() + + repo_root = pathlib.Path(os.path.realpath(__file__)).parent.parent + + subprocess.check_call(["mvn", "--batch-mode", "spotless:apply"], cwd=str(repo_root)) + + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/pyproject.toml b/dev_scripts/pyproject.toml new file mode 100644 index 00000000..668d5e61 --- /dev/null +++ b/dev_scripts/pyproject.toml @@ -0,0 +1,43 @@ +# SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +# +# SPDX-License-Identifier: MIT + +[build-system] +requires = ["setuptools", "setuptools-scm"] +build-backend = "setuptools.build_meta" + +[project] +name = "aas-core3.2-java-dev-scripts" +version = "0.0.1" +description = "Provide development scripts for aas-core3.2-java." +authors = [ + { name = "Marko Ristin", email = "marko@ristin.ch" }, + { name = "Tobias Langer", email = "tobias.langer@conplement.de" }, +] +license = {text = "MIT"} +keywords = ["asset administration shell", "code generation", "industry 4.0", "industrie 4.0", "i4.0"] +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.10" +dependencies = [ + "requests==2.32.4", + "types-requests==2.32.4.20250913", + "aas-core-codegen==0.0.27rc5", + "icontract>=2.6.0", + "lxml>=5.0.0", + "reuse>=6.3.0", +] + + +[dependency-groups] +dev = [ + "black==25.9.0", + "mypy==1.18.2", + "pylint==3.3.8", + "types-requests>=2.32.4", +] + +[tool.setuptools.packages.find] +exclude = ["continuous_integration_of_dev_scripts"] diff --git a/dev_scripts/regenerate_code.py b/dev_scripts/regenerate_code.py new file mode 100644 index 00000000..db550544 --- /dev/null +++ b/dev_scripts/regenerate_code.py @@ -0,0 +1,72 @@ +# SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +# +# SPDX-License-Identifier: MIT + +"""Generate the SDK based on the aas-core-meta model and the snippets.""" + +import argparse +import os +import pathlib +import subprocess +import sys + + +def main() -> int: + """Execute the main routine.""" + repo_root = pathlib.Path(os.path.realpath(__file__)).parent.parent + + default_meta_model_path = os.path.relpath( + str(repo_root / "dev_scripts" / "codegen" / "meta_model.py"), + os.getcwd(), + ) + + default_snippet_dir = os.path.relpath( + str(repo_root / "dev_scripts" / "codegen" / "snippets"), os.getcwd() + ) + + default_output_dir = os.path.relpath(str(repo_root), os.getcwd()) + + parser = argparse.ArgumentParser( + description=__doc__, formatter_class=argparse.ArgumentDefaultsHelpFormatter + ) + parser.add_argument( + "--meta_model", help="Path to the meta-model", default=default_meta_model_path + ) + parser.add_argument( + "--snippet_dir", + help="Path to the directory containing implementation-specific snippets", + default=default_snippet_dir, + ) + parser.add_argument( + "--output_dir", + help="Path to the directory where the generated files are to be output", + default=default_output_dir, + ) + args = parser.parse_args() + + meta_model_path = pathlib.Path(args.meta_model) + snippet_dir = pathlib.Path(args.snippet_dir) + output_dir = pathlib.Path(args.output_dir) + + subprocess.run( + [ + sys.executable, + "-m", + "aas_core_codegen", + "--model_path", + str(meta_model_path), + "--snippets_dir", + str(snippet_dir), + "--output_dir", + str(output_dir), + "--target", + "java", + ], + check=True, + ) + + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/rerecord_tests.py b/dev_scripts/rerecord_tests.py new file mode 100644 index 00000000..f2f3db03 --- /dev/null +++ b/dev_scripts/rerecord_tests.py @@ -0,0 +1,42 @@ +# SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +# +# SPDX-License-Identifier: MIT + +"""Run all tests and re-record the golden data.""" + +import argparse +import os +import pathlib +import shutil +import subprocess +import sys + + +def main() -> int: + """Execute the main routine.""" + parser = argparse.ArgumentParser(description=__doc__) + _ = parser.parse_args() + + repo_root = pathlib.Path(os.path.realpath(__file__)).parent.parent + + for path in (repo_root / "test_data").iterdir(): + if path.is_dir() and path.name not in ["Json", "Xml"]: + print(f"Deleting {path} ...") + shutil.rmtree(path) + + env = os.environ.copy() + env["AAS_CORE_AAS3_2_TESTS_RECORD_MODE"] = "true" + + print("Running and re-recording all tests...") + subprocess.check_call( + ["mvn", "--batch-mode", "test"], + cwd=repo_root, + env=env, + ) + print("Re-recorded.") + + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/semantic-patching/.gitignore b/dev_scripts/semantic-patching/.gitignore new file mode 100644 index 00000000..68cb8a5c --- /dev/null +++ b/dev_scripts/semantic-patching/.gitignore @@ -0,0 +1,9 @@ +# SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +# +# SPDX-License-Identifier: MIT + +target/ +.idea/ +semantic-patching.iml +deleteme.java +VerificationPatched.java diff --git a/dev_scripts/semantic-patching/README.md b/dev_scripts/semantic-patching/README.md new file mode 100644 index 00000000..d638cc40 --- /dev/null +++ b/dev_scripts/semantic-patching/README.md @@ -0,0 +1,31 @@ +# Semantic Patching + +## Building + +Package everything with maven: + +``` +mvn package +``` + +The scripts will be built in `target/` directory. + +## Patch + +Run the script: + +``` +mvn \ + exec:java \ + -Dexec.mainClass="aas_core_works.PatchVerification" \ + -Dexec.args="{path to the source file} {path to the target file}" +``` + +If you just want to test it out, let it patch `test-data/Verification.java`: + +``` +mvn \ + exec:java \ + -Dexec.mainClass="aas_core_works.PatchVerification" \ + -Dexec.args="test-data/Verification.java VerificationPatched.java" +``` diff --git a/dev_scripts/semantic-patching/pom.xml b/dev_scripts/semantic-patching/pom.xml new file mode 100644 index 00000000..0b10f6a7 --- /dev/null +++ b/dev_scripts/semantic-patching/pom.xml @@ -0,0 +1,33 @@ + + + + + + 4.0.0 + + aas_core_works + semantic-patching + 1.0-SNAPSHOT + + semantic-patching + + + UTF-8 + 15 + 15 + + + + + com.github.javaparser + javaparser-core + 3.25.9 + + + + diff --git a/dev_scripts/semantic-patching/src/main/java/aas_core_works/PatchVerification.java b/dev_scripts/semantic-patching/src/main/java/aas_core_works/PatchVerification.java new file mode 100644 index 00000000..d7d0a5c5 --- /dev/null +++ b/dev_scripts/semantic-patching/src/main/java/aas_core_works/PatchVerification.java @@ -0,0 +1,222 @@ +// SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core_works; + +import com.github.javaparser.ParserConfiguration; +import com.github.javaparser.StaticJavaParser; +import com.github.javaparser.ast.CompilationUnit; +import com.github.javaparser.ast.Modifier; +import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration; +import com.github.javaparser.ast.body.FieldDeclaration; +import com.github.javaparser.ast.body.MethodDeclaration; +import com.github.javaparser.ast.body.VariableDeclarator; +import com.github.javaparser.ast.expr.AssignExpr; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.expr.VariableDeclarationExpr; +import com.github.javaparser.ast.stmt.ExpressionStmt; +import com.github.javaparser.ast.stmt.ReturnStmt; +import com.github.javaparser.ast.stmt.Statement; + +import java.io.BufferedWriter; +import java.io.FileWriter; +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Path; +import java.util.Optional; + +public class PatchVerification { + public static void main(String[] args) { + if (args == null || args.length != 2) { + System.err.println("Expected exactly two arguments, the source and the target"); + System.exit(1); + } + final String sourcePath = args[0]; + final String targetPath = args[1]; + + String text; + try { + text = Files.readString(Path.of(sourcePath)); + } catch (IOException e) { + System.err.println("Failed to read from " + sourcePath + ": " + e.getMessage()); + System.exit(1); + return; + } + + StaticJavaParser.getParserConfiguration() + .setLanguageLevel(ParserConfiguration.LanguageLevel.JAVA_17); + CompilationUnit unit = StaticJavaParser.parse(text); + + unit.addImport("dk.brics.automaton.Automaton"); + unit.addImport("dk.brics.automaton.RegExp"); + + Optional maybeVerificationCls = unit.getClassByName("Verification"); + if (maybeVerificationCls.isEmpty()) { + System.err.println("The class 'Verification' could not be found in " + sourcePath); + System.exit(1); + return; + } + + ClassOrInterfaceDeclaration verificationCls = maybeVerificationCls.get(); + + MethodDeclaration constructMethod = null; + for (MethodDeclaration method : verificationCls.getMethods()) { + if (method.getName().toString().equals("constructMatchesRfc2396")) { + constructMethod = method; + break; + } + } + + if (constructMethod == null) { + System.err.println( + "Could not find the method constructMatchesRfc2396 in " + sourcePath + ); + System.exit(1); + return; + } + + constructMethod.setType("Automaton"); + + if (!constructMethod.getBody().isPresent()) { + System.err.println( + "The constructMatchesRfc2396 lacks the body in " + sourcePath + ); + System.exit(1); + return; + } + + VariableDeclarator serverDecl = null; + VariableDeclarator uriReferenceDecl = null; + ReturnStmt expectedReturnStmt = null; + + for (Statement statement : constructMethod.getBody().get().getStatements()) { + if ( + statement.isExpressionStmt() + && statement instanceof ExpressionStmt + ) { + ExpressionStmt expressionStmt = (ExpressionStmt) statement; + + Expression expression = expressionStmt.getExpression(); + + if (expression instanceof VariableDeclarationExpr) { + VariableDeclarationExpr varDeclExpr = (VariableDeclarationExpr) expression; + + if (expression.toString().equals( + "String uriReference = \"^(\" + absoluteuri + \"|\" + relativeuri + \")?(#\" + fragment + \")?$\"")) { + uriReferenceDecl = varDeclExpr.getVariable(0); + } else if (expression.toString().equals( + "String server = \"((\" + userinfo + \"@)?\" + hostport + \")?\"")) { + serverDecl = varDeclExpr.getVariable(0); + } + } + } else if (statement.isReturnStmt()) { + ReturnStmt returnStmt = (ReturnStmt) statement; + + if (returnStmt.toString().equals("return Pattern.compile(uriReference);")) { + expectedReturnStmt = returnStmt; + } + } + } + + if (serverDecl == null) { + System.err.println( + "The constructMatchesRfc2396 lacks the " + + "String server = \"((\" + userinfo + \"@)?\" + hostport + \")?\"" + + "statement in " + + sourcePath + ); + System.exit(1); + return; + } + + if (uriReferenceDecl == null) { + System.err.println( + "The constructMatchesRfc2396 lacks the " + + "'String uriReference = \"^(\" + absoluteuri + \"|\" + relativeuri + \")?(#\" + fragment + \")?$\"' " + + "statement in " + + sourcePath + ); + System.exit(1); + return; + } + + if (expectedReturnStmt == null) { + System.err.println( + "The constructMatchesRfc2396 lacks the expected return statement " + + "'return Pattern.compile(uriReference);' in " + sourcePath + ); + System.exit(1); + return; + } + + // NOTE (empwilli): we take care to also escape # and @ characters; these + // carry special meaning in Automaton. + serverDecl.setInitializer( + "\"((\" + userinfo + \"\\\\@)?\" + hostport + \")?\"" + ); + uriReferenceDecl.setInitializer( + "\"(\" + absoluteuri + \"|\" + relativeuri + \")?(\\\\#\" + fragment + \")?\"" + ); + + expectedReturnStmt.setExpression( + StaticJavaParser.parseExpression("new RegExp(uriReference).toAutomaton()") + ); + + VariableDeclarator regexVariable = null; + for (FieldDeclaration field : verificationCls.getFields()) { + for (VariableDeclarator declarator : field.getVariables()) { + if (declarator.getNameAsString().equals("regexMatchesRfc2396")) { + regexVariable = declarator; + break; + } + } + if (regexVariable != null) { + break; + } + } + + if (regexVariable == null) { + System.err.println( + "Could not find regexMatchesRfc2396 field in " + sourcePath + ); + System.exit(1); + return; + } + regexVariable.setType("Automaton"); + + MethodDeclaration matchesMethod = null; + for (MethodDeclaration method : verificationCls.getMethods()) { + if (method.getName().toString().equals("matchesRfc2396")) { + matchesMethod = method; + break; + } + } + + if (matchesMethod == null) { + System.err.println( + "Could not find the method matchesRfc2396 in " + sourcePath + ); + System.exit(1); + return; + } + + matchesMethod.setBody( + StaticJavaParser.parseBlock(""" + { + return regexMatchesRfc2396.run(text); + }""") + ); + + String code = unit.toString(); + + try { + BufferedWriter writer = new BufferedWriter(new FileWriter(targetPath)); + writer.write(code); + writer.flush(); + } catch (IOException e) { + System.err.println("Failed to write to " + targetPath + ": " + e.getMessage()); + System.exit(1); + } + } +} diff --git a/dev_scripts/semantic-patching/test-data/Verification.java b/dev_scripts/semantic-patching/test-data/Verification.java new file mode 100644 index 00000000..11625d6e --- /dev/null +++ b/dev_scripts/semantic-patching/test-data/Verification.java @@ -0,0 +1,9145 @@ +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.verification; + +import java.lang.Iterable; +import java.math.BigInteger; +import java.util.Arrays; +import java.util.Collections; +import java.util.function.Consumer; +import java.util.HashSet; +import java.util.Iterator; +import java.util.Objects; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +import java.util.Set; +import java.util.Spliterator; +import java.util.Spliterators; +import java.util.stream.IntStream; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.constants.*; +import aas_core.aas3_2.reporting.Reporting; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.AbstractTransformer; +import java.util.List; +import java.util.Optional; + +public class Verification { + private static Pattern constructMatchesIdShort() { + String pattern = "^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesIdShort = constructMatchesIdShort(); + + /** + * Check that {@code text} is a valid short ID. + */ + public static Boolean matchesIdShort(String text) { + return regexMatchesIdShort.matcher(text).matches(); + } + + private static Pattern constructMatchesVersionType() { + String pattern = "^(0|[1-9][0-9]*)$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesVersionType = constructMatchesVersionType(); + + /** + * Check that {@code text} is a valid version string. + */ + public static Boolean matchesVersionType(String text) { + return regexMatchesVersionType.matcher(text).matches(); + } + + private static Pattern constructMatchesRevisionType() { + String pattern = "^(0|[1-9][0-9]*)$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesRevisionType = constructMatchesRevisionType(); + + /** + * Check that {@code text} is a valid revision string. + */ + public static Boolean matchesRevisionType(String text) { + return regexMatchesRevisionType.matcher(text).matches(); + } + + private static Pattern constructMatchesXsDateTimeUtc() { + String digit = "[0-9]"; + String yearFrag = "-?(([1-9]" + digit + digit + digit + "+)|(0" + digit + digit + digit + "))"; + String monthFrag = "((0[1-9])|(1[0-2]))"; + String dayFrag = "((0[1-9])|([12]" + digit + ")|(3[01]))"; + String hourFrag = "(([01]" + digit + ")|(2[0-3]))"; + String minuteFrag = "[0-5]" + digit; + String secondFrag = "([0-5]" + digit + ")(\\." + digit + "+)?"; + String endOfDayFrag = "24:00:00(\\.0+)?"; + String timezoneFrag = "(Z|\\+00:00|-00:00)"; + String dateTimeLexicalRep = yearFrag + "-" + monthFrag + "-" + dayFrag + "T((" + hourFrag + ":" + minuteFrag + ":" + secondFrag + ")|" + endOfDayFrag + ")" + timezoneFrag; + String pattern = "^" + dateTimeLexicalRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDateTimeUtc = constructMatchesXsDateTimeUtc(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:dateTime}. + * + *

The time zone must be fixed to UTC. We verify only that the {@code text} matches + * a pre-defined pattern. We do not verify that the day of month is + * correct nor do we check for leap seconds. + * + *

See: https://www.w3.org/TR/xmlschema-2/#dateTime + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDateTimeUtc(String text) { + return regexMatchesXsDateTimeUtc.matcher(text).matches(); + } + + /** + * Check that value is a xs:dateTime with + * the time zone set to UTC. + * @param value the value to check + */ + public static boolean isXsDateTimeUtc(String value){ + Objects.requireNonNull(value); + + if (!matchesXsDateTimeUtc(value)) { + return false; + } + + return isPrefixedWithValidDate(value); + } + + private static Pattern constructMatchesMimeType() { + String tchar = "[!#$%&\'*+\\-.^_`|~0-9a-zA-Z]"; + String token = "(" + tchar + ")+"; + String type = token; + String subtype = token; + String ows = "[ \\t]*"; + String obsText = "[\\x{80}-\\x{ff}]"; + String qdText = "([\\t !#-\\[\\]-~]|" + obsText + ")"; + String quotedPair = "\\\\([\\t !-~]|" + obsText + ")"; + String quotedString = "\"(" + qdText + "|" + quotedPair + ")*\""; + String parameter = token + "=(" + token + "|" + quotedString + ")"; + String mediaType = "^" + type + "/" + subtype + "(" + ows + ";" + ows + parameter + ")*$"; + + return Pattern.compile(mediaType); + } + + private static final Pattern regexMatchesMimeType = constructMatchesMimeType(); + + /** + * Check that {@code text} conforms to the pattern of MIME type. + * + *

The definition has been taken from: + * https://www.rfc-editor.org/rfc/rfc7231#section-3.1.1.1, + * https://www.rfc-editor.org/rfc/rfc7230#section-3.2.3 and + * https://www.rfc-editor.org/rfc/rfc7230#section-3.2.6. + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesMimeType(String text) { + return regexMatchesMimeType.matcher(text).matches(); + } + + private static Pattern constructMatchesRfc2396() { + String alphanum = "[a-zA-Z0-9]"; + String mark = "[-_.!~*\'()]"; + String unreserved = "(" + alphanum + "|" + mark + ")"; + String hex = "([0-9]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF])"; + String escaped = "%" + hex + hex; + String pchar = "(" + unreserved + "|" + escaped + "|[:@&=+$,])"; + String param = "(" + pchar + ")*"; + String segment = "(" + pchar + ")*(;" + param + ")*"; + String pathSegments = segment + "(/" + segment + ")*"; + String absPath = "/" + pathSegments; + String scheme = "[a-zA-Z][a-zA-Z0-9+\\-.]*"; + String userinfo = "(" + unreserved + "|" + escaped + "|[;:&=+$,])*"; + String domainlabel = "(" + alphanum + "|" + alphanum + "(" + alphanum + "|-)*" + alphanum + ")"; + String toplabel = "([a-zA-Z]|[a-zA-Z](" + alphanum + "|-)*" + alphanum + ")"; + String hostname = "(" + domainlabel + "\\.)*" + toplabel + "(\\.)?"; + String ipv4address = "[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+"; + String host = "(" + hostname + "|" + ipv4address + ")"; + String port = "[0-9]*"; + String hostport = host + "(:" + port + ")?"; + String server = "((" + userinfo + "@)?" + hostport + ")?"; + String regName = "(" + unreserved + "|" + escaped + "|[$,;:@&=+])+"; + String authority = "(" + server + "|" + regName + ")"; + String netPath = "//" + authority + "(" + absPath + ")?"; + String reserved = "[;/?:@&=+$,]"; + String uric = "(" + reserved + "|" + unreserved + "|" + escaped + ")"; + String query = "(" + uric + ")*"; + String hierPart = "(" + netPath + "|" + absPath + ")(\\?" + query + ")?"; + String uricNoSlash = "(" + unreserved + "|" + escaped + "|[;?:@&=+$,])"; + String opaquePart = uricNoSlash + "(" + uric + ")*"; + String absoluteuri = scheme + ":(" + hierPart + "|" + opaquePart + ")"; + String fragment = "(" + uric + ")*"; + String relSegment = "(" + unreserved + "|" + escaped + "|[;@&=+$,])+"; + String relPath = relSegment + "(" + absPath + ")?"; + String relativeuri = "(" + netPath + "|" + absPath + "|" + relPath + ")(\\?" + query + ")?"; + String uriReference = "^(" + absoluteuri + "|" + relativeuri + ")?(#" + fragment + ")?$"; + + return Pattern.compile(uriReference); + } + + private static final Pattern regexMatchesRfc2396 = constructMatchesRfc2396(); + + /** + * Check that {@code text} matches to the URI pattern defined in RFC 2396 + * + *

The definition has been taken from: + * https://datatracker.ietf.org/doc/html/rfc2396 + * + *

Note that RFX 2396 alone is not enough for specifying {@code xs:anyURI} for + * XSD version 1.0, as that specifies URI together with the amendment of + * RFC 2732. + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesRfc2396(String text) { + return regexMatchesRfc2396.matcher(text).matches(); + } + + private static Pattern constructMatchesBcp47() { + String alphanum = "[a-zA-Z0-9]"; + String singleton = "[0-9A-WY-Za-wy-z]"; + String extension = singleton + "(-(" + alphanum + "){2,8})+"; + String extlang = "[a-zA-Z]{3}(-[a-zA-Z]{3}){0,2}"; + String irregular = "(en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)"; + String regular = "(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang)"; + String grandfathered = "(" + irregular + "|" + regular + ")"; + String language = "([a-zA-Z]{2,3}(-" + extlang + ")?|[a-zA-Z]{4}|[a-zA-Z]{5,8})"; + String script = "[a-zA-Z]{4}"; + String region = "([a-zA-Z]{2}|[0-9]{3})"; + String variant = "((" + alphanum + "){5,8}|[0-9](" + alphanum + "){3})"; + String privateuse = "[xX](-(" + alphanum + "){1,8})+"; + String langtag = language + "(-" + script + ")?(-" + region + ")?(-" + variant + ")*(-" + extension + ")*(-" + privateuse + ")?"; + String languageTag = "(" + langtag + "|" + privateuse + "|" + grandfathered + ")"; + String pattern = "^" + languageTag + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesBcp47 = constructMatchesBcp47(); + + /** + * Check that {@code text} is a valid BCP 47 language tag. + * + *

See: https://en.wikipedia.org/wiki/IETF_language_tag + */ + public static Boolean matchesBcp47(String text) { + return regexMatchesBcp47.matcher(text).matches(); + } + + /** + * Check that {@link IAbstractLangString langStrings} are specified each for a unique + * language. + * @param langStrings the langStrings. + */ + public static boolean langStringsHaveUniqueLanguages( + Iterable langStrings + ){ + Objects.requireNonNull(langStrings); + + Set languageSet = new HashSet<>(); + for (IAbstractLangString langString : langStrings) { + if (languageSet.contains(langString.getLanguage())) { + return false; + } + languageSet.add(langString.getLanguage()); + } + return true; + } + + /** + * Check that there are no duplicate {@link IQualifier#getType() type}'s + * in the qualifiers. + * @param qualifiers the qualifiers + */ + public static boolean qualifierTypesAreUnique( + Iterable qualifiers + ) { + Objects.requireNonNull(qualifiers); + + Set typeSet = new HashSet<>(); + for (IQualifier qualifier : qualifiers) { + if (typeSet.contains(qualifier.getType())) { + return false; + } + typeSet.add(qualifier.getType()); + } + return true; + } + + private static Pattern constructMatchesXmlSerializableString() { + String pattern = "^[\\x{09}\\x{0a}\\x{0d}\\x{20}-\\x{d7ff}\\x{e000}-\\x{fffd}\\x{10000}-\\x{10ffff}]*$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXmlSerializableString = constructMatchesXmlSerializableString(); + + /** + * Check that {@code text} conforms to the pattern of the Constraint AASd-130. + * + *

Ensures that encoding is possible and interoperability between different + * serializations is possible. + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXmlSerializableString(String text) { + return regexMatchesXmlSerializableString.matcher(text).matches(); + } + + private static Pattern constructMatchesXsAnyUri() { + String alphanum = "[a-zA-Z0-9]"; + String mark = "[-_.!~*\'()]"; + String unreserved = "(" + alphanum + "|" + mark + ")"; + String hex = "([0-9]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF])"; + String escaped = "%" + hex + hex; + String pchar = "(" + unreserved + "|" + escaped + "|[:@&=+$,])"; + String param = "(" + pchar + ")*"; + String segment = "(" + pchar + ")*(;" + param + ")*"; + String pathSegments = segment + "(/" + segment + ")*"; + String absPath = "/" + pathSegments; + String scheme = "[a-zA-Z][a-zA-Z0-9+\\-.]*"; + String userinfo = "(" + unreserved + "|" + escaped + "|[;:&=+$,])*"; + String domainlabel = "(" + alphanum + "|" + alphanum + "(" + alphanum + "|-)*" + alphanum + ")"; + String toplabel = "([a-zA-Z]|[a-zA-Z](" + alphanum + "|-)*" + alphanum + ")"; + String hostname = "(" + domainlabel + "\\.)*" + toplabel + "(\\.)?"; + String ipv4address = "[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}"; + String hex4 = "[0-9A-Fa-f]{1,4}"; + String hexseq = hex4 + "(:" + hex4 + ")*"; + String hexpart = "(" + hexseq + "|" + hexseq + "::(" + hexseq + ")?|::(" + hexseq + ")?)"; + String ipv6address = hexpart + "(:" + ipv4address + ")?"; + String ipv6reference = "\\[" + ipv6address + "\\]"; + String host = "(" + hostname + "|" + ipv4address + "|" + ipv6reference + ")"; + String port = "[0-9]*"; + String hostport = host + "(:" + port + ")?"; + String server = "((" + userinfo + "@)?" + hostport + ")?"; + String regName = "(" + unreserved + "|" + escaped + "|[$,;:@&=+])+"; + String authority = "(" + server + "|" + regName + ")"; + String netPath = "//" + authority + "(" + absPath + ")?"; + String reserved = "[;/?:@&=+$,\\[\\]]"; + String uric = "(" + reserved + "|" + unreserved + "|" + escaped + ")"; + String query = "(" + uric + ")*"; + String hierPart = "(" + netPath + "|" + absPath + ")(\\?" + query + ")?"; + String uricNoSlash = "(" + unreserved + "|" + escaped + "|[;?:@&=+$,])"; + String opaquePart = uricNoSlash + "(" + uric + ")*"; + String absoluteuri = scheme + ":(" + hierPart + "|" + opaquePart + ")"; + String fragment = "(" + uric + ")*"; + String relSegment = "(" + unreserved + "|" + escaped + "|[;@&=+$,])+"; + String relPath = relSegment + "(" + absPath + ")?"; + String relativeuri = "(" + netPath + "|" + absPath + "|" + relPath + ")(\\?" + query + ")?"; + String uriReference = "^(" + absoluteuri + "|" + relativeuri + ")?(#" + fragment + ")?$"; + + return Pattern.compile(uriReference); + } + + private static final Pattern regexMatchesXsAnyUri = constructMatchesXsAnyUri(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:anyURI}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#anyURI and + * https://datatracker.ietf.org/doc/html/rfc2396 and + * https://datatracker.ietf.org/doc/html/rfc2732 + * + *

Note, that version 1.0 of the XSD specification defines {@code xs:anyURI} as + * "defined by RFC 2396, as amended by RFC 2732". Therefore, we use a + * pattern here that implements the amendments of RFC 2732. This should not + * be confused with {@code matches_RFC_2396}, which does not include those + * amendments and is used in different parts of the specification. + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsAnyUri(String text) { + return regexMatchesXsAnyUri.matcher(text).matches(); + } + + private static Pattern constructMatchesXsBase64Binary() { + String b04Char = "[AQgw]"; + String b04 = b04Char + "\\x{20}?"; + String b16Char = "[AEIMQUYcgkosw048]"; + String b16 = b16Char + "\\x{20}?"; + String b64Char = "[A-Za-z0-9+/]"; + String b64 = b64Char + "\\x{20}?"; + String b64quad = "(" + b64 + b64 + b64 + b64 + ")"; + String b64FinalQuad = "(" + b64 + b64 + b64 + b64Char + ")"; + String padded8 = b64 + b04 + "= ?="; + String padded16 = b64 + b64 + b16 + "="; + String b64final = "(" + b64FinalQuad + "|" + padded16 + "|" + padded8 + ")"; + String base64Binary = "(" + b64quad + "*" + b64final + ")?"; + String pattern = "^" + base64Binary + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsBase64Binary = constructMatchesXsBase64Binary(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:base64Binary}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#base64Binary + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsBase64Binary(String text) { + return regexMatchesXsBase64Binary.matcher(text).matches(); + } + + private static Pattern constructMatchesXsBoolean() { + String pattern = "^(true|false|1|0)$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsBoolean = constructMatchesXsBoolean(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:boolean}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#boolean + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsBoolean(String text) { + return regexMatchesXsBoolean.matcher(text).matches(); + } + + private static Pattern constructMatchesXsDate() { + String digit = "[0-9]"; + String yearFrag = "-?(([1-9]" + digit + digit + digit + "+)|(0" + digit + digit + digit + "))"; + String monthFrag = "((0[1-9])|(1[0-2]))"; + String dayFrag = "((0[1-9])|([12]" + digit + ")|(3[01]))"; + String minuteFrag = "[0-5]" + digit; + String timezoneFrag = "(Z|(\\+|-)((0" + digit + "|1[0-3]):" + minuteFrag + "|14:00))"; + String dateLexicalRep = yearFrag + "-" + monthFrag + "-" + dayFrag + timezoneFrag + "?"; + String pattern = "^" + dateLexicalRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDate = constructMatchesXsDate(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:date}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#date + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDate(String text) { + return regexMatchesXsDate.matcher(text).matches(); + } + + private static Pattern constructMatchesXsDateTime() { + String digit = "[0-9]"; + String yearFrag = "-?(([1-9]" + digit + digit + digit + "+)|(0" + digit + digit + digit + "))"; + String monthFrag = "((0[1-9])|(1[0-2]))"; + String dayFrag = "((0[1-9])|([12]" + digit + ")|(3[01]))"; + String hourFrag = "(([01]" + digit + ")|(2[0-3]))"; + String minuteFrag = "[0-5]" + digit; + String secondFrag = "([0-5]" + digit + ")(\\." + digit + "+)?"; + String endOfDayFrag = "24:00:00(\\.0+)?"; + String timezoneFrag = "(Z|(\\+|-)((0" + digit + "|1[0-3]):" + minuteFrag + "|14:00))"; + String dateTimeLexicalRep = yearFrag + "-" + monthFrag + "-" + dayFrag + "T((" + hourFrag + ":" + minuteFrag + ":" + secondFrag + ")|" + endOfDayFrag + ")" + timezoneFrag + "?"; + String pattern = "^" + dateTimeLexicalRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDateTime = constructMatchesXsDateTime(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:dateTime}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#dateTime + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDateTime(String text) { + return regexMatchesXsDateTime.matcher(text).matches(); + } + + private static final Pattern regexDatePrefix = Pattern.compile("^(-?[0-9]+)-([0-9]{2})-([0-9]{2})"); + private static final BigInteger FOUR = new BigInteger("4"); + private static final BigInteger HUNDRED = new BigInteger("100"); + private static final BigInteger FOUR_HUNDRED = new BigInteger("100"); + + /** + * Check whether the given year is a leap year. + * Year 1 BCE is a leap year. + * @param year to be checked + * @return True if 'year' is a leap year + */ + + public static boolean isLeapYear(BigInteger year) { + // We consider the years B.C. to be one-off. + // See the note at: https://www.w3.org/TR/xmlschema-2/#dateTime: + // "'-0001' is the lexical representation of the year 1 Before Common Era + // (1 BCE, sometimes written "1 BC")." + // + // Hence, -1 year in XML is 1 BCE, which is 0 year in astronomical years. + if (year.signum() < 0) { + year = year.negate().subtract(BigInteger.ONE); + } + + // See: See: https://en.wikipedia.org/wiki/Leap_year#Algorithm + if (year.mod(FOUR).signum() > 0) { + return false; + } + + if (year.mod(HUNDRED).signum() > 0) { + return true; + } + + if (year.mod(FOUR_HUNDRED).signum() > 0) { + return false; + } + + return true; + } + + /** + * Check that the value starts with a valid date. + * @param value an xs:date, an xs:dateTime,or an xs:dateTimeStamp + * @return true if the value starts with a valid date + */ + private static boolean isPrefixedWithValidDate( + String value) { + Objects.requireNonNull(value); + + Matcher match = regexDatePrefix.matcher(value); + if (!match.lookingAt()) { + return false; + } + + BigInteger year; + try { + year = new BigInteger(match.group(1)); + } catch (NumberFormatException exception) { + throw new IllegalArgumentException( + "Expected to parse the year from " + match.group(1) + + "but the parsing failed"); + } + + int month; + try { + month = Integer.parseInt(match.group(2)); + } catch (NumberFormatException exception) { + throw new IllegalArgumentException( + "Expected to parse the month from " + match.group(2) + + "but the parsing failed"); + } + + int day; + try { + day = Integer.parseInt(match.group(3)); + } catch (NumberFormatException exception) { + throw new IllegalArgumentException( + "Expected to parse the day from " + match.group(3) + + "but the parsing failed"); + } + + // Year zero does not exist, see: https://www.w3.org/TR/xmlschema-2/#dateTime + if (year.signum() == 0) { + return false; + } + + if (day <= 0 || day > 31) { + return false; + } + + if (month <= 0 || month >= 13) { + return false; + } + + int maxDaysInMonth; + switch (month) { + case 1: + maxDaysInMonth = 31; + break; + case 2: + maxDaysInMonth = (isLeapYear(year)) ? 29 : 28; + break; + case 3: + maxDaysInMonth = 31; + break; + case 4: + maxDaysInMonth = 30; + break; + case 5: + maxDaysInMonth = 31; + break; + case 6: + maxDaysInMonth = 30; + break; + case 7: + maxDaysInMonth = 31; + break; + case 8: + maxDaysInMonth = 31; + break; + case 9: + maxDaysInMonth = 30; + break; + case 10: + maxDaysInMonth = 31; + break; + case 11: + maxDaysInMonth = 30; + break; + case 12: + maxDaysInMonth = 31; + break; + default: + throw new IllegalArgumentException("Unexpected month: " + month); + } + + if (day > maxDaysInMonth) { + return false; + } + + return true; + } + + + + /** + * Check that value is a xs:dateTime with + * the time zone set to UTC. + * @param value to check + */ + public static boolean isXsDateTime(String value) { + if (!matchesXsDateTime(value)) { + return false; + } + + return isPrefixedWithValidDate(value); + } + + private static Pattern constructMatchesXsDecimal() { + String digit = "[0-9]"; + String unsignedNoDecimalPtNumeral = digit + "+"; + String noDecimalPtNumeral = "(\\+|-)?" + unsignedNoDecimalPtNumeral; + String fracFrag = digit + "+"; + String unsignedDecimalPtNumeral = "(" + unsignedNoDecimalPtNumeral + "\\." + fracFrag + "|\\." + fracFrag + ")"; + String decimalPtNumeral = "(\\+|-)?" + unsignedDecimalPtNumeral; + String decimalLexicalRep = "(" + decimalPtNumeral + "|" + noDecimalPtNumeral + ")"; + String pattern = "^" + decimalLexicalRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDecimal = constructMatchesXsDecimal(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:decimal}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#decimal + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDecimal(String text) { + return regexMatchesXsDecimal.matcher(text).matches(); + } + + private static Pattern constructMatchesXsDouble() { + String doubleRep = "((\\+|-)?([0-9]+(\\.[0-9]*)?|\\.[0-9]+)([Ee](\\+|-)?[0-9]+)?|-?INF|NaN)"; + String pattern = "^" + doubleRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDouble = constructMatchesXsDouble(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:double}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#double + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDouble(String text) { + return regexMatchesXsDouble.matcher(text).matches(); + } + + private static Pattern constructMatchesXsDuration() { + String durationRep = "-?P((([0-9]+Y([0-9]+M)?([0-9]+D)?|([0-9]+M)([0-9]+D)?|([0-9]+D))(T(([0-9]+H)([0-9]+M)?([0-9]+(\\.[0-9]+)?S)?|([0-9]+M)([0-9]+(\\.[0-9]+)?S)?|([0-9]+(\\.[0-9]+)?S)))?)|(T(([0-9]+H)([0-9]+M)?([0-9]+(\\.[0-9]+)?S)?|([0-9]+M)([0-9]+(\\.[0-9]+)?S)?|([0-9]+(\\.[0-9]+)?S))))"; + String pattern = "^" + durationRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDuration = constructMatchesXsDuration(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:duration}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#duration + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDuration(String text) { + return regexMatchesXsDuration.matcher(text).matches(); + } + + private static Pattern constructMatchesXsFloat() { + String floatRep = "((\\+|-)?([0-9]+(\\.[0-9]*)?|\\.[0-9]+)([Ee](\\+|-)?[0-9]+)?|-?INF|NaN)"; + String pattern = "^" + floatRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsFloat = constructMatchesXsFloat(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:float}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#float + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsFloat(String text) { + return regexMatchesXsFloat.matcher(text).matches(); + } + + private static Pattern constructMatchesXsGDay() { + String gDayLexicalRep = "---(0[1-9]|[12][0-9]|3[01])(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + gDayLexicalRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsGDay = constructMatchesXsGDay(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:gDay}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#gDay + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsGDay(String text) { + return regexMatchesXsGDay.matcher(text).matches(); + } + + private static Pattern constructMatchesXsGMonth() { + String gMonthLexicalRep = "--(0[1-9]|1[0-2])(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + gMonthLexicalRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsGMonth = constructMatchesXsGMonth(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:gMonth}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#gMonth + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsGMonth(String text) { + return regexMatchesXsGMonth.matcher(text).matches(); + } + + private static Pattern constructMatchesXsGMonthDay() { + String gMonthDayRep = "--(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + gMonthDayRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsGMonthDay = constructMatchesXsGMonthDay(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:gMonthDay}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#gMonthDay + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsGMonthDay(String text) { + return regexMatchesXsGMonthDay.matcher(text).matches(); + } + + private static Pattern constructMatchesXsGYear() { + String gYearRep = "-?([1-9][0-9]{3,}|0[0-9]{3})(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + gYearRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsGYear = constructMatchesXsGYear(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:gYear}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#gYear + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsGYear(String text) { + return regexMatchesXsGYear.matcher(text).matches(); + } + + private static Pattern constructMatchesXsGYearMonth() { + String gYearMonthRep = "-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + gYearMonthRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsGYearMonth = constructMatchesXsGYearMonth(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:gYearMonth}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#gYearMonth + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsGYearMonth(String text) { + return regexMatchesXsGYearMonth.matcher(text).matches(); + } + + private static Pattern constructMatchesXsHexBinary() { + String hexBinary = "([0-9a-fA-F]{2})*"; + String pattern = "^" + hexBinary + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsHexBinary = constructMatchesXsHexBinary(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:hexBinary}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#hexBinary + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsHexBinary(String text) { + return regexMatchesXsHexBinary.matcher(text).matches(); + } + + private static Pattern constructMatchesXsTime() { + String timeRep = "(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?|(24:00:00(\\.0+)?))(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + timeRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsTime = constructMatchesXsTime(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:time}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#time + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsTime(String text) { + return regexMatchesXsTime.matcher(text).matches(); + } + + private static Pattern constructMatchesXsInteger() { + String integerRep = "[-+]?[0-9]+"; + String pattern = "^" + integerRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsInteger = constructMatchesXsInteger(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:integer}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#integer + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsInteger(String text) { + return regexMatchesXsInteger.matcher(text).matches(); + } + + private static Pattern constructMatchesXsLong() { + String longRep = "[-+]?0*[0-9]{1,20}"; + String pattern = "^" + longRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsLong = constructMatchesXsLong(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:long}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#long + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsLong(String text) { + return regexMatchesXsLong.matcher(text).matches(); + } + + private static Pattern constructMatchesXsInt() { + String intRep = "[-+]?0*[0-9]{1,10}"; + String pattern = "^" + intRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsInt = constructMatchesXsInt(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:int}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#int + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsInt(String text) { + return regexMatchesXsInt.matcher(text).matches(); + } + + private static Pattern constructMatchesXsShort() { + String shortRep = "[-+]?0*[0-9]{1,5}"; + String pattern = "^" + shortRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsShort = constructMatchesXsShort(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:short}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#short + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsShort(String text) { + return regexMatchesXsShort.matcher(text).matches(); + } + + private static Pattern constructMatchesXsByte() { + String byteRep = "[-+]?0*[0-9]{1,3}"; + String pattern = "^" + byteRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsByte = constructMatchesXsByte(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:byte}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#byte + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsByte(String text) { + return regexMatchesXsByte.matcher(text).matches(); + } + + private static Pattern constructMatchesXsNonNegativeInteger() { + String nonNegativeIntegerRep = "(-0|\\+?[0-9]+)"; + String pattern = "^" + nonNegativeIntegerRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsNonNegativeInteger = constructMatchesXsNonNegativeInteger(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:nonNegativeInteger}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#nonNegativeInteger + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsNonNegativeInteger(String text) { + return regexMatchesXsNonNegativeInteger.matcher(text).matches(); + } + + private static Pattern constructMatchesXsPositiveInteger() { + String positiveIntegerRep = "\\+?0*[1-9][0-9]*"; + String pattern = "^" + positiveIntegerRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsPositiveInteger = constructMatchesXsPositiveInteger(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:positiveInteger}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#positiveInteger + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsPositiveInteger(String text) { + return regexMatchesXsPositiveInteger.matcher(text).matches(); + } + + private static Pattern constructMatchesXsUnsignedLong() { + String unsignedLongRep = "(-0|\\+?0*[0-9]{1,20})"; + String pattern = "^" + unsignedLongRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsUnsignedLong = constructMatchesXsUnsignedLong(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:unsignedLong}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#unsignedLong + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsUnsignedLong(String text) { + return regexMatchesXsUnsignedLong.matcher(text).matches(); + } + + private static Pattern constructMatchesXsUnsignedInt() { + String unsignedIntRep = "(-0|\\+?0*[0-9]{1,10})"; + String pattern = "^" + unsignedIntRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsUnsignedInt = constructMatchesXsUnsignedInt(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:unsignedInt}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#unsignedInt + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsUnsignedInt(String text) { + return regexMatchesXsUnsignedInt.matcher(text).matches(); + } + + private static Pattern constructMatchesXsUnsignedShort() { + String unsignedShortRep = "(-0|\\+?0*[0-9]{1,5})"; + String pattern = "^" + unsignedShortRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsUnsignedShort = constructMatchesXsUnsignedShort(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:unsignedShort}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#unsignedShort + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsUnsignedShort(String text) { + return regexMatchesXsUnsignedShort.matcher(text).matches(); + } + + private static Pattern constructMatchesXsUnsignedByte() { + String unsignedByteRep = "(-0|\\+?0*[0-9]{1,3})"; + String pattern = "^" + unsignedByteRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsUnsignedByte = constructMatchesXsUnsignedByte(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:unsignedByte}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#unsignedByte + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsUnsignedByte(String text) { + return regexMatchesXsUnsignedByte.matcher(text).matches(); + } + + private static Pattern constructMatchesXsNonPositiveInteger() { + String nonPositiveIntegerRep = "(\\+0|0|-[0-9]+)"; + String pattern = "^" + nonPositiveIntegerRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsNonPositiveInteger = constructMatchesXsNonPositiveInteger(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:nonPositiveInteger}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#nonPositiveInteger + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsNonPositiveInteger(String text) { + return regexMatchesXsNonPositiveInteger.matcher(text).matches(); + } + + private static Pattern constructMatchesXsNegativeInteger() { + String negativeIntegerRep = "(-0*[1-9][0-9]*)"; + String pattern = "^" + negativeIntegerRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsNegativeInteger = constructMatchesXsNegativeInteger(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:negativeInteger}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#negativeInteger + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsNegativeInteger(String text) { + return regexMatchesXsNegativeInteger.matcher(text).matches(); + } + + private static Pattern constructMatchesXsString() { + String pattern = "^[\\x{09}\\x{0a}\\x{0d}\\x{20}-\\x{d7ff}\\x{e000}-\\x{fffd}\\x{10000}-\\x{10ffff}]*$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsString = constructMatchesXsString(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:string}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#string + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsString(String text) { + return regexMatchesXsString.matcher(text).matches(); + } + + /** + * Check that the value is consistent with + * the given valueType. + * @param value the value to check + * @param valueType the value type + */ + public static boolean valueConsistentWithXsdType( + String value, + DataTypeDefXsd valueType){ + Objects.requireNonNull(value); + Objects.requireNonNull(valueType); + + switch (valueType) { + case ANY_URI: { + return matchesXsAnyUri(value); + } + case BASE_64_BINARY: { + return matchesXsBase64Binary(value); + } + case BOOLEAN: { + return matchesXsBoolean(value); + } + case BYTE: { + try { + Byte.valueOf(value); + return true; + } catch (NumberFormatException numberFormatException) { + return false; + } + } + case DATE: { + if (!matchesXsDate(value)) { + return false; + } + + return isPrefixedWithValidDate(value); + } + case DATE_TIME: { + if (!matchesXsDateTime(value)) { + return false; + } + + // The time part and the time zone part will be checked by + // MatchesXsDateTime. We need to check that the date part is + // correct in sense of the day/month combination. + return isPrefixedWithValidDate(value); + } + case DECIMAL: { + return matchesXsDecimal(value); + } + case DOUBLE: { + // We need to check explicitly for the regular expression. + // See: https://www.w3.org/TR/xmlschema-2/#double + if (!matchesXsDouble(value)) { + return false; + } + + if("INF".equals(value) || "-INF".equals(value)) return true; + + double converted; + try { + converted = Double.parseDouble(value); + } catch (Exception exception) { + return false; + } + return !Double.isInfinite(converted); + } + case DURATION: { + return matchesXsDuration(value); + } + case FLOAT: { + // We need to check explicitly for the regular expression. + // See: https://www.w3.org/TR/xmlschema-2/#float + if (!matchesXsFloat(value)) { + return false; + } + + if("INF".equals(value) || "-INF".equals(value)) return true; + + float converted; + try { + converted = Float.parseFloat(value); + } catch (Exception exception) { + return false; + } + return !Float.isInfinite(converted); + } + case G_DAY: { + return matchesXsGDay(value); + } + case G_MONTH: { + return matchesXsGMonth(value); + } + case G_MONTH_DAY: { + if (!matchesXsGMonthDay(value)) { + return false; + } + + int month = Integer.parseInt(value.substring(2,4)); + int day = Integer.parseInt(value.substring(5,7)); + switch (month) + { + case 1: + case 3: + case 5: + case 7: + case 8: + case 10: + case 12: + return day <= 31; + case 4: + case 6: + case 9: + case 11: + return day <= 30; + case 2: + return day <= 29; + default: + throw new IllegalArgumentException( + "Unhandled month: " + month + + "is there maybe a bug in MatchesXsGMonthDay?" + ); + } + } + case G_YEAR: { + return matchesXsGYear(value); + } + case G_YEAR_MONTH: { + return matchesXsGYearMonth(value); + } + case HEX_BINARY: { + return matchesXsHexBinary(value); + } + case INT: { + try { + Integer.parseInt(value); + return true; + } catch (Exception exception) { + return false; + } + } + case INTEGER: { + return matchesXsInteger(value); + } + case LONG: { + try { + Long.parseLong(value); + return true; + } catch (Exception exception) { + return false; + } + } + case NEGATIVE_INTEGER: { + return matchesXsNegativeInteger(value); + } + case NON_NEGATIVE_INTEGER: { + return matchesXsNonNegativeInteger(value); + } + case NON_POSITIVE_INTEGER: { + return matchesXsNonPositiveInteger(value); + } + case POSITIVE_INTEGER: { + return matchesXsPositiveInteger(value); + } + case SHORT: { + try { + Short.parseShort(value); + return true; + } catch (Exception exception) { + return false; + } + } + case STRING: { + return matchesXsString(value); + } + case TIME: { + return matchesXsTime(value); + } + case UNSIGNED_BYTE: { + if (value.isEmpty()) { + return false; + } + + // We need to allow negative zeros which are allowed in the lexical + // representation of an unsigned byte. + // See: https://www.w3.org/TR/xmlschema11-2/#unsignedByte + if (value.equals("-0")) { + return true; + } + + try { + int converted = Integer.parseInt(value); + return 0 <= converted && converted <= 255; + } catch (Exception exception) { + return false; + } + } + case UNSIGNED_INT: { + if (value.isEmpty()) { + return false; + } + + // We need to allow negative zeros which are allowed in the lexical + // representation of an unsigned int. + // See: https://www.w3.org/TR/xmlschema11-2/#unsignedInt + if (value.equals("-0")) { + return true; + } + + try { + //Java does not support UInt32 like C#, so we need to use long. + long converted = Long.parseUnsignedLong(value); + return converted <= 4294967295L; + } catch (Exception exception) { + return false; + } + } + case UNSIGNED_LONG: { + if (value.isEmpty()) { + return false; + } + + // We need to allow negative zeros which are allowed in the lexical + // representation of an unsigned long. + // See: https://www.w3.org/TR/xmlschema11-2/#unsignedLong + if (value.equals("-0")) { + return true; + } + + try { + Long.parseUnsignedLong(value); + return true; + } catch (Exception exception) { + return false; + } + } + case UNSIGNED_SHORT: { + if (value.isEmpty()) { + return false; + } + + // We need to allow negative zeros which are allowed in the lexical + // representation of an unsigned short. + // See: https://www.w3.org/TR/xmlschema11-2/#unsignedShort + if (value.equals("-0")) { + return true; + } + + try { + int converted = Integer.parseInt(value); + return 0 <= converted && converted <= 65535; + } catch (Exception exception) { + return false; + } + } + default: + throw new IllegalArgumentException( + "valueType is an invalid DataTypeDefXsd: " + valueType + ); + } + } + + /** + * Check that the target of the model reference matches the {@code expectedType}. + */ + public static Boolean isModelReferenceTo( + IReference reference, + KeyTypes expectedType) { + return reference.getType() == ReferenceTypes.MODEL_REFERENCE + && reference.getKeys().size() != 0 + && ListHelpers.at(reference.getKeys(), -1).getType() == expectedType; + } + + /** + * Check that the target of the reference matches a {@link aas_core.aas3_2.constants.Constants#aasReferables}. + */ + public static Boolean isModelReferenceToReferable( + IReference reference) { + return reference.getType() == ReferenceTypes.MODEL_REFERENCE + && reference.getKeys().size() != 0 + && Constants.aasReferables.contains(ListHelpers.at(reference.getKeys(), -1).getType()); + } + + /** + * Check that all {@link IReferable#getIdShort() idShort} are unique among referables. + * @param referables the referables. + */ + public static boolean idShortsAreUnique( + Iterable referables) { + Objects.requireNonNull(referables); + + Set idShortSet = new HashSet<>(); + + for (IReferable referable : referables) { + if (referable.getIdShort().isPresent()) { + if (idShortSet.contains(referable.getIdShort().get())) { + return false; + } + idShortSet.add(referable.getIdShort().get()); + } + } + return true; + } + + /** + * Check that all {@link IReferable#getIdShort idShort} 's are among all the inputVariables, outputVariables and inoutputVariables are unique. + * @param inputVariables the inputVariables + * @param outputVariables the outputVariables + * @param inoutputVariables the inoutputVariables + */ + public static boolean idShortsOfVariablesAreUnique( + Optional> inputVariables, + Optional> outputVariables, + Optional> inoutputVariables) { + + Set idShortSet = new HashSet<>(); + + if (inputVariables.isPresent()) { + for(IOperationVariable variable : inputVariables.get()) { + if (variable.getValue().getIdShort().isPresent()) { + if (idShortSet.contains(variable.getValue().getIdShort().get())) { + return false; + } + idShortSet.add(variable.getValue().getIdShort().get()); + } + } + } + + if (outputVariables.isPresent()) { + for (IOperationVariable variable : outputVariables.get()) { + if (variable.getValue().getIdShort().isPresent()) { + if (idShortSet.contains(variable.getValue().getIdShort().get())) { + return false; + } + idShortSet.add(variable.getValue().getIdShort().get()); + } + } + } + + if (inoutputVariables.isPresent()) { + for (IOperationVariable variable : inoutputVariables.get()) { + if (variable.getValue().getIdShort().isPresent()) { + if (idShortSet.contains(variable.getValue().getIdShort().get())) { + return false; + } + idShortSet.add(variable.getValue().getIdShort().get()); + } + } + } + + return true; + } + + /** + * Check that all {@link IExtension#getName() name} are unique among extensions. + * @param extensions the extensions + */ + public static boolean extensionNamesAreUnique( + Iterable extensions) { + Objects.requireNonNull(extensions); + + Set nameSet = new HashSet<>(); + + for (IExtension extension : extensions) { + if (nameSet.contains(extension.getName())) { + return false; + } + nameSet.add(extension.getName()); + } + return true; + } + + /** + * Check that all elements have the identical + * {@link IHasSemantics#getSemanticId() semanticId}'s. + */ + public static boolean submodelElementsHaveIdenticalSemanticIds( + Iterable elements) { + Objects.requireNonNull(elements); + + IReference thatSemanticId = null; + + for (ISubmodelElement element : elements) { + if (!element.getSemanticId().isPresent()) { + continue; + } + + if (thatSemanticId == null) { + thatSemanticId = element.getSemanticId().get(); + continue; + } + + IReference thisSemanticId = element.getSemanticId().get(); + + if (thatSemanticId.getKeys().size() != thisSemanticId.getKeys().size()) { + return false; + } + + for (int i = 0; i < thisSemanticId.getKeys().size(); i++) { + if (!Objects.equals(thatSemanticId.getKeys().get(i).getValue(), + thisSemanticId.getKeys().get(i).getValue())) { + return false; + } + } + } + + return true; + } + + public static boolean submodelElementIsOfType( + ISubmodelElement element, + AasSubmodelElements expectedType + ) { + Objects.requireNonNull(element); + Objects.requireNonNull(expectedType); + + switch (expectedType) { + case ANNOTATED_RELATIONSHIP_ELEMENT: + return element instanceof IAnnotatedRelationshipElement; + + case BASIC_EVENT_ELEMENT: + return element instanceof IBasicEventElement; + + case BLOB: + return element instanceof IBlob; + + case CAPABILITY: + return element instanceof ICapability; + + case DATA_ELEMENT: + return element instanceof IDataElement; + + case ENTITY: + return element instanceof IEntity; + + case EVENT_ELEMENT: + return element instanceof IEventElement; + + case FILE: + return element instanceof IFile; + + case MULTI_LANGUAGE_PROPERTY: + return element instanceof IMultiLanguageProperty; + + case OPERATION: + return element instanceof IOperation; + + case PROPERTY: + return element instanceof IProperty; + + case RANGE: + return element instanceof IRange; + + case REFERENCE_ELEMENT: + return element instanceof IReferenceElement; + + case RELATIONSHIP_ELEMENT: + return element instanceof IRelationshipElement; + + case SUBMODEL_ELEMENT: + return element instanceof ISubmodelElement; + + case SUBMODEL_ELEMENT_LIST: + return element instanceof ISubmodelElementList; + + case SUBMODEL_ELEMENT_COLLECTION: + return element instanceof ISubmodelElementCollection; + + default: + throw new IllegalArgumentException( + "expectedType is not a valid AasSubmodelElements: " + expectedType + ); + } + } + + /** + * Check that the elements which are + * {@link IProperty} or {@link IRange} + * have the given valueType. + * @param elements the elements. + * @param valueType the valueType. + */ + public static boolean propertiesOrRangesHaveValueType( + Iterable elements, + DataTypeDefXsd valueType + ) { + Objects.requireNonNull(elements); + Objects.requireNonNull(valueType); + + for (ISubmodelElement element : elements) { + if(element instanceof IProperty) { + if (((IProperty) element).getValueType() != valueType) { + return false; + } + } else if (element instanceof IRange) { + if (((IRange) element).getValueType() != valueType) { + return false; + } + } + } + return true; + } + + /** + * Check that the two references,'that' and + * 'other', are equal by comparing + * their {@link IReference#getKeys() keys} by + * {@link IKey#getValue() value}'s. + */ + public static boolean referenceKeyValuesEqual( + IReference that, + IReference other) { + Objects.requireNonNull(that); + Objects.requireNonNull(other); + + if (that.getKeys().size() != other.getKeys().size()) { + return false; + } + + for (int i = 0; i < that.getKeys().size(); i++) { + if (!Objects.equals(that.getKeys().get(i).getValue(), other.getKeys().get(i).getValue())) { + return false; + } + } + + return true; + } + + /** + *Check that the {@link IDataSpecificationIec61360#getValue() dataType} is defined + *appropriately for all data specifications whose content is given as IEC 61360. + */ + public static boolean dataSpecificationIec61360sForPropertyOrValueHaveAppropriateDataType( + Iterable embeddedDataSpecifications){ + Objects.requireNonNull(embeddedDataSpecifications); + + for (IEmbeddedDataSpecification embeddedDataSpecification : embeddedDataSpecifications){ + IDataSpecificationIec61360 iec61360 = + (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if(iec61360 != null){ + if (!iec61360.getDataType().isPresent() + || !Constants.dataTypeIec61360ForPropertyOrValue.contains( + iec61360.getDataType().get())) { + return false; + } + } + } + return true; + } + + /** + * Check that the {@link IDataSpecificationIec61360#getDataType() dataType} is defined + * appropriately for all data specifications whose content is given as IEC 61360. + */ + public static boolean dataSpecificationIec61360sForReferenceHaveAppropriateDataType( + Iterable embeddedDataSpecifications) { + Objects.requireNonNull(embeddedDataSpecifications); + + for(IEmbeddedDataSpecification embeddedDataSpecification :embeddedDataSpecifications) { + IDataSpecificationIec61360 iec61360 = + (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if (iec61360 != null) { + if (!iec61360.getDataType().isPresent() + || !Constants.dataTypeIec61360ForReference.contains( + iec61360.getDataType().get())) { + return false; + } + } + } + return true; + } + + /** + * Check that the {@link IDataSpecificationIec61360#getDataType dataType} is defined + * appropriately for all data specifications whose content is given as IEC 61360. + */ + public static boolean dataSpecificationIec61360sForDocumentHaveAppropriateDataType( + Iterable embeddedDataSpecifications) { + Objects.requireNonNull(embeddedDataSpecifications); + + for (IEmbeddedDataSpecification embeddedDataSpecification : embeddedDataSpecifications) { + IDataSpecificationIec61360 iec61360 = + (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if(iec61360 != null) { + if (!iec61360.getDataType().isPresent() + || !Constants.dataTypeIec61360ForDocument.contains( + iec61360.getDataType().get())) { + return false; + } + } + } + return true; + } + + /** + * Check that the {@link IDataSpecificationIec61360#getDataType() dataType} is defined + * for all data specifications whose content is given as IEC 61360. + */ + public static boolean dataSpecificationIec61360sHaveDataType( + Iterable embeddedDataSpecifications){ + Objects.requireNonNull(embeddedDataSpecifications); + + for (IEmbeddedDataSpecification embeddedDataSpecification : embeddedDataSpecifications) { + IDataSpecificationIec61360 iec61360 + = (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if (iec61360 != null) { + if (!iec61360.getDataType().isPresent()) { + return false; + } + } + } + return true; + } + + /** Check that the {@link IDataSpecificationIec61360#getValue() value} is defined + * for all data specifications whose content is given as IEC 61360. + */ + public static boolean dataSpecificationIec61360sHaveValue( + Iterable embeddedDataSpecifications) { + Objects.requireNonNull(embeddedDataSpecifications); + + for (IEmbeddedDataSpecification embeddedDataSpecification : embeddedDataSpecifications) { + IDataSpecificationIec61360 iec61360 = + (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if (iec61360 != null) { + if (!iec61360.getValue().isPresent()) { + return false; + } + } + } + return true; + } + + /** + * Check that the {@link IDataSpecificationIec61360#getDefinition() definition} is defined + * for all data specifications whose content is given as IEC 61360 at least in English. + */ + public static boolean dataSpecificationIec61360sHaveDefinitionAtLeastInEnglish( + Iterable embeddedDataSpecifications){ + Objects.requireNonNull(embeddedDataSpecifications); + + for (IEmbeddedDataSpecification embeddedDataSpecification : embeddedDataSpecifications) { + IDataSpecificationIec61360 iec61360 = + (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if (iec61360 != null) { + if (!iec61360.getDefinition().isPresent()) { + return false; + } + + boolean noDefinitionInEnglish = true; + for (ILangStringDefinitionTypeIec61360 langString : iec61360.getDefinition().get()) { + if (isBcp47ForEnglish(langString.getLanguage())) { + noDefinitionInEnglish = false; + break; + } + } + + if (noDefinitionInEnglish) { + return false; + } + } + } + return true; + } + + private static Pattern constructIsBcp47ForEnglish() { + String pattern = "^(en|EN)(-.*)?$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexIsBcp47ForEnglish = constructIsBcp47ForEnglish(); + + /** + * Check that the {@code text} corresponds to a BCP47 code for english. + */ + public static Boolean isBcp47ForEnglish(String text) { + return regexIsBcp47ForEnglish.matcher(text).matches(); + } + + /** + * Hash allowed enum values for efficient validation of enums. + */ + private static class _EnumValueSet { + private static final Set forModellingKind; + static { + final Set temp = new HashSet<>(); + + temp.add(ModellingKind.TEMPLATE); + temp.add(ModellingKind.INSTANCE); + + if (!temp.containsAll(Arrays.asList(ModellingKind.values()))) { + throw new IllegalStateException("Uncovered ModellingKind"); + } + + forModellingKind = Collections.unmodifiableSet(temp); + } + + private static final Set forQualifierKind; + static { + final Set temp = new HashSet<>(); + + temp.add(QualifierKind.VALUE_QUALIFIER); + temp.add(QualifierKind.CONCEPT_QUALIFIER); + temp.add(QualifierKind.TEMPLATE_QUALIFIER); + + if (!temp.containsAll(Arrays.asList(QualifierKind.values()))) { + throw new IllegalStateException("Uncovered QualifierKind"); + } + + forQualifierKind = Collections.unmodifiableSet(temp); + } + + private static final Set forAssetKind; + static { + final Set temp = new HashSet<>(); + + temp.add(AssetKind.TYPE); + temp.add(AssetKind.INSTANCE); + temp.add(AssetKind.ROLE); + temp.add(AssetKind.NOT_APPLICABLE); + + if (!temp.containsAll(Arrays.asList(AssetKind.values()))) { + throw new IllegalStateException("Uncovered AssetKind"); + } + + forAssetKind = Collections.unmodifiableSet(temp); + } + + private static final Set forAasSubmodelElements; + static { + final Set temp = new HashSet<>(); + + temp.add(AasSubmodelElements.ANNOTATED_RELATIONSHIP_ELEMENT); + temp.add(AasSubmodelElements.BASIC_EVENT_ELEMENT); + temp.add(AasSubmodelElements.BLOB); + temp.add(AasSubmodelElements.CAPABILITY); + temp.add(AasSubmodelElements.DATA_ELEMENT); + temp.add(AasSubmodelElements.ENTITY); + temp.add(AasSubmodelElements.EVENT_ELEMENT); + temp.add(AasSubmodelElements.FILE); + temp.add(AasSubmodelElements.MULTI_LANGUAGE_PROPERTY); + temp.add(AasSubmodelElements.OPERATION); + temp.add(AasSubmodelElements.PROPERTY); + temp.add(AasSubmodelElements.RANGE); + temp.add(AasSubmodelElements.REFERENCE_ELEMENT); + temp.add(AasSubmodelElements.RELATIONSHIP_ELEMENT); + temp.add(AasSubmodelElements.SUBMODEL_ELEMENT); + temp.add(AasSubmodelElements.SUBMODEL_ELEMENT_LIST); + temp.add(AasSubmodelElements.SUBMODEL_ELEMENT_COLLECTION); + + if (!temp.containsAll(Arrays.asList(AasSubmodelElements.values()))) { + throw new IllegalStateException("Uncovered AasSubmodelElements"); + } + + forAasSubmodelElements = Collections.unmodifiableSet(temp); + } + + private static final Set forEntityType; + static { + final Set temp = new HashSet<>(); + + temp.add(EntityType.CO_MANAGED_ENTITY); + temp.add(EntityType.SELF_MANAGED_ENTITY); + + if (!temp.containsAll(Arrays.asList(EntityType.values()))) { + throw new IllegalStateException("Uncovered EntityType"); + } + + forEntityType = Collections.unmodifiableSet(temp); + } + + private static final Set forDirection; + static { + final Set temp = new HashSet<>(); + + temp.add(Direction.INPUT); + temp.add(Direction.OUTPUT); + + if (!temp.containsAll(Arrays.asList(Direction.values()))) { + throw new IllegalStateException("Uncovered Direction"); + } + + forDirection = Collections.unmodifiableSet(temp); + } + + private static final Set forStateOfEvent; + static { + final Set temp = new HashSet<>(); + + temp.add(StateOfEvent.ON); + temp.add(StateOfEvent.OFF); + + if (!temp.containsAll(Arrays.asList(StateOfEvent.values()))) { + throw new IllegalStateException("Uncovered StateOfEvent"); + } + + forStateOfEvent = Collections.unmodifiableSet(temp); + } + + private static final Set forReferenceTypes; + static { + final Set temp = new HashSet<>(); + + temp.add(ReferenceTypes.EXTERNAL_REFERENCE); + temp.add(ReferenceTypes.MODEL_REFERENCE); + + if (!temp.containsAll(Arrays.asList(ReferenceTypes.values()))) { + throw new IllegalStateException("Uncovered ReferenceTypes"); + } + + forReferenceTypes = Collections.unmodifiableSet(temp); + } + + private static final Set forKeyTypes; + static { + final Set temp = new HashSet<>(); + + temp.add(KeyTypes.ANNOTATED_RELATIONSHIP_ELEMENT); + temp.add(KeyTypes.ASSET_ADMINISTRATION_SHELL); + temp.add(KeyTypes.BASIC_EVENT_ELEMENT); + temp.add(KeyTypes.BLOB); + temp.add(KeyTypes.CAPABILITY); + temp.add(KeyTypes.CONCEPT_DESCRIPTION); + temp.add(KeyTypes.DATA_ELEMENT); + temp.add(KeyTypes.ENTITY); + temp.add(KeyTypes.EVENT_ELEMENT); + temp.add(KeyTypes.FILE); + temp.add(KeyTypes.FRAGMENT_REFERENCE); + temp.add(KeyTypes.GLOBAL_REFERENCE); + temp.add(KeyTypes.IDENTIFIABLE); + temp.add(KeyTypes.MULTI_LANGUAGE_PROPERTY); + temp.add(KeyTypes.OPERATION); + temp.add(KeyTypes.PROPERTY); + temp.add(KeyTypes.RANGE); + temp.add(KeyTypes.REFERABLE); + temp.add(KeyTypes.REFERENCE_ELEMENT); + temp.add(KeyTypes.RELATIONSHIP_ELEMENT); + temp.add(KeyTypes.SUBMODEL); + temp.add(KeyTypes.SUBMODEL_ELEMENT); + temp.add(KeyTypes.SUBMODEL_ELEMENT_COLLECTION); + temp.add(KeyTypes.SUBMODEL_ELEMENT_LIST); + + if (!temp.containsAll(Arrays.asList(KeyTypes.values()))) { + throw new IllegalStateException("Uncovered KeyTypes"); + } + + forKeyTypes = Collections.unmodifiableSet(temp); + } + + private static final Set forDataTypeDefXsd; + static { + final Set temp = new HashSet<>(); + + temp.add(DataTypeDefXsd.ANY_URI); + temp.add(DataTypeDefXsd.BASE_64_BINARY); + temp.add(DataTypeDefXsd.BOOLEAN); + temp.add(DataTypeDefXsd.BYTE); + temp.add(DataTypeDefXsd.DATE); + temp.add(DataTypeDefXsd.DATE_TIME); + temp.add(DataTypeDefXsd.DECIMAL); + temp.add(DataTypeDefXsd.DOUBLE); + temp.add(DataTypeDefXsd.DURATION); + temp.add(DataTypeDefXsd.FLOAT); + temp.add(DataTypeDefXsd.G_DAY); + temp.add(DataTypeDefXsd.G_MONTH); + temp.add(DataTypeDefXsd.G_MONTH_DAY); + temp.add(DataTypeDefXsd.G_YEAR); + temp.add(DataTypeDefXsd.G_YEAR_MONTH); + temp.add(DataTypeDefXsd.HEX_BINARY); + temp.add(DataTypeDefXsd.INT); + temp.add(DataTypeDefXsd.INTEGER); + temp.add(DataTypeDefXsd.LONG); + temp.add(DataTypeDefXsd.NEGATIVE_INTEGER); + temp.add(DataTypeDefXsd.NON_NEGATIVE_INTEGER); + temp.add(DataTypeDefXsd.NON_POSITIVE_INTEGER); + temp.add(DataTypeDefXsd.POSITIVE_INTEGER); + temp.add(DataTypeDefXsd.SHORT); + temp.add(DataTypeDefXsd.STRING); + temp.add(DataTypeDefXsd.TIME); + temp.add(DataTypeDefXsd.UNSIGNED_BYTE); + temp.add(DataTypeDefXsd.UNSIGNED_INT); + temp.add(DataTypeDefXsd.UNSIGNED_LONG); + temp.add(DataTypeDefXsd.UNSIGNED_SHORT); + + if (!temp.containsAll(Arrays.asList(DataTypeDefXsd.values()))) { + throw new IllegalStateException("Uncovered DataTypeDefXsd"); + } + + forDataTypeDefXsd = Collections.unmodifiableSet(temp); + } + + private static final Set forDataTypeIec61360; + static { + final Set temp = new HashSet<>(); + + temp.add(DataTypeIec61360.DATE); + temp.add(DataTypeIec61360.STRING); + temp.add(DataTypeIec61360.STRING_TRANSLATABLE); + temp.add(DataTypeIec61360.INTEGER_MEASURE); + temp.add(DataTypeIec61360.INTEGER_COUNT); + temp.add(DataTypeIec61360.INTEGER_CURRENCY); + temp.add(DataTypeIec61360.REAL_MEASURE); + temp.add(DataTypeIec61360.REAL_COUNT); + temp.add(DataTypeIec61360.REAL_CURRENCY); + temp.add(DataTypeIec61360.BOOLEAN); + temp.add(DataTypeIec61360.IRI); + temp.add(DataTypeIec61360.IRDI); + temp.add(DataTypeIec61360.RATIONAL); + temp.add(DataTypeIec61360.RATIONAL_MEASURE); + temp.add(DataTypeIec61360.TIME); + temp.add(DataTypeIec61360.TIMESTAMP); + temp.add(DataTypeIec61360.FILE); + temp.add(DataTypeIec61360.HTML); + temp.add(DataTypeIec61360.BLOB); + + if (!temp.containsAll(Arrays.asList(DataTypeIec61360.values()))) { + throw new IllegalStateException("Uncovered DataTypeIec61360"); + } + + forDataTypeIec61360 = Collections.unmodifiableSet(temp); + } + } + + private static final _Transformer transformer = new _Transformer(); + + private static class _Transformer extends AbstractTransformer> { + @Override + public Stream transformExtension( + IExtension that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getRefersTo().isPresent()) + || (that.getRefersTo().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Refers-to must be either not set or have at least one item."))); + } + + if (!( + !(that.getValue().isPresent()) + || valueConsistentWithXsdType( + that.getValue().orElse(null), + that.valueTypeOrDefault()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must match the value type."))); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getName()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("name")); + return error; + })); + + if (that.getValueType().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueType().get()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueType")); + return error; + })); + } + + if (that.getValue().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue().get()) + .flatMap(Verification::verifyValueDataType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + } + + if (that.getRefersTo().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getRefersTo().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("refersTo")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformAdministrativeInformation( + IAdministrativeInformation that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getRevision().isPresent()) + || (that.getVersion().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-005: If version is not specified then also " + + "revision shall be unspecified. This means, a revision " + + "requires a version. If there is no version there is no " + + "revision either. Revision is optional."))); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getVersion().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getVersion().get()) + .flatMap(Verification::verifyVersionType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("version")); + return error; + })); + } + + if (that.getRevision().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getRevision().get()) + .flatMap(Verification::verifyRevisionType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("revision")); + return error; + })); + } + + if (that.getCreator().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCreator().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("creator")); + return error; + })); + } + + if (that.getTemplateId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getTemplateId().get()) + .flatMap(Verification::verifyIdentifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("templateId")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformQualifier( + IQualifier that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getValue().isPresent()) + || valueConsistentWithXsdType(that.getValue().orElse(null), that.getValueType()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-020: The value shall be consistent to " + + "the data type as defined in value type."))); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getKind().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getKind().get()) + .flatMap(Verification::verifyQualifierKind) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("kind")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getType()) + .flatMap(Verification::verifyQualifierType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("type")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueType()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueType")); + return error; + })); + + if (that.getValue().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue().get()) + .flatMap(Verification::verifyValueDataType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + } + + if (that.getValueId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueId")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformAssetAdministrationShell( + IAssetAdministrationShell that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getSubmodels().isPresent()) + || (that.getSubmodels().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Submodels must be either not set or have at least one item."))); + } + + if (!( + !(that.getDerivedFrom().isPresent()) + || isModelReferenceTo( + that.getDerivedFrom().orElse(null), + KeyTypes.ASSET_ADMINISTRATION_SHELL))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Derived-from must be a model reference to an asset " + + "administration shell."))); + } + + if (!( + !(that.getSubmodels().isPresent()) + || ( + that.getSubmodels().get().stream().allMatch( + reference -> isModelReferenceTo(reference, KeyTypes.SUBMODEL)) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "All submodels must be model references to a submodel."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getAdministration().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getAdministration().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("administration")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getId()) + .flatMap(Verification::verifyIdentifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("id")); + return error; + })); + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getDerivedFrom().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDerivedFrom().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("derivedFrom")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getAssetInformation()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("assetInformation")); + return error; + })); + + if (that.getSubmodels().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSubmodels().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("submodels")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformAssetInformation( + IAssetInformation that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getSpecificAssetIds().isPresent()) + || ( + that.getSpecificAssetIds().get().stream().allMatch( + specificAssetId -> !Objects.equals(specificAssetId.getName(), "globalAssetId") + || ( + (that.getGlobalAssetId().isPresent()) + && Objects.equals(specificAssetId.getName(), "globalAssetId") + && Objects.equals(specificAssetId.getValue(), that.getGlobalAssetId().get()) + )) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-116: ``globalAssetId`` is a reserved key. " + + "If used as value for the name of specific asset ID then " + + "the value of specific asset ID shall be identical to " + + "the global asset ID."))); + } + + if (!( + ( + (that.getGlobalAssetId().isPresent()) + || (that.getSpecificAssetIds().isPresent()) + ) + && ( + !(that.getSpecificAssetIds().isPresent()) + || (that.getSpecificAssetIds().get().size() >= 1) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-131: Either the global asset ID shall be " + + "defined or at least one specific asset ID."))); + } + + if (!( + !(that.getSpecificAssetIds().isPresent()) + || (that.getSpecificAssetIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Specific asset IDs must be either not set or have at least " + + "one item."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getAssetKind()) + .flatMap(Verification::verifyAssetKind) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("assetKind")); + return error; + })); + + if (that.getGlobalAssetId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getGlobalAssetId().get()) + .flatMap(Verification::verifyIdentifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("globalAssetId")); + return error; + })); + } + + if (that.getSpecificAssetIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSpecificAssetIds().get()) + .flatMap(Verification::verifyListOf_ISpecificAssetId) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("specificAssetIds")); + return error; + })); + } + + if (that.getAssetType().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getAssetType().get()) + .flatMap(Verification::verifyIdentifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("assetType")); + return error; + })); + } + + if (that.getDefaultThumbnail().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDefaultThumbnail().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("defaultThumbnail")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformResource( + IResource that) { + Stream errorStream = Stream.empty(); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getPath()) + .flatMap(Verification::verifyPathType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("path")); + return error; + })); + + if (that.getContentType().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getContentType().get()) + .flatMap(Verification::verifyContentType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("contentType")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformSpecificAssetId( + ISpecificAssetId that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getExternalSubjectId().isPresent()) + || (that.getExternalSubjectId().get().getType() == ReferenceTypes.EXTERNAL_REFERENCE))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-133: External subject ID shall be " + + "an external reference."))); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getName()) + .flatMap(Verification::verifyLabelType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("name")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue()) + .flatMap(Verification::verifyIdentifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + + if (that.getExternalSubjectId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExternalSubjectId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("externalSubjectId")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformSubmodel( + ISubmodel that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getSubmodelElements().isPresent()) + || (that.getSubmodelElements().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Submodel elements must be either not set or have at least " + + "one item."))); + } + + if (!( + !(that.getSubmodelElements().isPresent()) + || ( + that.getSubmodelElements().get().stream().allMatch( + item -> item.getIdShort().isPresent()) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "ID-shorts need to be defined for all the items of submodel " + + "elements according to AASd-117 (ID-short of Referables not " + + "being a direct child of a Submodel element list shall be " + + "specified)."))); + } + + if (!( + !(that.getSubmodelElements().isPresent()) + || idShortsAreUnique(that.getSubmodelElements().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-022: ID-short of non-identifiable " + + "referables within the same name space shall be unique " + + "(case-sensitive)."))); + } + + if (!( + !(that.getSubmodelElements().isPresent()) + || ( + !(that.kindOrDefault() != ModellingKind.TEMPLATE) + || ( + that.getSubmodelElements().get().stream().allMatch( + submodelElement -> !(submodelElement.getQualifiers().isPresent()) + || ( + submodelElement.getQualifiers().get().stream().allMatch( + qualifier -> qualifier.kindOrDefault() != QualifierKind.TEMPLATE_QUALIFIER) + )) + ) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-129: If any qualifier kind value of " + + "a Submodel element qualifier (attribute qualifier inherited " + + "via Qualifiable) is equal to Template Qualifier then " + + "the submodel element shall be part of a submodel template, " + + "i.e. a Submodel with submodel kind (attribute kind " + + "inherited via Has-Kind) value is equal to Template."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || ( + !( + that.getQualifiers().get().stream().anyMatch( + qualifier -> qualifier.kindOrDefault() == QualifierKind.TEMPLATE_QUALIFIER) + ) + || (that.kindOrDefault() == ModellingKind.TEMPLATE) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-119: If any qualifier kind value of " + + "a qualifiable qualifier is equal to template qualifier and " + + "the qualified element has kind then the qualified element " + + "shall be of kind template."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getAdministration().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getAdministration().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("administration")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getId()) + .flatMap(Verification::verifyIdentifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("id")); + return error; + })); + + if (that.getKind().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getKind().get()) + .flatMap(Verification::verifyModellingKind) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("kind")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getSubmodelElements().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSubmodelElements().get()) + .flatMap(Verification::verifyListOf_ISubmodelElement) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("submodelElements")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformRelationshipElement( + IRelationshipElement that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getFirst().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getFirst().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("first")); + return error; + })); + } + + if (that.getSecond().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSecond().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("second")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformSubmodelElementList( + ISubmodelElementList that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getValue().isPresent()) + || (that.getValue().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Value must be either not set or have at least one item."))); + } + + if (!( + !( + (that.getValue().isPresent()) + && (that.getSemanticIdListElement().isPresent()) + ) + || ( + that.getValue().get().stream().allMatch( + child -> !(child.getSemanticId().isPresent()) + || referenceKeyValuesEqual( + child.getSemanticId().orElse(null), + that.getSemanticIdListElement().orElse(null))) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-107: If a first level child element has " + + "a semantic ID it shall be identical to semantic ID list " + + "element."))); + } + + if (!( + !(that.getValue().isPresent()) + || submodelElementsHaveIdenticalSemanticIds(that.getValue().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-114: If two first level child elements have " + + "a semantic ID then they shall be identical."))); + } + + if (!( + !(that.getValue().isPresent()) + || ( + that.getValue().get().stream().allMatch( + element -> submodelElementIsOfType(element, that.getTypeValueListElement())) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-108: All first level child elements shall " + + "have the same submodel element type as specified in type " + + "value list element."))); + } + + if (!( + !( + (that.getValue().isPresent()) + && ( + that.getTypeValueListElement() == AasSubmodelElements.PROPERTY + || that.getTypeValueListElement() == AasSubmodelElements.RANGE + ) + ) + || ( + (that.getValueTypeListElement().isPresent()) + && propertiesOrRangesHaveValueType( + that.getValue().orElse(null), + that.getValueTypeListElement().orElse(null)) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-109: If type value list element is equal to " + + "Property or Range value type list element shall be set and " + + "all first level child elements shall have the value type as " + + "specified in value type list element."))); + } + + if (!( + !(that.getValue().isPresent()) + || idShortsAreUnique(that.getValue().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "ID-shorts of the value must be unique."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getSemanticIdListElement().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticIdListElement().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticIdListElement")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getTypeValueListElement()) + .flatMap(Verification::verifyAasSubmodelElements) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("typeValueListElement")); + return error; + })); + + if (that.getValueTypeListElement().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueTypeListElement().get()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueTypeListElement")); + return error; + })); + } + + if (that.getValue().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue().get()) + .flatMap(Verification::verifyListOf_ISubmodelElement) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformSubmodelElementCollection( + ISubmodelElementCollection that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getValue().isPresent()) + || (that.getValue().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Value must be either not set or have at least one item."))); + } + + if (!( + !(that.getValue().isPresent()) + || ( + that.getValue().get().stream().allMatch( + item -> item.getIdShort().isPresent()) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "ID-shorts need to be defined for all the items of value " + + "according to AASd-117 (ID-short of Referables not being " + + "a direct child of a Submodel element list shall be " + + "specified)."))); + } + + if (!( + !(that.getValue().isPresent()) + || idShortsAreUnique(that.getValue().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "ID-shorts of the value must be unique."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getValue().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue().get()) + .flatMap(Verification::verifyListOf_ISubmodelElement) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformProperty( + IProperty that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getValue().isPresent()) + || valueConsistentWithXsdType(that.getValue().orElse(null), that.getValueType()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Value must be consistent with the value type."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueType()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueType")); + return error; + })); + + if (that.getValue().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue().get()) + .flatMap(Verification::verifyValueDataType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + } + + if (that.getValueId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueId")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformMultiLanguageProperty( + IMultiLanguageProperty that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getValue().isPresent()) + || langStringsHaveUniqueLanguages(that.getValue().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Value must specify unique languages."))); + } + + if (!( + !(that.getValue().isPresent()) + || (that.getValue().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Value must be either not set or have at least one item."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getValue().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + } + + if (that.getValueId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueId")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformRange( + IRange that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getMax().isPresent()) + || valueConsistentWithXsdType(that.getMax().orElse(null), that.getValueType()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Max must be consistent with the value type."))); + } + + if (!( + !(that.getMin().isPresent()) + || valueConsistentWithXsdType(that.getMin().orElse(null), that.getValueType()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Min must be consistent with the value type."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueType()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueType")); + return error; + })); + + if (that.getMin().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getMin().get()) + .flatMap(Verification::verifyValueDataType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("min")); + return error; + })); + } + + if (that.getMax().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getMax().get()) + .flatMap(Verification::verifyValueDataType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("max")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformReferenceElement( + IReferenceElement that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getValue().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformBlob( + IBlob that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getValue().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue().get()) + .flatMap(Verification::verifyBlobType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + } + + if (that.getContentType().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getContentType().get()) + .flatMap(Verification::verifyContentType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("contentType")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformFile( + IFile that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getValue().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue().get()) + .flatMap(Verification::verifyPathType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + } + + if (that.getContentType().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getContentType().get()) + .flatMap(Verification::verifyContentType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("contentType")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformAnnotatedRelationshipElement( + IAnnotatedRelationshipElement that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getAnnotations().isPresent()) + || (that.getAnnotations().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Annotations must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getAnnotations().isPresent()) + || ( + that.getAnnotations().get().stream().allMatch( + item -> item.getIdShort().isPresent()) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "ID-shorts need to be defined for all the items of " + + "annotations according to AASd-117 (ID-short of Referables " + + "not being a direct child of a Submodel element list shall " + + "be specified)."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getFirst().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getFirst().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("first")); + return error; + })); + } + + if (that.getSecond().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSecond().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("second")); + return error; + })); + } + + if (that.getAnnotations().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getAnnotations().get()) + .flatMap(Verification::verifyListOf_IDataElement) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("annotations")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformEntity( + IEntity that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getStatements().isPresent()) + || (that.getStatements().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Statements must be either not set or have at least one item."))); + } + + if (!( + !(that.getStatements().isPresent()) + || ( + that.getStatements().get().stream().allMatch( + item -> item.getIdShort().isPresent()) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "ID-shorts need to be defined for all the items of " + + "statements according to AASd-117 (ID-short of Referables " + + "not being a direct child of a Submodel element list shall " + + "be specified)."))); + } + + if (!( + !(that.getEntityType().isPresent()) + || ( + !(that.getEntityType().get() == EntityType.SELF_MANAGED_ENTITY) + || ( + ( + (that.getGlobalAssetId().isPresent()) + && (!that.getSpecificAssetIds().isPresent()) + ) + || ( + (!that.getGlobalAssetId().isPresent()) + && (that.getSpecificAssetIds().isPresent()) + && that.getSpecificAssetIds().get().size() >= 1 + ) + ) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-014: Either the attribute global asset ID " + + "or specific asset ID must be set if Entity/entityType is " + + "set to :attr:`Entity_type.Self_managed_entity`."))); + } + + if (!( + !(that.getSpecificAssetIds().isPresent()) + || (that.getSpecificAssetIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Specific asset IDs must be either not set or have at least " + + "one item."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getStatements().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getStatements().get()) + .flatMap(Verification::verifyListOf_ISubmodelElement) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("statements")); + return error; + })); + } + + if (that.getEntityType().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEntityType().get()) + .flatMap(Verification::verifyEntityType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("entityType")); + return error; + })); + } + + if (that.getGlobalAssetId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getGlobalAssetId().get()) + .flatMap(Verification::verifyIdentifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("globalAssetId")); + return error; + })); + } + + if (that.getSpecificAssetIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSpecificAssetIds().get()) + .flatMap(Verification::verifyListOf_ISpecificAssetId) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("specificAssetIds")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformEventPayload( + IEventPayload that) { + Stream errorStream = Stream.empty(); + + if (!( + isModelReferenceTo(that.getSource(), KeyTypes.EVENT_ELEMENT) + || isModelReferenceTo(that.getSource(), KeyTypes.BASIC_EVENT_ELEMENT))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Source must be a model reference to an Event element."))); + } + + if (!( + isModelReferenceToReferable(that.getObservableReference()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Observable reference must be a model reference to " + + "a referable."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getSource()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("source")); + return error; + })); + + if (that.getSourceSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSourceSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("sourceSemanticId")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getObservableReference()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("observableReference")); + return error; + })); + + if (that.getObservableSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getObservableSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("observableSemanticId")); + return error; + })); + } + + if (that.getTopic().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getTopic().get()) + .flatMap(Verification::verifyMessageTopicType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("topic")); + return error; + })); + } + + if (that.getSubjectId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSubjectId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("subjectId")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getTimeStamp()) + .flatMap(Verification::verifyDateTimeUtc) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("timeStamp")); + return error; + })); + + if (that.getPayload().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getPayload().get()) + .flatMap(Verification::verifyBlobType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("payload")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformBasicEventElement( + IBasicEventElement that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getDirection() == Direction.INPUT) + || (!that.getMaxInterval().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Max. interval is not applicable for input direction."))); + } + + if (!isModelReferenceToReferable(that.getObserved())) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Observed must be a model reference to a referable."))); + } + + if (!( + !(that.getMessageBroker().isPresent()) + || isModelReferenceToReferable(that.getMessageBroker().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Message broker must be a model reference to a referable."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getObserved()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("observed")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getDirection()) + .flatMap(Verification::verifyDirection) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("direction")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getState()) + .flatMap(Verification::verifyStateOfEvent) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("state")); + return error; + })); + + if (that.getMessageTopic().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getMessageTopic().get()) + .flatMap(Verification::verifyMessageTopicType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("messageTopic")); + return error; + })); + } + + if (that.getMessageBroker().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getMessageBroker().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("messageBroker")); + return error; + })); + } + + if (that.getLastUpdate().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getLastUpdate().get()) + .flatMap(Verification::verifyDateTimeUtc) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("lastUpdate")); + return error; + })); + } + + if (that.getMinInterval().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getMinInterval().get()) + .flatMap(Verification::verifyDuration) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("minInterval")); + return error; + })); + } + + if (that.getMaxInterval().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getMaxInterval().get()) + .flatMap(Verification::verifyDuration) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("maxInterval")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformOperation( + IOperation that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + idShortsOfVariablesAreUnique( + that.getInputVariables(), + that.getOutputVariables(), + that.getInoutputVariables()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-134: For an Operation the ID-short of all " + + "values of input, output and in/output variables shall be " + + "unique."))); + } + + if (!( + !(that.getInputVariables().isPresent()) + || (that.getInputVariables().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Input variables must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getOutputVariables().isPresent()) + || (that.getOutputVariables().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Output variables must be either not set or have at least " + + "one item."))); + } + + if (!( + !(that.getInoutputVariables().isPresent()) + || (that.getInoutputVariables().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Inoutput variables must be either not set or have at least " + + "one item."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getInputVariables().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getInputVariables().get()) + .flatMap(Verification::verifyListOf_IOperationVariable) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("inputVariables")); + return error; + })); + } + + if (that.getOutputVariables().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getOutputVariables().get()) + .flatMap(Verification::verifyListOf_IOperationVariable) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("outputVariables")); + return error; + })); + } + + if (that.getInoutputVariables().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getInoutputVariables().get()) + .flatMap(Verification::verifyListOf_IOperationVariable) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("inoutputVariables")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformOperationVariable( + IOperationVariable that) { + Stream errorStream = Stream.empty(); + + if (!(that.getValue().getIdShort().isPresent())) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Value must have the ID-short specified according to " + + "Constraint AASd-117 (ID-short of Referables not being " + + "a direct child of a Submodel element list shall be " + + "specified)."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + + return errorStream; + } + + @Override + public Stream transformCapability( + ICapability that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformConceptDescription( + IConceptDescription that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getIsCaseOf().isPresent()) + || (that.getIsCaseOf().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Is-case-of must be either not set or have at least one item."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || ( + dataSpecificationIec61360sHaveDefinitionAtLeastInEnglish(that.getEmbeddedDataSpecifications().orElse(null)) + || dataSpecificationIec61360sHaveValue(that.getEmbeddedDataSpecifications().orElse(null)) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-008: For a concept description using " + + "data specification template IEC 61360, the definition is " + + "mandatory and shall be defined at least in English. " + + "Exception: The concept description describes a value."))); + } + + if (!( + !( + (that.getCategory().isPresent()) + && Objects.equals(that.getCategory().get(), "QUALIFIER_TYPE") + && (that.getEmbeddedDataSpecifications().isPresent()) + ) + || dataSpecificationIec61360sHaveDataType(that.getEmbeddedDataSpecifications().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-007: For a concept description with " + + "category QUALIFIER_TYPE using data specification IEC 61360, " + + "the data type of the data specification is mandatory and " + + "shall be defined."))); + } + + if (!( + !( + (that.getCategory().isPresent()) + && Objects.equals(that.getCategory().get(), "DOCUMENT") + && (that.getEmbeddedDataSpecifications().isPresent()) + ) + || dataSpecificationIec61360sForDocumentHaveAppropriateDataType(that.getEmbeddedDataSpecifications().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-006: For a concept description with " + + "category DOCUMENT using data specification IEC 61360, " + + "the data type of the data specification shall be one of: " + + "FILE, BLOB, HTML."))); + } + + if (!( + !( + (that.getCategory().isPresent()) + && Objects.equals(that.getCategory().get(), "REFERENCE") + && (that.getEmbeddedDataSpecifications().isPresent()) + ) + || dataSpecificationIec61360sForReferenceHaveAppropriateDataType(that.getEmbeddedDataSpecifications().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-005: For a concept description with " + + "category REFERENCE using data specification IEC 61360, " + + "the data type of the data specification shall be one of: " + + "STRING, IRI, IRDI."))); + } + + if (!( + !( + (that.getCategory().isPresent()) + && ( + Objects.equals(that.getCategory().get(), "PROPERTY") + || Objects.equals(that.getCategory().get(), "VALUE") + ) + && (that.getEmbeddedDataSpecifications().isPresent()) + ) + || dataSpecificationIec61360sForPropertyOrValueHaveAppropriateDataType(that.getEmbeddedDataSpecifications().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-004: For a concept description with " + + "category PROPERTY or VALUE using data specification IEC " + + "61360, the data type of the data specification is mandatory " + + "and shall be one of: DATE, STRING, STRING_TRANSLATABLE, " + + "INTEGER_MEASURE, INTEGER_COUNT, INTEGER_CURRENCY, " + + "REAL_MEASURE, REAL_COUNT, REAL_CURRENCY, BOOLEAN, RATIONAL, " + + "RATIONAL_MEASURE, TIME, TIMESTAMP."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getAdministration().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getAdministration().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("administration")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getId()) + .flatMap(Verification::verifyIdentifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("id")); + return error; + })); + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getIsCaseOf().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIsCaseOf().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("isCaseOf")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformReference( + IReference that) { + Stream errorStream = Stream.empty(); + + if (!(that.getKeys().size() >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Keys must contain at least one item."))); + } + + if (!( + !(that.getKeys().size() >= 1) + || Constants.globallyIdentifiables.contains(ListHelpers.at(that.getKeys(), 0).getType()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-121: For References the value of type of " + + "the first key of keys shall be one of Globally " + + "Identifiables."))); + } + + if (!( + !( + that.getType() == ReferenceTypes.EXTERNAL_REFERENCE + && that.getKeys().size() >= 1 + ) + || Constants.genericGloballyIdentifiables.contains(ListHelpers.at(that.getKeys(), 0).getType()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-122: For external references the value of " + + "type of the first key of keys shall be one of Generic " + + "Globally Identifiables."))); + } + + if (!( + !( + that.getType() == ReferenceTypes.MODEL_REFERENCE + && that.getKeys().size() >= 1 + ) + || Constants.aasIdentifiables.contains(ListHelpers.at(that.getKeys(), 0).getType()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-123: For model references the value of type " + + "of the first key of keys shall be one of AAS identifiables."))); + } + + if (!( + !( + that.getType() == ReferenceTypes.EXTERNAL_REFERENCE + && that.getKeys().size() >= 1 + ) + || ( + Constants.genericGloballyIdentifiables.contains(ListHelpers.at(that.getKeys(), -1).getType()) + || Constants.genericFragmentKeys.contains(ListHelpers.at(that.getKeys(), -1).getType()) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-124: For external references the last key " + + "of keys shall be either one of Generic Globally " + + "Identifiables or one of Generic Fragment Keys."))); + } + + if (!( + !( + that.getType() == ReferenceTypes.MODEL_REFERENCE + && that.getKeys().size() > 1 + ) + || ( + IntStream.range( + 1, + that.getKeys().size() + ).allMatch( + i -> Constants.fragmentKeys.contains(ListHelpers.at(that.getKeys(), i).getType())) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-125: For model references with more than " + + "one key in keys the value of type of each of the keys " + + "following the first key of keys shall be one of Fragment " + + "Keys."))); + } + + if (!( + !( + that.getType() == ReferenceTypes.MODEL_REFERENCE + && that.getKeys().size() > 1 + ) + || ( + IntStream.range( + 0, + that.getKeys().size() - 1 + ).allMatch( + i -> !Constants.genericFragmentKeys.contains(ListHelpers.at(that.getKeys(), i).getType())) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-126: For model references with more than " + + "one key in keys the value of type of the last key in " + + "the reference key chain may be one of Generic Fragment Keys " + + "or no key at all shall have a value out of Generic Fragment " + + "Keys."))); + } + + if (!( + !( + that.getType() == ReferenceTypes.MODEL_REFERENCE + && that.getKeys().size() > 1 + && ListHelpers.at(that.getKeys(), -1).getType() == KeyTypes.FRAGMENT_REFERENCE + ) + || ( + ListHelpers.at(that.getKeys(), -2).getType() == KeyTypes.FILE + || ListHelpers.at(that.getKeys(), -2).getType() == KeyTypes.BLOB + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-127: For model references, with more than " + + "one key in keys a key with type Fragment Reference shall be " + + "preceded by a key with type File or Blob."))); + } + + if (!( + !( + that.getType() == ReferenceTypes.MODEL_REFERENCE + && that.getKeys().size() > 2 + ) + || ( + IntStream.range( + 0, + that.getKeys().size() - 1 + ).allMatch( + i -> !(ListHelpers.at(that.getKeys(), i).getType() == KeyTypes.SUBMODEL_ELEMENT_LIST) + || matchesXsNonNegativeInteger(ListHelpers.at(that.getKeys(), i + 1).getValue())) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-128: For model references, the value of " + + "a key preceded by a key with type Submodel element list is " + + "an integer number denoting the position in the array of " + + "the submodel element list."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getType()) + .flatMap(Verification::verifyReferenceTypes) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("type")); + return error; + })); + + if (that.getReferredSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getReferredSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("referredSemanticId")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getKeys()) + .flatMap(Verification::verifyListOf_IKey) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("keys")); + return error; + })); + + return errorStream; + } + + @Override + public Stream transformKey( + IKey that) { + Stream errorStream = Stream.empty(); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getType()) + .flatMap(Verification::verifyKeyTypes) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("type")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue()) + .flatMap(Verification::verifyIdentifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + + return errorStream; + } + + @Override + public Stream transformLangStringNameType( + ILangStringNameType that) { + Stream errorStream = Stream.empty(); + + if (!(StringHelpers.len(that.getText()) <= 128)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 128 characters."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("language")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("text")); + return error; + })); + + return errorStream; + } + + @Override + public Stream transformLangStringTextType( + ILangStringTextType that) { + Stream errorStream = Stream.empty(); + + if (!(StringHelpers.len(that.getText()) <= 1023)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 1023 characters."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("language")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("text")); + return error; + })); + + return errorStream; + } + + @Override + public Stream transformEnvironment( + IEnvironment that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getConceptDescriptions().isPresent()) + || (that.getConceptDescriptions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Concept descriptions must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSubmodels().isPresent()) + || (that.getSubmodels().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Submodels must be either not set or have at least one item."))); + } + + if (!( + !(that.getAssetAdministrationShells().isPresent()) + || (that.getAssetAdministrationShells().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Asset administration shells must be either not set or have " + + "at least one item."))); + } + + if (that.getAssetAdministrationShells().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getAssetAdministrationShells().get()) + .flatMap(Verification::verifyListOf_IAssetAdministrationShell) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("assetAdministrationShells")); + return error; + })); + } + + if (that.getSubmodels().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSubmodels().get()) + .flatMap(Verification::verifyListOf_ISubmodel) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("submodels")); + return error; + })); + } + + if (that.getConceptDescriptions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getConceptDescriptions().get()) + .flatMap(Verification::verifyListOf_IConceptDescription) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("conceptDescriptions")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformEmbeddedDataSpecification( + IEmbeddedDataSpecification that) { + Stream errorStream = Stream.empty(); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getDataSpecification()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("dataSpecification")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getDataSpecificationContent()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("dataSpecificationContent")); + return error; + })); + + return errorStream; + } + + @Override + public Stream transformLevelType( + ILevelType that) { + Stream errorStream = Stream.empty(); + + // No verification has been defined for LevelType. + + return errorStream; + } + + @Override + public Stream transformValueReferencePair( + IValueReferencePair that) { + Stream errorStream = Stream.empty(); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue()) + .flatMap(Verification::verifyValueTypeIec61360) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + + if (that.getValueId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueId")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformValueList( + IValueList that) { + Stream errorStream = Stream.empty(); + + if (!(that.getValueReferencePairs().size() >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Value reference pair types must contain at least one item."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueReferencePairs()) + .flatMap(Verification::verifyListOf_IValueReferencePair) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueReferencePairs")); + return error; + })); + + return errorStream; + } + + @Override + public Stream transformLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that) { + Stream errorStream = Stream.empty(); + + if (!(StringHelpers.len(that.getText()) <= 255)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 255 characters."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("language")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("text")); + return error; + })); + + return errorStream; + } + + @Override + public Stream transformLangStringShortNameTypeIec61360( + ILangStringShortNameTypeIec61360 that) { + Stream errorStream = Stream.empty(); + + if (!(StringHelpers.len(that.getText()) <= 18)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 18 characters."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("language")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("text")); + return error; + })); + + return errorStream; + } + + @Override + public Stream transformLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that) { + Stream errorStream = Stream.empty(); + + if (!(StringHelpers.len(that.getText()) <= 1023)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 1023 characters."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("language")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("text")); + return error; + })); + + return errorStream; + } + + @Override + public Stream transformDataSpecificationIec61360( + IDataSpecificationIec61360 that) { + Stream errorStream = Stream.empty(); + + if (!( + !((that.getValue().isPresent()) + && (that.getValueList().isPresent())))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-010: If value is not empty then value " + + "list shall be empty and vice versa."))); + } + + if (!( + !( + (that.getDataType().isPresent()) + && Constants.iec61360DataTypesWithUnit.contains(that.getDataType().get()) + ) + || ( + (that.getUnit().isPresent()) + || (that.getUnitId().isPresent()) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-009: If data type is a an integer, real " + + "or rational with a measure or currency, unit or unit ID " + + "shall be defined."))); + } + + if (!( + !(that.getDefinition().isPresent()) + || (that.getDefinition().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Definition must be either not set or have at least one item."))); + } + + if (!( + !(that.getDefinition().isPresent()) + || langStringsHaveUniqueLanguages(that.getDefinition().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Definition must specify unique languages."))); + } + + if (!( + !(that.getShortName().isPresent()) + || (that.getShortName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Short name must be either not set or have at least one item."))); + } + + if (!( + !(that.getShortName().isPresent()) + || langStringsHaveUniqueLanguages(that.getShortName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Short name must specify unique languages."))); + } + + if (!(that.getPreferredName().size() >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Preferred name must have at least one item."))); + } + + if (!( + langStringsHaveUniqueLanguages(that.getPreferredName()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Preferred name must specify unique languages."))); + } + + if (!( + that.getPreferredName().stream().anyMatch( + langString -> isBcp47ForEnglish(langString.getLanguage())))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-002: preferred name shall be provided at " + + "least in English."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getPreferredName()) + .flatMap(Verification::verifyListOf_ILangStringPreferredNameTypeIec61360) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("preferredName")); + return error; + })); + + if (that.getShortName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getShortName().get()) + .flatMap(Verification::verifyListOf_ILangStringShortNameTypeIec61360) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("shortName")); + return error; + })); + } + + if (that.getUnit().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getUnit().get()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("unit")); + return error; + })); + } + + if (that.getUnitId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getUnitId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("unitId")); + return error; + })); + } + + if (that.getSourceOfDefinition().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSourceOfDefinition().get()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("sourceOfDefinition")); + return error; + })); + } + + if (that.getSymbol().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSymbol().get()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("symbol")); + return error; + })); + } + + if (that.getDataType().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDataType().get()) + .flatMap(Verification::verifyDataTypeIec61360) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("dataType")); + return error; + })); + } + + if (that.getDefinition().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDefinition().get()) + .flatMap(Verification::verifyListOf_ILangStringDefinitionTypeIec61360) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("definition")); + return error; + })); + } + + if (that.getValueFormat().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueFormat().get()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueFormat")); + return error; + })); + } + + if (that.getValueList().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueList().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueList")); + return error; + })); + } + + if (that.getValue().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue().get()) + .flatMap(Verification::verifyValueTypeIec61360) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + } + + if (that.getLevelType().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getLevelType().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("levelType")); + return error; + })); + } + + return errorStream; + } + } + + public static Stream verifyToErrorStream(IClass that) { + return transformer.transform(that); + } + + private static class _ValidationErrorIterable implements Iterable { + private final IClass element; + + public _ValidationErrorIterable(IClass element) { + this.element = element; + } + + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + return Verification.verifyToErrorStream(element); + } + } + + /** + * Verify the constraints of {@code that} recursively. + * + * @param that The instance of the meta-model to be verified + */ + public static Iterable verify(IClass that) { + return new _ValidationErrorIterable(that); + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyXmlSerializableString ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyNonEmptyXmlSerializableString ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyDateTimeUtc ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXsDateTimeUtc(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must match the pattern of xs:dateTime with " + + "the time zone fixed to UTC."))); + } + + if (!isXsDateTimeUtc(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must represent a valid xs:dateTime with the time " + + "zone fixed to UTC."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyDuration ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXsDuration(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must match the pattern of xs:duration."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyBlobType ( + byte[] that) { + Stream errorStream = Stream.empty(); + + // There is no verification specified. + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyIdentifier ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!(StringHelpers.len(that) <= 2048)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Identifier shall have a maximum length of 2048 characters."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyValueTypeIec61360 ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!(StringHelpers.len(that) <= 2048)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Value type IEC 61360 shall have a maximum length of 2048 " + + "characters."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyNameType ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!(StringHelpers.len(that) <= 128)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Name type shall have a maximum length of 128 characters."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyVersionType ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!matchesVersionType(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Version type shall match the version pattern."))); + } + + if (!(StringHelpers.len(that) <= 4)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Version type shall have a maximum length of 4 characters."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyRevisionType ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!matchesRevisionType(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Revision type shall match the revision pattern."))); + } + + if (!(StringHelpers.len(that) <= 4)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Revision type shall have a maximum length of 4 characters."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyLabelType ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!(StringHelpers.len(that) <= 64)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Label type shall have a maximum length of 64 characters."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyMessageTopicType ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!(StringHelpers.len(that) <= 255)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Message topic type shall have a maximum length of 255 " + + "characters."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyBcp47LanguageTag ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesBcp47(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must represent a value language tag conformant to " + + "BCP 47."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyContentType ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!(StringHelpers.len(that) <= 128)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Content type shall have a maximum length of 128 characters."))); + } + + if (!matchesMimeType(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must represent a valid content MIME type " + + "according to RFC 2046."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyPathType ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!(StringHelpers.len(that) <= 2048)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Identifier shall have a maximum length of 2048 characters."))); + } + + if (!matchesRfc2396(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "String with max 2048 and min 1 characters conformant to " + + "a URI as per RFC 2396."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyQualifierType ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!(StringHelpers.len(that) <= 128)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Name type shall have a maximum length of 128 characters."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyValueDataType ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyIdShortType ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!(StringHelpers.len(that) <= 128)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Name type shall have a maximum length of 128 characters."))); + } + + if (!matchesIdShort(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "ID-short of Referables shall only feature letters, digits, " + + "hyphen (``-``) and underscore (``_``); starting mandatory " + + "with a letter, and not ending with a hyphen, *I.e.* " + + "``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``."))); + } + + return errorStream; + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyModellingKind( + ModellingKind that) { + if (!_EnumValueSet.forModellingKind.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid ModellingKind: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyQualifierKind( + QualifierKind that) { + if (!_EnumValueSet.forQualifierKind.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid QualifierKind: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyAssetKind( + AssetKind that) { + if (!_EnumValueSet.forAssetKind.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid AssetKind: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyAasSubmodelElements( + AasSubmodelElements that) { + if (!_EnumValueSet.forAasSubmodelElements.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid AasSubmodelElements: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyEntityType( + EntityType that) { + if (!_EnumValueSet.forEntityType.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid EntityType: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyDirection( + Direction that) { + if (!_EnumValueSet.forDirection.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid Direction: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyStateOfEvent( + StateOfEvent that) { + if (!_EnumValueSet.forStateOfEvent.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid StateOfEvent: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyReferenceTypes( + ReferenceTypes that) { + if (!_EnumValueSet.forReferenceTypes.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid ReferenceTypes: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyKeyTypes( + KeyTypes that) { + if (!_EnumValueSet.forKeyTypes.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid KeyTypes: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyDataTypeDefXsd( + DataTypeDefXsd that) { + if (!_EnumValueSet.forDataTypeDefXsd.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid DataTypeDefXsd: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyDataTypeIec61360( + DataTypeIec61360 that) { + if (!_EnumValueSet.forDataTypeIec61360.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid DataTypeIec61360: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_IReference( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_IEmbeddedDataSpecification( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_IExtension( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_ILangStringNameType( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_ILangStringTextType( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_ISpecificAssetId( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_IQualifier( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_ISubmodelElement( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_IDataElement( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_IOperationVariable( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_IKey( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_IAssetAdministrationShell( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_ISubmodel( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_IConceptDescription( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_IValueReferencePair( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_ILangStringPreferredNameTypeIec61360( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_ILangStringShortNameTypeIec61360( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_ILangStringDefinitionTypeIec61360( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + private static class _Pair { + private final A first; + private final B second; + + public _Pair(A first, B second) { + this.first = first; + this.second = second; + } + + public A getFirst() { + return first; + } + + public B getSecond() { + return second; + } + } + + // Java 8 doesn't provide a split operation out of the box, so we have to ship our own. + // Adapted from: https://stackoverflow.com/a/23529010 + private static Stream<_Pair> zip( + Stream a, + Stream b) { + Spliterator aSplit = Objects.requireNonNull(a).spliterator(); + Spliterator bSplit = Objects.requireNonNull(b).spliterator(); + + int characteristics = aSplit.characteristics() & bSplit.characteristics() & + ~(Spliterator.DISTINCT | Spliterator.SORTED); + + long zipSize = ((characteristics & Spliterator.SIZED) != 0) + ? Math.min(aSplit.getExactSizeIfKnown(), bSplit.getExactSizeIfKnown()) + : -1; + + Iterator aIter = Spliterators.iterator(aSplit); + Iterator bIter = Spliterators.iterator(bSplit); + Iterator<_Pair> cIter = new Iterator<_Pair>() { + @Override + public boolean hasNext() { + return aIter.hasNext() && bIter.hasNext(); + } + + @Override + public _Pair next() { + return new _Pair<>(aIter.next(), bIter.next()); + } + }; + + Spliterator<_Pair> split = Spliterators.spliterator(cIter, zipSize, characteristics); + return StreamSupport.stream(split, false); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/dev_scripts/semantically_patch_code.py b/dev_scripts/semantically_patch_code.py new file mode 100644 index 00000000..834031bc --- /dev/null +++ b/dev_scripts/semantically_patch_code.py @@ -0,0 +1,110 @@ +# SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +# +# SPDX-License-Identifier: MIT + +"""Generate the SDK based on the aas-core-meta model and the snippets.""" + +import os +import pathlib +import subprocess +import sys +from typing import Optional, Sequence, Mapping + + +def _execute( + cmd: Sequence[str], + stdout: Optional[int] = None, + stderr: Optional[int] = None, + cwd: Optional[str] = None, + env: Optional[Mapping[str, str]] = None, +) -> int: + """ + Execute the command and print if something went wrong. + + Return the non-zero exit code, or None if the exit code was zero. + """ + cmd_joined = " ".join(cmd) + + try: + exit_code = subprocess.call(cmd, stdout=stdout, stderr=stderr, cwd=cwd, env=env) + except FileNotFoundError as exception: + print(f"Failed to execute {cmd_joined}: {exception}", file=sys.stderr) + return 1 + + if exit_code != 0: + print( + f"Failed to execute {cmd_joined} with exit code: {exit_code}", + file=sys.stderr, + ) + + return exit_code + + +def _check_all_tools_installed() -> int: + """Check that Git, Java and Maven are installed and work properly.""" + exit_code = _execute( + cmd=["java", "-version"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL + ) + if exit_code != 0: + return exit_code + + exit_code = _execute( + cmd=["mvn", "-version"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL + ) + if exit_code != 0: + return exit_code + + return 0 + + +def _semantically_patch(our_repo: pathlib.Path) -> int: + """Run the scripts to semantically patch the generated code.""" + cwd = our_repo / "dev_scripts" / "semantic-patching" + + verification_java = ( + our_repo / "src/main/java/aas_core/aas3_2/verification/Verification.java" + ) + assert ( + verification_java.exists() and verification_java.is_file() + ), f"No Verification.java found to patch: {verification_java=}" + + exit_code = _execute(cmd=["mvn", "package"], cwd=str(cwd)) + + if exit_code != 0: + return exit_code + + exit_code = _execute( + [ + "mvn", + "exec:java", + "-Dexec.mainClass=aas_core_works.PatchVerification", + f"-Dexec.args={verification_java} {verification_java}", + ], + cwd=str(cwd), + ) + + return exit_code + + +def main() -> int: + """Execute the main routine.""" + exit_code = _check_all_tools_installed() + if exit_code != 0: + return exit_code + + repo_root = pathlib.Path(os.path.realpath(__file__)).parent.parent + + exit_code = _semantically_patch(repo_root) + + if exit_code != 0: + print( + f"Failed to semantically patch Verification.java with exit code: {exit_code}", + file=sys.stderr, + ) + return exit_code + + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/update_all.py b/dev_scripts/update_all.py new file mode 100644 index 00000000..f1042f6a --- /dev/null +++ b/dev_scripts/update_all.py @@ -0,0 +1,88 @@ +# SPDX-FileCopyrightText: 2026 aas-core3.2-java AUTHORS +# +# SPDX-License-Identifier: MIT + +"""Update to the latest meta-model and the latest test data.""" + +import argparse +import os +import pathlib +import subprocess +import sys + + +def main() -> int: + """Execute the main routine.""" + parser = argparse.ArgumentParser(description=__doc__) + _ = parser.parse_args() + + repo_root = pathlib.Path(os.path.realpath(__file__)).parent.parent + + print("Downloading the latest meta-model...") + subprocess.check_call( + [ + sys.executable, + str(repo_root / "dev_scripts" / "download_aas_core_meta_model.py"), + ], + cwd=str(repo_root), + ) + + print("Generating the code...") + subprocess.check_call( + [ + sys.executable, + str(repo_root / "dev_scripts" / "regenerate_code.py"), + ], + cwd=str(repo_root), + ) + + print("Semantically patching code...") + subprocess.check_call( + [ + sys.executable, + str(repo_root / "dev_scripts" / "semantically_patch_code.py"), + ], + cwd=str(repo_root), + ) + + print("Generating REUSE annotations...") + subprocess.check_call( + [ + sys.executable, + str(repo_root / "dev_scripts" / "apply_reuse_annotation.py"), + ], + cwd=str(repo_root), + ) + + print("Re-formatting the code...") + subprocess.check_call( + [sys.executable, str(repo_root / "dev_scripts" / "format_code.py")], + cwd=str(repo_root), + ) + + print("Downloading the latest test data...") + subprocess.check_call( + [ + sys.executable, + str(repo_root / "dev_scripts" / "download_latest_test_data.py"), + ], + cwd=str(repo_root), + ) + + print("Re-recording the test data...") + subprocess.check_call( + [sys.executable, str(repo_root / "dev_scripts" / "rerecord_tests.py")], + cwd=str(repo_root), + ) + + print("Running the pre-commit to check that everything worked...") + subprocess.check_call( + [sys.executable, str(repo_root / "dev_scripts" / "check.py")], + cwd=str(repo_root), + ) + + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/doc/overview.html b/doc/overview.html new file mode 100644 index 00000000..ceacb2be --- /dev/null +++ b/doc/overview.html @@ -0,0 +1,709 @@ + + +

Here's a quick intro to get you started with the SDK. See how you can:
+ + + +
+

Install the SDK

+ First use git and clone aas-core3.2-java repository. + In the the root directory of the cloned repository you will find the pom.xml used by maven to build the SDK artefact. + Simply run mvn install and include the SDK as a dependency in your project by adding it to your own pom.xml: +
{@code
+
+    io.github.aas-core-works
+    aas-core3.2-java
+    1.0.0-rc.1
+
+}
+
+
+ +
+

Programmatically create, get and set properties of an AAS model

+ The package aas_core.aas3_2 contains all the classes of the meta-model. + You can simply use their constructors to create an AAS model. + Usually you start bottom-up, all the way up to the Environment. + Alternatively the SDK also provides you with builders for all classes of the meta-model. + + +

Example: Create an Environment with a Submodel

+
+        {@code
+ // We create the first element with the constructor.
+IProperty someElement = new Property(DataTypeDefXsd.INT);
+
+// We use setters to set the optional attributes.
+someElement.setIdShort("someElement");
+someElement.setValue("1984");
+
+// We create the second element.
+IBlob anotherElement = new Blob("application/octet-stream");
+anotherElement.setIdShort("anotherElement");
+anotherElement.setValue(new byte[]{0, 1, 2, 3});
+
+// We also directly access the element attributes.
+anotherElement.getValue().ifPresent(bytes -> bytes[3] = 4);
+
+// We nest the elements in a submodel.
+ISubmodel submodel = new Submodel("some-unique-global-identifier");
+List submodelElements = new ArrayList<>();
+submodelElements.add(someElement);
+submodelElements.add(anotherElement);
+submodel.setSubmodelElements(submodelElements);
+
+// We now create the environment to wrap it all up.
+List submodels = new ArrayList<>();
+submodels.add(submodel);
+IEnvironment environment = new Environment(null, submodels, null);
+
+// We can directly access the properties from the children
+// as well.
+((Blob) environment
+        .getSubmodels().get()
+        .get(0)
+        .getSubmodelElements().get()
+        .get(1)).getValue().get()[3] = 3;
+
+// Now we can do something with the environment...
+        }
+    
+
+ +
+

Iterate over a model

+ The SDK provides various ways how you can loop through the elements of the model, and how these elements can be transformed. + Each following section will look into one of the approaches. + +

DescendOnce and Descend

+ The SDK provides two methods in the most general interface IClass, descendOnce and descend, which you can use to loop through the instances. + Both descendOnce and descend iterate over model children of an IClass. + DescendOnce, as it names suggests, stops after all the children has been iterated over. + Descend continues recursively to grand-children etc. + Here is a short example how you can iterate over all the instances of a model, and output their model types: +
+        {@code
+// We prepare the environment.
+ISubmodelElement someProperty = new Property(DataTypeDefXsd.BOOLEAN);
+someProperty.setIdShort("someProperty");
+
+ISubmodelElement anotherProperty = new Property(DataTypeDefXsd.BOOLEAN);
+anotherProperty.setIdShort("anotherProperty");
+
+ISubmodelElement yetAnotherProperty = new Property(DataTypeDefXsd.BOOLEAN);
+yetAnotherProperty.setIdShort("yetAnotherProperty");
+
+ISubmodel submodel = new Submodel("some-unique-global-identifier");
+List submodelElements = new ArrayList<>();
+submodelElements.add(someProperty);
+submodelElements.add(anotherProperty);
+submodelElements.add(yetAnotherProperty);
+submodel.setSubmodelElements(submodelElements);
+
+List submodels = new ArrayList<>();
+submodels.add(submodel);
+IEnvironment environment = new Environment(null, submodels, null);
+
+environment.descend().forEach(iClass -> System.out.println(iClass.getClass().getSimpleName()));
+
+// Prints:
+// Submodel
+// Property
+// Property
+// Property
+        }
+    
+

Filtering with descent and descentOnce

+ Filtering with descent and descentOnce is fairly easy, as we can write the filtering code within a for loop. + Here is a short snippet, adapted from the previous example, where we filter for all properties which have int as their value type: +
+        {@code
+// We prepare the environment.
+ISubmodelElement boolProperty = new Property(DataTypeDefXsd.BOOLEAN);
+boolProperty.setIdShort("boolProperty");
+
+ISubmodelElement intProperty = new Property(DataTypeDefXsd.INT);
+intProperty.setIdShort("intProperty");
+
+ISubmodelElement anotherIntProperty = new Property(DataTypeDefXsd.INT);
+anotherIntProperty.setIdShort("anotherIntProperty");
+
+ISubmodel submodel = new Submodel("some-unique-global-identifier");
+List submodelElements = new ArrayList<>();
+submodelElements.add(boolProperty);
+submodelElements.add(intProperty);
+submodelElements.add(anotherIntProperty);
+submodel.setSubmodelElements(submodelElements);
+
+List submodels = new ArrayList<>();
+submodels.add(submodel);
+IEnvironment environment = new Environment(null, submodels, null);
+
+// We descend recursively over all the instances
+// and filter for the int properties.
+environment.descend().forEach(iClass -> {
+    if (iClass instanceof Property) {
+        Property property = (Property) iClass;
+        if (property.getValueType() == DataTypeDefXsd.INT) {
+            property.getIdShort().ifPresent(System.out::println);
+        }
+    }
+});
+
+// Prints:
+// intProperty
+// anotherIntProperty
+        }
+    
+

Visitors

+ For loops are practical for short iterations. + When you need to apply an action for each different model type, your loop body will probably become unbearably long. + Such iterations are much better solved by using the visitor pattern. + You specify for each model type a separate method in the visitor, and the visitor automatically dispatches the calls based on the type. + +

IVisitor + The SDK provides an abstract, purely virtual, IVisitor. + If you want to steer how the children references from an instance are handled, then implement this interface. +

+ +

AbstractVisitor + Most of the time, you want to process each instance of a model in isolation, so you do not want to call the visiting methods on the children references. + The abstract visitor AbstractVisitor will take care of the children references. + You merely have to specify the operation for each model type. +

+ +

VisitorThrough + If you want to process only some of the model types, use the class VisitorThrough. + This class will iterate recursively over all the referenced instances, and simply perform no action for instances of model types for which you did not override the corresponding visiting method. + Here is an example with a VisitorThrough, which has been adapted from the previous filtering example: +

+
+        {@code
+// We implement our visitor.
+private class MyVisitor extends VisitorThrough {
+    Override
+    public void visitProperty(IProperty that) {
+        if (that.getValueType() == DataTypeDefXsd.INT) {
+            that.getIdShort().ifPresent(System.out::println);
+        }
+    }
+}
+        }
+    
+
+        {@code
+// We use it in our main routine
+MyVisitor myVisitor = new MyVisitor();
+// We prepare the environment.
+ISubmodelElement boolProperty = new Property(DataTypeDefXsd.BOOLEAN);
+boolProperty.setIdShort("boolProperty");
+
+ISubmodelElement intProperty = new Property(DataTypeDefXsd.INT);
+intProperty.setIdShort("intProperty");
+
+ISubmodelElement anotherIntProperty = new Property(DataTypeDefXsd.INT);
+anotherIntProperty.setIdShort("anotherIntProperty");
+
+ISubmodel submodel = new Submodel("some-unique-global-identifier");
+List submodelElements = new ArrayList<>();
+submodelElements.add(boolProperty);
+submodelElements.add(intProperty);
+submodelElements.add(anotherIntProperty);
+submodel.setSubmodelElements(submodelElements);
+
+List submodels = new ArrayList<>();
+submodels.add(submodel);
+IEnvironment environment = new Environment(null, submodels, null);
+
+myVisitor.visit(environment);
+
+// Prints:
+// intProperty
+// anotherIntProperty
+        }
+    
+
+
+

Verify

+ Our SDK allows you to verify that a model satisfies the constraints of the meta-model. + The verification logic is concentrated in the static class Verification, and all it takes is a call to verify method. + The method verify will check that constraints in the given model element are satisfied, including the recursion into children elements. + The method returns an iterator of errors, which you can use to for further processing (e.g., report to the user). + Here is a short example snippet: +
+            {@code
+// We prepare the environment.
+ISubmodelElement someProperty = new Property(DataTypeDefXsd.BOOLEAN);
+
+// We intentionally introduce a mistake.
+someProperty.setIdShort("!@#$% invalid ID short (*&^_+)");
+
+List submodelElements = new ArrayList<>();
+submodelElements.add(someProperty);
+
+ISubmodel submodel = new Submodel("some-unique-global-identifier");
+submodel.setSubmodelElements(submodelElements);
+
+List submodels = new ArrayList<>();
+submodels.add(submodel);
+
+IEnvironment environment = new Environment(null, submodels, null);
+
+// We verify the environment and report the errors.
+Iterable iterable = Verification.verify(environment);
+iterable.forEach(error -> {
+    System.out.println(Reporting.generateJsonPath(error.getPathSegments()));
+    System.out.println(error.getCause());
+});
+
+// Prints
+// submodels[0].submodelElements[0].idShort
+// Invariant violated:
+// ID-short of Referables shall only feature letters, digits, underscore (``_``);
+// starting mandatory with a letter. *I.e.* ``[a-zA-Z][a-zA-Z0-9_]*``.
+            }
+    
+
+
+

De/serialize a model from and to JSON

+ Our SDK handles the de/serialization of the AAS models from and to JSON format through the Jsonization. + Since Java does not support JSON de/serialization in the standard library, we use jackson as the underlying representation of JSON values. + We thus do not directly de/serialize from and to strings, but rely on jackson for intermediate handling. + +

Serialize

+ Here is an example code how to serialize an instance to json: +
+        {@code
+// We need to import jackson
+import com.fasterxml.jackson.databind.JsonNode;
+
+// We prepare the environment.
+ISubmodelElement someProperty = new Property(DataTypeDefXsd.INT);
+someProperty.setIdShort("someProperty");
+
+List submodelElements = new ArrayList<>();
+submodelElements.add(someProperty);
+
+ISubmodel submodel = new Submodel("some-unique-global-identifier");
+submodel.setSubmodelElements(submodelElements);
+
+List submodels = new ArrayList<>();
+submodels.add(submodel);
+
+IEnvironment environment = new Environment(null, submodels, null);
+JsonNode json = Jsonization.Serialize.toJsonObject(environment);
+System.out.println(json.toString());
+
+// Prints
+// {"submodels":[{
+// "id":"some-unique-global-identifier"
+// ,"submodelElements":[{"idShort":"someProperty","valueType":"xs:int","modelType":"Property"}]
+// ,"modelType":"Submodel"}]}
+        }
+    
+

De-serialize

+ To translate json value to a model instance, the SDK offers deserializeXxx de-serialization functions. + For example, to de-serialize an environment, call {@code Jsonization.Deserialize.deserializeEnvironment(json)}. + Here is an example how to de-serialize json to an instance. +
+        {@code
+// We need to import jackson
+import com.fasterxml.jackson.databind.JsonNode;
+import com.fasterxml.jackson.databind.ObjectMapper;
+
+// We specify the JSON as text.
+String text = "{\"submodels\":[{\"" +
+        "id\":\"some-unique-global-identifier\"," +
+        "\"submodelElements\":[{\"idShort\":\"someProperty\"" +
+        ",\"valueType\":\"xs:int\",\"modelType\":\"Property\"}]," +
+        "\"modelType\":\"Submodel\"}]}";
+
+// We parse text as JSON.
+ObjectMapper objectMapper = new ObjectMapper();
+JsonNode json = objectMapper.readTree(text);
+
+// We parse the JSON as environment.
+IEnvironment environment = Jsonization.Deserialize.deserializeEnvironment(json);
+
+System.out.println(environment.getSubmodels().get().get(0).getId());
+
+// Prints
+// some-unique-global-identifier
+        }
+    
+

Here is another example of how to report the errors:

+
+        {@code
+// We specify the text which is valid JSON,
+// but not a valid representation of a model.
+String text = "{\"submodels\": 42}";
+
+// We parse text as JSON.
+ObjectMapper objectMapper = new ObjectMapper();
+JsonNode json = objectMapper.readTree(text);
+
+// We parse the JSON as environment.
+try {
+    IEnvironment environment = Jsonization.Deserialize.deserializeEnvironment(json);
+} catch (Jsonization.DeserializeException exception) {
+    System.out.println(exception.getPath().get() + ": " + exception.getReason().get());
+}
+
+// Prints
+// submodels: Expected a JsonArray, but got NUMBER
+        }
+    
+
+
+

De/serialize a model from and to XML

+ The code that de/serializes AAS models from and to XML documents lives in Xmlization. + +

Serialization

+ You serialize a model use the .to(instance, writer) method of Serialize. + Apart from the object, you pass it the writer which is used to serialize the object graph. + + Here is an example: +
+        {@code
+// We need to import
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamWriter;
+import java.io.StringWriter;
+
+// We prepare the environment.
+ISubmodelElement someProperty = new Property(DataTypeDefXsd.INT);
+someProperty.setIdShort("someProperty");
+
+List submodelElements = new ArrayList<>();
+submodelElements.add(someProperty);
+
+ISubmodel submodel = new Submodel("some-unique-global-identifier");
+submodel.setSubmodelElements(submodelElements);
+
+List submodels = new ArrayList<>();
+submodels.add(submodel);
+
+IEnvironment environment = new Environment(null, submodels, null);
+
+// We create the writer
+StringWriter stringOut = new StringWriter();
+XMLOutputFactory outputFactory = XMLOutputFactory.newFactory();
+XMLStreamWriter xmlStreamWriter = outputFactory.createXMLStreamWriter(stringOut);
+
+// We serialize the environment to
+Xmlization.Serialize.to(environment, xmlStreamWriter);
+
+System.out.println(stringOut);
+
+// Prints (without the newlines):
+// 
+// 
+// 
+// some-unique-global-identifier
+// 
+// 
+// someProperty
+// xs:int
+// 
+// 
+// 
+// 
+// 
+        }
+    
+

De-serialization

+ De-serialization goes in the opposite direction, with Xmlization.Deserialize.deserializeXxx(reader). + Here is an example how to de-serialize xml to an instance: +
+        {@code
+// We need to import
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLEventReader;
+
+String text = "\n" +
+    "" +
+    "" +
+    "some-unique-global-identifier" +
+    "" +
+    "" +
+    "someProperty" +
+    "xs:int" +
+    "" +
+    "" +
+    "" +
+    "" +
+    "";
+
+// We create the reader
+final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance();
+final XMLEventReader outputReader = xmlInputFactory.createXMLEventReader(new StringReader(text));
+
+// We de-serialize the environment from
+// an XML text.
+IEnvironment environment = Xmlization.Deserialize.deserializeEnvironment(outputReader);
+System.out.println(environment.getSubmodels().get().get(0).getId());
+
+// Prints
+// some-unique-global-identifier
+        }
+    
+

Here is another example how you can report the error:

+
+        {@code
+// We define a valid XML, but invalid representation
+// of an AAS instance. Submodels should be a list,
+// not a number.
+String text = "\n" +
+        "" +
+        "" +
+        "42" +
+        "" +
+        "";
+
+// We create the reader
+final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance();
+final XMLEventReader outputReader = xmlInputFactory.createXMLEventReader(new StringReader(text));
+
+// We de-serialize the environment from
+// an XML text.
+try {
+    IEnvironment environment = Xmlization.Deserialize.deserializeEnvironment(outputReader);
+} catch (Xmlization.DeserializeException exception) {
+    System.out.println(exception.getPath().get() + ": " + exception.getReason().get());
+}
+
+// Prints (without newlines):
+// environment/submodels/*[0]:
+// Expected a start element opening an instance of ISubmodel, but got an XML Characters
+        }
+    
+
+
+

Enhance model instances with your custom data

+

In any complex application, creating, modifying and de/serializing AAS instances is not enough. + You have to insert your custom application-specific data to the model in order for the model to be useful.

+ +

Take, for example, parent-child relationship. + The current library ignores it, and there is no easy way for you to find out to which ISubmodel a particular ISubmodelElement belongs to. +

+

We did want to keep the types as simple as possible — the parent-child relationships can get tricky very soon if you have multiple environments with shared submodels etc. + Instead of overcomplicating the code and making it barely traceable, we decided to keep it simple and frugal in features. +

+

However, that is little solace if you are developing an GUI editor where you know for sure that there will be only one + environment, and where parent-child relationships are crucial for so many tasks. What is more, parent-child relationships are not the only data that need to be intertwined — you probably want history, localized caches etc. +

+

Hasthable?

+

There are different ways how application-specific data can be synced with the model. + One popular technique is to use Hashtable's and simply map model instances to your custom nuggets of data. + This works well if the data is read-only, and you can spare the cycles for the lookups (which is often acceptable + as they run on average in time complexity O(1) anyhow). +

+

Otherwise, if you need to modify the data, maintaining the consistency between the Hashtable and your nuggets of information becomes difficult. + For example, if you forget to remove the entries from the Hashtable when you remove the instances from the model, you might clog your garbage collector. +

+

Wrapping

+

Hence, if you modify the data, you need to keep it close to the model instance. + In dynamic languages, such as Python and JavaScript, you can simply add your custom fields to the object. + This does not work in such a static language like Java. +

+

One solution, usually called Decorator pattern, is to wrap or decorate the instances with your application-specific data. + The decorated objects should satisfy both the interface of the original model and provide a way to retrieve your custom nuggets of information. +

+

Writing wrappers for many classes in the AAS meta-model is a tedious task. + We therefore pre-generated the most of the boilerplate code in package aas_core.aas3_2.enhancing.

+

In the context of decoration, we call your specific data enhancements. + First, you need to specify how individual instances are enhanced, i.e. how to produce enhancements for each one of them. + We call this an enhancement factory. + Second, you need to recursively wrap your instances with the given enhancement factory.

+ +

The Enhancing is generic and can work with any form of enhancement classes. + You need to specify your enhancement factory as a function which takes an instance of IClass as input and returns an optional of enhancement, or an empty optional, if you do not want to enhance the particular instance.

+ +

The wrapping and unwrapping is specified in the generic function wrap of the class Enhancer. + This function takes the instance that you want to wrap (i.e., decorate) and the enhancement factory, and recursively wraps it with the produced enhancements. + The wrapped instance will be finally returned. +

+

Example: Parent-Child Enhancement

+

Let us now consider the aforementioned example. + We want to keep track of parent-child relationships in a model. +

+

The following code snippets first constructs an environment for illustration. + Then we specify the enhancement such that each instance is initialized with the parent set to null. + Finally, we modify the enhancements such that they reflect the actual parent-child relationships. +

+ +
+    {@code
+// We define the enhancement, a parent-child relationship.
+private class ParentEnhancement {
+    public IClass parent = null;
+}
+
+// We define the enhancement factory.
+private Enhancer produceParentEnhancement() {
+    Function> enhancementFactory = iClass -> Optional.of(new ParentEnhancement());
+    return new Enhancer<>(enhancementFactory);
+}
+
+// We prepare the environment.
+ISubmodelElement someProperty = new Property(DataTypeDefXsd.INT);
+someProperty.setIdShort("someProperty");
+
+List submodelElements = new ArrayList<>();
+submodelElements.add(someProperty);
+
+ISubmodel submodel = new Submodel("some-unique-global-identifier");
+submodel.setSubmodelElements(submodelElements);
+
+List submodels = new ArrayList<>();
+submodels.add(submodel);
+
+IEnvironment environment = new Environment(null, submodels, null);
+
+// We enhance the environment recursively.
+Enhancer enhancer = produceParentEnhancement();
+environment = (IEnvironment) enhancer.wrap(environment);
+
+Queue queue = new ArrayDeque<>();
+queue.add(environment);
+
+while (!queue.isEmpty()) {
+    IClass instance = queue.remove();
+    for (IClass child : instance.descendOnce()) {
+        enhancer.mustUnwrap(child).parent = instance;
+        queue.add(child);
+    }
+}
+// Retrieve the parent of the first submodel
+boolean environmentIsParent = enhancer.mustUnwrap(environment.getSubmodels().get().get(0)).parent == environment;
+System.out.println(environmentIsParent);
+// Prints true
+    }
+    
+ + Note that this approach is indeed more maintainable than the one with Hashtable, but you still need to take extra care. + If you create new submodels and insert them into the environment, you have to make sure that you wrap them appropriately. + If you move a submodel from one environment to another, you have to update the parent link manually etc. + +

Example: Selective Enhancement

+

We demonstrate now how you can selectively enhance only some instances in the Environment. + +

For example, let us assign a unique identifier to all instances which are referable, i.e., implement IReferable. + All the other instances are not enhanced. +

+    {@code
+// We define the enhancement
+private class IdEnhancement {
+    public long Id;
+
+    public IdEnhancement(long id) {
+        Id = id;
+    }
+}
+// We prepare the environment.
+ISubmodelElement someProperty = new Property(DataTypeDefXsd.INT);
+someProperty.setIdShort("someProperty");
+
+AdministrativeInformation administration = new AdministrativeInformation(null, "1.0", null, null, null);
+
+List submodelElements = new ArrayList<>();
+submodelElements.add(someProperty);
+
+
+ISubmodel submodel = new Submodel("some-unique-global-identifier");
+submodel.setSubmodelElements(submodelElements);
+submodel.setAdministration(administration);
+
+List submodels = new ArrayList<>();
+submodels.add(submodel);
+
+IEnvironment environment = new Environment(null, submodels, null);
+
+// Prepare the enhancer
+AtomicLong lastId = new AtomicLong();
+Function> enhancementFactory = iClass -> {
+    if (iClass instanceof IReferable) {
+        lastId.getAndIncrement();
+        return Optional.of(new IdEnhancement(lastId.get()));
+    }
+    return Optional.empty();
+};
+
+Enhancer enhancer = new Enhancer<>(enhancementFactory);
+// Enhance
+environment = (IEnvironment) enhancer.wrap(environment);
+
+// The submodel and property are enhanced.
+IdEnhancement enhancement = enhancer.mustUnwrap(environment.getSubmodels().get().get(0));
+System.out.println(enhancement.Id);
+
+// Prints:
+// 2
+
+enhancement = enhancer.mustUnwrap(environment.getSubmodels().get().get(0).getSubmodelElements().get().get(0));
+System.out.println(enhancement.Id);
+
+// Prints:
+// 1
+
+// The administrative information is not referable, and thus not enhanced.
+Optional maybeEnhancement = enhancer.unwrap(
+        environment.getSubmodels().get().get(0).getAdministration().get()
+);
+
+System.out.println(maybeEnhancement.isPresent());
+
+// Prints:
+// false
+    }
+    
+

No Re-wraps Allowed

+ We disallow re-wraps of already wrapped instances to avoid costly iterations over the object trees, and throw an exception. + Additionally, we want to prevent bugs in many settings where the enhancement factory assigns unique identifiers to instances or performs non-idempotent operations. +
+ +
+

Change Log

+ +

1.0.2

+ + Unescaped special characters in the file path verification regex caused verification of file / thumbnail elements to fail in some cases. We adjust the regex accordingly. + +

1.0.1

+ + We propagate the changes and fixes; please refer to: + + + +

1.0.0

+ This is the first stable release. The release candidates stood the test of time, so we are now confident to publish a stable version. + +

1.0.0-rc2

+ +
    +
  • The dataSpecification field in EmbeddedDataSpecification is made optional, according to the book.
  • +
  • Add release maven build profile +
      +
    • This allows execution of mvn install, mvn package, phases without execution of the gpg sign plugin for local testing and development.
    • +
    +
  • +
  • Fix camel case for the setter names in the builder types.
  • +
+ +

1.0.0-rc1

+ + This is the initial release candidate version, ready for first reviews. +
+ diff --git a/pom.xml b/pom.xml new file mode 100644 index 00000000..cc5a99d6 --- /dev/null +++ b/pom.xml @@ -0,0 +1,198 @@ + + + + + + 4.0.0 + + io.github.aas-core-works + aas-core3.2-java + + 1.0.0-rc.1 + + ${project.groupId}:${project.artifactId} + Manipulate, verify and de/serialize Asset Administration Shells. + https://github.com/aas-core-works/aas-core3.2-java + + + + MIT License + http://www.opensource.org/licenses/mit-license.php + + + + + + Tobias Langer + tobias.langer@conplement.de + conplement AG + https://www.conplement.de/ + + + Markus Böhm + markus.boehm@conplement.de + conplement AG + https://www.conplement.de/ + + + Marko Ristin + marko@ristin.ch + + + + + scm:git:git://github.com:aas-core-works/aas-core3.2-java.git + scm:git:ssh://github.com:aas-core-works/aas-core3.2-java.git + https://github.com/aas-core-works/aas-core3.2-java + + + + 17 + 17 + 17 + UTF-8 + 2.22.4 + 1.12-4 + 3.2.1 + 3.6.3 + + true + + + + org.junit.jupiter + junit-jupiter-api + 5.14.4 + test + + + com.fasterxml.jackson.core + jackson-core + ${jackson.version} + + + com.fasterxml.jackson.core + jackson-databind + ${jackson.version} + + + dk.brics + automaton + ${dk.brics.version} + + + + + + + + com.diffplug.spotless + spotless-maven-plugin + ${spotless.maven.plugin.version} + true + + + + src/main/java/**/*.java + src/test/java/**/*.java + + + 1.17.0 + + + + + + + + + auto-style + + apply + + validate + + + + + org.apache.maven.plugins + maven-source-plugin + 3.4.0 + + + attach-sources + + jar + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${javadoc.maven.plugin.version} + + all,-missing + + ${basedir}/doc/overview.html + + + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 3.2.2 + + + sign-artifacts + verify + + sign + + + + + + + --pinentry-mode + loopback + + + + + org.sonatype.central + central-publishing-maven-plugin + 0.12.0 + true + + central + true + true + published + + + + + + + release + + false + + + + diff --git a/src/main/java/aas_core/aas3_2/common/ListHelpers.java b/src/main/java/aas_core/aas3_2/common/ListHelpers.java new file mode 100644 index 00000000..64f2378e --- /dev/null +++ b/src/main/java/aas_core/aas3_2/common/ListHelpers.java @@ -0,0 +1,67 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.common; + +import java.util.List; + +/** + * Provide the access to the items of lists which follows the Python implementation, since Python is + * the language of the meta-model specifications. + * + *

A negative index counts from the back of the list. + */ +public final class ListHelpers { + private ListHelpers() { + // Prevent instantiation + } + + /** + * Resolve {@code index} in a list of {@code size} items as Python does. + * + * @param index of the item; negative counts from the back + * @param size of the list + * @return the resolved index + * @throws ArithmeticException if the resolved index does not fit into an int + */ + private static int resolveIndex(long index, int size) { + return Math.toIntExact(index < 0 ? index + size : index); + } + + /** + * Get the item of {@code list} at {@code index}. + * + * @param list to get the item from + * @param index of the item; negative counts from the back + * @param type of the items + * @return the item + * @throws IndexOutOfBoundsException if {@code index} is out of range + */ + public static T at(List list, long index) { + return list.get(resolveIndex(index, list.size())); + } + + /** + * Set the item of {@code list} at {@code index} to {@code value}. + * + * @param list to set the item in + * @param index of the item; negative counts from the back + * @param value to be set + * @param type of the items + * @throws IndexOutOfBoundsException if {@code index} is out of range + */ + public static void setAt(List list, long index, T value) { + list.set(resolveIndex(index, list.size()), value); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/common/StringHelpers.java b/src/main/java/aas_core/aas3_2/common/StringHelpers.java new file mode 100644 index 00000000..5256f71f --- /dev/null +++ b/src/main/java/aas_core/aas3_2/common/StringHelpers.java @@ -0,0 +1,304 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.common; + +import aas_core.aas3_2.verification.Verification; + +/** + * Provide string operations which follow the Python implementation, since Python is the language of + * the meta-model specifications. + * + *

The lengths and the positions count the characters (code points), and not the UTF-16 code + * units of the Java strings. Hence, a character beyond the Basic Multilingual Plane counts as one, + * though it takes two UTF-16 code units (a surrogate pair). + */ +public final class StringHelpers { + private StringHelpers() { + // Prevent instantiation + } + + /** + * Resolve {@code position} in a string of {@code length} as Python does in slicing. + * + *

A negative position counts from the end, and the positions out of range are clamped to the + * string. + * + * @param position to be resolved + * @param length of the string + * @return the resolved position within {@code [0, length]} + */ + private static int resolvePosition(long position, int length) { + if (position < 0) { + return (int) Math.max(position + length, 0); + } + + return (int) Math.min(position, length); + } + + /** + * Count the characters (code points) of {@code text}. + * + *

We follow the Python implementation of {@code len}, since Python is the language of the + * meta-model specifications. Hence, a character beyond the Basic Multilingual Plane counts as + * one, unlike in {@code text.length()}. + * + * @param text to be measured + * @return the number of characters + */ + public static int len(String text) { + return text.codePointCount(0, text.length()); + } + + /** + * Slice {@code text} from {@code start} up to {@code end}, exclusive. + * + *

We follow the Python implementation of slicing, since Python is the language of the + * meta-model specifications. Hence, the positions count the characters (code points), a negative + * position counts from the end, the positions out of range are clamped to the string, and the + * slice is empty if {@code start} is not before {@code end}. + * + * @param text to be sliced + * @param start of the slice, inclusive + * @param end of the slice, exclusive + * @return the slice + */ + public static String slice(String text, long start, long end) { + final int length = len(text); + final int theStart = resolvePosition(start, length); + final int theEnd = resolvePosition(end, length); + + if (theStart >= theEnd) { + return ""; + } + + final int startOffset = text.offsetByCodePoints(0, theStart); + final int endOffset = text.offsetByCodePoints(startOffset, theEnd - theStart); + return text.substring(startOffset, endOffset); + } + + /** + * Slice {@code text} from {@code start} up to its end. + * + *

See {@link #slice(String, long, long)} for the semantics. + * + * @param text to be sliced + * @param start of the slice, inclusive + * @return the slice + */ + public static String slice(String text, long start) { + return slice(text, start, Long.MAX_VALUE); + } + + /** + * Find the first {@code sub} in {@code text} from {@code start} on. + * + *

We follow the Python implementation of {@code str.find}, since Python is the language of the + * meta-model specifications. Hence, the positions count the characters (code points), a negative + * {@code start} counts from the end, and a {@code start} beyond the end of {@code text} gives -1. + * + * @param text to be searched in + * @param sub to be searched for + * @param start of the search + * @return the position of {@code sub} in {@code text}, or -1 if not found + */ + public static long find(String text, String sub, long start) { + final int length = len(text); + final long theStart = start < 0 ? Math.max(start + length, 0) : start; + if (theStart > length) { + return -1; + } + + final int startOffset = text.offsetByCodePoints(0, (int) theStart); + final int offset = text.indexOf(sub, startOffset); + if (offset == -1) { + return -1; + } + + return theStart + text.codePointCount(startOffset, offset); + } + + /** + * Find the first {@code sub} in {@code text}. + * + *

See {@link #find(String, String, long)} for the semantics. + * + * @param text to be searched in + * @param sub to be searched for + * @return the position of {@code sub} in {@code text}, or -1 if not found + */ + public static long find(String text, String sub) { + return find(text, sub, 0); + } + + /** + * Compare {@code that} and {@code other} by their code points. + * + *

We follow the Python implementation of the string comparison, since Python is the language + * of the meta-model specifications. {@link String#compareTo} compares the UTF-16 code units + * instead, which gives a different order for the characters outside the Basic Multilingual Plane. + * + * @param that text to be compared + * @param other text to compare against + * @return negative, zero or positive if {@code that} comes before, is equal to or comes after + * {@code other}, respectively + */ + public static int compareByCodePoints(String that, String other) { + int i = 0; + int j = 0; + while (i < that.length() && j < other.length()) { + final int thatCodePoint = that.codePointAt(i); + final int otherCodePoint = other.codePointAt(j); + if (thatCodePoint != otherCodePoint) { + return Integer.compare(thatCodePoint, otherCodePoint); + } + + i += Character.charCount(thatCodePoint); + j += Character.charCount(otherCodePoint); + } + + return Integer.compare(that.length() - i, other.length() - j); + } + + /** + * Check whether {@code text} contains the character {@code codePoint}. + * + * @param text to be searched in + * @param codePoint to be searched for + * @return true if {@code codePoint} is one of the characters of {@code text} + */ + private static boolean containsCodePoint(String text, int codePoint) { + int offset = 0; + while (offset < text.length()) { + final int other = text.codePointAt(offset); + if (other == codePoint) { + return true; + } + + offset += Character.charCount(other); + } + + return false; + } + + /** + * Strip the longest prefix of {@code text} which consists only of the characters listed in {@code + * chars}. + * + *

We follow the Python implementation of {@code str.lstrip}, since Python is the language of + * the meta-model specifications. Hence, we strip the characters (code points), and not the UTF-16 + * code units. For example, we do not strip the first half of a surrogate pair when {@code chars} + * contains another character with the same high surrogate. + * + * @param text to be stripped + * @param chars to be stripped from the start of {@code text} + * @return {@code text} without the stripped prefix + */ + public static String lstrip(String text, String chars) { + int offset = 0; + while (offset < text.length()) { + final int codePoint = text.codePointAt(offset); + if (!containsCodePoint(chars, codePoint)) { + break; + } + + offset += Character.charCount(codePoint); + } + + return text.substring(offset); + } + + /** + * Strip the longest suffix of {@code text} which consists only of the characters listed in {@code + * chars}. + * + *

We follow the Python implementation of {@code str.rstrip}, since Python is the language of + * the meta-model specifications. Hence, we strip the characters (code points), and not the UTF-16 + * code units. For example, we do not strip the second half of a surrogate pair when {@code chars} + * contains another character with the same low surrogate. + * + * @param text to be stripped + * @param chars to be stripped from the end of {@code text} + * @return {@code text} without the stripped suffix + */ + public static String rstrip(String text, String chars) { + int offset = text.length(); + while (offset > 0) { + final int codePoint = text.codePointBefore(offset); + if (!containsCodePoint(chars, codePoint)) { + break; + } + + offset -= Character.charCount(codePoint); + } + + return text.substring(0, offset); + } + + /** + * Parse {@code text} as a safe integer. + * + *

The meta-model calls {@code int} on strings, and this is its transpilation. We accept only + * an optional sign followed by the ASCII digits, and only the safe integers, i.e., the + * integers within {@code -(2^53 - 1)} and {@code 2^53 - 1}, which a double-precision + * floating-point number represents exactly. + * + *

We check the safe range even though a {@code long} could hold larger integers. TypeScript + * represents the integers as {@code number}, which holds them exactly only within the safe range, + * and all the SDKs check the same range so that the invariants which parse a text behave the same + * everywhere. + * + *

We do not use {@link Long#parseLong(String)} as it accepts the digits of any script, and the + * range of all the 64-bit integers. + * + * @param text to be parsed + * @return the parsed integer + * @throws IllegalArgumentException if {@code text} is not a safe integer + */ + public static long parseSafeInt(String text) { + final int length = text.length(); + + int offset = 0; + boolean negative = false; + if (length > 0 && (text.charAt(0) == '+' || text.charAt(0) == '-')) { + negative = text.charAt(0) == '-'; + offset = 1; + } + + if (offset == length) { + throw new IllegalArgumentException( + "Expected an optional sign followed by the ASCII digits, but got: " + text); + } + + long value = 0; + for (int i = offset; i < length; i++) { + final char character = text.charAt(i); + if (character < '0' || character > '9') { + throw new IllegalArgumentException( + "Expected an optional sign followed by the ASCII digits, but got: " + text); + } + + // NOTE (mristin): + // The value is at most 2^53 - 1 before this step, so it can not + // overflow a long. + value = value * 10 + (character - '0'); + if (!Verification.isSafeInteger(value)) { + throw new IllegalArgumentException( + "Expected a safe integer, but got a text out of its range: " + text); + } + } + + return negative ? -value : value; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/common/Tuple1.java b/src/main/java/aas_core/aas3_2/common/Tuple1.java new file mode 100644 index 00000000..711b6a44 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/common/Tuple1.java @@ -0,0 +1,23 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.common; + +/** Represent a fixed-size heterogeneous tuple of 1 item(s). */ +public record Tuple1(T1 item1) { + /** Count the items of the tuple. */ + public int size() { + return 1; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/common/Tuple2.java b/src/main/java/aas_core/aas3_2/common/Tuple2.java new file mode 100644 index 00000000..a8699a5f --- /dev/null +++ b/src/main/java/aas_core/aas3_2/common/Tuple2.java @@ -0,0 +1,23 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.common; + +/** Represent a fixed-size heterogeneous tuple of 2 item(s). */ +public record Tuple2(T1 item1, T2 item2) { + /** Count the items of the tuple. */ + public int size() { + return 2; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/common/Tuple3.java b/src/main/java/aas_core/aas3_2/common/Tuple3.java new file mode 100644 index 00000000..58c632de --- /dev/null +++ b/src/main/java/aas_core/aas3_2/common/Tuple3.java @@ -0,0 +1,23 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.common; + +/** Represent a fixed-size heterogeneous tuple of 3 item(s). */ +public record Tuple3(T1 item1, T2 item2, T3 item3) { + /** Count the items of the tuple. */ + public int size() { + return 3; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/common/Tuple4.java b/src/main/java/aas_core/aas3_2/common/Tuple4.java new file mode 100644 index 00000000..5de921ca --- /dev/null +++ b/src/main/java/aas_core/aas3_2/common/Tuple4.java @@ -0,0 +1,23 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.common; + +/** Represent a fixed-size heterogeneous tuple of 4 item(s). */ +public record Tuple4(T1 item1, T2 item2, T3 item3, T4 item4) { + /** Count the items of the tuple. */ + public int size() { + return 4; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/common/Tuple5.java b/src/main/java/aas_core/aas3_2/common/Tuple5.java new file mode 100644 index 00000000..ebe566b5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/common/Tuple5.java @@ -0,0 +1,23 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.common; + +/** Represent a fixed-size heterogeneous tuple of 5 item(s). */ +public record Tuple5(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5) { + /** Count the items of the tuple. */ + public int size() { + return 5; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/common/Tuple6.java b/src/main/java/aas_core/aas3_2/common/Tuple6.java new file mode 100644 index 00000000..a07be11d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/common/Tuple6.java @@ -0,0 +1,24 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.common; + +/** Represent a fixed-size heterogeneous tuple of 6 item(s). */ +public record Tuple6( + T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6) { + /** Count the items of the tuple. */ + public int size() { + return 6; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/common/Tuple7.java b/src/main/java/aas_core/aas3_2/common/Tuple7.java new file mode 100644 index 00000000..1b9012ed --- /dev/null +++ b/src/main/java/aas_core/aas3_2/common/Tuple7.java @@ -0,0 +1,24 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.common; + +/** Represent a fixed-size heterogeneous tuple of 7 item(s). */ +public record Tuple7( + T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7) { + /** Count the items of the tuple. */ + public int size() { + return 7; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/common/Tuple8.java b/src/main/java/aas_core/aas3_2/common/Tuple8.java new file mode 100644 index 00000000..8b24d3c8 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/common/Tuple8.java @@ -0,0 +1,24 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.common; + +/** Represent a fixed-size heterogeneous tuple of 8 item(s). */ +public record Tuple8( + T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7, T8 item8) { + /** Count the items of the tuple. */ + public int size() { + return 8; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/constants/Constants.java b/src/main/java/aas_core/aas3_2/constants/Constants.java new file mode 100644 index 00000000..f079bd6b --- /dev/null +++ b/src/main/java/aas_core/aas3_2/constants/Constants.java @@ -0,0 +1,194 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.constants; + +import aas_core.aas3_2.types.enums.DataTypeIec61360; +import aas_core.aas3_2.types.enums.KeyTypes; +import java.util.Collections; +import java.util.HashSet; +import java.util.Set; +import java.util.stream.Collector; +import java.util.stream.Stream; + +// Helper to generate read-only collections with less boilerplate. +// See: https://stackoverflow.com/a/37406054 +class _ImmutableCollector { + public static Collector, Set> toImmutableSet() { + return Collector.of( + HashSet::new, + Set::add, + (l, r) -> { + l.addAll(r); + return l; + }, + Collections::unmodifiableSet); + } +} + +/** Provide constant values of the meta-model. */ +public class Constants { + public static final String xsDoubleOverflowThreshold = + "179769313486231580793728971405303415079934132710037826936173778980444968292764750946649017977587207096330286416692887910946555547851940402630657488671505820681908902000708383676273854845817711531764475730270069855571366959622842914819860834936475292719074168444365510704342711559699508093042880177904174497792"; + + public static final String xsFloatOverflowThreshold = "340282356779733661637539395458142568448"; + + public static final Set genericFragmentKeys = + Stream.of(KeyTypes.FRAGMENT_REFERENCE).collect(_ImmutableCollector.toImmutableSet()); + + public static final Set genericGloballyIdentifiables = + Stream.of(KeyTypes.GLOBAL_REFERENCE).collect(_ImmutableCollector.toImmutableSet()); + + public static final Set aasIdentifiables = + Stream.of( + KeyTypes.ASSET_ADMINISTRATION_SHELL, + KeyTypes.CONCEPT_DESCRIPTION, + KeyTypes.IDENTIFIABLE, + KeyTypes.SUBMODEL) + .collect(_ImmutableCollector.toImmutableSet()); + + public static final Set aasSubmodelElementsAsKeys = + Stream.of( + KeyTypes.ANNOTATED_RELATIONSHIP_ELEMENT, + KeyTypes.BASIC_EVENT_ELEMENT, + KeyTypes.BLOB, + KeyTypes.CAPABILITY, + KeyTypes.DATA_ELEMENT, + KeyTypes.ENTITY, + KeyTypes.EVENT_ELEMENT, + KeyTypes.FILE, + KeyTypes.MULTI_LANGUAGE_PROPERTY, + KeyTypes.OPERATION, + KeyTypes.PROPERTY, + KeyTypes.RANGE, + KeyTypes.REFERENCE_ELEMENT, + KeyTypes.RELATIONSHIP_ELEMENT, + KeyTypes.SUBMODEL_ELEMENT, + KeyTypes.SUBMODEL_ELEMENT_COLLECTION, + KeyTypes.SUBMODEL_ELEMENT_LIST) + .collect(_ImmutableCollector.toImmutableSet()); + + public static final Set aasReferableNonIdentifiables = + Stream.of( + KeyTypes.ANNOTATED_RELATIONSHIP_ELEMENT, + KeyTypes.BASIC_EVENT_ELEMENT, + KeyTypes.BLOB, + KeyTypes.CAPABILITY, + KeyTypes.DATA_ELEMENT, + KeyTypes.ENTITY, + KeyTypes.EVENT_ELEMENT, + KeyTypes.FILE, + KeyTypes.MULTI_LANGUAGE_PROPERTY, + KeyTypes.OPERATION, + KeyTypes.PROPERTY, + KeyTypes.RANGE, + KeyTypes.REFERENCE_ELEMENT, + KeyTypes.RELATIONSHIP_ELEMENT, + KeyTypes.SUBMODEL_ELEMENT, + KeyTypes.SUBMODEL_ELEMENT_COLLECTION, + KeyTypes.SUBMODEL_ELEMENT_LIST) + .collect(_ImmutableCollector.toImmutableSet()); + + public static final Set aasReferables = + Stream.of( + KeyTypes.ASSET_ADMINISTRATION_SHELL, + KeyTypes.CONCEPT_DESCRIPTION, + KeyTypes.IDENTIFIABLE, + KeyTypes.SUBMODEL, + KeyTypes.ANNOTATED_RELATIONSHIP_ELEMENT, + KeyTypes.BASIC_EVENT_ELEMENT, + KeyTypes.BLOB, + KeyTypes.CAPABILITY, + KeyTypes.DATA_ELEMENT, + KeyTypes.ENTITY, + KeyTypes.EVENT_ELEMENT, + KeyTypes.FILE, + KeyTypes.MULTI_LANGUAGE_PROPERTY, + KeyTypes.OPERATION, + KeyTypes.PROPERTY, + KeyTypes.RANGE, + KeyTypes.REFERENCE_ELEMENT, + KeyTypes.REFERABLE, + KeyTypes.RELATIONSHIP_ELEMENT, + KeyTypes.SUBMODEL_ELEMENT, + KeyTypes.SUBMODEL_ELEMENT_COLLECTION, + KeyTypes.SUBMODEL_ELEMENT_LIST) + .collect(_ImmutableCollector.toImmutableSet()); + + public static final Set globallyIdentifiables = + Stream.of( + KeyTypes.GLOBAL_REFERENCE, + KeyTypes.ASSET_ADMINISTRATION_SHELL, + KeyTypes.CONCEPT_DESCRIPTION, + KeyTypes.IDENTIFIABLE, + KeyTypes.SUBMODEL) + .collect(_ImmutableCollector.toImmutableSet()); + + public static final Set fragmentKeys = + Stream.of( + KeyTypes.ANNOTATED_RELATIONSHIP_ELEMENT, + KeyTypes.BASIC_EVENT_ELEMENT, + KeyTypes.BLOB, + KeyTypes.CAPABILITY, + KeyTypes.DATA_ELEMENT, + KeyTypes.ENTITY, + KeyTypes.EVENT_ELEMENT, + KeyTypes.FILE, + KeyTypes.FRAGMENT_REFERENCE, + KeyTypes.MULTI_LANGUAGE_PROPERTY, + KeyTypes.OPERATION, + KeyTypes.PROPERTY, + KeyTypes.RANGE, + KeyTypes.REFERENCE_ELEMENT, + KeyTypes.RELATIONSHIP_ELEMENT, + KeyTypes.SUBMODEL_ELEMENT, + KeyTypes.SUBMODEL_ELEMENT_COLLECTION, + KeyTypes.SUBMODEL_ELEMENT_LIST) + .collect(_ImmutableCollector.toImmutableSet()); + + public static final Set dataTypeIec61360ForPropertyOrValue = + Stream.of( + DataTypeIec61360.DATE, + DataTypeIec61360.STRING, + DataTypeIec61360.STRING_TRANSLATABLE, + DataTypeIec61360.INTEGER_MEASURE, + DataTypeIec61360.INTEGER_COUNT, + DataTypeIec61360.INTEGER_CURRENCY, + DataTypeIec61360.REAL_MEASURE, + DataTypeIec61360.REAL_COUNT, + DataTypeIec61360.REAL_CURRENCY, + DataTypeIec61360.BOOLEAN, + DataTypeIec61360.RATIONAL, + DataTypeIec61360.RATIONAL_MEASURE, + DataTypeIec61360.TIME, + DataTypeIec61360.TIMESTAMP) + .collect(_ImmutableCollector.toImmutableSet()); + + public static final Set dataTypeIec61360ForReference = + Stream.of(DataTypeIec61360.STRING, DataTypeIec61360.IRI, DataTypeIec61360.IRDI) + .collect(_ImmutableCollector.toImmutableSet()); + + public static final Set dataTypeIec61360ForDocument = + Stream.of(DataTypeIec61360.FILE, DataTypeIec61360.BLOB, DataTypeIec61360.HTML) + .collect(_ImmutableCollector.toImmutableSet()); + + public static final Set iec61360DataTypesWithUnit = + Stream.of( + DataTypeIec61360.INTEGER_MEASURE, + DataTypeIec61360.REAL_MEASURE, + DataTypeIec61360.RATIONAL_MEASURE, + DataTypeIec61360.INTEGER_CURRENCY, + DataTypeIec61360.REAL_CURRENCY) + .collect(_ImmutableCollector.toImmutableSet()); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/copying/Copying.java b/src/main/java/aas_core/aas3_2/copying/Copying.java new file mode 100644 index 00000000..74e6ffac --- /dev/null +++ b/src/main/java/aas_core/aas3_2/copying/Copying.java @@ -0,0 +1,3475 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.copying; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IClass; +import aas_core.aas3_2.visitation.AbstractTransformer; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.ArrayList; +import java.util.List; + +/** Allow for making shallow and deep copies of model instances. */ +public class Copying { + private static final _ShallowCopier shallowCopierInstance = new _ShallowCopier(); + + private static final _DeepCopier deepCopierInstance = new _DeepCopier(); + + /** + * Make a shallow copy of {@code that}. + * + *

All the properties are copied by reference. This includes also the lists. Hence, a list + * property is copied by reference, and not, as sometimes might be expected, as a new list of + * underlying references. + * + * @param that to be copied in a shallow manner + */ + @SuppressWarnings("unchecked") + public static T shallow(T that) { + return (T) shallowCopierInstance.transform(that); + } + + /** + * Make a recursively a deep copy of {@code that}. + * + * @param that to be deeply copied in a recursive manner + */ + @SuppressWarnings("unchecked") + public static T deep(T that) { + return (T) deepCopierInstance.transform(that); + } + + /** + * Make a recursively a deep copy of {@code that}. + * + * @param that to be deeply copied in a recursive manner + */ + public static > T deep(T that) { + return that.withUnderlying(deep(that.getUnderlying())); + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IReference(List that) { + List result = new ArrayList<>(that.size()); + for (IReference item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IEmbeddedDataSpecification( + List that) { + List result = new ArrayList<>(that.size()); + for (IEmbeddedDataSpecification item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IExtension(List that) { + List result = new ArrayList<>(that.size()); + for (IExtension item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_ILangStringNameType( + List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringNameType item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_ILangStringTextType( + List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringTextType item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_ISpecificAssetId(List that) { + List result = new ArrayList<>(that.size()); + for (ISpecificAssetId item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IQualifier(List that) { + List result = new ArrayList<>(that.size()); + for (IQualifier item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_ISubmodelElement(List that) { + List result = new ArrayList<>(that.size()); + for (ISubmodelElement item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IDataElement(List that) { + List result = new ArrayList<>(that.size()); + for (IDataElement item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IOperationVariable( + List that) { + List result = new ArrayList<>(that.size()); + for (IOperationVariable item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IKey(List that) { + List result = new ArrayList<>(that.size()); + for (IKey item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IAssetAdministrationShell( + List that) { + List result = new ArrayList<>(that.size()); + for (IAssetAdministrationShell item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_ISubmodel(List that) { + List result = new ArrayList<>(that.size()); + for (ISubmodel item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IConceptDescription( + List that) { + List result = new ArrayList<>(that.size()); + for (IConceptDescription item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IValueReferencePair( + List that) { + List result = new ArrayList<>(that.size()); + for (IValueReferencePair item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_ILangStringUom(List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringUom item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IDefinitionTypeUom( + List that) { + List result = new ArrayList<>(that.size()); + for (IDefinitionTypeUom item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List + deepListOf_ILangStringPreferredNameTypeIec61360( + List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringPreferredNameTypeIec61360 item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_ILangStringShortNameTypeIec61360( + List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringShortNameTypeIec61360 item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List + deepListOf_ILangStringDefinitionTypeIec61360(List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringDefinitionTypeIec61360 item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IEndpoint(List that) { + List result = new ArrayList<>(that.size()); + for (IEndpoint item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_ISubmodelDescriptor( + List that) { + List result = new ArrayList<>(that.size()); + for (ISubmodelDescriptor item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_ISecurityAttributeObject( + List that) { + List result = new ArrayList<>(that.size()); + for (ISecurityAttributeObject item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IMessage(List that) { + List result = new ArrayList<>(that.size()); + for (IMessage item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IReferable(List that) { + List result = new ArrayList<>(that.size()); + for (IReferable item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_jsonObject(List that) { + List result = new ArrayList<>(that.size()); + for (ObjectNode item : that) { + result.add(item.deepCopy()); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List + deepListOf_IAssetAdministrationShellMetadata(List that) { + List result = new ArrayList<>(that.size()); + for (IAssetAdministrationShellMetadata item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List + deepListOf_IAssetAdministrationShellRecentChange( + List that) { + List result = new ArrayList<>(that.size()); + for (IAssetAdministrationShellRecentChange item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List + deepListOf_IAssetAdministrationShellDescriptor( + List that) { + List result = new ArrayList<>(that.size()); + for (IAssetAdministrationShellDescriptor item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IConceptDescriptionRecentChange( + List that) { + List result = new ArrayList<>(that.size()); + for (IConceptDescriptionRecentChange item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IPackageDescription( + List that) { + List result = new ArrayList<>(that.size()); + for (IPackageDescription item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_ISubmodelElementMetadata( + List that) { + List result = new ArrayList<>(that.size()); + for (ISubmodelElementMetadata item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_ISubmodelRecentChange( + List that) { + List result = new ArrayList<>(that.size()); + for (ISubmodelRecentChange item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_ISubmodelMetadata( + List that) { + List result = new ArrayList<>(that.size()); + for (ISubmodelMetadata item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static Tuple2 deepTupleOf2_Value_Value(Tuple2 that) { + return new Tuple2<>(deep(that.item1()), deep(that.item2())); + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static Tuple2 deepTupleOf2_StringValue_StringValue( + Tuple2 that) { + return new Tuple2<>(deep(that.item1()), deep(that.item2())); + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_MatchExpression(List that) { + List result = new ArrayList<>(that.size()); + for (MatchExpression item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_LogicalExpression( + List that) { + List result = new ArrayList<>(that.size()); + for (LogicalExpression item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IQueryFilter(List that) { + List result = new ArrayList<>(that.size()); + for (IQueryFilter item : that) { + result.add(deep(item)); + } + return result; + } + + /** Dispatch the making of shallow copies. */ + private static class _ShallowCopier extends AbstractTransformer { + @Override + public IClass transformExtension(IExtension that) { + return new Extension( + that.getName(), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getValueType().orElse(null), + that.getValue().orElse(null), + that.getRefersTo().orElse(null)); + } + + @Override + public IClass transformAdministrativeInformation(IAdministrativeInformation that) { + return new AdministrativeInformation( + that.getEmbeddedDataSpecifications().orElse(null), + that.getVersion().orElse(null), + that.getRevision().orElse(null), + that.getCreator().orElse(null), + that.getCreatedAt().orElse(null), + that.getUpdatedAt().orElse(null), + that.getTemplateId().orElse(null)); + } + + @Override + public IClass transformQualifier(IQualifier that) { + return new Qualifier( + that.getType(), + that.getValueType(), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getKind().orElse(null), + that.getValue().orElse(null), + that.getValueId().orElse(null)); + } + + @Override + public IClass transformAssetAdministrationShell(IAssetAdministrationShell that) { + return new AssetAdministrationShell( + that.getId(), + that.getAssetInformation(), + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getAdministration().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getDerivedFrom().orElse(null), + that.getSubmodels().orElse(null)); + } + + @Override + public IClass transformAssetInformation(IAssetInformation that) { + return new AssetInformation( + that.getAssetKind(), + that.getGlobalAssetId().orElse(null), + that.getSpecificAssetIds().orElse(null), + that.getAssetType().orElse(null), + that.getDefaultThumbnail().orElse(null)); + } + + @Override + public IClass transformResource(IResource that) { + return new Resource(that.getPath(), that.getContentType().orElse(null)); + } + + @Override + public IClass transformSpecificAssetId(ISpecificAssetId that) { + return new SpecificAssetId( + that.getName(), + that.getValue(), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getExternalSubjectId().orElse(null)); + } + + @Override + public IClass transformSubmodel(ISubmodel that) { + return new Submodel( + that.getId(), + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getAdministration().orElse(null), + that.getKind().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getSubmodelElements().orElse(null)); + } + + @Override + public IClass transformRelationshipElement(IRelationshipElement that) { + return new RelationshipElement( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getFirst().orElse(null), + that.getSecond().orElse(null)); + } + + @Override + public IClass transformSubmodelElementList(ISubmodelElementList that) { + return new SubmodelElementList( + that.getTypeValueListElement(), + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getOrderRelevant().orElse(null), + that.getSemanticIdListElement().orElse(null), + that.getValueTypeListElement().orElse(null), + that.getValue().orElse(null)); + } + + @Override + public IClass transformSubmodelElementCollection(ISubmodelElementCollection that) { + return new SubmodelElementCollection( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getValue().orElse(null)); + } + + @Override + public IClass transformProperty(IProperty that) { + return new Property( + that.getValueType(), + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getValue().orElse(null), + that.getValueId().orElse(null)); + } + + @Override + public IClass transformMultiLanguageProperty(IMultiLanguageProperty that) { + return new MultiLanguageProperty( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getValue().orElse(null), + that.getValueId().orElse(null)); + } + + @Override + public IClass transformRange(IRange that) { + return new Range( + that.getValueType(), + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getMin().orElse(null), + that.getMax().orElse(null)); + } + + @Override + public IClass transformReferenceElement(IReferenceElement that) { + return new ReferenceElement( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getValue().orElse(null)); + } + + @Override + public IClass transformBlob(IBlob that) { + return new Blob( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getValue().orElse(null), + that.getContentType().orElse(null)); + } + + @Override + public IClass transformFile(IFile that) { + return new File( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getValue().orElse(null), + that.getContentType().orElse(null)); + } + + @Override + public IClass transformAnnotatedRelationshipElement(IAnnotatedRelationshipElement that) { + return new AnnotatedRelationshipElement( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getFirst().orElse(null), + that.getSecond().orElse(null), + that.getAnnotations().orElse(null)); + } + + @Override + public IClass transformEntity(IEntity that) { + return new Entity( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getStatements().orElse(null), + that.getEntityType().orElse(null), + that.getGlobalAssetId().orElse(null), + that.getSpecificAssetIds().orElse(null)); + } + + @Override + public IClass transformEventPayload(IEventPayload that) { + return new EventPayload( + that.getSource(), + that.getObservableReference(), + that.getTimeStamp(), + that.getSourceSemanticId().orElse(null), + that.getObservableSemanticId().orElse(null), + that.getTopic().orElse(null), + that.getSubjectId().orElse(null), + that.getPayload().orElse(null)); + } + + @Override + public IClass transformBasicEventElement(IBasicEventElement that) { + return new BasicEventElement( + that.getObserved(), + that.getDirection(), + that.getState(), + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getMessageTopic().orElse(null), + that.getMessageBroker().orElse(null), + that.getLastUpdate().orElse(null), + that.getMinInterval().orElse(null), + that.getMaxInterval().orElse(null)); + } + + @Override + public IClass transformOperation(IOperation that) { + return new Operation( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getInputVariables().orElse(null), + that.getOutputVariables().orElse(null), + that.getInoutputVariables().orElse(null)); + } + + @Override + public IClass transformOperationVariable(IOperationVariable that) { + return new OperationVariable(that.getValue()); + } + + @Override + public IClass transformCapability(ICapability that) { + return new Capability( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null)); + } + + @Override + public IClass transformConceptDescription(IConceptDescription that) { + return new ConceptDescription( + that.getId(), + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getAdministration().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getIsCaseOf().orElse(null)); + } + + @Override + public IClass transformReference(IReference that) { + return new Reference( + that.getType(), that.getKeys(), that.getReferredSemanticId().orElse(null)); + } + + @Override + public IClass transformKey(IKey that) { + return new Key(that.getType(), that.getValue()); + } + + @Override + public IClass transformLangStringNameType(ILangStringNameType that) { + return new LangStringNameType(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformLangStringTextType(ILangStringTextType that) { + return new LangStringTextType(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformEnvironment(IEnvironment that) { + return new Environment( + that.getAssetAdministrationShells().orElse(null), + that.getSubmodels().orElse(null), + that.getConceptDescriptions().orElse(null)); + } + + @Override + public IClass transformEmbeddedDataSpecification(IEmbeddedDataSpecification that) { + return new EmbeddedDataSpecification( + that.getDataSpecification(), that.getDataSpecificationContent()); + } + + @Override + public IClass transformLevelType(ILevelType that) { + return new LevelType(that.getMin(), that.getNom(), that.getTyp(), that.getMax()); + } + + @Override + public IClass transformValueReferencePair(IValueReferencePair that) { + return new ValueReferencePair(that.getValue(), that.getValueId().orElse(null)); + } + + @Override + public IClass transformValueList(IValueList that) { + return new ValueList(that.getValueReferencePairs()); + } + + @Override + public IClass transformLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that) { + return new LangStringPreferredNameTypeIec61360(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformLangStringShortNameTypeIec61360(ILangStringShortNameTypeIec61360 that) { + return new LangStringShortNameTypeIec61360(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that) { + return new LangStringDefinitionTypeIec61360(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformLangStringUom(ILangStringUom that) { + return new LangStringUom(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformDefinitionTypeUom(IDefinitionTypeUom that) { + return new DefinitionTypeUom(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformDataSpecificationUom(IDataSpecificationUom that) { + return new DataSpecificationUom( + that.getPreferredName(), + that.getSymbol(), + that.getSpecificUnitId().orElse(null), + that.getDefinition().orElse(null), + that.getPreferredNameQuantity().orElse(null), + that.getQuantityId().orElse(null), + that.getClassificationSystem().orElse(null), + that.getClassificationSystemVersion().orElse(null)); + } + + @Override + public IClass transformDataSpecificationIec61360(IDataSpecificationIec61360 that) { + return new DataSpecificationIec61360( + that.getPreferredName(), + that.getShortName().orElse(null), + that.getUnit().orElse(null), + that.getUnitId().orElse(null), + that.getSourceOfDefinition().orElse(null), + that.getSymbol().orElse(null), + that.getDataType().orElse(null), + that.getDefinition().orElse(null), + that.getValueFormat().orElse(null), + that.getValueList().orElse(null), + that.getValue().orElse(null), + that.getLevelType().orElse(null)); + } + + @Override + public IClass transformAssetAdministrationShellDescriptor( + IAssetAdministrationShellDescriptor that) { + return new AssetAdministrationShellDescriptor( + that.getId(), + that.getDescription().orElse(null), + that.getDisplayName().orElse(null), + that.getExtensions().orElse(null), + that.getAdministration().orElse(null), + that.getAssetKind().orElse(null), + that.getAssetType().orElse(null), + that.getEndpoints().orElse(null), + that.getGlobalAssetId().orElse(null), + that.getIdShort().orElse(null), + that.getSpecificAssetIds().orElse(null), + that.getSubmodelDescriptors().orElse(null)); + } + + @Override + public IClass transformSubmodelDescriptor(ISubmodelDescriptor that) { + return new SubmodelDescriptor( + that.getEndpoints(), + that.getId(), + that.getDescription().orElse(null), + that.getDisplayName().orElse(null), + that.getExtensions().orElse(null), + that.getAdministration().orElse(null), + that.getIdShort().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null)); + } + + @Override + public IClass transformEndpoint(IEndpoint that) { + return new Endpoint(that.getProtocolInformation(), that.getInterface()); + } + + @Override + public IClass transformProtocolInformation(IProtocolInformation that) { + return new ProtocolInformation( + that.getHref(), + that.getEndpointProtocol().orElse(null), + that.getEndpointProtocolVersion().orElse(null), + that.getSubprotocol().orElse(null), + that.getSubprotocolBody().orElse(null), + that.getSubprotocolBodyEncoding().orElse(null), + that.getSecurityAttributes().orElse(null)); + } + + @Override + public IClass transformSecurityAttributeObject(ISecurityAttributeObject that) { + return new SecurityAttributeObject(that.getType(), that.getKey(), that.getValue()); + } + + @Override + public IClass transformAssetLink(IAssetLink that) { + return new AssetLink(that.getName(), that.getValue()); + } + + @Override + public IClass transformServiceDescription(IServiceDescription that) { + return new ServiceDescription(that.getProfiles()); + } + + @Override + public IClass transformAssetAdministrationShellRecentChange( + IAssetAdministrationShellRecentChange that) { + return new AssetAdministrationShellRecentChange( + that.getCreatedAt(), + that.getUpdatedAt(), + that.getId(), + that.getGlobalAssetId().orElse(null), + that.getSpecificAssetIds().orElse(null)); + } + + @Override + public IClass transformConceptDescriptionRecentChange(IConceptDescriptionRecentChange that) { + return new ConceptDescriptionRecentChange( + that.getCreatedAt(), that.getUpdatedAt(), that.getId()); + } + + @Override + public IClass transformSubmodelRecentChange(ISubmodelRecentChange that) { + return new SubmodelRecentChange( + that.getCreatedAt(), + that.getUpdatedAt(), + that.getId(), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null)); + } + + @Override + public IClass transformResult(IResult that) { + return new Result(that.getMessages().orElse(null)); + } + + @Override + public IClass transformMessage(IMessage that) { + return new Message( + that.getMessageType(), + that.getText(), + that.getCode().orElse(null), + that.getCorrelationId().orElse(null), + that.getTimestamp().orElse(null)); + } + + @Override + public IClass transformOperationRequest(IOperationRequest that) { + return new OperationRequest( + that.getInputArguments().orElse(null), + that.getInoutputArguments().orElse(null), + that.getClientTimeoutDuration().orElse(null)); + } + + @Override + public IClass transformOperationRequestAsync(IOperationRequestAsync that) { + return new OperationRequestAsync( + that.getClientTimeoutDuration(), + that.getInputArguments().orElse(null), + that.getInoutputArguments().orElse(null)); + } + + @Override + public IClass transformOperationRequestValueOnly(IOperationRequestValueOnly that) { + return new OperationRequestValueOnly( + that.getInputArguments().orElse(null), + that.getInoutputArguments().orElse(null), + that.getClientTimeoutDuration().orElse(null)); + } + + @Override + public IClass transformOperationRequestAsyncValueOnly(IOperationRequestAsyncValueOnly that) { + return new OperationRequestAsyncValueOnly( + that.getClientTimeoutDuration(), + that.getInputArguments().orElse(null), + that.getInoutputArguments().orElse(null)); + } + + @Override + public IClass transformBaseOperationResult(IBaseOperationResult that) { + return new BaseOperationResult( + that.getExecutionState(), + that.getMessages().orElse(null), + that.getSuccess().orElse(null)); + } + + @Override + public IClass transformOperationResult(IOperationResult that) { + return new OperationResult( + that.getExecutionState(), + that.getMessages().orElse(null), + that.getSuccess().orElse(null), + that.getOutputArguments().orElse(null), + that.getInoutputArguments().orElse(null)); + } + + @Override + public IClass transformOperationResultValueOnly(IOperationResultValueOnly that) { + return new OperationResultValueOnly( + that.getExecutionState(), + that.getMessages().orElse(null), + that.getSuccess().orElse(null), + that.getOutputArguments().orElse(null), + that.getInoutputArguments().orElse(null)); + } + + @Override + public IClass transformOperationHandle(IOperationHandle that) { + return new OperationHandle(that.getHandleId()); + } + + @Override + public IClass transformPagedResult(IPagedResult that) { + return new PagedResult(that.getPagingMetadata(), that.getResult().orElse(null)); + } + + @Override + public IClass transformPagingMetadata(IPagingMetadata that) { + return new PagingMetadata(that.getCursor().orElse(null)); + } + + @Override + public IClass transformPackageDescription(IPackageDescription that) { + return new PackageDescription(that.getPackageId(), that.getAasIds().orElse(null)); + } + + @Override + public IClass transformPropertyMetadata(IPropertyMetadata that) { + return new PropertyMetadata( + that.getValueType(), + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null)); + } + + @Override + public IClass transformRangeMetadata(IRangeMetadata that) { + return new RangeMetadata( + that.getValueType(), + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null)); + } + + @Override + public IClass transformBlobMetadata(IBlobMetadata that) { + return new BlobMetadata( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null)); + } + + @Override + public IClass transformFileMetadata(IFileMetadata that) { + return new FileMetadata( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null)); + } + + @Override + public IClass transformMultiLanguagePropertyMetadata(IMultiLanguagePropertyMetadata that) { + return new MultiLanguagePropertyMetadata( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null)); + } + + @Override + public IClass transformReferenceElementMetadata(IReferenceElementMetadata that) { + return new ReferenceElementMetadata( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null)); + } + + @Override + public IClass transformRelationshipElementMetadata(IRelationshipElementMetadata that) { + return new RelationshipElementMetadata( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null)); + } + + @Override + public IClass transformAnnotatedRelationshipElementMetadata( + IAnnotatedRelationshipElementMetadata that) { + return new AnnotatedRelationshipElementMetadata( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null)); + } + + @Override + public IClass transformEntityMetadata(IEntityMetadata that) { + return new EntityMetadata( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null)); + } + + @Override + public IClass transformCapabilityMetadata(ICapabilityMetadata that) { + return new CapabilityMetadata( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null)); + } + + @Override + public IClass transformOperationMetadata(IOperationMetadata that) { + return new OperationMetadata( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null)); + } + + @Override + public IClass transformSubmodelElementCollectionMetadata( + ISubmodelElementCollectionMetadata that) { + return new SubmodelElementCollectionMetadata( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null)); + } + + @Override + public IClass transformBasicEventElementMetadata(IBasicEventElementMetadata that) { + return new BasicEventElementMetadata( + that.getDirection(), + that.getState(), + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getMessageTopic().orElse(null), + that.getMessageBroker().orElse(null), + that.getLastUpdate().orElse(null), + that.getMinInterval().orElse(null), + that.getMaxInterval().orElse(null)); + } + + @Override + public IClass transformSubmodelElementListMetadata(ISubmodelElementListMetadata that) { + return new SubmodelElementListMetadata( + that.getTypeValueListElement(), + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getOrderRelevant().orElse(null), + that.getSemanticIdListElement().orElse(null), + that.getValueTypeListElement().orElse(null)); + } + + @Override + public IClass transformSubmodelMetadata(ISubmodelMetadata that) { + return new SubmodelMetadata( + that.getId(), + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getAdministration().orElse(null), + that.getKind().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null)); + } + + @Override + public IClass transformAssetAdministrationShellMetadata( + IAssetAdministrationShellMetadata that) { + return new AssetAdministrationShellMetadata( + that.getId(), + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getAdministration().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getDerivedFrom().orElse(null)); + } + + @Override + public IClass transformReferenceElementValue(IReferenceElementValue that) { + return new ReferenceElementValue( + that.getType(), that.getKeys(), that.getReferredSemanticId().orElse(null)); + } + + @Override + public IClass transformBlobValue(IBlobValue that) { + return new BlobValue(that.getContentType().orElse(null), that.getValue().orElse(null)); + } + + @Override + public IClass transformFileValue(IFileValue that) { + return new FileValue(that.getContentType().orElse(null), that.getValue().orElse(null)); + } + + @Override + public IClass transformRangeValue(IRangeValue that) { + return new RangeValue(that.getMin(), that.getMax()); + } + + @Override + public IClass transformRelationshipElementValue(IRelationshipElementValue that) { + return new RelationshipElementValue( + that.getFirst().orElse(null), that.getSecond().orElse(null)); + } + + @Override + public IClass transformBasicEventElementValue(IBasicEventElementValue that) { + return new BasicEventElementValue(that.getObserved()); + } + + @Override + public IClass transformAnnotatedRelationshipElementValue( + IAnnotatedRelationshipElementValue that) { + return new AnnotatedRelationshipElementValue( + that.getFirst().orElse(null), + that.getSecond().orElse(null), + that.getAnnotations().orElse(null)); + } + + @Override + public IClass transformEntityValue(IEntityValue that) { + return new EntityValue( + that.getEntityType().orElse(null), + that.getGlobalAssetId().orElse(null), + that.getSpecificAssetIds().orElse(null), + that.getStatements().orElse(null)); + } + + @Override + public IClass transformGetAssetAdministrationShellsResult( + IGetAssetAdministrationShellsResult that) { + return new GetAssetAdministrationShellsResult( + that.getPagingMetadata(), that.getResult().orElse(null)); + } + + @Override + public IClass transformGetAssetAdministrationShellsMetadataResult( + IGetAssetAdministrationShellsMetadataResult that) { + return new GetAssetAdministrationShellsMetadataResult( + that.getPagingMetadata(), that.getResult().orElse(null)); + } + + @Override + public IClass transformGetAllAssetAdministrationShellsRecentChangesResult( + IGetAllAssetAdministrationShellsRecentChangesResult that) { + return new GetAllAssetAdministrationShellsRecentChangesResult( + that.getPagingMetadata(), that.getResult().orElse(null)); + } + + @Override + public IClass transformGetAssetAdministrationShellDescriptorsResult( + IGetAssetAdministrationShellDescriptorsResult that) { + return new GetAssetAdministrationShellDescriptorsResult( + that.getPagingMetadata(), that.getResult().orElse(null)); + } + + @Override + public IClass transformGetConceptDescriptionsResult(IGetConceptDescriptionsResult that) { + return new GetConceptDescriptionsResult( + that.getPagingMetadata(), that.getResult().orElse(null)); + } + + @Override + public IClass transformGetAllConceptDescriptionsRecentChangesResult( + IGetAllConceptDescriptionsRecentChangesResult that) { + return new GetAllConceptDescriptionsRecentChangesResult( + that.getPagingMetadata(), that.getResult().orElse(null)); + } + + @Override + public IClass transformGetPackageDescriptionsResult(IGetPackageDescriptionsResult that) { + return new GetPackageDescriptionsResult( + that.getPagingMetadata(), that.getResult().orElse(null)); + } + + @Override + public IClass transformGetPathItemsResult(IGetPathItemsResult that) { + return new GetPathItemsResult(that.getPagingMetadata(), that.getResult().orElse(null)); + } + + @Override + public IClass transformGetReferencesResult(IGetReferencesResult that) { + return new GetReferencesResult(that.getPagingMetadata(), that.getResult().orElse(null)); + } + + @Override + public IClass transformGetSubmodelDescriptorsResult(IGetSubmodelDescriptorsResult that) { + return new GetSubmodelDescriptorsResult( + that.getPagingMetadata(), that.getResult().orElse(null)); + } + + @Override + public IClass transformGetSubmodelElementsMetadataResult( + IGetSubmodelElementsMetadataResult that) { + return new GetSubmodelElementsMetadataResult( + that.getPagingMetadata(), that.getResult().orElse(null)); + } + + @Override + public IClass transformGetSubmodelElementsResult(IGetSubmodelElementsResult that) { + return new GetSubmodelElementsResult(that.getPagingMetadata(), that.getResult().orElse(null)); + } + + @Override + public IClass transformGetSubmodelElementsValueResult(IGetSubmodelElementsValueResult that) { + return new GetSubmodelElementsValueResult( + that.getPagingMetadata(), that.getResult().orElse(null)); + } + + @Override + public IClass transformGetAllSubmodelsRecentChangesResult( + IGetAllSubmodelsRecentChangesResult that) { + return new GetAllSubmodelsRecentChangesResult( + that.getPagingMetadata(), that.getResult().orElse(null)); + } + + @Override + public IClass transformGetSubmodelsMetadataResult(IGetSubmodelsMetadataResult that) { + return new GetSubmodelsMetadataResult( + that.getPagingMetadata(), that.getResult().orElse(null)); + } + + @Override + public IClass transformGetSubmodelsResult(IGetSubmodelsResult that) { + return new GetSubmodelsResult(that.getPagingMetadata(), that.getResult().orElse(null)); + } + + @Override + public IClass transformGetSubmodelsValueResult(IGetSubmodelsValueResult that) { + return new GetSubmodelsValueResult(that.getPagingMetadata(), that.getResult().orElse(null)); + } + + @Override + public IClass transformClaimAttribute(IClaimAttribute that) { + return new ClaimAttribute(that.getClaim()); + } + + @Override + public IClass transformGlobalAttribute(IGlobalAttribute that) { + return new GlobalAttribute(that.getKind()); + } + + @Override + public IClass transformReferenceAttribute(IReferenceAttribute that) { + return new ReferenceAttribute(that.getReference()); + } + + @Override + public IClass transformDateTimeAttributeItem(IDateTimeAttributeItem that) { + return new DateTimeAttributeItem(that.getKind()); + } + + @Override + public IClass transformFieldOperand(IFieldOperand that) { + return new FieldOperand(that.getField()); + } + + @Override + public IClass transformStringLiteral(IStringLiteral that) { + return new StringLiteral(that.getStrVal()); + } + + @Override + public IClass transformAttributeOperand(IAttributeOperand that) { + return new AttributeOperand(that.getAttribute()); + } + + @Override + public IClass transformNumberLiteral(INumberLiteral that) { + return new NumberLiteral(that.getNumVal()); + } + + @Override + public IClass transformHexLiteral(IHexLiteral that) { + return new HexLiteral(that.getHexVal()); + } + + @Override + public IClass transformDateTimeLiteral(IDateTimeLiteral that) { + return new DateTimeLiteral(that.getDateTimeVal()); + } + + @Override + public IClass transformTimeLiteral(ITimeLiteral that) { + return new TimeLiteral(that.getTimeVal()); + } + + @Override + public IClass transformBooleanLiteral(IBooleanLiteral that) { + return new BooleanLiteral(that.getBoolean()); + } + + @Override + public IClass transformStringCast(IStringCast that) { + return new StringCast(that.getStrCast()); + } + + @Override + public IClass transformNumberCast(INumberCast that) { + return new NumberCast(that.getNumCast()); + } + + @Override + public IClass transformHexCast(IHexCast that) { + return new HexCast(that.getHexCast()); + } + + @Override + public IClass transformBooleanCast(IBooleanCast that) { + return new BooleanCast(that.getBoolCast()); + } + + @Override + public IClass transformDateTimeCast(IDateTimeCast that) { + return new DateTimeCast(that.getDateTimeCast()); + } + + @Override + public IClass transformTimeCast(ITimeCast that) { + return new TimeCast(that.getTimeCast()); + } + + @Override + public IClass transformDayOfWeek(IDayOfWeek that) { + return new DayOfWeek(that.getDayOfWeek()); + } + + @Override + public IClass transformDayOfMonth(IDayOfMonth that) { + return new DayOfMonth(that.getDayOfMonth()); + } + + @Override + public IClass transformMonth(IMonth that) { + return new Month(that.getMonth()); + } + + @Override + public IClass transformYear(IYear that) { + return new Year(that.getYear()); + } + + @Override + public IClass transformDateTimeAttributeOperand(IDateTimeAttributeOperand that) { + return new DateTimeAttributeOperand(that.getAttribute()); + } + + @Override + public IClass transformEqualComparison(IEqualComparison that) { + return new EqualComparison(that.getEq()); + } + + @Override + public IClass transformNotEqualComparison(INotEqualComparison that) { + return new NotEqualComparison(that.getNe()); + } + + @Override + public IClass transformGreaterThanComparison(IGreaterThanComparison that) { + return new GreaterThanComparison(that.getGt()); + } + + @Override + public IClass transformGreaterThanOrEqualComparison(IGreaterThanOrEqualComparison that) { + return new GreaterThanOrEqualComparison(that.getGe()); + } + + @Override + public IClass transformLessThanComparison(ILessThanComparison that) { + return new LessThanComparison(that.getLt()); + } + + @Override + public IClass transformLessThanOrEqualComparison(ILessThanOrEqualComparison that) { + return new LessThanOrEqualComparison(that.getLe()); + } + + @Override + public IClass transformContainsComparison(IContainsComparison that) { + return new ContainsComparison(that.getContains()); + } + + @Override + public IClass transformStartsWithComparison(IStartsWithComparison that) { + return new StartsWithComparison(that.getStartsWith()); + } + + @Override + public IClass transformEndsWithComparison(IEndsWithComparison that) { + return new EndsWithComparison(that.getEndsWith()); + } + + @Override + public IClass transformRegexComparison(IRegexComparison that) { + return new RegexComparison(that.getRegex()); + } + + @Override + public IClass transformMatchClause(IMatchClause that) { + return new MatchClause(that.getMatchOperands()); + } + + @Override + public IClass transformAndExpression(IAndExpression that) { + return new AndExpression(that.getAndOperands()); + } + + @Override + public IClass transformOrExpression(IOrExpression that) { + return new OrExpression(that.getOrOperands()); + } + + @Override + public IClass transformNotExpression(INotExpression that) { + return new NotExpression(that.getNotOperand()); + } + + @Override + public IClass transformQueryFilter(IQueryFilter that) { + return new QueryFilter(that.getFragment(), that.getCondition()); + } + + @Override + public IClass transformQuery(IQuery that) { + return new Query( + that.getCondition(), that.getSelect().orElse(null), that.getFilters().orElse(null)); + } + } + + /** Dispatch the making of deep copies. */ + private static class _DeepCopier extends AbstractTransformer { + @Override + public IClass transformExtension(IExtension that) { + return new Extension( + that.getName(), + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getValueType().orElse(null), + that.getValue().orElse(null), + that.getRefersTo().isPresent() ? deepListOf_IReference(that.getRefersTo().get()) : null); + } + + @Override + public IClass transformAdministrativeInformation(IAdministrativeInformation that) { + return new AdministrativeInformation( + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getVersion().orElse(null), + that.getRevision().orElse(null), + that.getCreator().isPresent() ? deep(that.getCreator().get()) : null, + that.getCreatedAt().orElse(null), + that.getUpdatedAt().orElse(null), + that.getTemplateId().orElse(null)); + } + + @Override + public IClass transformQualifier(IQualifier that) { + return new Qualifier( + that.getType(), + that.getValueType(), + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getKind().orElse(null), + that.getValue().orElse(null), + that.getValueId().isPresent() ? deep(that.getValueId().get()) : null); + } + + @Override + public IClass transformAssetAdministrationShell(IAssetAdministrationShell that) { + return new AssetAdministrationShell( + that.getId(), + deep(that.getAssetInformation()), + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getAdministration().isPresent() ? deep(that.getAdministration().get()) : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getDerivedFrom().isPresent() ? deep(that.getDerivedFrom().get()) : null, + that.getSubmodels().isPresent() + ? deepListOf_IReference(that.getSubmodels().get()) + : null); + } + + @Override + public IClass transformAssetInformation(IAssetInformation that) { + return new AssetInformation( + that.getAssetKind(), + that.getGlobalAssetId().orElse(null), + that.getSpecificAssetIds().isPresent() + ? deepListOf_ISpecificAssetId(that.getSpecificAssetIds().get()) + : null, + that.getAssetType().orElse(null), + that.getDefaultThumbnail().isPresent() ? deep(that.getDefaultThumbnail().get()) : null); + } + + @Override + public IClass transformResource(IResource that) { + return new Resource(that.getPath(), that.getContentType().orElse(null)); + } + + @Override + public IClass transformSpecificAssetId(ISpecificAssetId that) { + return new SpecificAssetId( + that.getName(), + that.getValue(), + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getExternalSubjectId().isPresent() ? deep(that.getExternalSubjectId().get()) : null); + } + + @Override + public IClass transformSubmodel(ISubmodel that) { + return new Submodel( + that.getId(), + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getAdministration().isPresent() ? deep(that.getAdministration().get()) : null, + that.getKind().orElse(null), + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getSubmodelElements().isPresent() + ? deepListOf_ISubmodelElement(that.getSubmodelElements().get()) + : null); + } + + @Override + public IClass transformRelationshipElement(IRelationshipElement that) { + return new RelationshipElement( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getFirst().isPresent() ? deep(that.getFirst().get()) : null, + that.getSecond().isPresent() ? deep(that.getSecond().get()) : null); + } + + @Override + public IClass transformSubmodelElementList(ISubmodelElementList that) { + return new SubmodelElementList( + that.getTypeValueListElement(), + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getOrderRelevant().orElse(null), + that.getSemanticIdListElement().isPresent() + ? deep(that.getSemanticIdListElement().get()) + : null, + that.getValueTypeListElement().orElse(null), + that.getValue().isPresent() ? deepListOf_ISubmodelElement(that.getValue().get()) : null); + } + + @Override + public IClass transformSubmodelElementCollection(ISubmodelElementCollection that) { + return new SubmodelElementCollection( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getValue().isPresent() ? deepListOf_ISubmodelElement(that.getValue().get()) : null); + } + + @Override + public IClass transformProperty(IProperty that) { + return new Property( + that.getValueType(), + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getValue().orElse(null), + that.getValueId().isPresent() ? deep(that.getValueId().get()) : null); + } + + @Override + public IClass transformMultiLanguageProperty(IMultiLanguageProperty that) { + return new MultiLanguageProperty( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getValue().isPresent() + ? deepListOf_ILangStringTextType(that.getValue().get()) + : null, + that.getValueId().isPresent() ? deep(that.getValueId().get()) : null); + } + + @Override + public IClass transformRange(IRange that) { + return new Range( + that.getValueType(), + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getMin().orElse(null), + that.getMax().orElse(null)); + } + + @Override + public IClass transformReferenceElement(IReferenceElement that) { + return new ReferenceElement( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getValue().isPresent() ? deep(that.getValue().get()) : null); + } + + @Override + public IClass transformBlob(IBlob that) { + return new Blob( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getValue().isPresent() ? that.getValue().get().clone() : null, + that.getContentType().orElse(null)); + } + + @Override + public IClass transformFile(IFile that) { + return new File( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getValue().orElse(null), + that.getContentType().orElse(null)); + } + + @Override + public IClass transformAnnotatedRelationshipElement(IAnnotatedRelationshipElement that) { + return new AnnotatedRelationshipElement( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getFirst().isPresent() ? deep(that.getFirst().get()) : null, + that.getSecond().isPresent() ? deep(that.getSecond().get()) : null, + that.getAnnotations().isPresent() + ? deepListOf_IDataElement(that.getAnnotations().get()) + : null); + } + + @Override + public IClass transformEntity(IEntity that) { + return new Entity( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getStatements().isPresent() + ? deepListOf_ISubmodelElement(that.getStatements().get()) + : null, + that.getEntityType().orElse(null), + that.getGlobalAssetId().orElse(null), + that.getSpecificAssetIds().isPresent() + ? deepListOf_ISpecificAssetId(that.getSpecificAssetIds().get()) + : null); + } + + @Override + public IClass transformEventPayload(IEventPayload that) { + return new EventPayload( + deep(that.getSource()), + deep(that.getObservableReference()), + that.getTimeStamp(), + that.getSourceSemanticId().isPresent() ? deep(that.getSourceSemanticId().get()) : null, + that.getObservableSemanticId().isPresent() + ? deep(that.getObservableSemanticId().get()) + : null, + that.getTopic().orElse(null), + that.getSubjectId().isPresent() ? deep(that.getSubjectId().get()) : null, + that.getPayload().isPresent() ? that.getPayload().get().clone() : null); + } + + @Override + public IClass transformBasicEventElement(IBasicEventElement that) { + return new BasicEventElement( + deep(that.getObserved()), + that.getDirection(), + that.getState(), + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getMessageTopic().orElse(null), + that.getMessageBroker().isPresent() ? deep(that.getMessageBroker().get()) : null, + that.getLastUpdate().orElse(null), + that.getMinInterval().orElse(null), + that.getMaxInterval().orElse(null)); + } + + @Override + public IClass transformOperation(IOperation that) { + return new Operation( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getInputVariables().isPresent() + ? deepListOf_IOperationVariable(that.getInputVariables().get()) + : null, + that.getOutputVariables().isPresent() + ? deepListOf_IOperationVariable(that.getOutputVariables().get()) + : null, + that.getInoutputVariables().isPresent() + ? deepListOf_IOperationVariable(that.getInoutputVariables().get()) + : null); + } + + @Override + public IClass transformOperationVariable(IOperationVariable that) { + return new OperationVariable(deep(that.getValue())); + } + + @Override + public IClass transformCapability(ICapability that) { + return new Capability( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null); + } + + @Override + public IClass transformConceptDescription(IConceptDescription that) { + return new ConceptDescription( + that.getId(), + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getAdministration().isPresent() ? deep(that.getAdministration().get()) : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getIsCaseOf().isPresent() ? deepListOf_IReference(that.getIsCaseOf().get()) : null); + } + + @Override + public IClass transformReference(IReference that) { + return new Reference( + that.getType(), + deepListOf_IKey(that.getKeys()), + that.getReferredSemanticId().isPresent() + ? deep(that.getReferredSemanticId().get()) + : null); + } + + @Override + public IClass transformKey(IKey that) { + return new Key(that.getType(), that.getValue()); + } + + @Override + public IClass transformLangStringNameType(ILangStringNameType that) { + return new LangStringNameType(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformLangStringTextType(ILangStringTextType that) { + return new LangStringTextType(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformEnvironment(IEnvironment that) { + return new Environment( + that.getAssetAdministrationShells().isPresent() + ? deepListOf_IAssetAdministrationShell(that.getAssetAdministrationShells().get()) + : null, + that.getSubmodels().isPresent() ? deepListOf_ISubmodel(that.getSubmodels().get()) : null, + that.getConceptDescriptions().isPresent() + ? deepListOf_IConceptDescription(that.getConceptDescriptions().get()) + : null); + } + + @Override + public IClass transformEmbeddedDataSpecification(IEmbeddedDataSpecification that) { + return new EmbeddedDataSpecification( + deep(that.getDataSpecification()), deep(that.getDataSpecificationContent())); + } + + @Override + public IClass transformLevelType(ILevelType that) { + return new LevelType(that.getMin(), that.getNom(), that.getTyp(), that.getMax()); + } + + @Override + public IClass transformValueReferencePair(IValueReferencePair that) { + return new ValueReferencePair( + that.getValue(), that.getValueId().isPresent() ? deep(that.getValueId().get()) : null); + } + + @Override + public IClass transformValueList(IValueList that) { + return new ValueList(deepListOf_IValueReferencePair(that.getValueReferencePairs())); + } + + @Override + public IClass transformLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that) { + return new LangStringPreferredNameTypeIec61360(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformLangStringShortNameTypeIec61360(ILangStringShortNameTypeIec61360 that) { + return new LangStringShortNameTypeIec61360(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that) { + return new LangStringDefinitionTypeIec61360(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformLangStringUom(ILangStringUom that) { + return new LangStringUom(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformDefinitionTypeUom(IDefinitionTypeUom that) { + return new DefinitionTypeUom(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformDataSpecificationUom(IDataSpecificationUom that) { + return new DataSpecificationUom( + deepListOf_ILangStringUom(that.getPreferredName()), + that.getSymbol(), + that.getSpecificUnitId().orElse(null), + that.getDefinition().isPresent() + ? deepListOf_IDefinitionTypeUom(that.getDefinition().get()) + : null, + that.getPreferredNameQuantity().isPresent() + ? deepListOf_ILangStringUom(that.getPreferredNameQuantity().get()) + : null, + that.getQuantityId().orElse(null), + that.getClassificationSystem().orElse(null), + that.getClassificationSystemVersion().orElse(null)); + } + + @Override + public IClass transformDataSpecificationIec61360(IDataSpecificationIec61360 that) { + return new DataSpecificationIec61360( + deepListOf_ILangStringPreferredNameTypeIec61360(that.getPreferredName()), + that.getShortName().isPresent() + ? deepListOf_ILangStringShortNameTypeIec61360(that.getShortName().get()) + : null, + that.getUnit().orElse(null), + that.getUnitId().isPresent() ? deep(that.getUnitId().get()) : null, + that.getSourceOfDefinition().orElse(null), + that.getSymbol().orElse(null), + that.getDataType().orElse(null), + that.getDefinition().isPresent() + ? deepListOf_ILangStringDefinitionTypeIec61360(that.getDefinition().get()) + : null, + that.getValueFormat().orElse(null), + that.getValueList().isPresent() ? deep(that.getValueList().get()) : null, + that.getValue().orElse(null), + that.getLevelType().isPresent() ? deep(that.getLevelType().get()) : null); + } + + @Override + public IClass transformAssetAdministrationShellDescriptor( + IAssetAdministrationShellDescriptor that) { + return new AssetAdministrationShellDescriptor( + that.getId(), + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getAdministration().isPresent() ? deep(that.getAdministration().get()) : null, + that.getAssetKind().orElse(null), + that.getAssetType().orElse(null), + that.getEndpoints().isPresent() ? deepListOf_IEndpoint(that.getEndpoints().get()) : null, + that.getGlobalAssetId().orElse(null), + that.getIdShort().orElse(null), + that.getSpecificAssetIds().isPresent() + ? deepListOf_ISpecificAssetId(that.getSpecificAssetIds().get()) + : null, + that.getSubmodelDescriptors().isPresent() + ? deepListOf_ISubmodelDescriptor(that.getSubmodelDescriptors().get()) + : null); + } + + @Override + public IClass transformSubmodelDescriptor(ISubmodelDescriptor that) { + return new SubmodelDescriptor( + deepListOf_IEndpoint(that.getEndpoints()), + that.getId(), + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getAdministration().isPresent() ? deep(that.getAdministration().get()) : null, + that.getIdShort().orElse(null), + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null); + } + + @Override + public IClass transformEndpoint(IEndpoint that) { + return new Endpoint(deep(that.getProtocolInformation()), that.getInterface()); + } + + @Override + public IClass transformProtocolInformation(IProtocolInformation that) { + return new ProtocolInformation( + that.getHref(), + that.getEndpointProtocol().orElse(null), + that.getEndpointProtocolVersion().isPresent() + ? new ArrayList<>(that.getEndpointProtocolVersion().get()) + : null, + that.getSubprotocol().orElse(null), + that.getSubprotocolBody().orElse(null), + that.getSubprotocolBodyEncoding().orElse(null), + that.getSecurityAttributes().isPresent() + ? deepListOf_ISecurityAttributeObject(that.getSecurityAttributes().get()) + : null); + } + + @Override + public IClass transformSecurityAttributeObject(ISecurityAttributeObject that) { + return new SecurityAttributeObject(that.getType(), that.getKey(), that.getValue()); + } + + @Override + public IClass transformAssetLink(IAssetLink that) { + return new AssetLink(that.getName(), that.getValue()); + } + + @Override + public IClass transformServiceDescription(IServiceDescription that) { + return new ServiceDescription(new ArrayList<>(that.getProfiles())); + } + + @Override + public IClass transformAssetAdministrationShellRecentChange( + IAssetAdministrationShellRecentChange that) { + return new AssetAdministrationShellRecentChange( + that.getCreatedAt(), + that.getUpdatedAt(), + that.getId(), + that.getGlobalAssetId().orElse(null), + that.getSpecificAssetIds().isPresent() + ? deepListOf_ISpecificAssetId(that.getSpecificAssetIds().get()) + : null); + } + + @Override + public IClass transformConceptDescriptionRecentChange(IConceptDescriptionRecentChange that) { + return new ConceptDescriptionRecentChange( + that.getCreatedAt(), that.getUpdatedAt(), that.getId()); + } + + @Override + public IClass transformSubmodelRecentChange(ISubmodelRecentChange that) { + return new SubmodelRecentChange( + that.getCreatedAt(), + that.getUpdatedAt(), + that.getId(), + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null); + } + + @Override + public IClass transformResult(IResult that) { + return new Result( + that.getMessages().isPresent() ? deepListOf_IMessage(that.getMessages().get()) : null); + } + + @Override + public IClass transformMessage(IMessage that) { + return new Message( + that.getMessageType(), + that.getText(), + that.getCode().orElse(null), + that.getCorrelationId().orElse(null), + that.getTimestamp().orElse(null)); + } + + @Override + public IClass transformOperationRequest(IOperationRequest that) { + return new OperationRequest( + that.getInputArguments().isPresent() + ? deepListOf_IOperationVariable(that.getInputArguments().get()) + : null, + that.getInoutputArguments().isPresent() + ? deepListOf_IOperationVariable(that.getInoutputArguments().get()) + : null, + that.getClientTimeoutDuration().orElse(null)); + } + + @Override + public IClass transformOperationRequestAsync(IOperationRequestAsync that) { + return new OperationRequestAsync( + that.getClientTimeoutDuration(), + that.getInputArguments().isPresent() + ? deepListOf_IOperationVariable(that.getInputArguments().get()) + : null, + that.getInoutputArguments().isPresent() + ? deepListOf_IOperationVariable(that.getInoutputArguments().get()) + : null); + } + + @Override + public IClass transformOperationRequestValueOnly(IOperationRequestValueOnly that) { + return new OperationRequestValueOnly( + that.getInputArguments().isPresent() ? that.getInputArguments().get().deepCopy() : null, + that.getInoutputArguments().isPresent() + ? that.getInoutputArguments().get().deepCopy() + : null, + that.getClientTimeoutDuration().orElse(null)); + } + + @Override + public IClass transformOperationRequestAsyncValueOnly(IOperationRequestAsyncValueOnly that) { + return new OperationRequestAsyncValueOnly( + that.getClientTimeoutDuration(), + that.getInputArguments().isPresent() ? that.getInputArguments().get().deepCopy() : null, + that.getInoutputArguments().isPresent() + ? that.getInoutputArguments().get().deepCopy() + : null); + } + + @Override + public IClass transformBaseOperationResult(IBaseOperationResult that) { + return new BaseOperationResult( + that.getExecutionState(), + that.getMessages().isPresent() ? deepListOf_IMessage(that.getMessages().get()) : null, + that.getSuccess().orElse(null)); + } + + @Override + public IClass transformOperationResult(IOperationResult that) { + return new OperationResult( + that.getExecutionState(), + that.getMessages().isPresent() ? deepListOf_IMessage(that.getMessages().get()) : null, + that.getSuccess().orElse(null), + that.getOutputArguments().isPresent() + ? deepListOf_IOperationVariable(that.getOutputArguments().get()) + : null, + that.getInoutputArguments().isPresent() + ? deepListOf_IOperationVariable(that.getInoutputArguments().get()) + : null); + } + + @Override + public IClass transformOperationResultValueOnly(IOperationResultValueOnly that) { + return new OperationResultValueOnly( + that.getExecutionState(), + that.getMessages().isPresent() ? deepListOf_IMessage(that.getMessages().get()) : null, + that.getSuccess().orElse(null), + that.getOutputArguments().isPresent() ? that.getOutputArguments().get().deepCopy() : null, + that.getInoutputArguments().isPresent() + ? that.getInoutputArguments().get().deepCopy() + : null); + } + + @Override + public IClass transformOperationHandle(IOperationHandle that) { + return new OperationHandle(that.getHandleId()); + } + + @Override + public IClass transformPagedResult(IPagedResult that) { + return new PagedResult( + deep(that.getPagingMetadata()), + that.getResult().isPresent() ? deepListOf_IReferable(that.getResult().get()) : null); + } + + @Override + public IClass transformPagingMetadata(IPagingMetadata that) { + return new PagingMetadata(that.getCursor().orElse(null)); + } + + @Override + public IClass transformPackageDescription(IPackageDescription that) { + return new PackageDescription( + that.getPackageId(), + that.getAasIds().isPresent() ? new ArrayList<>(that.getAasIds().get()) : null); + } + + @Override + public IClass transformPropertyMetadata(IPropertyMetadata that) { + return new PropertyMetadata( + that.getValueType(), + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null); + } + + @Override + public IClass transformRangeMetadata(IRangeMetadata that) { + return new RangeMetadata( + that.getValueType(), + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null); + } + + @Override + public IClass transformBlobMetadata(IBlobMetadata that) { + return new BlobMetadata( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null); + } + + @Override + public IClass transformFileMetadata(IFileMetadata that) { + return new FileMetadata( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null); + } + + @Override + public IClass transformMultiLanguagePropertyMetadata(IMultiLanguagePropertyMetadata that) { + return new MultiLanguagePropertyMetadata( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null); + } + + @Override + public IClass transformReferenceElementMetadata(IReferenceElementMetadata that) { + return new ReferenceElementMetadata( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null); + } + + @Override + public IClass transformRelationshipElementMetadata(IRelationshipElementMetadata that) { + return new RelationshipElementMetadata( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null); + } + + @Override + public IClass transformAnnotatedRelationshipElementMetadata( + IAnnotatedRelationshipElementMetadata that) { + return new AnnotatedRelationshipElementMetadata( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null); + } + + @Override + public IClass transformEntityMetadata(IEntityMetadata that) { + return new EntityMetadata( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null); + } + + @Override + public IClass transformCapabilityMetadata(ICapabilityMetadata that) { + return new CapabilityMetadata( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null); + } + + @Override + public IClass transformOperationMetadata(IOperationMetadata that) { + return new OperationMetadata( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null); + } + + @Override + public IClass transformSubmodelElementCollectionMetadata( + ISubmodelElementCollectionMetadata that) { + return new SubmodelElementCollectionMetadata( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null); + } + + @Override + public IClass transformBasicEventElementMetadata(IBasicEventElementMetadata that) { + return new BasicEventElementMetadata( + that.getDirection(), + that.getState(), + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getMessageTopic().orElse(null), + that.getMessageBroker().isPresent() ? deep(that.getMessageBroker().get()) : null, + that.getLastUpdate().orElse(null), + that.getMinInterval().orElse(null), + that.getMaxInterval().orElse(null)); + } + + @Override + public IClass transformSubmodelElementListMetadata(ISubmodelElementListMetadata that) { + return new SubmodelElementListMetadata( + that.getTypeValueListElement(), + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getOrderRelevant().orElse(null), + that.getSemanticIdListElement().isPresent() + ? deep(that.getSemanticIdListElement().get()) + : null, + that.getValueTypeListElement().orElse(null)); + } + + @Override + public IClass transformSubmodelMetadata(ISubmodelMetadata that) { + return new SubmodelMetadata( + that.getId(), + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getAdministration().isPresent() ? deep(that.getAdministration().get()) : null, + that.getKind().orElse(null), + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null); + } + + @Override + public IClass transformAssetAdministrationShellMetadata( + IAssetAdministrationShellMetadata that) { + return new AssetAdministrationShellMetadata( + that.getId(), + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getAdministration().isPresent() ? deep(that.getAdministration().get()) : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getDerivedFrom().isPresent() ? deep(that.getDerivedFrom().get()) : null); + } + + @Override + public IClass transformReferenceElementValue(IReferenceElementValue that) { + return new ReferenceElementValue( + that.getType(), + deepListOf_IKey(that.getKeys()), + that.getReferredSemanticId().isPresent() + ? deep(that.getReferredSemanticId().get()) + : null); + } + + @Override + public IClass transformBlobValue(IBlobValue that) { + return new BlobValue( + that.getContentType().orElse(null), + that.getValue().isPresent() ? that.getValue().get().clone() : null); + } + + @Override + public IClass transformFileValue(IFileValue that) { + return new FileValue(that.getContentType().orElse(null), that.getValue().orElse(null)); + } + + @Override + public IClass transformRangeValue(IRangeValue that) { + return new RangeValue(that.getMin(), that.getMax()); + } + + @Override + public IClass transformRelationshipElementValue(IRelationshipElementValue that) { + return new RelationshipElementValue( + that.getFirst().isPresent() ? deep(that.getFirst().get()) : null, + that.getSecond().isPresent() ? deep(that.getSecond().get()) : null); + } + + @Override + public IClass transformBasicEventElementValue(IBasicEventElementValue that) { + return new BasicEventElementValue(deep(that.getObserved())); + } + + @Override + public IClass transformAnnotatedRelationshipElementValue( + IAnnotatedRelationshipElementValue that) { + return new AnnotatedRelationshipElementValue( + that.getFirst().isPresent() ? deep(that.getFirst().get()) : null, + that.getSecond().isPresent() ? deep(that.getSecond().get()) : null, + that.getAnnotations().isPresent() ? that.getAnnotations().get().deepCopy() : null); + } + + @Override + public IClass transformEntityValue(IEntityValue that) { + return new EntityValue( + that.getEntityType().orElse(null), + that.getGlobalAssetId().orElse(null), + that.getSpecificAssetIds().isPresent() + ? deepListOf_jsonObject(that.getSpecificAssetIds().get()) + : null, + that.getStatements().isPresent() ? that.getStatements().get().deepCopy() : null); + } + + @Override + public IClass transformGetAssetAdministrationShellsResult( + IGetAssetAdministrationShellsResult that) { + return new GetAssetAdministrationShellsResult( + deep(that.getPagingMetadata()), + that.getResult().isPresent() + ? deepListOf_IAssetAdministrationShell(that.getResult().get()) + : null); + } + + @Override + public IClass transformGetAssetAdministrationShellsMetadataResult( + IGetAssetAdministrationShellsMetadataResult that) { + return new GetAssetAdministrationShellsMetadataResult( + deep(that.getPagingMetadata()), + that.getResult().isPresent() + ? deepListOf_IAssetAdministrationShellMetadata(that.getResult().get()) + : null); + } + + @Override + public IClass transformGetAllAssetAdministrationShellsRecentChangesResult( + IGetAllAssetAdministrationShellsRecentChangesResult that) { + return new GetAllAssetAdministrationShellsRecentChangesResult( + deep(that.getPagingMetadata()), + that.getResult().isPresent() + ? deepListOf_IAssetAdministrationShellRecentChange(that.getResult().get()) + : null); + } + + @Override + public IClass transformGetAssetAdministrationShellDescriptorsResult( + IGetAssetAdministrationShellDescriptorsResult that) { + return new GetAssetAdministrationShellDescriptorsResult( + deep(that.getPagingMetadata()), + that.getResult().isPresent() + ? deepListOf_IAssetAdministrationShellDescriptor(that.getResult().get()) + : null); + } + + @Override + public IClass transformGetConceptDescriptionsResult(IGetConceptDescriptionsResult that) { + return new GetConceptDescriptionsResult( + deep(that.getPagingMetadata()), + that.getResult().isPresent() + ? deepListOf_IConceptDescription(that.getResult().get()) + : null); + } + + @Override + public IClass transformGetAllConceptDescriptionsRecentChangesResult( + IGetAllConceptDescriptionsRecentChangesResult that) { + return new GetAllConceptDescriptionsRecentChangesResult( + deep(that.getPagingMetadata()), + that.getResult().isPresent() + ? deepListOf_IConceptDescriptionRecentChange(that.getResult().get()) + : null); + } + + @Override + public IClass transformGetPackageDescriptionsResult(IGetPackageDescriptionsResult that) { + return new GetPackageDescriptionsResult( + deep(that.getPagingMetadata()), + that.getResult().isPresent() + ? deepListOf_IPackageDescription(that.getResult().get()) + : null); + } + + @Override + public IClass transformGetPathItemsResult(IGetPathItemsResult that) { + return new GetPathItemsResult( + deep(that.getPagingMetadata()), + that.getResult().isPresent() ? new ArrayList<>(that.getResult().get()) : null); + } + + @Override + public IClass transformGetReferencesResult(IGetReferencesResult that) { + return new GetReferencesResult( + deep(that.getPagingMetadata()), + that.getResult().isPresent() ? deepListOf_IReference(that.getResult().get()) : null); + } + + @Override + public IClass transformGetSubmodelDescriptorsResult(IGetSubmodelDescriptorsResult that) { + return new GetSubmodelDescriptorsResult( + deep(that.getPagingMetadata()), + that.getResult().isPresent() + ? deepListOf_ISubmodelDescriptor(that.getResult().get()) + : null); + } + + @Override + public IClass transformGetSubmodelElementsMetadataResult( + IGetSubmodelElementsMetadataResult that) { + return new GetSubmodelElementsMetadataResult( + deep(that.getPagingMetadata()), + that.getResult().isPresent() + ? deepListOf_ISubmodelElementMetadata(that.getResult().get()) + : null); + } + + @Override + public IClass transformGetSubmodelElementsResult(IGetSubmodelElementsResult that) { + return new GetSubmodelElementsResult( + deep(that.getPagingMetadata()), + that.getResult().isPresent() + ? deepListOf_ISubmodelElement(that.getResult().get()) + : null); + } + + @Override + public IClass transformGetSubmodelElementsValueResult(IGetSubmodelElementsValueResult that) { + return new GetSubmodelElementsValueResult( + deep(that.getPagingMetadata()), + that.getResult().isPresent() ? deepListOf_jsonObject(that.getResult().get()) : null); + } + + @Override + public IClass transformGetAllSubmodelsRecentChangesResult( + IGetAllSubmodelsRecentChangesResult that) { + return new GetAllSubmodelsRecentChangesResult( + deep(that.getPagingMetadata()), + that.getResult().isPresent() + ? deepListOf_ISubmodelRecentChange(that.getResult().get()) + : null); + } + + @Override + public IClass transformGetSubmodelsMetadataResult(IGetSubmodelsMetadataResult that) { + return new GetSubmodelsMetadataResult( + deep(that.getPagingMetadata()), + that.getResult().isPresent() + ? deepListOf_ISubmodelMetadata(that.getResult().get()) + : null); + } + + @Override + public IClass transformGetSubmodelsResult(IGetSubmodelsResult that) { + return new GetSubmodelsResult( + deep(that.getPagingMetadata()), + that.getResult().isPresent() ? deepListOf_ISubmodel(that.getResult().get()) : null); + } + + @Override + public IClass transformGetSubmodelsValueResult(IGetSubmodelsValueResult that) { + return new GetSubmodelsValueResult( + deep(that.getPagingMetadata()), + that.getResult().isPresent() ? deepListOf_jsonObject(that.getResult().get()) : null); + } + + @Override + public IClass transformClaimAttribute(IClaimAttribute that) { + return new ClaimAttribute(that.getClaim()); + } + + @Override + public IClass transformGlobalAttribute(IGlobalAttribute that) { + return new GlobalAttribute(that.getKind()); + } + + @Override + public IClass transformReferenceAttribute(IReferenceAttribute that) { + return new ReferenceAttribute(that.getReference()); + } + + @Override + public IClass transformDateTimeAttributeItem(IDateTimeAttributeItem that) { + return new DateTimeAttributeItem(that.getKind()); + } + + @Override + public IClass transformFieldOperand(IFieldOperand that) { + return new FieldOperand(that.getField()); + } + + @Override + public IClass transformStringLiteral(IStringLiteral that) { + return new StringLiteral(that.getStrVal()); + } + + @Override + public IClass transformAttributeOperand(IAttributeOperand that) { + return new AttributeOperand(deep(that.getAttribute())); + } + + @Override + public IClass transformNumberLiteral(INumberLiteral that) { + return new NumberLiteral(that.getNumVal()); + } + + @Override + public IClass transformHexLiteral(IHexLiteral that) { + return new HexLiteral(that.getHexVal()); + } + + @Override + public IClass transformDateTimeLiteral(IDateTimeLiteral that) { + return new DateTimeLiteral(that.getDateTimeVal()); + } + + @Override + public IClass transformTimeLiteral(ITimeLiteral that) { + return new TimeLiteral(that.getTimeVal()); + } + + @Override + public IClass transformBooleanLiteral(IBooleanLiteral that) { + return new BooleanLiteral(that.getBoolean()); + } + + @Override + public IClass transformStringCast(IStringCast that) { + return new StringCast(deep(that.getStrCast())); + } + + @Override + public IClass transformNumberCast(INumberCast that) { + return new NumberCast(deep(that.getNumCast())); + } + + @Override + public IClass transformHexCast(IHexCast that) { + return new HexCast(deep(that.getHexCast())); + } + + @Override + public IClass transformBooleanCast(IBooleanCast that) { + return new BooleanCast(deep(that.getBoolCast())); + } + + @Override + public IClass transformDateTimeCast(IDateTimeCast that) { + return new DateTimeCast(deep(that.getDateTimeCast())); + } + + @Override + public IClass transformTimeCast(ITimeCast that) { + return new TimeCast(deep(that.getTimeCast())); + } + + @Override + public IClass transformDayOfWeek(IDayOfWeek that) { + return new DayOfWeek(deep(that.getDayOfWeek())); + } + + @Override + public IClass transformDayOfMonth(IDayOfMonth that) { + return new DayOfMonth(deep(that.getDayOfMonth())); + } + + @Override + public IClass transformMonth(IMonth that) { + return new Month(deep(that.getMonth())); + } + + @Override + public IClass transformYear(IYear that) { + return new Year(deep(that.getYear())); + } + + @Override + public IClass transformDateTimeAttributeOperand(IDateTimeAttributeOperand that) { + return new DateTimeAttributeOperand(deep(that.getAttribute())); + } + + @Override + public IClass transformEqualComparison(IEqualComparison that) { + return new EqualComparison(deepTupleOf2_Value_Value(that.getEq())); + } + + @Override + public IClass transformNotEqualComparison(INotEqualComparison that) { + return new NotEqualComparison(deepTupleOf2_Value_Value(that.getNe())); + } + + @Override + public IClass transformGreaterThanComparison(IGreaterThanComparison that) { + return new GreaterThanComparison(deepTupleOf2_Value_Value(that.getGt())); + } + + @Override + public IClass transformGreaterThanOrEqualComparison(IGreaterThanOrEqualComparison that) { + return new GreaterThanOrEqualComparison(deepTupleOf2_Value_Value(that.getGe())); + } + + @Override + public IClass transformLessThanComparison(ILessThanComparison that) { + return new LessThanComparison(deepTupleOf2_Value_Value(that.getLt())); + } + + @Override + public IClass transformLessThanOrEqualComparison(ILessThanOrEqualComparison that) { + return new LessThanOrEqualComparison(deepTupleOf2_Value_Value(that.getLe())); + } + + @Override + public IClass transformContainsComparison(IContainsComparison that) { + return new ContainsComparison(deepTupleOf2_StringValue_StringValue(that.getContains())); + } + + @Override + public IClass transformStartsWithComparison(IStartsWithComparison that) { + return new StartsWithComparison(deepTupleOf2_StringValue_StringValue(that.getStartsWith())); + } + + @Override + public IClass transformEndsWithComparison(IEndsWithComparison that) { + return new EndsWithComparison(deepTupleOf2_StringValue_StringValue(that.getEndsWith())); + } + + @Override + public IClass transformRegexComparison(IRegexComparison that) { + return new RegexComparison(deepTupleOf2_StringValue_StringValue(that.getRegex())); + } + + @Override + public IClass transformMatchClause(IMatchClause that) { + return new MatchClause(deepListOf_MatchExpression(that.getMatchOperands())); + } + + @Override + public IClass transformAndExpression(IAndExpression that) { + return new AndExpression(deepListOf_LogicalExpression(that.getAndOperands())); + } + + @Override + public IClass transformOrExpression(IOrExpression that) { + return new OrExpression(deepListOf_LogicalExpression(that.getOrOperands())); + } + + @Override + public IClass transformNotExpression(INotExpression that) { + return new NotExpression(deep(that.getNotOperand())); + } + + @Override + public IClass transformQueryFilter(IQueryFilter that) { + return new QueryFilter(that.getFragment(), deep(that.getCondition())); + } + + @Override + public IClass transformQuery(IQuery that) { + return new Query( + deep(that.getCondition()), + that.getSelect().orElse(null), + that.getFilters().isPresent() ? deepListOf_IQueryFilter(that.getFilters().get()) : null); + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/Enhanced.java b/src/main/java/aas_core/aas3_2/enhancing/Enhanced.java new file mode 100644 index 00000000..be1ac4b4 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/Enhanced.java @@ -0,0 +1,27 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +public abstract class Enhanced { + protected final EnhancementT enhancement; + + protected Enhanced(EnhancementT enhancement) { + this.enhancement = enhancement; + } + + EnhancementT getEnhancement() { + return enhancement; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedAdministrativeInformation.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAdministrativeInformation.java new file mode 100644 index 00000000..0904700a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAdministrativeInformation.java @@ -0,0 +1,137 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedAdministrativeInformation extends Enhanced + implements IAdministrativeInformation { + private final IAdministrativeInformation instance; + + public EnhancedAdministrativeInformation( + IAdministrativeInformation instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional getVersion() { + return instance.getVersion(); + } + + @Override + public void setVersion(String version) { + instance.setVersion(version); + } + + @Override + public Optional getRevision() { + return instance.getRevision(); + } + + @Override + public void setRevision(String revision) { + instance.setRevision(revision); + } + + @Override + public Optional getCreator() { + return instance.getCreator(); + } + + @Override + public void setCreator(IReference creator) { + instance.setCreator(creator); + } + + @Override + public Optional getCreatedAt() { + return instance.getCreatedAt(); + } + + @Override + public void setCreatedAt(String createdAt) { + instance.setCreatedAt(createdAt); + } + + @Override + public Optional getUpdatedAt() { + return instance.getUpdatedAt(); + } + + @Override + public void setUpdatedAt(String updatedAt) { + instance.setUpdatedAt(updatedAt); + } + + @Override + public Optional getTemplateId() { + return instance.getTemplateId(); + } + + @Override + public void setTemplateId(String templateId) { + instance.setTemplateId(templateId); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitAdministrativeInformation(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAdministrativeInformation(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformAdministrativeInformation(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAdministrativeInformation(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedAndExpression.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAndExpression.java new file mode 100644 index 00000000..c2f4d2d8 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAndExpression.java @@ -0,0 +1,70 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; + +public class EnhancedAndExpression extends Enhanced + implements IAndExpression { + private final IAndExpression instance; + + public EnhancedAndExpression(IAndExpression instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public List getAndOperands() { + return instance.getAndOperands(); + } + + @Override + public void setAndOperands(List andOperands) { + instance.setAndOperands(andOperands); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitAndExpression(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAndExpression(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformAndExpression(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAndExpression(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedAnnotatedRelationshipElement.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAnnotatedRelationshipElement.java new file mode 100644 index 00000000..fcd59020 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAnnotatedRelationshipElement.java @@ -0,0 +1,211 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedAnnotatedRelationshipElement extends Enhanced + implements IAnnotatedRelationshipElement { + private final IAnnotatedRelationshipElement instance; + + public EnhancedAnnotatedRelationshipElement( + IAnnotatedRelationshipElement instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional getFirst() { + return instance.getFirst(); + } + + @Override + public void setFirst(IReference first) { + instance.setFirst(first); + } + + @Override + public Optional getSecond() { + return instance.getSecond(); + } + + @Override + public void setSecond(IReference second) { + instance.setSecond(second); + } + + @Override + public Optional> getAnnotations() { + return instance.getAnnotations(); + } + + @Override + public void setAnnotations(List annotations) { + instance.setAnnotations(annotations); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable overAnnotationsOrEmpty() { + return instance.overAnnotationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitAnnotatedRelationshipElement(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAnnotatedRelationshipElement(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformAnnotatedRelationshipElement(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAnnotatedRelationshipElement(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedAnnotatedRelationshipElementMetadata.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAnnotatedRelationshipElementMetadata.java new file mode 100644 index 00000000..36c51d23 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAnnotatedRelationshipElementMetadata.java @@ -0,0 +1,177 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedAnnotatedRelationshipElementMetadata + extends Enhanced implements IAnnotatedRelationshipElementMetadata { + private final IAnnotatedRelationshipElementMetadata instance; + + public EnhancedAnnotatedRelationshipElementMetadata( + IAnnotatedRelationshipElementMetadata instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitAnnotatedRelationshipElementMetadata(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAnnotatedRelationshipElementMetadata(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformAnnotatedRelationshipElementMetadata(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAnnotatedRelationshipElementMetadata(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedAnnotatedRelationshipElementValue.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAnnotatedRelationshipElementValue.java new file mode 100644 index 00000000..502960d4 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAnnotatedRelationshipElementValue.java @@ -0,0 +1,92 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.Optional; + +public class EnhancedAnnotatedRelationshipElementValue extends Enhanced + implements IAnnotatedRelationshipElementValue { + private final IAnnotatedRelationshipElementValue instance; + + public EnhancedAnnotatedRelationshipElementValue( + IAnnotatedRelationshipElementValue instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional getFirst() { + return instance.getFirst(); + } + + @Override + public void setFirst(IReference first) { + instance.setFirst(first); + } + + @Override + public Optional getSecond() { + return instance.getSecond(); + } + + @Override + public void setSecond(IReference second) { + instance.setSecond(second); + } + + @Override + public Optional getAnnotations() { + return instance.getAnnotations(); + } + + @Override + public void setAnnotations(ObjectNode annotations) { + instance.setAnnotations(annotations); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitAnnotatedRelationshipElementValue(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAnnotatedRelationshipElementValue(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformAnnotatedRelationshipElementValue(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAnnotatedRelationshipElementValue(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedAssetAdministrationShell.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAssetAdministrationShell.java new file mode 100644 index 00000000..ed6062bd --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAssetAdministrationShell.java @@ -0,0 +1,193 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedAssetAdministrationShell extends Enhanced + implements IAssetAdministrationShell { + private final IAssetAdministrationShell instance; + + public EnhancedAssetAdministrationShell( + IAssetAdministrationShell instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getAdministration() { + return instance.getAdministration(); + } + + @Override + public void setAdministration(IAdministrativeInformation administration) { + instance.setAdministration(administration); + } + + @Override + public String getId() { + return instance.getId(); + } + + @Override + public void setId(String id) { + instance.setId(id); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional getDerivedFrom() { + return instance.getDerivedFrom(); + } + + @Override + public void setDerivedFrom(IReference derivedFrom) { + instance.setDerivedFrom(derivedFrom); + } + + @Override + public IAssetInformation getAssetInformation() { + return instance.getAssetInformation(); + } + + @Override + public void setAssetInformation(IAssetInformation assetInformation) { + instance.setAssetInformation(assetInformation); + } + + @Override + public Optional> getSubmodels() { + return instance.getSubmodels(); + } + + @Override + public void setSubmodels(List submodels) { + instance.setSubmodels(submodels); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable overSubmodelsOrEmpty() { + return instance.overSubmodelsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitAssetAdministrationShell(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAssetAdministrationShell(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformAssetAdministrationShell(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAssetAdministrationShell(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedAssetAdministrationShellDescriptor.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAssetAdministrationShellDescriptor.java new file mode 100644 index 00000000..97601a65 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAssetAdministrationShellDescriptor.java @@ -0,0 +1,206 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedAssetAdministrationShellDescriptor extends Enhanced + implements IAssetAdministrationShellDescriptor { + private final IAssetAdministrationShellDescriptor instance; + + public EnhancedAssetAdministrationShellDescriptor( + IAssetAdministrationShellDescriptor instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public String getId() { + return instance.getId(); + } + + @Override + public void setId(String id) { + instance.setId(id); + } + + @Override + public Optional getAdministration() { + return instance.getAdministration(); + } + + @Override + public void setAdministration(IAdministrativeInformation administration) { + instance.setAdministration(administration); + } + + @Override + public Optional getAssetKind() { + return instance.getAssetKind(); + } + + @Override + public void setAssetKind(AssetKind assetKind) { + instance.setAssetKind(assetKind); + } + + @Override + public Optional getAssetType() { + return instance.getAssetType(); + } + + @Override + public void setAssetType(String assetType) { + instance.setAssetType(assetType); + } + + @Override + public Optional> getEndpoints() { + return instance.getEndpoints(); + } + + @Override + public void setEndpoints(List endpoints) { + instance.setEndpoints(endpoints); + } + + @Override + public Optional getGlobalAssetId() { + return instance.getGlobalAssetId(); + } + + @Override + public void setGlobalAssetId(String globalAssetId) { + instance.setGlobalAssetId(globalAssetId); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getSpecificAssetIds() { + return instance.getSpecificAssetIds(); + } + + @Override + public void setSpecificAssetIds(List specificAssetIds) { + instance.setSpecificAssetIds(specificAssetIds); + } + + @Override + public Optional> getSubmodelDescriptors() { + return instance.getSubmodelDescriptors(); + } + + @Override + public void setSubmodelDescriptors(List submodelDescriptors) { + instance.setSubmodelDescriptors(submodelDescriptors); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overEndpointsOrEmpty() { + return instance.overEndpointsOrEmpty(); + } + + public Iterable overSpecificAssetIdsOrEmpty() { + return instance.overSpecificAssetIdsOrEmpty(); + } + + public Iterable overSubmodelDescriptorsOrEmpty() { + return instance.overSubmodelDescriptorsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitAssetAdministrationShellDescriptor(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAssetAdministrationShellDescriptor(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformAssetAdministrationShellDescriptor(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAssetAdministrationShellDescriptor(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedAssetAdministrationShellMetadata.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAssetAdministrationShellMetadata.java new file mode 100644 index 00000000..cdaacfaa --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAssetAdministrationShellMetadata.java @@ -0,0 +1,169 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedAssetAdministrationShellMetadata extends Enhanced + implements IAssetAdministrationShellMetadata { + private final IAssetAdministrationShellMetadata instance; + + public EnhancedAssetAdministrationShellMetadata( + IAssetAdministrationShellMetadata instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getAdministration() { + return instance.getAdministration(); + } + + @Override + public void setAdministration(IAdministrativeInformation administration) { + instance.setAdministration(administration); + } + + @Override + public String getId() { + return instance.getId(); + } + + @Override + public void setId(String id) { + instance.setId(id); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional getDerivedFrom() { + return instance.getDerivedFrom(); + } + + @Override + public void setDerivedFrom(IReference derivedFrom) { + instance.setDerivedFrom(derivedFrom); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitAssetAdministrationShellMetadata(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAssetAdministrationShellMetadata(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformAssetAdministrationShellMetadata(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAssetAdministrationShellMetadata(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedAssetAdministrationShellRecentChange.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAssetAdministrationShellRecentChange.java new file mode 100644 index 00000000..ce7f98b2 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAssetAdministrationShellRecentChange.java @@ -0,0 +1,116 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedAssetAdministrationShellRecentChange + extends Enhanced implements IAssetAdministrationShellRecentChange { + private final IAssetAdministrationShellRecentChange instance; + + public EnhancedAssetAdministrationShellRecentChange( + IAssetAdministrationShellRecentChange instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getCreatedAt() { + return instance.getCreatedAt(); + } + + @Override + public void setCreatedAt(String createdAt) { + instance.setCreatedAt(createdAt); + } + + @Override + public String getUpdatedAt() { + return instance.getUpdatedAt(); + } + + @Override + public void setUpdatedAt(String updatedAt) { + instance.setUpdatedAt(updatedAt); + } + + @Override + public String getId() { + return instance.getId(); + } + + @Override + public void setId(String id) { + instance.setId(id); + } + + @Override + public Optional getGlobalAssetId() { + return instance.getGlobalAssetId(); + } + + @Override + public void setGlobalAssetId(String globalAssetId) { + instance.setGlobalAssetId(globalAssetId); + } + + @Override + public Optional> getSpecificAssetIds() { + return instance.getSpecificAssetIds(); + } + + @Override + public void setSpecificAssetIds(List specificAssetIds) { + instance.setSpecificAssetIds(specificAssetIds); + } + + public Iterable overSpecificAssetIdsOrEmpty() { + return instance.overSpecificAssetIdsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitAssetAdministrationShellRecentChange(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAssetAdministrationShellRecentChange(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformAssetAdministrationShellRecentChange(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAssetAdministrationShellRecentChange(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedAssetInformation.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAssetInformation.java new file mode 100644 index 00000000..370b97ae --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAssetInformation.java @@ -0,0 +1,115 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedAssetInformation extends Enhanced + implements IAssetInformation { + private final IAssetInformation instance; + + public EnhancedAssetInformation(IAssetInformation instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public AssetKind getAssetKind() { + return instance.getAssetKind(); + } + + @Override + public void setAssetKind(AssetKind assetKind) { + instance.setAssetKind(assetKind); + } + + @Override + public Optional getGlobalAssetId() { + return instance.getGlobalAssetId(); + } + + @Override + public void setGlobalAssetId(String globalAssetId) { + instance.setGlobalAssetId(globalAssetId); + } + + @Override + public Optional> getSpecificAssetIds() { + return instance.getSpecificAssetIds(); + } + + @Override + public void setSpecificAssetIds(List specificAssetIds) { + instance.setSpecificAssetIds(specificAssetIds); + } + + @Override + public Optional getAssetType() { + return instance.getAssetType(); + } + + @Override + public void setAssetType(String assetType) { + instance.setAssetType(assetType); + } + + @Override + public Optional getDefaultThumbnail() { + return instance.getDefaultThumbnail(); + } + + @Override + public void setDefaultThumbnail(IResource defaultThumbnail) { + instance.setDefaultThumbnail(defaultThumbnail); + } + + public Iterable overSpecificAssetIdsOrEmpty() { + return instance.overSpecificAssetIdsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitAssetInformation(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAssetInformation(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformAssetInformation(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAssetInformation(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedAssetLink.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAssetLink.java new file mode 100644 index 00000000..ce94bb28 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAssetLink.java @@ -0,0 +1,78 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedAssetLink extends Enhanced implements IAssetLink { + private final IAssetLink instance; + + public EnhancedAssetLink(IAssetLink instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getName() { + return instance.getName(); + } + + @Override + public void setName(String name) { + instance.setName(name); + } + + @Override + public String getValue() { + return instance.getValue(); + } + + @Override + public void setValue(String value) { + instance.setValue(value); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitAssetLink(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAssetLink(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformAssetLink(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAssetLink(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedAttributeOperand.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAttributeOperand.java new file mode 100644 index 00000000..26068a55 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedAttributeOperand.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedAttributeOperand extends Enhanced + implements IAttributeOperand { + private final IAttributeOperand instance; + + public EnhancedAttributeOperand(IAttributeOperand instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public AttributeItem getAttribute() { + return instance.getAttribute(); + } + + @Override + public void setAttribute(AttributeItem attribute) { + instance.setAttribute(attribute); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitAttributeOperand(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAttributeOperand(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformAttributeOperand(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAttributeOperand(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedBaseOperationResult.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedBaseOperationResult.java new file mode 100644 index 00000000..73684044 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedBaseOperationResult.java @@ -0,0 +1,95 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedBaseOperationResult extends Enhanced + implements IBaseOperationResult { + private final IBaseOperationResult instance; + + public EnhancedBaseOperationResult(IBaseOperationResult instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public ExecutionState getExecutionState() { + return instance.getExecutionState(); + } + + @Override + public void setExecutionState(ExecutionState executionState) { + instance.setExecutionState(executionState); + } + + @Override + public Optional> getMessages() { + return instance.getMessages(); + } + + @Override + public void setMessages(List messages) { + instance.setMessages(messages); + } + + @Override + public Optional getSuccess() { + return instance.getSuccess(); + } + + @Override + public void setSuccess(Boolean success) { + instance.setSuccess(success); + } + + public Iterable overMessagesOrEmpty() { + return instance.overMessagesOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitBaseOperationResult(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBaseOperationResult(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformBaseOperationResult(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBaseOperationResult(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedBasicEventElement.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedBasicEventElement.java new file mode 100644 index 00000000..5fc92d40 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedBasicEventElement.java @@ -0,0 +1,256 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedBasicEventElement extends Enhanced + implements IBasicEventElement { + private final IBasicEventElement instance; + + public EnhancedBasicEventElement(IBasicEventElement instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public IReference getObserved() { + return instance.getObserved(); + } + + @Override + public void setObserved(IReference observed) { + instance.setObserved(observed); + } + + @Override + public Direction getDirection() { + return instance.getDirection(); + } + + @Override + public void setDirection(Direction direction) { + instance.setDirection(direction); + } + + @Override + public StateOfEvent getState() { + return instance.getState(); + } + + @Override + public void setState(StateOfEvent state) { + instance.setState(state); + } + + @Override + public Optional getMessageTopic() { + return instance.getMessageTopic(); + } + + @Override + public void setMessageTopic(String messageTopic) { + instance.setMessageTopic(messageTopic); + } + + @Override + public Optional getMessageBroker() { + return instance.getMessageBroker(); + } + + @Override + public void setMessageBroker(IReference messageBroker) { + instance.setMessageBroker(messageBroker); + } + + @Override + public Optional getLastUpdate() { + return instance.getLastUpdate(); + } + + @Override + public void setLastUpdate(String lastUpdate) { + instance.setLastUpdate(lastUpdate); + } + + @Override + public Optional getMinInterval() { + return instance.getMinInterval(); + } + + @Override + public void setMinInterval(String minInterval) { + instance.setMinInterval(minInterval); + } + + @Override + public Optional getMaxInterval() { + return instance.getMaxInterval(); + } + + @Override + public void setMaxInterval(String maxInterval) { + instance.setMaxInterval(maxInterval); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitBasicEventElement(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBasicEventElement(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformBasicEventElement(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBasicEventElement(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedBasicEventElementMetadata.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedBasicEventElementMetadata.java new file mode 100644 index 00000000..27105fea --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedBasicEventElementMetadata.java @@ -0,0 +1,247 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedBasicEventElementMetadata extends Enhanced + implements IBasicEventElementMetadata { + private final IBasicEventElementMetadata instance; + + public EnhancedBasicEventElementMetadata( + IBasicEventElementMetadata instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Direction getDirection() { + return instance.getDirection(); + } + + @Override + public void setDirection(Direction direction) { + instance.setDirection(direction); + } + + @Override + public StateOfEvent getState() { + return instance.getState(); + } + + @Override + public void setState(StateOfEvent state) { + instance.setState(state); + } + + @Override + public Optional getMessageTopic() { + return instance.getMessageTopic(); + } + + @Override + public void setMessageTopic(String messageTopic) { + instance.setMessageTopic(messageTopic); + } + + @Override + public Optional getMessageBroker() { + return instance.getMessageBroker(); + } + + @Override + public void setMessageBroker(IReference messageBroker) { + instance.setMessageBroker(messageBroker); + } + + @Override + public Optional getLastUpdate() { + return instance.getLastUpdate(); + } + + @Override + public void setLastUpdate(String lastUpdate) { + instance.setLastUpdate(lastUpdate); + } + + @Override + public Optional getMinInterval() { + return instance.getMinInterval(); + } + + @Override + public void setMinInterval(String minInterval) { + instance.setMinInterval(minInterval); + } + + @Override + public Optional getMaxInterval() { + return instance.getMaxInterval(); + } + + @Override + public void setMaxInterval(String maxInterval) { + instance.setMaxInterval(maxInterval); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitBasicEventElementMetadata(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBasicEventElementMetadata(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformBasicEventElementMetadata(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBasicEventElementMetadata(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedBasicEventElementValue.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedBasicEventElementValue.java new file mode 100644 index 00000000..7e8a6aeb --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedBasicEventElementValue.java @@ -0,0 +1,70 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedBasicEventElementValue extends Enhanced + implements IBasicEventElementValue { + private final IBasicEventElementValue instance; + + public EnhancedBasicEventElementValue( + IBasicEventElementValue instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IReference getObserved() { + return instance.getObserved(); + } + + @Override + public void setObserved(IReference observed) { + instance.setObserved(observed); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitBasicEventElementValue(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBasicEventElementValue(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformBasicEventElementValue(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBasicEventElementValue(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedBlob.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedBlob.java new file mode 100644 index 00000000..95c82ccc --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedBlob.java @@ -0,0 +1,195 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedBlob extends Enhanced implements IBlob { + private final IBlob instance; + + public EnhancedBlob(IBlob instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional getValue() { + return instance.getValue(); + } + + @Override + public void setValue(byte[] value) { + instance.setValue(value); + } + + @Override + public Optional getContentType() { + return instance.getContentType(); + } + + @Override + public void setContentType(String contentType) { + instance.setContentType(contentType); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitBlob(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBlob(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformBlob(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBlob(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedBlobMetadata.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedBlobMetadata.java new file mode 100644 index 00000000..e9f106ff --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedBlobMetadata.java @@ -0,0 +1,176 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedBlobMetadata extends Enhanced + implements IBlobMetadata { + private final IBlobMetadata instance; + + public EnhancedBlobMetadata(IBlobMetadata instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitBlobMetadata(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBlobMetadata(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformBlobMetadata(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBlobMetadata(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedBlobValue.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedBlobValue.java new file mode 100644 index 00000000..bec174eb --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedBlobValue.java @@ -0,0 +1,79 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Optional; + +public class EnhancedBlobValue extends Enhanced implements IBlobValue { + private final IBlobValue instance; + + public EnhancedBlobValue(IBlobValue instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional getContentType() { + return instance.getContentType(); + } + + @Override + public void setContentType(String contentType) { + instance.setContentType(contentType); + } + + @Override + public Optional getValue() { + return instance.getValue(); + } + + @Override + public void setValue(byte[] value) { + instance.setValue(value); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitBlobValue(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBlobValue(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformBlobValue(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBlobValue(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedBooleanCast.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedBooleanCast.java new file mode 100644 index 00000000..df431ec3 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedBooleanCast.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedBooleanCast extends Enhanced + implements IBooleanCast { + private final IBooleanCast instance; + + public EnhancedBooleanCast(IBooleanCast instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Value getBoolCast() { + return instance.getBoolCast(); + } + + @Override + public void setBoolCast(Value boolCast) { + instance.setBoolCast(boolCast); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitBooleanCast(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBooleanCast(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformBooleanCast(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBooleanCast(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedBooleanLiteral.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedBooleanLiteral.java new file mode 100644 index 00000000..4dad460a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedBooleanLiteral.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedBooleanLiteral extends Enhanced + implements IBooleanLiteral { + private final IBooleanLiteral instance; + + public EnhancedBooleanLiteral(IBooleanLiteral instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Boolean getBoolean() { + return instance.getBoolean(); + } + + @Override + public void setBoolean(Boolean booleaN) { + instance.setBoolean(booleaN); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitBooleanLiteral(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBooleanLiteral(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformBooleanLiteral(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBooleanLiteral(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedCapability.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedCapability.java new file mode 100644 index 00000000..78d33a77 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedCapability.java @@ -0,0 +1,176 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedCapability extends Enhanced + implements ICapability { + private final ICapability instance; + + public EnhancedCapability(ICapability instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitCapability(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitCapability(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformCapability(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformCapability(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedCapabilityMetadata.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedCapabilityMetadata.java new file mode 100644 index 00000000..14a54662 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedCapabilityMetadata.java @@ -0,0 +1,176 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedCapabilityMetadata extends Enhanced + implements ICapabilityMetadata { + private final ICapabilityMetadata instance; + + public EnhancedCapabilityMetadata(ICapabilityMetadata instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitCapabilityMetadata(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitCapabilityMetadata(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformCapabilityMetadata(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformCapabilityMetadata(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedClaimAttribute.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedClaimAttribute.java new file mode 100644 index 00000000..069b3929 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedClaimAttribute.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedClaimAttribute extends Enhanced + implements IClaimAttribute { + private final IClaimAttribute instance; + + public EnhancedClaimAttribute(IClaimAttribute instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getClaim() { + return instance.getClaim(); + } + + @Override + public void setClaim(String claim) { + instance.setClaim(claim); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitClaimAttribute(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitClaimAttribute(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformClaimAttribute(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformClaimAttribute(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedConceptDescription.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedConceptDescription.java new file mode 100644 index 00000000..c22cf39a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedConceptDescription.java @@ -0,0 +1,172 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedConceptDescription extends Enhanced + implements IConceptDescription { + private final IConceptDescription instance; + + public EnhancedConceptDescription(IConceptDescription instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getAdministration() { + return instance.getAdministration(); + } + + @Override + public void setAdministration(IAdministrativeInformation administration) { + instance.setAdministration(administration); + } + + @Override + public String getId() { + return instance.getId(); + } + + @Override + public void setId(String id) { + instance.setId(id); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional> getIsCaseOf() { + return instance.getIsCaseOf(); + } + + @Override + public void setIsCaseOf(List isCaseOf) { + instance.setIsCaseOf(isCaseOf); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable overIsCaseOfOrEmpty() { + return instance.overIsCaseOfOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitConceptDescription(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitConceptDescription(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformConceptDescription(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformConceptDescription(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedConceptDescriptionRecentChange.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedConceptDescriptionRecentChange.java new file mode 100644 index 00000000..54de7eeb --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedConceptDescriptionRecentChange.java @@ -0,0 +1,90 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedConceptDescriptionRecentChange extends Enhanced + implements IConceptDescriptionRecentChange { + private final IConceptDescriptionRecentChange instance; + + public EnhancedConceptDescriptionRecentChange( + IConceptDescriptionRecentChange instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getCreatedAt() { + return instance.getCreatedAt(); + } + + @Override + public void setCreatedAt(String createdAt) { + instance.setCreatedAt(createdAt); + } + + @Override + public String getUpdatedAt() { + return instance.getUpdatedAt(); + } + + @Override + public void setUpdatedAt(String updatedAt) { + instance.setUpdatedAt(updatedAt); + } + + @Override + public String getId() { + return instance.getId(); + } + + @Override + public void setId(String id) { + instance.setId(id); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitConceptDescriptionRecentChange(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitConceptDescriptionRecentChange(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformConceptDescriptionRecentChange(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformConceptDescriptionRecentChange(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedContainsComparison.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedContainsComparison.java new file mode 100644 index 00000000..b75e96e5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedContainsComparison.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedContainsComparison extends Enhanced + implements IContainsComparison { + private final IContainsComparison instance; + + public EnhancedContainsComparison(IContainsComparison instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Tuple2 getContains() { + return instance.getContains(); + } + + @Override + public void setContains(Tuple2 contains) { + instance.setContains(contains); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitContainsComparison(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitContainsComparison(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformContainsComparison(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformContainsComparison(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedDataSpecificationIec61360.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedDataSpecificationIec61360.java new file mode 100644 index 00000000..bd082586 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedDataSpecificationIec61360.java @@ -0,0 +1,190 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedDataSpecificationIec61360 extends Enhanced + implements IDataSpecificationIec61360 { + private final IDataSpecificationIec61360 instance; + + public EnhancedDataSpecificationIec61360( + IDataSpecificationIec61360 instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public List getPreferredName() { + return instance.getPreferredName(); + } + + @Override + public void setPreferredName(List preferredName) { + instance.setPreferredName(preferredName); + } + + @Override + public Optional> getShortName() { + return instance.getShortName(); + } + + @Override + public void setShortName(List shortName) { + instance.setShortName(shortName); + } + + @Override + public Optional getUnit() { + return instance.getUnit(); + } + + @Override + public void setUnit(String unit) { + instance.setUnit(unit); + } + + @Override + public Optional getUnitId() { + return instance.getUnitId(); + } + + @Override + public void setUnitId(IReference unitId) { + instance.setUnitId(unitId); + } + + @Override + public Optional getSourceOfDefinition() { + return instance.getSourceOfDefinition(); + } + + @Override + public void setSourceOfDefinition(String sourceOfDefinition) { + instance.setSourceOfDefinition(sourceOfDefinition); + } + + @Override + public Optional getSymbol() { + return instance.getSymbol(); + } + + @Override + public void setSymbol(String symbol) { + instance.setSymbol(symbol); + } + + @Override + public Optional getDataType() { + return instance.getDataType(); + } + + @Override + public void setDataType(DataTypeIec61360 dataType) { + instance.setDataType(dataType); + } + + @Override + public Optional> getDefinition() { + return instance.getDefinition(); + } + + @Override + public void setDefinition(List definition) { + instance.setDefinition(definition); + } + + @Override + public Optional getValueFormat() { + return instance.getValueFormat(); + } + + @Override + public void setValueFormat(String valueFormat) { + instance.setValueFormat(valueFormat); + } + + @Override + public Optional getValueList() { + return instance.getValueList(); + } + + @Override + public void setValueList(IValueList valueList) { + instance.setValueList(valueList); + } + + @Override + public Optional getValue() { + return instance.getValue(); + } + + @Override + public void setValue(String value) { + instance.setValue(value); + } + + @Override + public Optional getLevelType() { + return instance.getLevelType(); + } + + @Override + public void setLevelType(ILevelType levelType) { + instance.setLevelType(levelType); + } + + public Iterable overShortNameOrEmpty() { + return instance.overShortNameOrEmpty(); + } + + public Iterable overDefinitionOrEmpty() { + return instance.overDefinitionOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitDataSpecificationIec61360(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitDataSpecificationIec61360(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformDataSpecificationIec61360(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformDataSpecificationIec61360(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedDataSpecificationUom.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedDataSpecificationUom.java new file mode 100644 index 00000000..981fe1b9 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedDataSpecificationUom.java @@ -0,0 +1,149 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedDataSpecificationUom extends Enhanced + implements IDataSpecificationUom { + private final IDataSpecificationUom instance; + + public EnhancedDataSpecificationUom(IDataSpecificationUom instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public List getPreferredName() { + return instance.getPreferredName(); + } + + @Override + public void setPreferredName(List preferredName) { + instance.setPreferredName(preferredName); + } + + @Override + public String getSymbol() { + return instance.getSymbol(); + } + + @Override + public void setSymbol(String symbol) { + instance.setSymbol(symbol); + } + + @Override + public Optional getSpecificUnitId() { + return instance.getSpecificUnitId(); + } + + @Override + public void setSpecificUnitId(String specificUnitId) { + instance.setSpecificUnitId(specificUnitId); + } + + @Override + public Optional> getDefinition() { + return instance.getDefinition(); + } + + @Override + public void setDefinition(List definition) { + instance.setDefinition(definition); + } + + @Override + public Optional> getPreferredNameQuantity() { + return instance.getPreferredNameQuantity(); + } + + @Override + public void setPreferredNameQuantity(List preferredNameQuantity) { + instance.setPreferredNameQuantity(preferredNameQuantity); + } + + @Override + public Optional getQuantityId() { + return instance.getQuantityId(); + } + + @Override + public void setQuantityId(String quantityId) { + instance.setQuantityId(quantityId); + } + + @Override + public Optional getClassificationSystem() { + return instance.getClassificationSystem(); + } + + @Override + public void setClassificationSystem(String classificationSystem) { + instance.setClassificationSystem(classificationSystem); + } + + @Override + public Optional getClassificationSystemVersion() { + return instance.getClassificationSystemVersion(); + } + + @Override + public void setClassificationSystemVersion(String classificationSystemVersion) { + instance.setClassificationSystemVersion(classificationSystemVersion); + } + + public Iterable overDefinitionOrEmpty() { + return instance.overDefinitionOrEmpty(); + } + + public Iterable overPreferredNameQuantityOrEmpty() { + return instance.overPreferredNameQuantityOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitDataSpecificationUom(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitDataSpecificationUom(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformDataSpecificationUom(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformDataSpecificationUom(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedDateTimeAttributeItem.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedDateTimeAttributeItem.java new file mode 100644 index 00000000..d361dee4 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedDateTimeAttributeItem.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedDateTimeAttributeItem extends Enhanced + implements IDateTimeAttributeItem { + private final IDateTimeAttributeItem instance; + + public EnhancedDateTimeAttributeItem(IDateTimeAttributeItem instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public DateTimeGlobalAttributeKind getKind() { + return instance.getKind(); + } + + @Override + public void setKind(DateTimeGlobalAttributeKind kind) { + instance.setKind(kind); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitDateTimeAttributeItem(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitDateTimeAttributeItem(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformDateTimeAttributeItem(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformDateTimeAttributeItem(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedDateTimeAttributeOperand.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedDateTimeAttributeOperand.java new file mode 100644 index 00000000..ec5dfcec --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedDateTimeAttributeOperand.java @@ -0,0 +1,70 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedDateTimeAttributeOperand extends Enhanced + implements IDateTimeAttributeOperand { + private final IDateTimeAttributeOperand instance; + + public EnhancedDateTimeAttributeOperand( + IDateTimeAttributeOperand instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IDateTimeAttributeItem getAttribute() { + return instance.getAttribute(); + } + + @Override + public void setAttribute(IDateTimeAttributeItem attribute) { + instance.setAttribute(attribute); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitDateTimeAttributeOperand(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitDateTimeAttributeOperand(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformDateTimeAttributeOperand(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformDateTimeAttributeOperand(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedDateTimeCast.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedDateTimeCast.java new file mode 100644 index 00000000..2bc81f78 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedDateTimeCast.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedDateTimeCast extends Enhanced + implements IDateTimeCast { + private final IDateTimeCast instance; + + public EnhancedDateTimeCast(IDateTimeCast instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public StringValue getDateTimeCast() { + return instance.getDateTimeCast(); + } + + @Override + public void setDateTimeCast(StringValue dateTimeCast) { + instance.setDateTimeCast(dateTimeCast); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitDateTimeCast(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitDateTimeCast(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformDateTimeCast(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformDateTimeCast(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedDateTimeLiteral.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedDateTimeLiteral.java new file mode 100644 index 00000000..d3ebf3f0 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedDateTimeLiteral.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedDateTimeLiteral extends Enhanced + implements IDateTimeLiteral { + private final IDateTimeLiteral instance; + + public EnhancedDateTimeLiteral(IDateTimeLiteral instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getDateTimeVal() { + return instance.getDateTimeVal(); + } + + @Override + public void setDateTimeVal(String dateTimeVal) { + instance.setDateTimeVal(dateTimeVal); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitDateTimeLiteral(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitDateTimeLiteral(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformDateTimeLiteral(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformDateTimeLiteral(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedDayOfMonth.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedDayOfMonth.java new file mode 100644 index 00000000..196abaf2 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedDayOfMonth.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedDayOfMonth extends Enhanced + implements IDayOfMonth { + private final IDayOfMonth instance; + + public EnhancedDayOfMonth(IDayOfMonth instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public DateTimeOperand getDayOfMonth() { + return instance.getDayOfMonth(); + } + + @Override + public void setDayOfMonth(DateTimeOperand dayOfMonth) { + instance.setDayOfMonth(dayOfMonth); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitDayOfMonth(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitDayOfMonth(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformDayOfMonth(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformDayOfMonth(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedDayOfWeek.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedDayOfWeek.java new file mode 100644 index 00000000..794e7725 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedDayOfWeek.java @@ -0,0 +1,68 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedDayOfWeek extends Enhanced implements IDayOfWeek { + private final IDayOfWeek instance; + + public EnhancedDayOfWeek(IDayOfWeek instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public DateTimeOperand getDayOfWeek() { + return instance.getDayOfWeek(); + } + + @Override + public void setDayOfWeek(DateTimeOperand dayOfWeek) { + instance.setDayOfWeek(dayOfWeek); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitDayOfWeek(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitDayOfWeek(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformDayOfWeek(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformDayOfWeek(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedDefinitionTypeUom.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedDefinitionTypeUom.java new file mode 100644 index 00000000..38ad3ca0 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedDefinitionTypeUom.java @@ -0,0 +1,79 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedDefinitionTypeUom extends Enhanced + implements IDefinitionTypeUom { + private final IDefinitionTypeUom instance; + + public EnhancedDefinitionTypeUom(IDefinitionTypeUom instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getLanguage() { + return instance.getLanguage(); + } + + @Override + public void setLanguage(String language) { + instance.setLanguage(language); + } + + @Override + public String getText() { + return instance.getText(); + } + + @Override + public void setText(String text) { + instance.setText(text); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitDefinitionTypeUom(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitDefinitionTypeUom(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformDefinitionTypeUom(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformDefinitionTypeUom(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedEmbeddedDataSpecification.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedEmbeddedDataSpecification.java new file mode 100644 index 00000000..db64e3f1 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedEmbeddedDataSpecification.java @@ -0,0 +1,80 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedEmbeddedDataSpecification extends Enhanced + implements IEmbeddedDataSpecification { + private final IEmbeddedDataSpecification instance; + + public EnhancedEmbeddedDataSpecification( + IEmbeddedDataSpecification instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IReference getDataSpecification() { + return instance.getDataSpecification(); + } + + @Override + public void setDataSpecification(IReference dataSpecification) { + instance.setDataSpecification(dataSpecification); + } + + @Override + public IDataSpecificationContent getDataSpecificationContent() { + return instance.getDataSpecificationContent(); + } + + @Override + public void setDataSpecificationContent(IDataSpecificationContent dataSpecificationContent) { + instance.setDataSpecificationContent(dataSpecificationContent); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitEmbeddedDataSpecification(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEmbeddedDataSpecification(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformEmbeddedDataSpecification(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEmbeddedDataSpecification(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedEndpoint.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedEndpoint.java new file mode 100644 index 00000000..af39158d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedEndpoint.java @@ -0,0 +1,78 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedEndpoint extends Enhanced implements IEndpoint { + private final IEndpoint instance; + + public EnhancedEndpoint(IEndpoint instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IProtocolInformation getProtocolInformation() { + return instance.getProtocolInformation(); + } + + @Override + public void setProtocolInformation(IProtocolInformation protocolInformation) { + instance.setProtocolInformation(protocolInformation); + } + + @Override + public String getInterface() { + return instance.getInterface(); + } + + @Override + public void setInterface(String interfacE) { + instance.setInterface(interfacE); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitEndpoint(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEndpoint(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformEndpoint(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEndpoint(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedEndsWithComparison.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedEndsWithComparison.java new file mode 100644 index 00000000..caf9a35a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedEndsWithComparison.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedEndsWithComparison extends Enhanced + implements IEndsWithComparison { + private final IEndsWithComparison instance; + + public EnhancedEndsWithComparison(IEndsWithComparison instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Tuple2 getEndsWith() { + return instance.getEndsWith(); + } + + @Override + public void setEndsWith(Tuple2 endsWith) { + instance.setEndsWith(endsWith); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitEndsWithComparison(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEndsWithComparison(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformEndsWithComparison(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEndsWithComparison(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedEntity.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedEntity.java new file mode 100644 index 00000000..52203af6 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedEntity.java @@ -0,0 +1,223 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedEntity extends Enhanced implements IEntity { + private final IEntity instance; + + public EnhancedEntity(IEntity instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional> getStatements() { + return instance.getStatements(); + } + + @Override + public void setStatements(List statements) { + instance.setStatements(statements); + } + + @Override + public Optional getEntityType() { + return instance.getEntityType(); + } + + @Override + public void setEntityType(EntityType entityType) { + instance.setEntityType(entityType); + } + + @Override + public Optional getGlobalAssetId() { + return instance.getGlobalAssetId(); + } + + @Override + public void setGlobalAssetId(String globalAssetId) { + instance.setGlobalAssetId(globalAssetId); + } + + @Override + public Optional> getSpecificAssetIds() { + return instance.getSpecificAssetIds(); + } + + @Override + public void setSpecificAssetIds(List specificAssetIds) { + instance.setSpecificAssetIds(specificAssetIds); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable overStatementsOrEmpty() { + return instance.overStatementsOrEmpty(); + } + + public Iterable overSpecificAssetIdsOrEmpty() { + return instance.overSpecificAssetIdsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitEntity(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEntity(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformEntity(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEntity(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedEntityMetadata.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedEntityMetadata.java new file mode 100644 index 00000000..d299bb5a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedEntityMetadata.java @@ -0,0 +1,176 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedEntityMetadata extends Enhanced + implements IEntityMetadata { + private final IEntityMetadata instance; + + public EnhancedEntityMetadata(IEntityMetadata instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitEntityMetadata(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEntityMetadata(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformEntityMetadata(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEntityMetadata(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedEntityValue.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedEntityValue.java new file mode 100644 index 00000000..999aaed0 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedEntityValue.java @@ -0,0 +1,106 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.List; +import java.util.Optional; + +public class EnhancedEntityValue extends Enhanced + implements IEntityValue { + private final IEntityValue instance; + + public EnhancedEntityValue(IEntityValue instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional getEntityType() { + return instance.getEntityType(); + } + + @Override + public void setEntityType(EntityType entityType) { + instance.setEntityType(entityType); + } + + @Override + public Optional getGlobalAssetId() { + return instance.getGlobalAssetId(); + } + + @Override + public void setGlobalAssetId(String globalAssetId) { + instance.setGlobalAssetId(globalAssetId); + } + + @Override + public Optional> getSpecificAssetIds() { + return instance.getSpecificAssetIds(); + } + + @Override + public void setSpecificAssetIds(List specificAssetIds) { + instance.setSpecificAssetIds(specificAssetIds); + } + + @Override + public Optional getStatements() { + return instance.getStatements(); + } + + @Override + public void setStatements(ObjectNode statements) { + instance.setStatements(statements); + } + + public Iterable overSpecificAssetIdsOrEmpty() { + return instance.overSpecificAssetIdsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitEntityValue(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEntityValue(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformEntityValue(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEntityValue(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedEnvironment.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedEnvironment.java new file mode 100644 index 00000000..e99e4f64 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedEnvironment.java @@ -0,0 +1,104 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedEnvironment extends Enhanced + implements IEnvironment { + private final IEnvironment instance; + + public EnhancedEnvironment(IEnvironment instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getAssetAdministrationShells() { + return instance.getAssetAdministrationShells(); + } + + @Override + public void setAssetAdministrationShells( + List assetAdministrationShells) { + instance.setAssetAdministrationShells(assetAdministrationShells); + } + + @Override + public Optional> getSubmodels() { + return instance.getSubmodels(); + } + + @Override + public void setSubmodels(List submodels) { + instance.setSubmodels(submodels); + } + + @Override + public Optional> getConceptDescriptions() { + return instance.getConceptDescriptions(); + } + + @Override + public void setConceptDescriptions(List conceptDescriptions) { + instance.setConceptDescriptions(conceptDescriptions); + } + + public Iterable overAssetAdministrationShellsOrEmpty() { + return instance.overAssetAdministrationShellsOrEmpty(); + } + + public Iterable overSubmodelsOrEmpty() { + return instance.overSubmodelsOrEmpty(); + } + + public Iterable overConceptDescriptionsOrEmpty() { + return instance.overConceptDescriptionsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitEnvironment(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEnvironment(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformEnvironment(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEnvironment(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedEqualComparison.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedEqualComparison.java new file mode 100644 index 00000000..a6941da2 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedEqualComparison.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedEqualComparison extends Enhanced + implements IEqualComparison { + private final IEqualComparison instance; + + public EnhancedEqualComparison(IEqualComparison instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Tuple2 getEq() { + return instance.getEq(); + } + + @Override + public void setEq(Tuple2 eq) { + instance.setEq(eq); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitEqualComparison(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEqualComparison(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformEqualComparison(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEqualComparison(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedEventPayload.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedEventPayload.java new file mode 100644 index 00000000..75be4690 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedEventPayload.java @@ -0,0 +1,140 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Optional; + +public class EnhancedEventPayload extends Enhanced + implements IEventPayload { + private final IEventPayload instance; + + public EnhancedEventPayload(IEventPayload instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IReference getSource() { + return instance.getSource(); + } + + @Override + public void setSource(IReference source) { + instance.setSource(source); + } + + @Override + public Optional getSourceSemanticId() { + return instance.getSourceSemanticId(); + } + + @Override + public void setSourceSemanticId(IReference sourceSemanticId) { + instance.setSourceSemanticId(sourceSemanticId); + } + + @Override + public IReference getObservableReference() { + return instance.getObservableReference(); + } + + @Override + public void setObservableReference(IReference observableReference) { + instance.setObservableReference(observableReference); + } + + @Override + public Optional getObservableSemanticId() { + return instance.getObservableSemanticId(); + } + + @Override + public void setObservableSemanticId(IReference observableSemanticId) { + instance.setObservableSemanticId(observableSemanticId); + } + + @Override + public Optional getTopic() { + return instance.getTopic(); + } + + @Override + public void setTopic(String topic) { + instance.setTopic(topic); + } + + @Override + public Optional getSubjectId() { + return instance.getSubjectId(); + } + + @Override + public void setSubjectId(IReference subjectId) { + instance.setSubjectId(subjectId); + } + + @Override + public String getTimeStamp() { + return instance.getTimeStamp(); + } + + @Override + public void setTimeStamp(String timeStamp) { + instance.setTimeStamp(timeStamp); + } + + @Override + public Optional getPayload() { + return instance.getPayload(); + } + + @Override + public void setPayload(byte[] payload) { + instance.setPayload(payload); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitEventPayload(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEventPayload(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformEventPayload(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEventPayload(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedExtension.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedExtension.java new file mode 100644 index 00000000..f8a4c587 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedExtension.java @@ -0,0 +1,132 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedExtension extends Enhanced implements IExtension { + private final IExtension instance; + + public EnhancedExtension(IExtension instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public String getName() { + return instance.getName(); + } + + @Override + public void setName(String name) { + instance.setName(name); + } + + @Override + public Optional getValueType() { + return instance.getValueType(); + } + + @Override + public void setValueType(DataTypeDefXsd valueType) { + instance.setValueType(valueType); + } + + @Override + public Optional getValue() { + return instance.getValue(); + } + + @Override + public void setValue(String value) { + instance.setValue(value); + } + + @Override + public Optional> getRefersTo() { + return instance.getRefersTo(); + } + + @Override + public void setRefersTo(List refersTo) { + instance.setRefersTo(refersTo); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overRefersToOrEmpty() { + return instance.overRefersToOrEmpty(); + } + + public DataTypeDefXsd valueTypeOrDefault() { + return instance.valueTypeOrDefault(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitExtension(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitExtension(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformExtension(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformExtension(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedFieldOperand.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedFieldOperand.java new file mode 100644 index 00000000..4b6ebf8a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedFieldOperand.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedFieldOperand extends Enhanced + implements IFieldOperand { + private final IFieldOperand instance; + + public EnhancedFieldOperand(IFieldOperand instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getField() { + return instance.getField(); + } + + @Override + public void setField(String field) { + instance.setField(field); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitFieldOperand(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitFieldOperand(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformFieldOperand(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformFieldOperand(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedFile.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedFile.java new file mode 100644 index 00000000..16eefe87 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedFile.java @@ -0,0 +1,195 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedFile extends Enhanced implements IFile { + private final IFile instance; + + public EnhancedFile(IFile instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional getValue() { + return instance.getValue(); + } + + @Override + public void setValue(String value) { + instance.setValue(value); + } + + @Override + public Optional getContentType() { + return instance.getContentType(); + } + + @Override + public void setContentType(String contentType) { + instance.setContentType(contentType); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitFile(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitFile(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformFile(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformFile(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedFileMetadata.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedFileMetadata.java new file mode 100644 index 00000000..a0992b9b --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedFileMetadata.java @@ -0,0 +1,176 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedFileMetadata extends Enhanced + implements IFileMetadata { + private final IFileMetadata instance; + + public EnhancedFileMetadata(IFileMetadata instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitFileMetadata(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitFileMetadata(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformFileMetadata(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformFileMetadata(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedFileValue.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedFileValue.java new file mode 100644 index 00000000..1e9efe70 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedFileValue.java @@ -0,0 +1,79 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Optional; + +public class EnhancedFileValue extends Enhanced implements IFileValue { + private final IFileValue instance; + + public EnhancedFileValue(IFileValue instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional getContentType() { + return instance.getContentType(); + } + + @Override + public void setContentType(String contentType) { + instance.setContentType(contentType); + } + + @Override + public Optional getValue() { + return instance.getValue(); + } + + @Override + public void setValue(String value) { + instance.setValue(value); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitFileValue(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitFileValue(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformFileValue(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformFileValue(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetAllAssetAdministrationShellsRecentChangesResult.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetAllAssetAdministrationShellsRecentChangesResult.java new file mode 100644 index 00000000..8f20ae04 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetAllAssetAdministrationShellsRecentChangesResult.java @@ -0,0 +1,87 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedGetAllAssetAdministrationShellsRecentChangesResult + extends Enhanced implements IGetAllAssetAdministrationShellsRecentChangesResult { + private final IGetAllAssetAdministrationShellsRecentChangesResult instance; + + public EnhancedGetAllAssetAdministrationShellsRecentChangesResult( + IGetAllAssetAdministrationShellsRecentChangesResult instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return instance.getPagingMetadata(); + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + instance.setPagingMetadata(pagingMetadata); + } + + @Override + public Optional> getResult() { + return instance.getResult(); + } + + @Override + public void setResult(List result) { + instance.setResult(result); + } + + public Iterable overResultOrEmpty() { + return instance.overResultOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitGetAllAssetAdministrationShellsRecentChangesResult(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetAllAssetAdministrationShellsRecentChangesResult(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformGetAllAssetAdministrationShellsRecentChangesResult(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetAllAssetAdministrationShellsRecentChangesResult( + instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetAllConceptDescriptionsRecentChangesResult.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetAllConceptDescriptionsRecentChangesResult.java new file mode 100644 index 00000000..1bc2e7c0 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetAllConceptDescriptionsRecentChangesResult.java @@ -0,0 +1,86 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedGetAllConceptDescriptionsRecentChangesResult + extends Enhanced implements IGetAllConceptDescriptionsRecentChangesResult { + private final IGetAllConceptDescriptionsRecentChangesResult instance; + + public EnhancedGetAllConceptDescriptionsRecentChangesResult( + IGetAllConceptDescriptionsRecentChangesResult instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return instance.getPagingMetadata(); + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + instance.setPagingMetadata(pagingMetadata); + } + + @Override + public Optional> getResult() { + return instance.getResult(); + } + + @Override + public void setResult(List result) { + instance.setResult(result); + } + + public Iterable overResultOrEmpty() { + return instance.overResultOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitGetAllConceptDescriptionsRecentChangesResult(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetAllConceptDescriptionsRecentChangesResult(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformGetAllConceptDescriptionsRecentChangesResult(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetAllConceptDescriptionsRecentChangesResult(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetAllSubmodelsRecentChangesResult.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetAllSubmodelsRecentChangesResult.java new file mode 100644 index 00000000..bd7a78ba --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetAllSubmodelsRecentChangesResult.java @@ -0,0 +1,86 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedGetAllSubmodelsRecentChangesResult extends Enhanced + implements IGetAllSubmodelsRecentChangesResult { + private final IGetAllSubmodelsRecentChangesResult instance; + + public EnhancedGetAllSubmodelsRecentChangesResult( + IGetAllSubmodelsRecentChangesResult instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return instance.getPagingMetadata(); + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + instance.setPagingMetadata(pagingMetadata); + } + + @Override + public Optional> getResult() { + return instance.getResult(); + } + + @Override + public void setResult(List result) { + instance.setResult(result); + } + + public Iterable overResultOrEmpty() { + return instance.overResultOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitGetAllSubmodelsRecentChangesResult(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetAllSubmodelsRecentChangesResult(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformGetAllSubmodelsRecentChangesResult(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetAllSubmodelsRecentChangesResult(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetAssetAdministrationShellDescriptorsResult.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetAssetAdministrationShellDescriptorsResult.java new file mode 100644 index 00000000..3db06c68 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetAssetAdministrationShellDescriptorsResult.java @@ -0,0 +1,86 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedGetAssetAdministrationShellDescriptorsResult + extends Enhanced implements IGetAssetAdministrationShellDescriptorsResult { + private final IGetAssetAdministrationShellDescriptorsResult instance; + + public EnhancedGetAssetAdministrationShellDescriptorsResult( + IGetAssetAdministrationShellDescriptorsResult instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return instance.getPagingMetadata(); + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + instance.setPagingMetadata(pagingMetadata); + } + + @Override + public Optional> getResult() { + return instance.getResult(); + } + + @Override + public void setResult(List result) { + instance.setResult(result); + } + + public Iterable overResultOrEmpty() { + return instance.overResultOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitGetAssetAdministrationShellDescriptorsResult(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetAssetAdministrationShellDescriptorsResult(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformGetAssetAdministrationShellDescriptorsResult(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetAssetAdministrationShellDescriptorsResult(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetAssetAdministrationShellsMetadataResult.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetAssetAdministrationShellsMetadataResult.java new file mode 100644 index 00000000..88f5f74a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetAssetAdministrationShellsMetadataResult.java @@ -0,0 +1,86 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedGetAssetAdministrationShellsMetadataResult + extends Enhanced implements IGetAssetAdministrationShellsMetadataResult { + private final IGetAssetAdministrationShellsMetadataResult instance; + + public EnhancedGetAssetAdministrationShellsMetadataResult( + IGetAssetAdministrationShellsMetadataResult instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return instance.getPagingMetadata(); + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + instance.setPagingMetadata(pagingMetadata); + } + + @Override + public Optional> getResult() { + return instance.getResult(); + } + + @Override + public void setResult(List result) { + instance.setResult(result); + } + + public Iterable overResultOrEmpty() { + return instance.overResultOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitGetAssetAdministrationShellsMetadataResult(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetAssetAdministrationShellsMetadataResult(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformGetAssetAdministrationShellsMetadataResult(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetAssetAdministrationShellsMetadataResult(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetAssetAdministrationShellsResult.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetAssetAdministrationShellsResult.java new file mode 100644 index 00000000..ea2db2ed --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetAssetAdministrationShellsResult.java @@ -0,0 +1,86 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedGetAssetAdministrationShellsResult extends Enhanced + implements IGetAssetAdministrationShellsResult { + private final IGetAssetAdministrationShellsResult instance; + + public EnhancedGetAssetAdministrationShellsResult( + IGetAssetAdministrationShellsResult instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return instance.getPagingMetadata(); + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + instance.setPagingMetadata(pagingMetadata); + } + + @Override + public Optional> getResult() { + return instance.getResult(); + } + + @Override + public void setResult(List result) { + instance.setResult(result); + } + + public Iterable overResultOrEmpty() { + return instance.overResultOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitGetAssetAdministrationShellsResult(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetAssetAdministrationShellsResult(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformGetAssetAdministrationShellsResult(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetAssetAdministrationShellsResult(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetConceptDescriptionsResult.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetConceptDescriptionsResult.java new file mode 100644 index 00000000..9c35a004 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetConceptDescriptionsResult.java @@ -0,0 +1,86 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedGetConceptDescriptionsResult extends Enhanced + implements IGetConceptDescriptionsResult { + private final IGetConceptDescriptionsResult instance; + + public EnhancedGetConceptDescriptionsResult( + IGetConceptDescriptionsResult instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return instance.getPagingMetadata(); + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + instance.setPagingMetadata(pagingMetadata); + } + + @Override + public Optional> getResult() { + return instance.getResult(); + } + + @Override + public void setResult(List result) { + instance.setResult(result); + } + + public Iterable overResultOrEmpty() { + return instance.overResultOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitGetConceptDescriptionsResult(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetConceptDescriptionsResult(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformGetConceptDescriptionsResult(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetConceptDescriptionsResult(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetPackageDescriptionsResult.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetPackageDescriptionsResult.java new file mode 100644 index 00000000..346cacc2 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetPackageDescriptionsResult.java @@ -0,0 +1,86 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedGetPackageDescriptionsResult extends Enhanced + implements IGetPackageDescriptionsResult { + private final IGetPackageDescriptionsResult instance; + + public EnhancedGetPackageDescriptionsResult( + IGetPackageDescriptionsResult instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return instance.getPagingMetadata(); + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + instance.setPagingMetadata(pagingMetadata); + } + + @Override + public Optional> getResult() { + return instance.getResult(); + } + + @Override + public void setResult(List result) { + instance.setResult(result); + } + + public Iterable overResultOrEmpty() { + return instance.overResultOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitGetPackageDescriptionsResult(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetPackageDescriptionsResult(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformGetPackageDescriptionsResult(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetPackageDescriptionsResult(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetPathItemsResult.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetPathItemsResult.java new file mode 100644 index 00000000..24b8d0bb --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetPathItemsResult.java @@ -0,0 +1,85 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedGetPathItemsResult extends Enhanced + implements IGetPathItemsResult { + private final IGetPathItemsResult instance; + + public EnhancedGetPathItemsResult(IGetPathItemsResult instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return instance.getPagingMetadata(); + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + instance.setPagingMetadata(pagingMetadata); + } + + @Override + public Optional> getResult() { + return instance.getResult(); + } + + @Override + public void setResult(List result) { + instance.setResult(result); + } + + public Iterable overResultOrEmpty() { + return instance.overResultOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitGetPathItemsResult(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetPathItemsResult(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformGetPathItemsResult(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetPathItemsResult(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetReferencesResult.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetReferencesResult.java new file mode 100644 index 00000000..9e1612e5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetReferencesResult.java @@ -0,0 +1,85 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedGetReferencesResult extends Enhanced + implements IGetReferencesResult { + private final IGetReferencesResult instance; + + public EnhancedGetReferencesResult(IGetReferencesResult instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return instance.getPagingMetadata(); + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + instance.setPagingMetadata(pagingMetadata); + } + + @Override + public Optional> getResult() { + return instance.getResult(); + } + + @Override + public void setResult(List result) { + instance.setResult(result); + } + + public Iterable overResultOrEmpty() { + return instance.overResultOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitGetReferencesResult(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetReferencesResult(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformGetReferencesResult(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetReferencesResult(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetSubmodelDescriptorsResult.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetSubmodelDescriptorsResult.java new file mode 100644 index 00000000..e854f86d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetSubmodelDescriptorsResult.java @@ -0,0 +1,86 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedGetSubmodelDescriptorsResult extends Enhanced + implements IGetSubmodelDescriptorsResult { + private final IGetSubmodelDescriptorsResult instance; + + public EnhancedGetSubmodelDescriptorsResult( + IGetSubmodelDescriptorsResult instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return instance.getPagingMetadata(); + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + instance.setPagingMetadata(pagingMetadata); + } + + @Override + public Optional> getResult() { + return instance.getResult(); + } + + @Override + public void setResult(List result) { + instance.setResult(result); + } + + public Iterable overResultOrEmpty() { + return instance.overResultOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitGetSubmodelDescriptorsResult(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetSubmodelDescriptorsResult(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformGetSubmodelDescriptorsResult(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetSubmodelDescriptorsResult(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetSubmodelElementsMetadataResult.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetSubmodelElementsMetadataResult.java new file mode 100644 index 00000000..ba6466f5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetSubmodelElementsMetadataResult.java @@ -0,0 +1,86 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedGetSubmodelElementsMetadataResult extends Enhanced + implements IGetSubmodelElementsMetadataResult { + private final IGetSubmodelElementsMetadataResult instance; + + public EnhancedGetSubmodelElementsMetadataResult( + IGetSubmodelElementsMetadataResult instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return instance.getPagingMetadata(); + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + instance.setPagingMetadata(pagingMetadata); + } + + @Override + public Optional> getResult() { + return instance.getResult(); + } + + @Override + public void setResult(List result) { + instance.setResult(result); + } + + public Iterable overResultOrEmpty() { + return instance.overResultOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitGetSubmodelElementsMetadataResult(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetSubmodelElementsMetadataResult(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformGetSubmodelElementsMetadataResult(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetSubmodelElementsMetadataResult(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetSubmodelElementsResult.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetSubmodelElementsResult.java new file mode 100644 index 00000000..e08b0cff --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetSubmodelElementsResult.java @@ -0,0 +1,86 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedGetSubmodelElementsResult extends Enhanced + implements IGetSubmodelElementsResult { + private final IGetSubmodelElementsResult instance; + + public EnhancedGetSubmodelElementsResult( + IGetSubmodelElementsResult instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return instance.getPagingMetadata(); + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + instance.setPagingMetadata(pagingMetadata); + } + + @Override + public Optional> getResult() { + return instance.getResult(); + } + + @Override + public void setResult(List result) { + instance.setResult(result); + } + + public Iterable overResultOrEmpty() { + return instance.overResultOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitGetSubmodelElementsResult(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetSubmodelElementsResult(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformGetSubmodelElementsResult(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetSubmodelElementsResult(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetSubmodelElementsValueResult.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetSubmodelElementsValueResult.java new file mode 100644 index 00000000..362c7e79 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetSubmodelElementsValueResult.java @@ -0,0 +1,87 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.List; +import java.util.Optional; + +public class EnhancedGetSubmodelElementsValueResult extends Enhanced + implements IGetSubmodelElementsValueResult { + private final IGetSubmodelElementsValueResult instance; + + public EnhancedGetSubmodelElementsValueResult( + IGetSubmodelElementsValueResult instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return instance.getPagingMetadata(); + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + instance.setPagingMetadata(pagingMetadata); + } + + @Override + public Optional> getResult() { + return instance.getResult(); + } + + @Override + public void setResult(List result) { + instance.setResult(result); + } + + public Iterable overResultOrEmpty() { + return instance.overResultOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitGetSubmodelElementsValueResult(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetSubmodelElementsValueResult(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformGetSubmodelElementsValueResult(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetSubmodelElementsValueResult(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetSubmodelsMetadataResult.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetSubmodelsMetadataResult.java new file mode 100644 index 00000000..7f65f45f --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetSubmodelsMetadataResult.java @@ -0,0 +1,86 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedGetSubmodelsMetadataResult extends Enhanced + implements IGetSubmodelsMetadataResult { + private final IGetSubmodelsMetadataResult instance; + + public EnhancedGetSubmodelsMetadataResult( + IGetSubmodelsMetadataResult instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return instance.getPagingMetadata(); + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + instance.setPagingMetadata(pagingMetadata); + } + + @Override + public Optional> getResult() { + return instance.getResult(); + } + + @Override + public void setResult(List result) { + instance.setResult(result); + } + + public Iterable overResultOrEmpty() { + return instance.overResultOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitGetSubmodelsMetadataResult(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetSubmodelsMetadataResult(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformGetSubmodelsMetadataResult(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetSubmodelsMetadataResult(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetSubmodelsResult.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetSubmodelsResult.java new file mode 100644 index 00000000..6563bbc9 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetSubmodelsResult.java @@ -0,0 +1,85 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedGetSubmodelsResult extends Enhanced + implements IGetSubmodelsResult { + private final IGetSubmodelsResult instance; + + public EnhancedGetSubmodelsResult(IGetSubmodelsResult instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return instance.getPagingMetadata(); + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + instance.setPagingMetadata(pagingMetadata); + } + + @Override + public Optional> getResult() { + return instance.getResult(); + } + + @Override + public void setResult(List result) { + instance.setResult(result); + } + + public Iterable overResultOrEmpty() { + return instance.overResultOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitGetSubmodelsResult(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetSubmodelsResult(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformGetSubmodelsResult(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetSubmodelsResult(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetSubmodelsValueResult.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetSubmodelsValueResult.java new file mode 100644 index 00000000..922d2eef --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGetSubmodelsValueResult.java @@ -0,0 +1,87 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.List; +import java.util.Optional; + +public class EnhancedGetSubmodelsValueResult extends Enhanced + implements IGetSubmodelsValueResult { + private final IGetSubmodelsValueResult instance; + + public EnhancedGetSubmodelsValueResult( + IGetSubmodelsValueResult instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return instance.getPagingMetadata(); + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + instance.setPagingMetadata(pagingMetadata); + } + + @Override + public Optional> getResult() { + return instance.getResult(); + } + + @Override + public void setResult(List result) { + instance.setResult(result); + } + + public Iterable overResultOrEmpty() { + return instance.overResultOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitGetSubmodelsValueResult(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetSubmodelsValueResult(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformGetSubmodelsValueResult(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetSubmodelsValueResult(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedGlobalAttribute.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGlobalAttribute.java new file mode 100644 index 00000000..02a8752e --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGlobalAttribute.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedGlobalAttribute extends Enhanced + implements IGlobalAttribute { + private final IGlobalAttribute instance; + + public EnhancedGlobalAttribute(IGlobalAttribute instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public GlobalAttributeKind getKind() { + return instance.getKind(); + } + + @Override + public void setKind(GlobalAttributeKind kind) { + instance.setKind(kind); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitGlobalAttribute(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGlobalAttribute(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformGlobalAttribute(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGlobalAttribute(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedGreaterThanComparison.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGreaterThanComparison.java new file mode 100644 index 00000000..1dc6438d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGreaterThanComparison.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedGreaterThanComparison extends Enhanced + implements IGreaterThanComparison { + private final IGreaterThanComparison instance; + + public EnhancedGreaterThanComparison(IGreaterThanComparison instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Tuple2 getGt() { + return instance.getGt(); + } + + @Override + public void setGt(Tuple2 gt) { + instance.setGt(gt); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitGreaterThanComparison(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGreaterThanComparison(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformGreaterThanComparison(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGreaterThanComparison(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedGreaterThanOrEqualComparison.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGreaterThanOrEqualComparison.java new file mode 100644 index 00000000..cd0cb94a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedGreaterThanOrEqualComparison.java @@ -0,0 +1,70 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedGreaterThanOrEqualComparison extends Enhanced + implements IGreaterThanOrEqualComparison { + private final IGreaterThanOrEqualComparison instance; + + public EnhancedGreaterThanOrEqualComparison( + IGreaterThanOrEqualComparison instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Tuple2 getGe() { + return instance.getGe(); + } + + @Override + public void setGe(Tuple2 ge) { + instance.setGe(ge); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitGreaterThanOrEqualComparison(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGreaterThanOrEqualComparison(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformGreaterThanOrEqualComparison(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGreaterThanOrEqualComparison(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedHexCast.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedHexCast.java new file mode 100644 index 00000000..5a90f48c --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedHexCast.java @@ -0,0 +1,68 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedHexCast extends Enhanced implements IHexCast { + private final IHexCast instance; + + public EnhancedHexCast(IHexCast instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Value getHexCast() { + return instance.getHexCast(); + } + + @Override + public void setHexCast(Value hexCast) { + instance.setHexCast(hexCast); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitHexCast(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitHexCast(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformHexCast(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformHexCast(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedHexLiteral.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedHexLiteral.java new file mode 100644 index 00000000..01711fd2 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedHexLiteral.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedHexLiteral extends Enhanced + implements IHexLiteral { + private final IHexLiteral instance; + + public EnhancedHexLiteral(IHexLiteral instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getHexVal() { + return instance.getHexVal(); + } + + @Override + public void setHexVal(String hexVal) { + instance.setHexVal(hexVal); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitHexLiteral(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitHexLiteral(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformHexLiteral(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformHexLiteral(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedKey.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedKey.java new file mode 100644 index 00000000..c47bec6c --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedKey.java @@ -0,0 +1,78 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedKey extends Enhanced implements IKey { + private final IKey instance; + + public EnhancedKey(IKey instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public KeyTypes getType() { + return instance.getType(); + } + + @Override + public void setType(KeyTypes type) { + instance.setType(type); + } + + @Override + public String getValue() { + return instance.getValue(); + } + + @Override + public void setValue(String value) { + instance.setValue(value); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitKey(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitKey(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformKey(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformKey(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedLangStringDefinitionTypeIec61360.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedLangStringDefinitionTypeIec61360.java new file mode 100644 index 00000000..2bd15a56 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedLangStringDefinitionTypeIec61360.java @@ -0,0 +1,80 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedLangStringDefinitionTypeIec61360 extends Enhanced + implements ILangStringDefinitionTypeIec61360 { + private final ILangStringDefinitionTypeIec61360 instance; + + public EnhancedLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getLanguage() { + return instance.getLanguage(); + } + + @Override + public void setLanguage(String language) { + instance.setLanguage(language); + } + + @Override + public String getText() { + return instance.getText(); + } + + @Override + public void setText(String text) { + instance.setText(text); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitLangStringDefinitionTypeIec61360(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringDefinitionTypeIec61360(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformLangStringDefinitionTypeIec61360(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringDefinitionTypeIec61360(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedLangStringNameType.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedLangStringNameType.java new file mode 100644 index 00000000..69c837b4 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedLangStringNameType.java @@ -0,0 +1,79 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedLangStringNameType extends Enhanced + implements ILangStringNameType { + private final ILangStringNameType instance; + + public EnhancedLangStringNameType(ILangStringNameType instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getLanguage() { + return instance.getLanguage(); + } + + @Override + public void setLanguage(String language) { + instance.setLanguage(language); + } + + @Override + public String getText() { + return instance.getText(); + } + + @Override + public void setText(String text) { + instance.setText(text); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitLangStringNameType(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringNameType(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformLangStringNameType(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringNameType(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedLangStringPreferredNameTypeIec61360.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedLangStringPreferredNameTypeIec61360.java new file mode 100644 index 00000000..638a683e --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedLangStringPreferredNameTypeIec61360.java @@ -0,0 +1,80 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedLangStringPreferredNameTypeIec61360 + extends Enhanced implements ILangStringPreferredNameTypeIec61360 { + private final ILangStringPreferredNameTypeIec61360 instance; + + public EnhancedLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getLanguage() { + return instance.getLanguage(); + } + + @Override + public void setLanguage(String language) { + instance.setLanguage(language); + } + + @Override + public String getText() { + return instance.getText(); + } + + @Override + public void setText(String text) { + instance.setText(text); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitLangStringPreferredNameTypeIec61360(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringPreferredNameTypeIec61360(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformLangStringPreferredNameTypeIec61360(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringPreferredNameTypeIec61360(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedLangStringShortNameTypeIec61360.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedLangStringShortNameTypeIec61360.java new file mode 100644 index 00000000..4ef16ac8 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedLangStringShortNameTypeIec61360.java @@ -0,0 +1,80 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedLangStringShortNameTypeIec61360 extends Enhanced + implements ILangStringShortNameTypeIec61360 { + private final ILangStringShortNameTypeIec61360 instance; + + public EnhancedLangStringShortNameTypeIec61360( + ILangStringShortNameTypeIec61360 instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getLanguage() { + return instance.getLanguage(); + } + + @Override + public void setLanguage(String language) { + instance.setLanguage(language); + } + + @Override + public String getText() { + return instance.getText(); + } + + @Override + public void setText(String text) { + instance.setText(text); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitLangStringShortNameTypeIec61360(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringShortNameTypeIec61360(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformLangStringShortNameTypeIec61360(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringShortNameTypeIec61360(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedLangStringTextType.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedLangStringTextType.java new file mode 100644 index 00000000..9a470e1e --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedLangStringTextType.java @@ -0,0 +1,79 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedLangStringTextType extends Enhanced + implements ILangStringTextType { + private final ILangStringTextType instance; + + public EnhancedLangStringTextType(ILangStringTextType instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getLanguage() { + return instance.getLanguage(); + } + + @Override + public void setLanguage(String language) { + instance.setLanguage(language); + } + + @Override + public String getText() { + return instance.getText(); + } + + @Override + public void setText(String text) { + instance.setText(text); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitLangStringTextType(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringTextType(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformLangStringTextType(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringTextType(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedLangStringUom.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedLangStringUom.java new file mode 100644 index 00000000..701c7aa8 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedLangStringUom.java @@ -0,0 +1,79 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedLangStringUom extends Enhanced + implements ILangStringUom { + private final ILangStringUom instance; + + public EnhancedLangStringUom(ILangStringUom instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getLanguage() { + return instance.getLanguage(); + } + + @Override + public void setLanguage(String language) { + instance.setLanguage(language); + } + + @Override + public String getText() { + return instance.getText(); + } + + @Override + public void setText(String text) { + instance.setText(text); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitLangStringUom(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringUom(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformLangStringUom(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringUom(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedLessThanComparison.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedLessThanComparison.java new file mode 100644 index 00000000..ed450b0c --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedLessThanComparison.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedLessThanComparison extends Enhanced + implements ILessThanComparison { + private final ILessThanComparison instance; + + public EnhancedLessThanComparison(ILessThanComparison instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Tuple2 getLt() { + return instance.getLt(); + } + + @Override + public void setLt(Tuple2 lt) { + instance.setLt(lt); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitLessThanComparison(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLessThanComparison(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformLessThanComparison(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLessThanComparison(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedLessThanOrEqualComparison.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedLessThanOrEqualComparison.java new file mode 100644 index 00000000..979085a6 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedLessThanOrEqualComparison.java @@ -0,0 +1,70 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedLessThanOrEqualComparison extends Enhanced + implements ILessThanOrEqualComparison { + private final ILessThanOrEqualComparison instance; + + public EnhancedLessThanOrEqualComparison( + ILessThanOrEqualComparison instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Tuple2 getLe() { + return instance.getLe(); + } + + @Override + public void setLe(Tuple2 le) { + instance.setLe(le); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitLessThanOrEqualComparison(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLessThanOrEqualComparison(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformLessThanOrEqualComparison(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLessThanOrEqualComparison(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedLevelType.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedLevelType.java new file mode 100644 index 00000000..b90d4bc7 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedLevelType.java @@ -0,0 +1,98 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedLevelType extends Enhanced implements ILevelType { + private final ILevelType instance; + + public EnhancedLevelType(ILevelType instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Boolean getMin() { + return instance.getMin(); + } + + @Override + public void setMin(Boolean min) { + instance.setMin(min); + } + + @Override + public Boolean getNom() { + return instance.getNom(); + } + + @Override + public void setNom(Boolean nom) { + instance.setNom(nom); + } + + @Override + public Boolean getTyp() { + return instance.getTyp(); + } + + @Override + public void setTyp(Boolean typ) { + instance.setTyp(typ); + } + + @Override + public Boolean getMax() { + return instance.getMax(); + } + + @Override + public void setMax(Boolean max) { + instance.setMax(max); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitLevelType(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLevelType(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformLevelType(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLevelType(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedMatchClause.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedMatchClause.java new file mode 100644 index 00000000..aa574279 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedMatchClause.java @@ -0,0 +1,70 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; + +public class EnhancedMatchClause extends Enhanced + implements IMatchClause { + private final IMatchClause instance; + + public EnhancedMatchClause(IMatchClause instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public List getMatchOperands() { + return instance.getMatchOperands(); + } + + @Override + public void setMatchOperands(List matchOperands) { + instance.setMatchOperands(matchOperands); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitMatchClause(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitMatchClause(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformMatchClause(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformMatchClause(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedMessage.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedMessage.java new file mode 100644 index 00000000..9e889961 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedMessage.java @@ -0,0 +1,109 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Optional; + +public class EnhancedMessage extends Enhanced implements IMessage { + private final IMessage instance; + + public EnhancedMessage(IMessage instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public MessageTypeEnum getMessageType() { + return instance.getMessageType(); + } + + @Override + public void setMessageType(MessageTypeEnum messageType) { + instance.setMessageType(messageType); + } + + @Override + public String getText() { + return instance.getText(); + } + + @Override + public void setText(String text) { + instance.setText(text); + } + + @Override + public Optional getCode() { + return instance.getCode(); + } + + @Override + public void setCode(String code) { + instance.setCode(code); + } + + @Override + public Optional getCorrelationId() { + return instance.getCorrelationId(); + } + + @Override + public void setCorrelationId(String correlationId) { + instance.setCorrelationId(correlationId); + } + + @Override + public Optional getTimestamp() { + return instance.getTimestamp(); + } + + @Override + public void setTimestamp(String timestamp) { + instance.setTimestamp(timestamp); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitMessage(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitMessage(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformMessage(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformMessage(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedMonth.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedMonth.java new file mode 100644 index 00000000..e1fbac19 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedMonth.java @@ -0,0 +1,68 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedMonth extends Enhanced implements IMonth { + private final IMonth instance; + + public EnhancedMonth(IMonth instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public DateTimeOperand getMonth() { + return instance.getMonth(); + } + + @Override + public void setMonth(DateTimeOperand month) { + instance.setMonth(month); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitMonth(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitMonth(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformMonth(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformMonth(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedMultiLanguageProperty.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedMultiLanguageProperty.java new file mode 100644 index 00000000..6dde7a38 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedMultiLanguageProperty.java @@ -0,0 +1,200 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedMultiLanguageProperty extends Enhanced + implements IMultiLanguageProperty { + private final IMultiLanguageProperty instance; + + public EnhancedMultiLanguageProperty(IMultiLanguageProperty instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional> getValue() { + return instance.getValue(); + } + + @Override + public void setValue(List value) { + instance.setValue(value); + } + + @Override + public Optional getValueId() { + return instance.getValueId(); + } + + @Override + public void setValueId(IReference valueId) { + instance.setValueId(valueId); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable overValueOrEmpty() { + return instance.overValueOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitMultiLanguageProperty(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitMultiLanguageProperty(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformMultiLanguageProperty(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformMultiLanguageProperty(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedMultiLanguagePropertyMetadata.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedMultiLanguagePropertyMetadata.java new file mode 100644 index 00000000..ae890b6a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedMultiLanguagePropertyMetadata.java @@ -0,0 +1,177 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedMultiLanguagePropertyMetadata extends Enhanced + implements IMultiLanguagePropertyMetadata { + private final IMultiLanguagePropertyMetadata instance; + + public EnhancedMultiLanguagePropertyMetadata( + IMultiLanguagePropertyMetadata instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitMultiLanguagePropertyMetadata(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitMultiLanguagePropertyMetadata(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformMultiLanguagePropertyMetadata(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformMultiLanguagePropertyMetadata(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedNotEqualComparison.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedNotEqualComparison.java new file mode 100644 index 00000000..72659703 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedNotEqualComparison.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedNotEqualComparison extends Enhanced + implements INotEqualComparison { + private final INotEqualComparison instance; + + public EnhancedNotEqualComparison(INotEqualComparison instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Tuple2 getNe() { + return instance.getNe(); + } + + @Override + public void setNe(Tuple2 ne) { + instance.setNe(ne); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitNotEqualComparison(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitNotEqualComparison(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformNotEqualComparison(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformNotEqualComparison(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedNotExpression.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedNotExpression.java new file mode 100644 index 00000000..7947b1ae --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedNotExpression.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedNotExpression extends Enhanced + implements INotExpression { + private final INotExpression instance; + + public EnhancedNotExpression(INotExpression instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public LogicalExpression getNotOperand() { + return instance.getNotOperand(); + } + + @Override + public void setNotOperand(LogicalExpression notOperand) { + instance.setNotOperand(notOperand); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitNotExpression(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitNotExpression(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformNotExpression(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformNotExpression(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedNumberCast.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedNumberCast.java new file mode 100644 index 00000000..b12f13e7 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedNumberCast.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedNumberCast extends Enhanced + implements INumberCast { + private final INumberCast instance; + + public EnhancedNumberCast(INumberCast instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Value getNumCast() { + return instance.getNumCast(); + } + + @Override + public void setNumCast(Value numCast) { + instance.setNumCast(numCast); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitNumberCast(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitNumberCast(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformNumberCast(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformNumberCast(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedNumberLiteral.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedNumberLiteral.java new file mode 100644 index 00000000..0e680e51 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedNumberLiteral.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedNumberLiteral extends Enhanced + implements INumberLiteral { + private final INumberLiteral instance; + + public EnhancedNumberLiteral(INumberLiteral instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Double getNumVal() { + return instance.getNumVal(); + } + + @Override + public void setNumVal(Double numVal) { + instance.setNumVal(numVal); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitNumberLiteral(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitNumberLiteral(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformNumberLiteral(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformNumberLiteral(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperation.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperation.java new file mode 100644 index 00000000..554c075a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperation.java @@ -0,0 +1,217 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedOperation extends Enhanced implements IOperation { + private final IOperation instance; + + public EnhancedOperation(IOperation instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional> getInputVariables() { + return instance.getInputVariables(); + } + + @Override + public void setInputVariables(List inputVariables) { + instance.setInputVariables(inputVariables); + } + + @Override + public Optional> getOutputVariables() { + return instance.getOutputVariables(); + } + + @Override + public void setOutputVariables(List outputVariables) { + instance.setOutputVariables(outputVariables); + } + + @Override + public Optional> getInoutputVariables() { + return instance.getInoutputVariables(); + } + + @Override + public void setInoutputVariables(List inoutputVariables) { + instance.setInoutputVariables(inoutputVariables); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable overInputVariablesOrEmpty() { + return instance.overInputVariablesOrEmpty(); + } + + public Iterable overOutputVariablesOrEmpty() { + return instance.overOutputVariablesOrEmpty(); + } + + public Iterable overInoutputVariablesOrEmpty() { + return instance.overInoutputVariablesOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitOperation(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperation(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformOperation(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperation(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationHandle.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationHandle.java new file mode 100644 index 00000000..cbf3e60d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationHandle.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedOperationHandle extends Enhanced + implements IOperationHandle { + private final IOperationHandle instance; + + public EnhancedOperationHandle(IOperationHandle instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getHandleId() { + return instance.getHandleId(); + } + + @Override + public void setHandleId(String handleId) { + instance.setHandleId(handleId); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitOperationHandle(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperationHandle(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformOperationHandle(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperationHandle(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationMetadata.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationMetadata.java new file mode 100644 index 00000000..d37fd568 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationMetadata.java @@ -0,0 +1,176 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedOperationMetadata extends Enhanced + implements IOperationMetadata { + private final IOperationMetadata instance; + + public EnhancedOperationMetadata(IOperationMetadata instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitOperationMetadata(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperationMetadata(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformOperationMetadata(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperationMetadata(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationRequest.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationRequest.java new file mode 100644 index 00000000..f9b43180 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationRequest.java @@ -0,0 +1,99 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedOperationRequest extends Enhanced + implements IOperationRequest { + private final IOperationRequest instance; + + public EnhancedOperationRequest(IOperationRequest instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getInputArguments() { + return instance.getInputArguments(); + } + + @Override + public void setInputArguments(List inputArguments) { + instance.setInputArguments(inputArguments); + } + + @Override + public Optional> getInoutputArguments() { + return instance.getInoutputArguments(); + } + + @Override + public void setInoutputArguments(List inoutputArguments) { + instance.setInoutputArguments(inoutputArguments); + } + + @Override + public Optional getClientTimeoutDuration() { + return instance.getClientTimeoutDuration(); + } + + @Override + public void setClientTimeoutDuration(String clientTimeoutDuration) { + instance.setClientTimeoutDuration(clientTimeoutDuration); + } + + public Iterable overInputArgumentsOrEmpty() { + return instance.overInputArgumentsOrEmpty(); + } + + public Iterable overInoutputArgumentsOrEmpty() { + return instance.overInoutputArgumentsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitOperationRequest(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperationRequest(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformOperationRequest(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperationRequest(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationRequestAsync.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationRequestAsync.java new file mode 100644 index 00000000..70d907c9 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationRequestAsync.java @@ -0,0 +1,99 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedOperationRequestAsync extends Enhanced + implements IOperationRequestAsync { + private final IOperationRequestAsync instance; + + public EnhancedOperationRequestAsync(IOperationRequestAsync instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getInputArguments() { + return instance.getInputArguments(); + } + + @Override + public void setInputArguments(List inputArguments) { + instance.setInputArguments(inputArguments); + } + + @Override + public Optional> getInoutputArguments() { + return instance.getInoutputArguments(); + } + + @Override + public void setInoutputArguments(List inoutputArguments) { + instance.setInoutputArguments(inoutputArguments); + } + + @Override + public String getClientTimeoutDuration() { + return instance.getClientTimeoutDuration(); + } + + @Override + public void setClientTimeoutDuration(String clientTimeoutDuration) { + instance.setClientTimeoutDuration(clientTimeoutDuration); + } + + public Iterable overInputArgumentsOrEmpty() { + return instance.overInputArgumentsOrEmpty(); + } + + public Iterable overInoutputArgumentsOrEmpty() { + return instance.overInoutputArgumentsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitOperationRequestAsync(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperationRequestAsync(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformOperationRequestAsync(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperationRequestAsync(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationRequestAsyncValueOnly.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationRequestAsyncValueOnly.java new file mode 100644 index 00000000..3f958d15 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationRequestAsyncValueOnly.java @@ -0,0 +1,92 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.Optional; + +public class EnhancedOperationRequestAsyncValueOnly extends Enhanced + implements IOperationRequestAsyncValueOnly { + private final IOperationRequestAsyncValueOnly instance; + + public EnhancedOperationRequestAsyncValueOnly( + IOperationRequestAsyncValueOnly instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional getInputArguments() { + return instance.getInputArguments(); + } + + @Override + public void setInputArguments(ObjectNode inputArguments) { + instance.setInputArguments(inputArguments); + } + + @Override + public Optional getInoutputArguments() { + return instance.getInoutputArguments(); + } + + @Override + public void setInoutputArguments(ObjectNode inoutputArguments) { + instance.setInoutputArguments(inoutputArguments); + } + + @Override + public String getClientTimeoutDuration() { + return instance.getClientTimeoutDuration(); + } + + @Override + public void setClientTimeoutDuration(String clientTimeoutDuration) { + instance.setClientTimeoutDuration(clientTimeoutDuration); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitOperationRequestAsyncValueOnly(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperationRequestAsyncValueOnly(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformOperationRequestAsyncValueOnly(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperationRequestAsyncValueOnly(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationRequestValueOnly.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationRequestValueOnly.java new file mode 100644 index 00000000..c993b0ec --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationRequestValueOnly.java @@ -0,0 +1,92 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.Optional; + +public class EnhancedOperationRequestValueOnly extends Enhanced + implements IOperationRequestValueOnly { + private final IOperationRequestValueOnly instance; + + public EnhancedOperationRequestValueOnly( + IOperationRequestValueOnly instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional getInputArguments() { + return instance.getInputArguments(); + } + + @Override + public void setInputArguments(ObjectNode inputArguments) { + instance.setInputArguments(inputArguments); + } + + @Override + public Optional getInoutputArguments() { + return instance.getInoutputArguments(); + } + + @Override + public void setInoutputArguments(ObjectNode inoutputArguments) { + instance.setInoutputArguments(inoutputArguments); + } + + @Override + public Optional getClientTimeoutDuration() { + return instance.getClientTimeoutDuration(); + } + + @Override + public void setClientTimeoutDuration(String clientTimeoutDuration) { + instance.setClientTimeoutDuration(clientTimeoutDuration); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitOperationRequestValueOnly(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperationRequestValueOnly(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformOperationRequestValueOnly(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperationRequestValueOnly(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationResult.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationResult.java new file mode 100644 index 00000000..f5ffb594 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationResult.java @@ -0,0 +1,123 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedOperationResult extends Enhanced + implements IOperationResult { + private final IOperationResult instance; + + public EnhancedOperationResult(IOperationResult instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public ExecutionState getExecutionState() { + return instance.getExecutionState(); + } + + @Override + public void setExecutionState(ExecutionState executionState) { + instance.setExecutionState(executionState); + } + + @Override + public Optional> getMessages() { + return instance.getMessages(); + } + + @Override + public void setMessages(List messages) { + instance.setMessages(messages); + } + + @Override + public Optional getSuccess() { + return instance.getSuccess(); + } + + @Override + public void setSuccess(Boolean success) { + instance.setSuccess(success); + } + + @Override + public Optional> getOutputArguments() { + return instance.getOutputArguments(); + } + + @Override + public void setOutputArguments(List outputArguments) { + instance.setOutputArguments(outputArguments); + } + + @Override + public Optional> getInoutputArguments() { + return instance.getInoutputArguments(); + } + + @Override + public void setInoutputArguments(List inoutputArguments) { + instance.setInoutputArguments(inoutputArguments); + } + + public Iterable overMessagesOrEmpty() { + return instance.overMessagesOrEmpty(); + } + + public Iterable overOutputArgumentsOrEmpty() { + return instance.overOutputArgumentsOrEmpty(); + } + + public Iterable overInoutputArgumentsOrEmpty() { + return instance.overInoutputArgumentsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitOperationResult(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperationResult(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformOperationResult(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperationResult(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationResultValueOnly.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationResultValueOnly.java new file mode 100644 index 00000000..87ac0307 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationResultValueOnly.java @@ -0,0 +1,117 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.List; +import java.util.Optional; + +public class EnhancedOperationResultValueOnly extends Enhanced + implements IOperationResultValueOnly { + private final IOperationResultValueOnly instance; + + public EnhancedOperationResultValueOnly( + IOperationResultValueOnly instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public ExecutionState getExecutionState() { + return instance.getExecutionState(); + } + + @Override + public void setExecutionState(ExecutionState executionState) { + instance.setExecutionState(executionState); + } + + @Override + public Optional> getMessages() { + return instance.getMessages(); + } + + @Override + public void setMessages(List messages) { + instance.setMessages(messages); + } + + @Override + public Optional getSuccess() { + return instance.getSuccess(); + } + + @Override + public void setSuccess(Boolean success) { + instance.setSuccess(success); + } + + @Override + public Optional getOutputArguments() { + return instance.getOutputArguments(); + } + + @Override + public void setOutputArguments(ObjectNode outputArguments) { + instance.setOutputArguments(outputArguments); + } + + @Override + public Optional getInoutputArguments() { + return instance.getInoutputArguments(); + } + + @Override + public void setInoutputArguments(ObjectNode inoutputArguments) { + instance.setInoutputArguments(inoutputArguments); + } + + public Iterable overMessagesOrEmpty() { + return instance.overMessagesOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitOperationResultValueOnly(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperationResultValueOnly(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformOperationResultValueOnly(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperationResultValueOnly(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationVariable.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationVariable.java new file mode 100644 index 00000000..744493ab --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOperationVariable.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedOperationVariable extends Enhanced + implements IOperationVariable { + private final IOperationVariable instance; + + public EnhancedOperationVariable(IOperationVariable instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public ISubmodelElement getValue() { + return instance.getValue(); + } + + @Override + public void setValue(ISubmodelElement value) { + instance.setValue(value); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitOperationVariable(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperationVariable(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformOperationVariable(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperationVariable(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedOrExpression.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOrExpression.java new file mode 100644 index 00000000..253ae43f --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedOrExpression.java @@ -0,0 +1,70 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; + +public class EnhancedOrExpression extends Enhanced + implements IOrExpression { + private final IOrExpression instance; + + public EnhancedOrExpression(IOrExpression instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public List getOrOperands() { + return instance.getOrOperands(); + } + + @Override + public void setOrOperands(List orOperands) { + instance.setOrOperands(orOperands); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitOrExpression(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOrExpression(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformOrExpression(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOrExpression(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedPackageDescription.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedPackageDescription.java new file mode 100644 index 00000000..813a564a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedPackageDescription.java @@ -0,0 +1,85 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedPackageDescription extends Enhanced + implements IPackageDescription { + private final IPackageDescription instance; + + public EnhancedPackageDescription(IPackageDescription instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getPackageId() { + return instance.getPackageId(); + } + + @Override + public void setPackageId(String packageId) { + instance.setPackageId(packageId); + } + + @Override + public Optional> getAasIds() { + return instance.getAasIds(); + } + + @Override + public void setAasIds(List aasIds) { + instance.setAasIds(aasIds); + } + + public Iterable overAasIdsOrEmpty() { + return instance.overAasIdsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitPackageDescription(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitPackageDescription(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformPackageDescription(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformPackageDescription(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedPagedResult.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedPagedResult.java new file mode 100644 index 00000000..8aca18f3 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedPagedResult.java @@ -0,0 +1,85 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedPagedResult extends Enhanced + implements IPagedResult { + private final IPagedResult instance; + + public EnhancedPagedResult(IPagedResult instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getResult() { + return instance.getResult(); + } + + @Override + public void setResult(List result) { + instance.setResult(result); + } + + @Override + public IPagingMetadata getPagingMetadata() { + return instance.getPagingMetadata(); + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + instance.setPagingMetadata(pagingMetadata); + } + + public Iterable overResultOrEmpty() { + return instance.overResultOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitPagedResult(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitPagedResult(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformPagedResult(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformPagedResult(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedPagingMetadata.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedPagingMetadata.java new file mode 100644 index 00000000..74755053 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedPagingMetadata.java @@ -0,0 +1,70 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Optional; + +public class EnhancedPagingMetadata extends Enhanced + implements IPagingMetadata { + private final IPagingMetadata instance; + + public EnhancedPagingMetadata(IPagingMetadata instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional getCursor() { + return instance.getCursor(); + } + + @Override + public void setCursor(String cursor) { + instance.setCursor(cursor); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitPagingMetadata(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitPagingMetadata(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformPagingMetadata(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformPagingMetadata(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedProperty.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedProperty.java new file mode 100644 index 00000000..b3b3b7ee --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedProperty.java @@ -0,0 +1,205 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedProperty extends Enhanced implements IProperty { + private final IProperty instance; + + public EnhancedProperty(IProperty instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public DataTypeDefXsd getValueType() { + return instance.getValueType(); + } + + @Override + public void setValueType(DataTypeDefXsd valueType) { + instance.setValueType(valueType); + } + + @Override + public Optional getValue() { + return instance.getValue(); + } + + @Override + public void setValue(String value) { + instance.setValue(value); + } + + @Override + public Optional getValueId() { + return instance.getValueId(); + } + + @Override + public void setValueId(IReference valueId) { + instance.setValueId(valueId); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitProperty(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitProperty(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformProperty(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformProperty(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedPropertyMetadata.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedPropertyMetadata.java new file mode 100644 index 00000000..19d06b35 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedPropertyMetadata.java @@ -0,0 +1,186 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedPropertyMetadata extends Enhanced + implements IPropertyMetadata { + private final IPropertyMetadata instance; + + public EnhancedPropertyMetadata(IPropertyMetadata instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public DataTypeDefXsd getValueType() { + return instance.getValueType(); + } + + @Override + public void setValueType(DataTypeDefXsd valueType) { + instance.setValueType(valueType); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitPropertyMetadata(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitPropertyMetadata(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformPropertyMetadata(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformPropertyMetadata(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedProtocolInformation.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedProtocolInformation.java new file mode 100644 index 00000000..dbebc51a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedProtocolInformation.java @@ -0,0 +1,139 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedProtocolInformation extends Enhanced + implements IProtocolInformation { + private final IProtocolInformation instance; + + public EnhancedProtocolInformation(IProtocolInformation instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getHref() { + return instance.getHref(); + } + + @Override + public void setHref(String href) { + instance.setHref(href); + } + + @Override + public Optional getEndpointProtocol() { + return instance.getEndpointProtocol(); + } + + @Override + public void setEndpointProtocol(String endpointProtocol) { + instance.setEndpointProtocol(endpointProtocol); + } + + @Override + public Optional> getEndpointProtocolVersion() { + return instance.getEndpointProtocolVersion(); + } + + @Override + public void setEndpointProtocolVersion(List endpointProtocolVersion) { + instance.setEndpointProtocolVersion(endpointProtocolVersion); + } + + @Override + public Optional getSubprotocol() { + return instance.getSubprotocol(); + } + + @Override + public void setSubprotocol(String subprotocol) { + instance.setSubprotocol(subprotocol); + } + + @Override + public Optional getSubprotocolBody() { + return instance.getSubprotocolBody(); + } + + @Override + public void setSubprotocolBody(String subprotocolBody) { + instance.setSubprotocolBody(subprotocolBody); + } + + @Override + public Optional getSubprotocolBodyEncoding() { + return instance.getSubprotocolBodyEncoding(); + } + + @Override + public void setSubprotocolBodyEncoding(String subprotocolBodyEncoding) { + instance.setSubprotocolBodyEncoding(subprotocolBodyEncoding); + } + + @Override + public Optional> getSecurityAttributes() { + return instance.getSecurityAttributes(); + } + + @Override + public void setSecurityAttributes(List securityAttributes) { + instance.setSecurityAttributes(securityAttributes); + } + + public Iterable overEndpointProtocolVersionOrEmpty() { + return instance.overEndpointProtocolVersionOrEmpty(); + } + + public Iterable overSecurityAttributesOrEmpty() { + return instance.overSecurityAttributesOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitProtocolInformation(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitProtocolInformation(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformProtocolInformation(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformProtocolInformation(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedQualifier.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedQualifier.java new file mode 100644 index 00000000..a5c3e794 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedQualifier.java @@ -0,0 +1,138 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedQualifier extends Enhanced implements IQualifier { + private final IQualifier instance; + + public EnhancedQualifier(IQualifier instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional getKind() { + return instance.getKind(); + } + + @Override + public void setKind(QualifierKind kind) { + instance.setKind(kind); + } + + @Override + public String getType() { + return instance.getType(); + } + + @Override + public void setType(String type) { + instance.setType(type); + } + + @Override + public DataTypeDefXsd getValueType() { + return instance.getValueType(); + } + + @Override + public void setValueType(DataTypeDefXsd valueType) { + instance.setValueType(valueType); + } + + @Override + public Optional getValue() { + return instance.getValue(); + } + + @Override + public void setValue(String value) { + instance.setValue(value); + } + + @Override + public Optional getValueId() { + return instance.getValueId(); + } + + @Override + public void setValueId(IReference valueId) { + instance.setValueId(valueId); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public QualifierKind kindOrDefault() { + return instance.kindOrDefault(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitQualifier(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitQualifier(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformQualifier(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformQualifier(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedQuery.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedQuery.java new file mode 100644 index 00000000..acbf6bf1 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedQuery.java @@ -0,0 +1,94 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedQuery extends Enhanced implements IQuery { + private final IQuery instance; + + public EnhancedQuery(IQuery instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional getSelect() { + return instance.getSelect(); + } + + @Override + public void setSelect(QuerySelect select) { + instance.setSelect(select); + } + + @Override + public LogicalExpression getCondition() { + return instance.getCondition(); + } + + @Override + public void setCondition(LogicalExpression condition) { + instance.setCondition(condition); + } + + @Override + public Optional> getFilters() { + return instance.getFilters(); + } + + @Override + public void setFilters(List filters) { + instance.setFilters(filters); + } + + public Iterable overFiltersOrEmpty() { + return instance.overFiltersOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitQuery(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitQuery(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformQuery(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformQuery(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedQueryFilter.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedQueryFilter.java new file mode 100644 index 00000000..033ba5a8 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedQueryFilter.java @@ -0,0 +1,79 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedQueryFilter extends Enhanced + implements IQueryFilter { + private final IQueryFilter instance; + + public EnhancedQueryFilter(IQueryFilter instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getFragment() { + return instance.getFragment(); + } + + @Override + public void setFragment(String fragment) { + instance.setFragment(fragment); + } + + @Override + public LogicalExpression getCondition() { + return instance.getCondition(); + } + + @Override + public void setCondition(LogicalExpression condition) { + instance.setCondition(condition); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitQueryFilter(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitQueryFilter(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformQueryFilter(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformQueryFilter(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedRange.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedRange.java new file mode 100644 index 00000000..6bebf79e --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedRange.java @@ -0,0 +1,205 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedRange extends Enhanced implements IRange { + private final IRange instance; + + public EnhancedRange(IRange instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public DataTypeDefXsd getValueType() { + return instance.getValueType(); + } + + @Override + public void setValueType(DataTypeDefXsd valueType) { + instance.setValueType(valueType); + } + + @Override + public Optional getMin() { + return instance.getMin(); + } + + @Override + public void setMin(String min) { + instance.setMin(min); + } + + @Override + public Optional getMax() { + return instance.getMax(); + } + + @Override + public void setMax(String max) { + instance.setMax(max); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitRange(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitRange(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformRange(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformRange(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedRangeMetadata.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedRangeMetadata.java new file mode 100644 index 00000000..23fc7fbb --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedRangeMetadata.java @@ -0,0 +1,186 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedRangeMetadata extends Enhanced + implements IRangeMetadata { + private final IRangeMetadata instance; + + public EnhancedRangeMetadata(IRangeMetadata instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public DataTypeDefXsd getValueType() { + return instance.getValueType(); + } + + @Override + public void setValueType(DataTypeDefXsd valueType) { + instance.setValueType(valueType); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitRangeMetadata(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitRangeMetadata(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformRangeMetadata(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformRangeMetadata(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedRangeValue.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedRangeValue.java new file mode 100644 index 00000000..13830e1d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedRangeValue.java @@ -0,0 +1,79 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedRangeValue extends Enhanced + implements IRangeValue { + private final IRangeValue instance; + + public EnhancedRangeValue(IRangeValue instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Double getMin() { + return instance.getMin(); + } + + @Override + public void setMin(Double min) { + instance.setMin(min); + } + + @Override + public Double getMax() { + return instance.getMax(); + } + + @Override + public void setMax(Double max) { + instance.setMax(max); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitRangeValue(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitRangeValue(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformRangeValue(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformRangeValue(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedReference.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedReference.java new file mode 100644 index 00000000..fa16f11d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedReference.java @@ -0,0 +1,90 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedReference extends Enhanced implements IReference { + private final IReference instance; + + public EnhancedReference(IReference instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public ReferenceTypes getType() { + return instance.getType(); + } + + @Override + public void setType(ReferenceTypes type) { + instance.setType(type); + } + + @Override + public Optional getReferredSemanticId() { + return instance.getReferredSemanticId(); + } + + @Override + public void setReferredSemanticId(IReference referredSemanticId) { + instance.setReferredSemanticId(referredSemanticId); + } + + @Override + public List getKeys() { + return instance.getKeys(); + } + + @Override + public void setKeys(List keys) { + instance.setKeys(keys); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitReference(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitReference(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformReference(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformReference(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedReferenceAttribute.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedReferenceAttribute.java new file mode 100644 index 00000000..c652742d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedReferenceAttribute.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedReferenceAttribute extends Enhanced + implements IReferenceAttribute { + private final IReferenceAttribute instance; + + public EnhancedReferenceAttribute(IReferenceAttribute instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getReference() { + return instance.getReference(); + } + + @Override + public void setReference(String reference) { + instance.setReference(reference); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitReferenceAttribute(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitReferenceAttribute(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformReferenceAttribute(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformReferenceAttribute(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedReferenceElement.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedReferenceElement.java new file mode 100644 index 00000000..a9b226ec --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedReferenceElement.java @@ -0,0 +1,186 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedReferenceElement extends Enhanced + implements IReferenceElement { + private final IReferenceElement instance; + + public EnhancedReferenceElement(IReferenceElement instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional getValue() { + return instance.getValue(); + } + + @Override + public void setValue(IReference value) { + instance.setValue(value); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitReferenceElement(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitReferenceElement(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformReferenceElement(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformReferenceElement(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedReferenceElementMetadata.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedReferenceElementMetadata.java new file mode 100644 index 00000000..612cd612 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedReferenceElementMetadata.java @@ -0,0 +1,177 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedReferenceElementMetadata extends Enhanced + implements IReferenceElementMetadata { + private final IReferenceElementMetadata instance; + + public EnhancedReferenceElementMetadata( + IReferenceElementMetadata instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitReferenceElementMetadata(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitReferenceElementMetadata(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformReferenceElementMetadata(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformReferenceElementMetadata(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedReferenceElementValue.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedReferenceElementValue.java new file mode 100644 index 00000000..77df945f --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedReferenceElementValue.java @@ -0,0 +1,91 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedReferenceElementValue extends Enhanced + implements IReferenceElementValue { + private final IReferenceElementValue instance; + + public EnhancedReferenceElementValue(IReferenceElementValue instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public ReferenceTypes getType() { + return instance.getType(); + } + + @Override + public void setType(ReferenceTypes type) { + instance.setType(type); + } + + @Override + public List getKeys() { + return instance.getKeys(); + } + + @Override + public void setKeys(List keys) { + instance.setKeys(keys); + } + + @Override + public Optional getReferredSemanticId() { + return instance.getReferredSemanticId(); + } + + @Override + public void setReferredSemanticId(IReference referredSemanticId) { + instance.setReferredSemanticId(referredSemanticId); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitReferenceElementValue(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitReferenceElementValue(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformReferenceElementValue(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformReferenceElementValue(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedRegexComparison.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedRegexComparison.java new file mode 100644 index 00000000..dfff9636 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedRegexComparison.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedRegexComparison extends Enhanced + implements IRegexComparison { + private final IRegexComparison instance; + + public EnhancedRegexComparison(IRegexComparison instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Tuple2 getRegex() { + return instance.getRegex(); + } + + @Override + public void setRegex(Tuple2 regex) { + instance.setRegex(regex); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitRegexComparison(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitRegexComparison(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformRegexComparison(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformRegexComparison(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedRelationshipElement.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedRelationshipElement.java new file mode 100644 index 00000000..25726215 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedRelationshipElement.java @@ -0,0 +1,196 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedRelationshipElement extends Enhanced + implements IRelationshipElement { + private final IRelationshipElement instance; + + public EnhancedRelationshipElement(IRelationshipElement instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional getFirst() { + return instance.getFirst(); + } + + @Override + public void setFirst(IReference first) { + instance.setFirst(first); + } + + @Override + public Optional getSecond() { + return instance.getSecond(); + } + + @Override + public void setSecond(IReference second) { + instance.setSecond(second); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitRelationshipElement(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitRelationshipElement(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformRelationshipElement(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformRelationshipElement(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedRelationshipElementMetadata.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedRelationshipElementMetadata.java new file mode 100644 index 00000000..8ebb9cac --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedRelationshipElementMetadata.java @@ -0,0 +1,177 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedRelationshipElementMetadata extends Enhanced + implements IRelationshipElementMetadata { + private final IRelationshipElementMetadata instance; + + public EnhancedRelationshipElementMetadata( + IRelationshipElementMetadata instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitRelationshipElementMetadata(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitRelationshipElementMetadata(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformRelationshipElementMetadata(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformRelationshipElementMetadata(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedRelationshipElementValue.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedRelationshipElementValue.java new file mode 100644 index 00000000..f762c1c9 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedRelationshipElementValue.java @@ -0,0 +1,81 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Optional; + +public class EnhancedRelationshipElementValue extends Enhanced + implements IRelationshipElementValue { + private final IRelationshipElementValue instance; + + public EnhancedRelationshipElementValue( + IRelationshipElementValue instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional getFirst() { + return instance.getFirst(); + } + + @Override + public void setFirst(IReference first) { + instance.setFirst(first); + } + + @Override + public Optional getSecond() { + return instance.getSecond(); + } + + @Override + public void setSecond(IReference second) { + instance.setSecond(second); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitRelationshipElementValue(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitRelationshipElementValue(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformRelationshipElementValue(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformRelationshipElementValue(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedResource.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedResource.java new file mode 100644 index 00000000..385e66c2 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedResource.java @@ -0,0 +1,79 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Optional; + +public class EnhancedResource extends Enhanced implements IResource { + private final IResource instance; + + public EnhancedResource(IResource instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getPath() { + return instance.getPath(); + } + + @Override + public void setPath(String path) { + instance.setPath(path); + } + + @Override + public Optional getContentType() { + return instance.getContentType(); + } + + @Override + public void setContentType(String contentType) { + instance.setContentType(contentType); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitResource(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitResource(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformResource(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformResource(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedResult.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedResult.java new file mode 100644 index 00000000..aa51cb2a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedResult.java @@ -0,0 +1,74 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedResult extends Enhanced implements IResult { + private final IResult instance; + + public EnhancedResult(IResult instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getMessages() { + return instance.getMessages(); + } + + @Override + public void setMessages(List messages) { + instance.setMessages(messages); + } + + public Iterable overMessagesOrEmpty() { + return instance.overMessagesOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitResult(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitResult(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformResult(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformResult(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedSecurityAttributeObject.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedSecurityAttributeObject.java new file mode 100644 index 00000000..df53643e --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedSecurityAttributeObject.java @@ -0,0 +1,90 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedSecurityAttributeObject extends Enhanced + implements ISecurityAttributeObject { + private final ISecurityAttributeObject instance; + + public EnhancedSecurityAttributeObject( + ISecurityAttributeObject instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public SecurityTypeEnum getType() { + return instance.getType(); + } + + @Override + public void setType(SecurityTypeEnum type) { + instance.setType(type); + } + + @Override + public String getKey() { + return instance.getKey(); + } + + @Override + public void setKey(String key) { + instance.setKey(key); + } + + @Override + public String getValue() { + return instance.getValue(); + } + + @Override + public void setValue(String value) { + instance.setValue(value); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitSecurityAttributeObject(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSecurityAttributeObject(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformSecurityAttributeObject(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSecurityAttributeObject(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedServiceDescription.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedServiceDescription.java new file mode 100644 index 00000000..5c9489a1 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedServiceDescription.java @@ -0,0 +1,70 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; + +public class EnhancedServiceDescription extends Enhanced + implements IServiceDescription { + private final IServiceDescription instance; + + public EnhancedServiceDescription(IServiceDescription instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public List getProfiles() { + return instance.getProfiles(); + } + + @Override + public void setProfiles(List profiles) { + instance.setProfiles(profiles); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitServiceDescription(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitServiceDescription(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformServiceDescription(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformServiceDescription(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedSpecificAssetId.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedSpecificAssetId.java new file mode 100644 index 00000000..7428f249 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedSpecificAssetId.java @@ -0,0 +1,115 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedSpecificAssetId extends Enhanced + implements ISpecificAssetId { + private final ISpecificAssetId instance; + + public EnhancedSpecificAssetId(ISpecificAssetId instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public String getName() { + return instance.getName(); + } + + @Override + public void setName(String name) { + instance.setName(name); + } + + @Override + public String getValue() { + return instance.getValue(); + } + + @Override + public void setValue(String value) { + instance.setValue(value); + } + + @Override + public Optional getExternalSubjectId() { + return instance.getExternalSubjectId(); + } + + @Override + public void setExternalSubjectId(IReference externalSubjectId) { + instance.setExternalSubjectId(externalSubjectId); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitSpecificAssetId(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSpecificAssetId(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformSpecificAssetId(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSpecificAssetId(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedStartsWithComparison.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedStartsWithComparison.java new file mode 100644 index 00000000..838290ba --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedStartsWithComparison.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedStartsWithComparison extends Enhanced + implements IStartsWithComparison { + private final IStartsWithComparison instance; + + public EnhancedStartsWithComparison(IStartsWithComparison instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Tuple2 getStartsWith() { + return instance.getStartsWith(); + } + + @Override + public void setStartsWith(Tuple2 startsWith) { + instance.setStartsWith(startsWith); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitStartsWithComparison(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitStartsWithComparison(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformStartsWithComparison(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformStartsWithComparison(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedStringCast.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedStringCast.java new file mode 100644 index 00000000..97b48ddb --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedStringCast.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedStringCast extends Enhanced + implements IStringCast { + private final IStringCast instance; + + public EnhancedStringCast(IStringCast instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Value getStrCast() { + return instance.getStrCast(); + } + + @Override + public void setStrCast(Value strCast) { + instance.setStrCast(strCast); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitStringCast(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitStringCast(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformStringCast(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformStringCast(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedStringLiteral.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedStringLiteral.java new file mode 100644 index 00000000..8d2eaba8 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedStringLiteral.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedStringLiteral extends Enhanced + implements IStringLiteral { + private final IStringLiteral instance; + + public EnhancedStringLiteral(IStringLiteral instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getStrVal() { + return instance.getStrVal(); + } + + @Override + public void setStrVal(String strVal) { + instance.setStrVal(strVal); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitStringLiteral(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitStringLiteral(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformStringLiteral(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformStringLiteral(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodel.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodel.java new file mode 100644 index 00000000..349d8f9e --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodel.java @@ -0,0 +1,223 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedSubmodel extends Enhanced implements ISubmodel { + private final ISubmodel instance; + + public EnhancedSubmodel(ISubmodel instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getAdministration() { + return instance.getAdministration(); + } + + @Override + public void setAdministration(IAdministrativeInformation administration) { + instance.setAdministration(administration); + } + + @Override + public String getId() { + return instance.getId(); + } + + @Override + public void setId(String id) { + instance.setId(id); + } + + @Override + public Optional getKind() { + return instance.getKind(); + } + + @Override + public void setKind(ModellingKind kind) { + instance.setKind(kind); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional> getSubmodelElements() { + return instance.getSubmodelElements(); + } + + @Override + public void setSubmodelElements(List submodelElements) { + instance.setSubmodelElements(submodelElements); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable overSubmodelElementsOrEmpty() { + return instance.overSubmodelElementsOrEmpty(); + } + + public ModellingKind kindOrDefault() { + return instance.kindOrDefault(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitSubmodel(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodel(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformSubmodel(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodel(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodelDescriptor.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodelDescriptor.java new file mode 100644 index 00000000..bc55e700 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodelDescriptor.java @@ -0,0 +1,167 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedSubmodelDescriptor extends Enhanced + implements ISubmodelDescriptor { + private final ISubmodelDescriptor instance; + + public EnhancedSubmodelDescriptor(ISubmodelDescriptor instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public List getEndpoints() { + return instance.getEndpoints(); + } + + @Override + public void setEndpoints(List endpoints) { + instance.setEndpoints(endpoints); + } + + @Override + public String getId() { + return instance.getId(); + } + + @Override + public void setId(String id) { + instance.setId(id); + } + + @Override + public Optional getAdministration() { + return instance.getAdministration(); + } + + @Override + public void setAdministration(IAdministrativeInformation administration) { + instance.setAdministration(administration); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitSubmodelDescriptor(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodelDescriptor(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformSubmodelDescriptor(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodelDescriptor(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodelElementCollection.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodelElementCollection.java new file mode 100644 index 00000000..f10786d0 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodelElementCollection.java @@ -0,0 +1,191 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedSubmodelElementCollection extends Enhanced + implements ISubmodelElementCollection { + private final ISubmodelElementCollection instance; + + public EnhancedSubmodelElementCollection( + ISubmodelElementCollection instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional> getValue() { + return instance.getValue(); + } + + @Override + public void setValue(List value) { + instance.setValue(value); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable overValueOrEmpty() { + return instance.overValueOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitSubmodelElementCollection(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodelElementCollection(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformSubmodelElementCollection(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodelElementCollection(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodelElementCollectionMetadata.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodelElementCollectionMetadata.java new file mode 100644 index 00000000..b65366d3 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodelElementCollectionMetadata.java @@ -0,0 +1,177 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedSubmodelElementCollectionMetadata extends Enhanced + implements ISubmodelElementCollectionMetadata { + private final ISubmodelElementCollectionMetadata instance; + + public EnhancedSubmodelElementCollectionMetadata( + ISubmodelElementCollectionMetadata instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitSubmodelElementCollectionMetadata(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodelElementCollectionMetadata(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformSubmodelElementCollectionMetadata(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodelElementCollectionMetadata(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodelElementList.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodelElementList.java new file mode 100644 index 00000000..254bfb83 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodelElementList.java @@ -0,0 +1,234 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedSubmodelElementList extends Enhanced + implements ISubmodelElementList { + private final ISubmodelElementList instance; + + public EnhancedSubmodelElementList(ISubmodelElementList instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional getOrderRelevant() { + return instance.getOrderRelevant(); + } + + @Override + public void setOrderRelevant(Boolean orderRelevant) { + instance.setOrderRelevant(orderRelevant); + } + + @Override + public Optional getSemanticIdListElement() { + return instance.getSemanticIdListElement(); + } + + @Override + public void setSemanticIdListElement(IReference semanticIdListElement) { + instance.setSemanticIdListElement(semanticIdListElement); + } + + @Override + public AasSubmodelElements getTypeValueListElement() { + return instance.getTypeValueListElement(); + } + + @Override + public void setTypeValueListElement(AasSubmodelElements typeValueListElement) { + instance.setTypeValueListElement(typeValueListElement); + } + + @Override + public Optional getValueTypeListElement() { + return instance.getValueTypeListElement(); + } + + @Override + public void setValueTypeListElement(DataTypeDefXsd valueTypeListElement) { + instance.setValueTypeListElement(valueTypeListElement); + } + + @Override + public Optional> getValue() { + return instance.getValue(); + } + + @Override + public void setValue(List value) { + instance.setValue(value); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable overValueOrEmpty() { + return instance.overValueOrEmpty(); + } + + public Boolean orderRelevantOrDefault() { + return instance.orderRelevantOrDefault(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitSubmodelElementList(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodelElementList(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformSubmodelElementList(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodelElementList(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodelElementListMetadata.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodelElementListMetadata.java new file mode 100644 index 00000000..42fea327 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodelElementListMetadata.java @@ -0,0 +1,217 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedSubmodelElementListMetadata extends Enhanced + implements ISubmodelElementListMetadata { + private final ISubmodelElementListMetadata instance; + + public EnhancedSubmodelElementListMetadata( + ISubmodelElementListMetadata instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional getOrderRelevant() { + return instance.getOrderRelevant(); + } + + @Override + public void setOrderRelevant(Boolean orderRelevant) { + instance.setOrderRelevant(orderRelevant); + } + + @Override + public Optional getSemanticIdListElement() { + return instance.getSemanticIdListElement(); + } + + @Override + public void setSemanticIdListElement(IReference semanticIdListElement) { + instance.setSemanticIdListElement(semanticIdListElement); + } + + @Override + public AasSubmodelElements getTypeValueListElement() { + return instance.getTypeValueListElement(); + } + + @Override + public void setTypeValueListElement(AasSubmodelElements typeValueListElement) { + instance.setTypeValueListElement(typeValueListElement); + } + + @Override + public Optional getValueTypeListElement() { + return instance.getValueTypeListElement(); + } + + @Override + public void setValueTypeListElement(DataTypeDefXsd valueTypeListElement) { + instance.setValueTypeListElement(valueTypeListElement); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitSubmodelElementListMetadata(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodelElementListMetadata(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformSubmodelElementListMetadata(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodelElementListMetadata(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodelMetadata.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodelMetadata.java new file mode 100644 index 00000000..21a7e1d2 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodelMetadata.java @@ -0,0 +1,210 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedSubmodelMetadata extends Enhanced + implements ISubmodelMetadata { + private final ISubmodelMetadata instance; + + public EnhancedSubmodelMetadata(ISubmodelMetadata instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getAdministration() { + return instance.getAdministration(); + } + + @Override + public void setAdministration(IAdministrativeInformation administration) { + instance.setAdministration(administration); + } + + @Override + public String getId() { + return instance.getId(); + } + + @Override + public void setId(String id) { + instance.setId(id); + } + + @Override + public Optional getKind() { + return instance.getKind(); + } + + @Override + public void setKind(ModellingKind kind) { + instance.setKind(kind); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public ModellingKind kindOrDefault() { + return instance.kindOrDefault(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitSubmodelMetadata(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodelMetadata(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformSubmodelMetadata(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodelMetadata(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodelRecentChange.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodelRecentChange.java new file mode 100644 index 00000000..b2283f60 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedSubmodelRecentChange.java @@ -0,0 +1,115 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedSubmodelRecentChange extends Enhanced + implements ISubmodelRecentChange { + private final ISubmodelRecentChange instance; + + public EnhancedSubmodelRecentChange(ISubmodelRecentChange instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getCreatedAt() { + return instance.getCreatedAt(); + } + + @Override + public void setCreatedAt(String createdAt) { + instance.setCreatedAt(createdAt); + } + + @Override + public String getUpdatedAt() { + return instance.getUpdatedAt(); + } + + @Override + public void setUpdatedAt(String updatedAt) { + instance.setUpdatedAt(updatedAt); + } + + @Override + public String getId() { + return instance.getId(); + } + + @Override + public void setId(String id) { + instance.setId(id); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitSubmodelRecentChange(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodelRecentChange(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformSubmodelRecentChange(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodelRecentChange(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedTimeCast.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedTimeCast.java new file mode 100644 index 00000000..bb1399fe --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedTimeCast.java @@ -0,0 +1,68 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedTimeCast extends Enhanced implements ITimeCast { + private final ITimeCast instance; + + public EnhancedTimeCast(ITimeCast instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public TimeCastOperand getTimeCast() { + return instance.getTimeCast(); + } + + @Override + public void setTimeCast(TimeCastOperand timeCast) { + instance.setTimeCast(timeCast); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitTimeCast(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitTimeCast(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformTimeCast(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformTimeCast(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedTimeLiteral.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedTimeLiteral.java new file mode 100644 index 00000000..b1f5330d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedTimeLiteral.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedTimeLiteral extends Enhanced + implements ITimeLiteral { + private final ITimeLiteral instance; + + public EnhancedTimeLiteral(ITimeLiteral instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getTimeVal() { + return instance.getTimeVal(); + } + + @Override + public void setTimeVal(String timeVal) { + instance.setTimeVal(timeVal); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitTimeLiteral(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitTimeLiteral(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformTimeLiteral(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformTimeLiteral(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedValueList.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedValueList.java new file mode 100644 index 00000000..8992a8c3 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedValueList.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.List; + +public class EnhancedValueList extends Enhanced implements IValueList { + private final IValueList instance; + + public EnhancedValueList(IValueList instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public List getValueReferencePairs() { + return instance.getValueReferencePairs(); + } + + @Override + public void setValueReferencePairs(List valueReferencePairs) { + instance.setValueReferencePairs(valueReferencePairs); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitValueList(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitValueList(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformValueList(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformValueList(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedValueReferencePair.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedValueReferencePair.java new file mode 100644 index 00000000..c5aa07bd --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedValueReferencePair.java @@ -0,0 +1,80 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Optional; + +public class EnhancedValueReferencePair extends Enhanced + implements IValueReferencePair { + private final IValueReferencePair instance; + + public EnhancedValueReferencePair(IValueReferencePair instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getValue() { + return instance.getValue(); + } + + @Override + public void setValue(String value) { + instance.setValue(value); + } + + @Override + public Optional getValueId() { + return instance.getValueId(); + } + + @Override + public void setValueId(IReference valueId) { + instance.setValueId(valueId); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitValueReferencePair(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitValueReferencePair(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformValueReferencePair(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformValueReferencePair(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/EnhancedYear.java b/src/main/java/aas_core/aas3_2/enhancing/EnhancedYear.java new file mode 100644 index 00000000..a4168227 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/EnhancedYear.java @@ -0,0 +1,68 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +public class EnhancedYear extends Enhanced implements IYear { + private final IYear instance; + + public EnhancedYear(IYear instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public DateTimeOperand getYear() { + return instance.getYear(); + } + + @Override + public void setYear(DateTimeOperand year) { + instance.setYear(year); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitYear(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitYear(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformYear(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformYear(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/Enhancer.java b/src/main/java/aas_core/aas3_2/enhancing/Enhancer.java new file mode 100644 index 00000000..82500247 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/Enhancer.java @@ -0,0 +1,60 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.types.model.*; +import java.util.Optional; +import java.util.function.Function; + +/** + * Wrap and unwrap the instances of model classes with enhancement. + * + * @param structure of the enhancement + */ +public class Enhancer extends Unwrapper { + private final _Wrapper wrapper; + + /** + * @param enhancementFactory how to enhance the instances. + *

If it returns {@code null}, the instance will not be wrapped. However, the wrapping will + * continue recursively. + */ + public Enhancer(Function> enhancementFactory) { + this.wrapper = new _Wrapper<>(enhancementFactory); + } + + /** + * Wrap the instance with an enhancement. + * + *

Double wraps are not allowed to prevent runtime leakage. + * + *

If you use references to the instance objects, you have to update them after the wrapping, + * as the wrapping is recursive. + * + * @param that model instance to be wrapped + * @return {@code that} instance wrapped recursively with enhancements + */ + public IClass wrap(IClass that) { + IClass wrapped; + try { + wrapped = wrapper.transform(that); + } catch (IllegalArgumentException exception) { + throw new UnsupportedOperationException( + "Expected the wrapped instance to be an instance of IClass, " + "but got: " + that); + } + + return wrapped; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/Unwrapper.java b/src/main/java/aas_core/aas3_2/enhancing/Unwrapper.java new file mode 100644 index 00000000..7db5a12c --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/Unwrapper.java @@ -0,0 +1,57 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.types.model.*; +import java.util.Optional; + +/** + * Unwrap enhancements from the wrapped instances. + * + * @param structure of the expected enhancement + */ +public class Unwrapper { + /** + * Unwrap the given model instance. + * + * @param that model instance to be unwrapped + * @return Enhancement, or {@link java.util.Optional#empty()} if {@code that} has not been wrapped + * yet. + */ + public Optional unwrap(IClass that) { + if (that instanceof Enhanced) { + @SuppressWarnings("unchecked") + Enhanced enhanced = (Enhanced) that; + return Optional.of(enhanced.getEnhancement()); + } else { + return Optional.empty(); + } + } + + /** + * Unwrap the given model instance. + * + * @param that model instance to be unwrapped + * @return Enhancement wrapped around {@code that} + */ + public EnhancementT mustUnwrap(IClass that) { + Optional value = unwrap(that); + if (!value.isPresent()) { + throw new IllegalArgumentException( + "Expected the instance to have been wrapped, but it was not: " + that); + } + return value.get(); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/enhancing/_Wrapper.java b/src/main/java/aas_core/aas3_2/enhancing/_Wrapper.java new file mode 100644 index 00000000..7a86f112 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/enhancing/_Wrapper.java @@ -0,0 +1,4097 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.enhancing; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.AbstractTransformer; +import java.util.ArrayList; +import java.util.List; +import java.util.Optional; +import java.util.function.Function; + +class _Wrapper extends AbstractTransformer { + private final Function> enhancementFactory; + + _Wrapper(Function> enhancementFactory) { + this.enhancementFactory = enhancementFactory; + } + + @Override + public IClass transformExtension(IExtension that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getRefersTo() + .ifPresent( + value -> { + that.setRefersTo(wrapListOf_IReference(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedExtension<>(that, enhancement.get()); + } + + @Override + public IClass transformAdministrativeInformation(IAdministrativeInformation that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getCreator() + .ifPresent( + value -> { + that.setCreator(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedAdministrativeInformation<>(that, enhancement.get()); + } + + @Override + public IClass transformQualifier(IQualifier that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getValueId() + .ifPresent( + value -> { + that.setValueId(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedQualifier<>(that, enhancement.get()); + } + + @Override + public IClass transformAssetAdministrationShell(IAssetAdministrationShell that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getAdministration() + .ifPresent( + value -> { + that.setAdministration(wrap(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getDerivedFrom() + .ifPresent( + value -> { + that.setDerivedFrom(wrap(value)); + }); + + that.setAssetInformation(wrap(that.getAssetInformation())); + + that.getSubmodels() + .ifPresent( + value -> { + that.setSubmodels(wrapListOf_IReference(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedAssetAdministrationShell<>(that, enhancement.get()); + } + + @Override + public IClass transformAssetInformation(IAssetInformation that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getSpecificAssetIds() + .ifPresent( + value -> { + that.setSpecificAssetIds(wrapListOf_ISpecificAssetId(value)); + }); + + that.getDefaultThumbnail() + .ifPresent( + value -> { + that.setDefaultThumbnail(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedAssetInformation<>(that, enhancement.get()); + } + + @Override + public IClass transformResource(IResource that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedResource<>(that, enhancement.get()); + } + + @Override + public IClass transformSpecificAssetId(ISpecificAssetId that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getExternalSubjectId() + .ifPresent( + value -> { + that.setExternalSubjectId(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedSpecificAssetId<>(that, enhancement.get()); + } + + @Override + public IClass transformSubmodel(ISubmodel that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getAdministration() + .ifPresent( + value -> { + that.setAdministration(wrap(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getSubmodelElements() + .ifPresent( + value -> { + that.setSubmodelElements(wrapListOf_ISubmodelElement(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedSubmodel<>(that, enhancement.get()); + } + + @Override + public IClass transformRelationshipElement(IRelationshipElement that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getFirst() + .ifPresent( + value -> { + that.setFirst(wrap(value)); + }); + + that.getSecond() + .ifPresent( + value -> { + that.setSecond(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedRelationshipElement<>(that, enhancement.get()); + } + + @Override + public IClass transformSubmodelElementList(ISubmodelElementList that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getSemanticIdListElement() + .ifPresent( + value -> { + that.setSemanticIdListElement(wrap(value)); + }); + + that.getValue() + .ifPresent( + value -> { + that.setValue(wrapListOf_ISubmodelElement(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedSubmodelElementList<>(that, enhancement.get()); + } + + @Override + public IClass transformSubmodelElementCollection(ISubmodelElementCollection that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getValue() + .ifPresent( + value -> { + that.setValue(wrapListOf_ISubmodelElement(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedSubmodelElementCollection<>(that, enhancement.get()); + } + + @Override + public IClass transformProperty(IProperty that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getValueId() + .ifPresent( + value -> { + that.setValueId(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedProperty<>(that, enhancement.get()); + } + + @Override + public IClass transformMultiLanguageProperty(IMultiLanguageProperty that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getValue() + .ifPresent( + value -> { + that.setValue(wrapListOf_ILangStringTextType(value)); + }); + + that.getValueId() + .ifPresent( + value -> { + that.setValueId(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedMultiLanguageProperty<>(that, enhancement.get()); + } + + @Override + public IClass transformRange(IRange that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedRange<>(that, enhancement.get()); + } + + @Override + public IClass transformReferenceElement(IReferenceElement that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getValue() + .ifPresent( + value -> { + that.setValue(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedReferenceElement<>(that, enhancement.get()); + } + + @Override + public IClass transformBlob(IBlob that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedBlob<>(that, enhancement.get()); + } + + @Override + public IClass transformFile(IFile that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedFile<>(that, enhancement.get()); + } + + @Override + public IClass transformAnnotatedRelationshipElement(IAnnotatedRelationshipElement that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getFirst() + .ifPresent( + value -> { + that.setFirst(wrap(value)); + }); + + that.getSecond() + .ifPresent( + value -> { + that.setSecond(wrap(value)); + }); + + that.getAnnotations() + .ifPresent( + value -> { + that.setAnnotations(wrapListOf_IDataElement(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedAnnotatedRelationshipElement<>(that, enhancement.get()); + } + + @Override + public IClass transformEntity(IEntity that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getStatements() + .ifPresent( + value -> { + that.setStatements(wrapListOf_ISubmodelElement(value)); + }); + + that.getSpecificAssetIds() + .ifPresent( + value -> { + that.setSpecificAssetIds(wrapListOf_ISpecificAssetId(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedEntity<>(that, enhancement.get()); + } + + @Override + public IClass transformEventPayload(IEventPayload that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setSource(wrap(that.getSource())); + + that.getSourceSemanticId() + .ifPresent( + value -> { + that.setSourceSemanticId(wrap(value)); + }); + + that.setObservableReference(wrap(that.getObservableReference())); + + that.getObservableSemanticId() + .ifPresent( + value -> { + that.setObservableSemanticId(wrap(value)); + }); + + that.getSubjectId() + .ifPresent( + value -> { + that.setSubjectId(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedEventPayload<>(that, enhancement.get()); + } + + @Override + public IClass transformBasicEventElement(IBasicEventElement that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.setObserved(wrap(that.getObserved())); + + that.getMessageBroker() + .ifPresent( + value -> { + that.setMessageBroker(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedBasicEventElement<>(that, enhancement.get()); + } + + @Override + public IClass transformOperation(IOperation that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getInputVariables() + .ifPresent( + value -> { + that.setInputVariables(wrapListOf_IOperationVariable(value)); + }); + + that.getOutputVariables() + .ifPresent( + value -> { + that.setOutputVariables(wrapListOf_IOperationVariable(value)); + }); + + that.getInoutputVariables() + .ifPresent( + value -> { + that.setInoutputVariables(wrapListOf_IOperationVariable(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedOperation<>(that, enhancement.get()); + } + + @Override + public IClass transformOperationVariable(IOperationVariable that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setValue(wrap(that.getValue())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedOperationVariable<>(that, enhancement.get()); + } + + @Override + public IClass transformCapability(ICapability that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedCapability<>(that, enhancement.get()); + } + + @Override + public IClass transformConceptDescription(IConceptDescription that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getAdministration() + .ifPresent( + value -> { + that.setAdministration(wrap(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getIsCaseOf() + .ifPresent( + value -> { + that.setIsCaseOf(wrapListOf_IReference(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedConceptDescription<>(that, enhancement.get()); + } + + @Override + public IClass transformReference(IReference that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getReferredSemanticId() + .ifPresent( + value -> { + that.setReferredSemanticId(wrap(value)); + }); + + that.setKeys(wrapListOf_IKey(that.getKeys())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedReference<>(that, enhancement.get()); + } + + @Override + public IClass transformKey(IKey that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedKey<>(that, enhancement.get()); + } + + @Override + public IClass transformLangStringNameType(ILangStringNameType that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedLangStringNameType<>(that, enhancement.get()); + } + + @Override + public IClass transformLangStringTextType(ILangStringTextType that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedLangStringTextType<>(that, enhancement.get()); + } + + @Override + public IClass transformEnvironment(IEnvironment that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getAssetAdministrationShells() + .ifPresent( + value -> { + that.setAssetAdministrationShells(wrapListOf_IAssetAdministrationShell(value)); + }); + + that.getSubmodels() + .ifPresent( + value -> { + that.setSubmodels(wrapListOf_ISubmodel(value)); + }); + + that.getConceptDescriptions() + .ifPresent( + value -> { + that.setConceptDescriptions(wrapListOf_IConceptDescription(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedEnvironment<>(that, enhancement.get()); + } + + @Override + public IClass transformEmbeddedDataSpecification(IEmbeddedDataSpecification that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setDataSpecification(wrap(that.getDataSpecification())); + + that.setDataSpecificationContent(wrap(that.getDataSpecificationContent())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedEmbeddedDataSpecification<>(that, enhancement.get()); + } + + @Override + public IClass transformLevelType(ILevelType that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedLevelType<>(that, enhancement.get()); + } + + @Override + public IClass transformValueReferencePair(IValueReferencePair that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getValueId() + .ifPresent( + value -> { + that.setValueId(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedValueReferencePair<>(that, enhancement.get()); + } + + @Override + public IClass transformValueList(IValueList that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setValueReferencePairs(wrapListOf_IValueReferencePair(that.getValueReferencePairs())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedValueList<>(that, enhancement.get()); + } + + @Override + public IClass transformLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedLangStringPreferredNameTypeIec61360<>(that, enhancement.get()); + } + + @Override + public IClass transformLangStringShortNameTypeIec61360(ILangStringShortNameTypeIec61360 that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedLangStringShortNameTypeIec61360<>(that, enhancement.get()); + } + + @Override + public IClass transformLangStringDefinitionTypeIec61360(ILangStringDefinitionTypeIec61360 that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedLangStringDefinitionTypeIec61360<>(that, enhancement.get()); + } + + @Override + public IClass transformLangStringUom(ILangStringUom that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedLangStringUom<>(that, enhancement.get()); + } + + @Override + public IClass transformDefinitionTypeUom(IDefinitionTypeUom that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedDefinitionTypeUom<>(that, enhancement.get()); + } + + @Override + public IClass transformDataSpecificationUom(IDataSpecificationUom that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setPreferredName(wrapListOf_ILangStringUom(that.getPreferredName())); + + that.getDefinition() + .ifPresent( + value -> { + that.setDefinition(wrapListOf_IDefinitionTypeUom(value)); + }); + + that.getPreferredNameQuantity() + .ifPresent( + value -> { + that.setPreferredNameQuantity(wrapListOf_ILangStringUom(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedDataSpecificationUom<>(that, enhancement.get()); + } + + @Override + public IClass transformDataSpecificationIec61360(IDataSpecificationIec61360 that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setPreferredName(wrapListOf_ILangStringPreferredNameTypeIec61360(that.getPreferredName())); + + that.getShortName() + .ifPresent( + value -> { + that.setShortName(wrapListOf_ILangStringShortNameTypeIec61360(value)); + }); + + that.getUnitId() + .ifPresent( + value -> { + that.setUnitId(wrap(value)); + }); + + that.getDefinition() + .ifPresent( + value -> { + that.setDefinition(wrapListOf_ILangStringDefinitionTypeIec61360(value)); + }); + + that.getValueList() + .ifPresent( + value -> { + that.setValueList(wrap(value)); + }); + + that.getLevelType() + .ifPresent( + value -> { + that.setLevelType(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedDataSpecificationIec61360<>(that, enhancement.get()); + } + + @Override + public IClass transformAssetAdministrationShellDescriptor( + IAssetAdministrationShellDescriptor that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getAdministration() + .ifPresent( + value -> { + that.setAdministration(wrap(value)); + }); + + that.getEndpoints() + .ifPresent( + value -> { + that.setEndpoints(wrapListOf_IEndpoint(value)); + }); + + that.getSpecificAssetIds() + .ifPresent( + value -> { + that.setSpecificAssetIds(wrapListOf_ISpecificAssetId(value)); + }); + + that.getSubmodelDescriptors() + .ifPresent( + value -> { + that.setSubmodelDescriptors(wrapListOf_ISubmodelDescriptor(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedAssetAdministrationShellDescriptor<>(that, enhancement.get()); + } + + @Override + public IClass transformSubmodelDescriptor(ISubmodelDescriptor that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.setEndpoints(wrapListOf_IEndpoint(that.getEndpoints())); + + that.getAdministration() + .ifPresent( + value -> { + that.setAdministration(wrap(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedSubmodelDescriptor<>(that, enhancement.get()); + } + + @Override + public IClass transformEndpoint(IEndpoint that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setProtocolInformation(wrap(that.getProtocolInformation())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedEndpoint<>(that, enhancement.get()); + } + + @Override + public IClass transformProtocolInformation(IProtocolInformation that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getSecurityAttributes() + .ifPresent( + value -> { + that.setSecurityAttributes(wrapListOf_ISecurityAttributeObject(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedProtocolInformation<>(that, enhancement.get()); + } + + @Override + public IClass transformSecurityAttributeObject(ISecurityAttributeObject that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedSecurityAttributeObject<>(that, enhancement.get()); + } + + @Override + public IClass transformAssetLink(IAssetLink that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedAssetLink<>(that, enhancement.get()); + } + + @Override + public IClass transformServiceDescription(IServiceDescription that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedServiceDescription<>(that, enhancement.get()); + } + + @Override + public IClass transformAssetAdministrationShellRecentChange( + IAssetAdministrationShellRecentChange that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getSpecificAssetIds() + .ifPresent( + value -> { + that.setSpecificAssetIds(wrapListOf_ISpecificAssetId(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedAssetAdministrationShellRecentChange<>(that, enhancement.get()); + } + + @Override + public IClass transformConceptDescriptionRecentChange(IConceptDescriptionRecentChange that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedConceptDescriptionRecentChange<>(that, enhancement.get()); + } + + @Override + public IClass transformSubmodelRecentChange(ISubmodelRecentChange that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedSubmodelRecentChange<>(that, enhancement.get()); + } + + @Override + public IClass transformResult(IResult that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getMessages() + .ifPresent( + value -> { + that.setMessages(wrapListOf_IMessage(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedResult<>(that, enhancement.get()); + } + + @Override + public IClass transformMessage(IMessage that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedMessage<>(that, enhancement.get()); + } + + @Override + public IClass transformOperationRequest(IOperationRequest that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getInputArguments() + .ifPresent( + value -> { + that.setInputArguments(wrapListOf_IOperationVariable(value)); + }); + + that.getInoutputArguments() + .ifPresent( + value -> { + that.setInoutputArguments(wrapListOf_IOperationVariable(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedOperationRequest<>(that, enhancement.get()); + } + + @Override + public IClass transformOperationRequestAsync(IOperationRequestAsync that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getInputArguments() + .ifPresent( + value -> { + that.setInputArguments(wrapListOf_IOperationVariable(value)); + }); + + that.getInoutputArguments() + .ifPresent( + value -> { + that.setInoutputArguments(wrapListOf_IOperationVariable(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedOperationRequestAsync<>(that, enhancement.get()); + } + + @Override + public IClass transformOperationRequestValueOnly(IOperationRequestValueOnly that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedOperationRequestValueOnly<>(that, enhancement.get()); + } + + @Override + public IClass transformOperationRequestAsyncValueOnly(IOperationRequestAsyncValueOnly that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedOperationRequestAsyncValueOnly<>(that, enhancement.get()); + } + + @Override + public IClass transformBaseOperationResult(IBaseOperationResult that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getMessages() + .ifPresent( + value -> { + that.setMessages(wrapListOf_IMessage(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedBaseOperationResult<>(that, enhancement.get()); + } + + @Override + public IClass transformOperationResult(IOperationResult that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getMessages() + .ifPresent( + value -> { + that.setMessages(wrapListOf_IMessage(value)); + }); + + that.getOutputArguments() + .ifPresent( + value -> { + that.setOutputArguments(wrapListOf_IOperationVariable(value)); + }); + + that.getInoutputArguments() + .ifPresent( + value -> { + that.setInoutputArguments(wrapListOf_IOperationVariable(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedOperationResult<>(that, enhancement.get()); + } + + @Override + public IClass transformOperationResultValueOnly(IOperationResultValueOnly that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getMessages() + .ifPresent( + value -> { + that.setMessages(wrapListOf_IMessage(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedOperationResultValueOnly<>(that, enhancement.get()); + } + + @Override + public IClass transformOperationHandle(IOperationHandle that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedOperationHandle<>(that, enhancement.get()); + } + + @Override + public IClass transformPagedResult(IPagedResult that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getResult() + .ifPresent( + value -> { + that.setResult(wrapListOf_IReferable(value)); + }); + + that.setPagingMetadata(wrap(that.getPagingMetadata())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedPagedResult<>(that, enhancement.get()); + } + + @Override + public IClass transformPagingMetadata(IPagingMetadata that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedPagingMetadata<>(that, enhancement.get()); + } + + @Override + public IClass transformPackageDescription(IPackageDescription that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedPackageDescription<>(that, enhancement.get()); + } + + @Override + public IClass transformPropertyMetadata(IPropertyMetadata that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedPropertyMetadata<>(that, enhancement.get()); + } + + @Override + public IClass transformRangeMetadata(IRangeMetadata that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedRangeMetadata<>(that, enhancement.get()); + } + + @Override + public IClass transformBlobMetadata(IBlobMetadata that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedBlobMetadata<>(that, enhancement.get()); + } + + @Override + public IClass transformFileMetadata(IFileMetadata that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedFileMetadata<>(that, enhancement.get()); + } + + @Override + public IClass transformMultiLanguagePropertyMetadata(IMultiLanguagePropertyMetadata that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedMultiLanguagePropertyMetadata<>(that, enhancement.get()); + } + + @Override + public IClass transformReferenceElementMetadata(IReferenceElementMetadata that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedReferenceElementMetadata<>(that, enhancement.get()); + } + + @Override + public IClass transformRelationshipElementMetadata(IRelationshipElementMetadata that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedRelationshipElementMetadata<>(that, enhancement.get()); + } + + @Override + public IClass transformAnnotatedRelationshipElementMetadata( + IAnnotatedRelationshipElementMetadata that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedAnnotatedRelationshipElementMetadata<>(that, enhancement.get()); + } + + @Override + public IClass transformEntityMetadata(IEntityMetadata that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedEntityMetadata<>(that, enhancement.get()); + } + + @Override + public IClass transformCapabilityMetadata(ICapabilityMetadata that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedCapabilityMetadata<>(that, enhancement.get()); + } + + @Override + public IClass transformOperationMetadata(IOperationMetadata that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedOperationMetadata<>(that, enhancement.get()); + } + + @Override + public IClass transformSubmodelElementCollectionMetadata( + ISubmodelElementCollectionMetadata that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedSubmodelElementCollectionMetadata<>(that, enhancement.get()); + } + + @Override + public IClass transformBasicEventElementMetadata(IBasicEventElementMetadata that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getMessageBroker() + .ifPresent( + value -> { + that.setMessageBroker(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedBasicEventElementMetadata<>(that, enhancement.get()); + } + + @Override + public IClass transformSubmodelElementListMetadata(ISubmodelElementListMetadata that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getSemanticIdListElement() + .ifPresent( + value -> { + that.setSemanticIdListElement(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedSubmodelElementListMetadata<>(that, enhancement.get()); + } + + @Override + public IClass transformSubmodelMetadata(ISubmodelMetadata that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getAdministration() + .ifPresent( + value -> { + that.setAdministration(wrap(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedSubmodelMetadata<>(that, enhancement.get()); + } + + @Override + public IClass transformAssetAdministrationShellMetadata(IAssetAdministrationShellMetadata that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getAdministration() + .ifPresent( + value -> { + that.setAdministration(wrap(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getDerivedFrom() + .ifPresent( + value -> { + that.setDerivedFrom(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedAssetAdministrationShellMetadata<>(that, enhancement.get()); + } + + @Override + public IClass transformReferenceElementValue(IReferenceElementValue that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setKeys(wrapListOf_IKey(that.getKeys())); + + that.getReferredSemanticId() + .ifPresent( + value -> { + that.setReferredSemanticId(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedReferenceElementValue<>(that, enhancement.get()); + } + + @Override + public IClass transformBlobValue(IBlobValue that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedBlobValue<>(that, enhancement.get()); + } + + @Override + public IClass transformFileValue(IFileValue that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedFileValue<>(that, enhancement.get()); + } + + @Override + public IClass transformRangeValue(IRangeValue that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedRangeValue<>(that, enhancement.get()); + } + + @Override + public IClass transformRelationshipElementValue(IRelationshipElementValue that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getFirst() + .ifPresent( + value -> { + that.setFirst(wrap(value)); + }); + + that.getSecond() + .ifPresent( + value -> { + that.setSecond(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedRelationshipElementValue<>(that, enhancement.get()); + } + + @Override + public IClass transformBasicEventElementValue(IBasicEventElementValue that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setObserved(wrap(that.getObserved())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedBasicEventElementValue<>(that, enhancement.get()); + } + + @Override + public IClass transformAnnotatedRelationshipElementValue( + IAnnotatedRelationshipElementValue that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getFirst() + .ifPresent( + value -> { + that.setFirst(wrap(value)); + }); + + that.getSecond() + .ifPresent( + value -> { + that.setSecond(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedAnnotatedRelationshipElementValue<>(that, enhancement.get()); + } + + @Override + public IClass transformEntityValue(IEntityValue that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedEntityValue<>(that, enhancement.get()); + } + + @Override + public IClass transformGetAssetAdministrationShellsResult( + IGetAssetAdministrationShellsResult that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setPagingMetadata(wrap(that.getPagingMetadata())); + + that.getResult() + .ifPresent( + value -> { + that.setResult(wrapListOf_IAssetAdministrationShell(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedGetAssetAdministrationShellsResult<>(that, enhancement.get()); + } + + @Override + public IClass transformGetAssetAdministrationShellsMetadataResult( + IGetAssetAdministrationShellsMetadataResult that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setPagingMetadata(wrap(that.getPagingMetadata())); + + that.getResult() + .ifPresent( + value -> { + that.setResult(wrapListOf_IAssetAdministrationShellMetadata(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedGetAssetAdministrationShellsMetadataResult<>(that, enhancement.get()); + } + + @Override + public IClass transformGetAllAssetAdministrationShellsRecentChangesResult( + IGetAllAssetAdministrationShellsRecentChangesResult that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setPagingMetadata(wrap(that.getPagingMetadata())); + + that.getResult() + .ifPresent( + value -> { + that.setResult(wrapListOf_IAssetAdministrationShellRecentChange(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedGetAllAssetAdministrationShellsRecentChangesResult<>(that, enhancement.get()); + } + + @Override + public IClass transformGetAssetAdministrationShellDescriptorsResult( + IGetAssetAdministrationShellDescriptorsResult that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setPagingMetadata(wrap(that.getPagingMetadata())); + + that.getResult() + .ifPresent( + value -> { + that.setResult(wrapListOf_IAssetAdministrationShellDescriptor(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedGetAssetAdministrationShellDescriptorsResult<>(that, enhancement.get()); + } + + @Override + public IClass transformGetConceptDescriptionsResult(IGetConceptDescriptionsResult that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setPagingMetadata(wrap(that.getPagingMetadata())); + + that.getResult() + .ifPresent( + value -> { + that.setResult(wrapListOf_IConceptDescription(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedGetConceptDescriptionsResult<>(that, enhancement.get()); + } + + @Override + public IClass transformGetAllConceptDescriptionsRecentChangesResult( + IGetAllConceptDescriptionsRecentChangesResult that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setPagingMetadata(wrap(that.getPagingMetadata())); + + that.getResult() + .ifPresent( + value -> { + that.setResult(wrapListOf_IConceptDescriptionRecentChange(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedGetAllConceptDescriptionsRecentChangesResult<>(that, enhancement.get()); + } + + @Override + public IClass transformGetPackageDescriptionsResult(IGetPackageDescriptionsResult that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setPagingMetadata(wrap(that.getPagingMetadata())); + + that.getResult() + .ifPresent( + value -> { + that.setResult(wrapListOf_IPackageDescription(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedGetPackageDescriptionsResult<>(that, enhancement.get()); + } + + @Override + public IClass transformGetPathItemsResult(IGetPathItemsResult that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setPagingMetadata(wrap(that.getPagingMetadata())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedGetPathItemsResult<>(that, enhancement.get()); + } + + @Override + public IClass transformGetReferencesResult(IGetReferencesResult that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setPagingMetadata(wrap(that.getPagingMetadata())); + + that.getResult() + .ifPresent( + value -> { + that.setResult(wrapListOf_IReference(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedGetReferencesResult<>(that, enhancement.get()); + } + + @Override + public IClass transformGetSubmodelDescriptorsResult(IGetSubmodelDescriptorsResult that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setPagingMetadata(wrap(that.getPagingMetadata())); + + that.getResult() + .ifPresent( + value -> { + that.setResult(wrapListOf_ISubmodelDescriptor(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedGetSubmodelDescriptorsResult<>(that, enhancement.get()); + } + + @Override + public IClass transformGetSubmodelElementsMetadataResult( + IGetSubmodelElementsMetadataResult that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setPagingMetadata(wrap(that.getPagingMetadata())); + + that.getResult() + .ifPresent( + value -> { + that.setResult(wrapListOf_ISubmodelElementMetadata(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedGetSubmodelElementsMetadataResult<>(that, enhancement.get()); + } + + @Override + public IClass transformGetSubmodelElementsResult(IGetSubmodelElementsResult that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setPagingMetadata(wrap(that.getPagingMetadata())); + + that.getResult() + .ifPresent( + value -> { + that.setResult(wrapListOf_ISubmodelElement(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedGetSubmodelElementsResult<>(that, enhancement.get()); + } + + @Override + public IClass transformGetSubmodelElementsValueResult(IGetSubmodelElementsValueResult that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setPagingMetadata(wrap(that.getPagingMetadata())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedGetSubmodelElementsValueResult<>(that, enhancement.get()); + } + + @Override + public IClass transformGetAllSubmodelsRecentChangesResult( + IGetAllSubmodelsRecentChangesResult that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setPagingMetadata(wrap(that.getPagingMetadata())); + + that.getResult() + .ifPresent( + value -> { + that.setResult(wrapListOf_ISubmodelRecentChange(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedGetAllSubmodelsRecentChangesResult<>(that, enhancement.get()); + } + + @Override + public IClass transformGetSubmodelsMetadataResult(IGetSubmodelsMetadataResult that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setPagingMetadata(wrap(that.getPagingMetadata())); + + that.getResult() + .ifPresent( + value -> { + that.setResult(wrapListOf_ISubmodelMetadata(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedGetSubmodelsMetadataResult<>(that, enhancement.get()); + } + + @Override + public IClass transformGetSubmodelsResult(IGetSubmodelsResult that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setPagingMetadata(wrap(that.getPagingMetadata())); + + that.getResult() + .ifPresent( + value -> { + that.setResult(wrapListOf_ISubmodel(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedGetSubmodelsResult<>(that, enhancement.get()); + } + + @Override + public IClass transformGetSubmodelsValueResult(IGetSubmodelsValueResult that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setPagingMetadata(wrap(that.getPagingMetadata())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedGetSubmodelsValueResult<>(that, enhancement.get()); + } + + @Override + public IClass transformClaimAttribute(IClaimAttribute that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedClaimAttribute<>(that, enhancement.get()); + } + + @Override + public IClass transformGlobalAttribute(IGlobalAttribute that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedGlobalAttribute<>(that, enhancement.get()); + } + + @Override + public IClass transformReferenceAttribute(IReferenceAttribute that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedReferenceAttribute<>(that, enhancement.get()); + } + + @Override + public IClass transformDateTimeAttributeItem(IDateTimeAttributeItem that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedDateTimeAttributeItem<>(that, enhancement.get()); + } + + @Override + public IClass transformFieldOperand(IFieldOperand that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedFieldOperand<>(that, enhancement.get()); + } + + @Override + public IClass transformStringLiteral(IStringLiteral that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedStringLiteral<>(that, enhancement.get()); + } + + @Override + public IClass transformAttributeOperand(IAttributeOperand that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setAttribute(wrap(that.getAttribute())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedAttributeOperand<>(that, enhancement.get()); + } + + @Override + public IClass transformNumberLiteral(INumberLiteral that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedNumberLiteral<>(that, enhancement.get()); + } + + @Override + public IClass transformHexLiteral(IHexLiteral that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedHexLiteral<>(that, enhancement.get()); + } + + @Override + public IClass transformDateTimeLiteral(IDateTimeLiteral that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedDateTimeLiteral<>(that, enhancement.get()); + } + + @Override + public IClass transformTimeLiteral(ITimeLiteral that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedTimeLiteral<>(that, enhancement.get()); + } + + @Override + public IClass transformBooleanLiteral(IBooleanLiteral that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedBooleanLiteral<>(that, enhancement.get()); + } + + @Override + public IClass transformStringCast(IStringCast that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setStrCast(wrap(that.getStrCast())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedStringCast<>(that, enhancement.get()); + } + + @Override + public IClass transformNumberCast(INumberCast that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setNumCast(wrap(that.getNumCast())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedNumberCast<>(that, enhancement.get()); + } + + @Override + public IClass transformHexCast(IHexCast that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setHexCast(wrap(that.getHexCast())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedHexCast<>(that, enhancement.get()); + } + + @Override + public IClass transformBooleanCast(IBooleanCast that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setBoolCast(wrap(that.getBoolCast())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedBooleanCast<>(that, enhancement.get()); + } + + @Override + public IClass transformDateTimeCast(IDateTimeCast that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setDateTimeCast(wrap(that.getDateTimeCast())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedDateTimeCast<>(that, enhancement.get()); + } + + @Override + public IClass transformTimeCast(ITimeCast that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setTimeCast(wrap(that.getTimeCast())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedTimeCast<>(that, enhancement.get()); + } + + @Override + public IClass transformDayOfWeek(IDayOfWeek that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setDayOfWeek(wrap(that.getDayOfWeek())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedDayOfWeek<>(that, enhancement.get()); + } + + @Override + public IClass transformDayOfMonth(IDayOfMonth that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setDayOfMonth(wrap(that.getDayOfMonth())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedDayOfMonth<>(that, enhancement.get()); + } + + @Override + public IClass transformMonth(IMonth that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setMonth(wrap(that.getMonth())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedMonth<>(that, enhancement.get()); + } + + @Override + public IClass transformYear(IYear that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setYear(wrap(that.getYear())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedYear<>(that, enhancement.get()); + } + + @Override + public IClass transformDateTimeAttributeOperand(IDateTimeAttributeOperand that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setAttribute(wrap(that.getAttribute())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedDateTimeAttributeOperand<>(that, enhancement.get()); + } + + @Override + public IClass transformEqualComparison(IEqualComparison that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setEq(wrapTupleOf2_Value_Value(that.getEq())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedEqualComparison<>(that, enhancement.get()); + } + + @Override + public IClass transformNotEqualComparison(INotEqualComparison that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setNe(wrapTupleOf2_Value_Value(that.getNe())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedNotEqualComparison<>(that, enhancement.get()); + } + + @Override + public IClass transformGreaterThanComparison(IGreaterThanComparison that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setGt(wrapTupleOf2_Value_Value(that.getGt())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedGreaterThanComparison<>(that, enhancement.get()); + } + + @Override + public IClass transformGreaterThanOrEqualComparison(IGreaterThanOrEqualComparison that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setGe(wrapTupleOf2_Value_Value(that.getGe())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedGreaterThanOrEqualComparison<>(that, enhancement.get()); + } + + @Override + public IClass transformLessThanComparison(ILessThanComparison that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setLt(wrapTupleOf2_Value_Value(that.getLt())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedLessThanComparison<>(that, enhancement.get()); + } + + @Override + public IClass transformLessThanOrEqualComparison(ILessThanOrEqualComparison that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setLe(wrapTupleOf2_Value_Value(that.getLe())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedLessThanOrEqualComparison<>(that, enhancement.get()); + } + + @Override + public IClass transformContainsComparison(IContainsComparison that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setContains(wrapTupleOf2_StringValue_StringValue(that.getContains())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedContainsComparison<>(that, enhancement.get()); + } + + @Override + public IClass transformStartsWithComparison(IStartsWithComparison that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setStartsWith(wrapTupleOf2_StringValue_StringValue(that.getStartsWith())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedStartsWithComparison<>(that, enhancement.get()); + } + + @Override + public IClass transformEndsWithComparison(IEndsWithComparison that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setEndsWith(wrapTupleOf2_StringValue_StringValue(that.getEndsWith())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedEndsWithComparison<>(that, enhancement.get()); + } + + @Override + public IClass transformRegexComparison(IRegexComparison that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setRegex(wrapTupleOf2_StringValue_StringValue(that.getRegex())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedRegexComparison<>(that, enhancement.get()); + } + + @Override + public IClass transformMatchClause(IMatchClause that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setMatchOperands(wrapListOf_MatchExpression(that.getMatchOperands())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedMatchClause<>(that, enhancement.get()); + } + + @Override + public IClass transformAndExpression(IAndExpression that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setAndOperands(wrapListOf_LogicalExpression(that.getAndOperands())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedAndExpression<>(that, enhancement.get()); + } + + @Override + public IClass transformOrExpression(IOrExpression that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setOrOperands(wrapListOf_LogicalExpression(that.getOrOperands())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedOrExpression<>(that, enhancement.get()); + } + + @Override + public IClass transformNotExpression(INotExpression that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setNotOperand(wrap(that.getNotOperand())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedNotExpression<>(that, enhancement.get()); + } + + @Override + public IClass transformQueryFilter(IQueryFilter that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setCondition(wrap(that.getCondition())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedQueryFilter<>(that, enhancement.get()); + } + + @Override + public IClass transformQuery(IQuery that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setCondition(wrap(that.getCondition())); + + that.getFilters() + .ifPresent( + value -> { + that.setFilters(wrapListOf_IQueryFilter(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedQuery<>(that, enhancement.get()); + } + + @SuppressWarnings("unchecked") + private T wrap(T that) { + return (T) transform(that); + } + + private > T wrap(T that) { + return that.withUnderlying(wrap(that.getUnderlying())); + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IReference(List that) { + List result = new ArrayList<>(that.size()); + for (IReference item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IEmbeddedDataSpecification( + List that) { + List result = new ArrayList<>(that.size()); + for (IEmbeddedDataSpecification item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IExtension(List that) { + List result = new ArrayList<>(that.size()); + for (IExtension item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_ILangStringNameType(List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringNameType item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_ILangStringTextType(List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringTextType item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_ISpecificAssetId(List that) { + List result = new ArrayList<>(that.size()); + for (ISpecificAssetId item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IQualifier(List that) { + List result = new ArrayList<>(that.size()); + for (IQualifier item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_ISubmodelElement(List that) { + List result = new ArrayList<>(that.size()); + for (ISubmodelElement item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IDataElement(List that) { + List result = new ArrayList<>(that.size()); + for (IDataElement item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IOperationVariable(List that) { + List result = new ArrayList<>(that.size()); + for (IOperationVariable item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IKey(List that) { + List result = new ArrayList<>(that.size()); + for (IKey item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IAssetAdministrationShell( + List that) { + List result = new ArrayList<>(that.size()); + for (IAssetAdministrationShell item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_ISubmodel(List that) { + List result = new ArrayList<>(that.size()); + for (ISubmodel item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IConceptDescription(List that) { + List result = new ArrayList<>(that.size()); + for (IConceptDescription item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IValueReferencePair(List that) { + List result = new ArrayList<>(that.size()); + for (IValueReferencePair item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_ILangStringUom(List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringUom item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IDefinitionTypeUom(List that) { + List result = new ArrayList<>(that.size()); + for (IDefinitionTypeUom item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List + wrapListOf_ILangStringPreferredNameTypeIec61360( + List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringPreferredNameTypeIec61360 item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_ILangStringShortNameTypeIec61360( + List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringShortNameTypeIec61360 item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_ILangStringDefinitionTypeIec61360( + List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringDefinitionTypeIec61360 item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IEndpoint(List that) { + List result = new ArrayList<>(that.size()); + for (IEndpoint item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_ISubmodelDescriptor(List that) { + List result = new ArrayList<>(that.size()); + for (ISubmodelDescriptor item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_ISecurityAttributeObject( + List that) { + List result = new ArrayList<>(that.size()); + for (ISecurityAttributeObject item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IMessage(List that) { + List result = new ArrayList<>(that.size()); + for (IMessage item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IReferable(List that) { + List result = new ArrayList<>(that.size()); + for (IReferable item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IAssetAdministrationShellMetadata( + List that) { + List result = new ArrayList<>(that.size()); + for (IAssetAdministrationShellMetadata item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List + wrapListOf_IAssetAdministrationShellRecentChange( + List that) { + List result = new ArrayList<>(that.size()); + for (IAssetAdministrationShellRecentChange item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IAssetAdministrationShellDescriptor( + List that) { + List result = new ArrayList<>(that.size()); + for (IAssetAdministrationShellDescriptor item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IConceptDescriptionRecentChange( + List that) { + List result = new ArrayList<>(that.size()); + for (IConceptDescriptionRecentChange item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IPackageDescription(List that) { + List result = new ArrayList<>(that.size()); + for (IPackageDescription item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_ISubmodelElementMetadata( + List that) { + List result = new ArrayList<>(that.size()); + for (ISubmodelElementMetadata item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_ISubmodelRecentChange( + List that) { + List result = new ArrayList<>(that.size()); + for (ISubmodelRecentChange item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_ISubmodelMetadata(List that) { + List result = new ArrayList<>(that.size()); + for (ISubmodelMetadata item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private Tuple2 wrapTupleOf2_Value_Value(Tuple2 that) { + return new Tuple2<>(wrap(that.item1()), wrap(that.item2())); + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private Tuple2 wrapTupleOf2_StringValue_StringValue( + Tuple2 that) { + return new Tuple2<>(wrap(that.item1()), wrap(that.item2())); + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_MatchExpression(List that) { + List result = new ArrayList<>(that.size()); + for (MatchExpression item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_LogicalExpression(List that) { + List result = new ArrayList<>(that.size()); + for (LogicalExpression item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IQueryFilter(List that) { + List result = new ArrayList<>(that.size()); + for (IQueryFilter item : that) { + result.add(wrap(item)); + } + return result; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/generation/AdministrativeInformationBuilder.java b/src/main/java/aas_core/aas3_2/generation/AdministrativeInformationBuilder.java new file mode 100644 index 00000000..88875af2 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/AdministrativeInformationBuilder.java @@ -0,0 +1,100 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the AdministrativeInformation type. */ +public class AdministrativeInformationBuilder { + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Version of the element. */ + private String version; + + /** Revision of the element. */ + private String revision; + + /** The subject ID of the subject responsible for making the element. */ + private IReference creator; + + /** date of creation. */ + private String createdAt; + + /** date of update. */ + private String updatedAt; + + /** + * Identifier of the template that guided the creation of the element. + * + *

So far, {@link aas_core.aas3_2.types.impl.AdministrativeInformation#getTemplateId()} is only + * applicable for {@link aas_core.aas3_2.types.impl.Submodel}'s, since template specifications are + * standardized for Submodels only. + * + *

In case of a submodel, the {@link + * aas_core.aas3_2.types.impl.AdministrativeInformation#getTemplateId()} is the identifier of the + * submodel template that guided the creation of the submodel + * + *

The {@link aas_core.aas3_2.types.impl.AdministrativeInformation#getTemplateId()} is not + * relevant for validation in Submodels. For validation the {@link + * aas_core.aas3_2.types.impl.Submodel#getSemanticId()} shall be used. + * + *

Usage of {@link aas_core.aas3_2.types.impl.AdministrativeInformation#getTemplateId()} is not + * restricted to submodel instances. So also the creation of submodel templates can be guided by + * another submodel template. + */ + private String templateId; + + public AdministrativeInformationBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public AdministrativeInformationBuilder setVersion(String version) { + this.version = version; + return this; + } + + public AdministrativeInformationBuilder setRevision(String revision) { + this.revision = revision; + return this; + } + + public AdministrativeInformationBuilder setCreator(IReference creator) { + this.creator = creator; + return this; + } + + public AdministrativeInformationBuilder setCreatedAt(String createdAt) { + this.createdAt = createdAt; + return this; + } + + public AdministrativeInformationBuilder setUpdatedAt(String updatedAt) { + this.updatedAt = updatedAt; + return this; + } + + public AdministrativeInformationBuilder setTemplateId(String templateId) { + this.templateId = templateId; + return this; + } + + public AdministrativeInformation build() { + return new AdministrativeInformation( + this.embeddedDataSpecifications, + this.version, + this.revision, + this.creator, + this.createdAt, + this.updatedAt, + this.templateId); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/AnnotatedRelationshipElementBuilder.java b/src/main/java/aas_core/aas3_2/generation/AnnotatedRelationshipElementBuilder.java new file mode 100644 index 00000000..b31e51ae --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/AnnotatedRelationshipElementBuilder.java @@ -0,0 +1,175 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the AnnotatedRelationshipElement type. */ +public class AnnotatedRelationshipElementBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Reference to the first element in the relationship taking the role of the subject. */ + private IReference first; + + /** Reference to the second element in the relationship taking the role of the object. */ + private IReference second; + + /** + * A data element that represents an annotation that holds for the relationship between the two + * elements + */ + private List annotations; + + public AnnotatedRelationshipElementBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public AnnotatedRelationshipElementBuilder setCategory(String category) { + this.category = category; + return this; + } + + public AnnotatedRelationshipElementBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public AnnotatedRelationshipElementBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public AnnotatedRelationshipElementBuilder setDescription(List description) { + this.description = description; + return this; + } + + public AnnotatedRelationshipElementBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public AnnotatedRelationshipElementBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public AnnotatedRelationshipElementBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public AnnotatedRelationshipElementBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public AnnotatedRelationshipElementBuilder setFirst(IReference first) { + this.first = first; + return this; + } + + public AnnotatedRelationshipElementBuilder setSecond(IReference second) { + this.second = second; + return this; + } + + public AnnotatedRelationshipElementBuilder setAnnotations(List annotations) { + this.annotations = annotations; + return this; + } + + public AnnotatedRelationshipElement build() { + return new AnnotatedRelationshipElement( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.first, + this.second, + this.annotations); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/AnnotatedRelationshipElementMetadataBuilder.java b/src/main/java/aas_core/aas3_2/generation/AnnotatedRelationshipElementMetadataBuilder.java new file mode 100644 index 00000000..dce490ea --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/AnnotatedRelationshipElementMetadataBuilder.java @@ -0,0 +1,147 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the AnnotatedRelationshipElementMetadata type. */ +public class AnnotatedRelationshipElementMetadataBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public AnnotatedRelationshipElementMetadataBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public AnnotatedRelationshipElementMetadataBuilder setCategory(String category) { + this.category = category; + return this; + } + + public AnnotatedRelationshipElementMetadataBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public AnnotatedRelationshipElementMetadataBuilder setDisplayName( + List displayName) { + this.displayName = displayName; + return this; + } + + public AnnotatedRelationshipElementMetadataBuilder setDescription( + List description) { + this.description = description; + return this; + } + + public AnnotatedRelationshipElementMetadataBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public AnnotatedRelationshipElementMetadataBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public AnnotatedRelationshipElementMetadataBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public AnnotatedRelationshipElementMetadataBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public AnnotatedRelationshipElementMetadata build() { + return new AnnotatedRelationshipElementMetadata( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/AnnotatedRelationshipElementValueBuilder.java b/src/main/java/aas_core/aas3_2/generation/AnnotatedRelationshipElementValueBuilder.java new file mode 100644 index 00000000..3c49c86b --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/AnnotatedRelationshipElementValueBuilder.java @@ -0,0 +1,42 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import com.fasterxml.jackson.databind.node.ObjectNode; + +/** Builder for the AnnotatedRelationshipElementValue type. */ +public class AnnotatedRelationshipElementValueBuilder { + /** Reference to the first element in the relationship. */ + private IReference first; + + /** Reference to the second element in the relationship. */ + private IReference second; + + /** Annotations which hold for the relationship between the two elements. */ + private ObjectNode annotations; + + public AnnotatedRelationshipElementValueBuilder setFirst(IReference first) { + this.first = first; + return this; + } + + public AnnotatedRelationshipElementValueBuilder setSecond(IReference second) { + this.second = second; + return this; + } + + public AnnotatedRelationshipElementValueBuilder setAnnotations(ObjectNode annotations) { + this.annotations = annotations; + return this; + } + + public AnnotatedRelationshipElementValue build() { + return new AnnotatedRelationshipElementValue(this.first, this.second, this.annotations); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/AssetAdministrationShellBuilder.java b/src/main/java/aas_core/aas3_2/generation/AssetAdministrationShellBuilder.java new file mode 100644 index 00000000..d04bd4cf --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/AssetAdministrationShellBuilder.java @@ -0,0 +1,162 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the AssetAdministrationShell type. */ +public class AssetAdministrationShellBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Administrative information of an identifiable element. + * + *

Some of the administrative information like the version number might need to be part of the + * identification. + */ + private IAdministrativeInformation administration; + + /** The globally unique identification of the element. */ + private String id; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * The reference to the Asset Administration Shell, which the Asset Administration Shell was + * derived from. + */ + private IReference derivedFrom; + + /** Meta information about the asset, the Asset Administration Shell is representing. */ + private IAssetInformation assetInformation; + + /** + * References to submodels of the Asset Administration Shell. + * + *

A submodel is a description of an aspect of the asset, the Asset Administration Shell is + * representing. + * + *

The asset of an Asset Administration Shell is typically described by one or more submodels. + * + *

Temporarily, no submodel might be assigned to the Asset Administration Shell. + */ + private List submodels; + + public AssetAdministrationShellBuilder(String id, IAssetInformation assetInformation) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + this.assetInformation = + Objects.requireNonNull(assetInformation, "Argument \"assetInformation\" must be non-null."); + } + + public AssetAdministrationShellBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public AssetAdministrationShellBuilder setCategory(String category) { + this.category = category; + return this; + } + + public AssetAdministrationShellBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public AssetAdministrationShellBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public AssetAdministrationShellBuilder setDescription(List description) { + this.description = description; + return this; + } + + public AssetAdministrationShellBuilder setAdministration( + IAdministrativeInformation administration) { + this.administration = administration; + return this; + } + + public AssetAdministrationShellBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public AssetAdministrationShellBuilder setDerivedFrom(IReference derivedFrom) { + this.derivedFrom = derivedFrom; + return this; + } + + public AssetAdministrationShellBuilder setSubmodels(List submodels) { + this.submodels = submodels; + return this; + } + + public AssetAdministrationShell build() { + return new AssetAdministrationShell( + this.id, + this.assetInformation, + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.administration, + this.embeddedDataSpecifications, + this.derivedFrom, + this.submodels); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/AssetAdministrationShellDescriptorBuilder.java b/src/main/java/aas_core/aas3_2/generation/AssetAdministrationShellDescriptorBuilder.java new file mode 100644 index 00000000..6693a005 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/AssetAdministrationShellDescriptorBuilder.java @@ -0,0 +1,164 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the AssetAdministrationShellDescriptor type. */ +public class AssetAdministrationShellDescriptorBuilder { + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + */ + private List description; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * An extension of the element. + * + *

Extensions are proprietary, i.e. they do not support global interoperability. + */ + private List extensions; + + /** Globally unique identification of the Asset Administration Shell. */ + private String id; + + /** Administrative information of the Asset Administration Shell. */ + private IAdministrativeInformation administration; + + /** + * Denotes whether the asset of the described Asset Administration Shell is of kind {@link + * aas_core.aas3_2.types.enums.AssetKind#TYPE}, {@link + * aas_core.aas3_2.types.enums.AssetKind#INSTANCE}, {@link + * aas_core.aas3_2.types.enums.AssetKind#ROLE}, or {@link + * aas_core.aas3_2.types.enums.AssetKind#NOT_APPLICABLE}. + */ + private AssetKind assetKind; + + /** + * The type of the asset described by the Asset Administration Shell of this descriptor. + * + *

See {@link aas_core.aas3_2.types.impl.AssetInformation#getAssetType()} for further + * information. + */ + private String assetType; + + /** + * Endpoint of the network resource. + * + *

The cardinality restriction for {@link + * aas_core.aas3_2.types.impl.AssetAdministrationShellDescriptor#getEndpoints()} allows a provider + * to skip the declaration of the location of an Asset Administration Shell and directly point to + * the endpoints of the contained submodels through {@link + * aas_core.aas3_2.types.impl.AssetAdministrationShellDescriptor#getSubmodelDescriptors()}' {@link + * aas_core.aas3_2.types.impl.SubmodelDescriptor#getEndpoints()}. A client, therefore, might + * decide to skip the lookup on the Asset Administration Shell. Nevertheless, in case the + * information contained in the {@link + * aas_core.aas3_2.types.impl.AssetAdministrationShellDescriptor} deviates from the related {@link + * aas_core.aas3_2.types.impl.AssetAdministrationShell}, or attributes are missing, the {@link + * aas_core.aas3_2.types.impl.AssetAdministrationShell} is always the source of truth. + */ + private List endpoints; + + /** Global reference to the asset the Asset Administration Shell is representing. */ + private String globalAssetId; + + /** Short name of the Asset Administration Shell. */ + private String idShort; + + /** Specific asset identifier. */ + private List specificAssetIds; + + /** Descriptor of a submodel of the Asset Administration Shell. */ + private List submodelDescriptors; + + public AssetAdministrationShellDescriptorBuilder(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + public AssetAdministrationShellDescriptorBuilder setDescription( + List description) { + this.description = description; + return this; + } + + public AssetAdministrationShellDescriptorBuilder setDisplayName( + List displayName) { + this.displayName = displayName; + return this; + } + + public AssetAdministrationShellDescriptorBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public AssetAdministrationShellDescriptorBuilder setAdministration( + IAdministrativeInformation administration) { + this.administration = administration; + return this; + } + + public AssetAdministrationShellDescriptorBuilder setAssetKind(AssetKind assetKind) { + this.assetKind = assetKind; + return this; + } + + public AssetAdministrationShellDescriptorBuilder setAssetType(String assetType) { + this.assetType = assetType; + return this; + } + + public AssetAdministrationShellDescriptorBuilder setEndpoints(List endpoints) { + this.endpoints = endpoints; + return this; + } + + public AssetAdministrationShellDescriptorBuilder setGlobalAssetId(String globalAssetId) { + this.globalAssetId = globalAssetId; + return this; + } + + public AssetAdministrationShellDescriptorBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public AssetAdministrationShellDescriptorBuilder setSpecificAssetIds( + List specificAssetIds) { + this.specificAssetIds = specificAssetIds; + return this; + } + + public AssetAdministrationShellDescriptorBuilder setSubmodelDescriptors( + List submodelDescriptors) { + this.submodelDescriptors = submodelDescriptors; + return this; + } + + public AssetAdministrationShellDescriptor build() { + return new AssetAdministrationShellDescriptor( + this.id, + this.description, + this.displayName, + this.extensions, + this.administration, + this.assetKind, + this.assetType, + this.endpoints, + this.globalAssetId, + this.idShort, + this.specificAssetIds, + this.submodelDescriptors); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/AssetAdministrationShellMetadataBuilder.java b/src/main/java/aas_core/aas3_2/generation/AssetAdministrationShellMetadataBuilder.java new file mode 100644 index 00000000..12ff110e --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/AssetAdministrationShellMetadataBuilder.java @@ -0,0 +1,140 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the AssetAdministrationShellMetadata type. */ +public class AssetAdministrationShellMetadataBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Administrative information of an identifiable element. + * + *

Some of the administrative information like the version number might need to be part of the + * identification. + */ + private IAdministrativeInformation administration; + + /** The globally unique identification of the element. */ + private String id; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * The reference to the Asset Administration Shell, which the Asset Administration Shell was + * derived from. + */ + private IReference derivedFrom; + + public AssetAdministrationShellMetadataBuilder(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + public AssetAdministrationShellMetadataBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public AssetAdministrationShellMetadataBuilder setCategory(String category) { + this.category = category; + return this; + } + + public AssetAdministrationShellMetadataBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public AssetAdministrationShellMetadataBuilder setDisplayName( + List displayName) { + this.displayName = displayName; + return this; + } + + public AssetAdministrationShellMetadataBuilder setDescription( + List description) { + this.description = description; + return this; + } + + public AssetAdministrationShellMetadataBuilder setAdministration( + IAdministrativeInformation administration) { + this.administration = administration; + return this; + } + + public AssetAdministrationShellMetadataBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public AssetAdministrationShellMetadataBuilder setDerivedFrom(IReference derivedFrom) { + this.derivedFrom = derivedFrom; + return this; + } + + public AssetAdministrationShellMetadata build() { + return new AssetAdministrationShellMetadata( + this.id, + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.administration, + this.embeddedDataSpecifications, + this.derivedFrom); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/AssetAdministrationShellRecentChangeBuilder.java b/src/main/java/aas_core/aas3_2/generation/AssetAdministrationShellRecentChangeBuilder.java new file mode 100644 index 00000000..3dae8c36 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/AssetAdministrationShellRecentChangeBuilder.java @@ -0,0 +1,53 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the AssetAdministrationShellRecentChange type. */ +public class AssetAdministrationShellRecentChangeBuilder { + /** The point in time at which the Identifiable object was created */ + private String createdAt; + + /** The point in time at which the Identifiable object was recently updated */ + private String updatedAt; + + /** Globally unique identification of the Asset Administration Shell */ + private String id; + + /** Global reference to the asset the AAS is representing */ + private String globalAssetId; + + /** Specific asset identifier */ + private List specificAssetIds; + + public AssetAdministrationShellRecentChangeBuilder( + String createdAt, String updatedAt, String id) { + this.createdAt = Objects.requireNonNull(createdAt, "Argument \"createdAt\" must be non-null."); + this.updatedAt = Objects.requireNonNull(updatedAt, "Argument \"updatedAt\" must be non-null."); + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + public AssetAdministrationShellRecentChangeBuilder setGlobalAssetId(String globalAssetId) { + this.globalAssetId = globalAssetId; + return this; + } + + public AssetAdministrationShellRecentChangeBuilder setSpecificAssetIds( + List specificAssetIds) { + this.specificAssetIds = specificAssetIds; + return this; + } + + public AssetAdministrationShellRecentChange build() { + return new AssetAdministrationShellRecentChange( + this.createdAt, this.updatedAt, this.id, this.globalAssetId, this.specificAssetIds); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/AssetInformationBuilder.java b/src/main/java/aas_core/aas3_2/generation/AssetInformationBuilder.java new file mode 100644 index 00000000..9c553b01 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/AssetInformationBuilder.java @@ -0,0 +1,95 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the AssetInformation type. */ +public class AssetInformationBuilder { + /** + * Denotes whether the Asset is of kind {@link aas_core.aas3_2.types.enums.AssetKind#TYPE}, {@link + * aas_core.aas3_2.types.enums.AssetKind#INSTANCE}, {@link + * aas_core.aas3_2.types.enums.AssetKind#BATCH}, {@link + * aas_core.aas3_2.types.enums.AssetKind#ROLE}, or {@link + * aas_core.aas3_2.types.enums.AssetKind#NOT_APPLICABLE}. + */ + private AssetKind assetKind; + + /** + * Identifier of the asset, the Asset Administration Shell is representing. + * + *

This attribute is required as soon as the Asset Administration Shell is exchanged via + * partners in the life cycle of the asset. In a first phase of the life cycle, the asset might + * not yet have a global asset ID but already an internal identifier. The internal identifier + * would be modelled via {@link + * aas_core.aas3_2.types.impl.AssetInformation#getSpecificAssetIds()}. + */ + private String globalAssetId; + + /** + * Additional domain-specific, typically proprietary identifier for the asset like serial number, + * manufacturer part ID, customer part IDs, etc. + */ + private List specificAssetIds; + + /** + * In case {@link aas_core.aas3_2.types.impl.AssetInformation#getAssetKind()} is not {@link + * aas_core.aas3_2.types.enums.AssetKind#NOT_APPLICABLE} the {@link + * aas_core.aas3_2.types.impl.AssetInformation#getAssetType()} is the asset ID of the type asset + * of the asset under consideration as identified by {@link + * aas_core.aas3_2.types.impl.AssetInformation#getGlobalAssetId()}. + * + *

In case {@link aas_core.aas3_2.types.impl.AssetInformation#getAssetKind()} is "Instance" + * then the {@link aas_core.aas3_2.types.impl.AssetInformation#getAssetType()} denotes which + * "Type" the asset is of. But it is also possible to have an {@link + * aas_core.aas3_2.types.impl.AssetInformation#getAssetType()} of an asset of kind "Type". + */ + private String assetType; + + /** + * Thumbnail of the asset represented by the Asset Administration Shell. + * + *

Used as default. + */ + private IResource defaultThumbnail; + + public AssetInformationBuilder(AssetKind assetKind) { + this.assetKind = Objects.requireNonNull(assetKind, "Argument \"assetKind\" must be non-null."); + } + + public AssetInformationBuilder setGlobalAssetId(String globalAssetId) { + this.globalAssetId = globalAssetId; + return this; + } + + public AssetInformationBuilder setSpecificAssetIds(List specificAssetIds) { + this.specificAssetIds = specificAssetIds; + return this; + } + + public AssetInformationBuilder setAssetType(String assetType) { + this.assetType = assetType; + return this; + } + + public AssetInformationBuilder setDefaultThumbnail(IResource defaultThumbnail) { + this.defaultThumbnail = defaultThumbnail; + return this; + } + + public AssetInformation build() { + return new AssetInformation( + this.assetKind, + this.globalAssetId, + this.specificAssetIds, + this.assetType, + this.defaultThumbnail); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/BaseOperationResultBuilder.java b/src/main/java/aas_core/aas3_2/generation/BaseOperationResultBuilder.java new file mode 100644 index 00000000..e3599c6d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/BaseOperationResultBuilder.java @@ -0,0 +1,46 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the BaseOperationResult type. */ +public class BaseOperationResultBuilder { + /** Execution state */ + private ExecutionState executionState; + + /** Additional messages containing information for the requester */ + private List messages; + + /** + * Flag indicating whether the business operation behind the operation was successful (true) or + * not (false) + */ + private Boolean success; + + public BaseOperationResultBuilder(ExecutionState executionState) { + this.executionState = + Objects.requireNonNull(executionState, "Argument \"executionState\" must be non-null."); + } + + public BaseOperationResultBuilder setMessages(List messages) { + this.messages = messages; + return this; + } + + public BaseOperationResultBuilder setSuccess(Boolean success) { + this.success = success; + return this; + } + + public BaseOperationResult build() { + return new BaseOperationResult(this.executionState, this.messages, this.success); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/BasicEventElementBuilder.java b/src/main/java/aas_core/aas3_2/generation/BasicEventElementBuilder.java new file mode 100644 index 00000000..f8758664 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/BasicEventElementBuilder.java @@ -0,0 +1,251 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the BasicEventElement type. */ +public class BasicEventElementBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Reference to a referable, e.g., a data element or a submodel, that is being observed. */ + private IReference observed; + + /** + * Direction of event. + * + *

Can be {@code { Input, Output }}. + */ + private Direction direction; + + /** + * State of event. + * + *

Can be {@code { On, Off }}. + */ + private StateOfEvent state; + + /** + * Information for the outer message infrastructure to schedule the event for the respective + * communication channel. + */ + private String messageTopic; + + /** + * Information about which outer message infrastructure shall handle messages for the {@link + * aas_core.aas3_2.types.model.IEventElement}. Refers to a {@link + * aas_core.aas3_2.types.impl.Submodel}, {@link aas_core.aas3_2.types.impl.SubmodelElementList}, + * {@link aas_core.aas3_2.types.impl.SubmodelElementCollection} or {@link + * aas_core.aas3_2.types.impl.Entity}, which contains {@link + * aas_core.aas3_2.types.model.IDataElement}'s describing the proprietary specification for the + * message broker. + * + *

This proprietary specification could be standardized by using respective {@link + * aas_core.aas3_2.types.impl.Submodel}'s for different message infrastructure, e.g., OPC UA, MQTT + * or AMQP. + */ + private IReference messageBroker; + + /** + * Timestamp in UTC, when the last event was received (input direction) or sent (output + * direction). + */ + private String lastUpdate; + + /** + * For input direction reports on the maximum frequency, the software entity behind the respective + * {@link aas_core.aas3_2.types.model.IReferable} can handle input events. + * + *

For output events, the maximum frequency of outputting this event to an outer infrastructure + * is specified. + * + *

Might be not specified, i.e. if there is no minimum interval. + */ + private String minInterval; + + /** + * Not applicable for input direction. + * + *

For output direction: maximum interval in time, the respective {@link + * aas_core.aas3_2.types.model.IReferable} shall send an update of the status of the event, even + * if no other trigger condition for the event was not met. + * + *

Might not be specified, i.e. if there is no maximum interval. + */ + private String maxInterval; + + public BasicEventElementBuilder(IReference observed, Direction direction, StateOfEvent state) { + this.observed = Objects.requireNonNull(observed, "Argument \"observed\" must be non-null."); + this.direction = Objects.requireNonNull(direction, "Argument \"direction\" must be non-null."); + this.state = Objects.requireNonNull(state, "Argument \"state\" must be non-null."); + } + + public BasicEventElementBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public BasicEventElementBuilder setCategory(String category) { + this.category = category; + return this; + } + + public BasicEventElementBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public BasicEventElementBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public BasicEventElementBuilder setDescription(List description) { + this.description = description; + return this; + } + + public BasicEventElementBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public BasicEventElementBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public BasicEventElementBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public BasicEventElementBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public BasicEventElementBuilder setMessageTopic(String messageTopic) { + this.messageTopic = messageTopic; + return this; + } + + public BasicEventElementBuilder setMessageBroker(IReference messageBroker) { + this.messageBroker = messageBroker; + return this; + } + + public BasicEventElementBuilder setLastUpdate(String lastUpdate) { + this.lastUpdate = lastUpdate; + return this; + } + + public BasicEventElementBuilder setMinInterval(String minInterval) { + this.minInterval = minInterval; + return this; + } + + public BasicEventElementBuilder setMaxInterval(String maxInterval) { + this.maxInterval = maxInterval; + return this; + } + + public BasicEventElement build() { + return new BasicEventElement( + this.observed, + this.direction, + this.state, + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.messageTopic, + this.messageBroker, + this.lastUpdate, + this.minInterval, + this.maxInterval); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/BasicEventElementMetadataBuilder.java b/src/main/java/aas_core/aas3_2/generation/BasicEventElementMetadataBuilder.java new file mode 100644 index 00000000..47f2bf79 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/BasicEventElementMetadataBuilder.java @@ -0,0 +1,204 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the BasicEventElementMetadata type. */ +public class BasicEventElementMetadataBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Direction of event. */ + private Direction direction; + + /** State of event. */ + private StateOfEvent state; + + /** Topic, to which the event's message is published. */ + private String messageTopic; + + /** Reference to a broker where the event's message is published. */ + private IReference messageBroker; + + /** Timestamp of the last update of the event. */ + private String lastUpdate; + + /** For continuous signalling, the minimum interval between two consecutive events. */ + private String minInterval; + + /** For continuous signalling, the maximum interval between two consecutive events. */ + private String maxInterval; + + public BasicEventElementMetadataBuilder(Direction direction, StateOfEvent state) { + this.direction = Objects.requireNonNull(direction, "Argument \"direction\" must be non-null."); + this.state = Objects.requireNonNull(state, "Argument \"state\" must be non-null."); + } + + public BasicEventElementMetadataBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public BasicEventElementMetadataBuilder setCategory(String category) { + this.category = category; + return this; + } + + public BasicEventElementMetadataBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public BasicEventElementMetadataBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public BasicEventElementMetadataBuilder setDescription(List description) { + this.description = description; + return this; + } + + public BasicEventElementMetadataBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public BasicEventElementMetadataBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public BasicEventElementMetadataBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public BasicEventElementMetadataBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public BasicEventElementMetadataBuilder setMessageTopic(String messageTopic) { + this.messageTopic = messageTopic; + return this; + } + + public BasicEventElementMetadataBuilder setMessageBroker(IReference messageBroker) { + this.messageBroker = messageBroker; + return this; + } + + public BasicEventElementMetadataBuilder setLastUpdate(String lastUpdate) { + this.lastUpdate = lastUpdate; + return this; + } + + public BasicEventElementMetadataBuilder setMinInterval(String minInterval) { + this.minInterval = minInterval; + return this; + } + + public BasicEventElementMetadataBuilder setMaxInterval(String maxInterval) { + this.maxInterval = maxInterval; + return this; + } + + public BasicEventElementMetadata build() { + return new BasicEventElementMetadata( + this.direction, + this.state, + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.messageTopic, + this.messageBroker, + this.lastUpdate, + this.minInterval, + this.maxInterval); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/BlobBuilder.java b/src/main/java/aas_core/aas3_2/generation/BlobBuilder.java new file mode 100644 index 00000000..a0520375 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/BlobBuilder.java @@ -0,0 +1,176 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the Blob type. */ +public class BlobBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * The value of the {@link aas_core.aas3_2.types.impl.Blob} instance of a blob data element. + * + *

In contrast to the file property the file content is stored directly as value in the {@link + * aas_core.aas3_2.types.impl.Blob} data element. + */ + private byte[] value; + + /** + * Content type of the content of the {@link aas_core.aas3_2.types.impl.Blob}. + * + *

The content type (MIME type) states which file extensions the file can have. + * + *

Valid values are content types like {@code application/json}, {@code application/xls}, + * {@code image/jpg}. + * + *

The allowed values are defined as in RFC2046. + */ + private String contentType; + + public BlobBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public BlobBuilder setCategory(String category) { + this.category = category; + return this; + } + + public BlobBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public BlobBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public BlobBuilder setDescription(List description) { + this.description = description; + return this; + } + + public BlobBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public BlobBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public BlobBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public BlobBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public BlobBuilder setValue(byte[] value) { + this.value = value; + return this; + } + + public BlobBuilder setContentType(String contentType) { + this.contentType = contentType; + return this; + } + + public Blob build() { + return new Blob( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.value, + this.contentType); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/BlobMetadataBuilder.java b/src/main/java/aas_core/aas3_2/generation/BlobMetadataBuilder.java new file mode 100644 index 00000000..3541cd0a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/BlobMetadataBuilder.java @@ -0,0 +1,144 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the BlobMetadata type. */ +public class BlobMetadataBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public BlobMetadataBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public BlobMetadataBuilder setCategory(String category) { + this.category = category; + return this; + } + + public BlobMetadataBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public BlobMetadataBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public BlobMetadataBuilder setDescription(List description) { + this.description = description; + return this; + } + + public BlobMetadataBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public BlobMetadataBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public BlobMetadataBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public BlobMetadataBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public BlobMetadata build() { + return new BlobMetadata( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/BlobValueBuilder.java b/src/main/java/aas_core/aas3_2/generation/BlobValueBuilder.java new file mode 100644 index 00000000..4dc62d23 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/BlobValueBuilder.java @@ -0,0 +1,33 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; + +/** Builder for the BlobValue type. */ +public class BlobValueBuilder { + /** The content type of the BLOB, e.g., {@code application/pdf}. */ + private String contentType; + + /** The BLOB content. */ + private byte[] value; + + public BlobValueBuilder setContentType(String contentType) { + this.contentType = contentType; + return this; + } + + public BlobValueBuilder setValue(byte[] value) { + this.value = value; + return this; + } + + public BlobValue build() { + return new BlobValue(this.contentType, this.value); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/CapabilityBuilder.java b/src/main/java/aas_core/aas3_2/generation/CapabilityBuilder.java new file mode 100644 index 00000000..45e363ce --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/CapabilityBuilder.java @@ -0,0 +1,144 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the Capability type. */ +public class CapabilityBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public CapabilityBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public CapabilityBuilder setCategory(String category) { + this.category = category; + return this; + } + + public CapabilityBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public CapabilityBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public CapabilityBuilder setDescription(List description) { + this.description = description; + return this; + } + + public CapabilityBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public CapabilityBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public CapabilityBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public CapabilityBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public Capability build() { + return new Capability( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/CapabilityMetadataBuilder.java b/src/main/java/aas_core/aas3_2/generation/CapabilityMetadataBuilder.java new file mode 100644 index 00000000..3d470396 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/CapabilityMetadataBuilder.java @@ -0,0 +1,145 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the CapabilityMetadata type. */ +public class CapabilityMetadataBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public CapabilityMetadataBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public CapabilityMetadataBuilder setCategory(String category) { + this.category = category; + return this; + } + + public CapabilityMetadataBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public CapabilityMetadataBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public CapabilityMetadataBuilder setDescription(List description) { + this.description = description; + return this; + } + + public CapabilityMetadataBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public CapabilityMetadataBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public CapabilityMetadataBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public CapabilityMetadataBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public CapabilityMetadata build() { + return new CapabilityMetadata( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/ConceptDescriptionBuilder.java b/src/main/java/aas_core/aas3_2/generation/ConceptDescriptionBuilder.java new file mode 100644 index 00000000..54c099ef --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/ConceptDescriptionBuilder.java @@ -0,0 +1,138 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the ConceptDescription type. */ +public class ConceptDescriptionBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Administrative information of an identifiable element. + * + *

Some of the administrative information like the version number might need to be part of the + * identification. + */ + private IAdministrativeInformation administration; + + /** The globally unique identification of the element. */ + private String id; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * Reference to an external definition the concept is compatible to or was derived from. + * + *

Compare with is-case-of relationship in ISO 13584-32 & IEC EN 61360 + */ + private List isCaseOf; + + public ConceptDescriptionBuilder(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + public ConceptDescriptionBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public ConceptDescriptionBuilder setCategory(String category) { + this.category = category; + return this; + } + + public ConceptDescriptionBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public ConceptDescriptionBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public ConceptDescriptionBuilder setDescription(List description) { + this.description = description; + return this; + } + + public ConceptDescriptionBuilder setAdministration(IAdministrativeInformation administration) { + this.administration = administration; + return this; + } + + public ConceptDescriptionBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public ConceptDescriptionBuilder setIsCaseOf(List isCaseOf) { + this.isCaseOf = isCaseOf; + return this; + } + + public ConceptDescription build() { + return new ConceptDescription( + this.id, + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.administration, + this.embeddedDataSpecifications, + this.isCaseOf); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/DataSpecificationIec61360Builder.java b/src/main/java/aas_core/aas3_2/generation/DataSpecificationIec61360Builder.java new file mode 100644 index 00000000..3d85ebe6 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/DataSpecificationIec61360Builder.java @@ -0,0 +1,154 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the DataSpecificationIec61360 type. */ +public class DataSpecificationIec61360Builder { + /** + * Preferred name + * + *

It is advised to keep the length of the name limited to 35 characters. + * + *

Constraints: + * + *

    + *
  • Constraint AASc-3a-002: {@link + * aas_core.aas3_2.types.impl.DataSpecificationIec61360#getPreferredName()} shall be + * provided at least in English. + *
+ */ + private List preferredName; + + /** Short name */ + private List shortName; + + /** Unit */ + private String unit; + + /** + * Unique unit id + * + *

{@link aas_core.aas3_2.types.impl.DataSpecificationIec61360#getUnit()} and {@link + * aas_core.aas3_2.types.impl.DataSpecificationIec61360#getUnitId()} need to be consistent if both + * attributes are set + * + *

It is recommended to use an external reference ID. + */ + private IReference unitId; + + /** Source of definition */ + private String sourceOfDefinition; + + /** Symbol */ + private String symbol; + + /** Data Type */ + private DataTypeIec61360 dataType; + + /** Definition in different languages */ + private List definition; + + /** + * Value Format + * + *

The value format is based on ISO 13584-42 and IEC 61360-2. + */ + private String valueFormat; + + /** List of allowed values */ + private IValueList valueList; + + /** Value */ + private String value; + + /** Set of levels. */ + private ILevelType levelType; + + public DataSpecificationIec61360Builder( + List preferredName) { + this.preferredName = + Objects.requireNonNull(preferredName, "Argument \"preferredName\" must be non-null."); + } + + public DataSpecificationIec61360Builder setShortName( + List shortName) { + this.shortName = shortName; + return this; + } + + public DataSpecificationIec61360Builder setUnit(String unit) { + this.unit = unit; + return this; + } + + public DataSpecificationIec61360Builder setUnitId(IReference unitId) { + this.unitId = unitId; + return this; + } + + public DataSpecificationIec61360Builder setSourceOfDefinition(String sourceOfDefinition) { + this.sourceOfDefinition = sourceOfDefinition; + return this; + } + + public DataSpecificationIec61360Builder setSymbol(String symbol) { + this.symbol = symbol; + return this; + } + + public DataSpecificationIec61360Builder setDataType(DataTypeIec61360 dataType) { + this.dataType = dataType; + return this; + } + + public DataSpecificationIec61360Builder setDefinition( + List definition) { + this.definition = definition; + return this; + } + + public DataSpecificationIec61360Builder setValueFormat(String valueFormat) { + this.valueFormat = valueFormat; + return this; + } + + public DataSpecificationIec61360Builder setValueList(IValueList valueList) { + this.valueList = valueList; + return this; + } + + public DataSpecificationIec61360Builder setValue(String value) { + this.value = value; + return this; + } + + public DataSpecificationIec61360Builder setLevelType(ILevelType levelType) { + this.levelType = levelType; + return this; + } + + public DataSpecificationIec61360 build() { + return new DataSpecificationIec61360( + this.preferredName, + this.shortName, + this.unit, + this.unitId, + this.sourceOfDefinition, + this.symbol, + this.dataType, + this.definition, + this.valueFormat, + this.valueList, + this.value, + this.levelType); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/DataSpecificationUomBuilder.java b/src/main/java/aas_core/aas3_2/generation/DataSpecificationUomBuilder.java new file mode 100644 index 00000000..bfa6cc2a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/DataSpecificationUomBuilder.java @@ -0,0 +1,121 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the DataSpecificationUom type. */ +public class DataSpecificationUomBuilder { + /** Preferred name of the unit in different languages as defined by the classification system. */ + private List preferredName; + + /** Symbol of the unit. */ + private String symbol; + + /** + * ID of the unit defined by the classification system. + * + *

This is relevant if the classification system references the unit differently from the + * concept description ID. + */ + private String specificUnitId; + + /** Definition of the unit in different languages. */ + private List definition; + + /** + * Preferred name of the unit's quantity in different languages as defined by the classification + * system. + * + *

{@link aas_core.aas3_2.types.impl.DataSpecificationUom#getPreferredNameQuantity()} and + * {@link aas_core.aas3_2.types.impl.DataSpecificationUom#getQuantityId()} must be consistent if + * both attributes are set. + * + *

If the classification system lists multiple quantities for the unit, exactly one of those + * quantities must be selected in accordance with the properties purpose. + */ + private List preferredNameQuantity; + + /** + * ID of the unit's quantity. + * + *

{@link aas_core.aas3_2.types.impl.DataSpecificationUom#getPreferredNameQuantity()} and + * {@link aas_core.aas3_2.types.impl.DataSpecificationUom#getQuantityId()} must be consistent if + * both attributes are set. + */ + private String quantityId; + + /** + * Name of the classification system used for the definition of units and quantities. + * + *

The most prominent classification systems should be denoted as follows: "ECLASS", "IEC CDD", + * "UNECE Rec 20", "UNECE Rec 21", "BIPM", "OPC UA", "SAMM". + * + *

This list is not exclusive. + */ + private String classificationSystem; + + /** + * Version of the classification system used for the definition of units and quantities. + * + *

The version shshould be denoted exactly as provided by the classification system. + */ + private String classificationSystemVersion; + + public DataSpecificationUomBuilder(List preferredName, String symbol) { + this.preferredName = + Objects.requireNonNull(preferredName, "Argument \"preferredName\" must be non-null."); + this.symbol = Objects.requireNonNull(symbol, "Argument \"symbol\" must be non-null."); + } + + public DataSpecificationUomBuilder setSpecificUnitId(String specificUnitId) { + this.specificUnitId = specificUnitId; + return this; + } + + public DataSpecificationUomBuilder setDefinition(List definition) { + this.definition = definition; + return this; + } + + public DataSpecificationUomBuilder setPreferredNameQuantity( + List preferredNameQuantity) { + this.preferredNameQuantity = preferredNameQuantity; + return this; + } + + public DataSpecificationUomBuilder setQuantityId(String quantityId) { + this.quantityId = quantityId; + return this; + } + + public DataSpecificationUomBuilder setClassificationSystem(String classificationSystem) { + this.classificationSystem = classificationSystem; + return this; + } + + public DataSpecificationUomBuilder setClassificationSystemVersion( + String classificationSystemVersion) { + this.classificationSystemVersion = classificationSystemVersion; + return this; + } + + public DataSpecificationUom build() { + return new DataSpecificationUom( + this.preferredName, + this.symbol, + this.specificUnitId, + this.definition, + this.preferredNameQuantity, + this.quantityId, + this.classificationSystem, + this.classificationSystemVersion); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/EntityBuilder.java b/src/main/java/aas_core/aas3_2/generation/EntityBuilder.java new file mode 100644 index 00000000..c994e1bc --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/EntityBuilder.java @@ -0,0 +1,186 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the Entity type. */ +public class EntityBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * Statement applicable to the entity, each statement described by a {@link + * aas_core.aas3_2.types.model.ISubmodelElement} - typically with a qualified value. + */ + private List statements; + + /** Describes whether the entity is a co-managed entity or a self-managed entity. */ + private EntityType entityType; + + /** Global identifier of the asset the entity is representing. */ + private String globalAssetId; + + /** + * Reference to a specific asset ID representing a supplementary identifier of the asset + * represented by the Asset Administration Shell. + */ + private List specificAssetIds; + + public EntityBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public EntityBuilder setCategory(String category) { + this.category = category; + return this; + } + + public EntityBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public EntityBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public EntityBuilder setDescription(List description) { + this.description = description; + return this; + } + + public EntityBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public EntityBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public EntityBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public EntityBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public EntityBuilder setStatements(List statements) { + this.statements = statements; + return this; + } + + public EntityBuilder setEntityType(EntityType entityType) { + this.entityType = entityType; + return this; + } + + public EntityBuilder setGlobalAssetId(String globalAssetId) { + this.globalAssetId = globalAssetId; + return this; + } + + public EntityBuilder setSpecificAssetIds(List specificAssetIds) { + this.specificAssetIds = specificAssetIds; + return this; + } + + public Entity build() { + return new Entity( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.statements, + this.entityType, + this.globalAssetId, + this.specificAssetIds); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/EntityMetadataBuilder.java b/src/main/java/aas_core/aas3_2/generation/EntityMetadataBuilder.java new file mode 100644 index 00000000..d3360454 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/EntityMetadataBuilder.java @@ -0,0 +1,145 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the EntityMetadata type. */ +public class EntityMetadataBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public EntityMetadataBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public EntityMetadataBuilder setCategory(String category) { + this.category = category; + return this; + } + + public EntityMetadataBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public EntityMetadataBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public EntityMetadataBuilder setDescription(List description) { + this.description = description; + return this; + } + + public EntityMetadataBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public EntityMetadataBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public EntityMetadataBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public EntityMetadataBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public EntityMetadata build() { + return new EntityMetadata( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/EntityValueBuilder.java b/src/main/java/aas_core/aas3_2/generation/EntityValueBuilder.java new file mode 100644 index 00000000..61f0f0f4 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/EntityValueBuilder.java @@ -0,0 +1,60 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.List; + +/** Builder for the EntityValue type. */ +public class EntityValueBuilder { + /** Describes whether the entity is a co-managed entity or a self-managed entity. */ + private EntityType entityType; + + /** Global identifier of the asset the entity is representing. */ + private String globalAssetId; + + /** + * Additional domain-specific, typically proprietary identifiers for the asset, each given as a + * single-entry JSON object mapping the {@link + * aas_core.aas3_2.types.impl.SpecificAssetId#getName()} to the {@link + * aas_core.aas3_2.types.impl.SpecificAssetId#getValue()}. + */ + private List specificAssetIds; + + /** + * Describes statements applicable to the entity by a set of submodel elements, typically with a + * qualified value. + */ + private ObjectNode statements; + + public EntityValueBuilder setEntityType(EntityType entityType) { + this.entityType = entityType; + return this; + } + + public EntityValueBuilder setGlobalAssetId(String globalAssetId) { + this.globalAssetId = globalAssetId; + return this; + } + + public EntityValueBuilder setSpecificAssetIds(List specificAssetIds) { + this.specificAssetIds = specificAssetIds; + return this; + } + + public EntityValueBuilder setStatements(ObjectNode statements) { + this.statements = statements; + return this; + } + + public EntityValue build() { + return new EntityValue( + this.entityType, this.globalAssetId, this.specificAssetIds, this.statements); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/EnvironmentBuilder.java b/src/main/java/aas_core/aas3_2/generation/EnvironmentBuilder.java new file mode 100644 index 00000000..93891933 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/EnvironmentBuilder.java @@ -0,0 +1,44 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the Environment type. */ +public class EnvironmentBuilder { + /** Asset Administration Shell */ + private List assetAdministrationShells; + + /** Submodel */ + private List submodels; + + /** Concept description */ + private List conceptDescriptions; + + public EnvironmentBuilder setAssetAdministrationShells( + List assetAdministrationShells) { + this.assetAdministrationShells = assetAdministrationShells; + return this; + } + + public EnvironmentBuilder setSubmodels(List submodels) { + this.submodels = submodels; + return this; + } + + public EnvironmentBuilder setConceptDescriptions(List conceptDescriptions) { + this.conceptDescriptions = conceptDescriptions; + return this; + } + + public Environment build() { + return new Environment( + this.assetAdministrationShells, this.submodels, this.conceptDescriptions); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/EventPayloadBuilder.java b/src/main/java/aas_core/aas3_2/generation/EventPayloadBuilder.java new file mode 100644 index 00000000..e3c59ace --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/EventPayloadBuilder.java @@ -0,0 +1,100 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.Objects; + +/** Builder for the EventPayload type. */ +public class EventPayloadBuilder { + /** Reference to the source event element. */ + private IReference source; + + /** + * {@link aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} of the source event element, + * if available + * + *

It is recommended to use an external reference. + */ + private IReference sourceSemanticId; + + /** Reference to the referable, which defines the scope of the event. */ + private IReference observableReference; + + /** + * {@link aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} of the referable which + * defines the scope of the event, if available. + * + *

It is recommended to use an external reference. + */ + private IReference observableSemanticId; + + /** + * Information for the outer message infrastructure to schedule the event for the respective + * communication channel. + */ + private String topic; + + /** + * Subject, who/which initiated the creation. + * + *

This is an external reference. + */ + private IReference subjectId; + + /** Timestamp in UTC, when this event was triggered. */ + private String timeStamp; + + /** Event-specific payload. */ + private byte[] payload; + + public EventPayloadBuilder(IReference source, IReference observableReference, String timeStamp) { + this.source = Objects.requireNonNull(source, "Argument \"source\" must be non-null."); + this.observableReference = + Objects.requireNonNull( + observableReference, "Argument \"observableReference\" must be non-null."); + this.timeStamp = Objects.requireNonNull(timeStamp, "Argument \"timeStamp\" must be non-null."); + } + + public EventPayloadBuilder setSourceSemanticId(IReference sourceSemanticId) { + this.sourceSemanticId = sourceSemanticId; + return this; + } + + public EventPayloadBuilder setObservableSemanticId(IReference observableSemanticId) { + this.observableSemanticId = observableSemanticId; + return this; + } + + public EventPayloadBuilder setTopic(String topic) { + this.topic = topic; + return this; + } + + public EventPayloadBuilder setSubjectId(IReference subjectId) { + this.subjectId = subjectId; + return this; + } + + public EventPayloadBuilder setPayload(byte[] payload) { + this.payload = payload; + return this; + } + + public EventPayload build() { + return new EventPayload( + this.source, + this.observableReference, + this.timeStamp, + this.sourceSemanticId, + this.observableSemanticId, + this.topic, + this.subjectId, + this.payload); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/ExtensionBuilder.java b/src/main/java/aas_core/aas3_2/generation/ExtensionBuilder.java new file mode 100644 index 00000000..5d9536a8 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/ExtensionBuilder.java @@ -0,0 +1,92 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the Extension type. */ +public class ExtensionBuilder { + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Name of the extension. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-077: The name of an extension (Extension/name) within {@link + * aas_core.aas3_2.types.model.IHasExtensions} needs to be unique. + *
+ */ + private String name; + + /** + * Data type of the {@link aas_core.aas3_2.types.impl.Extension#getValue()} attribute of the + * extension. + * + *

Default: {@link aas_core.aas3_2.types.enums.DataTypeDefXsd#STRING} + */ + private DataTypeDefXsd valueType; + + /** Value of the extension */ + private String value; + + /** Reference to an element the extension refers to. */ + private List refersTo; + + public ExtensionBuilder(String name) { + this.name = Objects.requireNonNull(name, "Argument \"name\" must be non-null."); + } + + public ExtensionBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public ExtensionBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public ExtensionBuilder setValueType(DataTypeDefXsd valueType) { + this.valueType = valueType; + return this; + } + + public ExtensionBuilder setValue(String value) { + this.value = value; + return this; + } + + public ExtensionBuilder setRefersTo(List refersTo) { + this.refersTo = refersTo; + return this; + } + + public Extension build() { + return new Extension( + this.name, + this.semanticId, + this.supplementalSemanticIds, + this.valueType, + this.value, + this.refersTo); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/FileBuilder.java b/src/main/java/aas_core/aas3_2/generation/FileBuilder.java new file mode 100644 index 00000000..76ac7b13 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/FileBuilder.java @@ -0,0 +1,166 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the File type. */ +public class FileBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * Path and name of the file (with file extension). + * + *

The path can be absolute or relative. + */ + private String value; + + /** Content type of the content of the file. */ + private String contentType; + + public FileBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public FileBuilder setCategory(String category) { + this.category = category; + return this; + } + + public FileBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public FileBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public FileBuilder setDescription(List description) { + this.description = description; + return this; + } + + public FileBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public FileBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public FileBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public FileBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public FileBuilder setValue(String value) { + this.value = value; + return this; + } + + public FileBuilder setContentType(String contentType) { + this.contentType = contentType; + return this; + } + + public File build() { + return new File( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.value, + this.contentType); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/FileMetadataBuilder.java b/src/main/java/aas_core/aas3_2/generation/FileMetadataBuilder.java new file mode 100644 index 00000000..c0abf275 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/FileMetadataBuilder.java @@ -0,0 +1,144 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the FileMetadata type. */ +public class FileMetadataBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public FileMetadataBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public FileMetadataBuilder setCategory(String category) { + this.category = category; + return this; + } + + public FileMetadataBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public FileMetadataBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public FileMetadataBuilder setDescription(List description) { + this.description = description; + return this; + } + + public FileMetadataBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public FileMetadataBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public FileMetadataBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public FileMetadataBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public FileMetadata build() { + return new FileMetadata( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/FileValueBuilder.java b/src/main/java/aas_core/aas3_2/generation/FileValueBuilder.java new file mode 100644 index 00000000..8bb1cd5d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/FileValueBuilder.java @@ -0,0 +1,33 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; + +/** Builder for the FileValue type. */ +public class FileValueBuilder { + /** The content type of the file, e.g., {@code application/pdf}. */ + private String contentType; + + /** The path or URL to the file content. */ + private String value; + + public FileValueBuilder setContentType(String contentType) { + this.contentType = contentType; + return this; + } + + public FileValueBuilder setValue(String value) { + this.value = value; + return this; + } + + public FileValue build() { + return new FileValue(this.contentType, this.value); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/GetAllAssetAdministrationShellsRecentChangesResultBuilder.java b/src/main/java/aas_core/aas3_2/generation/GetAllAssetAdministrationShellsRecentChangesResultBuilder.java new file mode 100644 index 00000000..f107d644 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/GetAllAssetAdministrationShellsRecentChangesResultBuilder.java @@ -0,0 +1,38 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the GetAllAssetAdministrationShellsRecentChangesResult type. */ +public class GetAllAssetAdministrationShellsRecentChangesResultBuilder { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetAllAssetAdministrationShellsRecentChangesResultBuilder(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetAllAssetAdministrationShellsRecentChangesResultBuilder setResult( + List result) { + this.result = result; + return this; + } + + public GetAllAssetAdministrationShellsRecentChangesResult build() { + return new GetAllAssetAdministrationShellsRecentChangesResult(this.pagingMetadata, this.result); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/GetAllConceptDescriptionsRecentChangesResultBuilder.java b/src/main/java/aas_core/aas3_2/generation/GetAllConceptDescriptionsRecentChangesResultBuilder.java new file mode 100644 index 00000000..96271094 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/GetAllConceptDescriptionsRecentChangesResultBuilder.java @@ -0,0 +1,38 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the GetAllConceptDescriptionsRecentChangesResult type. */ +public class GetAllConceptDescriptionsRecentChangesResultBuilder { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetAllConceptDescriptionsRecentChangesResultBuilder(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetAllConceptDescriptionsRecentChangesResultBuilder setResult( + List result) { + this.result = result; + return this; + } + + public GetAllConceptDescriptionsRecentChangesResult build() { + return new GetAllConceptDescriptionsRecentChangesResult(this.pagingMetadata, this.result); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/GetAllSubmodelsRecentChangesResultBuilder.java b/src/main/java/aas_core/aas3_2/generation/GetAllSubmodelsRecentChangesResultBuilder.java new file mode 100644 index 00000000..4cb1c67b --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/GetAllSubmodelsRecentChangesResultBuilder.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the GetAllSubmodelsRecentChangesResult type. */ +public class GetAllSubmodelsRecentChangesResultBuilder { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetAllSubmodelsRecentChangesResultBuilder(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetAllSubmodelsRecentChangesResultBuilder setResult(List result) { + this.result = result; + return this; + } + + public GetAllSubmodelsRecentChangesResult build() { + return new GetAllSubmodelsRecentChangesResult(this.pagingMetadata, this.result); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/GetAssetAdministrationShellDescriptorsResultBuilder.java b/src/main/java/aas_core/aas3_2/generation/GetAssetAdministrationShellDescriptorsResultBuilder.java new file mode 100644 index 00000000..65d1ffdb --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/GetAssetAdministrationShellDescriptorsResultBuilder.java @@ -0,0 +1,38 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the GetAssetAdministrationShellDescriptorsResult type. */ +public class GetAssetAdministrationShellDescriptorsResultBuilder { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetAssetAdministrationShellDescriptorsResultBuilder(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetAssetAdministrationShellDescriptorsResultBuilder setResult( + List result) { + this.result = result; + return this; + } + + public GetAssetAdministrationShellDescriptorsResult build() { + return new GetAssetAdministrationShellDescriptorsResult(this.pagingMetadata, this.result); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/GetAssetAdministrationShellsMetadataResultBuilder.java b/src/main/java/aas_core/aas3_2/generation/GetAssetAdministrationShellsMetadataResultBuilder.java new file mode 100644 index 00000000..8bfc2732 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/GetAssetAdministrationShellsMetadataResultBuilder.java @@ -0,0 +1,38 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the GetAssetAdministrationShellsMetadataResult type. */ +public class GetAssetAdministrationShellsMetadataResultBuilder { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetAssetAdministrationShellsMetadataResultBuilder(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetAssetAdministrationShellsMetadataResultBuilder setResult( + List result) { + this.result = result; + return this; + } + + public GetAssetAdministrationShellsMetadataResult build() { + return new GetAssetAdministrationShellsMetadataResult(this.pagingMetadata, this.result); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/GetAssetAdministrationShellsResultBuilder.java b/src/main/java/aas_core/aas3_2/generation/GetAssetAdministrationShellsResultBuilder.java new file mode 100644 index 00000000..76c3e004 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/GetAssetAdministrationShellsResultBuilder.java @@ -0,0 +1,38 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the GetAssetAdministrationShellsResult type. */ +public class GetAssetAdministrationShellsResultBuilder { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetAssetAdministrationShellsResultBuilder(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetAssetAdministrationShellsResultBuilder setResult( + List result) { + this.result = result; + return this; + } + + public GetAssetAdministrationShellsResult build() { + return new GetAssetAdministrationShellsResult(this.pagingMetadata, this.result); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/GetConceptDescriptionsResultBuilder.java b/src/main/java/aas_core/aas3_2/generation/GetConceptDescriptionsResultBuilder.java new file mode 100644 index 00000000..424028fa --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/GetConceptDescriptionsResultBuilder.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the GetConceptDescriptionsResult type. */ +public class GetConceptDescriptionsResultBuilder { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetConceptDescriptionsResultBuilder(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetConceptDescriptionsResultBuilder setResult(List result) { + this.result = result; + return this; + } + + public GetConceptDescriptionsResult build() { + return new GetConceptDescriptionsResult(this.pagingMetadata, this.result); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/GetPackageDescriptionsResultBuilder.java b/src/main/java/aas_core/aas3_2/generation/GetPackageDescriptionsResultBuilder.java new file mode 100644 index 00000000..e92b45b6 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/GetPackageDescriptionsResultBuilder.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the GetPackageDescriptionsResult type. */ +public class GetPackageDescriptionsResultBuilder { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetPackageDescriptionsResultBuilder(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetPackageDescriptionsResultBuilder setResult(List result) { + this.result = result; + return this; + } + + public GetPackageDescriptionsResult build() { + return new GetPackageDescriptionsResult(this.pagingMetadata, this.result); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/GetPathItemsResultBuilder.java b/src/main/java/aas_core/aas3_2/generation/GetPathItemsResultBuilder.java new file mode 100644 index 00000000..19fba480 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/GetPathItemsResultBuilder.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the GetPathItemsResult type. */ +public class GetPathItemsResultBuilder { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetPathItemsResultBuilder(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetPathItemsResultBuilder setResult(List result) { + this.result = result; + return this; + } + + public GetPathItemsResult build() { + return new GetPathItemsResult(this.pagingMetadata, this.result); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/GetReferencesResultBuilder.java b/src/main/java/aas_core/aas3_2/generation/GetReferencesResultBuilder.java new file mode 100644 index 00000000..5d62409f --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/GetReferencesResultBuilder.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the GetReferencesResult type. */ +public class GetReferencesResultBuilder { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetReferencesResultBuilder(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetReferencesResultBuilder setResult(List result) { + this.result = result; + return this; + } + + public GetReferencesResult build() { + return new GetReferencesResult(this.pagingMetadata, this.result); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/GetSubmodelDescriptorsResultBuilder.java b/src/main/java/aas_core/aas3_2/generation/GetSubmodelDescriptorsResultBuilder.java new file mode 100644 index 00000000..6597a400 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/GetSubmodelDescriptorsResultBuilder.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the GetSubmodelDescriptorsResult type. */ +public class GetSubmodelDescriptorsResultBuilder { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetSubmodelDescriptorsResultBuilder(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetSubmodelDescriptorsResultBuilder setResult(List result) { + this.result = result; + return this; + } + + public GetSubmodelDescriptorsResult build() { + return new GetSubmodelDescriptorsResult(this.pagingMetadata, this.result); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/GetSubmodelElementsMetadataResultBuilder.java b/src/main/java/aas_core/aas3_2/generation/GetSubmodelElementsMetadataResultBuilder.java new file mode 100644 index 00000000..31f51d84 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/GetSubmodelElementsMetadataResultBuilder.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the GetSubmodelElementsMetadataResult type. */ +public class GetSubmodelElementsMetadataResultBuilder { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetSubmodelElementsMetadataResultBuilder(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetSubmodelElementsMetadataResultBuilder setResult(List result) { + this.result = result; + return this; + } + + public GetSubmodelElementsMetadataResult build() { + return new GetSubmodelElementsMetadataResult(this.pagingMetadata, this.result); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/GetSubmodelElementsResultBuilder.java b/src/main/java/aas_core/aas3_2/generation/GetSubmodelElementsResultBuilder.java new file mode 100644 index 00000000..7f1ae3fb --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/GetSubmodelElementsResultBuilder.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the GetSubmodelElementsResult type. */ +public class GetSubmodelElementsResultBuilder { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetSubmodelElementsResultBuilder(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetSubmodelElementsResultBuilder setResult(List result) { + this.result = result; + return this; + } + + public GetSubmodelElementsResult build() { + return new GetSubmodelElementsResult(this.pagingMetadata, this.result); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/GetSubmodelElementsValueResultBuilder.java b/src/main/java/aas_core/aas3_2/generation/GetSubmodelElementsValueResultBuilder.java new file mode 100644 index 00000000..f5f63278 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/GetSubmodelElementsValueResultBuilder.java @@ -0,0 +1,38 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.List; +import java.util.Objects; + +/** Builder for the GetSubmodelElementsValueResult type. */ +public class GetSubmodelElementsValueResultBuilder { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetSubmodelElementsValueResultBuilder(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetSubmodelElementsValueResultBuilder setResult(List result) { + this.result = result; + return this; + } + + public GetSubmodelElementsValueResult build() { + return new GetSubmodelElementsValueResult(this.pagingMetadata, this.result); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/GetSubmodelsMetadataResultBuilder.java b/src/main/java/aas_core/aas3_2/generation/GetSubmodelsMetadataResultBuilder.java new file mode 100644 index 00000000..26cfc7e4 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/GetSubmodelsMetadataResultBuilder.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the GetSubmodelsMetadataResult type. */ +public class GetSubmodelsMetadataResultBuilder { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetSubmodelsMetadataResultBuilder(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetSubmodelsMetadataResultBuilder setResult(List result) { + this.result = result; + return this; + } + + public GetSubmodelsMetadataResult build() { + return new GetSubmodelsMetadataResult(this.pagingMetadata, this.result); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/GetSubmodelsResultBuilder.java b/src/main/java/aas_core/aas3_2/generation/GetSubmodelsResultBuilder.java new file mode 100644 index 00000000..58412cfc --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/GetSubmodelsResultBuilder.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the GetSubmodelsResult type. */ +public class GetSubmodelsResultBuilder { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetSubmodelsResultBuilder(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetSubmodelsResultBuilder setResult(List result) { + this.result = result; + return this; + } + + public GetSubmodelsResult build() { + return new GetSubmodelsResult(this.pagingMetadata, this.result); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/GetSubmodelsValueResultBuilder.java b/src/main/java/aas_core/aas3_2/generation/GetSubmodelsValueResultBuilder.java new file mode 100644 index 00000000..d70c15e4 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/GetSubmodelsValueResultBuilder.java @@ -0,0 +1,38 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.List; +import java.util.Objects; + +/** Builder for the GetSubmodelsValueResult type. */ +public class GetSubmodelsValueResultBuilder { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetSubmodelsValueResultBuilder(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetSubmodelsValueResultBuilder setResult(List result) { + this.result = result; + return this; + } + + public GetSubmodelsValueResult build() { + return new GetSubmodelsValueResult(this.pagingMetadata, this.result); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/MessageBuilder.java b/src/main/java/aas_core/aas3_2/generation/MessageBuilder.java new file mode 100644 index 00000000..b4dbc255 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/MessageBuilder.java @@ -0,0 +1,54 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.Objects; + +/** Builder for the Message type. */ +public class MessageBuilder { + /** The message type */ + private MessageTypeEnum messageType; + + /** The message text */ + private String text; + + /** Technology-dependent status or error code */ + private String code; + + /** Identifier to relate several result messages throughout several systems */ + private String correlationId; + + /** Timestamp of the message */ + private String timestamp; + + public MessageBuilder(MessageTypeEnum messageType, String text) { + this.messageType = + Objects.requireNonNull(messageType, "Argument \"messageType\" must be non-null."); + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + public MessageBuilder setCode(String code) { + this.code = code; + return this; + } + + public MessageBuilder setCorrelationId(String correlationId) { + this.correlationId = correlationId; + return this; + } + + public MessageBuilder setTimestamp(String timestamp) { + this.timestamp = timestamp; + return this; + } + + public Message build() { + return new Message(this.messageType, this.text, this.code, this.correlationId, this.timestamp); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/MultiLanguagePropertyBuilder.java b/src/main/java/aas_core/aas3_2/generation/MultiLanguagePropertyBuilder.java new file mode 100644 index 00000000..7b317446 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/MultiLanguagePropertyBuilder.java @@ -0,0 +1,163 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the MultiLanguageProperty type. */ +public class MultiLanguagePropertyBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** The value of the property instance. */ + private List value; + + /** Reference to the global unique ID of a coded value. */ + private IReference valueId; + + public MultiLanguagePropertyBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public MultiLanguagePropertyBuilder setCategory(String category) { + this.category = category; + return this; + } + + public MultiLanguagePropertyBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public MultiLanguagePropertyBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public MultiLanguagePropertyBuilder setDescription(List description) { + this.description = description; + return this; + } + + public MultiLanguagePropertyBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public MultiLanguagePropertyBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public MultiLanguagePropertyBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public MultiLanguagePropertyBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public MultiLanguagePropertyBuilder setValue(List value) { + this.value = value; + return this; + } + + public MultiLanguagePropertyBuilder setValueId(IReference valueId) { + this.valueId = valueId; + return this; + } + + public MultiLanguageProperty build() { + return new MultiLanguageProperty( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.value, + this.valueId); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/MultiLanguagePropertyMetadataBuilder.java b/src/main/java/aas_core/aas3_2/generation/MultiLanguagePropertyMetadataBuilder.java new file mode 100644 index 00000000..becb4af0 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/MultiLanguagePropertyMetadataBuilder.java @@ -0,0 +1,147 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the MultiLanguagePropertyMetadata type. */ +public class MultiLanguagePropertyMetadataBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public MultiLanguagePropertyMetadataBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public MultiLanguagePropertyMetadataBuilder setCategory(String category) { + this.category = category; + return this; + } + + public MultiLanguagePropertyMetadataBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public MultiLanguagePropertyMetadataBuilder setDisplayName( + List displayName) { + this.displayName = displayName; + return this; + } + + public MultiLanguagePropertyMetadataBuilder setDescription( + List description) { + this.description = description; + return this; + } + + public MultiLanguagePropertyMetadataBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public MultiLanguagePropertyMetadataBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public MultiLanguagePropertyMetadataBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public MultiLanguagePropertyMetadataBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public MultiLanguagePropertyMetadata build() { + return new MultiLanguagePropertyMetadata( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/OperationBuilder.java b/src/main/java/aas_core/aas3_2/generation/OperationBuilder.java new file mode 100644 index 00000000..856ab3dd --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/OperationBuilder.java @@ -0,0 +1,177 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the Operation type. */ +public class OperationBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Input parameter of the operation. */ + private List inputVariables; + + /** Output parameter of the operation. */ + private List outputVariables; + + /** + * Parameter that is input and output of the operation. + * + *

In embedded systems inoutput variables are variables that can be read but that are also + * written by the system. Typically, this is implemented via a pointer (i.e. 'by reference' + * instead of 'by value'). + */ + private List inoutputVariables; + + public OperationBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public OperationBuilder setCategory(String category) { + this.category = category; + return this; + } + + public OperationBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public OperationBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public OperationBuilder setDescription(List description) { + this.description = description; + return this; + } + + public OperationBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public OperationBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public OperationBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public OperationBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public OperationBuilder setInputVariables(List inputVariables) { + this.inputVariables = inputVariables; + return this; + } + + public OperationBuilder setOutputVariables(List outputVariables) { + this.outputVariables = outputVariables; + return this; + } + + public OperationBuilder setInoutputVariables(List inoutputVariables) { + this.inoutputVariables = inoutputVariables; + return this; + } + + public Operation build() { + return new Operation( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.inputVariables, + this.outputVariables, + this.inoutputVariables); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/OperationMetadataBuilder.java b/src/main/java/aas_core/aas3_2/generation/OperationMetadataBuilder.java new file mode 100644 index 00000000..9b94868f --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/OperationMetadataBuilder.java @@ -0,0 +1,145 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the OperationMetadata type. */ +public class OperationMetadataBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public OperationMetadataBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public OperationMetadataBuilder setCategory(String category) { + this.category = category; + return this; + } + + public OperationMetadataBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public OperationMetadataBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public OperationMetadataBuilder setDescription(List description) { + this.description = description; + return this; + } + + public OperationMetadataBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public OperationMetadataBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public OperationMetadataBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public OperationMetadataBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public OperationMetadata build() { + return new OperationMetadata( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/OperationRequestAsyncBuilder.java b/src/main/java/aas_core/aas3_2/generation/OperationRequestAsyncBuilder.java new file mode 100644 index 00000000..8648976f --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/OperationRequestAsyncBuilder.java @@ -0,0 +1,50 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the OperationRequestAsync type. */ +public class OperationRequestAsyncBuilder { + /** Input argument */ + private List inputArguments; + + /** InOutput argument */ + private List inoutputArguments; + + /** + * Duration indicating when the client suggests the server to have finished execution of the + * invoked operation. The server may take this value into account to decide on its effective + * timeout, however, the server may or may not use by its own discretion. + */ + private String clientTimeoutDuration; + + public OperationRequestAsyncBuilder(String clientTimeoutDuration) { + this.clientTimeoutDuration = + Objects.requireNonNull( + clientTimeoutDuration, "Argument \"clientTimeoutDuration\" must be non-null."); + } + + public OperationRequestAsyncBuilder setInputArguments(List inputArguments) { + this.inputArguments = inputArguments; + return this; + } + + public OperationRequestAsyncBuilder setInoutputArguments( + List inoutputArguments) { + this.inoutputArguments = inoutputArguments; + return this; + } + + public OperationRequestAsync build() { + return new OperationRequestAsync( + this.clientTimeoutDuration, this.inputArguments, this.inoutputArguments); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/OperationRequestAsyncValueOnlyBuilder.java b/src/main/java/aas_core/aas3_2/generation/OperationRequestAsyncValueOnlyBuilder.java new file mode 100644 index 00000000..677c0255 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/OperationRequestAsyncValueOnlyBuilder.java @@ -0,0 +1,49 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.Objects; + +/** Builder for the OperationRequestAsyncValueOnly type. */ +public class OperationRequestAsyncValueOnlyBuilder { + /** Input argument */ + private ObjectNode inputArguments; + + /** InOutput argument */ + private ObjectNode inoutputArguments; + + /** + * Duration indicating when the client suggests the server to have finished execution of the + * invoked operation. The server may take this value into account to decide on its effective + * timeout, however, the server may or may not use by its own discretion. + */ + private String clientTimeoutDuration; + + public OperationRequestAsyncValueOnlyBuilder(String clientTimeoutDuration) { + this.clientTimeoutDuration = + Objects.requireNonNull( + clientTimeoutDuration, "Argument \"clientTimeoutDuration\" must be non-null."); + } + + public OperationRequestAsyncValueOnlyBuilder setInputArguments(ObjectNode inputArguments) { + this.inputArguments = inputArguments; + return this; + } + + public OperationRequestAsyncValueOnlyBuilder setInoutputArguments(ObjectNode inoutputArguments) { + this.inoutputArguments = inoutputArguments; + return this; + } + + public OperationRequestAsyncValueOnly build() { + return new OperationRequestAsyncValueOnly( + this.clientTimeoutDuration, this.inputArguments, this.inoutputArguments); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/OperationRequestBuilder.java b/src/main/java/aas_core/aas3_2/generation/OperationRequestBuilder.java new file mode 100644 index 00000000..7caf8dec --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/OperationRequestBuilder.java @@ -0,0 +1,47 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the OperationRequest type. */ +public class OperationRequestBuilder { + /** Input argument */ + private List inputArguments; + + /** InOutput argument */ + private List inoutputArguments; + + /** + * Duration indicating when the client suggests the server to have finished execution of the + * invoked operation. The server may take this value into account to decide on its effective + * timeout, however, the server may or may not use by its own discretion. + */ + private String clientTimeoutDuration; + + public OperationRequestBuilder setInputArguments(List inputArguments) { + this.inputArguments = inputArguments; + return this; + } + + public OperationRequestBuilder setInoutputArguments(List inoutputArguments) { + this.inoutputArguments = inoutputArguments; + return this; + } + + public OperationRequestBuilder setClientTimeoutDuration(String clientTimeoutDuration) { + this.clientTimeoutDuration = clientTimeoutDuration; + return this; + } + + public OperationRequest build() { + return new OperationRequest( + this.inputArguments, this.inoutputArguments, this.clientTimeoutDuration); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/OperationRequestValueOnlyBuilder.java b/src/main/java/aas_core/aas3_2/generation/OperationRequestValueOnlyBuilder.java new file mode 100644 index 00000000..322caebe --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/OperationRequestValueOnlyBuilder.java @@ -0,0 +1,47 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import com.fasterxml.jackson.databind.node.ObjectNode; + +/** Builder for the OperationRequestValueOnly type. */ +public class OperationRequestValueOnlyBuilder { + /** Input argument */ + private ObjectNode inputArguments; + + /** InOutput argument */ + private ObjectNode inoutputArguments; + + /** + * Duration indicating when the client suggests the server to have finished execution of the + * invoked operation. The server may take this value into account to decide on its effective + * timeout, however, the server may or may not use by its own discretion. + */ + private String clientTimeoutDuration; + + public OperationRequestValueOnlyBuilder setInputArguments(ObjectNode inputArguments) { + this.inputArguments = inputArguments; + return this; + } + + public OperationRequestValueOnlyBuilder setInoutputArguments(ObjectNode inoutputArguments) { + this.inoutputArguments = inoutputArguments; + return this; + } + + public OperationRequestValueOnlyBuilder setClientTimeoutDuration(String clientTimeoutDuration) { + this.clientTimeoutDuration = clientTimeoutDuration; + return this; + } + + public OperationRequestValueOnly build() { + return new OperationRequestValueOnly( + this.inputArguments, this.inoutputArguments, this.clientTimeoutDuration); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/OperationResultBuilder.java b/src/main/java/aas_core/aas3_2/generation/OperationResultBuilder.java new file mode 100644 index 00000000..12196fb4 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/OperationResultBuilder.java @@ -0,0 +1,67 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the OperationResult type. */ +public class OperationResultBuilder { + /** Execution state */ + private ExecutionState executionState; + + /** Additional messages containing information for the requester */ + private List messages; + + /** + * Flag indicating whether the business operation behind the operation was successful (true) or + * not (false) + */ + private Boolean success; + + /** Output argument */ + private List outputArguments; + + /** InOutput argument */ + private List inoutputArguments; + + public OperationResultBuilder(ExecutionState executionState) { + this.executionState = + Objects.requireNonNull(executionState, "Argument \"executionState\" must be non-null."); + } + + public OperationResultBuilder setMessages(List messages) { + this.messages = messages; + return this; + } + + public OperationResultBuilder setSuccess(Boolean success) { + this.success = success; + return this; + } + + public OperationResultBuilder setOutputArguments(List outputArguments) { + this.outputArguments = outputArguments; + return this; + } + + public OperationResultBuilder setInoutputArguments(List inoutputArguments) { + this.inoutputArguments = inoutputArguments; + return this; + } + + public OperationResult build() { + return new OperationResult( + this.executionState, + this.messages, + this.success, + this.outputArguments, + this.inoutputArguments); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/OperationResultValueOnlyBuilder.java b/src/main/java/aas_core/aas3_2/generation/OperationResultValueOnlyBuilder.java new file mode 100644 index 00000000..83d21ae2 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/OperationResultValueOnlyBuilder.java @@ -0,0 +1,68 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.List; +import java.util.Objects; + +/** Builder for the OperationResultValueOnly type. */ +public class OperationResultValueOnlyBuilder { + /** Execution state */ + private ExecutionState executionState; + + /** Additional messages containing information for the requester */ + private List messages; + + /** + * Flag indicating whether the business operation behind the operation was successful (true) or + * not (false) + */ + private Boolean success; + + /** Output argument */ + private ObjectNode outputArguments; + + /** InOutput argument */ + private ObjectNode inoutputArguments; + + public OperationResultValueOnlyBuilder(ExecutionState executionState) { + this.executionState = + Objects.requireNonNull(executionState, "Argument \"executionState\" must be non-null."); + } + + public OperationResultValueOnlyBuilder setMessages(List messages) { + this.messages = messages; + return this; + } + + public OperationResultValueOnlyBuilder setSuccess(Boolean success) { + this.success = success; + return this; + } + + public OperationResultValueOnlyBuilder setOutputArguments(ObjectNode outputArguments) { + this.outputArguments = outputArguments; + return this; + } + + public OperationResultValueOnlyBuilder setInoutputArguments(ObjectNode inoutputArguments) { + this.inoutputArguments = inoutputArguments; + return this; + } + + public OperationResultValueOnly build() { + return new OperationResultValueOnly( + this.executionState, + this.messages, + this.success, + this.outputArguments, + this.inoutputArguments); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/PackageDescriptionBuilder.java b/src/main/java/aas_core/aas3_2/generation/PackageDescriptionBuilder.java new file mode 100644 index 00000000..6fc48336 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/PackageDescriptionBuilder.java @@ -0,0 +1,34 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the PackageDescription type. */ +public class PackageDescriptionBuilder { + /** File server specific package id */ + private String packageId; + + /** Asset Administration Shell unique identifiers */ + private List aasIds; + + public PackageDescriptionBuilder(String packageId) { + this.packageId = Objects.requireNonNull(packageId, "Argument \"packageId\" must be non-null."); + } + + public PackageDescriptionBuilder setAasIds(List aasIds) { + this.aasIds = aasIds; + return this; + } + + public PackageDescription build() { + return new PackageDescription(this.packageId, this.aasIds); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/PagedResultBuilder.java b/src/main/java/aas_core/aas3_2/generation/PagedResultBuilder.java new file mode 100644 index 00000000..af915bbc --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/PagedResultBuilder.java @@ -0,0 +1,40 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the PagedResult type. */ +public class PagedResultBuilder { + /** + * List of returned items. Any kind of Referables is possible, depending on the endpoint which has + * been requested. + */ + private List result; + + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + public PagedResultBuilder(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public PagedResultBuilder setResult(List result) { + this.result = result; + return this; + } + + public PagedResult build() { + return new PagedResult(this.pagingMetadata, this.result); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/PagingMetadataBuilder.java b/src/main/java/aas_core/aas3_2/generation/PagingMetadataBuilder.java new file mode 100644 index 00000000..3347e4d1 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/PagingMetadataBuilder.java @@ -0,0 +1,28 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; + +/** Builder for the PagingMetadata type. */ +public class PagingMetadataBuilder { + /** + * The cursor for the next part of the result set. No cursor attribute means that the end of the + * result set has been reached. + */ + private String cursor; + + public PagingMetadataBuilder setCursor(String cursor) { + this.cursor = cursor; + return this; + } + + public PagingMetadata build() { + return new PagingMetadata(this.cursor); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/PropertyBuilder.java b/src/main/java/aas_core/aas3_2/generation/PropertyBuilder.java new file mode 100644 index 00000000..930a3b21 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/PropertyBuilder.java @@ -0,0 +1,171 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the Property type. */ +public class PropertyBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Data type of the {@link aas_core.aas3_2.types.impl.Property#getValue()} attribute. */ + private DataTypeDefXsd valueType; + + /** The value of the property instance. */ + private String value; + + /** Reference to the global unique ID of a coded value. */ + private IReference valueId; + + public PropertyBuilder(DataTypeDefXsd valueType) { + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + public PropertyBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public PropertyBuilder setCategory(String category) { + this.category = category; + return this; + } + + public PropertyBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public PropertyBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public PropertyBuilder setDescription(List description) { + this.description = description; + return this; + } + + public PropertyBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public PropertyBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public PropertyBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public PropertyBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public PropertyBuilder setValue(String value) { + this.value = value; + return this; + } + + public PropertyBuilder setValueId(IReference valueId) { + this.valueId = valueId; + return this; + } + + public Property build() { + return new Property( + this.valueType, + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.value, + this.valueId); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/PropertyMetadataBuilder.java b/src/main/java/aas_core/aas3_2/generation/PropertyMetadataBuilder.java new file mode 100644 index 00000000..22aec0b6 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/PropertyMetadataBuilder.java @@ -0,0 +1,154 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the PropertyMetadata type. */ +public class PropertyMetadataBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** The value type of the property. */ + private DataTypeDefXsd valueType; + + public PropertyMetadataBuilder(DataTypeDefXsd valueType) { + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + public PropertyMetadataBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public PropertyMetadataBuilder setCategory(String category) { + this.category = category; + return this; + } + + public PropertyMetadataBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public PropertyMetadataBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public PropertyMetadataBuilder setDescription(List description) { + this.description = description; + return this; + } + + public PropertyMetadataBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public PropertyMetadataBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public PropertyMetadataBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public PropertyMetadataBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public PropertyMetadata build() { + return new PropertyMetadata( + this.valueType, + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/ProtocolInformationBuilder.java b/src/main/java/aas_core/aas3_2/generation/ProtocolInformationBuilder.java new file mode 100644 index 00000000..20cdfcef --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/ProtocolInformationBuilder.java @@ -0,0 +1,126 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the ProtocolInformation type. */ +public class ProtocolInformationBuilder { + /** The endpoint address as a URL. */ + private String href; + + /** + * Either scheme of {@link aas_core.aas3_2.types.impl.ProtocolInformation#getHref()} or scheme + * plus further information. + * + *

The scheme denotes the highest level of doubtless transmission. + */ + private String endpointProtocol; + + /** + * Each entry represents one supported version at this very endpoint, the entry shall be formatted + * according to the regulations of the protocol specified in the {@link + * aas_core.aas3_2.types.impl.ProtocolInformation#getHref()} + */ + private List endpointProtocolVersion; + + /** + * Allows for referencing sub-protocols that may be used in the context of that endpoint e.g. "OPC + * Basic SOAP" or UA Binary + */ + private String subprotocol; + + /** + * If the sub-protocol field is present, a subprotocol body might be given to hold extra + * information, e.g. node and namespace in an OPC UA server + */ + private String subprotocolBody; + + /** + * If {@link aas_core.aas3_2.types.impl.ProtocolInformation#getSubprotocolBody()} is present, the + * encoding might be explicitly defined, otherwise it shall default to subprotocols encoding + * scheme + */ + private String subprotocolBodyEncoding; + + /** + * Array of {@link aas_core.aas3_2.types.impl.SecurityAttributeObject}'s. Each attribute has three + * properties: + * + *

{@link aas_core.aas3_2.types.impl.SecurityAttributeObject#getType()}: enum security type or + * standard: + * + *

    + *
  • + *

    {@code NONE}; + *

  • + *

    {@code RFC_TLSA}, TLSA according to RFC 6698; or + *

  • + *

    {@code W3C_DID}, W3C DID document. + *

+ * + *

{@link aas_core.aas3_2.types.impl.SecurityAttributeObject#getKey()}: security attribute key + * according to standard definitions of the security type. + * + *

{@link aas_core.aas3_2.types.impl.SecurityAttributeObject#getValue()}: security attribute + * value, e.g., DANE TLSA Resource Record. + * + *

The {@link aas_core.aas3_2.types.impl.SecurityAttributeObject}'s are treated as possible + * alternatives (logical "or"). + */ + private List securityAttributes; + + public ProtocolInformationBuilder(String href) { + this.href = Objects.requireNonNull(href, "Argument \"href\" must be non-null."); + } + + public ProtocolInformationBuilder setEndpointProtocol(String endpointProtocol) { + this.endpointProtocol = endpointProtocol; + return this; + } + + public ProtocolInformationBuilder setEndpointProtocolVersion( + List endpointProtocolVersion) { + this.endpointProtocolVersion = endpointProtocolVersion; + return this; + } + + public ProtocolInformationBuilder setSubprotocol(String subprotocol) { + this.subprotocol = subprotocol; + return this; + } + + public ProtocolInformationBuilder setSubprotocolBody(String subprotocolBody) { + this.subprotocolBody = subprotocolBody; + return this; + } + + public ProtocolInformationBuilder setSubprotocolBodyEncoding(String subprotocolBodyEncoding) { + this.subprotocolBodyEncoding = subprotocolBodyEncoding; + return this; + } + + public ProtocolInformationBuilder setSecurityAttributes( + List securityAttributes) { + this.securityAttributes = securityAttributes; + return this; + } + + public ProtocolInformation build() { + return new ProtocolInformation( + this.href, + this.endpointProtocol, + this.endpointProtocolVersion, + this.subprotocol, + this.subprotocolBody, + this.subprotocolBodyEncoding, + this.securityAttributes); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/QualifierBuilder.java b/src/main/java/aas_core/aas3_2/generation/QualifierBuilder.java new file mode 100644 index 00000000..a3da5d60 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/QualifierBuilder.java @@ -0,0 +1,87 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the Qualifier type. */ +public class QualifierBuilder { + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * The qualifier kind describes the kind of qualifier that is applied to the element. + * + *

Default: {@link aas_core.aas3_2.types.enums.QualifierKind#CONCEPT_QUALIFIER} + */ + private QualifierKind kind; + + /** The qualifier type describes the type of qualifier that is applied to the element. */ + private String type; + + /** Data type of the qualifier value. */ + private DataTypeDefXsd valueType; + + /** The qualifier value is the value of the qualifier. */ + private String value; + + /** Reference to the global unique ID of a coded value. */ + private IReference valueId; + + public QualifierBuilder(String type, DataTypeDefXsd valueType) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + public QualifierBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public QualifierBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public QualifierBuilder setKind(QualifierKind kind) { + this.kind = kind; + return this; + } + + public QualifierBuilder setValue(String value) { + this.value = value; + return this; + } + + public QualifierBuilder setValueId(IReference valueId) { + this.valueId = valueId; + return this; + } + + public Qualifier build() { + return new Qualifier( + this.type, + this.valueType, + this.semanticId, + this.supplementalSemanticIds, + this.kind, + this.value, + this.valueId); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/QueryBuilder.java b/src/main/java/aas_core/aas3_2/generation/QueryBuilder.java new file mode 100644 index 00000000..96fcd532 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/QueryBuilder.java @@ -0,0 +1,51 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the Query type. */ +public class QueryBuilder { + /** + * What the query returns instead of the full objects. + * + *

If not specified, the full objects are returned. + */ + private QuerySelect select; + + /** The condition which the returned objects need to fulfill */ + private LogicalExpression condition; + + /** + * Filters to reduce the returned data + * + *

The list can be empty, as the grammar allows {@code $filters} to be followed by zero + * filters. Elements without a filter remain unfiltered. + */ + private List filters; + + public QueryBuilder(LogicalExpression condition) { + this.condition = Objects.requireNonNull(condition, "Argument \"condition\" must be non-null."); + } + + public QueryBuilder setSelect(QuerySelect select) { + this.select = select; + return this; + } + + public QueryBuilder setFilters(List filters) { + this.filters = filters; + return this; + } + + public Query build() { + return new Query(this.condition, this.select, this.filters); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/RangeBuilder.java b/src/main/java/aas_core/aas3_2/generation/RangeBuilder.java new file mode 100644 index 00000000..51967c98 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/RangeBuilder.java @@ -0,0 +1,174 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the Range type. */ +public class RangeBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * Data type of the {@link aas_core.aas3_2.types.impl.Range#getMin()} und {@link + * aas_core.aas3_2.types.impl.Range#getMax()} attributes + */ + private DataTypeDefXsd valueType; + + /** The minimum value of the range. */ + private String min; + + /** The maximum value of the range. */ + private String max; + + public RangeBuilder(DataTypeDefXsd valueType) { + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + public RangeBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public RangeBuilder setCategory(String category) { + this.category = category; + return this; + } + + public RangeBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public RangeBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public RangeBuilder setDescription(List description) { + this.description = description; + return this; + } + + public RangeBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public RangeBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public RangeBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public RangeBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public RangeBuilder setMin(String min) { + this.min = min; + return this; + } + + public RangeBuilder setMax(String max) { + this.max = max; + return this; + } + + public Range build() { + return new Range( + this.valueType, + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.min, + this.max); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/RangeMetadataBuilder.java b/src/main/java/aas_core/aas3_2/generation/RangeMetadataBuilder.java new file mode 100644 index 00000000..6b5a0c13 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/RangeMetadataBuilder.java @@ -0,0 +1,153 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the RangeMetadata type. */ +public class RangeMetadataBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** The value type of the range. */ + private DataTypeDefXsd valueType; + + public RangeMetadataBuilder(DataTypeDefXsd valueType) { + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + public RangeMetadataBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public RangeMetadataBuilder setCategory(String category) { + this.category = category; + return this; + } + + public RangeMetadataBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public RangeMetadataBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public RangeMetadataBuilder setDescription(List description) { + this.description = description; + return this; + } + + public RangeMetadataBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public RangeMetadataBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public RangeMetadataBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public RangeMetadataBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public RangeMetadata build() { + return new RangeMetadata( + this.valueType, + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/ReferenceBuilder.java b/src/main/java/aas_core/aas3_2/generation/ReferenceBuilder.java new file mode 100644 index 00000000..2c3e38e1 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/ReferenceBuilder.java @@ -0,0 +1,54 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the Reference type. */ +public class ReferenceBuilder { + /** + * Type of the reference. + * + *

Denotes whether the reference is an external reference or a model reference. + */ + private ReferenceTypes type; + + /** + * Expected {@link aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} of the referenced + * model element ({@link aas_core.aas3_2.types.impl.Reference#getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#MODEL_REFERENCE}); there typically is no semantic ID + * for the referenced object of external references ({@link + * aas_core.aas3_2.types.impl.Reference#getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#EXTERNAL_REFERENCE}). + * + *

If {@link aas_core.aas3_2.types.impl.Reference#getReferredSemanticId()} is defined, the + * {@link aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} of the model element + * referenced should have a matching semantic ID. If this is not the case, a validator should + * raise a warning. + */ + private IReference referredSemanticId; + + /** Unique references in their name space. */ + private List keys; + + public ReferenceBuilder(ReferenceTypes type, List keys) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + this.keys = Objects.requireNonNull(keys, "Argument \"keys\" must be non-null."); + } + + public ReferenceBuilder setReferredSemanticId(IReference referredSemanticId) { + this.referredSemanticId = referredSemanticId; + return this; + } + + public Reference build() { + return new Reference(this.type, this.keys, this.referredSemanticId); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/ReferenceElementBuilder.java b/src/main/java/aas_core/aas3_2/generation/ReferenceElementBuilder.java new file mode 100644 index 00000000..0095f105 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/ReferenceElementBuilder.java @@ -0,0 +1,157 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the ReferenceElement type. */ +public class ReferenceElementBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * External reference to an external object or entity or a logical reference to another element + * within the same or another Asset Administration Shell (i.e. a model reference to a Referable). + */ + private IReference value; + + public ReferenceElementBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public ReferenceElementBuilder setCategory(String category) { + this.category = category; + return this; + } + + public ReferenceElementBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public ReferenceElementBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public ReferenceElementBuilder setDescription(List description) { + this.description = description; + return this; + } + + public ReferenceElementBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public ReferenceElementBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public ReferenceElementBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public ReferenceElementBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public ReferenceElementBuilder setValue(IReference value) { + this.value = value; + return this; + } + + public ReferenceElement build() { + return new ReferenceElement( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.value); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/ReferenceElementMetadataBuilder.java b/src/main/java/aas_core/aas3_2/generation/ReferenceElementMetadataBuilder.java new file mode 100644 index 00000000..b759cadb --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/ReferenceElementMetadataBuilder.java @@ -0,0 +1,145 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the ReferenceElementMetadata type. */ +public class ReferenceElementMetadataBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public ReferenceElementMetadataBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public ReferenceElementMetadataBuilder setCategory(String category) { + this.category = category; + return this; + } + + public ReferenceElementMetadataBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public ReferenceElementMetadataBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public ReferenceElementMetadataBuilder setDescription(List description) { + this.description = description; + return this; + } + + public ReferenceElementMetadataBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public ReferenceElementMetadataBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public ReferenceElementMetadataBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public ReferenceElementMetadataBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public ReferenceElementMetadata build() { + return new ReferenceElementMetadata( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/ReferenceElementValueBuilder.java b/src/main/java/aas_core/aas3_2/generation/ReferenceElementValueBuilder.java new file mode 100644 index 00000000..d44ef694 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/ReferenceElementValueBuilder.java @@ -0,0 +1,45 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the ReferenceElementValue type. */ +public class ReferenceElementValueBuilder { + /** + * Type of the reference. + * + *

Denotes whether the reference is an external reference or a model reference. + */ + private ReferenceTypes type; + + /** Unique references in their name space. */ + private List keys; + + /** + * Expected {@link aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} of the referenced + * model element. + */ + private IReference referredSemanticId; + + public ReferenceElementValueBuilder(ReferenceTypes type, List keys) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + this.keys = Objects.requireNonNull(keys, "Argument \"keys\" must be non-null."); + } + + public ReferenceElementValueBuilder setReferredSemanticId(IReference referredSemanticId) { + this.referredSemanticId = referredSemanticId; + return this; + } + + public ReferenceElementValue build() { + return new ReferenceElementValue(this.type, this.keys, this.referredSemanticId); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/RelationshipElementBuilder.java b/src/main/java/aas_core/aas3_2/generation/RelationshipElementBuilder.java new file mode 100644 index 00000000..180a1472 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/RelationshipElementBuilder.java @@ -0,0 +1,163 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the RelationshipElement type. */ +public class RelationshipElementBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Reference to the first element in the relationship taking the role of the subject. */ + private IReference first; + + /** Reference to the second element in the relationship taking the role of the object. */ + private IReference second; + + public RelationshipElementBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public RelationshipElementBuilder setCategory(String category) { + this.category = category; + return this; + } + + public RelationshipElementBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public RelationshipElementBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public RelationshipElementBuilder setDescription(List description) { + this.description = description; + return this; + } + + public RelationshipElementBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public RelationshipElementBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public RelationshipElementBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public RelationshipElementBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public RelationshipElementBuilder setFirst(IReference first) { + this.first = first; + return this; + } + + public RelationshipElementBuilder setSecond(IReference second) { + this.second = second; + return this; + } + + public RelationshipElement build() { + return new RelationshipElement( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.first, + this.second); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/RelationshipElementMetadataBuilder.java b/src/main/java/aas_core/aas3_2/generation/RelationshipElementMetadataBuilder.java new file mode 100644 index 00000000..d7f07068 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/RelationshipElementMetadataBuilder.java @@ -0,0 +1,145 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the RelationshipElementMetadata type. */ +public class RelationshipElementMetadataBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public RelationshipElementMetadataBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public RelationshipElementMetadataBuilder setCategory(String category) { + this.category = category; + return this; + } + + public RelationshipElementMetadataBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public RelationshipElementMetadataBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public RelationshipElementMetadataBuilder setDescription(List description) { + this.description = description; + return this; + } + + public RelationshipElementMetadataBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public RelationshipElementMetadataBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public RelationshipElementMetadataBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public RelationshipElementMetadataBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public RelationshipElementMetadata build() { + return new RelationshipElementMetadata( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/RelationshipElementValueBuilder.java b/src/main/java/aas_core/aas3_2/generation/RelationshipElementValueBuilder.java new file mode 100644 index 00000000..625a986f --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/RelationshipElementValueBuilder.java @@ -0,0 +1,33 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; + +/** Builder for the RelationshipElementValue type. */ +public class RelationshipElementValueBuilder { + /** Reference to the first element in the relationship. */ + private IReference first; + + /** Reference to the second element in the relationship. */ + private IReference second; + + public RelationshipElementValueBuilder setFirst(IReference first) { + this.first = first; + return this; + } + + public RelationshipElementValueBuilder setSecond(IReference second) { + this.second = second; + return this; + } + + public RelationshipElementValue build() { + return new RelationshipElementValue(this.first, this.second); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/ResourceBuilder.java b/src/main/java/aas_core/aas3_2/generation/ResourceBuilder.java new file mode 100644 index 00000000..0adfd26c --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/ResourceBuilder.java @@ -0,0 +1,41 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.Objects; + +/** Builder for the Resource type. */ +public class ResourceBuilder { + /** + * Path and name of the resource (with file extension). + * + *

The path can be absolute or relative. + */ + private String path; + + /** + * Content type of the content of the file. + * + *

A single content type (MIME type) can have multiple file extensions associated with it. + */ + private String contentType; + + public ResourceBuilder(String path) { + this.path = Objects.requireNonNull(path, "Argument \"path\" must be non-null."); + } + + public ResourceBuilder setContentType(String contentType) { + this.contentType = contentType; + return this; + } + + public Resource build() { + return new Resource(this.path, this.contentType); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/ResultBuilder.java b/src/main/java/aas_core/aas3_2/generation/ResultBuilder.java new file mode 100644 index 00000000..419201fd --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/ResultBuilder.java @@ -0,0 +1,26 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the Result type. */ +public class ResultBuilder { + /** Additional messages containing information for the requester */ + private List messages; + + public ResultBuilder setMessages(List messages) { + this.messages = messages; + return this; + } + + public Result build() { + return new Result(this.messages); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/SpecificAssetIdBuilder.java b/src/main/java/aas_core/aas3_2/generation/SpecificAssetIdBuilder.java new file mode 100644 index 00000000..32b41735 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/SpecificAssetIdBuilder.java @@ -0,0 +1,71 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the SpecificAssetId type. */ +public class SpecificAssetIdBuilder { + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** Name of the asset identifier. */ + private String name; + + /** The value of the specific asset identifier with the corresponding name. */ + private String value; + + /** + * The unique ID of the (external) subject the specific asset ID value belongs to or has meaning + * to. + * + *

This is an external reference. + */ + private IReference externalSubjectId; + + public SpecificAssetIdBuilder(String name, String value) { + this.name = Objects.requireNonNull(name, "Argument \"name\" must be non-null."); + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + public SpecificAssetIdBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public SpecificAssetIdBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public SpecificAssetIdBuilder setExternalSubjectId(IReference externalSubjectId) { + this.externalSubjectId = externalSubjectId; + return this; + } + + public SpecificAssetId build() { + return new SpecificAssetId( + this.name, + this.value, + this.semanticId, + this.supplementalSemanticIds, + this.externalSubjectId); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/SubmodelBuilder.java b/src/main/java/aas_core/aas3_2/generation/SubmodelBuilder.java new file mode 100644 index 00000000..ccf20ea7 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/SubmodelBuilder.java @@ -0,0 +1,189 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the Submodel type. */ +public class SubmodelBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Administrative information of an identifiable element. + * + *

Some of the administrative information like the version number might need to be part of the + * identification. + */ + private IAdministrativeInformation administration; + + /** The globally unique identification of the element. */ + private String id; + + /** + * Kind of the element: either template or instance. + * + *

Default: {@link aas_core.aas3_2.types.enums.ModellingKind#INSTANCE} + */ + private ModellingKind kind; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Submodel elements contained in the submodel. */ + private List submodelElements; + + public SubmodelBuilder(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + public SubmodelBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public SubmodelBuilder setCategory(String category) { + this.category = category; + return this; + } + + public SubmodelBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public SubmodelBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public SubmodelBuilder setDescription(List description) { + this.description = description; + return this; + } + + public SubmodelBuilder setAdministration(IAdministrativeInformation administration) { + this.administration = administration; + return this; + } + + public SubmodelBuilder setKind(ModellingKind kind) { + this.kind = kind; + return this; + } + + public SubmodelBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public SubmodelBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public SubmodelBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public SubmodelBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public SubmodelBuilder setSubmodelElements(List submodelElements) { + this.submodelElements = submodelElements; + return this; + } + + public Submodel build() { + return new Submodel( + this.id, + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.administration, + this.kind, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.submodelElements); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/SubmodelDescriptorBuilder.java b/src/main/java/aas_core/aas3_2/generation/SubmodelDescriptorBuilder.java new file mode 100644 index 00000000..ece1c4cb --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/SubmodelDescriptorBuilder.java @@ -0,0 +1,107 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the SubmodelDescriptor type. */ +public class SubmodelDescriptorBuilder { + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + */ + private List description; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * An extension of the element. + * + *

Extensions are proprietary, i.e. they do not support global interoperability. + */ + private List extensions; + + /** Endpoint of the network resource. */ + private List endpoints; + + /** Globally unique identification of the Submodel. */ + private String id; + + /** Administrative information of the Submodel. */ + private IAdministrativeInformation administration; + + /** Short name of the Submodel. */ + private String idShort; + + /** Identifier of the semantic definition of the Submodel. */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element called supplemental semantic ID + * of the element. + */ + private List supplementalSemanticIds; + + public SubmodelDescriptorBuilder(List endpoints, String id) { + this.endpoints = Objects.requireNonNull(endpoints, "Argument \"endpoints\" must be non-null."); + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + public SubmodelDescriptorBuilder setDescription(List description) { + this.description = description; + return this; + } + + public SubmodelDescriptorBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public SubmodelDescriptorBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public SubmodelDescriptorBuilder setAdministration(IAdministrativeInformation administration) { + this.administration = administration; + return this; + } + + public SubmodelDescriptorBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public SubmodelDescriptorBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public SubmodelDescriptorBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public SubmodelDescriptor build() { + return new SubmodelDescriptor( + this.endpoints, + this.id, + this.description, + this.displayName, + this.extensions, + this.administration, + this.idShort, + this.semanticId, + this.supplementalSemanticIds); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/SubmodelElementCollectionBuilder.java b/src/main/java/aas_core/aas3_2/generation/SubmodelElementCollectionBuilder.java new file mode 100644 index 00000000..d18de790 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/SubmodelElementCollectionBuilder.java @@ -0,0 +1,154 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the SubmodelElementCollection type. */ +public class SubmodelElementCollectionBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Submodel element contained in the collection. */ + private List value; + + public SubmodelElementCollectionBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public SubmodelElementCollectionBuilder setCategory(String category) { + this.category = category; + return this; + } + + public SubmodelElementCollectionBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public SubmodelElementCollectionBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public SubmodelElementCollectionBuilder setDescription(List description) { + this.description = description; + return this; + } + + public SubmodelElementCollectionBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public SubmodelElementCollectionBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public SubmodelElementCollectionBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public SubmodelElementCollectionBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public SubmodelElementCollectionBuilder setValue(List value) { + this.value = value; + return this; + } + + public SubmodelElementCollection build() { + return new SubmodelElementCollection( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.value); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/SubmodelElementCollectionMetadataBuilder.java b/src/main/java/aas_core/aas3_2/generation/SubmodelElementCollectionMetadataBuilder.java new file mode 100644 index 00000000..b8759c97 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/SubmodelElementCollectionMetadataBuilder.java @@ -0,0 +1,147 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; + +/** Builder for the SubmodelElementCollectionMetadata type. */ +public class SubmodelElementCollectionMetadataBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public SubmodelElementCollectionMetadataBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public SubmodelElementCollectionMetadataBuilder setCategory(String category) { + this.category = category; + return this; + } + + public SubmodelElementCollectionMetadataBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public SubmodelElementCollectionMetadataBuilder setDisplayName( + List displayName) { + this.displayName = displayName; + return this; + } + + public SubmodelElementCollectionMetadataBuilder setDescription( + List description) { + this.description = description; + return this; + } + + public SubmodelElementCollectionMetadataBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public SubmodelElementCollectionMetadataBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public SubmodelElementCollectionMetadataBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public SubmodelElementCollectionMetadataBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public SubmodelElementCollectionMetadata build() { + return new SubmodelElementCollectionMetadata( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/SubmodelElementListBuilder.java b/src/main/java/aas_core/aas3_2/generation/SubmodelElementListBuilder.java new file mode 100644 index 00000000..e4f71abb --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/SubmodelElementListBuilder.java @@ -0,0 +1,198 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the SubmodelElementList type. */ +public class SubmodelElementListBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * Defines whether order in list is relevant. If {@link + * aas_core.aas3_2.types.impl.SubmodelElementList#getOrderRelevant()} = {@code False} then the + * list is representing a set or a bag. + * + *

Default: {@code True} + */ + private Boolean orderRelevant; + + /** Semantic ID the submodel elements contained in the list match to. */ + private IReference semanticIdListElement; + + /** The submodel element type of the submodel elements contained in the list. */ + private AasSubmodelElements typeValueListElement; + + /** The value type of the submodel element contained in the list. */ + private DataTypeDefXsd valueTypeListElement; + + /** Submodel element contained in the list. */ + private List value; + + public SubmodelElementListBuilder(AasSubmodelElements typeValueListElement) { + this.typeValueListElement = + Objects.requireNonNull( + typeValueListElement, "Argument \"typeValueListElement\" must be non-null."); + } + + public SubmodelElementListBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public SubmodelElementListBuilder setCategory(String category) { + this.category = category; + return this; + } + + public SubmodelElementListBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public SubmodelElementListBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public SubmodelElementListBuilder setDescription(List description) { + this.description = description; + return this; + } + + public SubmodelElementListBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public SubmodelElementListBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public SubmodelElementListBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public SubmodelElementListBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public SubmodelElementListBuilder setOrderRelevant(Boolean orderRelevant) { + this.orderRelevant = orderRelevant; + return this; + } + + public SubmodelElementListBuilder setSemanticIdListElement(IReference semanticIdListElement) { + this.semanticIdListElement = semanticIdListElement; + return this; + } + + public SubmodelElementListBuilder setValueTypeListElement(DataTypeDefXsd valueTypeListElement) { + this.valueTypeListElement = valueTypeListElement; + return this; + } + + public SubmodelElementListBuilder setValue(List value) { + this.value = value; + return this; + } + + public SubmodelElementList build() { + return new SubmodelElementList( + this.typeValueListElement, + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.orderRelevant, + this.semanticIdListElement, + this.valueTypeListElement, + this.value); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/SubmodelElementListMetadataBuilder.java b/src/main/java/aas_core/aas3_2/generation/SubmodelElementListMetadataBuilder.java new file mode 100644 index 00000000..bde2c1ac --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/SubmodelElementListMetadataBuilder.java @@ -0,0 +1,185 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the SubmodelElementListMetadata type. */ +public class SubmodelElementListMetadataBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Defines whether order in the list is relevant. */ + private Boolean orderRelevant; + + /** Semantic ID the submodel elements contained in the list match to. */ + private IReference semanticIdListElement; + + /** The submodel element type of the submodel elements contained in the list. */ + private AasSubmodelElements typeValueListElement; + + /** The value type of the submodel elements contained in the list. */ + private DataTypeDefXsd valueTypeListElement; + + public SubmodelElementListMetadataBuilder(AasSubmodelElements typeValueListElement) { + this.typeValueListElement = + Objects.requireNonNull( + typeValueListElement, "Argument \"typeValueListElement\" must be non-null."); + } + + public SubmodelElementListMetadataBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public SubmodelElementListMetadataBuilder setCategory(String category) { + this.category = category; + return this; + } + + public SubmodelElementListMetadataBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public SubmodelElementListMetadataBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public SubmodelElementListMetadataBuilder setDescription(List description) { + this.description = description; + return this; + } + + public SubmodelElementListMetadataBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public SubmodelElementListMetadataBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public SubmodelElementListMetadataBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public SubmodelElementListMetadataBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public SubmodelElementListMetadataBuilder setOrderRelevant(Boolean orderRelevant) { + this.orderRelevant = orderRelevant; + return this; + } + + public SubmodelElementListMetadataBuilder setSemanticIdListElement( + IReference semanticIdListElement) { + this.semanticIdListElement = semanticIdListElement; + return this; + } + + public SubmodelElementListMetadataBuilder setValueTypeListElement( + DataTypeDefXsd valueTypeListElement) { + this.valueTypeListElement = valueTypeListElement; + return this; + } + + public SubmodelElementListMetadata build() { + return new SubmodelElementListMetadata( + this.typeValueListElement, + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.orderRelevant, + this.semanticIdListElement, + this.valueTypeListElement); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/SubmodelMetadataBuilder.java b/src/main/java/aas_core/aas3_2/generation/SubmodelMetadataBuilder.java new file mode 100644 index 00000000..9f50bd41 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/SubmodelMetadataBuilder.java @@ -0,0 +1,181 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the SubmodelMetadata type. */ +public class SubmodelMetadataBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Administrative information of an identifiable element. + * + *

Some of the administrative information like the version number might need to be part of the + * identification. + */ + private IAdministrativeInformation administration; + + /** The globally unique identification of the element. */ + private String id; + + /** + * Kind of the element: either template or instance. + * + *

Default: {@link aas_core.aas3_2.types.enums.ModellingKind#INSTANCE} + */ + private ModellingKind kind; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public SubmodelMetadataBuilder(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + public SubmodelMetadataBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public SubmodelMetadataBuilder setCategory(String category) { + this.category = category; + return this; + } + + public SubmodelMetadataBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public SubmodelMetadataBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public SubmodelMetadataBuilder setDescription(List description) { + this.description = description; + return this; + } + + public SubmodelMetadataBuilder setAdministration(IAdministrativeInformation administration) { + this.administration = administration; + return this; + } + + public SubmodelMetadataBuilder setKind(ModellingKind kind) { + this.kind = kind; + return this; + } + + public SubmodelMetadataBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public SubmodelMetadataBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public SubmodelMetadataBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public SubmodelMetadataBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public SubmodelMetadata build() { + return new SubmodelMetadata( + this.id, + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.administration, + this.kind, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/SubmodelRecentChangeBuilder.java b/src/main/java/aas_core/aas3_2/generation/SubmodelRecentChangeBuilder.java new file mode 100644 index 00000000..9d2093a8 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/SubmodelRecentChangeBuilder.java @@ -0,0 +1,55 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the SubmodelRecentChange type. */ +public class SubmodelRecentChangeBuilder { + /** The point in time at which the Identifiable object was created */ + private String createdAt; + + /** The point in time at which the Identifiable object was recently updated */ + private String updatedAt; + + /** Globally unique identification of the Submodel */ + private String id; + + /** Identifier of the semantic definition of the Submodel */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element called supplemental semantic ID + * of the element + */ + private List supplementalSemanticIds; + + public SubmodelRecentChangeBuilder(String createdAt, String updatedAt, String id) { + this.createdAt = Objects.requireNonNull(createdAt, "Argument \"createdAt\" must be non-null."); + this.updatedAt = Objects.requireNonNull(updatedAt, "Argument \"updatedAt\" must be non-null."); + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + public SubmodelRecentChangeBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public SubmodelRecentChangeBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public SubmodelRecentChange build() { + return new SubmodelRecentChange( + this.createdAt, this.updatedAt, this.id, this.semanticId, this.supplementalSemanticIds); + } +} diff --git a/src/main/java/aas_core/aas3_2/generation/ValueReferencePairBuilder.java b/src/main/java/aas_core/aas3_2/generation/ValueReferencePairBuilder.java new file mode 100644 index 00000000..ea9277eb --- /dev/null +++ b/src/main/java/aas_core/aas3_2/generation/ValueReferencePairBuilder.java @@ -0,0 +1,40 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_2.generation; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import java.util.Objects; + +/** Builder for the ValueReferencePair type. */ +public class ValueReferencePairBuilder { + /** + * The value of the referenced concept definition of the value in {@link + * aas_core.aas3_2.types.impl.ValueReferencePair#getValueId()}. + */ + private String value; + + /** + * Global unique id of the value. + * + *

It is recommended to use a global reference. + */ + private IReference valueId; + + public ValueReferencePairBuilder(String value) { + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + public ValueReferencePairBuilder setValueId(IReference valueId) { + this.valueId = valueId; + return this; + } + + public ValueReferencePair build() { + return new ValueReferencePair(this.value, this.valueId); + } +} diff --git a/src/main/java/aas_core/aas3_2/jsonization/Jsonization.java b/src/main/java/aas_core/aas3_2/jsonization/Jsonization.java new file mode 100644 index 00000000..3c048811 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/jsonization/Jsonization.java @@ -0,0 +1,23296 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.jsonization; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.reporting.Reporting; +import aas_core.aas3_2.stringification.Stringification; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.verification.Verification; +import aas_core.aas3_2.visitation.AbstractTransformer; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ArrayNode; +import com.fasterxml.jackson.databind.node.JsonNodeFactory; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.Base64; +import java.util.Iterator; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.function.Function; + +/** + * Provide de/serialization of meta-model classes to/from JSON. + * + *

We can not use one-pass deserialization for JSON since the object properties do not have fixed + * order, and hence we can not read {@code modelType} property ahead of the remaining properties. + */ +public class Jsonization { + /** + * Implement the deserialization of meta-model classes from JSON nodes. + * + *

The implementation propagates an {@link Reporting.Error} instead of relying on exceptions. + * Under the assumption that incorrect data is much less frequent than correct data, this makes + * the deserialization more efficient. + * + *

However, we do not want to force the client to deal with the {@link Reporting.Error} class + * as this is not intuitive. Therefore we distinguish the implementation, realized in {@link + * _DeserializeImplementation}, and the facade given in {@link Deserialize} class. + * + *

Every value is parsed through a function which takes a single {@link JsonNode} and gives + * back a {@link Reporting.Result}, so that a list and a tuple can be composed out of the parsers + * of their items. Only they need such a composition -- every other value already has a function + * named after its very type. + */ + private static class _DeserializeImplementation { + /** + * Convert {@code value} to a string. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryStringFrom(JsonNode value) { + if (!value.isTextual()) { + final Reporting.Error error = + new Reporting.Error("Expected a JsonValue of String, but got " + value.getNodeType()); + return Reporting.Result.failure(error); + } + return Reporting.Result.success(value.asText()); + } + + /** + * Convert {@code value} to a boolean. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryBooleanFrom(JsonNode value) { + if (!value.isBoolean()) { + final Reporting.Error error = + new Reporting.Error("Expected a JsonValue of Boolean, but got " + value.getNodeType()); + return Reporting.Result.failure(error); + } + return Reporting.Result.success(value.asBoolean()); + } + + /** + * Convert {@code value} to a long 64-bit integer. + * + *

A whole number such as {@code 5.0} or {@code 1e2} is accepted as an integer, since JSON + * has a single number type. The integer has to lie in the safe integer range [-2^53 + 1, 2^53 - + * 1]. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryLongFrom(JsonNode value) { + if (!value.isNumber()) { + final Reporting.Error error = + new Reporting.Error("Expected an integer, but got: " + value.getNodeType()); + return Reporting.Result.failure(error); + } + + switch (value.numberType()) { + case INT: + case LONG: + { + final long integer = value.longValue(); + if (Verification.isSafeInteger(integer)) { + return Reporting.Result.success(integer); + } + break; + } + + case BIG_INTEGER: + { + final BigInteger integer = value.bigIntegerValue(); + if (Verification.isSafeInteger(integer)) { + return Reporting.Result.success(integer.longValue()); + } + break; + } + + default: + { + final double number = value.doubleValue(); + if (!Double.isFinite(number) || Math.rint(number) != number) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected an integer, but got " + number + ", which is not a whole number")); + } + if (Verification.isSafeInteger(number)) { + return Reporting.Result.success((long) number); + } + break; + } + } + + return Reporting.Result.failure( + new Reporting.Error(Verification.integerOutsideSafeRangeMessage(value))); + } + + /** + * Convert {@code value} to a double-precision 64-bit float. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryDoubleFrom(JsonNode value) { + // NOTE (mristin): + // We deliberately ask for a number, and not for a floating-point number. + // JSON has a single number type, so ``3`` is every bit as good a double as + // ``3.0`` is, and every other SDK reads it as one. + if (!value.isNumber()) { + final Reporting.Error error = + new Reporting.Error("Expected a JsonValue of Double, but got " + value.getNodeType()); + return Reporting.Result.failure(error); + } + + // NOTE (mristin): + // JSON knows neither an infinity nor a not-a-number, so a conformant parser + // can never give us one. Jackson parses them when + // JsonReadFeature.ALLOW_NON_NUMERIC_NUMBERS is enabled, and the caller can + // construct such a node programmatically in any case, so we check here. + final double asDouble = value.asDouble(); + if (!Double.isFinite(asDouble)) { + final Reporting.Error error = + new Reporting.Error("Expected a finite number, but got " + asDouble); + return Reporting.Result.failure(error); + } + + return Reporting.Result.success(asDouble); + } + + private static Reporting.Result tryBytesFrom(JsonNode value) { + if (!value.isTextual()) { + final Reporting.Error error = + new Reporting.Error("Expected a JsonValue of String, but got " + value.getNodeType()); + return Reporting.Result.failure(error); + } + final byte[] decodedData; + Base64.Decoder decoder = Base64.getDecoder(); + + try { + decodedData = decoder.decode(value.textValue()); + } catch (Exception exception) { + final Reporting.Error error = + new Reporting.Error( + "Expected Base-64 encoded bytes, but the conversion failed " + + "because: " + + exception.getMessage()); + return Reporting.Result.failure(error); + } + + return Reporting.Result.success(decodedData); + } + + /** + * Mark the error of {@code result} as coming from the property {@code name}. + * + *

A {@code case} of a property loop is matched exactly when the key of the property equals + * its literal, so the key already names the property and no {@code case} has to spell it out a + * second time. + */ + private static Reporting.Result prependName(Reporting.Result result, String name) { + final Reporting.Error error = result.getError(); + error.prependSegment(new Reporting.NameSegment(name)); + return Reporting.Result.failure(error); + } + + /** Mark the error of {@code result} as coming from the item at {@code index}. */ + private static Reporting.Result prependIndex(Reporting.Result result, int index) { + final Reporting.Error error = result.getError(); + error.prependSegment(new Reporting.IndexSegment(index)); + return Reporting.Result.failure(error); + } + + /** Report that {@code node} is no JSON object. */ + private static Reporting.Result notAJsonObject(JsonNode node) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected a JsonObject, but got " + (node == null ? "null" : node.getNodeType()))); + } + + /** Report that {@code node} is no JSON array. */ + private static Reporting.Result notAJsonArray(JsonNode node) { + return Reporting.Result.failure( + new Reporting.Error("Expected a JsonArray, but got " + node.getNodeType())); + } + + /** Report a property which the class does not have. */ + private static Reporting.Result unexpectedProperty(String name) { + return Reporting.Result.failure(new Reporting.Error("Unexpected property: " + name)); + } + + /** Report a required property which the JSON object did not give. */ + private static Reporting.Result missingRequiredProperty(String name) { + return Reporting.Result.failure( + new Reporting.Error("Required property \"" + name + "\" is missing")); + } + + /** + * Extract the {@code modelType} property of {@code node} as a string. + * + *

This is the only place which knows how the model type is spelled on the wire. Both the + * dispatch on the model type and its check in a concrete class go through it. + * + * @param node JSON object to be inspected + */ + private static Reporting.Result tryModelTypeFrom(JsonNode node) { + final JsonNode modelTypeNode = node.get("modelType"); + if (modelTypeNode == null) { + return missingRequiredProperty("modelType"); + } + + final Reporting.Result result = tryStringFrom(modelTypeNode); + if (result.isError()) { + return prependName(result, "modelType"); + } + + return result; + } + + /** + * Check that {@code node} gives the {@code expected} model type, and return the error if it + * does not. + * + *

The model type is checked before the properties are read, so that a wrong one is reported + * without de-serializing any of them first, and so that the property loop carries nothing but + * the properties. + * + * @param node JSON object to be inspected + * @param expected model type of the class being de-serialized + */ + private static Reporting.Error checkModelType(JsonNode node, String expected) { + final Reporting.Result result = tryModelTypeFrom(node); + if (result.isError()) { + return result.getError(); + } + + final String modelType = result.getResult(); + if (!modelType.equals(expected)) { + final Reporting.Error error = + new Reporting.Error( + "Expected the model type '" + expected + "', " + "but got '" + modelType + "'"); + // NOTE (mristin): + // A wrong model type is reported at the instance, as an unknown one is, + // and as in the other SDKs. + return error; + } + + return null; + } + + /** + * Parse {@code node} as a literal of the enumeration {@code enumType}, converted from its text + * by {@code fromString}. + * + *

The stringification is passed in as a function value so that this one helper does the + * whole plumbing for every enumeration, and a single statement parses one. The literal and the + * class constrain each other, so the name in the error message can not drift from the type of + * the literal. + * + * @param node JSON node to be parsed + * @param fromString to convert the text into a literal + * @param enumType enumeration whose literal is expected + */ + private static Reporting.Result tryEnumFrom( + JsonNode node, Function> fromString, Class enumType) { + final Reporting.Result text = tryStringFrom(node); + if (text.isError()) { + return text.castTo(enumType); + } + + final Optional parsed = fromString.apply(text.getResult()); + if (!parsed.isPresent()) { + return Reporting.Result.failure( + new Reporting.Error("Not a valid JSON representation of " + enumType.getSimpleName())); + } + + return Reporting.Result.success(parsed.get()); + } + + /** + * Parse {@code node} as a JSON array, and every of its items with {@code parseItem}. + * + * @param node JSON node to be parsed + * @param parseItem to parse a single item of the array + */ + private static Reporting.Result> parseArray( + JsonNode node, Function> parseItem) { + if (!node.isArray()) { + return notAJsonArray(node); + } + + final List result = new ArrayList<>(node.size()); + + int index = 0; + for (JsonNode item : node) { + final Reporting.Result parsedItem = parseItem.apply(item); + if (parsedItem.isError()) { + return prependIndex(parsedItem, index); + } + + result.add(parsedItem.getResult()); + index++; + } + + return Reporting.Result.success(result); + } + + /** + * Parse {@code node} as a JSON array of exactly 2 item(s), each de-serialized with the + * corresponding {@code parseItemI}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseTuple2( + JsonNode node, + Function> parseItem1, + Function> parseItem2) { + if (!node.isArray()) { + return notAJsonArray(node); + } + + if (node.size() != 2) { + return Reporting.Result.failure( + new Reporting.Error("Expected exactly 2 item(s), but got " + node.size())); + } + + final Reporting.Result item1 = parseItem1.apply(node.get(0)); + if (item1.isError()) { + return prependIndex(item1, 0); + } + + final Reporting.Result item2 = parseItem2.apply(node.get(1)); + if (item2.isError()) { + return prependIndex(item2, 1); + } + + return Reporting.Result.success(new Tuple2<>(item1.getResult(), item2.getResult())); + } + + /** + * Parse {@code node} as a JSON-able value. + * + *

A JSON-able value is, recursively, exactly as JSON itself is defined: a null node (JSON + * null), a boolean, a number, a string, an array of JSON-able values or an object of JSON-able + * values with string keys. An infinity, a not-a-number and an integer outside the safe integer + * range [-2^53 + 1, 2^53 - 1] are rejected at any depth. + * + *

The result is a deep copy, and never {@code node} itself, so that the parsed instance does + * not share a tree with the document it came from. + * + *

The path of an error is relative to {@code node}. + * + * @param node to be parsed + * @return the parsed value, or an error + */ + private static Reporting.Result tryJsonValueFrom(JsonNode node) { + if (node == null || node.isMissingNode()) { + return Reporting.Result.failure( + new Reporting.Error("Expected a JSON-able value, but got: " + node)); + } + + if (node.isNull()) { + return Reporting.Result.success(JsonNodeFactory.instance.nullNode()); + } + + if (node.isNumber()) { + final String cause = Verification.checkJsonAbleNumber(node); + if (cause != null) { + return Reporting.Result.failure(new Reporting.Error(cause)); + } + return Reporting.Result.success(node.deepCopy()); + } + + if (node.isBoolean() || node.isTextual()) { + return Reporting.Result.success(node.deepCopy()); + } + + if (node.isArray()) { + final ArrayNode result = JsonNodeFactory.instance.arrayNode(); + int index = 0; + for (JsonNode item : node) { + final Reporting.Result itemResult = tryJsonValueFrom(item); + if (itemResult.isError()) { + itemResult.getError().prependSegment(new Reporting.IndexSegment(index)); + return itemResult; + } + result.add(itemResult.getResult()); + index++; + } + return Reporting.Result.success(result); + } + + if (node.isObject()) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + final Iterator names = node.fieldNames(); + while (names.hasNext()) { + final String name = names.next(); + final Reporting.Result valueResult = tryJsonValueFrom(node.get(name)); + if (valueResult.isError()) { + valueResult.getError().prependSegment(new Reporting.KeySegment(name)); + return valueResult; + } + result.set(name, valueResult.getResult()); + } + return Reporting.Result.success(result); + } + + return Reporting.Result.failure( + new Reporting.Error( + "Expected a JSON-able value (a null, a boolean, a number, a string, " + + "an array or an object), but got: " + + node.getNodeType())); + } + + /** + * Parse {@code node} as a JSON-able array. + * + * @param node to be parsed + * @return the parsed array, or an error + */ + private static Reporting.Result tryJsonArrayFrom(JsonNode node) { + if (node == null || !node.isArray()) { + return Reporting.Result.failure( + new Reporting.Error("Expected a JSON-able array, but got: " + node)); + } + + final Reporting.Result result = tryJsonValueFrom(node); + return result.isError() + ? Reporting.Result.failure(result.getError()) + : Reporting.Result.success((ArrayNode) result.getResult()); + } + + /** + * Parse {@code node} as a JSON-able object. + * + * @param node to be parsed + * @return the parsed object, or an error + */ + private static Reporting.Result tryJsonObjectFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return Reporting.Result.failure( + new Reporting.Error("Expected a JSON-able object, but got: " + node)); + } + + final Reporting.Result result = tryJsonValueFrom(node); + return result.isError() + ? Reporting.Result.failure(result.getError()) + : Reporting.Result.success((ObjectNode) result.getResult()); + } + + /** + * Parse {@code node} as a list of {@code IReference}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IReference(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryReferenceFrom); + } + + /** + * Parse {@code node} as a list of {@code IEmbeddedDataSpecification}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> + parseListOf_IEmbeddedDataSpecification(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryEmbeddedDataSpecificationFrom); + } + + /** + * Parse {@code node} as a list of {@code IExtension}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IExtension(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryExtensionFrom); + } + + /** + * Parse {@code node} as a list of {@code ILangStringNameType}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_ILangStringNameType( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryLangStringNameTypeFrom); + } + + /** + * Parse {@code node} as a list of {@code ILangStringTextType}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_ILangStringTextType( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryLangStringTextTypeFrom); + } + + /** + * Parse {@code node} as a list of {@code ISpecificAssetId}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_ISpecificAssetId( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::trySpecificAssetIdFrom); + } + + /** + * Parse {@code node} as a list of {@code IQualifier}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IQualifier(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryQualifierFrom); + } + + /** + * Parse {@code node} as a list of {@code ISubmodelElement}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_ISubmodelElement( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryISubmodelElementFrom); + } + + /** + * Parse {@code node} as a list of {@code IDataElement}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IDataElement(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryIDataElementFrom); + } + + /** + * Parse {@code node} as a list of {@code IOperationVariable}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IOperationVariable( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryOperationVariableFrom); + } + + /** + * Parse {@code node} as a list of {@code IKey}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IKey(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryKeyFrom); + } + + /** + * Parse {@code node} as a list of {@code IAssetAdministrationShell}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> + parseListOf_IAssetAdministrationShell(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryAssetAdministrationShellFrom); + } + + /** + * Parse {@code node} as a list of {@code ISubmodel}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_ISubmodel(JsonNode node) { + return parseArray(node, _DeserializeImplementation::trySubmodelFrom); + } + + /** + * Parse {@code node} as a list of {@code IConceptDescription}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IConceptDescription( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryConceptDescriptionFrom); + } + + /** + * Parse {@code node} as a list of {@code IValueReferencePair}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IValueReferencePair( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryValueReferencePairFrom); + } + + /** + * Parse {@code node} as a list of {@code ILangStringUom}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_ILangStringUom( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryLangStringUomFrom); + } + + /** + * Parse {@code node} as a list of {@code IDefinitionTypeUom}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IDefinitionTypeUom( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryDefinitionTypeUomFrom); + } + + /** + * Parse {@code node} as a list of {@code ILangStringPreferredNameTypeIec61360}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> + parseListOf_ILangStringPreferredNameTypeIec61360(JsonNode node) { + return parseArray( + node, _DeserializeImplementation::tryLangStringPreferredNameTypeIec61360From); + } + + /** + * Parse {@code node} as a list of {@code ILangStringShortNameTypeIec61360}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> + parseListOf_ILangStringShortNameTypeIec61360(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryLangStringShortNameTypeIec61360From); + } + + /** + * Parse {@code node} as a list of {@code ILangStringDefinitionTypeIec61360}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> + parseListOf_ILangStringDefinitionTypeIec61360(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryLangStringDefinitionTypeIec61360From); + } + + /** + * Parse {@code node} as a list of {@code IEndpoint}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IEndpoint(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryEndpointFrom); + } + + /** + * Parse {@code node} as a list of {@code ISubmodelDescriptor}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_ISubmodelDescriptor( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::trySubmodelDescriptorFrom); + } + + /** + * Parse {@code node} as a list of {@code String}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_string(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryStringFrom); + } + + /** + * Parse {@code node} as a list of {@code ISecurityAttributeObject}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> + parseListOf_ISecurityAttributeObject(JsonNode node) { + return parseArray(node, _DeserializeImplementation::trySecurityAttributeObjectFrom); + } + + /** + * Parse {@code node} as a list of {@code ServiceSpecificationProfileEnum}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> + parseListOf_ServiceSpecificationProfileEnum(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryServiceSpecificationProfileEnumFrom); + } + + /** + * Parse {@code node} as a list of {@code IMessage}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IMessage(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryMessageFrom); + } + + /** + * Parse {@code node} as a list of {@code IReferable}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IReferable(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryIReferableFrom); + } + + /** + * Parse {@code node} as a list of {@code ObjectNode}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_jsonObject(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryJsonObjectFrom); + } + + /** + * Parse {@code node} as a list of {@code IAssetAdministrationShellMetadata}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> + parseListOf_IAssetAdministrationShellMetadata(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryAssetAdministrationShellMetadataFrom); + } + + /** + * Parse {@code node} as a list of {@code IAssetAdministrationShellRecentChange}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> + parseListOf_IAssetAdministrationShellRecentChange(JsonNode node) { + return parseArray( + node, _DeserializeImplementation::tryAssetAdministrationShellRecentChangeFrom); + } + + /** + * Parse {@code node} as a list of {@code IAssetAdministrationShellDescriptor}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> + parseListOf_IAssetAdministrationShellDescriptor(JsonNode node) { + return parseArray( + node, _DeserializeImplementation::tryAssetAdministrationShellDescriptorFrom); + } + + /** + * Parse {@code node} as a list of {@code IConceptDescriptionRecentChange}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> + parseListOf_IConceptDescriptionRecentChange(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryConceptDescriptionRecentChangeFrom); + } + + /** + * Parse {@code node} as a list of {@code IPackageDescription}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IPackageDescription( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryPackageDescriptionFrom); + } + + /** + * Parse {@code node} as a list of {@code ISubmodelElementMetadata}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> + parseListOf_ISubmodelElementMetadata(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryISubmodelElementMetadataFrom); + } + + /** + * Parse {@code node} as a list of {@code ISubmodelRecentChange}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_ISubmodelRecentChange( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::trySubmodelRecentChangeFrom); + } + + /** + * Parse {@code node} as a list of {@code ISubmodelMetadata}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_ISubmodelMetadata( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::trySubmodelMetadataFrom); + } + + /** + * Parse {@code node} as a tuple of 2 item(s). + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseTupleOf2_Value_Value(JsonNode node) { + return parseTuple2( + node, _DeserializeImplementation::tryValueFrom, _DeserializeImplementation::tryValueFrom); + } + + /** + * Parse {@code node} as a tuple of 2 item(s). + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> + parseTupleOf2_StringValue_StringValue(JsonNode node) { + return parseTuple2( + node, + _DeserializeImplementation::tryStringValueFrom, + _DeserializeImplementation::tryStringValueFrom); + } + + /** + * Parse {@code node} as a list of {@code MatchExpression}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_MatchExpression( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryMatchExpressionFrom); + } + + /** + * Parse {@code node} as a list of {@code LogicalExpression}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_LogicalExpression( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryLogicalExpressionFrom); + } + + /** + * Parse {@code node} as a list of {@code IQueryFilter}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IQueryFilter(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryQueryFilterFrom); + } + + /** + * Deserialize an instance of IHasSemantics by dispatching based on {@code modelType} property + * of the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIHasSemanticsFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IHasSemantics.class); + } + + switch (modelTypeResult.getResult()) { + case "RelationshipElement": + return tryRelationshipElementFromObject(node); + case "AnnotatedRelationshipElement": + return tryAnnotatedRelationshipElementFromObject(node); + case "AnnotatedRelationshipElementMetadata": + return tryAnnotatedRelationshipElementMetadataFromObject(node); + case "BasicEventElement": + return tryBasicEventElementFromObject(node); + case "BasicEventElementMetadata": + return tryBasicEventElementMetadataFromObject(node); + case "Blob": + return tryBlobFromObject(node); + case "BlobMetadata": + return tryBlobMetadataFromObject(node); + case "Capability": + return tryCapabilityFromObject(node); + case "CapabilityMetadata": + return tryCapabilityMetadataFromObject(node); + case "Entity": + return tryEntityFromObject(node); + case "EntityMetadata": + return tryEntityMetadataFromObject(node); + case "Extension": + return tryExtensionFrom(node); + case "File": + return tryFileFromObject(node); + case "FileMetadata": + return tryFileMetadataFromObject(node); + case "MultiLanguageProperty": + return tryMultiLanguagePropertyFromObject(node); + case "MultiLanguagePropertyMetadata": + return tryMultiLanguagePropertyMetadataFromObject(node); + case "Operation": + return tryOperationFromObject(node); + case "OperationMetadata": + return tryOperationMetadataFromObject(node); + case "Property": + return tryPropertyFromObject(node); + case "PropertyMetadata": + return tryPropertyMetadataFromObject(node); + case "Qualifier": + return tryQualifierFrom(node); + case "Range": + return tryRangeFromObject(node); + case "RangeMetadata": + return tryRangeMetadataFromObject(node); + case "ReferenceElement": + return tryReferenceElementFromObject(node); + case "ReferenceElementMetadata": + return tryReferenceElementMetadataFromObject(node); + case "RelationshipElementMetadata": + return tryRelationshipElementMetadataFromObject(node); + case "SpecificAssetId": + return trySpecificAssetIdFrom(node); + case "Submodel": + return trySubmodelFromObject(node); + case "SubmodelElementCollection": + return trySubmodelElementCollectionFromObject(node); + case "SubmodelElementCollectionMetadata": + return trySubmodelElementCollectionMetadataFromObject(node); + case "SubmodelElementList": + return trySubmodelElementListFromObject(node); + case "SubmodelElementListMetadata": + return trySubmodelElementListMetadataFromObject(node); + case "SubmodelMetadata": + return trySubmodelMetadataFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IHasSemantics: " + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of Extension from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryExtensionFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theName = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + DataTypeDefXsd theValueType = null; + String theValue = null; + List theRefersTo = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "name": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theName = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "valueType": + { + final Reporting.Result parsed = + tryDataTypeDefXsdFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueType = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "refersTo": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theRefersTo = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theName == null) { + return missingRequiredProperty("name"); + } + + return Reporting.Result.success( + new Extension( + theName, + theSemanticId, + theSupplementalSemanticIds, + theValueType, + theValue, + theRefersTo)); + } + + /** + * Deserialize an instance of IHasExtensions by dispatching based on {@code modelType} property + * of the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIHasExtensionsFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IHasExtensions.class); + } + + switch (modelTypeResult.getResult()) { + case "RelationshipElement": + return tryRelationshipElementFromObject(node); + case "AnnotatedRelationshipElement": + return tryAnnotatedRelationshipElementFromObject(node); + case "AnnotatedRelationshipElementMetadata": + return tryAnnotatedRelationshipElementMetadataFromObject(node); + case "AssetAdministrationShell": + return tryAssetAdministrationShellFromObject(node); + case "AssetAdministrationShellMetadata": + return tryAssetAdministrationShellMetadataFromObject(node); + case "BasicEventElement": + return tryBasicEventElementFromObject(node); + case "BasicEventElementMetadata": + return tryBasicEventElementMetadataFromObject(node); + case "Blob": + return tryBlobFromObject(node); + case "BlobMetadata": + return tryBlobMetadataFromObject(node); + case "Capability": + return tryCapabilityFromObject(node); + case "CapabilityMetadata": + return tryCapabilityMetadataFromObject(node); + case "ConceptDescription": + return tryConceptDescriptionFromObject(node); + case "Entity": + return tryEntityFromObject(node); + case "EntityMetadata": + return tryEntityMetadataFromObject(node); + case "File": + return tryFileFromObject(node); + case "FileMetadata": + return tryFileMetadataFromObject(node); + case "MultiLanguageProperty": + return tryMultiLanguagePropertyFromObject(node); + case "MultiLanguagePropertyMetadata": + return tryMultiLanguagePropertyMetadataFromObject(node); + case "Operation": + return tryOperationFromObject(node); + case "OperationMetadata": + return tryOperationMetadataFromObject(node); + case "Property": + return tryPropertyFromObject(node); + case "PropertyMetadata": + return tryPropertyMetadataFromObject(node); + case "Range": + return tryRangeFromObject(node); + case "RangeMetadata": + return tryRangeMetadataFromObject(node); + case "ReferenceElement": + return tryReferenceElementFromObject(node); + case "ReferenceElementMetadata": + return tryReferenceElementMetadataFromObject(node); + case "RelationshipElementMetadata": + return tryRelationshipElementMetadataFromObject(node); + case "Submodel": + return trySubmodelFromObject(node); + case "SubmodelElementCollection": + return trySubmodelElementCollectionFromObject(node); + case "SubmodelElementCollectionMetadata": + return trySubmodelElementCollectionMetadataFromObject(node); + case "SubmodelElementList": + return trySubmodelElementListFromObject(node); + case "SubmodelElementListMetadata": + return trySubmodelElementListMetadataFromObject(node); + case "SubmodelMetadata": + return trySubmodelMetadataFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IHasExtensions: " + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of IReferable by dispatching based on {@code modelType} property of + * the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIReferableFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IReferable.class); + } + + switch (modelTypeResult.getResult()) { + case "RelationshipElement": + return tryRelationshipElementFromObject(node); + case "AnnotatedRelationshipElement": + return tryAnnotatedRelationshipElementFromObject(node); + case "AnnotatedRelationshipElementMetadata": + return tryAnnotatedRelationshipElementMetadataFromObject(node); + case "AssetAdministrationShell": + return tryAssetAdministrationShellFromObject(node); + case "AssetAdministrationShellMetadata": + return tryAssetAdministrationShellMetadataFromObject(node); + case "BasicEventElement": + return tryBasicEventElementFromObject(node); + case "BasicEventElementMetadata": + return tryBasicEventElementMetadataFromObject(node); + case "Blob": + return tryBlobFromObject(node); + case "BlobMetadata": + return tryBlobMetadataFromObject(node); + case "Capability": + return tryCapabilityFromObject(node); + case "CapabilityMetadata": + return tryCapabilityMetadataFromObject(node); + case "ConceptDescription": + return tryConceptDescriptionFromObject(node); + case "Entity": + return tryEntityFromObject(node); + case "EntityMetadata": + return tryEntityMetadataFromObject(node); + case "File": + return tryFileFromObject(node); + case "FileMetadata": + return tryFileMetadataFromObject(node); + case "MultiLanguageProperty": + return tryMultiLanguagePropertyFromObject(node); + case "MultiLanguagePropertyMetadata": + return tryMultiLanguagePropertyMetadataFromObject(node); + case "Operation": + return tryOperationFromObject(node); + case "OperationMetadata": + return tryOperationMetadataFromObject(node); + case "Property": + return tryPropertyFromObject(node); + case "PropertyMetadata": + return tryPropertyMetadataFromObject(node); + case "Range": + return tryRangeFromObject(node); + case "RangeMetadata": + return tryRangeMetadataFromObject(node); + case "ReferenceElement": + return tryReferenceElementFromObject(node); + case "ReferenceElementMetadata": + return tryReferenceElementMetadataFromObject(node); + case "RelationshipElementMetadata": + return tryRelationshipElementMetadataFromObject(node); + case "Submodel": + return trySubmodelFromObject(node); + case "SubmodelElementCollection": + return trySubmodelElementCollectionFromObject(node); + case "SubmodelElementCollectionMetadata": + return trySubmodelElementCollectionMetadataFromObject(node); + case "SubmodelElementList": + return trySubmodelElementListFromObject(node); + case "SubmodelElementListMetadata": + return trySubmodelElementListMetadataFromObject(node); + case "SubmodelMetadata": + return trySubmodelMetadataFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IReferable: " + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of IIdentifiable by dispatching based on {@code modelType} property + * of the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIIdentifiableFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IIdentifiable.class); + } + + switch (modelTypeResult.getResult()) { + case "AssetAdministrationShell": + return tryAssetAdministrationShellFromObject(node); + case "AssetAdministrationShellMetadata": + return tryAssetAdministrationShellMetadataFromObject(node); + case "ConceptDescription": + return tryConceptDescriptionFromObject(node); + case "Submodel": + return trySubmodelFromObject(node); + case "SubmodelMetadata": + return trySubmodelMetadataFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IIdentifiable: " + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize the enumeration ModellingKind from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryModellingKindFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::modellingKindFromString, ModellingKind.class); + } + + /** + * Deserialize an instance of IHasKind by dispatching based on {@code modelType} property of the + * {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIHasKindFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IHasKind.class); + } + + switch (modelTypeResult.getResult()) { + case "Submodel": + return trySubmodelFromObject(node); + case "SubmodelMetadata": + return trySubmodelMetadataFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IHasKind: " + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of IHasDataSpecification by dispatching based on {@code modelType} + * property of the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIHasDataSpecificationFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IHasDataSpecification.class); + } + + switch (modelTypeResult.getResult()) { + case "AdministrativeInformation": + return tryAdministrativeInformationFrom(node); + case "RelationshipElement": + return tryRelationshipElementFromObject(node); + case "AnnotatedRelationshipElement": + return tryAnnotatedRelationshipElementFromObject(node); + case "AnnotatedRelationshipElementMetadata": + return tryAnnotatedRelationshipElementMetadataFromObject(node); + case "AssetAdministrationShell": + return tryAssetAdministrationShellFromObject(node); + case "AssetAdministrationShellMetadata": + return tryAssetAdministrationShellMetadataFromObject(node); + case "BasicEventElement": + return tryBasicEventElementFromObject(node); + case "BasicEventElementMetadata": + return tryBasicEventElementMetadataFromObject(node); + case "Blob": + return tryBlobFromObject(node); + case "BlobMetadata": + return tryBlobMetadataFromObject(node); + case "Capability": + return tryCapabilityFromObject(node); + case "CapabilityMetadata": + return tryCapabilityMetadataFromObject(node); + case "ConceptDescription": + return tryConceptDescriptionFromObject(node); + case "Entity": + return tryEntityFromObject(node); + case "EntityMetadata": + return tryEntityMetadataFromObject(node); + case "File": + return tryFileFromObject(node); + case "FileMetadata": + return tryFileMetadataFromObject(node); + case "MultiLanguageProperty": + return tryMultiLanguagePropertyFromObject(node); + case "MultiLanguagePropertyMetadata": + return tryMultiLanguagePropertyMetadataFromObject(node); + case "Operation": + return tryOperationFromObject(node); + case "OperationMetadata": + return tryOperationMetadataFromObject(node); + case "Property": + return tryPropertyFromObject(node); + case "PropertyMetadata": + return tryPropertyMetadataFromObject(node); + case "Range": + return tryRangeFromObject(node); + case "RangeMetadata": + return tryRangeMetadataFromObject(node); + case "ReferenceElement": + return tryReferenceElementFromObject(node); + case "ReferenceElementMetadata": + return tryReferenceElementMetadataFromObject(node); + case "RelationshipElementMetadata": + return tryRelationshipElementMetadataFromObject(node); + case "Submodel": + return trySubmodelFromObject(node); + case "SubmodelElementCollection": + return trySubmodelElementCollectionFromObject(node); + case "SubmodelElementCollectionMetadata": + return trySubmodelElementCollectionMetadataFromObject(node); + case "SubmodelElementList": + return trySubmodelElementListFromObject(node); + case "SubmodelElementListMetadata": + return trySubmodelElementListMetadataFromObject(node); + case "SubmodelMetadata": + return trySubmodelMetadataFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IHasDataSpecification: " + + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of AdministrativeInformation from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryAdministrativeInformationFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + List theEmbeddedDataSpecifications = null; + String theVersion = null; + String theRevision = null; + IReference theCreator = null; + String theCreatedAt = null; + String theUpdatedAt = null; + String theTemplateId = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "version": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theVersion = parsed.getResult(); + break; + } + case "revision": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theRevision = parsed.getResult(); + break; + } + case "creator": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCreator = parsed.getResult(); + break; + } + case "createdAt": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCreatedAt = parsed.getResult(); + break; + } + case "updatedAt": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theUpdatedAt = parsed.getResult(); + break; + } + case "templateId": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theTemplateId = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new AdministrativeInformation( + theEmbeddedDataSpecifications, + theVersion, + theRevision, + theCreator, + theCreatedAt, + theUpdatedAt, + theTemplateId)); + } + + /** + * Deserialize an instance of IQualifiable by dispatching based on {@code modelType} property of + * the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIQualifiableFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IQualifiable.class); + } + + switch (modelTypeResult.getResult()) { + case "RelationshipElement": + return tryRelationshipElementFromObject(node); + case "AnnotatedRelationshipElement": + return tryAnnotatedRelationshipElementFromObject(node); + case "AnnotatedRelationshipElementMetadata": + return tryAnnotatedRelationshipElementMetadataFromObject(node); + case "BasicEventElement": + return tryBasicEventElementFromObject(node); + case "BasicEventElementMetadata": + return tryBasicEventElementMetadataFromObject(node); + case "Blob": + return tryBlobFromObject(node); + case "BlobMetadata": + return tryBlobMetadataFromObject(node); + case "Capability": + return tryCapabilityFromObject(node); + case "CapabilityMetadata": + return tryCapabilityMetadataFromObject(node); + case "Entity": + return tryEntityFromObject(node); + case "EntityMetadata": + return tryEntityMetadataFromObject(node); + case "File": + return tryFileFromObject(node); + case "FileMetadata": + return tryFileMetadataFromObject(node); + case "MultiLanguageProperty": + return tryMultiLanguagePropertyFromObject(node); + case "MultiLanguagePropertyMetadata": + return tryMultiLanguagePropertyMetadataFromObject(node); + case "Operation": + return tryOperationFromObject(node); + case "OperationMetadata": + return tryOperationMetadataFromObject(node); + case "Property": + return tryPropertyFromObject(node); + case "PropertyMetadata": + return tryPropertyMetadataFromObject(node); + case "Range": + return tryRangeFromObject(node); + case "RangeMetadata": + return tryRangeMetadataFromObject(node); + case "ReferenceElement": + return tryReferenceElementFromObject(node); + case "ReferenceElementMetadata": + return tryReferenceElementMetadataFromObject(node); + case "RelationshipElementMetadata": + return tryRelationshipElementMetadataFromObject(node); + case "Submodel": + return trySubmodelFromObject(node); + case "SubmodelElementCollection": + return trySubmodelElementCollectionFromObject(node); + case "SubmodelElementCollectionMetadata": + return trySubmodelElementCollectionMetadataFromObject(node); + case "SubmodelElementList": + return trySubmodelElementListFromObject(node); + case "SubmodelElementListMetadata": + return trySubmodelElementListMetadataFromObject(node); + case "SubmodelMetadata": + return trySubmodelMetadataFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IQualifiable: " + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize the enumeration QualifierKind from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryQualifierKindFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::qualifierKindFromString, QualifierKind.class); + } + + /** + * Deserialize an instance of Qualifier from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryQualifierFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theType = null; + DataTypeDefXsd theValueType = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + QualifierKind theKind = null; + String theValue = null; + IReference theValueId = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "type": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theType = parsed.getResult(); + break; + } + case "valueType": + { + final Reporting.Result parsed = + tryDataTypeDefXsdFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueType = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "kind": + { + final Reporting.Result parsed = tryQualifierKindFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theKind = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "valueId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueId = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theType == null) { + return missingRequiredProperty("type"); + } + + if (theValueType == null) { + return missingRequiredProperty("valueType"); + } + + return Reporting.Result.success( + new Qualifier( + theType, + theValueType, + theSemanticId, + theSupplementalSemanticIds, + theKind, + theValue, + theValueId)); + } + + /** + * Deserialize an instance of AssetAdministrationShell from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryAssetAdministrationShellFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "AssetAdministrationShell"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryAssetAdministrationShellFromObject(node); + } + + /** + * Deserialize an instance of AssetAdministrationShell from the JSON object {@code node} whose + * model type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryAssetAdministrationShellFromObject( + JsonNode node) { + String theId = null; + IAssetInformation theAssetInformation = null; + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IAdministrativeInformation theAdministration = null; + List theEmbeddedDataSpecifications = null; + IReference theDerivedFrom = null; + List theSubmodels = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "id": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theId = parsed.getResult(); + break; + } + case "assetInformation": + { + final Reporting.Result parsed = + tryAssetInformationFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAssetInformation = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "administration": + { + final Reporting.Result parsed = + tryAdministrativeInformationFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAdministration = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "derivedFrom": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDerivedFrom = parsed.getResult(); + break; + } + case "submodels": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSubmodels = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (theId == null) { + return missingRequiredProperty("id"); + } + + if (theAssetInformation == null) { + return missingRequiredProperty("assetInformation"); + } + + return Reporting.Result.success( + new AssetAdministrationShell( + theId, + theAssetInformation, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theAdministration, + theEmbeddedDataSpecifications, + theDerivedFrom, + theSubmodels)); + } + + /** + * Deserialize an instance of AssetInformation from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryAssetInformationFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + AssetKind theAssetKind = null; + String theGlobalAssetId = null; + List theSpecificAssetIds = null; + String theAssetType = null; + IResource theDefaultThumbnail = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "assetKind": + { + final Reporting.Result parsed = tryAssetKindFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAssetKind = parsed.getResult(); + break; + } + case "globalAssetId": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theGlobalAssetId = parsed.getResult(); + break; + } + case "specificAssetIds": + { + final Reporting.Result> parsed = + parseListOf_ISpecificAssetId(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSpecificAssetIds = parsed.getResult(); + break; + } + case "assetType": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAssetType = parsed.getResult(); + break; + } + case "defaultThumbnail": + { + final Reporting.Result parsed = tryResourceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDefaultThumbnail = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theAssetKind == null) { + return missingRequiredProperty("assetKind"); + } + + return Reporting.Result.success( + new AssetInformation( + theAssetKind, + theGlobalAssetId, + theSpecificAssetIds, + theAssetType, + theDefaultThumbnail)); + } + + /** + * Deserialize an instance of Resource from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryResourceFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String thePath = null; + String theContentType = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "path": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePath = parsed.getResult(); + break; + } + case "contentType": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theContentType = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (thePath == null) { + return missingRequiredProperty("path"); + } + + return Reporting.Result.success(new Resource(thePath, theContentType)); + } + + /** + * Deserialize the enumeration AssetKind from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryAssetKindFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::assetKindFromString, AssetKind.class); + } + + /** + * Deserialize an instance of SpecificAssetId from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result trySpecificAssetIdFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theName = null; + String theValue = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + IReference theExternalSubjectId = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "name": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theName = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "externalSubjectId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExternalSubjectId = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theName == null) { + return missingRequiredProperty("name"); + } + + if (theValue == null) { + return missingRequiredProperty("value"); + } + + return Reporting.Result.success( + new SpecificAssetId( + theName, theValue, theSemanticId, theSupplementalSemanticIds, theExternalSubjectId)); + } + + /** + * Deserialize an instance of Submodel from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result trySubmodelFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "Submodel"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return trySubmodelFromObject(node); + } + + /** + * Deserialize an instance of Submodel from the JSON object {@code node} whose model type has + * already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result trySubmodelFromObject(JsonNode node) { + String theId = null; + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IAdministrativeInformation theAdministration = null; + ModellingKind theKind = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + List theSubmodelElements = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "id": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theId = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "administration": + { + final Reporting.Result parsed = + tryAdministrativeInformationFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAdministration = parsed.getResult(); + break; + } + case "kind": + { + final Reporting.Result parsed = tryModellingKindFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theKind = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "submodelElements": + { + final Reporting.Result> parsed = + parseListOf_ISubmodelElement(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSubmodelElements = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (theId == null) { + return missingRequiredProperty("id"); + } + + return Reporting.Result.success( + new Submodel( + theId, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theAdministration, + theKind, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theSubmodelElements)); + } + + /** + * Deserialize an instance of ISubmodelElement by dispatching based on {@code modelType} + * property of the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryISubmodelElementFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(ISubmodelElement.class); + } + + switch (modelTypeResult.getResult()) { + case "RelationshipElement": + return tryRelationshipElementFromObject(node); + case "AnnotatedRelationshipElement": + return tryAnnotatedRelationshipElementFromObject(node); + case "BasicEventElement": + return tryBasicEventElementFromObject(node); + case "Blob": + return tryBlobFromObject(node); + case "Capability": + return tryCapabilityFromObject(node); + case "Entity": + return tryEntityFromObject(node); + case "File": + return tryFileFromObject(node); + case "MultiLanguageProperty": + return tryMultiLanguagePropertyFromObject(node); + case "Operation": + return tryOperationFromObject(node); + case "Property": + return tryPropertyFromObject(node); + case "Range": + return tryRangeFromObject(node); + case "ReferenceElement": + return tryReferenceElementFromObject(node); + case "SubmodelElementCollection": + return trySubmodelElementCollectionFromObject(node); + case "SubmodelElementList": + return trySubmodelElementListFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for ISubmodelElement: " + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of IRelationshipElement by dispatching based on {@code modelType} + * property of the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIRelationshipElementFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IRelationshipElement.class); + } + + switch (modelTypeResult.getResult()) { + case "AnnotatedRelationshipElement": + return tryAnnotatedRelationshipElementFromObject(node); + case "RelationshipElement": + return tryRelationshipElementFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IRelationshipElement: " + + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of RelationshipElement from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryRelationshipElementFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "RelationshipElement"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryRelationshipElementFromObject(node); + } + + /** + * Deserialize an instance of RelationshipElement from the JSON object {@code node} whose model + * type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryRelationshipElementFromObject( + JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + IReference theFirst = null; + IReference theSecond = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "first": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theFirst = parsed.getResult(); + break; + } + case "second": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSecond = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new RelationshipElement( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theFirst, + theSecond)); + } + + /** + * Deserialize the enumeration AasSubmodelElements from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryAasSubmodelElementsFrom(JsonNode node) { + return tryEnumFrom( + node, Stringification::aasSubmodelElementsFromString, AasSubmodelElements.class); + } + + /** + * Deserialize an instance of SubmodelElementList from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result trySubmodelElementListFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "SubmodelElementList"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return trySubmodelElementListFromObject(node); + } + + /** + * Deserialize an instance of SubmodelElementList from the JSON object {@code node} whose model + * type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result trySubmodelElementListFromObject( + JsonNode node) { + AasSubmodelElements theTypeValueListElement = null; + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + Boolean theOrderRelevant = null; + IReference theSemanticIdListElement = null; + DataTypeDefXsd theValueTypeListElement = null; + List theValue = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "typeValueListElement": + { + final Reporting.Result parsed = + tryAasSubmodelElementsFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theTypeValueListElement = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "orderRelevant": + { + final Reporting.Result parsed = tryBooleanFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theOrderRelevant = parsed.getResult(); + break; + } + case "semanticIdListElement": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticIdListElement = parsed.getResult(); + break; + } + case "valueTypeListElement": + { + final Reporting.Result parsed = + tryDataTypeDefXsdFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueTypeListElement = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result> parsed = + parseListOf_ISubmodelElement(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (theTypeValueListElement == null) { + return missingRequiredProperty("typeValueListElement"); + } + + return Reporting.Result.success( + new SubmodelElementList( + theTypeValueListElement, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theOrderRelevant, + theSemanticIdListElement, + theValueTypeListElement, + theValue)); + } + + /** + * Deserialize an instance of SubmodelElementCollection from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result trySubmodelElementCollectionFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "SubmodelElementCollection"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return trySubmodelElementCollectionFromObject(node); + } + + /** + * Deserialize an instance of SubmodelElementCollection from the JSON object {@code node} whose + * model type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result + trySubmodelElementCollectionFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + List theValue = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result> parsed = + parseListOf_ISubmodelElement(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new SubmodelElementCollection( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue)); + } + + /** + * Deserialize an instance of IDataElement by dispatching based on {@code modelType} property of + * the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIDataElementFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IDataElement.class); + } + + switch (modelTypeResult.getResult()) { + case "Blob": + return tryBlobFromObject(node); + case "File": + return tryFileFromObject(node); + case "MultiLanguageProperty": + return tryMultiLanguagePropertyFromObject(node); + case "Property": + return tryPropertyFromObject(node); + case "Range": + return tryRangeFromObject(node); + case "ReferenceElement": + return tryReferenceElementFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IDataElement: " + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of Property from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryPropertyFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "Property"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryPropertyFromObject(node); + } + + /** + * Deserialize an instance of Property from the JSON object {@code node} whose model type has + * already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryPropertyFromObject(JsonNode node) { + DataTypeDefXsd theValueType = null; + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + String theValue = null; + IReference theValueId = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "valueType": + { + final Reporting.Result parsed = + tryDataTypeDefXsdFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueType = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "valueId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueId = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (theValueType == null) { + return missingRequiredProperty("valueType"); + } + + return Reporting.Result.success( + new Property( + theValueType, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue, + theValueId)); + } + + /** + * Deserialize an instance of MultiLanguageProperty from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryMultiLanguagePropertyFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "MultiLanguageProperty"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryMultiLanguagePropertyFromObject(node); + } + + /** + * Deserialize an instance of MultiLanguageProperty from the JSON object {@code node} whose + * model type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryMultiLanguagePropertyFromObject( + JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + List theValue = null; + IReference theValueId = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "valueId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueId = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new MultiLanguageProperty( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue, + theValueId)); + } + + /** + * Deserialize an instance of Range from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryRangeFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "Range"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryRangeFromObject(node); + } + + /** + * Deserialize an instance of Range from the JSON object {@code node} whose model type has + * already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryRangeFromObject(JsonNode node) { + DataTypeDefXsd theValueType = null; + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + String theMin = null; + String theMax = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "valueType": + { + final Reporting.Result parsed = + tryDataTypeDefXsdFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueType = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "min": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMin = parsed.getResult(); + break; + } + case "max": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMax = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (theValueType == null) { + return missingRequiredProperty("valueType"); + } + + return Reporting.Result.success( + new Range( + theValueType, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theMin, + theMax)); + } + + /** + * Deserialize an instance of ReferenceElement from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryReferenceElementFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "ReferenceElement"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryReferenceElementFromObject(node); + } + + /** + * Deserialize an instance of ReferenceElement from the JSON object {@code node} whose model + * type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryReferenceElementFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + IReference theValue = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new ReferenceElement( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue)); + } + + /** + * Deserialize an instance of Blob from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryBlobFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "Blob"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryBlobFromObject(node); + } + + /** + * Deserialize an instance of Blob from the JSON object {@code node} whose model type has + * already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryBlobFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + byte[] theValue = null; + String theContentType = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryBytesFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "contentType": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theContentType = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new Blob( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue, + theContentType)); + } + + /** + * Deserialize an instance of File from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryFileFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "File"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryFileFromObject(node); + } + + /** + * Deserialize an instance of File from the JSON object {@code node} whose model type has + * already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryFileFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + String theValue = null; + String theContentType = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "contentType": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theContentType = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new File( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue, + theContentType)); + } + + /** + * Deserialize an instance of AnnotatedRelationshipElement from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryAnnotatedRelationshipElementFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "AnnotatedRelationshipElement"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryAnnotatedRelationshipElementFromObject(node); + } + + /** + * Deserialize an instance of AnnotatedRelationshipElement from the JSON object {@code node} + * whose model type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result + tryAnnotatedRelationshipElementFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + IReference theFirst = null; + IReference theSecond = null; + List theAnnotations = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "first": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theFirst = parsed.getResult(); + break; + } + case "second": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSecond = parsed.getResult(); + break; + } + case "annotations": + { + final Reporting.Result> parsed = parseListOf_IDataElement(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAnnotations = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new AnnotatedRelationshipElement( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theFirst, + theSecond, + theAnnotations)); + } + + /** + * Deserialize an instance of Entity from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryEntityFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "Entity"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryEntityFromObject(node); + } + + /** + * Deserialize an instance of Entity from the JSON object {@code node} whose model type has + * already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryEntityFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + List theStatements = null; + EntityType theEntityType = null; + String theGlobalAssetId = null; + List theSpecificAssetIds = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "statements": + { + final Reporting.Result> parsed = + parseListOf_ISubmodelElement(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theStatements = parsed.getResult(); + break; + } + case "entityType": + { + final Reporting.Result parsed = tryEntityTypeFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEntityType = parsed.getResult(); + break; + } + case "globalAssetId": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theGlobalAssetId = parsed.getResult(); + break; + } + case "specificAssetIds": + { + final Reporting.Result> parsed = + parseListOf_ISpecificAssetId(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSpecificAssetIds = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new Entity( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theStatements, + theEntityType, + theGlobalAssetId, + theSpecificAssetIds)); + } + + /** + * Deserialize the enumeration EntityType from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryEntityTypeFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::entityTypeFromString, EntityType.class); + } + + /** + * Deserialize the enumeration Direction from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryDirectionFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::directionFromString, Direction.class); + } + + /** + * Deserialize the enumeration StateOfEvent from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryStateOfEventFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::stateOfEventFromString, StateOfEvent.class); + } + + /** + * Deserialize an instance of EventPayload from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryEventPayloadFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IReference theSource = null; + IReference theObservableReference = null; + String theTimeStamp = null; + IReference theSourceSemanticId = null; + IReference theObservableSemanticId = null; + String theTopic = null; + IReference theSubjectId = null; + byte[] thePayload = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "source": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSource = parsed.getResult(); + break; + } + case "observableReference": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theObservableReference = parsed.getResult(); + break; + } + case "timeStamp": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theTimeStamp = parsed.getResult(); + break; + } + case "sourceSemanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSourceSemanticId = parsed.getResult(); + break; + } + case "observableSemanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theObservableSemanticId = parsed.getResult(); + break; + } + case "topic": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theTopic = parsed.getResult(); + break; + } + case "subjectId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSubjectId = parsed.getResult(); + break; + } + case "payload": + { + final Reporting.Result parsed = tryBytesFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePayload = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theSource == null) { + return missingRequiredProperty("source"); + } + + if (theObservableReference == null) { + return missingRequiredProperty("observableReference"); + } + + if (theTimeStamp == null) { + return missingRequiredProperty("timeStamp"); + } + + return Reporting.Result.success( + new EventPayload( + theSource, + theObservableReference, + theTimeStamp, + theSourceSemanticId, + theObservableSemanticId, + theTopic, + theSubjectId, + thePayload)); + } + + /** + * Deserialize an instance of IEventElement by dispatching based on {@code modelType} property + * of the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIEventElementFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IEventElement.class); + } + + switch (modelTypeResult.getResult()) { + case "BasicEventElement": + return tryBasicEventElementFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IEventElement: " + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of BasicEventElement from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryBasicEventElementFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "BasicEventElement"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryBasicEventElementFromObject(node); + } + + /** + * Deserialize an instance of BasicEventElement from the JSON object {@code node} whose model + * type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryBasicEventElementFromObject( + JsonNode node) { + IReference theObserved = null; + Direction theDirection = null; + StateOfEvent theState = null; + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + String theMessageTopic = null; + IReference theMessageBroker = null; + String theLastUpdate = null; + String theMinInterval = null; + String theMaxInterval = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "observed": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theObserved = parsed.getResult(); + break; + } + case "direction": + { + final Reporting.Result parsed = tryDirectionFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDirection = parsed.getResult(); + break; + } + case "state": + { + final Reporting.Result parsed = tryStateOfEventFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theState = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "messageTopic": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMessageTopic = parsed.getResult(); + break; + } + case "messageBroker": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMessageBroker = parsed.getResult(); + break; + } + case "lastUpdate": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theLastUpdate = parsed.getResult(); + break; + } + case "minInterval": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMinInterval = parsed.getResult(); + break; + } + case "maxInterval": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMaxInterval = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (theObserved == null) { + return missingRequiredProperty("observed"); + } + + if (theDirection == null) { + return missingRequiredProperty("direction"); + } + + if (theState == null) { + return missingRequiredProperty("state"); + } + + return Reporting.Result.success( + new BasicEventElement( + theObserved, + theDirection, + theState, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theMessageTopic, + theMessageBroker, + theLastUpdate, + theMinInterval, + theMaxInterval)); + } + + /** + * Deserialize an instance of Operation from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryOperationFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "Operation"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryOperationFromObject(node); + } + + /** + * Deserialize an instance of Operation from the JSON object {@code node} whose model type has + * already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryOperationFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + List theInputVariables = null; + List theOutputVariables = null; + List theInoutputVariables = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "inputVariables": + { + final Reporting.Result> parsed = + parseListOf_IOperationVariable(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theInputVariables = parsed.getResult(); + break; + } + case "outputVariables": + { + final Reporting.Result> parsed = + parseListOf_IOperationVariable(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theOutputVariables = parsed.getResult(); + break; + } + case "inoutputVariables": + { + final Reporting.Result> parsed = + parseListOf_IOperationVariable(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theInoutputVariables = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new Operation( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theInputVariables, + theOutputVariables, + theInoutputVariables)); + } + + /** + * Deserialize an instance of OperationVariable from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryOperationVariableFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + ISubmodelElement theValue = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "value": + { + final Reporting.Result parsed = + tryISubmodelElementFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theValue == null) { + return missingRequiredProperty("value"); + } + + return Reporting.Result.success(new OperationVariable(theValue)); + } + + /** + * Deserialize an instance of Capability from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryCapabilityFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "Capability"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryCapabilityFromObject(node); + } + + /** + * Deserialize an instance of Capability from the JSON object {@code node} whose model type has + * already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryCapabilityFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new Capability( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** + * Deserialize an instance of ConceptDescription from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryConceptDescriptionFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "ConceptDescription"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryConceptDescriptionFromObject(node); + } + + /** + * Deserialize an instance of ConceptDescription from the JSON object {@code node} whose model + * type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryConceptDescriptionFromObject( + JsonNode node) { + String theId = null; + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IAdministrativeInformation theAdministration = null; + List theEmbeddedDataSpecifications = null; + List theIsCaseOf = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "id": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theId = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "administration": + { + final Reporting.Result parsed = + tryAdministrativeInformationFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAdministration = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "isCaseOf": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIsCaseOf = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (theId == null) { + return missingRequiredProperty("id"); + } + + return Reporting.Result.success( + new ConceptDescription( + theId, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theAdministration, + theEmbeddedDataSpecifications, + theIsCaseOf)); + } + + /** + * Deserialize the enumeration ReferenceTypes from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryReferenceTypesFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::referenceTypesFromString, ReferenceTypes.class); + } + + /** + * Deserialize an instance of Reference from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryReferenceFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + ReferenceTypes theType = null; + List theKeys = null; + IReference theReferredSemanticId = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "type": + { + final Reporting.Result parsed = + tryReferenceTypesFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theType = parsed.getResult(); + break; + } + case "keys": + { + final Reporting.Result> parsed = parseListOf_IKey(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theKeys = parsed.getResult(); + break; + } + case "referredSemanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theReferredSemanticId = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theType == null) { + return missingRequiredProperty("type"); + } + + if (theKeys == null) { + return missingRequiredProperty("keys"); + } + + return Reporting.Result.success(new Reference(theType, theKeys, theReferredSemanticId)); + } + + /** + * Deserialize an instance of Key from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryKeyFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + KeyTypes theType = null; + String theValue = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "type": + { + final Reporting.Result parsed = tryKeyTypesFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theType = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theType == null) { + return missingRequiredProperty("type"); + } + + if (theValue == null) { + return missingRequiredProperty("value"); + } + + return Reporting.Result.success(new Key(theType, theValue)); + } + + /** + * Deserialize the enumeration KeyTypes from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryKeyTypesFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::keyTypesFromString, KeyTypes.class); + } + + /** + * Deserialize the enumeration DataTypeDefXsd from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryDataTypeDefXsdFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::dataTypeDefXsdFromString, DataTypeDefXsd.class); + } + + /** + * Deserialize an instance of IAbstractLangString by dispatching based on {@code modelType} + * property of the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIAbstractLangStringFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IAbstractLangString.class); + } + + switch (modelTypeResult.getResult()) { + case "DefinitionTypeUom": + return tryDefinitionTypeUomFrom(node); + case "LangStringDefinitionTypeIec61360": + return tryLangStringDefinitionTypeIec61360From(node); + case "LangStringNameType": + return tryLangStringNameTypeFrom(node); + case "LangStringPreferredNameTypeIec61360": + return tryLangStringPreferredNameTypeIec61360From(node); + case "LangStringShortNameTypeIec61360": + return tryLangStringShortNameTypeIec61360From(node); + case "LangStringTextType": + return tryLangStringTextTypeFrom(node); + case "LangStringUom": + return tryLangStringUomFrom(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IAbstractLangString: " + + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of LangStringNameType from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryLangStringNameTypeFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theLanguage = null; + String theText = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "language": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theLanguage = parsed.getResult(); + break; + } + case "text": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theText = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language"); + } + + if (theText == null) { + return missingRequiredProperty("text"); + } + + return Reporting.Result.success(new LangStringNameType(theLanguage, theText)); + } + + /** + * Deserialize an instance of LangStringTextType from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryLangStringTextTypeFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theLanguage = null; + String theText = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "language": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theLanguage = parsed.getResult(); + break; + } + case "text": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theText = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language"); + } + + if (theText == null) { + return missingRequiredProperty("text"); + } + + return Reporting.Result.success(new LangStringTextType(theLanguage, theText)); + } + + /** + * Deserialize an instance of Environment from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryEnvironmentFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + List theAssetAdministrationShells = null; + List theSubmodels = null; + List theConceptDescriptions = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "assetAdministrationShells": + { + final Reporting.Result> parsed = + parseListOf_IAssetAdministrationShell(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAssetAdministrationShells = parsed.getResult(); + break; + } + case "submodels": + { + final Reporting.Result> parsed = parseListOf_ISubmodel(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSubmodels = parsed.getResult(); + break; + } + case "conceptDescriptions": + { + final Reporting.Result> parsed = + parseListOf_IConceptDescription(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theConceptDescriptions = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new Environment(theAssetAdministrationShells, theSubmodels, theConceptDescriptions)); + } + + /** + * Deserialize an instance of IDataSpecificationContent by dispatching based on {@code + * modelType} property of the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result + tryIDataSpecificationContentFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IDataSpecificationContent.class); + } + + switch (modelTypeResult.getResult()) { + case "DataSpecificationIec61360": + return tryDataSpecificationIec61360FromObject(node); + case "DataSpecificationUom": + return tryDataSpecificationUomFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IDataSpecificationContent: " + + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of EmbeddedDataSpecification from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryEmbeddedDataSpecificationFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IReference theDataSpecification = null; + IDataSpecificationContent theDataSpecificationContent = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "dataSpecification": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDataSpecification = parsed.getResult(); + break; + } + case "dataSpecificationContent": + { + final Reporting.Result parsed = + tryIDataSpecificationContentFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDataSpecificationContent = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theDataSpecification == null) { + return missingRequiredProperty("dataSpecification"); + } + + if (theDataSpecificationContent == null) { + return missingRequiredProperty("dataSpecificationContent"); + } + + return Reporting.Result.success( + new EmbeddedDataSpecification(theDataSpecification, theDataSpecificationContent)); + } + + /** + * Deserialize the enumeration DataTypeIec61360 from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryDataTypeIec61360From(JsonNode node) { + return tryEnumFrom(node, Stringification::dataTypeIec61360FromString, DataTypeIec61360.class); + } + + /** + * Deserialize an instance of LevelType from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryLevelTypeFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + Boolean theMin = null; + Boolean theNom = null; + Boolean theTyp = null; + Boolean theMax = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "min": + { + final Reporting.Result parsed = tryBooleanFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMin = parsed.getResult(); + break; + } + case "nom": + { + final Reporting.Result parsed = tryBooleanFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theNom = parsed.getResult(); + break; + } + case "typ": + { + final Reporting.Result parsed = tryBooleanFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theTyp = parsed.getResult(); + break; + } + case "max": + { + final Reporting.Result parsed = tryBooleanFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMax = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theMin == null) { + return missingRequiredProperty("min"); + } + + if (theNom == null) { + return missingRequiredProperty("nom"); + } + + if (theTyp == null) { + return missingRequiredProperty("typ"); + } + + if (theMax == null) { + return missingRequiredProperty("max"); + } + + return Reporting.Result.success(new LevelType(theMin, theNom, theTyp, theMax)); + } + + /** + * Deserialize an instance of ValueReferencePair from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryValueReferencePairFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theValue = null; + IReference theValueId = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "value": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "valueId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueId = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theValue == null) { + return missingRequiredProperty("value"); + } + + return Reporting.Result.success(new ValueReferencePair(theValue, theValueId)); + } + + /** + * Deserialize an instance of ValueList from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryValueListFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + List theValueReferencePairs = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "valueReferencePairs": + { + final Reporting.Result> parsed = + parseListOf_IValueReferencePair(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueReferencePairs = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theValueReferencePairs == null) { + return missingRequiredProperty("valueReferencePairs"); + } + + return Reporting.Result.success(new ValueList(theValueReferencePairs)); + } + + /** + * Deserialize an instance of LangStringPreferredNameTypeIec61360 from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryLangStringPreferredNameTypeIec61360From(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theLanguage = null; + String theText = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "language": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theLanguage = parsed.getResult(); + break; + } + case "text": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theText = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language"); + } + + if (theText == null) { + return missingRequiredProperty("text"); + } + + return Reporting.Result.success( + new LangStringPreferredNameTypeIec61360(theLanguage, theText)); + } + + /** + * Deserialize an instance of LangStringShortNameTypeIec61360 from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryLangStringShortNameTypeIec61360From(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theLanguage = null; + String theText = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "language": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theLanguage = parsed.getResult(); + break; + } + case "text": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theText = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language"); + } + + if (theText == null) { + return missingRequiredProperty("text"); + } + + return Reporting.Result.success(new LangStringShortNameTypeIec61360(theLanguage, theText)); + } + + /** + * Deserialize an instance of LangStringDefinitionTypeIec61360 from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryLangStringDefinitionTypeIec61360From(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theLanguage = null; + String theText = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "language": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theLanguage = parsed.getResult(); + break; + } + case "text": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theText = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language"); + } + + if (theText == null) { + return missingRequiredProperty("text"); + } + + return Reporting.Result.success(new LangStringDefinitionTypeIec61360(theLanguage, theText)); + } + + /** + * Deserialize an instance of LangStringUom from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryLangStringUomFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theLanguage = null; + String theText = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "language": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theLanguage = parsed.getResult(); + break; + } + case "text": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theText = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language"); + } + + if (theText == null) { + return missingRequiredProperty("text"); + } + + return Reporting.Result.success(new LangStringUom(theLanguage, theText)); + } + + /** + * Deserialize an instance of DefinitionTypeUom from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryDefinitionTypeUomFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theLanguage = null; + String theText = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "language": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theLanguage = parsed.getResult(); + break; + } + case "text": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theText = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language"); + } + + if (theText == null) { + return missingRequiredProperty("text"); + } + + return Reporting.Result.success(new DefinitionTypeUom(theLanguage, theText)); + } + + /** + * Deserialize an instance of DataSpecificationUom from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryDataSpecificationUomFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "DataSpecificationUom"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryDataSpecificationUomFromObject(node); + } + + /** + * Deserialize an instance of DataSpecificationUom from the JSON object {@code node} whose model + * type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryDataSpecificationUomFromObject( + JsonNode node) { + List thePreferredName = null; + String theSymbol = null; + String theSpecificUnitId = null; + List theDefinition = null; + List thePreferredNameQuantity = null; + String theQuantityId = null; + String theClassificationSystem = null; + String theClassificationSystemVersion = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "preferredName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringUom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePreferredName = parsed.getResult(); + break; + } + case "symbol": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSymbol = parsed.getResult(); + break; + } + case "specificUnitId": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSpecificUnitId = parsed.getResult(); + break; + } + case "definition": + { + final Reporting.Result> parsed = + parseListOf_IDefinitionTypeUom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDefinition = parsed.getResult(); + break; + } + case "preferredNameQuantity": + { + final Reporting.Result> parsed = + parseListOf_ILangStringUom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePreferredNameQuantity = parsed.getResult(); + break; + } + case "quantityId": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQuantityId = parsed.getResult(); + break; + } + case "classificationSystem": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theClassificationSystem = parsed.getResult(); + break; + } + case "classificationSystemVersion": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theClassificationSystemVersion = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (thePreferredName == null) { + return missingRequiredProperty("preferredName"); + } + + if (theSymbol == null) { + return missingRequiredProperty("symbol"); + } + + return Reporting.Result.success( + new DataSpecificationUom( + thePreferredName, + theSymbol, + theSpecificUnitId, + theDefinition, + thePreferredNameQuantity, + theQuantityId, + theClassificationSystem, + theClassificationSystemVersion)); + } + + /** + * Deserialize an instance of DataSpecificationIec61360 from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryDataSpecificationIec61360From( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "DataSpecificationIec61360"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryDataSpecificationIec61360FromObject(node); + } + + /** + * Deserialize an instance of DataSpecificationIec61360 from the JSON object {@code node} whose + * model type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result + tryDataSpecificationIec61360FromObject(JsonNode node) { + List thePreferredName = null; + List theShortName = null; + String theUnit = null; + IReference theUnitId = null; + String theSourceOfDefinition = null; + String theSymbol = null; + DataTypeIec61360 theDataType = null; + List theDefinition = null; + String theValueFormat = null; + IValueList theValueList = null; + String theValue = null; + ILevelType theLevelType = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "preferredName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringPreferredNameTypeIec61360(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePreferredName = parsed.getResult(); + break; + } + case "shortName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringShortNameTypeIec61360(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theShortName = parsed.getResult(); + break; + } + case "unit": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theUnit = parsed.getResult(); + break; + } + case "unitId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theUnitId = parsed.getResult(); + break; + } + case "sourceOfDefinition": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSourceOfDefinition = parsed.getResult(); + break; + } + case "symbol": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSymbol = parsed.getResult(); + break; + } + case "dataType": + { + final Reporting.Result parsed = + tryDataTypeIec61360From(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDataType = parsed.getResult(); + break; + } + case "definition": + { + final Reporting.Result> parsed = + parseListOf_ILangStringDefinitionTypeIec61360(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDefinition = parsed.getResult(); + break; + } + case "valueFormat": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueFormat = parsed.getResult(); + break; + } + case "valueList": + { + final Reporting.Result parsed = tryValueListFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueList = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "levelType": + { + final Reporting.Result parsed = tryLevelTypeFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theLevelType = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (thePreferredName == null) { + return missingRequiredProperty("preferredName"); + } + + return Reporting.Result.success( + new DataSpecificationIec61360( + thePreferredName, + theShortName, + theUnit, + theUnitId, + theSourceOfDefinition, + theSymbol, + theDataType, + theDefinition, + theValueFormat, + theValueList, + theValue, + theLevelType)); + } + + /** + * Deserialize the enumeration SerializationFormat from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result trySerializationFormatFrom(JsonNode node) { + return tryEnumFrom( + node, Stringification::serializationFormatFromString, SerializationFormat.class); + } + + /** + * Deserialize an instance of IDescriptor by dispatching based on {@code modelType} property of + * the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIDescriptorFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IDescriptor.class); + } + + switch (modelTypeResult.getResult()) { + case "AssetAdministrationShellDescriptor": + return tryAssetAdministrationShellDescriptorFrom(node); + case "SubmodelDescriptor": + return trySubmodelDescriptorFrom(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IDescriptor: " + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of AssetAdministrationShellDescriptor from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryAssetAdministrationShellDescriptorFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theId = null; + List theDescription = null; + List theDisplayName = null; + List theExtensions = null; + IAdministrativeInformation theAdministration = null; + AssetKind theAssetKind = null; + String theAssetType = null; + List theEndpoints = null; + String theGlobalAssetId = null; + String theIdShort = null; + List theSpecificAssetIds = null; + List theSubmodelDescriptors = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "id": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theId = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "administration": + { + final Reporting.Result parsed = + tryAdministrativeInformationFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAdministration = parsed.getResult(); + break; + } + case "assetKind": + { + final Reporting.Result parsed = tryAssetKindFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAssetKind = parsed.getResult(); + break; + } + case "assetType": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAssetType = parsed.getResult(); + break; + } + case "endpoints": + { + final Reporting.Result> parsed = parseListOf_IEndpoint(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEndpoints = parsed.getResult(); + break; + } + case "globalAssetId": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theGlobalAssetId = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "specificAssetIds": + { + final Reporting.Result> parsed = + parseListOf_ISpecificAssetId(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSpecificAssetIds = parsed.getResult(); + break; + } + case "submodelDescriptors": + { + final Reporting.Result> parsed = + parseListOf_ISubmodelDescriptor(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSubmodelDescriptors = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theId == null) { + return missingRequiredProperty("id"); + } + + return Reporting.Result.success( + new AssetAdministrationShellDescriptor( + theId, + theDescription, + theDisplayName, + theExtensions, + theAdministration, + theAssetKind, + theAssetType, + theEndpoints, + theGlobalAssetId, + theIdShort, + theSpecificAssetIds, + theSubmodelDescriptors)); + } + + /** + * Deserialize an instance of SubmodelDescriptor from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result trySubmodelDescriptorFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + List theEndpoints = null; + String theId = null; + List theDescription = null; + List theDisplayName = null; + List theExtensions = null; + IAdministrativeInformation theAdministration = null; + String theIdShort = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "endpoints": + { + final Reporting.Result> parsed = parseListOf_IEndpoint(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEndpoints = parsed.getResult(); + break; + } + case "id": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theId = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "administration": + { + final Reporting.Result parsed = + tryAdministrativeInformationFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAdministration = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theEndpoints == null) { + return missingRequiredProperty("endpoints"); + } + + if (theId == null) { + return missingRequiredProperty("id"); + } + + return Reporting.Result.success( + new SubmodelDescriptor( + theEndpoints, + theId, + theDescription, + theDisplayName, + theExtensions, + theAdministration, + theIdShort, + theSemanticId, + theSupplementalSemanticIds)); + } + + /** + * Deserialize an instance of Endpoint from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryEndpointFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IProtocolInformation theProtocolInformation = null; + String theInterface = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "protocolInformation": + { + final Reporting.Result parsed = + tryProtocolInformationFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theProtocolInformation = parsed.getResult(); + break; + } + case "interface": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theInterface = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theProtocolInformation == null) { + return missingRequiredProperty("protocolInformation"); + } + + if (theInterface == null) { + return missingRequiredProperty("interface"); + } + + return Reporting.Result.success(new Endpoint(theProtocolInformation, theInterface)); + } + + /** + * Deserialize an instance of ProtocolInformation from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryProtocolInformationFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theHref = null; + String theEndpointProtocol = null; + List theEndpointProtocolVersion = null; + String theSubprotocol = null; + String theSubprotocolBody = null; + String theSubprotocolBodyEncoding = null; + List theSecurityAttributes = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "href": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theHref = parsed.getResult(); + break; + } + case "endpointProtocol": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEndpointProtocol = parsed.getResult(); + break; + } + case "endpointProtocolVersion": + { + final Reporting.Result> parsed = parseListOf_string(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEndpointProtocolVersion = parsed.getResult(); + break; + } + case "subprotocol": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSubprotocol = parsed.getResult(); + break; + } + case "subprotocolBody": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSubprotocolBody = parsed.getResult(); + break; + } + case "subprotocolBodyEncoding": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSubprotocolBodyEncoding = parsed.getResult(); + break; + } + case "securityAttributes": + { + final Reporting.Result> parsed = + parseListOf_ISecurityAttributeObject(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSecurityAttributes = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theHref == null) { + return missingRequiredProperty("href"); + } + + return Reporting.Result.success( + new ProtocolInformation( + theHref, + theEndpointProtocol, + theEndpointProtocolVersion, + theSubprotocol, + theSubprotocolBody, + theSubprotocolBodyEncoding, + theSecurityAttributes)); + } + + /** + * Deserialize an instance of SecurityAttributeObject from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result trySecurityAttributeObjectFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + SecurityTypeEnum theType = null; + String theKey = null; + String theValue = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "type": + { + final Reporting.Result parsed = + trySecurityTypeEnumFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theType = parsed.getResult(); + break; + } + case "key": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theKey = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theType == null) { + return missingRequiredProperty("type"); + } + + if (theKey == null) { + return missingRequiredProperty("key"); + } + + if (theValue == null) { + return missingRequiredProperty("value"); + } + + return Reporting.Result.success(new SecurityAttributeObject(theType, theKey, theValue)); + } + + /** + * Deserialize the enumeration SecurityTypeEnum from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result trySecurityTypeEnumFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::securityTypeEnumFromString, SecurityTypeEnum.class); + } + + /** + * Deserialize an instance of AssetLink from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryAssetLinkFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theName = null; + String theValue = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "name": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theName = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theName == null) { + return missingRequiredProperty("name"); + } + + if (theValue == null) { + return missingRequiredProperty("value"); + } + + return Reporting.Result.success(new AssetLink(theName, theValue)); + } + + /** + * Deserialize an instance of ServiceDescription from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryServiceDescriptionFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + List theProfiles = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "profiles": + { + final Reporting.Result> parsed = + parseListOf_ServiceSpecificationProfileEnum(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theProfiles = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theProfiles == null) { + return missingRequiredProperty("profiles"); + } + + return Reporting.Result.success(new ServiceDescription(theProfiles)); + } + + /** + * Deserialize the enumeration ServiceSpecificationProfileEnum from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryServiceSpecificationProfileEnumFrom(JsonNode node) { + return tryEnumFrom( + node, + Stringification::serviceSpecificationProfileEnumFromString, + ServiceSpecificationProfileEnum.class); + } + + /** + * Deserialize an instance of IRecentChange by dispatching based on {@code modelType} property + * of the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIRecentChangeFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IRecentChange.class); + } + + switch (modelTypeResult.getResult()) { + case "AssetAdministrationShellRecentChange": + return tryAssetAdministrationShellRecentChangeFrom(node); + case "ConceptDescriptionRecentChange": + return tryConceptDescriptionRecentChangeFrom(node); + case "SubmodelRecentChange": + return trySubmodelRecentChangeFrom(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IRecentChange: " + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of AssetAdministrationShellRecentChange from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryAssetAdministrationShellRecentChangeFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theCreatedAt = null; + String theUpdatedAt = null; + String theId = null; + String theGlobalAssetId = null; + List theSpecificAssetIds = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "createdAt": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCreatedAt = parsed.getResult(); + break; + } + case "updatedAt": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theUpdatedAt = parsed.getResult(); + break; + } + case "id": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theId = parsed.getResult(); + break; + } + case "globalAssetId": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theGlobalAssetId = parsed.getResult(); + break; + } + case "specificAssetIds": + { + final Reporting.Result> parsed = + parseListOf_ISpecificAssetId(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSpecificAssetIds = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theCreatedAt == null) { + return missingRequiredProperty("createdAt"); + } + + if (theUpdatedAt == null) { + return missingRequiredProperty("updatedAt"); + } + + if (theId == null) { + return missingRequiredProperty("id"); + } + + return Reporting.Result.success( + new AssetAdministrationShellRecentChange( + theCreatedAt, theUpdatedAt, theId, theGlobalAssetId, theSpecificAssetIds)); + } + + /** + * Deserialize an instance of ConceptDescriptionRecentChange from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryConceptDescriptionRecentChangeFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theCreatedAt = null; + String theUpdatedAt = null; + String theId = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "createdAt": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCreatedAt = parsed.getResult(); + break; + } + case "updatedAt": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theUpdatedAt = parsed.getResult(); + break; + } + case "id": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theId = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theCreatedAt == null) { + return missingRequiredProperty("createdAt"); + } + + if (theUpdatedAt == null) { + return missingRequiredProperty("updatedAt"); + } + + if (theId == null) { + return missingRequiredProperty("id"); + } + + return Reporting.Result.success( + new ConceptDescriptionRecentChange(theCreatedAt, theUpdatedAt, theId)); + } + + /** + * Deserialize an instance of SubmodelRecentChange from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result trySubmodelRecentChangeFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theCreatedAt = null; + String theUpdatedAt = null; + String theId = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "createdAt": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCreatedAt = parsed.getResult(); + break; + } + case "updatedAt": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theUpdatedAt = parsed.getResult(); + break; + } + case "id": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theId = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theCreatedAt == null) { + return missingRequiredProperty("createdAt"); + } + + if (theUpdatedAt == null) { + return missingRequiredProperty("updatedAt"); + } + + if (theId == null) { + return missingRequiredProperty("id"); + } + + return Reporting.Result.success( + new SubmodelRecentChange( + theCreatedAt, theUpdatedAt, theId, theSemanticId, theSupplementalSemanticIds)); + } + + /** + * Deserialize the enumeration StatusCode from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryStatusCodeFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::statusCodeFromString, StatusCode.class); + } + + /** + * Deserialize an instance of Result from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryResultFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + List theMessages = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "messages": + { + final Reporting.Result> parsed = parseListOf_IMessage(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMessages = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success(new Result(theMessages)); + } + + /** + * Deserialize an instance of Message from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryMessageFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + MessageTypeEnum theMessageType = null; + String theText = null; + String theCode = null; + String theCorrelationId = null; + String theTimestamp = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "messageType": + { + final Reporting.Result parsed = + tryMessageTypeEnumFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMessageType = parsed.getResult(); + break; + } + case "text": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theText = parsed.getResult(); + break; + } + case "code": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCode = parsed.getResult(); + break; + } + case "correlationId": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCorrelationId = parsed.getResult(); + break; + } + case "timestamp": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theTimestamp = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theMessageType == null) { + return missingRequiredProperty("messageType"); + } + + if (theText == null) { + return missingRequiredProperty("text"); + } + + return Reporting.Result.success( + new Message(theMessageType, theText, theCode, theCorrelationId, theTimestamp)); + } + + /** + * Deserialize the enumeration MessageTypeEnum from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryMessageTypeEnumFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::messageTypeEnumFromString, MessageTypeEnum.class); + } + + /** + * Deserialize an instance of OperationRequest from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryOperationRequestFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + List theInputArguments = null; + List theInoutputArguments = null; + String theClientTimeoutDuration = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "inputArguments": + { + final Reporting.Result> parsed = + parseListOf_IOperationVariable(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theInputArguments = parsed.getResult(); + break; + } + case "inoutputArguments": + { + final Reporting.Result> parsed = + parseListOf_IOperationVariable(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theInoutputArguments = parsed.getResult(); + break; + } + case "clientTimeoutDuration": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theClientTimeoutDuration = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new OperationRequest(theInputArguments, theInoutputArguments, theClientTimeoutDuration)); + } + + /** + * Deserialize an instance of OperationRequestAsync from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryOperationRequestAsyncFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theClientTimeoutDuration = null; + List theInputArguments = null; + List theInoutputArguments = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "clientTimeoutDuration": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theClientTimeoutDuration = parsed.getResult(); + break; + } + case "inputArguments": + { + final Reporting.Result> parsed = + parseListOf_IOperationVariable(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theInputArguments = parsed.getResult(); + break; + } + case "inoutputArguments": + { + final Reporting.Result> parsed = + parseListOf_IOperationVariable(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theInoutputArguments = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theClientTimeoutDuration == null) { + return missingRequiredProperty("clientTimeoutDuration"); + } + + return Reporting.Result.success( + new OperationRequestAsync( + theClientTimeoutDuration, theInputArguments, theInoutputArguments)); + } + + /** + * Deserialize an instance of OperationRequestValueOnly from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryOperationRequestValueOnlyFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + ObjectNode theInputArguments = null; + ObjectNode theInoutputArguments = null; + String theClientTimeoutDuration = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "inputArguments": + { + final Reporting.Result parsed = tryJsonObjectFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theInputArguments = parsed.getResult(); + break; + } + case "inoutputArguments": + { + final Reporting.Result parsed = tryJsonObjectFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theInoutputArguments = parsed.getResult(); + break; + } + case "clientTimeoutDuration": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theClientTimeoutDuration = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new OperationRequestValueOnly( + theInputArguments, theInoutputArguments, theClientTimeoutDuration)); + } + + /** + * Deserialize an instance of OperationRequestAsyncValueOnly from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryOperationRequestAsyncValueOnlyFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theClientTimeoutDuration = null; + ObjectNode theInputArguments = null; + ObjectNode theInoutputArguments = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "clientTimeoutDuration": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theClientTimeoutDuration = parsed.getResult(); + break; + } + case "inputArguments": + { + final Reporting.Result parsed = tryJsonObjectFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theInputArguments = parsed.getResult(); + break; + } + case "inoutputArguments": + { + final Reporting.Result parsed = tryJsonObjectFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theInoutputArguments = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theClientTimeoutDuration == null) { + return missingRequiredProperty("clientTimeoutDuration"); + } + + return Reporting.Result.success( + new OperationRequestAsyncValueOnly( + theClientTimeoutDuration, theInputArguments, theInoutputArguments)); + } + + /** + * Deserialize an instance of BaseOperationResult from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryBaseOperationResultFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + ExecutionState theExecutionState = null; + List theMessages = null; + Boolean theSuccess = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "executionState": + { + final Reporting.Result parsed = + tryExecutionStateFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExecutionState = parsed.getResult(); + break; + } + case "messages": + { + final Reporting.Result> parsed = parseListOf_IMessage(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMessages = parsed.getResult(); + break; + } + case "success": + { + final Reporting.Result parsed = tryBooleanFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSuccess = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theExecutionState == null) { + return missingRequiredProperty("executionState"); + } + + return Reporting.Result.success( + new BaseOperationResult(theExecutionState, theMessages, theSuccess)); + } + + /** + * Deserialize an instance of OperationResult from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryOperationResultFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + ExecutionState theExecutionState = null; + List theMessages = null; + Boolean theSuccess = null; + List theOutputArguments = null; + List theInoutputArguments = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "executionState": + { + final Reporting.Result parsed = + tryExecutionStateFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExecutionState = parsed.getResult(); + break; + } + case "messages": + { + final Reporting.Result> parsed = parseListOf_IMessage(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMessages = parsed.getResult(); + break; + } + case "success": + { + final Reporting.Result parsed = tryBooleanFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSuccess = parsed.getResult(); + break; + } + case "outputArguments": + { + final Reporting.Result> parsed = + parseListOf_IOperationVariable(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theOutputArguments = parsed.getResult(); + break; + } + case "inoutputArguments": + { + final Reporting.Result> parsed = + parseListOf_IOperationVariable(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theInoutputArguments = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theExecutionState == null) { + return missingRequiredProperty("executionState"); + } + + return Reporting.Result.success( + new OperationResult( + theExecutionState, + theMessages, + theSuccess, + theOutputArguments, + theInoutputArguments)); + } + + /** + * Deserialize an instance of OperationResultValueOnly from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryOperationResultValueOnlyFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + ExecutionState theExecutionState = null; + List theMessages = null; + Boolean theSuccess = null; + ObjectNode theOutputArguments = null; + ObjectNode theInoutputArguments = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "executionState": + { + final Reporting.Result parsed = + tryExecutionStateFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExecutionState = parsed.getResult(); + break; + } + case "messages": + { + final Reporting.Result> parsed = parseListOf_IMessage(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMessages = parsed.getResult(); + break; + } + case "success": + { + final Reporting.Result parsed = tryBooleanFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSuccess = parsed.getResult(); + break; + } + case "outputArguments": + { + final Reporting.Result parsed = tryJsonObjectFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theOutputArguments = parsed.getResult(); + break; + } + case "inoutputArguments": + { + final Reporting.Result parsed = tryJsonObjectFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theInoutputArguments = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theExecutionState == null) { + return missingRequiredProperty("executionState"); + } + + return Reporting.Result.success( + new OperationResultValueOnly( + theExecutionState, + theMessages, + theSuccess, + theOutputArguments, + theInoutputArguments)); + } + + /** + * Deserialize the enumeration ExecutionState from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryExecutionStateFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::executionStateFromString, ExecutionState.class); + } + + /** + * Deserialize an instance of OperationHandle from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryOperationHandleFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theHandleId = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "handleId": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theHandleId = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theHandleId == null) { + return missingRequiredProperty("handleId"); + } + + return Reporting.Result.success(new OperationHandle(theHandleId)); + } + + /** + * Deserialize the enumeration Level from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryLevelFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::levelFromString, Level.class); + } + + /** + * Deserialize the enumeration Content from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryContentFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::contentFromString, Content.class); + } + + /** + * Deserialize the enumeration Extent from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryExtentFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::extentFromString, Extent.class); + } + + /** + * Deserialize an instance of PagedResult from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryPagedResultFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "paging_metadata": + { + final Reporting.Result parsed = + tryPagingMetadataFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePagingMetadata = parsed.getResult(); + break; + } + case "result": + { + final Reporting.Result> parsed = parseListOf_IReferable(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theResult = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("paging_metadata"); + } + + return Reporting.Result.success(new PagedResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize an instance of PagingMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryPagingMetadataFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theCursor = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "cursor": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCursor = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success(new PagingMetadata(theCursor)); + } + + /** + * Deserialize an instance of PackageDescription from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryPackageDescriptionFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String thePackageId = null; + List theAasIds = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "packageId": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePackageId = parsed.getResult(); + break; + } + case "aasIds": + { + final Reporting.Result> parsed = parseListOf_string(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAasIds = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (thePackageId == null) { + return missingRequiredProperty("packageId"); + } + + return Reporting.Result.success(new PackageDescription(thePackageId, theAasIds)); + } + + /** + * Deserialize an instance of ISubmodelElementAttributes by dispatching based on {@code + * modelType} property of the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result + tryISubmodelElementAttributesFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(ISubmodelElementAttributes.class); + } + + switch (modelTypeResult.getResult()) { + case "AnnotatedRelationshipElementMetadata": + return tryAnnotatedRelationshipElementMetadataFromObject(node); + case "BasicEventElementMetadata": + return tryBasicEventElementMetadataFromObject(node); + case "BlobMetadata": + return tryBlobMetadataFromObject(node); + case "CapabilityMetadata": + return tryCapabilityMetadataFromObject(node); + case "EntityMetadata": + return tryEntityMetadataFromObject(node); + case "FileMetadata": + return tryFileMetadataFromObject(node); + case "MultiLanguagePropertyMetadata": + return tryMultiLanguagePropertyMetadataFromObject(node); + case "OperationMetadata": + return tryOperationMetadataFromObject(node); + case "PropertyMetadata": + return tryPropertyMetadataFromObject(node); + case "RangeMetadata": + return tryRangeMetadataFromObject(node); + case "ReferenceElementMetadata": + return tryReferenceElementMetadataFromObject(node); + case "RelationshipElementMetadata": + return tryRelationshipElementMetadataFromObject(node); + case "SubmodelElementCollectionMetadata": + return trySubmodelElementCollectionMetadataFromObject(node); + case "SubmodelElementListMetadata": + return trySubmodelElementListMetadataFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for ISubmodelElementAttributes: " + + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of ISubmodelElementMetadata by dispatching based on {@code modelType} + * property of the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result + tryISubmodelElementMetadataFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(ISubmodelElementMetadata.class); + } + + switch (modelTypeResult.getResult()) { + case "AnnotatedRelationshipElementMetadata": + return tryAnnotatedRelationshipElementMetadataFromObject(node); + case "BasicEventElementMetadata": + return tryBasicEventElementMetadataFromObject(node); + case "BlobMetadata": + return tryBlobMetadataFromObject(node); + case "CapabilityMetadata": + return tryCapabilityMetadataFromObject(node); + case "EntityMetadata": + return tryEntityMetadataFromObject(node); + case "FileMetadata": + return tryFileMetadataFromObject(node); + case "MultiLanguagePropertyMetadata": + return tryMultiLanguagePropertyMetadataFromObject(node); + case "OperationMetadata": + return tryOperationMetadataFromObject(node); + case "PropertyMetadata": + return tryPropertyMetadataFromObject(node); + case "RangeMetadata": + return tryRangeMetadataFromObject(node); + case "ReferenceElementMetadata": + return tryReferenceElementMetadataFromObject(node); + case "RelationshipElementMetadata": + return tryRelationshipElementMetadataFromObject(node); + case "SubmodelElementCollectionMetadata": + return trySubmodelElementCollectionMetadataFromObject(node); + case "SubmodelElementListMetadata": + return trySubmodelElementListMetadataFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for ISubmodelElementMetadata: " + + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of PropertyMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryPropertyMetadataFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "PropertyMetadata"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryPropertyMetadataFromObject(node); + } + + /** + * Deserialize an instance of PropertyMetadata from the JSON object {@code node} whose model + * type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryPropertyMetadataFromObject(JsonNode node) { + DataTypeDefXsd theValueType = null; + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "valueType": + { + final Reporting.Result parsed = + tryDataTypeDefXsdFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueType = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (theValueType == null) { + return missingRequiredProperty("valueType"); + } + + return Reporting.Result.success( + new PropertyMetadata( + theValueType, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** + * Deserialize an instance of RangeMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryRangeMetadataFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "RangeMetadata"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryRangeMetadataFromObject(node); + } + + /** + * Deserialize an instance of RangeMetadata from the JSON object {@code node} whose model type + * has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryRangeMetadataFromObject(JsonNode node) { + DataTypeDefXsd theValueType = null; + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "valueType": + { + final Reporting.Result parsed = + tryDataTypeDefXsdFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueType = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (theValueType == null) { + return missingRequiredProperty("valueType"); + } + + return Reporting.Result.success( + new RangeMetadata( + theValueType, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** + * Deserialize an instance of BlobMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryBlobMetadataFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "BlobMetadata"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryBlobMetadataFromObject(node); + } + + /** + * Deserialize an instance of BlobMetadata from the JSON object {@code node} whose model type + * has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryBlobMetadataFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new BlobMetadata( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** + * Deserialize an instance of FileMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryFileMetadataFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "FileMetadata"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryFileMetadataFromObject(node); + } + + /** + * Deserialize an instance of FileMetadata from the JSON object {@code node} whose model type + * has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryFileMetadataFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new FileMetadata( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** + * Deserialize an instance of MultiLanguagePropertyMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryMultiLanguagePropertyMetadataFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "MultiLanguagePropertyMetadata"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryMultiLanguagePropertyMetadataFromObject(node); + } + + /** + * Deserialize an instance of MultiLanguagePropertyMetadata from the JSON object {@code node} + * whose model type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result + tryMultiLanguagePropertyMetadataFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new MultiLanguagePropertyMetadata( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** + * Deserialize an instance of ReferenceElementMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryReferenceElementMetadataFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "ReferenceElementMetadata"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryReferenceElementMetadataFromObject(node); + } + + /** + * Deserialize an instance of ReferenceElementMetadata from the JSON object {@code node} whose + * model type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryReferenceElementMetadataFromObject( + JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new ReferenceElementMetadata( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** + * Deserialize an instance of RelationshipElementMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryRelationshipElementMetadataFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "RelationshipElementMetadata"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryRelationshipElementMetadataFromObject(node); + } + + /** + * Deserialize an instance of RelationshipElementMetadata from the JSON object {@code node} + * whose model type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result + tryRelationshipElementMetadataFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new RelationshipElementMetadata( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** + * Deserialize an instance of AnnotatedRelationshipElementMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryAnnotatedRelationshipElementMetadataFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = + checkModelType(node, "AnnotatedRelationshipElementMetadata"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryAnnotatedRelationshipElementMetadataFromObject(node); + } + + /** + * Deserialize an instance of AnnotatedRelationshipElementMetadata from the JSON object {@code + * node} whose model type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result + tryAnnotatedRelationshipElementMetadataFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new AnnotatedRelationshipElementMetadata( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** + * Deserialize an instance of EntityMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryEntityMetadataFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "EntityMetadata"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryEntityMetadataFromObject(node); + } + + /** + * Deserialize an instance of EntityMetadata from the JSON object {@code node} whose model type + * has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryEntityMetadataFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new EntityMetadata( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** + * Deserialize an instance of CapabilityMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryCapabilityMetadataFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "CapabilityMetadata"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryCapabilityMetadataFromObject(node); + } + + /** + * Deserialize an instance of CapabilityMetadata from the JSON object {@code node} whose model + * type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryCapabilityMetadataFromObject( + JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new CapabilityMetadata( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** + * Deserialize an instance of OperationMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryOperationMetadataFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "OperationMetadata"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryOperationMetadataFromObject(node); + } + + /** + * Deserialize an instance of OperationMetadata from the JSON object {@code node} whose model + * type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryOperationMetadataFromObject( + JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new OperationMetadata( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** + * Deserialize an instance of SubmodelElementCollectionMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + trySubmodelElementCollectionMetadataFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = + checkModelType(node, "SubmodelElementCollectionMetadata"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return trySubmodelElementCollectionMetadataFromObject(node); + } + + /** + * Deserialize an instance of SubmodelElementCollectionMetadata from the JSON object {@code + * node} whose model type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result + trySubmodelElementCollectionMetadataFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new SubmodelElementCollectionMetadata( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** + * Deserialize an instance of BasicEventElementMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryBasicEventElementMetadataFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "BasicEventElementMetadata"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryBasicEventElementMetadataFromObject(node); + } + + /** + * Deserialize an instance of BasicEventElementMetadata from the JSON object {@code node} whose + * model type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result + tryBasicEventElementMetadataFromObject(JsonNode node) { + Direction theDirection = null; + StateOfEvent theState = null; + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + String theMessageTopic = null; + IReference theMessageBroker = null; + String theLastUpdate = null; + String theMinInterval = null; + String theMaxInterval = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "direction": + { + final Reporting.Result parsed = tryDirectionFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDirection = parsed.getResult(); + break; + } + case "state": + { + final Reporting.Result parsed = tryStateOfEventFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theState = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "messageTopic": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMessageTopic = parsed.getResult(); + break; + } + case "messageBroker": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMessageBroker = parsed.getResult(); + break; + } + case "lastUpdate": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theLastUpdate = parsed.getResult(); + break; + } + case "minInterval": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMinInterval = parsed.getResult(); + break; + } + case "maxInterval": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMaxInterval = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (theDirection == null) { + return missingRequiredProperty("direction"); + } + + if (theState == null) { + return missingRequiredProperty("state"); + } + + return Reporting.Result.success( + new BasicEventElementMetadata( + theDirection, + theState, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theMessageTopic, + theMessageBroker, + theLastUpdate, + theMinInterval, + theMaxInterval)); + } + + /** + * Deserialize an instance of SubmodelElementListMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result trySubmodelElementListMetadataFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "SubmodelElementListMetadata"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return trySubmodelElementListMetadataFromObject(node); + } + + /** + * Deserialize an instance of SubmodelElementListMetadata from the JSON object {@code node} + * whose model type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result + trySubmodelElementListMetadataFromObject(JsonNode node) { + AasSubmodelElements theTypeValueListElement = null; + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + Boolean theOrderRelevant = null; + IReference theSemanticIdListElement = null; + DataTypeDefXsd theValueTypeListElement = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "typeValueListElement": + { + final Reporting.Result parsed = + tryAasSubmodelElementsFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theTypeValueListElement = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "orderRelevant": + { + final Reporting.Result parsed = tryBooleanFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theOrderRelevant = parsed.getResult(); + break; + } + case "semanticIdListElement": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticIdListElement = parsed.getResult(); + break; + } + case "valueTypeListElement": + { + final Reporting.Result parsed = + tryDataTypeDefXsdFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueTypeListElement = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (theTypeValueListElement == null) { + return missingRequiredProperty("typeValueListElement"); + } + + return Reporting.Result.success( + new SubmodelElementListMetadata( + theTypeValueListElement, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theOrderRelevant, + theSemanticIdListElement, + theValueTypeListElement)); + } + + /** + * Deserialize an instance of SubmodelMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result trySubmodelMetadataFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "SubmodelMetadata"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return trySubmodelMetadataFromObject(node); + } + + /** + * Deserialize an instance of SubmodelMetadata from the JSON object {@code node} whose model + * type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result trySubmodelMetadataFromObject(JsonNode node) { + String theId = null; + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IAdministrativeInformation theAdministration = null; + ModellingKind theKind = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "id": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theId = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "administration": + { + final Reporting.Result parsed = + tryAdministrativeInformationFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAdministration = parsed.getResult(); + break; + } + case "kind": + { + final Reporting.Result parsed = tryModellingKindFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theKind = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (theId == null) { + return missingRequiredProperty("id"); + } + + return Reporting.Result.success( + new SubmodelMetadata( + theId, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theAdministration, + theKind, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** + * Deserialize an instance of AssetAdministrationShellMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryAssetAdministrationShellMetadataFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = + checkModelType(node, "AssetAdministrationShellMetadata"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryAssetAdministrationShellMetadataFromObject(node); + } + + /** + * Deserialize an instance of AssetAdministrationShellMetadata from the JSON object {@code node} + * whose model type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result + tryAssetAdministrationShellMetadataFromObject(JsonNode node) { + String theId = null; + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IAdministrativeInformation theAdministration = null; + List theEmbeddedDataSpecifications = null; + IReference theDerivedFrom = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "id": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theId = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "administration": + { + final Reporting.Result parsed = + tryAdministrativeInformationFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAdministration = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "derivedFrom": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDerivedFrom = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (theId == null) { + return missingRequiredProperty("id"); + } + + return Reporting.Result.success( + new AssetAdministrationShellMetadata( + theId, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theAdministration, + theEmbeddedDataSpecifications, + theDerivedFrom)); + } + + /** + * Deserialize an instance of ReferenceElementValue from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryReferenceElementValueFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + ReferenceTypes theType = null; + List theKeys = null; + IReference theReferredSemanticId = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "type": + { + final Reporting.Result parsed = + tryReferenceTypesFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theType = parsed.getResult(); + break; + } + case "keys": + { + final Reporting.Result> parsed = parseListOf_IKey(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theKeys = parsed.getResult(); + break; + } + case "referredSemanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theReferredSemanticId = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theType == null) { + return missingRequiredProperty("type"); + } + + if (theKeys == null) { + return missingRequiredProperty("keys"); + } + + return Reporting.Result.success( + new ReferenceElementValue(theType, theKeys, theReferredSemanticId)); + } + + /** + * Deserialize an instance of BlobValue from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryBlobValueFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theContentType = null; + byte[] theValue = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "contentType": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theContentType = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryBytesFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success(new BlobValue(theContentType, theValue)); + } + + /** + * Deserialize an instance of FileValue from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryFileValueFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theContentType = null; + String theValue = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "contentType": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theContentType = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success(new FileValue(theContentType, theValue)); + } + + /** + * Deserialize an instance of RangeValue from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryRangeValueFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + Double theMin = null; + Double theMax = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "min": + { + final Reporting.Result parsed = tryDoubleFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMin = parsed.getResult(); + break; + } + case "max": + { + final Reporting.Result parsed = tryDoubleFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMax = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theMin == null) { + return missingRequiredProperty("min"); + } + + if (theMax == null) { + return missingRequiredProperty("max"); + } + + return Reporting.Result.success(new RangeValue(theMin, theMax)); + } + + /** + * Deserialize an instance of RelationshipElementValue from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryRelationshipElementValueFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IReference theFirst = null; + IReference theSecond = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "first": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theFirst = parsed.getResult(); + break; + } + case "second": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSecond = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success(new RelationshipElementValue(theFirst, theSecond)); + } + + /** + * Deserialize an instance of BasicEventElementValue from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryBasicEventElementValueFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IReference theObserved = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "observed": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theObserved = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theObserved == null) { + return missingRequiredProperty("observed"); + } + + return Reporting.Result.success(new BasicEventElementValue(theObserved)); + } + + /** + * Deserialize an instance of AnnotatedRelationshipElementValue from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryAnnotatedRelationshipElementValueFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IReference theFirst = null; + IReference theSecond = null; + ObjectNode theAnnotations = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "first": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theFirst = parsed.getResult(); + break; + } + case "second": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSecond = parsed.getResult(); + break; + } + case "annotations": + { + final Reporting.Result parsed = tryJsonObjectFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAnnotations = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new AnnotatedRelationshipElementValue(theFirst, theSecond, theAnnotations)); + } + + /** + * Deserialize an instance of EntityValue from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryEntityValueFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + EntityType theEntityType = null; + String theGlobalAssetId = null; + List theSpecificAssetIds = null; + ObjectNode theStatements = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "entityType": + { + final Reporting.Result parsed = tryEntityTypeFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEntityType = parsed.getResult(); + break; + } + case "globalAssetId": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theGlobalAssetId = parsed.getResult(); + break; + } + case "specificAssetIds": + { + final Reporting.Result> parsed = parseListOf_jsonObject(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSpecificAssetIds = parsed.getResult(); + break; + } + case "statements": + { + final Reporting.Result parsed = tryJsonObjectFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theStatements = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new EntityValue(theEntityType, theGlobalAssetId, theSpecificAssetIds, theStatements)); + } + + /** + * Deserialize an instance of GetAssetAdministrationShellsResult from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryGetAssetAdministrationShellsResultFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "paging_metadata": + { + final Reporting.Result parsed = + tryPagingMetadataFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePagingMetadata = parsed.getResult(); + break; + } + case "result": + { + final Reporting.Result> parsed = + parseListOf_IAssetAdministrationShell(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theResult = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("paging_metadata"); + } + + return Reporting.Result.success( + new GetAssetAdministrationShellsResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize an instance of GetAssetAdministrationShellsMetadataResult from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryGetAssetAdministrationShellsMetadataResultFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "paging_metadata": + { + final Reporting.Result parsed = + tryPagingMetadataFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePagingMetadata = parsed.getResult(); + break; + } + case "result": + { + final Reporting.Result> parsed = + parseListOf_IAssetAdministrationShellMetadata(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theResult = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("paging_metadata"); + } + + return Reporting.Result.success( + new GetAssetAdministrationShellsMetadataResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize an instance of GetAllAssetAdministrationShellsRecentChangesResult from {@code + * node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryGetAllAssetAdministrationShellsRecentChangesResultFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "paging_metadata": + { + final Reporting.Result parsed = + tryPagingMetadataFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePagingMetadata = parsed.getResult(); + break; + } + case "result": + { + final Reporting.Result> parsed = + parseListOf_IAssetAdministrationShellRecentChange(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theResult = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("paging_metadata"); + } + + return Reporting.Result.success( + new GetAllAssetAdministrationShellsRecentChangesResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize an instance of GetAssetAdministrationShellDescriptorsResult from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryGetAssetAdministrationShellDescriptorsResultFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "paging_metadata": + { + final Reporting.Result parsed = + tryPagingMetadataFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePagingMetadata = parsed.getResult(); + break; + } + case "result": + { + final Reporting.Result> parsed = + parseListOf_IAssetAdministrationShellDescriptor(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theResult = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("paging_metadata"); + } + + return Reporting.Result.success( + new GetAssetAdministrationShellDescriptorsResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize an instance of GetConceptDescriptionsResult from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryGetConceptDescriptionsResultFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "paging_metadata": + { + final Reporting.Result parsed = + tryPagingMetadataFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePagingMetadata = parsed.getResult(); + break; + } + case "result": + { + final Reporting.Result> parsed = + parseListOf_IConceptDescription(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theResult = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("paging_metadata"); + } + + return Reporting.Result.success( + new GetConceptDescriptionsResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize an instance of GetAllConceptDescriptionsRecentChangesResult from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryGetAllConceptDescriptionsRecentChangesResultFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "paging_metadata": + { + final Reporting.Result parsed = + tryPagingMetadataFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePagingMetadata = parsed.getResult(); + break; + } + case "result": + { + final Reporting.Result> parsed = + parseListOf_IConceptDescriptionRecentChange(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theResult = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("paging_metadata"); + } + + return Reporting.Result.success( + new GetAllConceptDescriptionsRecentChangesResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize an instance of GetPackageDescriptionsResult from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryGetPackageDescriptionsResultFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "paging_metadata": + { + final Reporting.Result parsed = + tryPagingMetadataFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePagingMetadata = parsed.getResult(); + break; + } + case "result": + { + final Reporting.Result> parsed = + parseListOf_IPackageDescription(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theResult = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("paging_metadata"); + } + + return Reporting.Result.success( + new GetPackageDescriptionsResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize an instance of GetPathItemsResult from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryGetPathItemsResultFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "paging_metadata": + { + final Reporting.Result parsed = + tryPagingMetadataFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePagingMetadata = parsed.getResult(); + break; + } + case "result": + { + final Reporting.Result> parsed = parseListOf_string(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theResult = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("paging_metadata"); + } + + return Reporting.Result.success(new GetPathItemsResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize an instance of GetReferencesResult from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryGetReferencesResultFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "paging_metadata": + { + final Reporting.Result parsed = + tryPagingMetadataFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePagingMetadata = parsed.getResult(); + break; + } + case "result": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theResult = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("paging_metadata"); + } + + return Reporting.Result.success(new GetReferencesResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize an instance of GetSubmodelDescriptorsResult from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryGetSubmodelDescriptorsResultFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "paging_metadata": + { + final Reporting.Result parsed = + tryPagingMetadataFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePagingMetadata = parsed.getResult(); + break; + } + case "result": + { + final Reporting.Result> parsed = + parseListOf_ISubmodelDescriptor(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theResult = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("paging_metadata"); + } + + return Reporting.Result.success( + new GetSubmodelDescriptorsResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize an instance of GetSubmodelElementsMetadataResult from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryGetSubmodelElementsMetadataResultFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "paging_metadata": + { + final Reporting.Result parsed = + tryPagingMetadataFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePagingMetadata = parsed.getResult(); + break; + } + case "result": + { + final Reporting.Result> parsed = + parseListOf_ISubmodelElementMetadata(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theResult = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("paging_metadata"); + } + + return Reporting.Result.success( + new GetSubmodelElementsMetadataResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize an instance of GetSubmodelElementsResult from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryGetSubmodelElementsResultFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "paging_metadata": + { + final Reporting.Result parsed = + tryPagingMetadataFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePagingMetadata = parsed.getResult(); + break; + } + case "result": + { + final Reporting.Result> parsed = + parseListOf_ISubmodelElement(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theResult = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("paging_metadata"); + } + + return Reporting.Result.success(new GetSubmodelElementsResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize an instance of GetSubmodelElementsValueResult from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryGetSubmodelElementsValueResultFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "paging_metadata": + { + final Reporting.Result parsed = + tryPagingMetadataFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePagingMetadata = parsed.getResult(); + break; + } + case "result": + { + final Reporting.Result> parsed = parseListOf_jsonObject(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theResult = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("paging_metadata"); + } + + return Reporting.Result.success( + new GetSubmodelElementsValueResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize an instance of GetAllSubmodelsRecentChangesResult from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryGetAllSubmodelsRecentChangesResultFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "paging_metadata": + { + final Reporting.Result parsed = + tryPagingMetadataFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePagingMetadata = parsed.getResult(); + break; + } + case "result": + { + final Reporting.Result> parsed = + parseListOf_ISubmodelRecentChange(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theResult = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("paging_metadata"); + } + + return Reporting.Result.success( + new GetAllSubmodelsRecentChangesResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize an instance of GetSubmodelsMetadataResult from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryGetSubmodelsMetadataResultFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "paging_metadata": + { + final Reporting.Result parsed = + tryPagingMetadataFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePagingMetadata = parsed.getResult(); + break; + } + case "result": + { + final Reporting.Result> parsed = + parseListOf_ISubmodelMetadata(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theResult = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("paging_metadata"); + } + + return Reporting.Result.success(new GetSubmodelsMetadataResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize an instance of GetSubmodelsResult from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryGetSubmodelsResultFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "paging_metadata": + { + final Reporting.Result parsed = + tryPagingMetadataFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePagingMetadata = parsed.getResult(); + break; + } + case "result": + { + final Reporting.Result> parsed = parseListOf_ISubmodel(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theResult = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("paging_metadata"); + } + + return Reporting.Result.success(new GetSubmodelsResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize an instance of GetSubmodelsValueResult from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryGetSubmodelsValueResultFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "paging_metadata": + { + final Reporting.Result parsed = + tryPagingMetadataFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePagingMetadata = parsed.getResult(); + break; + } + case "result": + { + final Reporting.Result> parsed = parseListOf_jsonObject(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theResult = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("paging_metadata"); + } + + return Reporting.Result.success(new GetSubmodelsValueResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize the enumeration GlobalAttributeKind from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryGlobalAttributeKindFrom(JsonNode node) { + return tryEnumFrom( + node, Stringification::globalAttributeKindFromString, GlobalAttributeKind.class); + } + + /** + * Deserialize the enumeration DateTimeGlobalAttributeKind from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryDateTimeGlobalAttributeKindFrom( + JsonNode node) { + return tryEnumFrom( + node, + Stringification::dateTimeGlobalAttributeKindFromString, + DateTimeGlobalAttributeKind.class); + } + + /** + * Deserialize an instance of ClaimAttribute from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryClaimAttributeFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theClaim = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "CLAIM": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theClaim = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theClaim == null) { + return missingRequiredProperty("CLAIM"); + } + + return Reporting.Result.success(new ClaimAttribute(theClaim)); + } + + /** + * Deserialize an instance of GlobalAttribute from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryGlobalAttributeFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + GlobalAttributeKind theKind = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "GLOBAL": + { + final Reporting.Result parsed = + tryGlobalAttributeKindFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theKind = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theKind == null) { + return missingRequiredProperty("GLOBAL"); + } + + return Reporting.Result.success(new GlobalAttribute(theKind)); + } + + /** + * Deserialize an instance of ReferenceAttribute from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryReferenceAttributeFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theReference = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "REFERENCE": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theReference = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theReference == null) { + return missingRequiredProperty("REFERENCE"); + } + + return Reporting.Result.success(new ReferenceAttribute(theReference)); + } + + /** + * Deserialize an instance of DateTimeAttributeItem from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryDateTimeAttributeItemFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + DateTimeGlobalAttributeKind theKind = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "GLOBAL": + { + final Reporting.Result parsed = + tryDateTimeGlobalAttributeKindFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theKind = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theKind == null) { + return missingRequiredProperty("GLOBAL"); + } + + return Reporting.Result.success(new DateTimeAttributeItem(theKind)); + } + + /** + * Deserialize an instance of FieldOperand from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryFieldOperandFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theField = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$field": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theField = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theField == null) { + return missingRequiredProperty("$field"); + } + + return Reporting.Result.success(new FieldOperand(theField)); + } + + /** + * Deserialize an instance of StringLiteral from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryStringLiteralFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theStrVal = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$strVal": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theStrVal = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theStrVal == null) { + return missingRequiredProperty("$strVal"); + } + + return Reporting.Result.success(new StringLiteral(theStrVal)); + } + + /** + * Deserialize an instance of AttributeOperand from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryAttributeOperandFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + AttributeItem theAttribute = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$attribute": + { + final Reporting.Result parsed = tryAttributeItemFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAttribute = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theAttribute == null) { + return missingRequiredProperty("$attribute"); + } + + return Reporting.Result.success(new AttributeOperand(theAttribute)); + } + + /** + * Deserialize an instance of NumberLiteral from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryNumberLiteralFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + Double theNumVal = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$numVal": + { + final Reporting.Result parsed = tryDoubleFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theNumVal = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theNumVal == null) { + return missingRequiredProperty("$numVal"); + } + + return Reporting.Result.success(new NumberLiteral(theNumVal)); + } + + /** + * Deserialize an instance of HexLiteral from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryHexLiteralFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theHexVal = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$hexVal": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theHexVal = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theHexVal == null) { + return missingRequiredProperty("$hexVal"); + } + + return Reporting.Result.success(new HexLiteral(theHexVal)); + } + + /** + * Deserialize an instance of DateTimeLiteral from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryDateTimeLiteralFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theDateTimeVal = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$dateTimeVal": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDateTimeVal = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theDateTimeVal == null) { + return missingRequiredProperty("$dateTimeVal"); + } + + return Reporting.Result.success(new DateTimeLiteral(theDateTimeVal)); + } + + /** + * Deserialize an instance of TimeLiteral from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryTimeLiteralFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theTimeVal = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$timeVal": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theTimeVal = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theTimeVal == null) { + return missingRequiredProperty("$timeVal"); + } + + return Reporting.Result.success(new TimeLiteral(theTimeVal)); + } + + /** + * Deserialize an instance of BooleanLiteral from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryBooleanLiteralFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + Boolean theBoolean = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$boolean": + { + final Reporting.Result parsed = tryBooleanFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theBoolean = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theBoolean == null) { + return missingRequiredProperty("$boolean"); + } + + return Reporting.Result.success(new BooleanLiteral(theBoolean)); + } + + /** + * Deserialize an instance of StringCast from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryStringCastFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + Value theStrCast = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$strCast": + { + final Reporting.Result parsed = tryValueFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theStrCast = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theStrCast == null) { + return missingRequiredProperty("$strCast"); + } + + return Reporting.Result.success(new StringCast(theStrCast)); + } + + /** + * Deserialize an instance of NumberCast from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryNumberCastFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + Value theNumCast = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$numCast": + { + final Reporting.Result parsed = tryValueFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theNumCast = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theNumCast == null) { + return missingRequiredProperty("$numCast"); + } + + return Reporting.Result.success(new NumberCast(theNumCast)); + } + + /** + * Deserialize an instance of HexCast from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryHexCastFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + Value theHexCast = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$hexCast": + { + final Reporting.Result parsed = tryValueFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theHexCast = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theHexCast == null) { + return missingRequiredProperty("$hexCast"); + } + + return Reporting.Result.success(new HexCast(theHexCast)); + } + + /** + * Deserialize an instance of BooleanCast from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryBooleanCastFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + Value theBoolCast = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$boolCast": + { + final Reporting.Result parsed = tryValueFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theBoolCast = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theBoolCast == null) { + return missingRequiredProperty("$boolCast"); + } + + return Reporting.Result.success(new BooleanCast(theBoolCast)); + } + + /** + * Deserialize an instance of DateTimeCast from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryDateTimeCastFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + StringValue theDateTimeCast = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$dateTimeCast": + { + final Reporting.Result parsed = tryStringValueFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDateTimeCast = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theDateTimeCast == null) { + return missingRequiredProperty("$dateTimeCast"); + } + + return Reporting.Result.success(new DateTimeCast(theDateTimeCast)); + } + + /** + * Deserialize an instance of TimeCast from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryTimeCastFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + TimeCastOperand theTimeCast = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$timeCast": + { + final Reporting.Result parsed = + tryTimeCastOperandFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theTimeCast = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theTimeCast == null) { + return missingRequiredProperty("$timeCast"); + } + + return Reporting.Result.success(new TimeCast(theTimeCast)); + } + + /** + * Deserialize an instance of DayOfWeek from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryDayOfWeekFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + DateTimeOperand theDayOfWeek = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$dayOfWeek": + { + final Reporting.Result parsed = + tryDateTimeOperandFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDayOfWeek = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theDayOfWeek == null) { + return missingRequiredProperty("$dayOfWeek"); + } + + return Reporting.Result.success(new DayOfWeek(theDayOfWeek)); + } + + /** + * Deserialize an instance of DayOfMonth from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryDayOfMonthFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + DateTimeOperand theDayOfMonth = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$dayOfMonth": + { + final Reporting.Result parsed = + tryDateTimeOperandFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDayOfMonth = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theDayOfMonth == null) { + return missingRequiredProperty("$dayOfMonth"); + } + + return Reporting.Result.success(new DayOfMonth(theDayOfMonth)); + } + + /** + * Deserialize an instance of Month from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryMonthFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + DateTimeOperand theMonth = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$month": + { + final Reporting.Result parsed = + tryDateTimeOperandFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMonth = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theMonth == null) { + return missingRequiredProperty("$month"); + } + + return Reporting.Result.success(new Month(theMonth)); + } + + /** + * Deserialize an instance of Year from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryYearFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + DateTimeOperand theYear = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$year": + { + final Reporting.Result parsed = + tryDateTimeOperandFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theYear = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theYear == null) { + return missingRequiredProperty("$year"); + } + + return Reporting.Result.success(new Year(theYear)); + } + + /** + * Deserialize an instance of DateTimeAttributeOperand from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryDateTimeAttributeOperandFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IDateTimeAttributeItem theAttribute = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$attribute": + { + final Reporting.Result parsed = + tryDateTimeAttributeItemFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAttribute = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theAttribute == null) { + return missingRequiredProperty("$attribute"); + } + + return Reporting.Result.success(new DateTimeAttributeOperand(theAttribute)); + } + + /** + * Deserialize an instance of EqualComparison from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryEqualComparisonFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + Tuple2 theEq = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$eq": + { + final Reporting.Result> parsed = + parseTupleOf2_Value_Value(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEq = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theEq == null) { + return missingRequiredProperty("$eq"); + } + + return Reporting.Result.success(new EqualComparison(theEq)); + } + + /** + * Deserialize an instance of NotEqualComparison from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryNotEqualComparisonFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + Tuple2 theNe = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$ne": + { + final Reporting.Result> parsed = + parseTupleOf2_Value_Value(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theNe = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theNe == null) { + return missingRequiredProperty("$ne"); + } + + return Reporting.Result.success(new NotEqualComparison(theNe)); + } + + /** + * Deserialize an instance of GreaterThanComparison from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryGreaterThanComparisonFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + Tuple2 theGt = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$gt": + { + final Reporting.Result> parsed = + parseTupleOf2_Value_Value(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theGt = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theGt == null) { + return missingRequiredProperty("$gt"); + } + + return Reporting.Result.success(new GreaterThanComparison(theGt)); + } + + /** + * Deserialize an instance of GreaterThanOrEqualComparison from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryGreaterThanOrEqualComparisonFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + Tuple2 theGe = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$ge": + { + final Reporting.Result> parsed = + parseTupleOf2_Value_Value(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theGe = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theGe == null) { + return missingRequiredProperty("$ge"); + } + + return Reporting.Result.success(new GreaterThanOrEqualComparison(theGe)); + } + + /** + * Deserialize an instance of LessThanComparison from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryLessThanComparisonFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + Tuple2 theLt = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$lt": + { + final Reporting.Result> parsed = + parseTupleOf2_Value_Value(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theLt = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theLt == null) { + return missingRequiredProperty("$lt"); + } + + return Reporting.Result.success(new LessThanComparison(theLt)); + } + + /** + * Deserialize an instance of LessThanOrEqualComparison from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryLessThanOrEqualComparisonFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + Tuple2 theLe = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$le": + { + final Reporting.Result> parsed = + parseTupleOf2_Value_Value(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theLe = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theLe == null) { + return missingRequiredProperty("$le"); + } + + return Reporting.Result.success(new LessThanOrEqualComparison(theLe)); + } + + /** + * Deserialize an instance of ContainsComparison from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryContainsComparisonFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + Tuple2 theContains = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$contains": + { + final Reporting.Result> parsed = + parseTupleOf2_StringValue_StringValue(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theContains = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theContains == null) { + return missingRequiredProperty("$contains"); + } + + return Reporting.Result.success(new ContainsComparison(theContains)); + } + + /** + * Deserialize an instance of StartsWithComparison from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryStartsWithComparisonFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + Tuple2 theStartsWith = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$starts-with": + { + final Reporting.Result> parsed = + parseTupleOf2_StringValue_StringValue(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theStartsWith = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theStartsWith == null) { + return missingRequiredProperty("$starts-with"); + } + + return Reporting.Result.success(new StartsWithComparison(theStartsWith)); + } + + /** + * Deserialize an instance of EndsWithComparison from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryEndsWithComparisonFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + Tuple2 theEndsWith = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$ends-with": + { + final Reporting.Result> parsed = + parseTupleOf2_StringValue_StringValue(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEndsWith = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theEndsWith == null) { + return missingRequiredProperty("$ends-with"); + } + + return Reporting.Result.success(new EndsWithComparison(theEndsWith)); + } + + /** + * Deserialize an instance of RegexComparison from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryRegexComparisonFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + Tuple2 theRegex = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$regex": + { + final Reporting.Result> parsed = + parseTupleOf2_StringValue_StringValue(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theRegex = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theRegex == null) { + return missingRequiredProperty("$regex"); + } + + return Reporting.Result.success(new RegexComparison(theRegex)); + } + + /** + * Deserialize an instance of MatchClause from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryMatchClauseFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + List theMatchOperands = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$match": + { + final Reporting.Result> parsed = + parseListOf_MatchExpression(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMatchOperands = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theMatchOperands == null) { + return missingRequiredProperty("$match"); + } + + return Reporting.Result.success(new MatchClause(theMatchOperands)); + } + + /** + * Deserialize an instance of AndExpression from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryAndExpressionFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + List theAndOperands = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$and": + { + final Reporting.Result> parsed = + parseListOf_LogicalExpression(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAndOperands = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theAndOperands == null) { + return missingRequiredProperty("$and"); + } + + return Reporting.Result.success(new AndExpression(theAndOperands)); + } + + /** + * Deserialize an instance of OrExpression from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryOrExpressionFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + List theOrOperands = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$or": + { + final Reporting.Result> parsed = + parseListOf_LogicalExpression(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theOrOperands = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theOrOperands == null) { + return missingRequiredProperty("$or"); + } + + return Reporting.Result.success(new OrExpression(theOrOperands)); + } + + /** + * Deserialize an instance of NotExpression from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryNotExpressionFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + LogicalExpression theNotOperand = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$not": + { + final Reporting.Result parsed = + tryLogicalExpressionFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theNotOperand = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theNotOperand == null) { + return missingRequiredProperty("$not"); + } + + return Reporting.Result.success(new NotExpression(theNotOperand)); + } + + /** + * Deserialize the enumeration QuerySelect from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryQuerySelectFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::querySelectFromString, QuerySelect.class); + } + + /** + * Deserialize an instance of QueryFilter from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryQueryFilterFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theFragment = null; + LogicalExpression theCondition = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$fragment": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theFragment = parsed.getResult(); + break; + } + case "$condition": + { + final Reporting.Result parsed = + tryLogicalExpressionFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCondition = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theFragment == null) { + return missingRequiredProperty("$fragment"); + } + + if (theCondition == null) { + return missingRequiredProperty("$condition"); + } + + return Reporting.Result.success(new QueryFilter(theFragment, theCondition)); + } + + /** + * Deserialize an instance of Query from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryQueryFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + LogicalExpression theCondition = null; + QuerySelect theSelect = null; + List theFilters = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "$condition": + { + final Reporting.Result parsed = + tryLogicalExpressionFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCondition = parsed.getResult(); + break; + } + case "$select": + { + final Reporting.Result parsed = tryQuerySelectFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSelect = parsed.getResult(); + break; + } + case "$filters": + { + final Reporting.Result> parsed = parseListOf_IQueryFilter(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theFilters = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theCondition == null) { + return missingRequiredProperty("$condition"); + } + + return Reporting.Result.success(new Query(theCondition, theSelect, theFilters)); + } + + /** + * Deserialize an instance of AttributeItem from the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryAttributeItemFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + if (node.get("CLAIM") != null) { + final Reporting.Result result = tryClaimAttributeFrom(node); + if (result.isError()) { + return result.castTo(AttributeItem.class); + } + return Reporting.Result.success(AttributeItem.fromClaimAttribute(result.getResult())); + } + + if (node.get("GLOBAL") != null) { + final Reporting.Result result = tryGlobalAttributeFrom(node); + if (result.isError()) { + return result.castTo(AttributeItem.class); + } + return Reporting.Result.success(AttributeItem.fromGlobalAttribute(result.getResult())); + } + + if (node.get("REFERENCE") != null) { + final Reporting.Result result = tryReferenceAttributeFrom(node); + if (result.isError()) { + return result.castTo(AttributeItem.class); + } + return Reporting.Result.success(AttributeItem.fromReferenceAttribute(result.getResult())); + } + + final Reporting.Error error = + new Reporting.Error( + "Could not determine the concrete type of AttributeItem for the given JSON object"); + return Reporting.Result.failure(error); + } + + /** + * Deserialize an instance of StringValue from the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryStringValueFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + if (node.get("$field") != null) { + final Reporting.Result result = tryFieldOperandFrom(node); + if (result.isError()) { + return result.castTo(StringValue.class); + } + return Reporting.Result.success(StringValue.fromFieldOperand(result.getResult())); + } + + if (node.get("$strVal") != null) { + final Reporting.Result result = tryStringLiteralFrom(node); + if (result.isError()) { + return result.castTo(StringValue.class); + } + return Reporting.Result.success(StringValue.fromStringLiteral(result.getResult())); + } + + if (node.get("$strCast") != null) { + final Reporting.Result result = tryStringCastFrom(node); + if (result.isError()) { + return result.castTo(StringValue.class); + } + return Reporting.Result.success(StringValue.fromStringCast(result.getResult())); + } + + if (node.get("$attribute") != null) { + final Reporting.Result result = tryAttributeOperandFrom(node); + if (result.isError()) { + return result.castTo(StringValue.class); + } + return Reporting.Result.success(StringValue.fromAttributeOperand(result.getResult())); + } + + final Reporting.Error error = + new Reporting.Error( + "Could not determine the concrete type of StringValue for the given JSON object"); + return Reporting.Result.failure(error); + } + + /** + * Deserialize an instance of DateTimeOperand from the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryDateTimeOperandFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + if (node.get("$dateTimeVal") != null) { + final Reporting.Result result = tryDateTimeLiteralFrom(node); + if (result.isError()) { + return result.castTo(DateTimeOperand.class); + } + return Reporting.Result.success(DateTimeOperand.fromDateTimeLiteral(result.getResult())); + } + + if (node.get("$dateTimeCast") != null) { + final Reporting.Result result = tryDateTimeCastFrom(node); + if (result.isError()) { + return result.castTo(DateTimeOperand.class); + } + return Reporting.Result.success(DateTimeOperand.fromDateTimeCast(result.getResult())); + } + + if (node.get("$attribute") != null) { + final Reporting.Result result = + tryDateTimeAttributeOperandFrom(node); + if (result.isError()) { + return result.castTo(DateTimeOperand.class); + } + return Reporting.Result.success( + DateTimeOperand.fromDateTimeAttributeOperand(result.getResult())); + } + + final Reporting.Error error = + new Reporting.Error( + "Could not determine the concrete type of DateTimeOperand for the given JSON object"); + return Reporting.Result.failure(error); + } + + /** + * Deserialize an instance of TimeCastOperand from the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryTimeCastOperandFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + if (node.get("$field") != null) { + final Reporting.Result result = tryFieldOperandFrom(node); + if (result.isError()) { + return result.castTo(TimeCastOperand.class); + } + return Reporting.Result.success(TimeCastOperand.fromFieldOperand(result.getResult())); + } + + if (node.get("$strVal") != null) { + final Reporting.Result result = tryStringLiteralFrom(node); + if (result.isError()) { + return result.castTo(TimeCastOperand.class); + } + return Reporting.Result.success(TimeCastOperand.fromStringLiteral(result.getResult())); + } + + if (node.get("$strCast") != null) { + final Reporting.Result result = tryStringCastFrom(node); + if (result.isError()) { + return result.castTo(TimeCastOperand.class); + } + return Reporting.Result.success(TimeCastOperand.fromStringCast(result.getResult())); + } + + if (node.get("$attribute") != null) { + final Reporting.Result result = tryAttributeOperandFrom(node); + if (result.isError()) { + return result.castTo(TimeCastOperand.class); + } + return Reporting.Result.success(TimeCastOperand.fromAttributeOperand(result.getResult())); + } + + if (node.get("$dateTimeVal") != null) { + final Reporting.Result result = tryDateTimeLiteralFrom(node); + if (result.isError()) { + return result.castTo(TimeCastOperand.class); + } + return Reporting.Result.success(TimeCastOperand.fromDateTimeLiteral(result.getResult())); + } + + if (node.get("$dateTimeCast") != null) { + final Reporting.Result result = tryDateTimeCastFrom(node); + if (result.isError()) { + return result.castTo(TimeCastOperand.class); + } + return Reporting.Result.success(TimeCastOperand.fromDateTimeCast(result.getResult())); + } + + final Reporting.Error error = + new Reporting.Error( + "Could not determine the concrete type of TimeCastOperand for the given JSON object"); + return Reporting.Result.failure(error); + } + + /** + * Deserialize an instance of NumericalOperand from the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryNumericalOperandFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + if (node.get("$numVal") != null) { + final Reporting.Result result = tryNumberLiteralFrom(node); + if (result.isError()) { + return result.castTo(NumericalOperand.class); + } + return Reporting.Result.success(NumericalOperand.fromNumberLiteral(result.getResult())); + } + + if (node.get("$numCast") != null) { + final Reporting.Result result = tryNumberCastFrom(node); + if (result.isError()) { + return result.castTo(NumericalOperand.class); + } + return Reporting.Result.success(NumericalOperand.fromNumberCast(result.getResult())); + } + + if (node.get("$dayOfWeek") != null) { + final Reporting.Result result = tryDayOfWeekFrom(node); + if (result.isError()) { + return result.castTo(NumericalOperand.class); + } + return Reporting.Result.success(NumericalOperand.fromDayOfWeek(result.getResult())); + } + + if (node.get("$dayOfMonth") != null) { + final Reporting.Result result = tryDayOfMonthFrom(node); + if (result.isError()) { + return result.castTo(NumericalOperand.class); + } + return Reporting.Result.success(NumericalOperand.fromDayOfMonth(result.getResult())); + } + + if (node.get("$month") != null) { + final Reporting.Result result = tryMonthFrom(node); + if (result.isError()) { + return result.castTo(NumericalOperand.class); + } + return Reporting.Result.success(NumericalOperand.fromMonth(result.getResult())); + } + + if (node.get("$year") != null) { + final Reporting.Result result = tryYearFrom(node); + if (result.isError()) { + return result.castTo(NumericalOperand.class); + } + return Reporting.Result.success(NumericalOperand.fromYear(result.getResult())); + } + + final Reporting.Error error = + new Reporting.Error( + "Could not determine the concrete type of NumericalOperand for the given JSON object"); + return Reporting.Result.failure(error); + } + + /** + * Deserialize an instance of HexOperand from the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryHexOperandFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + if (node.get("$hexVal") != null) { + final Reporting.Result result = tryHexLiteralFrom(node); + if (result.isError()) { + return result.castTo(HexOperand.class); + } + return Reporting.Result.success(HexOperand.fromHexLiteral(result.getResult())); + } + + if (node.get("$hexCast") != null) { + final Reporting.Result result = tryHexCastFrom(node); + if (result.isError()) { + return result.castTo(HexOperand.class); + } + return Reporting.Result.success(HexOperand.fromHexCast(result.getResult())); + } + + final Reporting.Error error = + new Reporting.Error( + "Could not determine the concrete type of HexOperand for the given JSON object"); + return Reporting.Result.failure(error); + } + + /** + * Deserialize an instance of BoolOperand from the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryBoolOperandFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + if (node.get("$boolean") != null) { + final Reporting.Result result = tryBooleanLiteralFrom(node); + if (result.isError()) { + return result.castTo(BoolOperand.class); + } + return Reporting.Result.success(BoolOperand.fromBooleanLiteral(result.getResult())); + } + + if (node.get("$boolCast") != null) { + final Reporting.Result result = tryBooleanCastFrom(node); + if (result.isError()) { + return result.castTo(BoolOperand.class); + } + return Reporting.Result.success(BoolOperand.fromBooleanCast(result.getResult())); + } + + final Reporting.Error error = + new Reporting.Error( + "Could not determine the concrete type of BoolOperand for the given JSON object"); + return Reporting.Result.failure(error); + } + + /** + * Deserialize an instance of TimeOperand from the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryTimeOperandFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + if (node.get("$timeVal") != null) { + final Reporting.Result result = tryTimeLiteralFrom(node); + if (result.isError()) { + return result.castTo(TimeOperand.class); + } + return Reporting.Result.success(TimeOperand.fromTimeLiteral(result.getResult())); + } + + if (node.get("$timeCast") != null) { + final Reporting.Result result = tryTimeCastFrom(node); + if (result.isError()) { + return result.castTo(TimeOperand.class); + } + return Reporting.Result.success(TimeOperand.fromTimeCast(result.getResult())); + } + + final Reporting.Error error = + new Reporting.Error( + "Could not determine the concrete type of TimeOperand for the given JSON object"); + return Reporting.Result.failure(error); + } + + /** + * Deserialize an instance of Value from the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryValueFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + if (node.get("$field") != null) { + final Reporting.Result result = tryFieldOperandFrom(node); + if (result.isError()) { + return result.castTo(Value.class); + } + return Reporting.Result.success(Value.fromFieldOperand(result.getResult())); + } + + if (node.get("$strVal") != null) { + final Reporting.Result result = tryStringLiteralFrom(node); + if (result.isError()) { + return result.castTo(Value.class); + } + return Reporting.Result.success(Value.fromStringLiteral(result.getResult())); + } + + if (node.get("$strCast") != null) { + final Reporting.Result result = tryStringCastFrom(node); + if (result.isError()) { + return result.castTo(Value.class); + } + return Reporting.Result.success(Value.fromStringCast(result.getResult())); + } + + if (node.get("$attribute") != null) { + final Reporting.Result result = tryAttributeOperandFrom(node); + if (result.isError()) { + return result.castTo(Value.class); + } + return Reporting.Result.success(Value.fromAttributeOperand(result.getResult())); + } + + if (node.get("$numVal") != null) { + final Reporting.Result result = tryNumberLiteralFrom(node); + if (result.isError()) { + return result.castTo(Value.class); + } + return Reporting.Result.success(Value.fromNumberLiteral(result.getResult())); + } + + if (node.get("$numCast") != null) { + final Reporting.Result result = tryNumberCastFrom(node); + if (result.isError()) { + return result.castTo(Value.class); + } + return Reporting.Result.success(Value.fromNumberCast(result.getResult())); + } + + if (node.get("$dayOfWeek") != null) { + final Reporting.Result result = tryDayOfWeekFrom(node); + if (result.isError()) { + return result.castTo(Value.class); + } + return Reporting.Result.success(Value.fromDayOfWeek(result.getResult())); + } + + if (node.get("$dayOfMonth") != null) { + final Reporting.Result result = tryDayOfMonthFrom(node); + if (result.isError()) { + return result.castTo(Value.class); + } + return Reporting.Result.success(Value.fromDayOfMonth(result.getResult())); + } + + if (node.get("$month") != null) { + final Reporting.Result result = tryMonthFrom(node); + if (result.isError()) { + return result.castTo(Value.class); + } + return Reporting.Result.success(Value.fromMonth(result.getResult())); + } + + if (node.get("$year") != null) { + final Reporting.Result result = tryYearFrom(node); + if (result.isError()) { + return result.castTo(Value.class); + } + return Reporting.Result.success(Value.fromYear(result.getResult())); + } + + if (node.get("$hexVal") != null) { + final Reporting.Result result = tryHexLiteralFrom(node); + if (result.isError()) { + return result.castTo(Value.class); + } + return Reporting.Result.success(Value.fromHexLiteral(result.getResult())); + } + + if (node.get("$hexCast") != null) { + final Reporting.Result result = tryHexCastFrom(node); + if (result.isError()) { + return result.castTo(Value.class); + } + return Reporting.Result.success(Value.fromHexCast(result.getResult())); + } + + if (node.get("$boolean") != null) { + final Reporting.Result result = tryBooleanLiteralFrom(node); + if (result.isError()) { + return result.castTo(Value.class); + } + return Reporting.Result.success(Value.fromBooleanLiteral(result.getResult())); + } + + if (node.get("$boolCast") != null) { + final Reporting.Result result = tryBooleanCastFrom(node); + if (result.isError()) { + return result.castTo(Value.class); + } + return Reporting.Result.success(Value.fromBooleanCast(result.getResult())); + } + + if (node.get("$dateTimeVal") != null) { + final Reporting.Result result = tryDateTimeLiteralFrom(node); + if (result.isError()) { + return result.castTo(Value.class); + } + return Reporting.Result.success(Value.fromDateTimeLiteral(result.getResult())); + } + + if (node.get("$dateTimeCast") != null) { + final Reporting.Result result = tryDateTimeCastFrom(node); + if (result.isError()) { + return result.castTo(Value.class); + } + return Reporting.Result.success(Value.fromDateTimeCast(result.getResult())); + } + + if (node.get("$timeVal") != null) { + final Reporting.Result result = tryTimeLiteralFrom(node); + if (result.isError()) { + return result.castTo(Value.class); + } + return Reporting.Result.success(Value.fromTimeLiteral(result.getResult())); + } + + if (node.get("$timeCast") != null) { + final Reporting.Result result = tryTimeCastFrom(node); + if (result.isError()) { + return result.castTo(Value.class); + } + return Reporting.Result.success(Value.fromTimeCast(result.getResult())); + } + + final Reporting.Error error = + new Reporting.Error( + "Could not determine the concrete type of Value for the given JSON object"); + return Reporting.Result.failure(error); + } + + /** + * Deserialize an instance of MatchExpression from the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryMatchExpressionFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + if (node.get("$match") != null) { + final Reporting.Result result = tryMatchClauseFrom(node); + if (result.isError()) { + return result.castTo(MatchExpression.class); + } + return Reporting.Result.success(MatchExpression.fromMatchClause(result.getResult())); + } + + if (node.get("$eq") != null) { + final Reporting.Result result = tryEqualComparisonFrom(node); + if (result.isError()) { + return result.castTo(MatchExpression.class); + } + return Reporting.Result.success(MatchExpression.fromEqualComparison(result.getResult())); + } + + if (node.get("$ne") != null) { + final Reporting.Result result = tryNotEqualComparisonFrom(node); + if (result.isError()) { + return result.castTo(MatchExpression.class); + } + return Reporting.Result.success(MatchExpression.fromNotEqualComparison(result.getResult())); + } + + if (node.get("$gt") != null) { + final Reporting.Result result = tryGreaterThanComparisonFrom(node); + if (result.isError()) { + return result.castTo(MatchExpression.class); + } + return Reporting.Result.success( + MatchExpression.fromGreaterThanComparison(result.getResult())); + } + + if (node.get("$ge") != null) { + final Reporting.Result result = + tryGreaterThanOrEqualComparisonFrom(node); + if (result.isError()) { + return result.castTo(MatchExpression.class); + } + return Reporting.Result.success( + MatchExpression.fromGreaterThanOrEqualComparison(result.getResult())); + } + + if (node.get("$lt") != null) { + final Reporting.Result result = tryLessThanComparisonFrom(node); + if (result.isError()) { + return result.castTo(MatchExpression.class); + } + return Reporting.Result.success(MatchExpression.fromLessThanComparison(result.getResult())); + } + + if (node.get("$le") != null) { + final Reporting.Result result = + tryLessThanOrEqualComparisonFrom(node); + if (result.isError()) { + return result.castTo(MatchExpression.class); + } + return Reporting.Result.success( + MatchExpression.fromLessThanOrEqualComparison(result.getResult())); + } + + if (node.get("$contains") != null) { + final Reporting.Result result = tryContainsComparisonFrom(node); + if (result.isError()) { + return result.castTo(MatchExpression.class); + } + return Reporting.Result.success(MatchExpression.fromContainsComparison(result.getResult())); + } + + if (node.get("$starts-with") != null) { + final Reporting.Result result = tryStartsWithComparisonFrom(node); + if (result.isError()) { + return result.castTo(MatchExpression.class); + } + return Reporting.Result.success( + MatchExpression.fromStartsWithComparison(result.getResult())); + } + + if (node.get("$ends-with") != null) { + final Reporting.Result result = tryEndsWithComparisonFrom(node); + if (result.isError()) { + return result.castTo(MatchExpression.class); + } + return Reporting.Result.success(MatchExpression.fromEndsWithComparison(result.getResult())); + } + + if (node.get("$regex") != null) { + final Reporting.Result result = tryRegexComparisonFrom(node); + if (result.isError()) { + return result.castTo(MatchExpression.class); + } + return Reporting.Result.success(MatchExpression.fromRegexComparison(result.getResult())); + } + + final Reporting.Error error = + new Reporting.Error( + "Could not determine the concrete type of MatchExpression for the given JSON object"); + return Reporting.Result.failure(error); + } + + /** + * Deserialize an instance of LogicalExpression from the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryLogicalExpressionFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + if (node.get("$and") != null) { + final Reporting.Result result = tryAndExpressionFrom(node); + if (result.isError()) { + return result.castTo(LogicalExpression.class); + } + return Reporting.Result.success(LogicalExpression.fromAndExpression(result.getResult())); + } + + if (node.get("$or") != null) { + final Reporting.Result result = tryOrExpressionFrom(node); + if (result.isError()) { + return result.castTo(LogicalExpression.class); + } + return Reporting.Result.success(LogicalExpression.fromOrExpression(result.getResult())); + } + + if (node.get("$not") != null) { + final Reporting.Result result = tryNotExpressionFrom(node); + if (result.isError()) { + return result.castTo(LogicalExpression.class); + } + return Reporting.Result.success(LogicalExpression.fromNotExpression(result.getResult())); + } + + if (node.get("$boolean") != null) { + final Reporting.Result result = tryBooleanLiteralFrom(node); + if (result.isError()) { + return result.castTo(LogicalExpression.class); + } + return Reporting.Result.success(LogicalExpression.fromBooleanLiteral(result.getResult())); + } + + if (node.get("$match") != null) { + final Reporting.Result result = tryMatchClauseFrom(node); + if (result.isError()) { + return result.castTo(LogicalExpression.class); + } + return Reporting.Result.success(LogicalExpression.fromMatchClause(result.getResult())); + } + + if (node.get("$eq") != null) { + final Reporting.Result result = tryEqualComparisonFrom(node); + if (result.isError()) { + return result.castTo(LogicalExpression.class); + } + return Reporting.Result.success(LogicalExpression.fromEqualComparison(result.getResult())); + } + + if (node.get("$ne") != null) { + final Reporting.Result result = tryNotEqualComparisonFrom(node); + if (result.isError()) { + return result.castTo(LogicalExpression.class); + } + return Reporting.Result.success( + LogicalExpression.fromNotEqualComparison(result.getResult())); + } + + if (node.get("$gt") != null) { + final Reporting.Result result = tryGreaterThanComparisonFrom(node); + if (result.isError()) { + return result.castTo(LogicalExpression.class); + } + return Reporting.Result.success( + LogicalExpression.fromGreaterThanComparison(result.getResult())); + } + + if (node.get("$ge") != null) { + final Reporting.Result result = + tryGreaterThanOrEqualComparisonFrom(node); + if (result.isError()) { + return result.castTo(LogicalExpression.class); + } + return Reporting.Result.success( + LogicalExpression.fromGreaterThanOrEqualComparison(result.getResult())); + } + + if (node.get("$lt") != null) { + final Reporting.Result result = tryLessThanComparisonFrom(node); + if (result.isError()) { + return result.castTo(LogicalExpression.class); + } + return Reporting.Result.success( + LogicalExpression.fromLessThanComparison(result.getResult())); + } + + if (node.get("$le") != null) { + final Reporting.Result result = + tryLessThanOrEqualComparisonFrom(node); + if (result.isError()) { + return result.castTo(LogicalExpression.class); + } + return Reporting.Result.success( + LogicalExpression.fromLessThanOrEqualComparison(result.getResult())); + } + + if (node.get("$contains") != null) { + final Reporting.Result result = tryContainsComparisonFrom(node); + if (result.isError()) { + return result.castTo(LogicalExpression.class); + } + return Reporting.Result.success( + LogicalExpression.fromContainsComparison(result.getResult())); + } + + if (node.get("$starts-with") != null) { + final Reporting.Result result = tryStartsWithComparisonFrom(node); + if (result.isError()) { + return result.castTo(LogicalExpression.class); + } + return Reporting.Result.success( + LogicalExpression.fromStartsWithComparison(result.getResult())); + } + + if (node.get("$ends-with") != null) { + final Reporting.Result result = tryEndsWithComparisonFrom(node); + if (result.isError()) { + return result.castTo(LogicalExpression.class); + } + return Reporting.Result.success( + LogicalExpression.fromEndsWithComparison(result.getResult())); + } + + if (node.get("$regex") != null) { + final Reporting.Result result = tryRegexComparisonFrom(node); + if (result.isError()) { + return result.castTo(LogicalExpression.class); + } + return Reporting.Result.success(LogicalExpression.fromRegexComparison(result.getResult())); + } + + final Reporting.Error error = + new Reporting.Error( + "Could not determine the concrete type of LogicalExpression for the given JSON object"); + return Reporting.Result.failure(error); + } + } + + /** Represent a critical error during the deserialization. */ + @SuppressWarnings("serial") + public static class DeserializeException extends RuntimeException { + private final String path; + private final String reason; + + public DeserializeException(String path, String reason) { + super(reason + " at: " + ("".equals(path) ? "the beginning" : path)); + this.path = path; + this.reason = reason; + } + + public Optional getPath() { + return Optional.ofNullable(path); + } + + public Optional getReason() { + return Optional.ofNullable(reason); + } + } + + /** Represent a critical error during the serialization. */ + @SuppressWarnings("serial") + public static class SerializeException extends RuntimeException { + private final String path; + private final String reason; + + public SerializeException(String path, String reason) { + super(reason + " at: " + ("".equals(path) ? "the beginning" : path)); + this.path = path; + this.reason = reason; + } + + public Optional getPath() { + return Optional.ofNullable(path); + } + + public Optional getReason() { + return Optional.ofNullable(reason); + } + } + + /** + * Signal a failure of the serialization, carrying the path to the culprit. + * + *

The path is built as the stack unwinds -- every container prepends the one segment it knows, + * the property its name and the list the index of the item -- which is why this can not be a + * {@link SerializeException} already: that one renders its message in its constructor, so its + * path has to be complete by then. {@link Serialize#toJsonObject} renders and converts. + */ + @SuppressWarnings("serial") + private static class _SerializeFailure extends RuntimeException { + private final Reporting.Error error; + + _SerializeFailure(Reporting.Error error) { + super(error.getCause()); + this.error = error; + } + + Reporting.Error getError() { + return error; + } + } + + /** + * Deserialize instances of meta-model classes from JSON nodes. + * + *

Here is an example how to parse an instance of IHasSemantics: + * + *

{@code
+   * String someString = "... some JSON ...";
+   * ObjectMapper objectMapper = new ObjectMapper();
+   * JsonNode node = objectMapper.readTree(someString);
+   * IHasSemantics anInstance = Deserialize.deserializeIHasSemantics(
+   *   node);
+   * }
+ */ + public static class Deserialize { + /** + * Deserialize a JSON-able value from {@code node}. + * + *

A JSON-able value is, recursively, exactly as JSON itself is defined: a null node (JSON + * null), a boolean, a number, a string, an array of JSON-able values or an object of JSON-able + * values with string keys. An infinity, a not-a-number and an integer outside the safe integer + * range [-2^53 + 1, 2^53 - 1] are rejected at any depth. + * + *

The result is a deep copy, and never {@code node} itself. + * + * @param node JSON node to be parsed + * @throws DeserializeException if {@code node} is not a JSON-able value + */ + public static JsonNode deserializeJsonValue(JsonNode node) { + final Reporting.Result result = _DeserializeImplementation.tryJsonValueFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize a JSON-able array from {@code node}. + * + *

A JSON-able value is, recursively, exactly as JSON itself is defined: a null node (JSON + * null), a boolean, a number, a string, an array of JSON-able values or an object of JSON-able + * values with string keys. An infinity, a not-a-number and an integer outside the safe integer + * range [-2^53 + 1, 2^53 - 1] are rejected at any depth. + * + *

The result is a deep copy, and never {@code node} itself. + * + * @param node JSON node to be parsed + * @throws DeserializeException if {@code node} is not a JSON-able array + */ + public static ArrayNode deserializeJsonArray(JsonNode node) { + final Reporting.Result result = _DeserializeImplementation.tryJsonArrayFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize a JSON-able object from {@code node}. + * + *

A JSON-able value is, recursively, exactly as JSON itself is defined: a null node (JSON + * null), a boolean, a number, a string, an array of JSON-able values or an object of JSON-able + * values with string keys. An infinity, a not-a-number and an integer outside the safe integer + * range [-2^53 + 1, 2^53 - 1] are rejected at any depth. + * + *

The result is a deep copy, and never {@code node} itself. + * + * @param node JSON node to be parsed + * @throws DeserializeException if {@code node} is not a JSON-able object + */ + public static ObjectNode deserializeJsonObject(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryJsonObjectFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IHasSemantics from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IHasSemantics deserializeIHasSemantics(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIHasSemanticsFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Extension from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Extension deserializeExtension(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryExtensionFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IHasExtensions from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IHasExtensions deserializeIHasExtensions(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIHasExtensionsFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IReferable from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IReferable deserializeIReferable(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIReferableFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IIdentifiable from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IIdentifiable deserializeIIdentifiable(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIIdentifiableFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ModellingKind from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ModellingKind deserializeModellingKind(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryModellingKindFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IHasKind from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IHasKind deserializeIHasKind(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIHasKindFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IHasDataSpecification from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IHasDataSpecification deserializeIHasDataSpecification(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIHasDataSpecificationFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AdministrativeInformation from {@code node}. + * + * @param node JSON node to be parsed + */ + public static AdministrativeInformation deserializeAdministrativeInformation(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryAdministrativeInformationFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IQualifiable from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IQualifiable deserializeIQualifiable(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIQualifiableFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of QualifierKind from {@code node}. + * + * @param node JSON node to be parsed + */ + public static QualifierKind deserializeQualifierKind(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryQualifierKindFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Qualifier from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Qualifier deserializeQualifier(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryQualifierFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AssetAdministrationShell from {@code node}. + * + * @param node JSON node to be parsed + */ + public static AssetAdministrationShell deserializeAssetAdministrationShell(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryAssetAdministrationShellFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AssetInformation from {@code node}. + * + * @param node JSON node to be parsed + */ + public static AssetInformation deserializeAssetInformation(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryAssetInformationFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Resource from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Resource deserializeResource(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryResourceFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AssetKind from {@code node}. + * + * @param node JSON node to be parsed + */ + public static AssetKind deserializeAssetKind(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryAssetKindFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SpecificAssetId from {@code node}. + * + * @param node JSON node to be parsed + */ + public static SpecificAssetId deserializeSpecificAssetId(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.trySpecificAssetIdFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Submodel from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Submodel deserializeSubmodel(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.trySubmodelFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ISubmodelElement from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ISubmodelElement deserializeISubmodelElement(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryISubmodelElementFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IRelationshipElement from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IRelationshipElement deserializeIRelationshipElement(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIRelationshipElementFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of RelationshipElement from {@code node}. + * + * @param node JSON node to be parsed + */ + public static RelationshipElement deserializeRelationshipElement(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryRelationshipElementFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AasSubmodelElements from {@code node}. + * + * @param node JSON node to be parsed + */ + public static AasSubmodelElements deserializeAasSubmodelElements(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryAasSubmodelElementsFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SubmodelElementList from {@code node}. + * + * @param node JSON node to be parsed + */ + public static SubmodelElementList deserializeSubmodelElementList(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.trySubmodelElementListFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SubmodelElementCollection from {@code node}. + * + * @param node JSON node to be parsed + */ + public static SubmodelElementCollection deserializeSubmodelElementCollection(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.trySubmodelElementCollectionFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IDataElement from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IDataElement deserializeIDataElement(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIDataElementFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Property from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Property deserializeProperty(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryPropertyFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of MultiLanguageProperty from {@code node}. + * + * @param node JSON node to be parsed + */ + public static MultiLanguageProperty deserializeMultiLanguageProperty(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryMultiLanguagePropertyFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Range from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Range deserializeRange(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryRangeFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ReferenceElement from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ReferenceElement deserializeReferenceElement(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryReferenceElementFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Blob from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Blob deserializeBlob(JsonNode node) { + final Reporting.Result result = _DeserializeImplementation.tryBlobFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of File from {@code node}. + * + * @param node JSON node to be parsed + */ + public static File deserializeFile(JsonNode node) { + final Reporting.Result result = _DeserializeImplementation.tryFileFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AnnotatedRelationshipElement from {@code node}. + * + * @param node JSON node to be parsed + */ + public static AnnotatedRelationshipElement deserializeAnnotatedRelationshipElement( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryAnnotatedRelationshipElementFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Entity from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Entity deserializeEntity(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryEntityFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of EntityType from {@code node}. + * + * @param node JSON node to be parsed + */ + public static EntityType deserializeEntityType(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryEntityTypeFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Direction from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Direction deserializeDirection(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryDirectionFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of StateOfEvent from {@code node}. + * + * @param node JSON node to be parsed + */ + public static StateOfEvent deserializeStateOfEvent(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryStateOfEventFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of EventPayload from {@code node}. + * + * @param node JSON node to be parsed + */ + public static EventPayload deserializeEventPayload(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryEventPayloadFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IEventElement from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IEventElement deserializeIEventElement(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIEventElementFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of BasicEventElement from {@code node}. + * + * @param node JSON node to be parsed + */ + public static BasicEventElement deserializeBasicEventElement(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryBasicEventElementFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Operation from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Operation deserializeOperation(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryOperationFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OperationVariable from {@code node}. + * + * @param node JSON node to be parsed + */ + public static OperationVariable deserializeOperationVariable(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryOperationVariableFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Capability from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Capability deserializeCapability(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryCapabilityFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ConceptDescription from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ConceptDescription deserializeConceptDescription(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryConceptDescriptionFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ReferenceTypes from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ReferenceTypes deserializeReferenceTypes(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryReferenceTypesFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Reference from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reference deserializeReference(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryReferenceFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Key from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Key deserializeKey(JsonNode node) { + final Reporting.Result result = _DeserializeImplementation.tryKeyFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of KeyTypes from {@code node}. + * + * @param node JSON node to be parsed + */ + public static KeyTypes deserializeKeyTypes(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryKeyTypesFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DataTypeDefXsd from {@code node}. + * + * @param node JSON node to be parsed + */ + public static DataTypeDefXsd deserializeDataTypeDefXsd(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryDataTypeDefXsdFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IAbstractLangString from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IAbstractLangString deserializeIAbstractLangString(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIAbstractLangStringFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringNameType from {@code node}. + * + * @param node JSON node to be parsed + */ + public static LangStringNameType deserializeLangStringNameType(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryLangStringNameTypeFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringTextType from {@code node}. + * + * @param node JSON node to be parsed + */ + public static LangStringTextType deserializeLangStringTextType(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryLangStringTextTypeFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Environment from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Environment deserializeEnvironment(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryEnvironmentFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IDataSpecificationContent from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IDataSpecificationContent deserializeIDataSpecificationContent(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIDataSpecificationContentFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of EmbeddedDataSpecification from {@code node}. + * + * @param node JSON node to be parsed + */ + public static EmbeddedDataSpecification deserializeEmbeddedDataSpecification(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryEmbeddedDataSpecificationFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DataTypeIec61360 from {@code node}. + * + * @param node JSON node to be parsed + */ + public static DataTypeIec61360 deserializeDataTypeIec61360(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryDataTypeIec61360From(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LevelType from {@code node}. + * + * @param node JSON node to be parsed + */ + public static LevelType deserializeLevelType(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryLevelTypeFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ValueReferencePair from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ValueReferencePair deserializeValueReferencePair(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryValueReferencePairFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ValueList from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ValueList deserializeValueList(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryValueListFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringPreferredNameTypeIec61360 from {@code node}. + * + * @param node JSON node to be parsed + */ + public static LangStringPreferredNameTypeIec61360 + deserializeLangStringPreferredNameTypeIec61360(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryLangStringPreferredNameTypeIec61360From(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringShortNameTypeIec61360 from {@code node}. + * + * @param node JSON node to be parsed + */ + public static LangStringShortNameTypeIec61360 deserializeLangStringShortNameTypeIec61360( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryLangStringShortNameTypeIec61360From(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringDefinitionTypeIec61360 from {@code node}. + * + * @param node JSON node to be parsed + */ + public static LangStringDefinitionTypeIec61360 deserializeLangStringDefinitionTypeIec61360( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryLangStringDefinitionTypeIec61360From(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringUom from {@code node}. + * + * @param node JSON node to be parsed + */ + public static LangStringUom deserializeLangStringUom(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryLangStringUomFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DefinitionTypeUom from {@code node}. + * + * @param node JSON node to be parsed + */ + public static DefinitionTypeUom deserializeDefinitionTypeUom(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryDefinitionTypeUomFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DataSpecificationUom from {@code node}. + * + * @param node JSON node to be parsed + */ + public static DataSpecificationUom deserializeDataSpecificationUom(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryDataSpecificationUomFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DataSpecificationIec61360 from {@code node}. + * + * @param node JSON node to be parsed + */ + public static DataSpecificationIec61360 deserializeDataSpecificationIec61360(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryDataSpecificationIec61360From(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SerializationFormat from {@code node}. + * + * @param node JSON node to be parsed + */ + public static SerializationFormat deserializeSerializationFormat(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.trySerializationFormatFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IDescriptor from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IDescriptor deserializeIDescriptor(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIDescriptorFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AssetAdministrationShellDescriptor from {@code node}. + * + * @param node JSON node to be parsed + */ + public static AssetAdministrationShellDescriptor deserializeAssetAdministrationShellDescriptor( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryAssetAdministrationShellDescriptorFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SubmodelDescriptor from {@code node}. + * + * @param node JSON node to be parsed + */ + public static SubmodelDescriptor deserializeSubmodelDescriptor(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.trySubmodelDescriptorFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Endpoint from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Endpoint deserializeEndpoint(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryEndpointFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ProtocolInformation from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ProtocolInformation deserializeProtocolInformation(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryProtocolInformationFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SecurityAttributeObject from {@code node}. + * + * @param node JSON node to be parsed + */ + public static SecurityAttributeObject deserializeSecurityAttributeObject(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.trySecurityAttributeObjectFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SecurityTypeEnum from {@code node}. + * + * @param node JSON node to be parsed + */ + public static SecurityTypeEnum deserializeSecurityTypeEnum(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.trySecurityTypeEnumFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AssetLink from {@code node}. + * + * @param node JSON node to be parsed + */ + public static AssetLink deserializeAssetLink(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryAssetLinkFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ServiceDescription from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ServiceDescription deserializeServiceDescription(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryServiceDescriptionFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ServiceSpecificationProfileEnum from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ServiceSpecificationProfileEnum deserializeServiceSpecificationProfileEnum( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryServiceSpecificationProfileEnumFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IRecentChange from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IRecentChange deserializeIRecentChange(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIRecentChangeFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AssetAdministrationShellRecentChange from {@code node}. + * + * @param node JSON node to be parsed + */ + public static AssetAdministrationShellRecentChange + deserializeAssetAdministrationShellRecentChange(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryAssetAdministrationShellRecentChangeFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ConceptDescriptionRecentChange from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ConceptDescriptionRecentChange deserializeConceptDescriptionRecentChange( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryConceptDescriptionRecentChangeFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SubmodelRecentChange from {@code node}. + * + * @param node JSON node to be parsed + */ + public static SubmodelRecentChange deserializeSubmodelRecentChange(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.trySubmodelRecentChangeFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of StatusCode from {@code node}. + * + * @param node JSON node to be parsed + */ + public static StatusCode deserializeStatusCode(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryStatusCodeFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Result from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Result deserializeResult(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryResultFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Message from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Message deserializeMessage(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryMessageFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of MessageTypeEnum from {@code node}. + * + * @param node JSON node to be parsed + */ + public static MessageTypeEnum deserializeMessageTypeEnum(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryMessageTypeEnumFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OperationRequest from {@code node}. + * + * @param node JSON node to be parsed + */ + public static OperationRequest deserializeOperationRequest(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryOperationRequestFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OperationRequestAsync from {@code node}. + * + * @param node JSON node to be parsed + */ + public static OperationRequestAsync deserializeOperationRequestAsync(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryOperationRequestAsyncFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OperationRequestValueOnly from {@code node}. + * + * @param node JSON node to be parsed + */ + public static OperationRequestValueOnly deserializeOperationRequestValueOnly(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryOperationRequestValueOnlyFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OperationRequestAsyncValueOnly from {@code node}. + * + * @param node JSON node to be parsed + */ + public static OperationRequestAsyncValueOnly deserializeOperationRequestAsyncValueOnly( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryOperationRequestAsyncValueOnlyFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of BaseOperationResult from {@code node}. + * + * @param node JSON node to be parsed + */ + public static BaseOperationResult deserializeBaseOperationResult(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryBaseOperationResultFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OperationResult from {@code node}. + * + * @param node JSON node to be parsed + */ + public static OperationResult deserializeOperationResult(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryOperationResultFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OperationResultValueOnly from {@code node}. + * + * @param node JSON node to be parsed + */ + public static OperationResultValueOnly deserializeOperationResultValueOnly(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryOperationResultValueOnlyFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ExecutionState from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ExecutionState deserializeExecutionState(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryExecutionStateFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OperationHandle from {@code node}. + * + * @param node JSON node to be parsed + */ + public static OperationHandle deserializeOperationHandle(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryOperationHandleFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Level from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Level deserializeLevel(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryLevelFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Content from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Content deserializeContent(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryContentFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Extent from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Extent deserializeExtent(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryExtentFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of PagedResult from {@code node}. + * + * @param node JSON node to be parsed + */ + public static PagedResult deserializePagedResult(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryPagedResultFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of PagingMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + public static PagingMetadata deserializePagingMetadata(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryPagingMetadataFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of PackageDescription from {@code node}. + * + * @param node JSON node to be parsed + */ + public static PackageDescription deserializePackageDescription(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryPackageDescriptionFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ISubmodelElementAttributes from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ISubmodelElementAttributes deserializeISubmodelElementAttributes(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryISubmodelElementAttributesFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ISubmodelElementMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ISubmodelElementMetadata deserializeISubmodelElementMetadata(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryISubmodelElementMetadataFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of PropertyMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + public static PropertyMetadata deserializePropertyMetadata(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryPropertyMetadataFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of RangeMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + public static RangeMetadata deserializeRangeMetadata(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryRangeMetadataFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of BlobMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + public static BlobMetadata deserializeBlobMetadata(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryBlobMetadataFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of FileMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + public static FileMetadata deserializeFileMetadata(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryFileMetadataFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of MultiLanguagePropertyMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + public static MultiLanguagePropertyMetadata deserializeMultiLanguagePropertyMetadata( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryMultiLanguagePropertyMetadataFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ReferenceElementMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ReferenceElementMetadata deserializeReferenceElementMetadata(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryReferenceElementMetadataFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of RelationshipElementMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + public static RelationshipElementMetadata deserializeRelationshipElementMetadata( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryRelationshipElementMetadataFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AnnotatedRelationshipElementMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + public static AnnotatedRelationshipElementMetadata + deserializeAnnotatedRelationshipElementMetadata(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryAnnotatedRelationshipElementMetadataFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of EntityMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + public static EntityMetadata deserializeEntityMetadata(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryEntityMetadataFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of CapabilityMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + public static CapabilityMetadata deserializeCapabilityMetadata(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryCapabilityMetadataFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OperationMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + public static OperationMetadata deserializeOperationMetadata(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryOperationMetadataFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SubmodelElementCollectionMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + public static SubmodelElementCollectionMetadata deserializeSubmodelElementCollectionMetadata( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.trySubmodelElementCollectionMetadataFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of BasicEventElementMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + public static BasicEventElementMetadata deserializeBasicEventElementMetadata(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryBasicEventElementMetadataFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SubmodelElementListMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + public static SubmodelElementListMetadata deserializeSubmodelElementListMetadata( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.trySubmodelElementListMetadataFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SubmodelMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + public static SubmodelMetadata deserializeSubmodelMetadata(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.trySubmodelMetadataFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AssetAdministrationShellMetadata from {@code node}. + * + * @param node JSON node to be parsed + */ + public static AssetAdministrationShellMetadata deserializeAssetAdministrationShellMetadata( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryAssetAdministrationShellMetadataFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ReferenceElementValue from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ReferenceElementValue deserializeReferenceElementValue(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryReferenceElementValueFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of BlobValue from {@code node}. + * + * @param node JSON node to be parsed + */ + public static BlobValue deserializeBlobValue(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryBlobValueFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of FileValue from {@code node}. + * + * @param node JSON node to be parsed + */ + public static FileValue deserializeFileValue(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryFileValueFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of RangeValue from {@code node}. + * + * @param node JSON node to be parsed + */ + public static RangeValue deserializeRangeValue(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryRangeValueFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of RelationshipElementValue from {@code node}. + * + * @param node JSON node to be parsed + */ + public static RelationshipElementValue deserializeRelationshipElementValue(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryRelationshipElementValueFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of BasicEventElementValue from {@code node}. + * + * @param node JSON node to be parsed + */ + public static BasicEventElementValue deserializeBasicEventElementValue(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryBasicEventElementValueFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AnnotatedRelationshipElementValue from {@code node}. + * + * @param node JSON node to be parsed + */ + public static AnnotatedRelationshipElementValue deserializeAnnotatedRelationshipElementValue( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryAnnotatedRelationshipElementValueFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of EntityValue from {@code node}. + * + * @param node JSON node to be parsed + */ + public static EntityValue deserializeEntityValue(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryEntityValueFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetAssetAdministrationShellsResult from {@code node}. + * + * @param node JSON node to be parsed + */ + public static GetAssetAdministrationShellsResult deserializeGetAssetAdministrationShellsResult( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryGetAssetAdministrationShellsResultFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetAssetAdministrationShellsMetadataResult from {@code node}. + * + * @param node JSON node to be parsed + */ + public static GetAssetAdministrationShellsMetadataResult + deserializeGetAssetAdministrationShellsMetadataResult(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryGetAssetAdministrationShellsMetadataResultFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetAllAssetAdministrationShellsRecentChangesResult from {@code + * node}. + * + * @param node JSON node to be parsed + */ + public static GetAllAssetAdministrationShellsRecentChangesResult + deserializeGetAllAssetAdministrationShellsRecentChangesResult(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryGetAllAssetAdministrationShellsRecentChangesResultFrom( + node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetAssetAdministrationShellDescriptorsResult from {@code node}. + * + * @param node JSON node to be parsed + */ + public static GetAssetAdministrationShellDescriptorsResult + deserializeGetAssetAdministrationShellDescriptorsResult(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryGetAssetAdministrationShellDescriptorsResultFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetConceptDescriptionsResult from {@code node}. + * + * @param node JSON node to be parsed + */ + public static GetConceptDescriptionsResult deserializeGetConceptDescriptionsResult( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryGetConceptDescriptionsResultFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetAllConceptDescriptionsRecentChangesResult from {@code node}. + * + * @param node JSON node to be parsed + */ + public static GetAllConceptDescriptionsRecentChangesResult + deserializeGetAllConceptDescriptionsRecentChangesResult(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryGetAllConceptDescriptionsRecentChangesResultFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetPackageDescriptionsResult from {@code node}. + * + * @param node JSON node to be parsed + */ + public static GetPackageDescriptionsResult deserializeGetPackageDescriptionsResult( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryGetPackageDescriptionsResultFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetPathItemsResult from {@code node}. + * + * @param node JSON node to be parsed + */ + public static GetPathItemsResult deserializeGetPathItemsResult(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryGetPathItemsResultFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetReferencesResult from {@code node}. + * + * @param node JSON node to be parsed + */ + public static GetReferencesResult deserializeGetReferencesResult(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryGetReferencesResultFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetSubmodelDescriptorsResult from {@code node}. + * + * @param node JSON node to be parsed + */ + public static GetSubmodelDescriptorsResult deserializeGetSubmodelDescriptorsResult( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryGetSubmodelDescriptorsResultFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetSubmodelElementsMetadataResult from {@code node}. + * + * @param node JSON node to be parsed + */ + public static GetSubmodelElementsMetadataResult deserializeGetSubmodelElementsMetadataResult( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryGetSubmodelElementsMetadataResultFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetSubmodelElementsResult from {@code node}. + * + * @param node JSON node to be parsed + */ + public static GetSubmodelElementsResult deserializeGetSubmodelElementsResult(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryGetSubmodelElementsResultFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetSubmodelElementsValueResult from {@code node}. + * + * @param node JSON node to be parsed + */ + public static GetSubmodelElementsValueResult deserializeGetSubmodelElementsValueResult( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryGetSubmodelElementsValueResultFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetAllSubmodelsRecentChangesResult from {@code node}. + * + * @param node JSON node to be parsed + */ + public static GetAllSubmodelsRecentChangesResult deserializeGetAllSubmodelsRecentChangesResult( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryGetAllSubmodelsRecentChangesResultFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetSubmodelsMetadataResult from {@code node}. + * + * @param node JSON node to be parsed + */ + public static GetSubmodelsMetadataResult deserializeGetSubmodelsMetadataResult(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryGetSubmodelsMetadataResultFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetSubmodelsResult from {@code node}. + * + * @param node JSON node to be parsed + */ + public static GetSubmodelsResult deserializeGetSubmodelsResult(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryGetSubmodelsResultFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetSubmodelsValueResult from {@code node}. + * + * @param node JSON node to be parsed + */ + public static GetSubmodelsValueResult deserializeGetSubmodelsValueResult(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryGetSubmodelsValueResultFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GlobalAttributeKind from {@code node}. + * + * @param node JSON node to be parsed + */ + public static GlobalAttributeKind deserializeGlobalAttributeKind(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryGlobalAttributeKindFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DateTimeGlobalAttributeKind from {@code node}. + * + * @param node JSON node to be parsed + */ + public static DateTimeGlobalAttributeKind deserializeDateTimeGlobalAttributeKind( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryDateTimeGlobalAttributeKindFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ClaimAttribute from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ClaimAttribute deserializeClaimAttribute(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryClaimAttributeFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GlobalAttribute from {@code node}. + * + * @param node JSON node to be parsed + */ + public static GlobalAttribute deserializeGlobalAttribute(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryGlobalAttributeFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ReferenceAttribute from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ReferenceAttribute deserializeReferenceAttribute(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryReferenceAttributeFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DateTimeAttributeItem from {@code node}. + * + * @param node JSON node to be parsed + */ + public static DateTimeAttributeItem deserializeDateTimeAttributeItem(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryDateTimeAttributeItemFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of FieldOperand from {@code node}. + * + * @param node JSON node to be parsed + */ + public static FieldOperand deserializeFieldOperand(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryFieldOperandFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of StringLiteral from {@code node}. + * + * @param node JSON node to be parsed + */ + public static StringLiteral deserializeStringLiteral(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryStringLiteralFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AttributeOperand from {@code node}. + * + * @param node JSON node to be parsed + */ + public static AttributeOperand deserializeAttributeOperand(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryAttributeOperandFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of NumberLiteral from {@code node}. + * + * @param node JSON node to be parsed + */ + public static NumberLiteral deserializeNumberLiteral(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryNumberLiteralFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of HexLiteral from {@code node}. + * + * @param node JSON node to be parsed + */ + public static HexLiteral deserializeHexLiteral(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryHexLiteralFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DateTimeLiteral from {@code node}. + * + * @param node JSON node to be parsed + */ + public static DateTimeLiteral deserializeDateTimeLiteral(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryDateTimeLiteralFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of TimeLiteral from {@code node}. + * + * @param node JSON node to be parsed + */ + public static TimeLiteral deserializeTimeLiteral(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryTimeLiteralFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of BooleanLiteral from {@code node}. + * + * @param node JSON node to be parsed + */ + public static BooleanLiteral deserializeBooleanLiteral(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryBooleanLiteralFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of StringCast from {@code node}. + * + * @param node JSON node to be parsed + */ + public static StringCast deserializeStringCast(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryStringCastFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of NumberCast from {@code node}. + * + * @param node JSON node to be parsed + */ + public static NumberCast deserializeNumberCast(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryNumberCastFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of HexCast from {@code node}. + * + * @param node JSON node to be parsed + */ + public static HexCast deserializeHexCast(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryHexCastFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of BooleanCast from {@code node}. + * + * @param node JSON node to be parsed + */ + public static BooleanCast deserializeBooleanCast(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryBooleanCastFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DateTimeCast from {@code node}. + * + * @param node JSON node to be parsed + */ + public static DateTimeCast deserializeDateTimeCast(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryDateTimeCastFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of TimeCast from {@code node}. + * + * @param node JSON node to be parsed + */ + public static TimeCast deserializeTimeCast(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryTimeCastFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DayOfWeek from {@code node}. + * + * @param node JSON node to be parsed + */ + public static DayOfWeek deserializeDayOfWeek(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryDayOfWeekFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DayOfMonth from {@code node}. + * + * @param node JSON node to be parsed + */ + public static DayOfMonth deserializeDayOfMonth(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryDayOfMonthFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Month from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Month deserializeMonth(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryMonthFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Year from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Year deserializeYear(JsonNode node) { + final Reporting.Result result = _DeserializeImplementation.tryYearFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DateTimeAttributeOperand from {@code node}. + * + * @param node JSON node to be parsed + */ + public static DateTimeAttributeOperand deserializeDateTimeAttributeOperand(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryDateTimeAttributeOperandFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of EqualComparison from {@code node}. + * + * @param node JSON node to be parsed + */ + public static EqualComparison deserializeEqualComparison(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryEqualComparisonFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of NotEqualComparison from {@code node}. + * + * @param node JSON node to be parsed + */ + public static NotEqualComparison deserializeNotEqualComparison(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryNotEqualComparisonFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GreaterThanComparison from {@code node}. + * + * @param node JSON node to be parsed + */ + public static GreaterThanComparison deserializeGreaterThanComparison(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryGreaterThanComparisonFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GreaterThanOrEqualComparison from {@code node}. + * + * @param node JSON node to be parsed + */ + public static GreaterThanOrEqualComparison deserializeGreaterThanOrEqualComparison( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryGreaterThanOrEqualComparisonFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LessThanComparison from {@code node}. + * + * @param node JSON node to be parsed + */ + public static LessThanComparison deserializeLessThanComparison(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryLessThanComparisonFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LessThanOrEqualComparison from {@code node}. + * + * @param node JSON node to be parsed + */ + public static LessThanOrEqualComparison deserializeLessThanOrEqualComparison(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryLessThanOrEqualComparisonFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ContainsComparison from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ContainsComparison deserializeContainsComparison(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryContainsComparisonFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of StartsWithComparison from {@code node}. + * + * @param node JSON node to be parsed + */ + public static StartsWithComparison deserializeStartsWithComparison(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryStartsWithComparisonFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of EndsWithComparison from {@code node}. + * + * @param node JSON node to be parsed + */ + public static EndsWithComparison deserializeEndsWithComparison(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryEndsWithComparisonFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of RegexComparison from {@code node}. + * + * @param node JSON node to be parsed + */ + public static RegexComparison deserializeRegexComparison(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryRegexComparisonFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of MatchClause from {@code node}. + * + * @param node JSON node to be parsed + */ + public static MatchClause deserializeMatchClause(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryMatchClauseFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AndExpression from {@code node}. + * + * @param node JSON node to be parsed + */ + public static AndExpression deserializeAndExpression(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryAndExpressionFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OrExpression from {@code node}. + * + * @param node JSON node to be parsed + */ + public static OrExpression deserializeOrExpression(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryOrExpressionFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of NotExpression from {@code node}. + * + * @param node JSON node to be parsed + */ + public static NotExpression deserializeNotExpression(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryNotExpressionFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of QuerySelect from {@code node}. + * + * @param node JSON node to be parsed + */ + public static QuerySelect deserializeQuerySelect(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryQuerySelectFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of QueryFilter from {@code node}. + * + * @param node JSON node to be parsed + */ + public static QueryFilter deserializeQueryFilter(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryQueryFilterFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Query from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Query deserializeQuery(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryQueryFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AttributeItem from {@code node}. + * + * @param node JSON node to be parsed + */ + public static AttributeItem deserializeAttributeItem(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryAttributeItemFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of StringValue from {@code node}. + * + * @param node JSON node to be parsed + */ + public static StringValue deserializeStringValue(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryStringValueFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DateTimeOperand from {@code node}. + * + * @param node JSON node to be parsed + */ + public static DateTimeOperand deserializeDateTimeOperand(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryDateTimeOperandFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of TimeCastOperand from {@code node}. + * + * @param node JSON node to be parsed + */ + public static TimeCastOperand deserializeTimeCastOperand(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryTimeCastOperandFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of NumericalOperand from {@code node}. + * + * @param node JSON node to be parsed + */ + public static NumericalOperand deserializeNumericalOperand(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryNumericalOperandFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of HexOperand from {@code node}. + * + * @param node JSON node to be parsed + */ + public static HexOperand deserializeHexOperand(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryHexOperandFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of BoolOperand from {@code node}. + * + * @param node JSON node to be parsed + */ + public static BoolOperand deserializeBoolOperand(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryBoolOperandFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of TimeOperand from {@code node}. + * + * @param node JSON node to be parsed + */ + public static TimeOperand deserializeTimeOperand(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryTimeOperandFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Value from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Value deserializeValue(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryValueFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of MatchExpression from {@code node}. + * + * @param node JSON node to be parsed + */ + public static MatchExpression deserializeMatchExpression(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryMatchExpressionFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LogicalExpression from {@code node}. + * + * @param node JSON node to be parsed + */ + public static LogicalExpression deserializeLogicalExpression(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryLogicalExpressionFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + } + + private static class _Transformer extends AbstractTransformer { + /** + * Dispatch the serialization over the run-time type of an instance. + * + *

The transformer carries no state, so a single instance serves the whole program. + */ + private static final _Transformer INSTANCE = new _Transformer(); + + /** + * Serialize {@code that} into a JSON object. + * + *

Which JSON object that is, is decided by the run-time type of {@code that}, so this one + * serializer serves every abstract class, every concrete class with descendants, and the item + * of a list or of a tuple of any class at all. The de-serialization, which has to decide what + * to construct before it has read anything, needs a dispatcher per interface instead. + * + *

It is static, so that a composed serializer -- which is static as well, since it carries + * no state either -- can reach it. + */ + static JsonNode transformClass(IClass that) { + return INSTANCE.transform(that); + } + + /** Convert a single value into a JSON node. */ + @FunctionalInterface + private interface Serializer { + JsonNode serialize(T that); + } + + /** + * Set the property {@code jsonName} of {@code result} to {@code that}, serialized by {@code + * serialize}. + * + *

{@code getterName} names the property on the path of a failure. It is the getter, and not + * the JSON property: a serialization error is reported on an instance, which the + * caller holds, and not on a document which has not been written yet. + */ + private static void setProperty( + ObjectNode result, + String jsonName, + String getterName, + T that, + Serializer serialize) { + try { + result.set(jsonName, serialize.serialize(that)); + } catch (_SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.NameSegment(getterName)); + throw failure; + } + } + + /** + * Set the property {@code jsonName} of {@code result} if {@code that} has been given, and set + * nothing at all otherwise. + * + *

The {@link Optional} is taken apart here, once, instead of at every optional property: + * asking it and then unwrapping it at the call site would call the getter twice, and every call + * allocates an {@link Optional} of its own. + */ + private static void setOptionalProperty( + ObjectNode result, + String jsonName, + String getterName, + Optional that, + Serializer serialize) { + final T value = that.orElse(null); + if (value != null) { + setProperty(result, jsonName, getterName, value, serialize); + } + } + + /** + * Serialize the named union {@code that} into a JSON object. + * + *

A named union is not itself an {@link IClass}, so it can not be dispatched by {@link + * #transformClass} directly. Dispatching over the common {@code IUnion} instead of the + * union's own type means a single serializer for *all* the named unions, and not one per union. + * + *

Should a named union ever be allowed to flatten a primitive or an enumeration alternative, + * only this body has to change -- every call site stays the same. + */ + private static JsonNode transformUnion(IUnion that) { + return transformClass(that.getUnderlying()); + } + + /** + * Convert {@code that} boolean to a JSON value. + * + *

This wraps {@link JsonNodeFactory}, which is an object, so that the conversion is a static + * method like every other one here and a reference to it captures nothing. + * + * @param that value to be converted + */ + private static JsonNode boolToJsonNode(Boolean that) { + return JsonNodeFactory.instance.booleanNode(that); + } + + /** + * Convert {@code that} string to a JSON value. + * + *

See the note on {@link #boolToJsonNode} on why this wrapper exists. + * + * @param that value to be converted + */ + private static JsonNode stringToJsonNode(String that) { + return JsonNodeFactory.instance.textNode(that); + } + + /** + * Convert {@code that} double-precision 64-bit float to a JSON value. + * + *

JSON knows neither an infinity nor a not-a-number, so we refuse to serialize them instead + * of leaving it to Jackson, which writes them out as the quoted strings {@code "NaN"} and + * {@code "Infinity"} -- valid JSON, but no longer a number. + * + * @param that value to be converted + */ + private static JsonNode doubleToJsonNode(Double that) { + if (!Double.isFinite(that)) { + throw new _SerializeFailure( + new Reporting.Error( + "JSON knows neither an infinity nor a not-a-number, so the value " + + "can not be serialized: " + + that)); + } + return JsonNodeFactory.instance.numberNode(that); + } + + /** + * Convert {@code that} byte array to a JSON value. + * + * @param that value to be converted + */ + private static JsonNode bytesToJsonNode(byte[] that) { + return JsonNodeFactory.instance.textNode(Base64.getEncoder().encodeToString(that)); + } + + /** + * Serialize {@code that} as a JSON node. + * + *

A JSON-able value is almost a JSON node as it comes, but not quite: its type rules out + * neither a missing node, a non-finite number nor an integer outside the safe integer range + * [-2^53 + 1, 2^53 - 1]. Each is refused here, at any depth. A null node is written as a JSON + * null. + * + *

The result is a deep copy, and never {@code that} itself, so that the serialized document + * does not share a tree with the instance it came from. + * + * @param that to be serialized + * @return {@code that}, as a node of a JSON document + */ + private static JsonNode jsonValueToJsonNode(JsonNode that) { + if (that == null || that.isMissingNode()) { + throw new _SerializeFailure( + new Reporting.Error("Expected a JSON-able value, but got: " + that)); + } + + if (that.isNull()) { + return JsonNodeFactory.instance.nullNode(); + } + + if (that.isNumber()) { + final String cause = Verification.checkJsonAbleNumber(that); + if (cause != null) { + throw new _SerializeFailure(new Reporting.Error(cause)); + } + return that.deepCopy(); + } + + if (that.isBoolean() || that.isTextual()) { + return that.deepCopy(); + } + + if (that.isArray()) { + final ArrayNode result = JsonNodeFactory.instance.arrayNode(); + int index = 0; + for (JsonNode item : that) { + try { + result.add(jsonValueToJsonNode(item)); + } catch (_SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.IndexSegment(index)); + throw failure; + } + index++; + } + return result; + } + + if (that.isObject()) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + final Iterator names = that.fieldNames(); + while (names.hasNext()) { + final String name = names.next(); + try { + result.set(name, jsonValueToJsonNode(that.get(name))); + } catch (_SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.KeySegment(name)); + throw failure; + } + } + return result; + } + + throw new _SerializeFailure( + new Reporting.Error( + "Expected a JSON-able value (a null, a boolean, a number, a string, " + + "an array or an object), but got: " + + that.getNodeType())); + } + + /** + * Serialize every item of {@code that} into a JSON array. + * + * @param that to be serialized + */ + private static ArrayNode serializeListOf_IClass(List that) { + final ArrayNode result = JsonNodeFactory.instance.arrayNode(); + int i = 0; + for (IClass item : that) { + try { + result.add(transformClass(item)); + } catch (_SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.IndexSegment(i)); + throw failure; + } + i++; + } + return result; + } + + /** + * Serialize every item of {@code that} into a JSON array. + * + * @param that to be serialized + */ + private static ArrayNode serializeListOf_string(List that) { + final ArrayNode result = JsonNodeFactory.instance.arrayNode(); + int i = 0; + for (String item : that) { + try { + result.add(stringToJsonNode(item)); + } catch (_SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.IndexSegment(i)); + throw failure; + } + i++; + } + return result; + } + + /** + * Serialize every item of {@code that} into a JSON array. + * + * @param that to be serialized + */ + private static ArrayNode serializeListOf_IEnum(List that) { + final ArrayNode result = JsonNodeFactory.instance.arrayNode(); + int i = 0; + for (IEnum item : that) { + try { + result.add(Serialize.toJsonValue(item)); + } catch (_SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.IndexSegment(i)); + throw failure; + } + i++; + } + return result; + } + + /** + * Serialize every item of {@code that} into a JSON array. + * + * @param that to be serialized + */ + private static ArrayNode serializeListOf_jsonValue(List that) { + final ArrayNode result = JsonNodeFactory.instance.arrayNode(); + int i = 0; + for (ObjectNode item : that) { + try { + result.add(jsonValueToJsonNode(item)); + } catch (_SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.IndexSegment(i)); + throw failure; + } + i++; + } + return result; + } + + /** + * Serialize each of the 2 items of {@code that} into a JSON array. + * + * @param that to be serialized + */ + private static ArrayNode serializeTupleOf2_IUnion_IUnion( + Tuple2, ? extends IUnion> that) { + final ArrayNode result = JsonNodeFactory.instance.arrayNode(); + try { + result.add(transformUnion(that.item1())); + } catch (_SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.IndexSegment(0)); + throw failure; + } + try { + result.add(transformUnion(that.item2())); + } catch (_SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.IndexSegment(1)); + throw failure; + } + return result; + } + + /** + * Serialize every item of {@code that} into a JSON array. + * + * @param that to be serialized + */ + private static ArrayNode serializeListOf_IUnion(List> that) { + final ArrayNode result = JsonNodeFactory.instance.arrayNode(); + int i = 0; + for (IUnion item : that) { + try { + result.add(transformUnion(item)); + } catch (_SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.IndexSegment(i)); + throw failure; + } + i++; + } + return result; + } + + @Override + public JsonNode transformExtension(IExtension that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setProperty(result, "name", "getName()", that.getName(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "valueType", "getValueType()", that.getValueType(), Serialize::toJsonValue); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "refersTo", + "getRefersTo()", + that.getRefersTo(), + _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformAdministrativeInformation(IAdministrativeInformation that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "version", "getVersion()", that.getVersion(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "revision", "getRevision()", that.getRevision(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "creator", "getCreator()", that.getCreator(), _Transformer::transformClass); + + setOptionalProperty( + result, + "createdAt", + "getCreatedAt()", + that.getCreatedAt(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "updatedAt", + "getUpdatedAt()", + that.getUpdatedAt(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "templateId", + "getTemplateId()", + that.getTemplateId(), + _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformQualifier(IQualifier that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty(result, "kind", "getKind()", that.getKind(), Serialize::toJsonValue); + + setProperty(result, "type", "getType()", that.getType(), _Transformer::stringToJsonNode); + + setProperty( + result, "valueType", "getValueType()", that.getValueType(), Serialize::toJsonValue); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "valueId", "getValueId()", that.getValueId(), _Transformer::transformClass); + + return result; + } + + @Override + public JsonNode transformAssetAdministrationShell(IAssetAdministrationShell that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "administration", + "getAdministration()", + that.getAdministration(), + _Transformer::transformClass); + + setProperty(result, "id", "getId()", that.getId(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "derivedFrom", + "getDerivedFrom()", + that.getDerivedFrom(), + _Transformer::transformClass); + + setProperty( + result, + "assetInformation", + "getAssetInformation()", + that.getAssetInformation(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "submodels", + "getSubmodels()", + that.getSubmodels(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "AssetAdministrationShell"); + + return result; + } + + @Override + public JsonNode transformAssetInformation(IAssetInformation that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "assetKind", "getAssetKind()", that.getAssetKind(), Serialize::toJsonValue); + + setOptionalProperty( + result, + "globalAssetId", + "getGlobalAssetId()", + that.getGlobalAssetId(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "specificAssetIds", + "getSpecificAssetIds()", + that.getSpecificAssetIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "assetType", + "getAssetType()", + that.getAssetType(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "defaultThumbnail", + "getDefaultThumbnail()", + that.getDefaultThumbnail(), + _Transformer::transformClass); + + return result; + } + + @Override + public JsonNode transformResource(IResource that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "path", "getPath()", that.getPath(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "contentType", + "getContentType()", + that.getContentType(), + _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformSpecificAssetId(ISpecificAssetId that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setProperty(result, "name", "getName()", that.getName(), _Transformer::stringToJsonNode); + + setProperty(result, "value", "getValue()", that.getValue(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "externalSubjectId", + "getExternalSubjectId()", + that.getExternalSubjectId(), + _Transformer::transformClass); + + return result; + } + + @Override + public JsonNode transformSubmodel(ISubmodel that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "administration", + "getAdministration()", + that.getAdministration(), + _Transformer::transformClass); + + setProperty(result, "id", "getId()", that.getId(), _Transformer::stringToJsonNode); + + setOptionalProperty(result, "kind", "getKind()", that.getKind(), Serialize::toJsonValue); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "submodelElements", + "getSubmodelElements()", + that.getSubmodelElements(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "Submodel"); + + return result; + } + + @Override + public JsonNode transformRelationshipElement(IRelationshipElement that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "first", "getFirst()", that.getFirst(), _Transformer::transformClass); + + setOptionalProperty( + result, "second", "getSecond()", that.getSecond(), _Transformer::transformClass); + + result.put("modelType", "RelationshipElement"); + + return result; + } + + @Override + public JsonNode transformSubmodelElementList(ISubmodelElementList that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "orderRelevant", + "getOrderRelevant()", + that.getOrderRelevant(), + _Transformer::boolToJsonNode); + + setOptionalProperty( + result, + "semanticIdListElement", + "getSemanticIdListElement()", + that.getSemanticIdListElement(), + _Transformer::transformClass); + + setProperty( + result, + "typeValueListElement", + "getTypeValueListElement()", + that.getTypeValueListElement(), + Serialize::toJsonValue); + + setOptionalProperty( + result, + "valueTypeListElement", + "getValueTypeListElement()", + that.getValueTypeListElement(), + Serialize::toJsonValue); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::serializeListOf_IClass); + + result.put("modelType", "SubmodelElementList"); + + return result; + } + + @Override + public JsonNode transformSubmodelElementCollection(ISubmodelElementCollection that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::serializeListOf_IClass); + + result.put("modelType", "SubmodelElementCollection"); + + return result; + } + + @Override + public JsonNode transformProperty(IProperty that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setProperty( + result, "valueType", "getValueType()", that.getValueType(), Serialize::toJsonValue); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "valueId", "getValueId()", that.getValueId(), _Transformer::transformClass); + + result.put("modelType", "Property"); + + return result; + } + + @Override + public JsonNode transformMultiLanguageProperty(IMultiLanguageProperty that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "valueId", "getValueId()", that.getValueId(), _Transformer::transformClass); + + result.put("modelType", "MultiLanguageProperty"); + + return result; + } + + @Override + public JsonNode transformRange(IRange that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setProperty( + result, "valueType", "getValueType()", that.getValueType(), Serialize::toJsonValue); + + setOptionalProperty(result, "min", "getMin()", that.getMin(), _Transformer::stringToJsonNode); + + setOptionalProperty(result, "max", "getMax()", that.getMax(), _Transformer::stringToJsonNode); + + result.put("modelType", "Range"); + + return result; + } + + @Override + public JsonNode transformReferenceElement(IReferenceElement that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::transformClass); + + result.put("modelType", "ReferenceElement"); + + return result; + } + + @Override + public JsonNode transformBlob(IBlob that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::bytesToJsonNode); + + setOptionalProperty( + result, + "contentType", + "getContentType()", + that.getContentType(), + _Transformer::stringToJsonNode); + + result.put("modelType", "Blob"); + + return result; + } + + @Override + public JsonNode transformFile(IFile that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "contentType", + "getContentType()", + that.getContentType(), + _Transformer::stringToJsonNode); + + result.put("modelType", "File"); + + return result; + } + + @Override + public JsonNode transformAnnotatedRelationshipElement(IAnnotatedRelationshipElement that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "first", "getFirst()", that.getFirst(), _Transformer::transformClass); + + setOptionalProperty( + result, "second", "getSecond()", that.getSecond(), _Transformer::transformClass); + + setOptionalProperty( + result, + "annotations", + "getAnnotations()", + that.getAnnotations(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "AnnotatedRelationshipElement"); + + return result; + } + + @Override + public JsonNode transformEntity(IEntity that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "statements", + "getStatements()", + that.getStatements(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "entityType", "getEntityType()", that.getEntityType(), Serialize::toJsonValue); + + setOptionalProperty( + result, + "globalAssetId", + "getGlobalAssetId()", + that.getGlobalAssetId(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "specificAssetIds", + "getSpecificAssetIds()", + that.getSpecificAssetIds(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "Entity"); + + return result; + } + + @Override + public JsonNode transformEventPayload(IEventPayload that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "source", "getSource()", that.getSource(), _Transformer::transformClass); + + setOptionalProperty( + result, + "sourceSemanticId", + "getSourceSemanticId()", + that.getSourceSemanticId(), + _Transformer::transformClass); + + setProperty( + result, + "observableReference", + "getObservableReference()", + that.getObservableReference(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "observableSemanticId", + "getObservableSemanticId()", + that.getObservableSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, "topic", "getTopic()", that.getTopic(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "subjectId", "getSubjectId()", that.getSubjectId(), _Transformer::transformClass); + + setProperty( + result, + "timeStamp", + "getTimeStamp()", + that.getTimeStamp(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "payload", "getPayload()", that.getPayload(), _Transformer::bytesToJsonNode); + + return result; + } + + @Override + public JsonNode transformBasicEventElement(IBasicEventElement that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setProperty( + result, "observed", "getObserved()", that.getObserved(), _Transformer::transformClass); + + setProperty( + result, "direction", "getDirection()", that.getDirection(), Serialize::toJsonValue); + + setProperty(result, "state", "getState()", that.getState(), Serialize::toJsonValue); + + setOptionalProperty( + result, + "messageTopic", + "getMessageTopic()", + that.getMessageTopic(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "messageBroker", + "getMessageBroker()", + that.getMessageBroker(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "lastUpdate", + "getLastUpdate()", + that.getLastUpdate(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "minInterval", + "getMinInterval()", + that.getMinInterval(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "maxInterval", + "getMaxInterval()", + that.getMaxInterval(), + _Transformer::stringToJsonNode); + + result.put("modelType", "BasicEventElement"); + + return result; + } + + @Override + public JsonNode transformOperation(IOperation that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "inputVariables", + "getInputVariables()", + that.getInputVariables(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "outputVariables", + "getOutputVariables()", + that.getOutputVariables(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "inoutputVariables", + "getInoutputVariables()", + that.getInoutputVariables(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "Operation"); + + return result; + } + + @Override + public JsonNode transformOperationVariable(IOperationVariable that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "value", "getValue()", that.getValue(), _Transformer::transformClass); + + return result; + } + + @Override + public JsonNode transformCapability(ICapability that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "Capability"); + + return result; + } + + @Override + public JsonNode transformConceptDescription(IConceptDescription that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "administration", + "getAdministration()", + that.getAdministration(), + _Transformer::transformClass); + + setProperty(result, "id", "getId()", that.getId(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "isCaseOf", + "getIsCaseOf()", + that.getIsCaseOf(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "ConceptDescription"); + + return result; + } + + @Override + public JsonNode transformReference(IReference that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "type", "getType()", that.getType(), Serialize::toJsonValue); + + setOptionalProperty( + result, + "referredSemanticId", + "getReferredSemanticId()", + that.getReferredSemanticId(), + _Transformer::transformClass); + + setProperty( + result, "keys", "getKeys()", that.getKeys(), _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformKey(IKey that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "type", "getType()", that.getType(), Serialize::toJsonValue); + + setProperty(result, "value", "getValue()", that.getValue(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformLangStringNameType(ILangStringNameType that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "language", "getLanguage()", that.getLanguage(), _Transformer::stringToJsonNode); + + setProperty(result, "text", "getText()", that.getText(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformLangStringTextType(ILangStringTextType that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "language", "getLanguage()", that.getLanguage(), _Transformer::stringToJsonNode); + + setProperty(result, "text", "getText()", that.getText(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformEnvironment(IEnvironment that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "assetAdministrationShells", + "getAssetAdministrationShells()", + that.getAssetAdministrationShells(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "submodels", + "getSubmodels()", + that.getSubmodels(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "conceptDescriptions", + "getConceptDescriptions()", + that.getConceptDescriptions(), + _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformEmbeddedDataSpecification(IEmbeddedDataSpecification that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "dataSpecification", + "getDataSpecification()", + that.getDataSpecification(), + _Transformer::transformClass); + + setProperty( + result, + "dataSpecificationContent", + "getDataSpecificationContent()", + that.getDataSpecificationContent(), + _Transformer::transformClass); + + return result; + } + + @Override + public JsonNode transformLevelType(ILevelType that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "min", "getMin()", that.getMin(), _Transformer::boolToJsonNode); + + setProperty(result, "nom", "getNom()", that.getNom(), _Transformer::boolToJsonNode); + + setProperty(result, "typ", "getTyp()", that.getTyp(), _Transformer::boolToJsonNode); + + setProperty(result, "max", "getMax()", that.getMax(), _Transformer::boolToJsonNode); + + return result; + } + + @Override + public JsonNode transformValueReferencePair(IValueReferencePair that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "value", "getValue()", that.getValue(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "valueId", "getValueId()", that.getValueId(), _Transformer::transformClass); + + return result; + } + + @Override + public JsonNode transformValueList(IValueList that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "valueReferencePairs", + "getValueReferencePairs()", + that.getValueReferencePairs(), + _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "language", "getLanguage()", that.getLanguage(), _Transformer::stringToJsonNode); + + setProperty(result, "text", "getText()", that.getText(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformLangStringShortNameTypeIec61360( + ILangStringShortNameTypeIec61360 that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "language", "getLanguage()", that.getLanguage(), _Transformer::stringToJsonNode); + + setProperty(result, "text", "getText()", that.getText(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "language", "getLanguage()", that.getLanguage(), _Transformer::stringToJsonNode); + + setProperty(result, "text", "getText()", that.getText(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformLangStringUom(ILangStringUom that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "language", "getLanguage()", that.getLanguage(), _Transformer::stringToJsonNode); + + setProperty(result, "text", "getText()", that.getText(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformDefinitionTypeUom(IDefinitionTypeUom that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "language", "getLanguage()", that.getLanguage(), _Transformer::stringToJsonNode); + + setProperty(result, "text", "getText()", that.getText(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformDataSpecificationUom(IDataSpecificationUom that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "preferredName", + "getPreferredName()", + that.getPreferredName(), + _Transformer::serializeListOf_IClass); + + setProperty( + result, "symbol", "getSymbol()", that.getSymbol(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "specificUnitId", + "getSpecificUnitId()", + that.getSpecificUnitId(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "definition", + "getDefinition()", + that.getDefinition(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "preferredNameQuantity", + "getPreferredNameQuantity()", + that.getPreferredNameQuantity(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "quantityId", + "getQuantityId()", + that.getQuantityId(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "classificationSystem", + "getClassificationSystem()", + that.getClassificationSystem(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "classificationSystemVersion", + "getClassificationSystemVersion()", + that.getClassificationSystemVersion(), + _Transformer::stringToJsonNode); + + result.put("modelType", "DataSpecificationUom"); + + return result; + } + + @Override + public JsonNode transformDataSpecificationIec61360(IDataSpecificationIec61360 that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "preferredName", + "getPreferredName()", + that.getPreferredName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "shortName", + "getShortName()", + that.getShortName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "unit", "getUnit()", that.getUnit(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "unitId", "getUnitId()", that.getUnitId(), _Transformer::transformClass); + + setOptionalProperty( + result, + "sourceOfDefinition", + "getSourceOfDefinition()", + that.getSourceOfDefinition(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "symbol", "getSymbol()", that.getSymbol(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "dataType", "getDataType()", that.getDataType(), Serialize::toJsonValue); + + setOptionalProperty( + result, + "definition", + "getDefinition()", + that.getDefinition(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "valueFormat", + "getValueFormat()", + that.getValueFormat(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "valueList", "getValueList()", that.getValueList(), _Transformer::transformClass); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "levelType", "getLevelType()", that.getLevelType(), _Transformer::transformClass); + + result.put("modelType", "DataSpecificationIec61360"); + + return result; + } + + @Override + public JsonNode transformAssetAdministrationShellDescriptor( + IAssetAdministrationShellDescriptor that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setProperty(result, "id", "getId()", that.getId(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "administration", + "getAdministration()", + that.getAdministration(), + _Transformer::transformClass); + + setOptionalProperty( + result, "assetKind", "getAssetKind()", that.getAssetKind(), Serialize::toJsonValue); + + setOptionalProperty( + result, + "assetType", + "getAssetType()", + that.getAssetType(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "endpoints", + "getEndpoints()", + that.getEndpoints(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "globalAssetId", + "getGlobalAssetId()", + that.getGlobalAssetId(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "specificAssetIds", + "getSpecificAssetIds()", + that.getSpecificAssetIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "submodelDescriptors", + "getSubmodelDescriptors()", + that.getSubmodelDescriptors(), + _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformSubmodelDescriptor(ISubmodelDescriptor that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setProperty( + result, + "endpoints", + "getEndpoints()", + that.getEndpoints(), + _Transformer::serializeListOf_IClass); + + setProperty(result, "id", "getId()", that.getId(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "administration", + "getAdministration()", + that.getAdministration(), + _Transformer::transformClass); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformEndpoint(IEndpoint that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "protocolInformation", + "getProtocolInformation()", + that.getProtocolInformation(), + _Transformer::transformClass); + + setProperty( + result, + "interface", + "getInterface()", + that.getInterface(), + _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformProtocolInformation(IProtocolInformation that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "href", "getHref()", that.getHref(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "endpointProtocol", + "getEndpointProtocol()", + that.getEndpointProtocol(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "endpointProtocolVersion", + "getEndpointProtocolVersion()", + that.getEndpointProtocolVersion(), + _Transformer::serializeListOf_string); + + setOptionalProperty( + result, + "subprotocol", + "getSubprotocol()", + that.getSubprotocol(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "subprotocolBody", + "getSubprotocolBody()", + that.getSubprotocolBody(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "subprotocolBodyEncoding", + "getSubprotocolBodyEncoding()", + that.getSubprotocolBodyEncoding(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "securityAttributes", + "getSecurityAttributes()", + that.getSecurityAttributes(), + _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformSecurityAttributeObject(ISecurityAttributeObject that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "type", "getType()", that.getType(), Serialize::toJsonValue); + + setProperty(result, "key", "getKey()", that.getKey(), _Transformer::stringToJsonNode); + + setProperty(result, "value", "getValue()", that.getValue(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformAssetLink(IAssetLink that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "name", "getName()", that.getName(), _Transformer::stringToJsonNode); + + setProperty(result, "value", "getValue()", that.getValue(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformServiceDescription(IServiceDescription that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "profiles", + "getProfiles()", + that.getProfiles(), + _Transformer::serializeListOf_IEnum); + + return result; + } + + @Override + public JsonNode transformAssetAdministrationShellRecentChange( + IAssetAdministrationShellRecentChange that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "createdAt", + "getCreatedAt()", + that.getCreatedAt(), + _Transformer::stringToJsonNode); + + setProperty( + result, + "updatedAt", + "getUpdatedAt()", + that.getUpdatedAt(), + _Transformer::stringToJsonNode); + + setProperty(result, "id", "getId()", that.getId(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "globalAssetId", + "getGlobalAssetId()", + that.getGlobalAssetId(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "specificAssetIds", + "getSpecificAssetIds()", + that.getSpecificAssetIds(), + _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformConceptDescriptionRecentChange(IConceptDescriptionRecentChange that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "createdAt", + "getCreatedAt()", + that.getCreatedAt(), + _Transformer::stringToJsonNode); + + setProperty( + result, + "updatedAt", + "getUpdatedAt()", + that.getUpdatedAt(), + _Transformer::stringToJsonNode); + + setProperty(result, "id", "getId()", that.getId(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformSubmodelRecentChange(ISubmodelRecentChange that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "createdAt", + "getCreatedAt()", + that.getCreatedAt(), + _Transformer::stringToJsonNode); + + setProperty( + result, + "updatedAt", + "getUpdatedAt()", + that.getUpdatedAt(), + _Transformer::stringToJsonNode); + + setProperty(result, "id", "getId()", that.getId(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformResult(IResult that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "messages", + "getMessages()", + that.getMessages(), + _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformMessage(IMessage that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "messageType", "getMessageType()", that.getMessageType(), Serialize::toJsonValue); + + setProperty(result, "text", "getText()", that.getText(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "code", "getCode()", that.getCode(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "correlationId", + "getCorrelationId()", + that.getCorrelationId(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "timestamp", + "getTimestamp()", + that.getTimestamp(), + _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformOperationRequest(IOperationRequest that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "inputArguments", + "getInputArguments()", + that.getInputArguments(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "inoutputArguments", + "getInoutputArguments()", + that.getInoutputArguments(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "clientTimeoutDuration", + "getClientTimeoutDuration()", + that.getClientTimeoutDuration(), + _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformOperationRequestAsync(IOperationRequestAsync that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "inputArguments", + "getInputArguments()", + that.getInputArguments(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "inoutputArguments", + "getInoutputArguments()", + that.getInoutputArguments(), + _Transformer::serializeListOf_IClass); + + setProperty( + result, + "clientTimeoutDuration", + "getClientTimeoutDuration()", + that.getClientTimeoutDuration(), + _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformOperationRequestValueOnly(IOperationRequestValueOnly that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "inputArguments", + "getInputArguments()", + that.getInputArguments(), + _Transformer::jsonValueToJsonNode); + + setOptionalProperty( + result, + "inoutputArguments", + "getInoutputArguments()", + that.getInoutputArguments(), + _Transformer::jsonValueToJsonNode); + + setOptionalProperty( + result, + "clientTimeoutDuration", + "getClientTimeoutDuration()", + that.getClientTimeoutDuration(), + _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformOperationRequestAsyncValueOnly(IOperationRequestAsyncValueOnly that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "inputArguments", + "getInputArguments()", + that.getInputArguments(), + _Transformer::jsonValueToJsonNode); + + setOptionalProperty( + result, + "inoutputArguments", + "getInoutputArguments()", + that.getInoutputArguments(), + _Transformer::jsonValueToJsonNode); + + setProperty( + result, + "clientTimeoutDuration", + "getClientTimeoutDuration()", + that.getClientTimeoutDuration(), + _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformBaseOperationResult(IBaseOperationResult that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "executionState", + "getExecutionState()", + that.getExecutionState(), + Serialize::toJsonValue); + + setOptionalProperty( + result, + "messages", + "getMessages()", + that.getMessages(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "success", "getSuccess()", that.getSuccess(), _Transformer::boolToJsonNode); + + return result; + } + + @Override + public JsonNode transformOperationResult(IOperationResult that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "executionState", + "getExecutionState()", + that.getExecutionState(), + Serialize::toJsonValue); + + setOptionalProperty( + result, + "messages", + "getMessages()", + that.getMessages(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "success", "getSuccess()", that.getSuccess(), _Transformer::boolToJsonNode); + + setOptionalProperty( + result, + "outputArguments", + "getOutputArguments()", + that.getOutputArguments(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "inoutputArguments", + "getInoutputArguments()", + that.getInoutputArguments(), + _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformOperationResultValueOnly(IOperationResultValueOnly that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "executionState", + "getExecutionState()", + that.getExecutionState(), + Serialize::toJsonValue); + + setOptionalProperty( + result, + "messages", + "getMessages()", + that.getMessages(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "success", "getSuccess()", that.getSuccess(), _Transformer::boolToJsonNode); + + setOptionalProperty( + result, + "outputArguments", + "getOutputArguments()", + that.getOutputArguments(), + _Transformer::jsonValueToJsonNode); + + setOptionalProperty( + result, + "inoutputArguments", + "getInoutputArguments()", + that.getInoutputArguments(), + _Transformer::jsonValueToJsonNode); + + return result; + } + + @Override + public JsonNode transformOperationHandle(IOperationHandle that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "handleId", "getHandleId()", that.getHandleId(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformPagedResult(IPagedResult that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, "result", "getResult()", that.getResult(), _Transformer::serializeListOf_IClass); + + setProperty( + result, + "paging_metadata", + "getPagingMetadata()", + that.getPagingMetadata(), + _Transformer::transformClass); + + return result; + } + + @Override + public JsonNode transformPagingMetadata(IPagingMetadata that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, "cursor", "getCursor()", that.getCursor(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformPackageDescription(IPackageDescription that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "packageId", + "getPackageId()", + that.getPackageId(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "aasIds", "getAasIds()", that.getAasIds(), _Transformer::serializeListOf_string); + + return result; + } + + @Override + public JsonNode transformPropertyMetadata(IPropertyMetadata that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setProperty( + result, "valueType", "getValueType()", that.getValueType(), Serialize::toJsonValue); + + result.put("modelType", "PropertyMetadata"); + + return result; + } + + @Override + public JsonNode transformRangeMetadata(IRangeMetadata that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setProperty( + result, "valueType", "getValueType()", that.getValueType(), Serialize::toJsonValue); + + result.put("modelType", "RangeMetadata"); + + return result; + } + + @Override + public JsonNode transformBlobMetadata(IBlobMetadata that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "BlobMetadata"); + + return result; + } + + @Override + public JsonNode transformFileMetadata(IFileMetadata that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "FileMetadata"); + + return result; + } + + @Override + public JsonNode transformMultiLanguagePropertyMetadata(IMultiLanguagePropertyMetadata that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "MultiLanguagePropertyMetadata"); + + return result; + } + + @Override + public JsonNode transformReferenceElementMetadata(IReferenceElementMetadata that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "ReferenceElementMetadata"); + + return result; + } + + @Override + public JsonNode transformRelationshipElementMetadata(IRelationshipElementMetadata that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "RelationshipElementMetadata"); + + return result; + } + + @Override + public JsonNode transformAnnotatedRelationshipElementMetadata( + IAnnotatedRelationshipElementMetadata that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "AnnotatedRelationshipElementMetadata"); + + return result; + } + + @Override + public JsonNode transformEntityMetadata(IEntityMetadata that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "EntityMetadata"); + + return result; + } + + @Override + public JsonNode transformCapabilityMetadata(ICapabilityMetadata that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "CapabilityMetadata"); + + return result; + } + + @Override + public JsonNode transformOperationMetadata(IOperationMetadata that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "OperationMetadata"); + + return result; + } + + @Override + public JsonNode transformSubmodelElementCollectionMetadata( + ISubmodelElementCollectionMetadata that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "SubmodelElementCollectionMetadata"); + + return result; + } + + @Override + public JsonNode transformBasicEventElementMetadata(IBasicEventElementMetadata that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setProperty( + result, "direction", "getDirection()", that.getDirection(), Serialize::toJsonValue); + + setProperty(result, "state", "getState()", that.getState(), Serialize::toJsonValue); + + setOptionalProperty( + result, + "messageTopic", + "getMessageTopic()", + that.getMessageTopic(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "messageBroker", + "getMessageBroker()", + that.getMessageBroker(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "lastUpdate", + "getLastUpdate()", + that.getLastUpdate(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "minInterval", + "getMinInterval()", + that.getMinInterval(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "maxInterval", + "getMaxInterval()", + that.getMaxInterval(), + _Transformer::stringToJsonNode); + + result.put("modelType", "BasicEventElementMetadata"); + + return result; + } + + @Override + public JsonNode transformSubmodelElementListMetadata(ISubmodelElementListMetadata that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "orderRelevant", + "getOrderRelevant()", + that.getOrderRelevant(), + _Transformer::boolToJsonNode); + + setOptionalProperty( + result, + "semanticIdListElement", + "getSemanticIdListElement()", + that.getSemanticIdListElement(), + _Transformer::transformClass); + + setProperty( + result, + "typeValueListElement", + "getTypeValueListElement()", + that.getTypeValueListElement(), + Serialize::toJsonValue); + + setOptionalProperty( + result, + "valueTypeListElement", + "getValueTypeListElement()", + that.getValueTypeListElement(), + Serialize::toJsonValue); + + result.put("modelType", "SubmodelElementListMetadata"); + + return result; + } + + @Override + public JsonNode transformSubmodelMetadata(ISubmodelMetadata that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "administration", + "getAdministration()", + that.getAdministration(), + _Transformer::transformClass); + + setProperty(result, "id", "getId()", that.getId(), _Transformer::stringToJsonNode); + + setOptionalProperty(result, "kind", "getKind()", that.getKind(), Serialize::toJsonValue); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "SubmodelMetadata"); + + return result; + } + + @Override + public JsonNode transformAssetAdministrationShellMetadata( + IAssetAdministrationShellMetadata that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "administration", + "getAdministration()", + that.getAdministration(), + _Transformer::transformClass); + + setProperty(result, "id", "getId()", that.getId(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "derivedFrom", + "getDerivedFrom()", + that.getDerivedFrom(), + _Transformer::transformClass); + + result.put("modelType", "AssetAdministrationShellMetadata"); + + return result; + } + + @Override + public JsonNode transformReferenceElementValue(IReferenceElementValue that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "type", "getType()", that.getType(), Serialize::toJsonValue); + + setProperty( + result, "keys", "getKeys()", that.getKeys(), _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "referredSemanticId", + "getReferredSemanticId()", + that.getReferredSemanticId(), + _Transformer::transformClass); + + return result; + } + + @Override + public JsonNode transformBlobValue(IBlobValue that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "contentType", + "getContentType()", + that.getContentType(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::bytesToJsonNode); + + return result; + } + + @Override + public JsonNode transformFileValue(IFileValue that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "contentType", + "getContentType()", + that.getContentType(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformRangeValue(IRangeValue that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "min", "getMin()", that.getMin(), _Transformer::doubleToJsonNode); + + setProperty(result, "max", "getMax()", that.getMax(), _Transformer::doubleToJsonNode); + + return result; + } + + @Override + public JsonNode transformRelationshipElementValue(IRelationshipElementValue that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, "first", "getFirst()", that.getFirst(), _Transformer::transformClass); + + setOptionalProperty( + result, "second", "getSecond()", that.getSecond(), _Transformer::transformClass); + + return result; + } + + @Override + public JsonNode transformBasicEventElementValue(IBasicEventElementValue that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "observed", "getObserved()", that.getObserved(), _Transformer::transformClass); + + return result; + } + + @Override + public JsonNode transformAnnotatedRelationshipElementValue( + IAnnotatedRelationshipElementValue that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, "first", "getFirst()", that.getFirst(), _Transformer::transformClass); + + setOptionalProperty( + result, "second", "getSecond()", that.getSecond(), _Transformer::transformClass); + + setOptionalProperty( + result, + "annotations", + "getAnnotations()", + that.getAnnotations(), + _Transformer::jsonValueToJsonNode); + + return result; + } + + @Override + public JsonNode transformEntityValue(IEntityValue that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, "entityType", "getEntityType()", that.getEntityType(), Serialize::toJsonValue); + + setOptionalProperty( + result, + "globalAssetId", + "getGlobalAssetId()", + that.getGlobalAssetId(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "specificAssetIds", + "getSpecificAssetIds()", + that.getSpecificAssetIds(), + _Transformer::serializeListOf_jsonValue); + + setOptionalProperty( + result, + "statements", + "getStatements()", + that.getStatements(), + _Transformer::jsonValueToJsonNode); + + return result; + } + + @Override + public JsonNode transformGetAssetAdministrationShellsResult( + IGetAssetAdministrationShellsResult that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "paging_metadata", + "getPagingMetadata()", + that.getPagingMetadata(), + _Transformer::transformClass); + + setOptionalProperty( + result, "result", "getResult()", that.getResult(), _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformGetAssetAdministrationShellsMetadataResult( + IGetAssetAdministrationShellsMetadataResult that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "paging_metadata", + "getPagingMetadata()", + that.getPagingMetadata(), + _Transformer::transformClass); + + setOptionalProperty( + result, "result", "getResult()", that.getResult(), _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformGetAllAssetAdministrationShellsRecentChangesResult( + IGetAllAssetAdministrationShellsRecentChangesResult that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "paging_metadata", + "getPagingMetadata()", + that.getPagingMetadata(), + _Transformer::transformClass); + + setOptionalProperty( + result, "result", "getResult()", that.getResult(), _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformGetAssetAdministrationShellDescriptorsResult( + IGetAssetAdministrationShellDescriptorsResult that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "paging_metadata", + "getPagingMetadata()", + that.getPagingMetadata(), + _Transformer::transformClass); + + setOptionalProperty( + result, "result", "getResult()", that.getResult(), _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformGetConceptDescriptionsResult(IGetConceptDescriptionsResult that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "paging_metadata", + "getPagingMetadata()", + that.getPagingMetadata(), + _Transformer::transformClass); + + setOptionalProperty( + result, "result", "getResult()", that.getResult(), _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformGetAllConceptDescriptionsRecentChangesResult( + IGetAllConceptDescriptionsRecentChangesResult that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "paging_metadata", + "getPagingMetadata()", + that.getPagingMetadata(), + _Transformer::transformClass); + + setOptionalProperty( + result, "result", "getResult()", that.getResult(), _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformGetPackageDescriptionsResult(IGetPackageDescriptionsResult that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "paging_metadata", + "getPagingMetadata()", + that.getPagingMetadata(), + _Transformer::transformClass); + + setOptionalProperty( + result, "result", "getResult()", that.getResult(), _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformGetPathItemsResult(IGetPathItemsResult that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "paging_metadata", + "getPagingMetadata()", + that.getPagingMetadata(), + _Transformer::transformClass); + + setOptionalProperty( + result, "result", "getResult()", that.getResult(), _Transformer::serializeListOf_string); + + return result; + } + + @Override + public JsonNode transformGetReferencesResult(IGetReferencesResult that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "paging_metadata", + "getPagingMetadata()", + that.getPagingMetadata(), + _Transformer::transformClass); + + setOptionalProperty( + result, "result", "getResult()", that.getResult(), _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformGetSubmodelDescriptorsResult(IGetSubmodelDescriptorsResult that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "paging_metadata", + "getPagingMetadata()", + that.getPagingMetadata(), + _Transformer::transformClass); + + setOptionalProperty( + result, "result", "getResult()", that.getResult(), _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformGetSubmodelElementsMetadataResult( + IGetSubmodelElementsMetadataResult that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "paging_metadata", + "getPagingMetadata()", + that.getPagingMetadata(), + _Transformer::transformClass); + + setOptionalProperty( + result, "result", "getResult()", that.getResult(), _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformGetSubmodelElementsResult(IGetSubmodelElementsResult that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "paging_metadata", + "getPagingMetadata()", + that.getPagingMetadata(), + _Transformer::transformClass); + + setOptionalProperty( + result, "result", "getResult()", that.getResult(), _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformGetSubmodelElementsValueResult(IGetSubmodelElementsValueResult that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "paging_metadata", + "getPagingMetadata()", + that.getPagingMetadata(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "result", + "getResult()", + that.getResult(), + _Transformer::serializeListOf_jsonValue); + + return result; + } + + @Override + public JsonNode transformGetAllSubmodelsRecentChangesResult( + IGetAllSubmodelsRecentChangesResult that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "paging_metadata", + "getPagingMetadata()", + that.getPagingMetadata(), + _Transformer::transformClass); + + setOptionalProperty( + result, "result", "getResult()", that.getResult(), _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformGetSubmodelsMetadataResult(IGetSubmodelsMetadataResult that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "paging_metadata", + "getPagingMetadata()", + that.getPagingMetadata(), + _Transformer::transformClass); + + setOptionalProperty( + result, "result", "getResult()", that.getResult(), _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformGetSubmodelsResult(IGetSubmodelsResult that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "paging_metadata", + "getPagingMetadata()", + that.getPagingMetadata(), + _Transformer::transformClass); + + setOptionalProperty( + result, "result", "getResult()", that.getResult(), _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformGetSubmodelsValueResult(IGetSubmodelsValueResult that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "paging_metadata", + "getPagingMetadata()", + that.getPagingMetadata(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "result", + "getResult()", + that.getResult(), + _Transformer::serializeListOf_jsonValue); + + return result; + } + + @Override + public JsonNode transformClaimAttribute(IClaimAttribute that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "CLAIM", "getClaim()", that.getClaim(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformGlobalAttribute(IGlobalAttribute that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "GLOBAL", "getKind()", that.getKind(), Serialize::toJsonValue); + + return result; + } + + @Override + public JsonNode transformReferenceAttribute(IReferenceAttribute that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "REFERENCE", + "getReference()", + that.getReference(), + _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformDateTimeAttributeItem(IDateTimeAttributeItem that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "GLOBAL", "getKind()", that.getKind(), Serialize::toJsonValue); + + return result; + } + + @Override + public JsonNode transformFieldOperand(IFieldOperand that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "$field", "getField()", that.getField(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformStringLiteral(IStringLiteral that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "$strVal", "getStrVal()", that.getStrVal(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformAttributeOperand(IAttributeOperand that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "$attribute", + "getAttribute()", + that.getAttribute(), + _Transformer::transformUnion); + + return result; + } + + @Override + public JsonNode transformNumberLiteral(INumberLiteral that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "$numVal", "getNumVal()", that.getNumVal(), _Transformer::doubleToJsonNode); + + return result; + } + + @Override + public JsonNode transformHexLiteral(IHexLiteral that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "$hexVal", "getHexVal()", that.getHexVal(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformDateTimeLiteral(IDateTimeLiteral that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "$dateTimeVal", + "getDateTimeVal()", + that.getDateTimeVal(), + _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformTimeLiteral(ITimeLiteral that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "$timeVal", "getTimeVal()", that.getTimeVal(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformBooleanLiteral(IBooleanLiteral that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "$boolean", "getBoolean()", that.getBoolean(), _Transformer::boolToJsonNode); + + return result; + } + + @Override + public JsonNode transformStringCast(IStringCast that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "$strCast", "getStrCast()", that.getStrCast(), _Transformer::transformUnion); + + return result; + } + + @Override + public JsonNode transformNumberCast(INumberCast that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "$numCast", "getNumCast()", that.getNumCast(), _Transformer::transformUnion); + + return result; + } + + @Override + public JsonNode transformHexCast(IHexCast that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "$hexCast", "getHexCast()", that.getHexCast(), _Transformer::transformUnion); + + return result; + } + + @Override + public JsonNode transformBooleanCast(IBooleanCast that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "$boolCast", "getBoolCast()", that.getBoolCast(), _Transformer::transformUnion); + + return result; + } + + @Override + public JsonNode transformDateTimeCast(IDateTimeCast that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "$dateTimeCast", + "getDateTimeCast()", + that.getDateTimeCast(), + _Transformer::transformUnion); + + return result; + } + + @Override + public JsonNode transformTimeCast(ITimeCast that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "$timeCast", "getTimeCast()", that.getTimeCast(), _Transformer::transformUnion); + + return result; + } + + @Override + public JsonNode transformDayOfWeek(IDayOfWeek that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "$dayOfWeek", + "getDayOfWeek()", + that.getDayOfWeek(), + _Transformer::transformUnion); + + return result; + } + + @Override + public JsonNode transformDayOfMonth(IDayOfMonth that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "$dayOfMonth", + "getDayOfMonth()", + that.getDayOfMonth(), + _Transformer::transformUnion); + + return result; + } + + @Override + public JsonNode transformMonth(IMonth that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "$month", "getMonth()", that.getMonth(), _Transformer::transformUnion); + + return result; + } + + @Override + public JsonNode transformYear(IYear that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "$year", "getYear()", that.getYear(), _Transformer::transformUnion); + + return result; + } + + @Override + public JsonNode transformDateTimeAttributeOperand(IDateTimeAttributeOperand that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "$attribute", + "getAttribute()", + that.getAttribute(), + _Transformer::transformClass); + + return result; + } + + @Override + public JsonNode transformEqualComparison(IEqualComparison that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "$eq", "getEq()", that.getEq(), _Transformer::serializeTupleOf2_IUnion_IUnion); + + return result; + } + + @Override + public JsonNode transformNotEqualComparison(INotEqualComparison that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "$ne", "getNe()", that.getNe(), _Transformer::serializeTupleOf2_IUnion_IUnion); + + return result; + } + + @Override + public JsonNode transformGreaterThanComparison(IGreaterThanComparison that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "$gt", "getGt()", that.getGt(), _Transformer::serializeTupleOf2_IUnion_IUnion); + + return result; + } + + @Override + public JsonNode transformGreaterThanOrEqualComparison(IGreaterThanOrEqualComparison that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "$ge", "getGe()", that.getGe(), _Transformer::serializeTupleOf2_IUnion_IUnion); + + return result; + } + + @Override + public JsonNode transformLessThanComparison(ILessThanComparison that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "$lt", "getLt()", that.getLt(), _Transformer::serializeTupleOf2_IUnion_IUnion); + + return result; + } + + @Override + public JsonNode transformLessThanOrEqualComparison(ILessThanOrEqualComparison that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "$le", "getLe()", that.getLe(), _Transformer::serializeTupleOf2_IUnion_IUnion); + + return result; + } + + @Override + public JsonNode transformContainsComparison(IContainsComparison that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "$contains", + "getContains()", + that.getContains(), + _Transformer::serializeTupleOf2_IUnion_IUnion); + + return result; + } + + @Override + public JsonNode transformStartsWithComparison(IStartsWithComparison that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "$starts-with", + "getStartsWith()", + that.getStartsWith(), + _Transformer::serializeTupleOf2_IUnion_IUnion); + + return result; + } + + @Override + public JsonNode transformEndsWithComparison(IEndsWithComparison that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "$ends-with", + "getEndsWith()", + that.getEndsWith(), + _Transformer::serializeTupleOf2_IUnion_IUnion); + + return result; + } + + @Override + public JsonNode transformRegexComparison(IRegexComparison that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "$regex", + "getRegex()", + that.getRegex(), + _Transformer::serializeTupleOf2_IUnion_IUnion); + + return result; + } + + @Override + public JsonNode transformMatchClause(IMatchClause that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "$match", + "getMatchOperands()", + that.getMatchOperands(), + _Transformer::serializeListOf_IUnion); + + return result; + } + + @Override + public JsonNode transformAndExpression(IAndExpression that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "$and", + "getAndOperands()", + that.getAndOperands(), + _Transformer::serializeListOf_IUnion); + + return result; + } + + @Override + public JsonNode transformOrExpression(IOrExpression that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "$or", + "getOrOperands()", + that.getOrOperands(), + _Transformer::serializeListOf_IUnion); + + return result; + } + + @Override + public JsonNode transformNotExpression(INotExpression that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "$not", "getNotOperand()", that.getNotOperand(), _Transformer::transformUnion); + + return result; + } + + @Override + public JsonNode transformQueryFilter(IQueryFilter that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "$fragment", "getFragment()", that.getFragment(), _Transformer::stringToJsonNode); + + setProperty( + result, + "$condition", + "getCondition()", + that.getCondition(), + _Transformer::transformUnion); + + return result; + } + + @Override + public JsonNode transformQuery(IQuery that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, "$select", "getSelect()", that.getSelect(), Serialize::toJsonValue); + + setProperty( + result, + "$condition", + "getCondition()", + that.getCondition(), + _Transformer::transformUnion); + + setOptionalProperty( + result, + "$filters", + "getFilters()", + that.getFilters(), + _Transformer::serializeListOf_IClass); + + return result; + } + } + + /** + * Serialize instances of meta-model classes to JSON elements. + * + *

Here is an example how to serialize an instance of IHasSemantics: + * + *

{@code
+   * IHasSemantics anInstance = new IHasSemantics(
+   *     // ... some constructor arguments ...
+   * );
+   * JsonNode element = Jsonization.Serialize.toJsonObject(
+   *     anInstance));
+   * }
+ */ + public static class Serialize { + /** + * Serialize an instance of the meta-model into a JSON object. + * + * @throws SerializeException if a value within {@code that} instance can not be represented in + * JSON + */ + public static JsonNode toJsonObject(IClass that) { + try { + return _Transformer.transformClass(that); + } catch (_SerializeFailure failure) { + final Reporting.Error error = failure.getError(); + throw new SerializeException( + Reporting.generateJavaPath(error.getPathSegments()), error.getCause()); + } + } + + /** + * Serialize the JSON-able value {@code that} into a JSON node. + * + *

The result is a deep copy, and never {@code that} itself. A null node is written as a JSON + * null. + * + * @throws SerializeException if {@code that} contains, at any depth, a missing node, an + * infinity, a not-a-number or an integer outside the safe integer range [-2^53 + 1, 2^53 - + * 1] + */ + public static JsonNode jsonValueToJsonNode(JsonNode that) { + try { + return _Transformer.jsonValueToJsonNode(that); + } catch (_SerializeFailure failure) { + final Reporting.Error error = failure.getError(); + throw new SerializeException( + Reporting.generateJavaPath(error.getPathSegments()), error.getCause()); + } + } + + /** + * Serialize a literal of any enumeration of the meta-model into a JSON string. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static JsonNode toJsonValue(IEnum that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal: " + that); + } + return JsonNodeFactory.instance.textNode(that.literalText()); + } + + /** Serialize a literal of ModellingKind into a JSON string. */ + public static JsonNode modellingKindToJsonValue(ModellingKind that) { + return toJsonValue(that); + } + + /** Serialize a literal of QualifierKind into a JSON string. */ + public static JsonNode qualifierKindToJsonValue(QualifierKind that) { + return toJsonValue(that); + } + + /** Serialize a literal of AssetKind into a JSON string. */ + public static JsonNode assetKindToJsonValue(AssetKind that) { + return toJsonValue(that); + } + + /** Serialize a literal of AasSubmodelElements into a JSON string. */ + public static JsonNode aasSubmodelElementsToJsonValue(AasSubmodelElements that) { + return toJsonValue(that); + } + + /** Serialize a literal of EntityType into a JSON string. */ + public static JsonNode entityTypeToJsonValue(EntityType that) { + return toJsonValue(that); + } + + /** Serialize a literal of Direction into a JSON string. */ + public static JsonNode directionToJsonValue(Direction that) { + return toJsonValue(that); + } + + /** Serialize a literal of StateOfEvent into a JSON string. */ + public static JsonNode stateOfEventToJsonValue(StateOfEvent that) { + return toJsonValue(that); + } + + /** Serialize a literal of ReferenceTypes into a JSON string. */ + public static JsonNode referenceTypesToJsonValue(ReferenceTypes that) { + return toJsonValue(that); + } + + /** Serialize a literal of KeyTypes into a JSON string. */ + public static JsonNode keyTypesToJsonValue(KeyTypes that) { + return toJsonValue(that); + } + + /** Serialize a literal of DataTypeDefXsd into a JSON string. */ + public static JsonNode dataTypeDefXsdToJsonValue(DataTypeDefXsd that) { + return toJsonValue(that); + } + + /** Serialize a literal of DataTypeIec61360 into a JSON string. */ + public static JsonNode dataTypeIec61360ToJsonValue(DataTypeIec61360 that) { + return toJsonValue(that); + } + + /** Serialize a literal of SerializationFormat into a JSON string. */ + public static JsonNode serializationFormatToJsonValue(SerializationFormat that) { + return toJsonValue(that); + } + + /** Serialize a literal of SecurityTypeEnum into a JSON string. */ + public static JsonNode securityTypeEnumToJsonValue(SecurityTypeEnum that) { + return toJsonValue(that); + } + + /** Serialize a literal of ServiceSpecificationProfileEnum into a JSON string. */ + public static JsonNode serviceSpecificationProfileEnumToJsonValue( + ServiceSpecificationProfileEnum that) { + return toJsonValue(that); + } + + /** Serialize a literal of StatusCode into a JSON string. */ + public static JsonNode statusCodeToJsonValue(StatusCode that) { + return toJsonValue(that); + } + + /** Serialize a literal of MessageTypeEnum into a JSON string. */ + public static JsonNode messageTypeEnumToJsonValue(MessageTypeEnum that) { + return toJsonValue(that); + } + + /** Serialize a literal of ExecutionState into a JSON string. */ + public static JsonNode executionStateToJsonValue(ExecutionState that) { + return toJsonValue(that); + } + + /** Serialize a literal of Level into a JSON string. */ + public static JsonNode levelToJsonValue(Level that) { + return toJsonValue(that); + } + + /** Serialize a literal of Content into a JSON string. */ + public static JsonNode contentToJsonValue(Content that) { + return toJsonValue(that); + } + + /** Serialize a literal of Extent into a JSON string. */ + public static JsonNode extentToJsonValue(Extent that) { + return toJsonValue(that); + } + + /** Serialize a literal of GlobalAttributeKind into a JSON string. */ + public static JsonNode globalAttributeKindToJsonValue(GlobalAttributeKind that) { + return toJsonValue(that); + } + + /** Serialize a literal of DateTimeGlobalAttributeKind into a JSON string. */ + public static JsonNode dateTimeGlobalAttributeKindToJsonValue( + DateTimeGlobalAttributeKind that) { + return toJsonValue(that); + } + + /** Serialize a literal of QuerySelect into a JSON string. */ + public static JsonNode querySelectToJsonValue(QuerySelect that) { + return toJsonValue(that); + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/reporting/Reporting.java b/src/main/java/aas_core/aas3_2/reporting/Reporting.java new file mode 100644 index 00000000..dc5fc274 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/reporting/Reporting.java @@ -0,0 +1,335 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.reporting; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.Deque; +import java.util.LinkedList; +import java.util.List; +import java.util.Objects; +import java.util.function.Function; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +/** Provide reporting for de/serialization and verification. */ +public class Reporting { + /** Capture a path segment of a value in a model. */ + public abstract static class Segment { + // Intentionally empty. + } + + public static class NameSegment extends Segment { + private final String name; + + public NameSegment(String name) { + this.name = Objects.requireNonNull(name, "Argument \"name\" must be non-null."); + } + + public String getName() { + return name; + } + } + + public static class IndexSegment extends Segment { + private final Integer index; + + public IndexSegment(int index) { + this.index = index; + } + + public Integer getIndex() { + return index; + } + } + + /** + * Capture a member of an open JSON-able object on a path to the erroneous value. + * + *

Unlike a {@link NameSegment}, which names a property of one of our classes, a key is known + * only at run time, and can be any string at all. + */ + public static class KeySegment extends Segment { + private final String key; + + public KeySegment(String key) { + this.key = Objects.requireNonNull(key, "Argument \"key\" must be non-null."); + } + + public String getKey() { + return key; + } + } + + private static final Pattern variableNameRe = Pattern.compile("^[a-zA-Z_][a-zA-Z_0-9]*$"); + + /** + * Generate a JSON Path based on the path segments. + * + *

See, for example, this page for more information on JSON path: https://support.smartbear.com/alertsite/docs/monitors/api/endpoint/jsonpath.html + */ + public static String generateJsonPath(Collection segments) { + ArrayList parts = new ArrayList<>(segments.size()); + int i = 0; + + for (Segment segment : segments) { + String part; + + if (segment instanceof NameSegment) { + NameSegment nameSegment = (NameSegment) segment; + Matcher m = variableNameRe.matcher(nameSegment.getName()); + + if (m.matches()) { + part = (i == 0) ? nameSegment.getName() : "." + nameSegment.getName(); + } else { + part = "[\"" + escapeForJsonString(nameSegment.getName()) + "\"]"; + } + } else if (segment instanceof IndexSegment) { + IndexSegment indexSegment = (IndexSegment) segment; + part = "[" + indexSegment.getIndex() + "]"; + } else if (segment instanceof KeySegment) { + // A key is no name of a property of one of our classes, so it is + // always bracketed, whatever it looks like. + KeySegment keySegment = (KeySegment) segment; + part = "[\"" + escapeForJsonString(keySegment.getKey()) + "\"]"; + } else { + throw new RuntimeException( + "Unexpected segment type: " + segment.getClass().getSimpleName()); + } + + parts.add(part); + i++; + } + return String.join("", parts); + } + + /** + * Escape the characters which a JSON string may not hold as they are. + * + *

The control characters without a short escape are written as Unicode escapes, as {@code + * JSON.stringify} does. + */ + private static String escapeForJsonString(String text) { + StringBuilder builder = new StringBuilder(text.length()); + for (int i = 0; i < text.length(); i++) { + char character = text.charAt(i); + switch (character) { + case '\\': + builder.append("\\\\"); + break; + case '"': + builder.append("\\\""); + break; + case '\b': + builder.append("\\b"); + break; + case '\f': + builder.append("\\f"); + break; + case '\n': + builder.append("\\n"); + break; + case '\r': + builder.append("\\r"); + break; + case '\t': + builder.append("\\t"); + break; + default: + if (character < 0x20) { + builder.append(String.format("\\u%04x", (int) character)); + } else { + builder.append(character); + } + break; + } + } + return builder.toString(); + } + + /** Escape special characters for XPath. */ + private static String escapeForXPath(String text) { + return text.replace("&", "&") + .replace("/", "/") + .replace("<", "<") + .replace(">", ">") + .replace("\"", """) + .replace("'", "'"); + } + + /** + * Generate a relative XPath based on the path segments. + * + *

This method leaves out the leading slash ('/'). This is helpful if to embed the error report + * in a larger document with a prefix etc. + */ + public static String generateRelativeXPath(Collection segments) { + final List parts = new ArrayList<>(); + segments.forEach( + segment -> { + String part; + if (segment instanceof NameSegment) { + final NameSegment nameSegment = ((NameSegment) segment); + final String name = nameSegment.getName(); + part = escapeForXPath(name); + } else if (segment instanceof IndexSegment) { + final IndexSegment indexSegment = ((IndexSegment) segment); + // NOTE (mristin): + // XPath counts the elements starting at one, while our indices start at zero. + final int index = indexSegment.getIndex(); + part = "*[" + (index + 1) + "]"; + } else if (segment instanceof KeySegment) { + // A JSON-able object is written as an XML-RPC , which holds + // the key of a member in a child element, and not in + // an attribute, so the XPath has to match on that child element. + final KeySegment keySegment = ((KeySegment) segment); + part = "member[name=\"" + escapeForXPath(keySegment.getKey()) + "\"]"; + } else { + throw new IllegalArgumentException( + "Unexpected segment type: " + segment.getClass().getSimpleName()); + } + parts.add(part); + }); + return String.join("/", parts); + } + + /** + * Generate a Java access path based on the path segments. + * + *

The name segments are expected to be the getters of the properties in Java, parentheses + * included. This is the path to report where in an instance something went wrong -- on + * the serialization, say, where the caller holds the instance, and not a document which has not + * been written yet. + * + *

Unlike the JSON path and the XPath, this one is a Java expression on that instance which the + * caller can paste, as a list and a JSON-able value happen to agree on {@code get}: an item of a + * list, an item of a JSON-able array and a member of a JSON-able object are all reached with it, + * e.g., {@code getSubmodelElements().get(0).getValue().get("some key")}. + */ + public static String generateJavaPath(Collection segments) { + final List parts = new ArrayList<>(segments.size()); + int i = 0; + + for (Segment segment : segments) { + final String part; + + if (segment instanceof NameSegment) { + final NameSegment nameSegment = ((NameSegment) segment); + part = (i == 0) ? nameSegment.getName() : "." + nameSegment.getName(); + } else if (segment instanceof IndexSegment) { + final IndexSegment indexSegment = ((IndexSegment) segment); + part = ".get(" + indexSegment.getIndex() + ")"; + } else if (segment instanceof KeySegment) { + final KeySegment keySegment = ((KeySegment) segment); + part = ".get(\"" + escapeForJsonString(keySegment.getKey()) + "\")"; + } else { + throw new IllegalArgumentException( + "Unexpected segment type: " + segment.getClass().getSimpleName()); + } + + parts.add(part); + i++; + } + return String.join("", parts); + } + + /** Represent an error during the deserialization or the verification. */ + public static class Error { + private final Deque pathSegments = new LinkedList<>(); + private final String cause; + + public Error(String cause) { + this.cause = cause; + } + + public void prependSegment(Segment segment) { + pathSegments.addFirst(segment); + } + + public String getCause() { + return cause; + } + + public Collection getPathSegments() { + return pathSegments; + } + } + + /** + * Represent the outcome of a de/serialization or a verification step. + * + *

This is shared by JSON de/serialization, XML de/serialization and verification, all of which + * propagate an {@link Error} instead of relying on exceptions for the common (successful) case. + */ + public static class Result { + private final T result; + private final Error error; + private final boolean success; + + private Result(T result, Error error, boolean success) { + this.result = result; + this.error = error; + this.success = success; + } + + public static Result success(T result) { + if (result == null) throw new IllegalArgumentException("Result must not be null."); + return new Result<>(result, null, true); + } + + public static Result failure(Error error) { + if (error == null) throw new IllegalArgumentException("Error must not be null."); + return new Result<>(null, error, false); + } + + @SuppressWarnings("unchecked") + public Result castTo(Class type) { + if (isError() || type.isInstance(result)) return (Result) this; + throw new IllegalStateException( + "Result of type " + + result.getClass().getName() + + " is not an instance of " + + type.getName()); + } + + public T getResult() { + if (!isSuccess()) throw new IllegalStateException("Result is not present."); + return result; + } + + public boolean isSuccess() { + return success; + } + + public boolean isError() { + return !success; + } + + public Error getError() { + if (isSuccess()) throw new IllegalStateException("Result is present."); + return error; + } + + public R map(Function successFunction, Function errorFunction) { + return isSuccess() ? successFunction.apply(result) : errorFunction.apply(error); + } + + public T onError(Function errorFunction) { + return map(Function.identity(), errorFunction); + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/stringification/Stringification.java b/src/main/java/aas_core/aas3_2/stringification/Stringification.java new file mode 100644 index 00000000..5083f08a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/stringification/Stringification.java @@ -0,0 +1,1554 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.stringification; + +import aas_core.aas3_2.types.enums.*; +import java.util.Arrays; +import java.util.Collections; +import java.util.HashMap; +import java.util.Map; +import java.util.Optional; + +public class Stringification { + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(ModellingKind that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(ModellingKind that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of ModellingKind: " + that); + } + return that.literalText(); + } + + private static final Map modellingKindFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("Template", ModellingKind.TEMPLATE); + temp.put("Instance", ModellingKind.INSTANCE); + + if (!temp.values().containsAll(Arrays.asList(ModellingKind.values()))) { + throw new IllegalStateException("Unmapped ModellingKind"); + } + + modellingKindFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link ModellingKind}. + * + *

If {@code text} is not a valid string representation of a literal of {@link ModellingKind}, + * return {@code Optional#empty()}. + */ + public static Optional modellingKindFromString(String text) { + ModellingKind value = modellingKindFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(QualifierKind that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(QualifierKind that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of QualifierKind: " + that); + } + return that.literalText(); + } + + private static final Map qualifierKindFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("ValueQualifier", QualifierKind.VALUE_QUALIFIER); + temp.put("ConceptQualifier", QualifierKind.CONCEPT_QUALIFIER); + temp.put("TemplateQualifier", QualifierKind.TEMPLATE_QUALIFIER); + + if (!temp.values().containsAll(Arrays.asList(QualifierKind.values()))) { + throw new IllegalStateException("Unmapped QualifierKind"); + } + + qualifierKindFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link QualifierKind}. + * + *

If {@code text} is not a valid string representation of a literal of {@link QualifierKind}, + * return {@code Optional#empty()}. + */ + public static Optional qualifierKindFromString(String text) { + QualifierKind value = qualifierKindFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(AssetKind that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(AssetKind that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of AssetKind: " + that); + } + return that.literalText(); + } + + private static final Map assetKindFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("Type", AssetKind.TYPE); + temp.put("Instance", AssetKind.INSTANCE); + temp.put("Batch", AssetKind.BATCH); + temp.put("Role", AssetKind.ROLE); + temp.put("NotApplicable", AssetKind.NOT_APPLICABLE); + + if (!temp.values().containsAll(Arrays.asList(AssetKind.values()))) { + throw new IllegalStateException("Unmapped AssetKind"); + } + + assetKindFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link AssetKind}. + * + *

If {@code text} is not a valid string representation of a literal of {@link AssetKind}, + * return {@code Optional#empty()}. + */ + public static Optional assetKindFromString(String text) { + AssetKind value = assetKindFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(AasSubmodelElements that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(AasSubmodelElements that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of AasSubmodelElements: " + that); + } + return that.literalText(); + } + + private static final Map aasSubmodelElementsFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("AnnotatedRelationshipElement", AasSubmodelElements.ANNOTATED_RELATIONSHIP_ELEMENT); + temp.put("BasicEventElement", AasSubmodelElements.BASIC_EVENT_ELEMENT); + temp.put("Blob", AasSubmodelElements.BLOB); + temp.put("Capability", AasSubmodelElements.CAPABILITY); + temp.put("DataElement", AasSubmodelElements.DATA_ELEMENT); + temp.put("Entity", AasSubmodelElements.ENTITY); + temp.put("EventElement", AasSubmodelElements.EVENT_ELEMENT); + temp.put("File", AasSubmodelElements.FILE); + temp.put("MultiLanguageProperty", AasSubmodelElements.MULTI_LANGUAGE_PROPERTY); + temp.put("Operation", AasSubmodelElements.OPERATION); + temp.put("Property", AasSubmodelElements.PROPERTY); + temp.put("Range", AasSubmodelElements.RANGE); + temp.put("ReferenceElement", AasSubmodelElements.REFERENCE_ELEMENT); + temp.put("RelationshipElement", AasSubmodelElements.RELATIONSHIP_ELEMENT); + temp.put("SubmodelElement", AasSubmodelElements.SUBMODEL_ELEMENT); + temp.put("SubmodelElementList", AasSubmodelElements.SUBMODEL_ELEMENT_LIST); + temp.put("SubmodelElementCollection", AasSubmodelElements.SUBMODEL_ELEMENT_COLLECTION); + + if (!temp.values().containsAll(Arrays.asList(AasSubmodelElements.values()))) { + throw new IllegalStateException("Unmapped AasSubmodelElements"); + } + + aasSubmodelElementsFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link AasSubmodelElements}. + * + *

If {@code text} is not a valid string representation of a literal of {@link + * AasSubmodelElements}, return {@code Optional#empty()}. + */ + public static Optional aasSubmodelElementsFromString(String text) { + AasSubmodelElements value = aasSubmodelElementsFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(EntityType that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(EntityType that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of EntityType: " + that); + } + return that.literalText(); + } + + private static final Map entityTypeFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("CoManagedEntity", EntityType.CO_MANAGED_ENTITY); + temp.put("SelfManagedEntity", EntityType.SELF_MANAGED_ENTITY); + + if (!temp.values().containsAll(Arrays.asList(EntityType.values()))) { + throw new IllegalStateException("Unmapped EntityType"); + } + + entityTypeFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link EntityType}. + * + *

If {@code text} is not a valid string representation of a literal of {@link EntityType}, + * return {@code Optional#empty()}. + */ + public static Optional entityTypeFromString(String text) { + EntityType value = entityTypeFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(Direction that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(Direction that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of Direction: " + that); + } + return that.literalText(); + } + + private static final Map directionFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("input", Direction.INPUT); + temp.put("output", Direction.OUTPUT); + + if (!temp.values().containsAll(Arrays.asList(Direction.values()))) { + throw new IllegalStateException("Unmapped Direction"); + } + + directionFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link Direction}. + * + *

If {@code text} is not a valid string representation of a literal of {@link Direction}, + * return {@code Optional#empty()}. + */ + public static Optional directionFromString(String text) { + Direction value = directionFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(StateOfEvent that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(StateOfEvent that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of StateOfEvent: " + that); + } + return that.literalText(); + } + + private static final Map stateOfEventFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("on", StateOfEvent.ON); + temp.put("off", StateOfEvent.OFF); + + if (!temp.values().containsAll(Arrays.asList(StateOfEvent.values()))) { + throw new IllegalStateException("Unmapped StateOfEvent"); + } + + stateOfEventFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link StateOfEvent}. + * + *

If {@code text} is not a valid string representation of a literal of {@link StateOfEvent}, + * return {@code Optional#empty()}. + */ + public static Optional stateOfEventFromString(String text) { + StateOfEvent value = stateOfEventFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(ReferenceTypes that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(ReferenceTypes that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of ReferenceTypes: " + that); + } + return that.literalText(); + } + + private static final Map referenceTypesFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("ExternalReference", ReferenceTypes.EXTERNAL_REFERENCE); + temp.put("ModelReference", ReferenceTypes.MODEL_REFERENCE); + + if (!temp.values().containsAll(Arrays.asList(ReferenceTypes.values()))) { + throw new IllegalStateException("Unmapped ReferenceTypes"); + } + + referenceTypesFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link ReferenceTypes}. + * + *

If {@code text} is not a valid string representation of a literal of {@link ReferenceTypes}, + * return {@code Optional#empty()}. + */ + public static Optional referenceTypesFromString(String text) { + ReferenceTypes value = referenceTypesFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(KeyTypes that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(KeyTypes that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of KeyTypes: " + that); + } + return that.literalText(); + } + + private static final Map keyTypesFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("AnnotatedRelationshipElement", KeyTypes.ANNOTATED_RELATIONSHIP_ELEMENT); + temp.put("AssetAdministrationShell", KeyTypes.ASSET_ADMINISTRATION_SHELL); + temp.put("BasicEventElement", KeyTypes.BASIC_EVENT_ELEMENT); + temp.put("Blob", KeyTypes.BLOB); + temp.put("Capability", KeyTypes.CAPABILITY); + temp.put("ConceptDescription", KeyTypes.CONCEPT_DESCRIPTION); + temp.put("DataElement", KeyTypes.DATA_ELEMENT); + temp.put("Entity", KeyTypes.ENTITY); + temp.put("EventElement", KeyTypes.EVENT_ELEMENT); + temp.put("File", KeyTypes.FILE); + temp.put("FragmentReference", KeyTypes.FRAGMENT_REFERENCE); + temp.put("GlobalReference", KeyTypes.GLOBAL_REFERENCE); + temp.put("Identifiable", KeyTypes.IDENTIFIABLE); + temp.put("MultiLanguageProperty", KeyTypes.MULTI_LANGUAGE_PROPERTY); + temp.put("Operation", KeyTypes.OPERATION); + temp.put("Property", KeyTypes.PROPERTY); + temp.put("Range", KeyTypes.RANGE); + temp.put("Referable", KeyTypes.REFERABLE); + temp.put("ReferenceElement", KeyTypes.REFERENCE_ELEMENT); + temp.put("RelationshipElement", KeyTypes.RELATIONSHIP_ELEMENT); + temp.put("Submodel", KeyTypes.SUBMODEL); + temp.put("SubmodelElement", KeyTypes.SUBMODEL_ELEMENT); + temp.put("SubmodelElementCollection", KeyTypes.SUBMODEL_ELEMENT_COLLECTION); + temp.put("SubmodelElementList", KeyTypes.SUBMODEL_ELEMENT_LIST); + + if (!temp.values().containsAll(Arrays.asList(KeyTypes.values()))) { + throw new IllegalStateException("Unmapped KeyTypes"); + } + + keyTypesFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link KeyTypes}. + * + *

If {@code text} is not a valid string representation of a literal of {@link KeyTypes}, + * return {@code Optional#empty()}. + */ + public static Optional keyTypesFromString(String text) { + KeyTypes value = keyTypesFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(DataTypeDefXsd that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(DataTypeDefXsd that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of DataTypeDefXsd: " + that); + } + return that.literalText(); + } + + private static final Map dataTypeDefXsdFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("xs:anyURI", DataTypeDefXsd.ANY_URI); + temp.put("xs:base64Binary", DataTypeDefXsd.BASE_64_BINARY); + temp.put("xs:boolean", DataTypeDefXsd.BOOLEAN); + temp.put("xs:byte", DataTypeDefXsd.BYTE); + temp.put("xs:date", DataTypeDefXsd.DATE); + temp.put("xs:dateTime", DataTypeDefXsd.DATE_TIME); + temp.put("xs:decimal", DataTypeDefXsd.DECIMAL); + temp.put("xs:double", DataTypeDefXsd.DOUBLE); + temp.put("xs:duration", DataTypeDefXsd.DURATION); + temp.put("xs:float", DataTypeDefXsd.FLOAT); + temp.put("xs:gDay", DataTypeDefXsd.G_DAY); + temp.put("xs:gMonth", DataTypeDefXsd.G_MONTH); + temp.put("xs:gMonthDay", DataTypeDefXsd.G_MONTH_DAY); + temp.put("xs:gYear", DataTypeDefXsd.G_YEAR); + temp.put("xs:gYearMonth", DataTypeDefXsd.G_YEAR_MONTH); + temp.put("xs:hexBinary", DataTypeDefXsd.HEX_BINARY); + temp.put("xs:int", DataTypeDefXsd.INT); + temp.put("xs:integer", DataTypeDefXsd.INTEGER); + temp.put("xs:long", DataTypeDefXsd.LONG); + temp.put("xs:negativeInteger", DataTypeDefXsd.NEGATIVE_INTEGER); + temp.put("xs:nonNegativeInteger", DataTypeDefXsd.NON_NEGATIVE_INTEGER); + temp.put("xs:nonPositiveInteger", DataTypeDefXsd.NON_POSITIVE_INTEGER); + temp.put("xs:positiveInteger", DataTypeDefXsd.POSITIVE_INTEGER); + temp.put("xs:short", DataTypeDefXsd.SHORT); + temp.put("xs:string", DataTypeDefXsd.STRING); + temp.put("xs:time", DataTypeDefXsd.TIME); + temp.put("xs:unsignedByte", DataTypeDefXsd.UNSIGNED_BYTE); + temp.put("xs:unsignedInt", DataTypeDefXsd.UNSIGNED_INT); + temp.put("xs:unsignedLong", DataTypeDefXsd.UNSIGNED_LONG); + temp.put("xs:unsignedShort", DataTypeDefXsd.UNSIGNED_SHORT); + + if (!temp.values().containsAll(Arrays.asList(DataTypeDefXsd.values()))) { + throw new IllegalStateException("Unmapped DataTypeDefXsd"); + } + + dataTypeDefXsdFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link DataTypeDefXsd}. + * + *

If {@code text} is not a valid string representation of a literal of {@link DataTypeDefXsd}, + * return {@code Optional#empty()}. + */ + public static Optional dataTypeDefXsdFromString(String text) { + DataTypeDefXsd value = dataTypeDefXsdFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(DataTypeIec61360 that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(DataTypeIec61360 that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of DataTypeIec61360: " + that); + } + return that.literalText(); + } + + private static final Map dataTypeIec61360FromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("DATE", DataTypeIec61360.DATE); + temp.put("STRING", DataTypeIec61360.STRING); + temp.put("STRING_TRANSLATABLE", DataTypeIec61360.STRING_TRANSLATABLE); + temp.put("INTEGER_MEASURE", DataTypeIec61360.INTEGER_MEASURE); + temp.put("INTEGER_COUNT", DataTypeIec61360.INTEGER_COUNT); + temp.put("INTEGER_CURRENCY", DataTypeIec61360.INTEGER_CURRENCY); + temp.put("REAL_MEASURE", DataTypeIec61360.REAL_MEASURE); + temp.put("REAL_COUNT", DataTypeIec61360.REAL_COUNT); + temp.put("REAL_CURRENCY", DataTypeIec61360.REAL_CURRENCY); + temp.put("BOOLEAN", DataTypeIec61360.BOOLEAN); + temp.put("IRI", DataTypeIec61360.IRI); + temp.put("IRDI", DataTypeIec61360.IRDI); + temp.put("RATIONAL", DataTypeIec61360.RATIONAL); + temp.put("RATIONAL_MEASURE", DataTypeIec61360.RATIONAL_MEASURE); + temp.put("TIME", DataTypeIec61360.TIME); + temp.put("TIMESTAMP", DataTypeIec61360.TIMESTAMP); + temp.put("FILE", DataTypeIec61360.FILE); + temp.put("HTML", DataTypeIec61360.HTML); + temp.put("BLOB", DataTypeIec61360.BLOB); + + if (!temp.values().containsAll(Arrays.asList(DataTypeIec61360.values()))) { + throw new IllegalStateException("Unmapped DataTypeIec61360"); + } + + dataTypeIec61360FromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link DataTypeIec61360}. + * + *

If {@code text} is not a valid string representation of a literal of {@link + * DataTypeIec61360}, return {@code Optional#empty()}. + */ + public static Optional dataTypeIec61360FromString(String text) { + DataTypeIec61360 value = dataTypeIec61360FromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(SerializationFormat that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(SerializationFormat that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of SerializationFormat: " + that); + } + return that.literalText(); + } + + private static final Map serializationFormatFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("application/json", SerializationFormat.JSON); + temp.put("application/xml", SerializationFormat.XML); + temp.put("application/aasx+xml", SerializationFormat.AASX); + + if (!temp.values().containsAll(Arrays.asList(SerializationFormat.values()))) { + throw new IllegalStateException("Unmapped SerializationFormat"); + } + + serializationFormatFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link SerializationFormat}. + * + *

If {@code text} is not a valid string representation of a literal of {@link + * SerializationFormat}, return {@code Optional#empty()}. + */ + public static Optional serializationFormatFromString(String text) { + SerializationFormat value = serializationFormatFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(SecurityTypeEnum that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(SecurityTypeEnum that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of SecurityTypeEnum: " + that); + } + return that.literalText(); + } + + private static final Map securityTypeEnumFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("NONE", SecurityTypeEnum.NO_SECURITY); + temp.put("RFC_TLSA", SecurityTypeEnum.RFC_TLSA); + temp.put("W3C_DID", SecurityTypeEnum.W3C_DID); + + if (!temp.values().containsAll(Arrays.asList(SecurityTypeEnum.values()))) { + throw new IllegalStateException("Unmapped SecurityTypeEnum"); + } + + securityTypeEnumFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link SecurityTypeEnum}. + * + *

If {@code text} is not a valid string representation of a literal of {@link + * SecurityTypeEnum}, return {@code Optional#empty()}. + */ + public static Optional securityTypeEnumFromString(String text) { + SecurityTypeEnum value = securityTypeEnumFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(ServiceSpecificationProfileEnum that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(ServiceSpecificationProfileEnum that) { + if (that == null) { + throw new IllegalArgumentException( + "Invalid literal of ServiceSpecificationProfileEnum: " + that); + } + return that.literalText(); + } + + private static final Map + serviceSpecificationProfileEnumFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put( + "https://admin-shell.io/aas/API/3/0/AssetAdministrationShellServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.AAS_SERVICE_SPECIFICATION_SSP_001_V3_0); + temp.put( + "https://admin-shell.io/aas/API/3/1/AssetAdministrationShellServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.AAS_SERVICE_SPECIFICATION_SSP_001_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.AAS_SERVICE_SPECIFICATION_SSP_001_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/0/AssetAdministrationShellServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum.AAS_SERVICE_SPECIFICATION_SSP_002_V3_0); + temp.put( + "https://admin-shell.io/aas/API/3/1/AssetAdministrationShellServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum.AAS_SERVICE_SPECIFICATION_SSP_002_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum.AAS_SERVICE_SPECIFICATION_SSP_002_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/0/SubmodelServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.SUBMODEL_SERVICE_SPECIFICATION_SSP_001_V3_0); + temp.put( + "https://admin-shell.io/aas/API/3/1/SubmodelServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.SUBMODEL_SERVICE_SPECIFICATION_SSP_001_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/SubmodelServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.SUBMODEL_SERVICE_SPECIFICATION_SSP_001_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/0/SubmodelServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum.SUBMODEL_SERVICE_SPECIFICATION_SSP_002_V3_0); + temp.put( + "https://admin-shell.io/aas/API/3/1/SubmodelServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum.SUBMODEL_SERVICE_SPECIFICATION_SSP_002_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/SubmodelServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum.SUBMODEL_SERVICE_SPECIFICATION_SSP_002_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/0/SubmodelServiceSpecification/SSP-003", + ServiceSpecificationProfileEnum.SUBMODEL_SERVICE_SPECIFICATION_SSP_003_V3_0); + temp.put( + "https://admin-shell.io/aas/API/3/1/SubmodelServiceSpecification/SSP-003", + ServiceSpecificationProfileEnum.SUBMODEL_SERVICE_SPECIFICATION_SSP_003_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/SubmodelServiceSpecification/SSP-003", + ServiceSpecificationProfileEnum.SUBMODEL_SERVICE_SPECIFICATION_SSP_003_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/0/AasxFileServerServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.AASX_FILE_SERVER_SERVICE_SPECIFICATION_SSP_001_V3_0); + temp.put( + "https://admin-shell.io/aas/API/3/1/AasxFileServerServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.AASX_FILE_SERVER_SERVICE_SPECIFICATION_SSP_001_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/AasxFileServerServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.AASX_FILE_SERVER_SERVICE_SPECIFICATION_SSP_001_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/1/AasxFileServerServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum.AASX_FILE_SERVER_SERVICE_SPECIFICATION_SSP_002_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/AasxFileServerServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum.AASX_FILE_SERVER_SERVICE_SPECIFICATION_SSP_002_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/0/AssetAdministrationShellRegistryServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_001_V3_0); + temp.put( + "https://admin-shell.io/aas/API/3/1/AssetAdministrationShellRegistryServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_001_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRegistryServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_001_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/0/AssetAdministrationShellRegistryServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_002_V3_0); + temp.put( + "https://admin-shell.io/aas/API/3/1/AssetAdministrationShellRegistryServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_002_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRegistryServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_002_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/1/AssetAdministrationShellRegistryServiceSpecification/SSP-003", + ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_003_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRegistryServiceSpecification/SSP-003", + ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_003_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/1/AssetAdministrationShellRegistryServiceSpecification/SSP-004", + ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_004_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRegistryServiceSpecification/SSP-004", + ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_004_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/1/AssetAdministrationShellRegistryServiceSpecification/SSP-005", + ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_005_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRegistryServiceSpecification/SSP-005", + ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_005_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/0/SubmodelRegistryServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_001_V3_0); + temp.put( + "https://admin-shell.io/aas/API/3/1/SubmodelRegistryServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_001_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/SubmodelRegistryServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_001_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/0/SubmodelRegistryServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum.SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_002_V3_0); + temp.put( + "https://admin-shell.io/aas/API/3/1/SubmodelRegistryServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum.SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_002_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/SubmodelRegistryServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum.SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_002_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/1/SubmodelRegistryServiceSpecification/SSP-003", + ServiceSpecificationProfileEnum.SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_003_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/SubmodelRegistryServiceSpecification/SSP-003", + ServiceSpecificationProfileEnum.SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_003_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/1/SubmodelRegistryServiceSpecification/SSP-004", + ServiceSpecificationProfileEnum.SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_004_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/SubmodelRegistryServiceSpecification/SSP-004", + ServiceSpecificationProfileEnum.SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_004_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/0/DiscoveryServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.DISCOVERY_SERVICE_SPECIFICATION_SSP_001_V3_0); + temp.put( + "https://admin-shell.io/aas/API/3/1/DiscoveryServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.DISCOVERY_SERVICE_SPECIFICATION_SSP_001_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/DiscoveryServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.DISCOVERY_SERVICE_SPECIFICATION_SSP_001_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/2/DiscoveryServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum.DISCOVERY_SERVICE_SPECIFICATION_SSP_002_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/0/AssetAdministrationShellRepositoryServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_0); + temp.put( + "https://admin-shell.io/aas/API/3/1/AssetAdministrationShellRepositoryServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRepositoryServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/0/AssetAdministrationShellRepositoryServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_0); + temp.put( + "https://admin-shell.io/aas/API/3/1/AssetAdministrationShellRepositoryServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRepositoryServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/1/AssetAdministrationShellRepositoryServiceSpecification/SSP-003", + ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_003_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRepositoryServiceSpecification/SSP-003", + ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_003_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRepositoryServiceSpecification/SSP-004", + ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_004_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRepositoryServiceSpecification/SSP-005", + ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_005_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRepositoryServiceSpecification/SSP-006", + ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_006_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/0/SubmodelRepositoryServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_0); + temp.put( + "https://admin-shell.io/aas/API/3/1/SubmodelRepositoryServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/SubmodelRepositoryServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/0/SubmodelRepositoryServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_0); + temp.put( + "https://admin-shell.io/aas/API/3/1/SubmodelRepositoryServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/SubmodelRepositoryServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/0/SubmodelRepositoryServiceSpecification/SSP-003", + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_003_V3_0); + temp.put( + "https://admin-shell.io/aas/API/3/1/SubmodelRepositoryServiceSpecification/SSP-003", + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_003_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/SubmodelRepositoryServiceSpecification/SSP-003", + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_003_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/0/SubmodelRepositoryServiceSpecification/SSP-004", + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_004_V3_0); + temp.put( + "https://admin-shell.io/aas/API/3/1/SubmodelRepositoryServiceSpecification/SSP-004", + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_004_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/SubmodelRepositoryServiceSpecification/SSP-004", + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_004_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/1/SubmodelRepositoryServiceSpecification/SSP-005", + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_005_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/SubmodelRepositoryServiceSpecification/SSP-005", + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_005_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/2/SubmodelRepositoryServiceSpecification/SSP-006", + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_006_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/2/SubmodelRepositoryServiceSpecification/SSP-007", + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_007_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/0/ConceptDescriptionRepositoryServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum + .CONCEPT_DESCRIPTION_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_0); + temp.put( + "https://admin-shell.io/aas/API/3/1/ConceptDescriptionRepositoryServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum + .CONCEPT_DESCRIPTION_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/ConceptDescriptionRepositoryServiceSpecification/SSP-001", + ServiceSpecificationProfileEnum + .CONCEPT_DESCRIPTION_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/2/ConceptDescriptionRepositoryServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum + .CONCEPT_DESCRIPTION_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_2); + temp.put( + "https://admin-shell.io/aas/API/3/1/ConceptDescriptionRepositoryServiceSpecification/SSP-002", + ServiceSpecificationProfileEnum + .CONCEPT_DESCRIPTION_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_1); + temp.put( + "https://admin-shell.io/aas/API/3/2/ConceptDescriptionRepositoryServiceSpecification/SSP-003", + ServiceSpecificationProfileEnum + .CONCEPT_DESCRIPTION_REPOSITORY_SERVICE_SPECIFICATION_SSP_003_V3_2); + + if (!temp.values().containsAll(Arrays.asList(ServiceSpecificationProfileEnum.values()))) { + throw new IllegalStateException("Unmapped ServiceSpecificationProfileEnum"); + } + + serviceSpecificationProfileEnumFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link ServiceSpecificationProfileEnum}. + * + *

If {@code text} is not a valid string representation of a literal of {@link + * ServiceSpecificationProfileEnum}, return {@code Optional#empty()}. + */ + public static Optional serviceSpecificationProfileEnumFromString( + String text) { + ServiceSpecificationProfileEnum value = serviceSpecificationProfileEnumFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(StatusCode that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(StatusCode that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of StatusCode: " + that); + } + return that.literalText(); + } + + private static final Map statusCodeFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("Success", StatusCode.SUCCESS); + temp.put("SuccessCreated", StatusCode.SUCCESS_CREATED); + temp.put("SuccessAccepted", StatusCode.SUCCESS_ACCEPTED); + temp.put("SuccessNoContent", StatusCode.SUCCESS_NO_CONTENT); + temp.put("ClientErrorBadRequest", StatusCode.CLIENT_ERROR_BAD_REQUEST); + temp.put("ClientNotAuthorized", StatusCode.CLIENT_NOT_AUTHORIZED); + temp.put("ClientForbidden", StatusCode.CLIENT_FORBIDDEN); + temp.put("ClientMethodNotAllowed", StatusCode.CLIENT_METHOD_NOT_ALLOWED); + temp.put("ClientErrorResourceNotFound", StatusCode.CLIENT_ERROR_RESOURCE_NOT_FOUND); + temp.put("ClientResourceConflict", StatusCode.CLIENT_RESOURCE_CONFLICT); + temp.put("ServerInternalError", StatusCode.SERVER_INTERNAL_ERROR); + temp.put("ServerNotImplemented", StatusCode.SERVER_NOT_IMPLEMENTED); + temp.put("ServerErrorBadGateway", StatusCode.SERVER_ERROR_BAD_GATEWAY); + + if (!temp.values().containsAll(Arrays.asList(StatusCode.values()))) { + throw new IllegalStateException("Unmapped StatusCode"); + } + + statusCodeFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link StatusCode}. + * + *

If {@code text} is not a valid string representation of a literal of {@link StatusCode}, + * return {@code Optional#empty()}. + */ + public static Optional statusCodeFromString(String text) { + StatusCode value = statusCodeFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(MessageTypeEnum that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(MessageTypeEnum that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of MessageTypeEnum: " + that); + } + return that.literalText(); + } + + private static final Map messageTypeEnumFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("Undefined", MessageTypeEnum.UNDEFINED); + temp.put("Info", MessageTypeEnum.INFO); + temp.put("Warning", MessageTypeEnum.WARNING); + temp.put("Error", MessageTypeEnum.ERROR); + temp.put("Exception", MessageTypeEnum.EXCEPTION); + + if (!temp.values().containsAll(Arrays.asList(MessageTypeEnum.values()))) { + throw new IllegalStateException("Unmapped MessageTypeEnum"); + } + + messageTypeEnumFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link MessageTypeEnum}. + * + *

If {@code text} is not a valid string representation of a literal of {@link + * MessageTypeEnum}, return {@code Optional#empty()}. + */ + public static Optional messageTypeEnumFromString(String text) { + MessageTypeEnum value = messageTypeEnumFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(ExecutionState that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(ExecutionState that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of ExecutionState: " + that); + } + return that.literalText(); + } + + private static final Map executionStateFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("Initiated", ExecutionState.INITIATED); + temp.put("Running", ExecutionState.RUNNING); + temp.put("Completed", ExecutionState.COMPLETED); + temp.put("Canceled", ExecutionState.CANCELED); + temp.put("Failed", ExecutionState.FAILED); + temp.put("Timeout", ExecutionState.TIMEOUT); + + if (!temp.values().containsAll(Arrays.asList(ExecutionState.values()))) { + throw new IllegalStateException("Unmapped ExecutionState"); + } + + executionStateFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link ExecutionState}. + * + *

If {@code text} is not a valid string representation of a literal of {@link ExecutionState}, + * return {@code Optional#empty()}. + */ + public static Optional executionStateFromString(String text) { + ExecutionState value = executionStateFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(Level that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(Level that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of Level: " + that); + } + return that.literalText(); + } + + private static final Map levelFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("deep", Level.DEEP); + temp.put("core", Level.CORE); + + if (!temp.values().containsAll(Arrays.asList(Level.values()))) { + throw new IllegalStateException("Unmapped Level"); + } + + levelFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link Level}. + * + *

If {@code text} is not a valid string representation of a literal of {@link Level}, return + * {@code Optional#empty()}. + */ + public static Optional levelFromString(String text) { + Level value = levelFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(Content that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(Content that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of Content: " + that); + } + return that.literalText(); + } + + private static final Map contentFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("Normal", Content.NORMAL); + temp.put("Metadata", Content.METADATA); + temp.put("Value", Content.VALUE); + temp.put("Reference", Content.REFERENCE); + temp.put("Path", Content.PATH); + + if (!temp.values().containsAll(Arrays.asList(Content.values()))) { + throw new IllegalStateException("Unmapped Content"); + } + + contentFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link Content}. + * + *

If {@code text} is not a valid string representation of a literal of {@link Content}, return + * {@code Optional#empty()}. + */ + public static Optional contentFromString(String text) { + Content value = contentFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(Extent that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(Extent that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of Extent: " + that); + } + return that.literalText(); + } + + private static final Map extentFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("withoutBlobValue", Extent.WITHOUT_BLOB_VALUE); + temp.put("withBlobValue", Extent.WITH_BLOB_VALUE); + + if (!temp.values().containsAll(Arrays.asList(Extent.values()))) { + throw new IllegalStateException("Unmapped Extent"); + } + + extentFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link Extent}. + * + *

If {@code text} is not a valid string representation of a literal of {@link Extent}, return + * {@code Optional#empty()}. + */ + public static Optional extentFromString(String text) { + Extent value = extentFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(GlobalAttributeKind that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(GlobalAttributeKind that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of GlobalAttributeKind: " + that); + } + return that.literalText(); + } + + private static final Map globalAttributeKindFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("LOCALNOW", GlobalAttributeKind.LOCAL_NOW); + temp.put("UTCNOW", GlobalAttributeKind.UTC_NOW); + temp.put("CLIENTNOW", GlobalAttributeKind.CLIENT_NOW); + temp.put("ANONYMOUS", GlobalAttributeKind.ANONYMOUS); + + if (!temp.values().containsAll(Arrays.asList(GlobalAttributeKind.values()))) { + throw new IllegalStateException("Unmapped GlobalAttributeKind"); + } + + globalAttributeKindFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link GlobalAttributeKind}. + * + *

If {@code text} is not a valid string representation of a literal of {@link + * GlobalAttributeKind}, return {@code Optional#empty()}. + */ + public static Optional globalAttributeKindFromString(String text) { + GlobalAttributeKind value = globalAttributeKindFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(DateTimeGlobalAttributeKind that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(DateTimeGlobalAttributeKind that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of DateTimeGlobalAttributeKind: " + that); + } + return that.literalText(); + } + + private static final Map + dateTimeGlobalAttributeKindFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("LOCALNOW", DateTimeGlobalAttributeKind.LOCAL_NOW); + temp.put("UTCNOW", DateTimeGlobalAttributeKind.UTC_NOW); + temp.put("CLIENTNOW", DateTimeGlobalAttributeKind.CLIENT_NOW); + + if (!temp.values().containsAll(Arrays.asList(DateTimeGlobalAttributeKind.values()))) { + throw new IllegalStateException("Unmapped DateTimeGlobalAttributeKind"); + } + + dateTimeGlobalAttributeKindFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link DateTimeGlobalAttributeKind}. + * + *

If {@code text} is not a valid string representation of a literal of {@link + * DateTimeGlobalAttributeKind}, return {@code Optional#empty()}. + */ + public static Optional dateTimeGlobalAttributeKindFromString( + String text) { + DateTimeGlobalAttributeKind value = dateTimeGlobalAttributeKindFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(QuerySelect that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(QuerySelect that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of QuerySelect: " + that); + } + return that.literalText(); + } + + private static final Map querySelectFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("id", QuerySelect.ID); + + if (!temp.values().containsAll(Arrays.asList(QuerySelect.values()))) { + throw new IllegalStateException("Unmapped QuerySelect"); + } + + querySelectFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link QuerySelect}. + * + *

If {@code text} is not a valid string representation of a literal of {@link QuerySelect}, + * return {@code Optional#empty()}. + */ + public static Optional querySelectFromString(String text) { + QuerySelect value = querySelectFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/AasSubmodelElements.java b/src/main/java/aas_core/aas3_2/types/enums/AasSubmodelElements.java new file mode 100644 index 00000000..609cd069 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/AasSubmodelElements.java @@ -0,0 +1,72 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** Enumeration of Submodel Element types including abstract Submodel Element types. */ +public enum AasSubmodelElements implements IEnum { + ANNOTATED_RELATIONSHIP_ELEMENT("AnnotatedRelationshipElement"), + BASIC_EVENT_ELEMENT("BasicEventElement"), + BLOB("Blob"), + CAPABILITY("Capability"), + /** + * Data element. + * + *

Data Element is abstract, i.e. if a key uses {@link #DATA_ELEMENT} the reference + * may be a {@link aas_core.aas3_2.types.impl.Property}, a {@link aas_core.aas3_2.types.impl.File} + * etc. + */ + DATA_ELEMENT("DataElement"), + ENTITY("Entity"), + /** + * Event. + * + *

{@link aas_core.aas3_2.types.model.IEventElement} is abstract. + */ + EVENT_ELEMENT("EventElement"), + FILE("File"), + /** Property with a value that can be provided in multiple languages */ + MULTI_LANGUAGE_PROPERTY("MultiLanguageProperty"), + OPERATION("Operation"), + PROPERTY("Property"), + /** Range with min and max */ + RANGE("Range"), + /** Reference */ + REFERENCE_ELEMENT("ReferenceElement"), + /** Relationship */ + RELATIONSHIP_ELEMENT("RelationshipElement"), + /** + * Submodel Element + * + *

Submodel Element is abstract, i.e. if a key uses {@link #SUBMODEL_ELEMENT} the + * reference may be a {@link aas_core.aas3_2.types.impl.Property}, an {@link + * aas_core.aas3_2.types.impl.Operation} etc. + */ + SUBMODEL_ELEMENT("SubmodelElement"), + /** List of Submodel Elements */ + SUBMODEL_ELEMENT_LIST("SubmodelElementList"), + /** Struct of Submodel Elements */ + SUBMODEL_ELEMENT_COLLECTION("SubmodelElementCollection"); + + private final String literalText; + + AasSubmodelElements(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/AssetKind.java b/src/main/java/aas_core/aas3_2/types/enums/AssetKind.java new file mode 100644 index 00000000..88a8d4a2 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/AssetKind.java @@ -0,0 +1,43 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** + * Enumeration for denoting whether an asset is a type asset or an instance asset or a batch asset + * or is a role or whether this kind of classification is not applicable. + */ +public enum AssetKind implements IEnum { + /** Type asset */ + TYPE("Type"), + /** Instance asset */ + INSTANCE("Instance"), + /** Batch asset */ + BATCH("Batch"), + /** Role asset */ + ROLE("Role"), + /** None of the other asset kinds */ + NOT_APPLICABLE("NotApplicable"); + + private final String literalText; + + AssetKind(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/Content.java b/src/main/java/aas_core/aas3_2/types/enums/Content.java new file mode 100644 index 00000000..f3fb19c2 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/Content.java @@ -0,0 +1,55 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** + * Content indicates the kind of serialization of the response or input content. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public enum Content implements IEnum { + /** The standard serialization of the model element or child elements is applied. */ + NORMAL("Normal"), + /** Only metadata of an element or child elements is returned; the value is not. */ + METADATA("Metadata"), + /** + * Only the raw value of the model element or child elements is returned; it is commonly referred + * to as ValueOnly-serialization. + */ + VALUE("Value"), + /** + * Only applicable to Referables. Only the reference to the found element is returned; potential + * child elements are ignored. + */ + REFERENCE("Reference"), + /** + * Returns the ID-short of the requested element and a list of ID-short paths to child elements if + * the requested element is a Submodel, a SubmodelElementCollection, a SubmodelElementList, an + * AnnotatedRelationshipElement, or an Entity. + */ + PATH("Path"); + + private final String literalText; + + Content(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/DataTypeDefXsd.java b/src/main/java/aas_core/aas3_2/types/enums/DataTypeDefXsd.java new file mode 100644 index 00000000..5a7a592a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/DataTypeDefXsd.java @@ -0,0 +1,87 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** + * Enumeration listing selected XSD anySimpleTypes of XML Schema 1.0. + * + *

See: https://www.w3.org/TR/xmlschema-2/#built-in-primitive-datatypes + * + *

RDF uses XML Schema Built-in data types from Version 1.1 but recommends to use only a subset + * of XSD data types. That is why they are excluded from the allowed data types in {@link + * aas_core.aas3_2.types.enums.DataTypeDefXsd}. + * + *

    + *
  • + *

    XSD BuildIn List types are not supported ({@code ENTITIES}, {@code IDREFS} and {@code + * NMTOKENS}). + *

  • + *

    XSD string BuildIn types are not supported ({@code normalizedString}, {@code token}, + * {@code language}, {@code NCName}, {@code ENTITY}, {@code ID}, {@code IDREF}). + *

  • + *

    The following XSD primitive types are not supported: {@code NOTATION}, {@code QName}. + *

+ * + *

Additionally, the following RDF types are not supported in {@link + * aas_core.aas3_2.types.enums.DataTypeDefXsd}: {@code HTML} and {@code XMLLiteral}. + * + *

Numeric data types in XML Schema are based on the definitions of IEEE 754 with slight + * adoptions. For instance, {@link #FLOAT} and {@link #DOUBLE} use different exponent ranges. In any + * case, solely the XML Schema data type definitions are applicable for AAS values. + */ +public enum DataTypeDefXsd implements IEnum { + ANY_URI("xs:anyURI"), + BASE_64_BINARY("xs:base64Binary"), + BOOLEAN("xs:boolean"), + BYTE("xs:byte"), + DATE("xs:date"), + DATE_TIME("xs:dateTime"), + DECIMAL("xs:decimal"), + DOUBLE("xs:double"), + DURATION("xs:duration"), + FLOAT("xs:float"), + G_DAY("xs:gDay"), + G_MONTH("xs:gMonth"), + G_MONTH_DAY("xs:gMonthDay"), + G_YEAR("xs:gYear"), + G_YEAR_MONTH("xs:gYearMonth"), + HEX_BINARY("xs:hexBinary"), + INT("xs:int"), + INTEGER("xs:integer"), + LONG("xs:long"), + NEGATIVE_INTEGER("xs:negativeInteger"), + NON_NEGATIVE_INTEGER("xs:nonNegativeInteger"), + NON_POSITIVE_INTEGER("xs:nonPositiveInteger"), + POSITIVE_INTEGER("xs:positiveInteger"), + SHORT("xs:short"), + STRING("xs:string"), + TIME("xs:time"), + UNSIGNED_BYTE("xs:unsignedByte"), + UNSIGNED_INT("xs:unsignedInt"), + UNSIGNED_LONG("xs:unsignedLong"), + UNSIGNED_SHORT("xs:unsignedShort"); + + private final String literalText; + + DataTypeDefXsd(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/DataTypeIec61360.java b/src/main/java/aas_core/aas3_2/types/enums/DataTypeIec61360.java new file mode 100644 index 00000000..9937dcfa --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/DataTypeIec61360.java @@ -0,0 +1,128 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +public enum DataTypeIec61360 implements IEnum { + /** + * values containing a calendar date, conformant to ISO 8601:2004 Format yyyy-mm-dd Example from + * IEC 61360-1:2017: "1999-05-31" is the [DATE] representation of: "31 May 1999". + */ + DATE("DATE"), + /** values consisting of sequence of characters but cannot be translated into other languages */ + STRING("STRING"), + /** + * values containing string but shall be represented as different string in different languages + */ + STRING_TRANSLATABLE("STRING_TRANSLATABLE"), + /** + * values containing values that are measure of type INTEGER. In addition such a value comes with + * a physical unit. + */ + INTEGER_MEASURE("INTEGER_MEASURE"), + /** values containing values of type INTEGER but are no currencies or measures */ + INTEGER_COUNT("INTEGER_COUNT"), + /** values containing values of type INTEGER that are currencies */ + INTEGER_CURRENCY("INTEGER_CURRENCY"), + /** + * values containing values that are measures of type REAL. In addition such a value comes with a + * physical unit. + */ + REAL_MEASURE("REAL_MEASURE"), + /** + * values containing numbers that can be written as a terminating or non-terminating decimal; a + * rational or irrational number but are no currencies or measures + */ + REAL_COUNT("REAL_COUNT"), + /** values containing values of type REAL that are currencies */ + REAL_CURRENCY("REAL_CURRENCY"), + /** values representing truth of logic or Boolean algebra (TRUE, FALSE) */ + BOOLEAN("BOOLEAN"), + /** + * values containing values of type STRING conformant to Rfc 3987 + * + *

In IEC61360-1 (2017) only URI is supported. An IRI type allows in particular to express an + * URL or an URI. + */ + IRI("IRI"), + /** + * values conforming to ISO/IEC 11179 series global identifier sequences + * + *

IRDI can be used instead of the more specific data types ICID or ISO29002_IRDI. + * + *

ICID values are value conformant to an IRDI, where the delimiter between RAI and ID is “#” + * while the delimiter between DI and VI is confined to “##” + * + *

ISO29002_IRDI values are values containing a global identifier that identifies an + * administrated item in a registry. The structure of this identifier complies with identifier + * syntax defined in ISO/TS 29002-5. The identifier shall fulfil the requirements specified in + * ISO/TS 29002-5 for an "international registration data identifier" (IRDI). + */ + IRDI("IRDI"), + /** values containing values of type rational */ + RATIONAL("RATIONAL"), + /** + * values containing values of type rational. In addition such a value comes with a physical unit. + */ + RATIONAL_MEASURE("RATIONAL_MEASURE"), + /** + * values containing a time, conformant to ISO 8601:2004 but restricted to what is allowed in the + * corresponding type in xml. + * + *

Format hh:mm (ECLASS) + * + *

Example from IEC 61360-1:2017: "13:20:00-05:00" is the [TIME] representation of: 1.20 p.m. + * for Eastern Standard Time, which is 5 hours behind Coordinated Universal Time (UTC). + */ + TIME("TIME"), + /** + * values containing a time, conformant to ISO 8601:2004 but restricted to what is allowed in the + * corresponding type in xml. + * + *

Format yyyy-mm-dd hh:mm (ECLASS) + */ + TIMESTAMP("TIMESTAMP"), + /** + * values containing an address to a file. The values are of type URI and can represent an + * absolute or relative path. + * + *

IEC61360 does not support the file type. + */ + FILE("FILE"), + /** + * Values containing string with any sequence of characters, using the syntax of HTML5 (see W3C + * Recommendation 28:2014) + */ + HTML("HTML"), + /** + * values containing the content of a file. Values may be binaries. + * + *

HTML conformant to HTML5 is a special blob. + * + *

In IEC61360 binary is for a sequence of bits, each bit being represented by “0” and “1” + * only. A binary is a blob but a blob may also contain other source code. + */ + BLOB("BLOB"); + + private final String literalText; + + DataTypeIec61360(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/DateTimeGlobalAttributeKind.java b/src/main/java/aas_core/aas3_2/types/enums/DateTimeGlobalAttributeKind.java new file mode 100644 index 00000000..1dfeb80f --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/DateTimeGlobalAttributeKind.java @@ -0,0 +1,43 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** + * Enumerate the global attributes which can be used as a date-time operand in a query. + * + *

This is a subset of {@link aas_core.aas3_2.types.enums.GlobalAttributeKind}. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#query-grammar + */ +public enum DateTimeGlobalAttributeKind implements IEnum { + /** The current date and time in the local time zone of the server */ + LOCAL_NOW("LOCALNOW"), + /** The current date and time in UTC */ + UTC_NOW("UTCNOW"), + /** The current date and time of the client */ + CLIENT_NOW("CLIENTNOW"); + + private final String literalText; + + DateTimeGlobalAttributeKind(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/Direction.java b/src/main/java/aas_core/aas3_2/types/enums/Direction.java new file mode 100644 index 00000000..521555ba --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/Direction.java @@ -0,0 +1,39 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** + * Direction + * + *

This element is experimental and therefore may be subject to change or may be removed + * completely in future versions of the meta-model. + */ +public enum Direction implements IEnum { + /** Input direction */ + INPUT("input"), + /** Output direction */ + OUTPUT("output"); + + private final String literalText; + + Direction(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/EntityType.java b/src/main/java/aas_core/aas3_2/types/enums/EntityType.java new file mode 100644 index 00000000..7868d898 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/EntityType.java @@ -0,0 +1,43 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** Enumeration for denoting whether an entity is a self-managed entity or a co-managed entity. */ +public enum EntityType implements IEnum { + /** + * There is no separate Asset Administration Shell for co-managed entities. Co-managed entities + * need to be part of a self-managed entity. + */ + CO_MANAGED_ENTITY("CoManagedEntity"), + /** + * Self-managed entities have their own Asset Administration Shell but can be part of another + * composite self-managed entity. + * + *

The asset represented by an Asset Administration Shell is a self-managed entity per + * definition. + */ + SELF_MANAGED_ENTITY("SelfManagedEntity"); + + private final String literalText; + + EntityType(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/ExecutionState.java b/src/main/java/aas_core/aas3_2/types/enums/ExecutionState.java new file mode 100644 index 00000000..750a5922 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/ExecutionState.java @@ -0,0 +1,47 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** + * The operation's invocation result state. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#ExecutionState + */ +public enum ExecutionState implements IEnum { + /** The operation is ready to be executed (initial state) */ + INITIATED("Initiated"), + /** The operation is running */ + RUNNING("Running"), + /** The operation is completed */ + COMPLETED("Completed"), + /** The operation was cancelled externally */ + CANCELED("Canceled"), + /** The operation failed */ + FAILED("Failed"), + /** The operation has timed out due to given client or server timeout */ + TIMEOUT("Timeout"); + + private final String literalText; + + ExecutionState(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/Extent.java b/src/main/java/aas_core/aas3_2/types/enums/Extent.java new file mode 100644 index 00000000..a8286c9f --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/Extent.java @@ -0,0 +1,48 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** + * Indicates to which extent the response or input content is being serialized. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + * + *

We follow the spelling of the literals in the Part 2 OpenAPI schema + * (Part2-API-Schemas/openapi.yaml), {@code withoutBlobValue} and {@code withBlobValue}, rather than + * the spelling in the book prose, such as {@code WithBLOBValue}, since the servers, such as BaSyx, + * accept only the former. + */ +public enum Extent implements IEnum { + /** + * Only applicable to BLOB-elements; the BLOB content is not returned. + * + *

This is the default value. + */ + WITHOUT_BLOB_VALUE("withoutBlobValue"), + /** Only applicable to BLOB-elements; the BLOB content is returned as base64-encoded string. */ + WITH_BLOB_VALUE("withBlobValue"); + + private final String literalText; + + Extent(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/GlobalAttributeKind.java b/src/main/java/aas_core/aas3_2/types/enums/GlobalAttributeKind.java new file mode 100644 index 00000000..f0792028 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/GlobalAttributeKind.java @@ -0,0 +1,43 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** + * Enumerate the global attributes which can be used in a query. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#query-grammar + */ +public enum GlobalAttributeKind implements IEnum { + /** The current date and time in the local time zone of the server */ + LOCAL_NOW("LOCALNOW"), + /** The current date and time in UTC */ + UTC_NOW("UTCNOW"), + /** The current date and time of the client */ + CLIENT_NOW("CLIENTNOW"), + /** The anonymous user, i.e., a request without authentication */ + ANONYMOUS("ANONYMOUS"); + + private final String literalText; + + GlobalAttributeKind(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/IEnum.java b/src/main/java/aas_core/aas3_2/types/enums/IEnum.java new file mode 100644 index 00000000..290f7eeb --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/IEnum.java @@ -0,0 +1,26 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** Represent a literal of an enumeration of the meta-model. */ +public interface IEnum { + /** + * Get the string representation of this literal. + * + *

This is the text the literal is de/serialized as, which is in general not its {@link + * Enum#name()}. + */ + String literalText(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/KeyTypes.java b/src/main/java/aas_core/aas3_2/types/enums/KeyTypes.java new file mode 100644 index 00000000..6334c62b --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/KeyTypes.java @@ -0,0 +1,88 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** Enumeration of different key value types within a key. */ +public enum KeyTypes implements IEnum { + ANNOTATED_RELATIONSHIP_ELEMENT("AnnotatedRelationshipElement"), + ASSET_ADMINISTRATION_SHELL("AssetAdministrationShell"), + BASIC_EVENT_ELEMENT("BasicEventElement"), + BLOB("Blob"), + CAPABILITY("Capability"), + CONCEPT_DESCRIPTION("ConceptDescription"), + /** + * Data element. + * + *

Data elements are abstract, i.e. if a key uses {@link #DATA_ELEMENT} the reference + * may be a property, file, etc. + */ + DATA_ELEMENT("DataElement"), + ENTITY("Entity"), + /** + * Event. + * + *

{@link aas_core.aas3_2.types.model.IEventElement} is abstract. + */ + EVENT_ELEMENT("EventElement"), + FILE("File"), + /** Bookmark or a similar local identifier of a subordinate part of a primary resource */ + FRAGMENT_REFERENCE("FragmentReference"), + GLOBAL_REFERENCE("GlobalReference"), + /** + * Identifiable. + * + *

Identifiable is abstract, i.e. if a key uses "Identifiable" the reference may be an {@link + * aas_core.aas3_2.types.impl.AssetAdministrationShell}, a {@link + * aas_core.aas3_2.types.impl.Submodel} or a {@link + * aas_core.aas3_2.types.impl.ConceptDescription}. + */ + IDENTIFIABLE("Identifiable"), + /** Property with a value that can be provided in multiple languages */ + MULTI_LANGUAGE_PROPERTY("MultiLanguageProperty"), + OPERATION("Operation"), + PROPERTY("Property"), + /** Range with min and max */ + RANGE("Range"), + REFERABLE("Referable"), + /** Reference */ + REFERENCE_ELEMENT("ReferenceElement"), + /** Relationship */ + RELATIONSHIP_ELEMENT("RelationshipElement"), + SUBMODEL("Submodel"), + /** + * Submodel Element + * + *

Submodel Element is abstract, i.e. if a key uses {@link #SUBMODEL_ELEMENT} the + * reference may be a {@link aas_core.aas3_2.types.impl.Property}, a {@link + * aas_core.aas3_2.types.impl.SubmodelElementList}, an {@link + * aas_core.aas3_2.types.impl.Operation} etc. + */ + SUBMODEL_ELEMENT("SubmodelElement"), + /** Struct of {@link aas_core.aas3_2.types.model.ISubmodelElement}'s */ + SUBMODEL_ELEMENT_COLLECTION("SubmodelElementCollection"), + /** List of {@link aas_core.aas3_2.types.model.ISubmodelElement}'s */ + SUBMODEL_ELEMENT_LIST("SubmodelElementList"); + + private final String literalText; + + KeyTypes(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/Level.java b/src/main/java/aas_core/aas3_2/types/enums/Level.java new file mode 100644 index 00000000..16140701 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/Level.java @@ -0,0 +1,53 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** + * Indicates the depth of the structure of the response or input content. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + * + *

We follow the spelling of the literals in the Part 2 OpenAPI schema + * (Part2-API-Schemas/openapi.yaml), {@code deep} and {@code core}, rather than the spelling in the + * book prose, since the servers, such as BaSyx, accept only the former. + */ +public enum Level implements IEnum { + /** + * All elements of a requested hierarchy level and all children on all sublevels are returned. + * + *

Children in this sense are SubmodelElements which are contained at the 'submodelElements' + * field of Submodels, the 'value' field of SubmodelElementCollections or SubmodelElementLists, + * the 'statements' field of Entities, or the 'annotations' field of + * AnnotatedRelationshipElements. + */ + DEEP("deep"), + /** + * Only elements of a requested hierarchy level as well as direct children are returned. By this, + * a client can iterate the hierarchy step by step. + */ + CORE("core"); + + private final String literalText; + + Level(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/MessageTypeEnum.java b/src/main/java/aas_core/aas3_2/types/enums/MessageTypeEnum.java new file mode 100644 index 00000000..7c417be4 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/MessageTypeEnum.java @@ -0,0 +1,50 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** + * The message type. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#MessageTypeEnum + */ +public enum MessageTypeEnum implements IEnum { + /** + * Used when the message type has not been set. + * + *

Not documented in the book prose; present as a literal in the OpenAPI schema's {@code + * messageType} enumeration. + */ + UNDEFINED("Undefined"), + /** Used to inform the user about a certain fact */ + INFO("Info"), + /** Used for warnings; warnings may lead to errors in the subsequent execution */ + WARNING("Warning"), + /** Used for handling errors */ + ERROR("Error"), + /** Used in case of an internal and/or unhandled exception */ + EXCEPTION("Exception"); + + private final String literalText; + + MessageTypeEnum(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/ModellingKind.java b/src/main/java/aas_core/aas3_2/types/enums/ModellingKind.java new file mode 100644 index 00000000..7b4ba507 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/ModellingKind.java @@ -0,0 +1,40 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** Enumeration for denoting whether an element is a template or an instance. */ +public enum ModellingKind implements IEnum { + /** + * Specification of the common features of a structured element in sufficient detail that such an + * instance can be instantiated using it + */ + TEMPLATE("Template"), + /** + * Concrete, clearly identifiable element instance. Its creation and validation may be guided by a + * corresponding element template. + */ + INSTANCE("Instance"); + + private final String literalText; + + ModellingKind(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/QualifierKind.java b/src/main/java/aas_core/aas3_2/types/enums/QualifierKind.java new file mode 100644 index 00000000..aa02822d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/QualifierKind.java @@ -0,0 +1,56 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** + * Enumeration for kinds of qualifiers. + * + *

This element is experimental and therefore may be subject to change or may be removed + * completely in future versions of the meta-model. + */ +public enum QualifierKind implements IEnum { + /** + * qualifies the value of the element; the corresponding qualifier value can change over time. + * + *

Value qualifiers are only applicable to elements with kind {@link + * aas_core.aas3_2.types.enums.ModellingKind#INSTANCE}. + */ + VALUE_QUALIFIER("ValueQualifier"), + /** + * qualifies the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) the element is referring to; the + * corresponding qualifier value is static. + */ + CONCEPT_QUALIFIER("ConceptQualifier"), + /** + * qualifies the elements within a specific submodel on concept level; the corresponding qualifier + * value is static. + * + *

Template qualifiers are only applicable to elements with kind {@link + * aas_core.aas3_2.types.enums.ModellingKind#TEMPLATE}. + */ + TEMPLATE_QUALIFIER("TemplateQualifier"); + + private final String literalText; + + QualifierKind(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/QuerySelect.java b/src/main/java/aas_core/aas3_2/types/enums/QuerySelect.java new file mode 100644 index 00000000..b023822b --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/QuerySelect.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** + * Enumerate what a query returns instead of the full objects. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_select_expression + */ +public enum QuerySelect implements IEnum { + /** Return only the identifiers of the matching objects */ + ID("id"); + + private final String literalText; + + QuerySelect(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/ReferenceTypes.java b/src/main/java/aas_core/aas3_2/types/enums/ReferenceTypes.java new file mode 100644 index 00000000..e6cd4806 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/ReferenceTypes.java @@ -0,0 +1,34 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** Enumeration for denoting whether an element is an external or model reference. */ +public enum ReferenceTypes implements IEnum { + /** External reference. */ + EXTERNAL_REFERENCE("ExternalReference"), + /** Model reference. */ + MODEL_REFERENCE("ModelReference"); + + private final String literalText; + + ReferenceTypes(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/SecurityTypeEnum.java b/src/main/java/aas_core/aas3_2/types/enums/SecurityTypeEnum.java new file mode 100644 index 00000000..481d62c3 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/SecurityTypeEnum.java @@ -0,0 +1,45 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** + * The security types as defined by DIN SPEC 16593-2. After the release of DIN SPEC 16593-2, any + * required updates will be made. This class is not part of the metamodel. + * + *

The information in this table is derived from DIN SPEC 16593-2. Required changes need to be + * made by the related DIN working group. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#SecurityTypeEnum + */ +public enum SecurityTypeEnum implements IEnum { + /** No predefined security type available. */ + NO_SECURITY("NONE"), + /** TLSA according to RFC 6698. */ + RFC_TLSA("RFC_TLSA"), + /** Decentralized Identifiers according to the W3C Recommendation. */ + W3C_DID("W3C_DID"); + + private final String literalText; + + SecurityTypeEnum(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/SerializationFormat.java b/src/main/java/aas_core/aas3_2/types/enums/SerializationFormat.java new file mode 100644 index 00000000..d5da5374 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/SerializationFormat.java @@ -0,0 +1,44 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** + * Determines the format of serialization, for example JSON or XML. + * + *

The values are media types conformant to RFC 2046 and registered as described in RFC 6838 + * (IANA). + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces.html#SerializationFormat + */ +public enum SerializationFormat implements IEnum { + /** JSON serialization of the requested data object inside an AAS Environment structure */ + JSON("application/json"), + /** XML serialization of the requested data object inside an AAS Environment structure. */ + XML("application/xml"), + /** AASX-Package (binary data) containing the requested data object */ + AASX("application/aasx+xml"); + + private final String literalText; + + SerializationFormat(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/ServiceSpecificationProfileEnum.java b/src/main/java/aas_core/aas3_2/types/enums/ServiceSpecificationProfileEnum.java new file mode 100644 index 00000000..199ef043 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/ServiceSpecificationProfileEnum.java @@ -0,0 +1,515 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** + * The identifiers of the standardized service specification profiles. See also Clause Service + * Specifications and Profiles for further details. + * + *

This class is not part of the metamodel. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#ServiceSpecificationProfileEnum + * + *

See also Clause Service Specifications and Profiles: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/service-specifications-and-profiles.html#service-specifications-and-profiles + */ +public enum ServiceSpecificationProfileEnum implements IEnum { + /** + * Indicates that the server implemented all features of the Asset Administration Shell Service + * Specification Full Profile in version 3.0. + */ + AAS_SERVICE_SPECIFICATION_SSP_001_V3_0( + "https://admin-shell.io/aas/API/3/0/AssetAdministrationShellServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all features of the Asset Administration Shell Service + * Specification Full Profile in version 3.1. + */ + AAS_SERVICE_SPECIFICATION_SSP_001_V3_1( + "https://admin-shell.io/aas/API/3/1/AssetAdministrationShellServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all features of the Asset Administration Shell Service + * Specification Full Profile in version 3.2. + */ + AAS_SERVICE_SPECIFICATION_SSP_001_V3_2( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all features of the Asset Administration Shell Service + * Specification Read Profile in version 3.0. + */ + AAS_SERVICE_SPECIFICATION_SSP_002_V3_0( + "https://admin-shell.io/aas/API/3/0/AssetAdministrationShellServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all features of the Asset Administration Shell Service + * Specification Read Profile in version 3.1. + */ + AAS_SERVICE_SPECIFICATION_SSP_002_V3_1( + "https://admin-shell.io/aas/API/3/1/AssetAdministrationShellServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all features of the Asset Administration Shell Service + * Specification Read Profile in version 3.2. + */ + AAS_SERVICE_SPECIFICATION_SSP_002_V3_2( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all features of the Submodel Service Specification Full + * Profile in version 3.0. + */ + SUBMODEL_SERVICE_SPECIFICATION_SSP_001_V3_0( + "https://admin-shell.io/aas/API/3/0/SubmodelServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all features of the Submodel Service Specification Full + * Profile in version 3.1. + */ + SUBMODEL_SERVICE_SPECIFICATION_SSP_001_V3_1( + "https://admin-shell.io/aas/API/3/1/SubmodelServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all features of the Submodel Service Specification Full + * Profile in version 3.2. + */ + SUBMODEL_SERVICE_SPECIFICATION_SSP_001_V3_2( + "https://admin-shell.io/aas/API/3/2/SubmodelServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all features of the Submodel Service Specification Value + * Profile in version 3.0. + */ + SUBMODEL_SERVICE_SPECIFICATION_SSP_002_V3_0( + "https://admin-shell.io/aas/API/3/0/SubmodelServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all features of the Submodel Service Specification Value + * Profile in version 3.1. + */ + SUBMODEL_SERVICE_SPECIFICATION_SSP_002_V3_1( + "https://admin-shell.io/aas/API/3/1/SubmodelServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all features of the Submodel Service Specification Read + * Profile in version 3.2. + */ + SUBMODEL_SERVICE_SPECIFICATION_SSP_002_V3_2( + "https://admin-shell.io/aas/API/3/2/SubmodelServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all features of the Submodel Service Specification Read + * Profile in version 3.0. + */ + SUBMODEL_SERVICE_SPECIFICATION_SSP_003_V3_0( + "https://admin-shell.io/aas/API/3/0/SubmodelServiceSpecification/SSP-003"), + /** + * Indicates that the server implemented all features of the Submodel Service Specification Read + * Profile in version 3.1. + */ + SUBMODEL_SERVICE_SPECIFICATION_SSP_003_V3_1( + "https://admin-shell.io/aas/API/3/1/SubmodelServiceSpecification/SSP-003"), + /** + * Indicates that the server implemented all features of the Submodel Service Specification Value + * Profile in version 3.2. + */ + SUBMODEL_SERVICE_SPECIFICATION_SSP_003_V3_2( + "https://admin-shell.io/aas/API/3/2/SubmodelServiceSpecification/SSP-003"), + /** + * Indicates that the server implemented all details of the AASX File Server Service Specification + * Full Profile in version 3.0. + */ + AASX_FILE_SERVER_SERVICE_SPECIFICATION_SSP_001_V3_0( + "https://admin-shell.io/aas/API/3/0/AasxFileServerServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all details of the AASX File Server Service Specification + * Full Profile in version 3.1. + */ + AASX_FILE_SERVER_SERVICE_SPECIFICATION_SSP_001_V3_1( + "https://admin-shell.io/aas/API/3/1/AasxFileServerServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all details of the AASX File Server Service Specification + * Full Profile in version 3.2. + */ + AASX_FILE_SERVER_SERVICE_SPECIFICATION_SSP_001_V3_2( + "https://admin-shell.io/aas/API/3/2/AasxFileServerServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all details of the AASX File Server Service Specification + * Read Profile in version 3.1. + */ + AASX_FILE_SERVER_SERVICE_SPECIFICATION_SSP_002_V3_1( + "https://admin-shell.io/aas/API/3/1/AasxFileServerServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all details of the AASX File Server Service Specification + * Async Profile in version 3.2. + */ + AASX_FILE_SERVER_SERVICE_SPECIFICATION_SSP_002_V3_2( + "https://admin-shell.io/aas/API/3/2/AasxFileServerServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Registry + * Service Specification Full Profile in version 3.0. + */ + AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_001_V3_0( + "https://admin-shell.io/aas/API/3/0/AssetAdministrationShellRegistryServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Registry + * Service Specification Full Profile in version 3.1. + */ + AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_001_V3_1( + "https://admin-shell.io/aas/API/3/1/AssetAdministrationShellRegistryServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Registry + * Service Specification Full Profile in version 3.2. + */ + AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_001_V3_2( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRegistryServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Registry + * Service Specification Read Profile in version 3.0. + */ + AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_002_V3_0( + "https://admin-shell.io/aas/API/3/0/AssetAdministrationShellRegistryServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Registry + * Service Specification Read Profile in version 3.1. + */ + AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_002_V3_1( + "https://admin-shell.io/aas/API/3/1/AssetAdministrationShellRegistryServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Registry + * Service Specification Read Profile in version 3.2. + */ + AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_002_V3_2( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRegistryServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Registry + * Service Specification Bulk Profile in version 3.1. + */ + AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_003_V3_1( + "https://admin-shell.io/aas/API/3/1/AssetAdministrationShellRegistryServiceSpecification/SSP-003"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Registry + * Service Specification Bulk Profile in version 3.2. + */ + AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_003_V3_2( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRegistryServiceSpecification/SSP-003"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Registry + * Service Specification Query Profile in version 3.1. + */ + AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_004_V3_1( + "https://admin-shell.io/aas/API/3/1/AssetAdministrationShellRegistryServiceSpecification/SSP-004"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Registry + * Service Specification Query Profile in version 3.2. + */ + AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_004_V3_2( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRegistryServiceSpecification/SSP-004"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Registry + * Service Specification Minimal Read Profile in version 3.1. + */ + AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_005_V3_1( + "https://admin-shell.io/aas/API/3/1/AssetAdministrationShellRegistryServiceSpecification/SSP-005"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Registry + * Service Specification Minimal Read Profile in version 3.2. + */ + AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_005_V3_2( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRegistryServiceSpecification/SSP-005"), + /** + * Indicates that the server implemented all details of the Submodel Registry Service + * Specification Full Profile in version 3.0. + */ + SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_001_V3_0( + "https://admin-shell.io/aas/API/3/0/SubmodelRegistryServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all details of the Submodel Registry Service + * Specification Full Profile in version 3.1. + */ + SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_001_V3_1( + "https://admin-shell.io/aas/API/3/1/SubmodelRegistryServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all details of the Submodel Registry Service + * Specification Full Profile in version 3.2. + */ + SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_001_V3_2( + "https://admin-shell.io/aas/API/3/2/SubmodelRegistryServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all details of the Submodel Registry Service + * Specification Read Profile in version 3.0. + */ + SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_002_V3_0( + "https://admin-shell.io/aas/API/3/0/SubmodelRegistryServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all details of the Submodel Registry Service + * Specification Read Profile in version 3.1. + */ + SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_002_V3_1( + "https://admin-shell.io/aas/API/3/1/SubmodelRegistryServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all details of the Submodel Registry Service + * Specification Read Profile in version 3.2. + */ + SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_002_V3_2( + "https://admin-shell.io/aas/API/3/2/SubmodelRegistryServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all details of the Submodel Registry Service + * Specification Bulk Profile in version 3.1. + */ + SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_003_V3_1( + "https://admin-shell.io/aas/API/3/1/SubmodelRegistryServiceSpecification/SSP-003"), + /** + * Indicates that the server implemented all details of the Submodel Registry Service + * Specification Bulk Profile in version 3.2. + */ + SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_003_V3_2( + "https://admin-shell.io/aas/API/3/2/SubmodelRegistryServiceSpecification/SSP-003"), + /** + * Indicates that the server implemented all details of the Submodel Registry Service + * Specification Query Profile in version 3.1. + */ + SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_004_V3_1( + "https://admin-shell.io/aas/API/3/1/SubmodelRegistryServiceSpecification/SSP-004"), + /** + * Indicates that the server implemented all details of the Submodel Registry Service + * Specification Query Profile in version 3.2. + */ + SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_004_V3_2( + "https://admin-shell.io/aas/API/3/2/SubmodelRegistryServiceSpecification/SSP-004"), + /** + * Indicates that the server implemented all details of the Discovery Service Specification Full + * Profile in version 3.0. + */ + DISCOVERY_SERVICE_SPECIFICATION_SSP_001_V3_0( + "https://admin-shell.io/aas/API/3/0/DiscoveryServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all details of the Discovery Service Specification Full + * Profile in version 3.1. + */ + DISCOVERY_SERVICE_SPECIFICATION_SSP_001_V3_1( + "https://admin-shell.io/aas/API/3/1/DiscoveryServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all details of the Discovery Service Specification Full + * Profile in version 3.2. + */ + DISCOVERY_SERVICE_SPECIFICATION_SSP_001_V3_2( + "https://admin-shell.io/aas/API/3/2/DiscoveryServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all details of the Discovery Service Specification Read + * Profile in version 3.2. + */ + DISCOVERY_SERVICE_SPECIFICATION_SSP_002_V3_2( + "https://admin-shell.io/aas/API/3/2/DiscoveryServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Repository + * Service Specification Full Profile in version 3.0. + */ + AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_0( + "https://admin-shell.io/aas/API/3/0/AssetAdministrationShellRepositoryServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Repository + * Service Specification Full Profile in version 3.1. + */ + AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_1( + "https://admin-shell.io/aas/API/3/1/AssetAdministrationShellRepositoryServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Repository + * Service Specification Full Profile in version 3.2. + */ + AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_2( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRepositoryServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Repository + * Service Specification Read Profile in version 3.0. + */ + AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_0( + "https://admin-shell.io/aas/API/3/0/AssetAdministrationShellRepositoryServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Repository + * Service Specification Read Profile in version 3.1. + */ + AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_1( + "https://admin-shell.io/aas/API/3/1/AssetAdministrationShellRepositoryServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Repository + * Service Specification Read Profile in version 3.2. + */ + AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_2( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRepositoryServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Repository + * Service Specification Query Profile in version 3.1. + */ + AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_003_V3_1( + "https://admin-shell.io/aas/API/3/1/AssetAdministrationShellRepositoryServiceSpecification/SSP-003"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Repository + * Service Specification Query Profile in version 3.2. + */ + AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_003_V3_2( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRepositoryServiceSpecification/SSP-003"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Repository + * Service Specification Signature Profile in version 3.2. + */ + AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_004_V3_2( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRepositoryServiceSpecification/SSP-004"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Repository + * Service Specification Identifiable Profile in version 3.2. + */ + AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_005_V3_2( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRepositoryServiceSpecification/SSP-005"), + /** + * Indicates that the server implemented all details of the Asset Administration Shell Repository + * Service Specification History Profile in version 3.2. + */ + AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_006_V3_2( + "https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRepositoryServiceSpecification/SSP-006"), + /** + * Indicates that the server implemented all details of the Submodel Service Repository + * Specification Full Profile in version 3.0. + */ + SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_0( + "https://admin-shell.io/aas/API/3/0/SubmodelRepositoryServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all details of the Submodel Service Repository + * Specification Full Profile in version 3.1. + */ + SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_1( + "https://admin-shell.io/aas/API/3/1/SubmodelRepositoryServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all details of the Submodel Service Repository + * Specification Full Profile in version 3.2. + */ + SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_2( + "https://admin-shell.io/aas/API/3/2/SubmodelRepositoryServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all details of the Submodel Service Repository + * Specification Read Profile in version 3.0. + */ + SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_0( + "https://admin-shell.io/aas/API/3/0/SubmodelRepositoryServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all details of the Submodel Service Repository + * Specification Read Profile in version 3.1. + */ + SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_1( + "https://admin-shell.io/aas/API/3/1/SubmodelRepositoryServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all details of the Submodel Service Repository + * Specification Read Profile in version 3.2. + */ + SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_2( + "https://admin-shell.io/aas/API/3/2/SubmodelRepositoryServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all details of the Submodel Service Repository + * Specification Template Profile in version 3.0. + */ + SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_003_V3_0( + "https://admin-shell.io/aas/API/3/0/SubmodelRepositoryServiceSpecification/SSP-003"), + /** + * Indicates that the server implemented all details of the Submodel Service Repository + * Specification Template Profile in version 3.1. + */ + SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_003_V3_1( + "https://admin-shell.io/aas/API/3/1/SubmodelRepositoryServiceSpecification/SSP-003"), + /** + * Indicates that the server implemented all details of the Submodel Service Repository + * Specification Template Profile in version 3.2. + */ + SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_003_V3_2( + "https://admin-shell.io/aas/API/3/2/SubmodelRepositoryServiceSpecification/SSP-003"), + /** + * Indicates that the server implemented all details of the Submodel Service Repository + * Specification Template Read Profile in version 3.0. + */ + SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_004_V3_0( + "https://admin-shell.io/aas/API/3/0/SubmodelRepositoryServiceSpecification/SSP-004"), + /** + * Indicates that the server implemented all details of the Submodel Service Repository + * Specification Template Read Profile in version 3.1. + */ + SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_004_V3_1( + "https://admin-shell.io/aas/API/3/1/SubmodelRepositoryServiceSpecification/SSP-004"), + /** + * Indicates that the server implemented all details of the Submodel Service Repository + * Specification Template Read Profile in version 3.2. + */ + SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_004_V3_2( + "https://admin-shell.io/aas/API/3/2/SubmodelRepositoryServiceSpecification/SSP-004"), + /** + * Indicates that the server implemented all details of the Submodel Service Repository + * Specification Query Profile in version 3.1. + */ + SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_005_V3_1( + "https://admin-shell.io/aas/API/3/1/SubmodelRepositoryServiceSpecification/SSP-005"), + /** + * Indicates that the server implemented all details of the Submodel Service Repository + * Specification Query Profile in version 3.2. + */ + SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_005_V3_2( + "https://admin-shell.io/aas/API/3/2/SubmodelRepositoryServiceSpecification/SSP-005"), + /** + * Indicates that the server implemented all details of the Submodel Service Repository + * Specification Signature Profile in version 3.2. + */ + SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_006_V3_2( + "https://admin-shell.io/aas/API/3/2/SubmodelRepositoryServiceSpecification/SSP-006"), + /** + * Indicates that the server implemented all details of the Submodel Service Repository + * Specification History Profile in version 3.2. + */ + SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_007_V3_2( + "https://admin-shell.io/aas/API/3/2/SubmodelRepositoryServiceSpecification/SSP-007"), + /** + * Indicates that the server implemented all details of the Concept Description Repository Service + * Specification Profile in version 3.0. + */ + CONCEPT_DESCRIPTION_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_0( + "https://admin-shell.io/aas/API/3/0/ConceptDescriptionRepositoryServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all details of the Concept Description Repository Service + * Specification Profile in version 3.1. + */ + CONCEPT_DESCRIPTION_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_1( + "https://admin-shell.io/aas/API/3/1/ConceptDescriptionRepositoryServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all details of the Concept Description Repository Service + * Specification Full Profile in version 3.2. + */ + CONCEPT_DESCRIPTION_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_2( + "https://admin-shell.io/aas/API/3/2/ConceptDescriptionRepositoryServiceSpecification/SSP-001"), + /** + * Indicates that the server implemented all details of the Concept Description Repository Service + * Specification Query Profile in version 3.2. + */ + CONCEPT_DESCRIPTION_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_2( + "https://admin-shell.io/aas/API/3/2/ConceptDescriptionRepositoryServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all details of the Concept Description Repository Service + * Specification Query Profile in version 3.1. + */ + CONCEPT_DESCRIPTION_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_1( + "https://admin-shell.io/aas/API/3/1/ConceptDescriptionRepositoryServiceSpecification/SSP-002"), + /** + * Indicates that the server implemented all details of the Concept Description Repository Service + * Specification Signature Profile in version 3.2. + */ + CONCEPT_DESCRIPTION_REPOSITORY_SERVICE_SPECIFICATION_SSP_003_V3_2( + "https://admin-shell.io/aas/API/3/2/ConceptDescriptionRepositoryServiceSpecification/SSP-003"); + + private final String literalText; + + ServiceSpecificationProfileEnum(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/StateOfEvent.java b/src/main/java/aas_core/aas3_2/types/enums/StateOfEvent.java new file mode 100644 index 00000000..c81d974f --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/StateOfEvent.java @@ -0,0 +1,39 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** + * State of an event + * + *

This element is experimental and therefore may be subject to change or may be removed + * completely in future versions of the meta-model. + */ +public enum StateOfEvent implements IEnum { + /** Event is on */ + ON("on"), + /** Event is off */ + OFF("off"); + + private final String literalText; + + StateOfEvent(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/enums/StatusCode.java b/src/main/java/aas_core/aas3_2/types/enums/StatusCode.java new file mode 100644 index 00000000..b165bf17 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/enums/StatusCode.java @@ -0,0 +1,64 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.enums; + +/** + * Generic status codes. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#StatusCode + */ +public enum StatusCode implements IEnum { + /** Success */ + SUCCESS("Success"), + /** Successful creation of a new resource */ + SUCCESS_CREATED("SuccessCreated"), + /** The reception of the request was successful */ + SUCCESS_ACCEPTED("SuccessAccepted"), + /** Success with explicitly no content in the payload */ + SUCCESS_NO_CONTENT("SuccessNoContent"), + /** Bad or malformed request */ + CLIENT_ERROR_BAD_REQUEST("ClientErrorBadRequest"), + /** Wrong or missing authorization credentials */ + CLIENT_NOT_AUTHORIZED("ClientNotAuthorized"), + /** Authorization has been refused */ + CLIENT_FORBIDDEN("ClientForbidden"), + /** Operation request is not allowed */ + CLIENT_METHOD_NOT_ALLOWED("ClientMethodNotAllowed"), + /** Resource not found */ + CLIENT_ERROR_RESOURCE_NOT_FOUND("ClientErrorResourceNotFound"), + /** Conflict-creating resource (resource already exists) */ + CLIENT_RESOURCE_CONFLICT("ClientResourceConflict"), + /** Unexpected error */ + SERVER_INTERNAL_ERROR("ServerInternalError"), + /** + * The server has not implemented this API Operation. Intended for cases where API Operations + * beyond the supported service profiles are requested. + */ + SERVER_NOT_IMPLEMENTED("ServerNotImplemented"), + /** Bad gateway */ + SERVER_ERROR_BAD_GATEWAY("ServerErrorBadGateway"); + + private final String literalText; + + StatusCode(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/AdministrativeInformation.java b/src/main/java/aas_core/aas3_2/types/impl/AdministrativeInformation.java new file mode 100644 index 00000000..c3663323 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/AdministrativeInformation.java @@ -0,0 +1,310 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IAdministrativeInformation; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Administrative metainformation for an element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-005: If {@link #getVersion()} is not specified, {@link #getRevision()} + * shall also be unspecified. This means that a revision requires a version. If there is no + * version, there is no revision. Revision is optional. + *
+ */ +public class AdministrativeInformation implements IAdministrativeInformation { + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Version of the element. */ + private String version; + + /** Revision of the element. */ + private String revision; + + /** The subject ID of the subject responsible for making the element. */ + private IReference creator; + + /** date of creation. */ + private String createdAt; + + /** date of update. */ + private String updatedAt; + + /** + * Identifier of the template that guided the creation of the element. + * + *

So far, {@link #getTemplateId()} is only applicable for {@link + * aas_core.aas3_2.types.impl.Submodel}'s, since template specifications are standardized for + * Submodels only. + * + *

In case of a submodel, the {@link #getTemplateId()} is the identifier of the submodel + * template that guided the creation of the submodel + * + *

The {@link #getTemplateId()} is not relevant for validation in Submodels. For validation the + * {@link aas_core.aas3_2.types.impl.Submodel#getSemanticId()} shall be used. + * + *

Usage of {@link #getTemplateId()} is not restricted to submodel instances. So also the + * creation of submodel templates can be guided by another submodel template. + */ + private String templateId; + + public AdministrativeInformation() { + // Intentionally empty. + } + + public AdministrativeInformation( + List embeddedDataSpecifications, + String version, + String revision, + IReference creator, + String createdAt, + String updatedAt, + String templateId) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.version = version; + this.revision = revision; + this.creator = creator; + this.createdAt = createdAt; + this.updatedAt = updatedAt; + this.templateId = templateId; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional getVersion() { + return Optional.ofNullable(version); + } + + @Override + public void setVersion(String version) { + this.version = version; + } + + @Override + public Optional getRevision() { + return Optional.ofNullable(revision); + } + + @Override + public void setRevision(String revision) { + this.revision = revision; + } + + @Override + public Optional getCreator() { + return Optional.ofNullable(creator); + } + + @Override + public void setCreator(IReference creator) { + this.creator = creator; + } + + @Override + public Optional getCreatedAt() { + return Optional.ofNullable(createdAt); + } + + @Override + public void setCreatedAt(String createdAt) { + this.createdAt = createdAt; + } + + @Override + public Optional getUpdatedAt() { + return Optional.ofNullable(updatedAt); + } + + @Override + public void setUpdatedAt(String updatedAt) { + this.updatedAt = updatedAt; + } + + @Override + public Optional getTemplateId() { + return Optional.ofNullable(templateId); + } + + @Override + public void setTemplateId(String templateId) { + this.templateId = templateId; + } + + /** + * Iterate over {@link AdministrativeInformation#embeddedDataSpecifications}, if set, and + * otherwise return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _AdministrativeInformationRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _AdministrativeInformationIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitAdministrativeInformation(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAdministrativeInformation(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformAdministrativeInformation(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAdministrativeInformation(this, context); + } + + private class _AdministrativeInformationIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + AdministrativeInformation.this.embeddedDataSpecifications, false)); + } + + if (creator != null) { + memberStream = + Stream.concat(memberStream, Stream.of(AdministrativeInformation.this.creator)); + } + + return memberStream; + } + } + + private class _AdministrativeInformationRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + AdministrativeInformation.this.embeddedDataSpecifications, true)); + } + + if (creator != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AdministrativeInformation.this.creator), + StreamSupport.stream( + AdministrativeInformation.this.creator.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/AndExpression.java b/src/main/java/aas_core/aas3_2/types/impl/AndExpression.java new file mode 100644 index 00000000..96e68a9a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/AndExpression.java @@ -0,0 +1,171 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IAndExpression; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * Connect two or more expressions through a logical AND. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_logical_expressions + */ +public class AndExpression implements IAndExpression { + /** The expressions to be connected */ + private List andOperands; + + public AndExpression(List andOperands) { + this.andOperands = + Objects.requireNonNull(andOperands, "Argument \"andOperands\" must be non-null."); + } + + @Override + public List getAndOperands() { + return andOperands; + } + + @Override + public void setAndOperands(List andOperands) { + this.andOperands = + Objects.requireNonNull(andOperands, "Argument \"andOperands\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _AndExpressionRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _AndExpressionIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitAndExpression(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAndExpression(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformAndExpression(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAndExpression(this, context); + } + + private class _AndExpressionIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (andOperands != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_LogicalExpression(AndExpression.this.andOperands, false)); + } + + return memberStream; + } + } + + private class _AndExpressionRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (andOperands != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_LogicalExpression(AndExpression.this.andOperands, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/AnnotatedRelationshipElement.java b/src/main/java/aas_core/aas3_2/types/impl/AnnotatedRelationshipElement.java new file mode 100644 index 00000000..e9dc055b --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/AnnotatedRelationshipElement.java @@ -0,0 +1,587 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IAnnotatedRelationshipElement; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * An annotated relationship element is a relationship element that can be annotated with additional + * data elements. + */ +public class AnnotatedRelationshipElement implements IAnnotatedRelationshipElement { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Reference to the first element in the relationship taking the role of the subject. */ + private IReference first; + + /** Reference to the second element in the relationship taking the role of the object. */ + private IReference second; + + /** + * A data element that represents an annotation that holds for the relationship between the two + * elements + */ + private List annotations; + + public AnnotatedRelationshipElement() { + // Intentionally empty. + } + + public AnnotatedRelationshipElement( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + IReference first, + IReference second, + List annotations) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.first = first; + this.second = second; + this.annotations = annotations; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional getFirst() { + return Optional.ofNullable(first); + } + + @Override + public void setFirst(IReference first) { + this.first = first; + } + + @Override + public Optional getSecond() { + return Optional.ofNullable(second); + } + + @Override + public void setSecond(IReference second) { + this.second = second; + } + + @Override + public Optional> getAnnotations() { + return Optional.ofNullable(annotations); + } + + @Override + public void setAnnotations(List annotations) { + this.annotations = annotations; + } + + /** + * Iterate over {@link AnnotatedRelationshipElement#extensions}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AnnotatedRelationshipElement#displayName}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AnnotatedRelationshipElement#description}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AnnotatedRelationshipElement#supplementalSemanticIds}, if set, and + * otherwise return an empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AnnotatedRelationshipElement#qualifiers}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AnnotatedRelationshipElement#embeddedDataSpecifications}, if set, and + * otherwise return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AnnotatedRelationshipElement#annotations}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overAnnotationsOrEmpty() { + return getAnnotations().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _AnnotatedRelationshipElementRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _AnnotatedRelationshipElementIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitAnnotatedRelationshipElement(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAnnotatedRelationshipElement(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformAnnotatedRelationshipElement(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAnnotatedRelationshipElement(this, context); + } + + private class _AnnotatedRelationshipElementIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension( + AnnotatedRelationshipElement.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + AnnotatedRelationshipElement.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + AnnotatedRelationshipElement.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(AnnotatedRelationshipElement.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + AnnotatedRelationshipElement.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier( + AnnotatedRelationshipElement.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + AnnotatedRelationshipElement.this.embeddedDataSpecifications, false)); + } + + if (first != null) { + memberStream = + Stream.concat(memberStream, Stream.of(AnnotatedRelationshipElement.this.first)); + } + + if (second != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(AnnotatedRelationshipElement.this.second)); + } + + if (annotations != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IDataElement( + AnnotatedRelationshipElement.this.annotations, false)); + } + + return memberStream; + } + } + + private class _AnnotatedRelationshipElementRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension( + AnnotatedRelationshipElement.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + AnnotatedRelationshipElement.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + AnnotatedRelationshipElement.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AnnotatedRelationshipElement.this.semanticId), + StreamSupport.stream( + AnnotatedRelationshipElement.this.semanticId.descend().spliterator(), + false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + AnnotatedRelationshipElement.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier( + AnnotatedRelationshipElement.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + AnnotatedRelationshipElement.this.embeddedDataSpecifications, true)); + } + + if (first != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AnnotatedRelationshipElement.this.first), + StreamSupport.stream( + AnnotatedRelationshipElement.this.first.descend().spliterator(), false))); + } + + if (second != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AnnotatedRelationshipElement.this.second), + StreamSupport.stream( + AnnotatedRelationshipElement.this.second.descend().spliterator(), false))); + } + + if (annotations != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IDataElement( + AnnotatedRelationshipElement.this.annotations, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/AnnotatedRelationshipElementMetadata.java b/src/main/java/aas_core/aas3_2/types/impl/AnnotatedRelationshipElementMetadata.java new file mode 100644 index 00000000..3d121a77 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/AnnotatedRelationshipElementMetadata.java @@ -0,0 +1,493 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IAnnotatedRelationshipElementMetadata; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The metadata of an {@link aas_core.aas3_2.types.impl.AnnotatedRelationshipElement}, without its + * value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class AnnotatedRelationshipElementMetadata implements IAnnotatedRelationshipElementMetadata { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public AnnotatedRelationshipElementMetadata() { + // Intentionally empty. + } + + public AnnotatedRelationshipElementMetadata( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + /** + * Iterate over {@link AnnotatedRelationshipElementMetadata#extensions}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AnnotatedRelationshipElementMetadata#displayName}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AnnotatedRelationshipElementMetadata#description}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AnnotatedRelationshipElementMetadata#supplementalSemanticIds}, if set, and + * otherwise return an empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AnnotatedRelationshipElementMetadata#qualifiers}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AnnotatedRelationshipElementMetadata#embeddedDataSpecifications}, if set, + * and otherwise return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _AnnotatedRelationshipElementMetadataRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _AnnotatedRelationshipElementMetadataIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitAnnotatedRelationshipElementMetadata(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAnnotatedRelationshipElementMetadata(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformAnnotatedRelationshipElementMetadata(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAnnotatedRelationshipElementMetadata(this, context); + } + + private class _AnnotatedRelationshipElementMetadataIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension( + AnnotatedRelationshipElementMetadata.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + AnnotatedRelationshipElementMetadata.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + AnnotatedRelationshipElementMetadata.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.of(AnnotatedRelationshipElementMetadata.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + AnnotatedRelationshipElementMetadata.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier( + AnnotatedRelationshipElementMetadata.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + AnnotatedRelationshipElementMetadata.this.embeddedDataSpecifications, false)); + } + + return memberStream; + } + } + + private class _AnnotatedRelationshipElementMetadataRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension( + AnnotatedRelationshipElementMetadata.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + AnnotatedRelationshipElementMetadata.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + AnnotatedRelationshipElementMetadata.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AnnotatedRelationshipElementMetadata.this.semanticId), + StreamSupport.stream( + AnnotatedRelationshipElementMetadata.this + .semanticId + .descend() + .spliterator(), + false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + AnnotatedRelationshipElementMetadata.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier( + AnnotatedRelationshipElementMetadata.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + AnnotatedRelationshipElementMetadata.this.embeddedDataSpecifications, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/AnnotatedRelationshipElementValue.java b/src/main/java/aas_core/aas3_2/types/impl/AnnotatedRelationshipElementValue.java new file mode 100644 index 00000000..5f8efe9e --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/AnnotatedRelationshipElementValue.java @@ -0,0 +1,228 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IAnnotatedRelationshipElementValue; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.Iterator; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The value of an {@link aas_core.aas3_2.types.impl.AnnotatedRelationshipElement}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

The annotations are given in the ValueOnly serialization, i.e., as a JSON object + * whose keys are the ID-shorts of the annotations and whose values are the ValueOnly serializations + * of the annotations. Their shape depends on the concrete data elements and can not be pinned down + * statically, so they are represented as an open JSON object. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class AnnotatedRelationshipElementValue implements IAnnotatedRelationshipElementValue { + /** Reference to the first element in the relationship. */ + private IReference first; + + /** Reference to the second element in the relationship. */ + private IReference second; + + /** Annotations which hold for the relationship between the two elements. */ + private ObjectNode annotations; + + public AnnotatedRelationshipElementValue() { + // Intentionally empty. + } + + public AnnotatedRelationshipElementValue( + IReference first, IReference second, ObjectNode annotations) { + this.first = first; + this.second = second; + this.annotations = annotations; + } + + @Override + public Optional getFirst() { + return Optional.ofNullable(first); + } + + @Override + public void setFirst(IReference first) { + this.first = first; + } + + @Override + public Optional getSecond() { + return Optional.ofNullable(second); + } + + @Override + public void setSecond(IReference second) { + this.second = second; + } + + @Override + public Optional getAnnotations() { + return Optional.ofNullable(annotations); + } + + @Override + public void setAnnotations(ObjectNode annotations) { + this.annotations = annotations; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _AnnotatedRelationshipElementValueRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _AnnotatedRelationshipElementValueIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitAnnotatedRelationshipElementValue(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAnnotatedRelationshipElementValue(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformAnnotatedRelationshipElementValue(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAnnotatedRelationshipElementValue(this, context); + } + + private class _AnnotatedRelationshipElementValueIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (first != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(AnnotatedRelationshipElementValue.this.first)); + } + + if (second != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(AnnotatedRelationshipElementValue.this.second)); + } + + return memberStream; + } + } + + private class _AnnotatedRelationshipElementValueRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (first != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AnnotatedRelationshipElementValue.this.first), + StreamSupport.stream( + AnnotatedRelationshipElementValue.this.first.descend().spliterator(), + false))); + } + + if (second != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AnnotatedRelationshipElementValue.this.second), + StreamSupport.stream( + AnnotatedRelationshipElementValue.this.second.descend().spliterator(), + false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/AssetAdministrationShell.java b/src/main/java/aas_core/aas3_2/types/impl/AssetAdministrationShell.java new file mode 100644 index 00000000..f27d2b0b --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/AssetAdministrationShell.java @@ -0,0 +1,523 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IAssetAdministrationShell; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** An Asset Administration Shell. */ +public class AssetAdministrationShell implements IAssetAdministrationShell { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Administrative information of an identifiable element. + * + *

Some of the administrative information like the version number might need to be part of the + * identification. + */ + private IAdministrativeInformation administration; + + /** The globally unique identification of the element. */ + private String id; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * The reference to the Asset Administration Shell, which the Asset Administration Shell was + * derived from. + */ + private IReference derivedFrom; + + /** Meta information about the asset, the Asset Administration Shell is representing. */ + private IAssetInformation assetInformation; + + /** + * References to submodels of the Asset Administration Shell. + * + *

A submodel is a description of an aspect of the asset, the Asset Administration Shell is + * representing. + * + *

The asset of an Asset Administration Shell is typically described by one or more submodels. + * + *

Temporarily, no submodel might be assigned to the Asset Administration Shell. + */ + private List submodels; + + public AssetAdministrationShell(String id, IAssetInformation assetInformation) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + this.assetInformation = + Objects.requireNonNull(assetInformation, "Argument \"assetInformation\" must be non-null."); + } + + public AssetAdministrationShell( + String id, + IAssetInformation assetInformation, + List extensions, + String category, + String idShort, + List displayName, + List description, + IAdministrativeInformation administration, + List embeddedDataSpecifications, + IReference derivedFrom, + List submodels) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + this.administration = administration; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.derivedFrom = derivedFrom; + this.assetInformation = + Objects.requireNonNull(assetInformation, "Argument \"assetInformation\" must be non-null."); + this.submodels = submodels; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getAdministration() { + return Optional.ofNullable(administration); + } + + @Override + public void setAdministration(IAdministrativeInformation administration) { + this.administration = administration; + } + + @Override + public String getId() { + return id; + } + + @Override + public void setId(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional getDerivedFrom() { + return Optional.ofNullable(derivedFrom); + } + + @Override + public void setDerivedFrom(IReference derivedFrom) { + this.derivedFrom = derivedFrom; + } + + @Override + public IAssetInformation getAssetInformation() { + return assetInformation; + } + + @Override + public void setAssetInformation(IAssetInformation assetInformation) { + this.assetInformation = + Objects.requireNonNull(assetInformation, "Argument \"assetInformation\" must be non-null."); + } + + @Override + public Optional> getSubmodels() { + return Optional.ofNullable(submodels); + } + + @Override + public void setSubmodels(List submodels) { + this.submodels = submodels; + } + + /** + * Iterate over {@link AssetAdministrationShell#extensions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AssetAdministrationShell#displayName}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AssetAdministrationShell#description}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AssetAdministrationShell#embeddedDataSpecifications}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AssetAdministrationShell#submodels}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSubmodelsOrEmpty() { + return getSubmodels().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _AssetAdministrationShellRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _AssetAdministrationShellIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitAssetAdministrationShell(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAssetAdministrationShell(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformAssetAdministrationShell(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAssetAdministrationShell(this, context); + } + + private class _AssetAdministrationShellIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(AssetAdministrationShell.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + AssetAdministrationShell.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + AssetAdministrationShell.this.description, false)); + } + + if (administration != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(AssetAdministrationShell.this.administration)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + AssetAdministrationShell.this.embeddedDataSpecifications, false)); + } + + if (derivedFrom != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(AssetAdministrationShell.this.derivedFrom)); + } + + if (assetInformation != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(AssetAdministrationShell.this.assetInformation)); + } + + if (submodels != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(AssetAdministrationShell.this.submodels, false)); + } + + return memberStream; + } + } + + private class _AssetAdministrationShellRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(AssetAdministrationShell.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + AssetAdministrationShell.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + AssetAdministrationShell.this.description, true)); + } + + if (administration != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AssetAdministrationShell.this.administration), + StreamSupport.stream( + AssetAdministrationShell.this.administration.descend().spliterator(), + false))); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + AssetAdministrationShell.this.embeddedDataSpecifications, true)); + } + + if (derivedFrom != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AssetAdministrationShell.this.derivedFrom), + StreamSupport.stream( + AssetAdministrationShell.this.derivedFrom.descend().spliterator(), false))); + } + + if (assetInformation != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AssetAdministrationShell.this.assetInformation), + StreamSupport.stream( + AssetAdministrationShell.this.assetInformation.descend().spliterator(), + false))); + } + + if (submodels != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(AssetAdministrationShell.this.submodels, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/AssetAdministrationShellDescriptor.java b/src/main/java/aas_core/aas3_2/types/impl/AssetAdministrationShellDescriptor.java new file mode 100644 index 00000000..5d402155 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/AssetAdministrationShellDescriptor.java @@ -0,0 +1,522 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IAssetAdministrationShellDescriptor; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Descriptor of an Asset Administration Shell. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#AssetAdministrationShellDescriptor + */ +public class AssetAdministrationShellDescriptor implements IAssetAdministrationShellDescriptor { + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + */ + private List description; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * An extension of the element. + * + *

Extensions are proprietary, i.e. they do not support global interoperability. + */ + private List extensions; + + /** Globally unique identification of the Asset Administration Shell. */ + private String id; + + /** Administrative information of the Asset Administration Shell. */ + private IAdministrativeInformation administration; + + /** + * Denotes whether the asset of the described Asset Administration Shell is of kind {@link + * aas_core.aas3_2.types.enums.AssetKind#TYPE}, {@link + * aas_core.aas3_2.types.enums.AssetKind#INSTANCE}, {@link + * aas_core.aas3_2.types.enums.AssetKind#ROLE}, or {@link + * aas_core.aas3_2.types.enums.AssetKind#NOT_APPLICABLE}. + */ + private AssetKind assetKind; + + /** + * The type of the asset described by the Asset Administration Shell of this descriptor. + * + *

See {@link aas_core.aas3_2.types.impl.AssetInformation#getAssetType()} for further + * information. + */ + private String assetType; + + /** + * Endpoint of the network resource. + * + *

The cardinality restriction for {@link #getEndpoints()} allows a provider to skip the + * declaration of the location of an Asset Administration Shell and directly point to the + * endpoints of the contained submodels through {@link #getSubmodelDescriptors()}' {@link + * aas_core.aas3_2.types.impl.SubmodelDescriptor#getEndpoints()}. A client, therefore, might + * decide to skip the lookup on the Asset Administration Shell. Nevertheless, in case the + * information contained in the {@link + * aas_core.aas3_2.types.impl.AssetAdministrationShellDescriptor} deviates from the related {@link + * aas_core.aas3_2.types.impl.AssetAdministrationShell}, or attributes are missing, the {@link + * aas_core.aas3_2.types.impl.AssetAdministrationShell} is always the source of truth. + */ + private List endpoints; + + /** Global reference to the asset the Asset Administration Shell is representing. */ + private String globalAssetId; + + /** Short name of the Asset Administration Shell. */ + private String idShort; + + /** Specific asset identifier. */ + private List specificAssetIds; + + /** Descriptor of a submodel of the Asset Administration Shell. */ + private List submodelDescriptors; + + public AssetAdministrationShellDescriptor(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + public AssetAdministrationShellDescriptor( + String id, + List description, + List displayName, + List extensions, + IAdministrativeInformation administration, + AssetKind assetKind, + String assetType, + List endpoints, + String globalAssetId, + String idShort, + List specificAssetIds, + List submodelDescriptors) { + this.description = description; + this.displayName = displayName; + this.extensions = extensions; + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + this.administration = administration; + this.assetKind = assetKind; + this.assetType = assetType; + this.endpoints = endpoints; + this.globalAssetId = globalAssetId; + this.idShort = idShort; + this.specificAssetIds = specificAssetIds; + this.submodelDescriptors = submodelDescriptors; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public String getId() { + return id; + } + + @Override + public void setId(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + @Override + public Optional getAdministration() { + return Optional.ofNullable(administration); + } + + @Override + public void setAdministration(IAdministrativeInformation administration) { + this.administration = administration; + } + + @Override + public Optional getAssetKind() { + return Optional.ofNullable(assetKind); + } + + @Override + public void setAssetKind(AssetKind assetKind) { + this.assetKind = assetKind; + } + + @Override + public Optional getAssetType() { + return Optional.ofNullable(assetType); + } + + @Override + public void setAssetType(String assetType) { + this.assetType = assetType; + } + + @Override + public Optional> getEndpoints() { + return Optional.ofNullable(endpoints); + } + + @Override + public void setEndpoints(List endpoints) { + this.endpoints = endpoints; + } + + @Override + public Optional getGlobalAssetId() { + return Optional.ofNullable(globalAssetId); + } + + @Override + public void setGlobalAssetId(String globalAssetId) { + this.globalAssetId = globalAssetId; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getSpecificAssetIds() { + return Optional.ofNullable(specificAssetIds); + } + + @Override + public void setSpecificAssetIds(List specificAssetIds) { + this.specificAssetIds = specificAssetIds; + } + + @Override + public Optional> getSubmodelDescriptors() { + return Optional.ofNullable(submodelDescriptors); + } + + @Override + public void setSubmodelDescriptors(List submodelDescriptors) { + this.submodelDescriptors = submodelDescriptors; + } + + /** + * Iterate over {@link AssetAdministrationShellDescriptor#description}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AssetAdministrationShellDescriptor#displayName}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AssetAdministrationShellDescriptor#extensions}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AssetAdministrationShellDescriptor#endpoints}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overEndpointsOrEmpty() { + return getEndpoints().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AssetAdministrationShellDescriptor#specificAssetIds}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overSpecificAssetIdsOrEmpty() { + return getSpecificAssetIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AssetAdministrationShellDescriptor#submodelDescriptors}, if set, and + * otherwise return an empty iterator. + */ + public Iterable overSubmodelDescriptorsOrEmpty() { + return getSubmodelDescriptors().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _AssetAdministrationShellDescriptorRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _AssetAdministrationShellDescriptorIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitAssetAdministrationShellDescriptor(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAssetAdministrationShellDescriptor(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformAssetAdministrationShellDescriptor(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAssetAdministrationShellDescriptor(this, context); + } + + private class _AssetAdministrationShellDescriptorIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + AssetAdministrationShellDescriptor.this.description, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + AssetAdministrationShellDescriptor.this.displayName, false)); + } + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension( + AssetAdministrationShellDescriptor.this.extensions, false)); + } + + if (administration != null) { + memberStream = + Stream.concat( + memberStream, + Stream.of(AssetAdministrationShellDescriptor.this.administration)); + } + + if (endpoints != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEndpoint( + AssetAdministrationShellDescriptor.this.endpoints, false)); + } + + if (specificAssetIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISpecificAssetId( + AssetAdministrationShellDescriptor.this.specificAssetIds, false)); + } + + if (submodelDescriptors != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelDescriptor( + AssetAdministrationShellDescriptor.this.submodelDescriptors, false)); + } + + return memberStream; + } + } + + private class _AssetAdministrationShellDescriptorRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + AssetAdministrationShellDescriptor.this.description, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + AssetAdministrationShellDescriptor.this.displayName, true)); + } + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension( + AssetAdministrationShellDescriptor.this.extensions, true)); + } + + if (administration != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AssetAdministrationShellDescriptor.this.administration), + StreamSupport.stream( + AssetAdministrationShellDescriptor.this + .administration + .descend() + .spliterator(), + false))); + } + + if (endpoints != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEndpoint( + AssetAdministrationShellDescriptor.this.endpoints, true)); + } + + if (specificAssetIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISpecificAssetId( + AssetAdministrationShellDescriptor.this.specificAssetIds, true)); + } + + if (submodelDescriptors != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelDescriptor( + AssetAdministrationShellDescriptor.this.submodelDescriptors, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/AssetAdministrationShellMetadata.java b/src/main/java/aas_core/aas3_2/types/impl/AssetAdministrationShellMetadata.java new file mode 100644 index 00000000..a2f1e2e8 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/AssetAdministrationShellMetadata.java @@ -0,0 +1,456 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IAssetAdministrationShellMetadata; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The metadata of an {@link aas_core.aas3_2.types.impl.AssetAdministrationShell}, without its asset + * information and submodel references. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class AssetAdministrationShellMetadata implements IAssetAdministrationShellMetadata { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Administrative information of an identifiable element. + * + *

Some of the administrative information like the version number might need to be part of the + * identification. + */ + private IAdministrativeInformation administration; + + /** The globally unique identification of the element. */ + private String id; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * The reference to the Asset Administration Shell, which the Asset Administration Shell was + * derived from. + */ + private IReference derivedFrom; + + public AssetAdministrationShellMetadata(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + public AssetAdministrationShellMetadata( + String id, + List extensions, + String category, + String idShort, + List displayName, + List description, + IAdministrativeInformation administration, + List embeddedDataSpecifications, + IReference derivedFrom) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + this.administration = administration; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.derivedFrom = derivedFrom; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getAdministration() { + return Optional.ofNullable(administration); + } + + @Override + public void setAdministration(IAdministrativeInformation administration) { + this.administration = administration; + } + + @Override + public String getId() { + return id; + } + + @Override + public void setId(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional getDerivedFrom() { + return Optional.ofNullable(derivedFrom); + } + + @Override + public void setDerivedFrom(IReference derivedFrom) { + this.derivedFrom = derivedFrom; + } + + /** + * Iterate over {@link AssetAdministrationShellMetadata#extensions}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AssetAdministrationShellMetadata#displayName}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AssetAdministrationShellMetadata#description}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AssetAdministrationShellMetadata#embeddedDataSpecifications}, if set, and + * otherwise return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _AssetAdministrationShellMetadataRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _AssetAdministrationShellMetadataIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitAssetAdministrationShellMetadata(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAssetAdministrationShellMetadata(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformAssetAdministrationShellMetadata(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAssetAdministrationShellMetadata(this, context); + } + + private class _AssetAdministrationShellMetadataIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension( + AssetAdministrationShellMetadata.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + AssetAdministrationShellMetadata.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + AssetAdministrationShellMetadata.this.description, false)); + } + + if (administration != null) { + memberStream = + Stream.concat( + memberStream, + Stream.of(AssetAdministrationShellMetadata.this.administration)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + AssetAdministrationShellMetadata.this.embeddedDataSpecifications, false)); + } + + if (derivedFrom != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(AssetAdministrationShellMetadata.this.derivedFrom)); + } + + return memberStream; + } + } + + private class _AssetAdministrationShellMetadataRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension( + AssetAdministrationShellMetadata.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + AssetAdministrationShellMetadata.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + AssetAdministrationShellMetadata.this.description, true)); + } + + if (administration != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AssetAdministrationShellMetadata.this.administration), + StreamSupport.stream( + AssetAdministrationShellMetadata.this + .administration + .descend() + .spliterator(), + false))); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + AssetAdministrationShellMetadata.this.embeddedDataSpecifications, true)); + } + + if (derivedFrom != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AssetAdministrationShellMetadata.this.derivedFrom), + StreamSupport.stream( + AssetAdministrationShellMetadata.this.derivedFrom.descend().spliterator(), + false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/AssetAdministrationShellRecentChange.java b/src/main/java/aas_core/aas3_2/types/impl/AssetAdministrationShellRecentChange.java new file mode 100644 index 00000000..1b2e88ef --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/AssetAdministrationShellRecentChange.java @@ -0,0 +1,246 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IAssetAdministrationShellRecentChange; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * This class is not part of the metamodel. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#AssetAdministrationShellRecentChange + */ +public class AssetAdministrationShellRecentChange implements IAssetAdministrationShellRecentChange { + /** The point in time at which the Identifiable object was created */ + private String createdAt; + + /** The point in time at which the Identifiable object was recently updated */ + private String updatedAt; + + /** Globally unique identification of the Asset Administration Shell */ + private String id; + + /** Global reference to the asset the AAS is representing */ + private String globalAssetId; + + /** Specific asset identifier */ + private List specificAssetIds; + + public AssetAdministrationShellRecentChange(String createdAt, String updatedAt, String id) { + this.createdAt = Objects.requireNonNull(createdAt, "Argument \"createdAt\" must be non-null."); + this.updatedAt = Objects.requireNonNull(updatedAt, "Argument \"updatedAt\" must be non-null."); + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + public AssetAdministrationShellRecentChange( + String createdAt, + String updatedAt, + String id, + String globalAssetId, + List specificAssetIds) { + this.createdAt = Objects.requireNonNull(createdAt, "Argument \"createdAt\" must be non-null."); + this.updatedAt = Objects.requireNonNull(updatedAt, "Argument \"updatedAt\" must be non-null."); + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + this.globalAssetId = globalAssetId; + this.specificAssetIds = specificAssetIds; + } + + @Override + public String getCreatedAt() { + return createdAt; + } + + @Override + public void setCreatedAt(String createdAt) { + this.createdAt = Objects.requireNonNull(createdAt, "Argument \"createdAt\" must be non-null."); + } + + @Override + public String getUpdatedAt() { + return updatedAt; + } + + @Override + public void setUpdatedAt(String updatedAt) { + this.updatedAt = Objects.requireNonNull(updatedAt, "Argument \"updatedAt\" must be non-null."); + } + + @Override + public String getId() { + return id; + } + + @Override + public void setId(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + @Override + public Optional getGlobalAssetId() { + return Optional.ofNullable(globalAssetId); + } + + @Override + public void setGlobalAssetId(String globalAssetId) { + this.globalAssetId = globalAssetId; + } + + @Override + public Optional> getSpecificAssetIds() { + return Optional.ofNullable(specificAssetIds); + } + + @Override + public void setSpecificAssetIds(List specificAssetIds) { + this.specificAssetIds = specificAssetIds; + } + + /** + * Iterate over {@link AssetAdministrationShellRecentChange#specificAssetIds}, if set, and + * otherwise return an empty iterator. + */ + public Iterable overSpecificAssetIdsOrEmpty() { + return getSpecificAssetIds().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _AssetAdministrationShellRecentChangeRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _AssetAdministrationShellRecentChangeIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitAssetAdministrationShellRecentChange(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAssetAdministrationShellRecentChange(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformAssetAdministrationShellRecentChange(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAssetAdministrationShellRecentChange(this, context); + } + + private class _AssetAdministrationShellRecentChangeIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (specificAssetIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISpecificAssetId( + AssetAdministrationShellRecentChange.this.specificAssetIds, false)); + } + + return memberStream; + } + } + + private class _AssetAdministrationShellRecentChangeRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (specificAssetIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISpecificAssetId( + AssetAdministrationShellRecentChange.this.specificAssetIds, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/AssetInformation.java b/src/main/java/aas_core/aas3_2/types/impl/AssetInformation.java new file mode 100644 index 00000000..18217f25 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/AssetInformation.java @@ -0,0 +1,312 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IAssetInformation; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * In {@link aas_core.aas3_2.types.impl.AssetInformation} identifying metadata of the asset that is + * represented by an Asset Administration Shell is defined. + * + *

Several asset kinds are distinguished like for example type assets and instance assets. + * + *

The asset has a globally unique identifier, plus – if needed – additional domain-specific + * (proprietary) identifiers. However, to support the corner case of very first phase of life cycle + * where a stabilized/constant global asset identifier does not already exist, the corresponding + * attribute {@link #getGlobalAssetId()} is optional. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-116: {@code globalAssetId} (case-insensitive) is a reserved key for {@link + * aas_core.aas3_2.types.impl.SpecificAssetId#getName()} with the semantics as defined in + * {@code https://admin-shell.io/aas/3/x/AssetInformation/globalAssetId} where {@code x} is + * the minor version. + *

    Constraint AASd-116 is important to enable a generic search across global and specific + * asset IDs (e.g. in IDTA-01002-3-0 discovery operations like GetAllAssetLinksById). In the + * future the constraint might become more strict in stating that the name {@code + * globalAssetId} shall not be used as {@link + * aas_core.aas3_2.types.impl.SpecificAssetId#getName()}. + *

    The comparison against {@code globalAssetId} is ASCII case-insensitive. + *

  • Constraint AASd-131: For {@link aas_core.aas3_2.types.impl.AssetInformation} either the + * {@link #getGlobalAssetId()} shall be defined or at least one item in {@link + * #getSpecificAssetIds()}. + *
+ */ +public class AssetInformation implements IAssetInformation { + /** + * Denotes whether the Asset is of kind {@link aas_core.aas3_2.types.enums.AssetKind#TYPE}, {@link + * aas_core.aas3_2.types.enums.AssetKind#INSTANCE}, {@link + * aas_core.aas3_2.types.enums.AssetKind#BATCH}, {@link + * aas_core.aas3_2.types.enums.AssetKind#ROLE}, or {@link + * aas_core.aas3_2.types.enums.AssetKind#NOT_APPLICABLE}. + */ + private AssetKind assetKind; + + /** + * Identifier of the asset, the Asset Administration Shell is representing. + * + *

This attribute is required as soon as the Asset Administration Shell is exchanged via + * partners in the life cycle of the asset. In a first phase of the life cycle, the asset might + * not yet have a global asset ID but already an internal identifier. The internal identifier + * would be modelled via {@link #getSpecificAssetIds()}. + */ + private String globalAssetId; + + /** + * Additional domain-specific, typically proprietary identifier for the asset like serial number, + * manufacturer part ID, customer part IDs, etc. + */ + private List specificAssetIds; + + /** + * In case {@link #getAssetKind()} is not {@link + * aas_core.aas3_2.types.enums.AssetKind#NOT_APPLICABLE} the {@link #getAssetType()} is the asset + * ID of the type asset of the asset under consideration as identified by {@link + * #getGlobalAssetId()}. + * + *

In case {@link #getAssetKind()} is "Instance" then the {@link #getAssetType()} denotes which + * "Type" the asset is of. But it is also possible to have an {@link #getAssetType()} of an asset + * of kind "Type". + */ + private String assetType; + + /** + * Thumbnail of the asset represented by the Asset Administration Shell. + * + *

Used as default. + */ + private IResource defaultThumbnail; + + public AssetInformation(AssetKind assetKind) { + this.assetKind = Objects.requireNonNull(assetKind, "Argument \"assetKind\" must be non-null."); + } + + public AssetInformation( + AssetKind assetKind, + String globalAssetId, + List specificAssetIds, + String assetType, + IResource defaultThumbnail) { + this.assetKind = Objects.requireNonNull(assetKind, "Argument \"assetKind\" must be non-null."); + this.globalAssetId = globalAssetId; + this.specificAssetIds = specificAssetIds; + this.assetType = assetType; + this.defaultThumbnail = defaultThumbnail; + } + + @Override + public AssetKind getAssetKind() { + return assetKind; + } + + @Override + public void setAssetKind(AssetKind assetKind) { + this.assetKind = Objects.requireNonNull(assetKind, "Argument \"assetKind\" must be non-null."); + } + + @Override + public Optional getGlobalAssetId() { + return Optional.ofNullable(globalAssetId); + } + + @Override + public void setGlobalAssetId(String globalAssetId) { + this.globalAssetId = globalAssetId; + } + + @Override + public Optional> getSpecificAssetIds() { + return Optional.ofNullable(specificAssetIds); + } + + @Override + public void setSpecificAssetIds(List specificAssetIds) { + this.specificAssetIds = specificAssetIds; + } + + @Override + public Optional getAssetType() { + return Optional.ofNullable(assetType); + } + + @Override + public void setAssetType(String assetType) { + this.assetType = assetType; + } + + @Override + public Optional getDefaultThumbnail() { + return Optional.ofNullable(defaultThumbnail); + } + + @Override + public void setDefaultThumbnail(IResource defaultThumbnail) { + this.defaultThumbnail = defaultThumbnail; + } + + /** + * Iterate over {@link AssetInformation#specificAssetIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSpecificAssetIdsOrEmpty() { + return getSpecificAssetIds().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _AssetInformationRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _AssetInformationIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitAssetInformation(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAssetInformation(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformAssetInformation(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAssetInformation(this, context); + } + + private class _AssetInformationIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (specificAssetIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISpecificAssetId( + AssetInformation.this.specificAssetIds, false)); + } + + if (defaultThumbnail != null) { + memberStream = + Stream.concat(memberStream, Stream.of(AssetInformation.this.defaultThumbnail)); + } + + return memberStream; + } + } + + private class _AssetInformationRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (specificAssetIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISpecificAssetId( + AssetInformation.this.specificAssetIds, true)); + } + + if (defaultThumbnail != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AssetInformation.this.defaultThumbnail), + StreamSupport.stream( + AssetInformation.this.defaultThumbnail.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/AssetLink.java b/src/main/java/aas_core/aas3_2/types/impl/AssetLink.java new file mode 100644 index 00000000..da77dc1d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/AssetLink.java @@ -0,0 +1,111 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IAssetLink; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** + * Asset identifier derived from either {@link aas_core.aas3_2.types.impl.SpecificAssetId} or {@link + * aas_core.aas3_2.types.impl.AssetInformation#getGlobalAssetId()}. + * + *

This class is not part of the metamodel. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#AssetLink + */ +public class AssetLink implements IAssetLink { + /** + * Name of the Asset identifier, i.e., {@code globalAssetId}, a serial number, + * manufacturer part ID, or customer part IDs. + */ + private String name; + + /** Value of the Asset Identifier. */ + private String value; + + public AssetLink(String name, String value) { + this.name = Objects.requireNonNull(name, "Argument \"name\" must be non-null."); + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + @Override + public String getName() { + return name; + } + + @Override + public void setName(String name) { + this.name = Objects.requireNonNull(name, "Argument \"name\" must be non-null."); + } + + @Override + public String getValue() { + return value; + } + + @Override + public void setValue(String value) { + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitAssetLink(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAssetLink(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformAssetLink(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAssetLink(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/AttributeOperand.java b/src/main/java/aas_core/aas3_2/types/impl/AttributeOperand.java new file mode 100644 index 00000000..d8f54bff --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/AttributeOperand.java @@ -0,0 +1,169 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IAttributeOperand; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Use an attribute as an operand. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public class AttributeOperand implements IAttributeOperand { + /** The attribute */ + private AttributeItem attribute; + + public AttributeOperand(AttributeItem attribute) { + this.attribute = Objects.requireNonNull(attribute, "Argument \"attribute\" must be non-null."); + } + + @Override + public AttributeItem getAttribute() { + return attribute; + } + + @Override + public void setAttribute(AttributeItem attribute) { + this.attribute = Objects.requireNonNull(attribute, "Argument \"attribute\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _AttributeOperandRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _AttributeOperandIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitAttributeOperand(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAttributeOperand(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformAttributeOperand(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAttributeOperand(this, context); + } + + private class _AttributeOperandIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (attribute != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(AttributeOperand.this.attribute.getUnderlying())); + } + + return memberStream; + } + } + + private class _AttributeOperandRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (attribute != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AttributeOperand.this.attribute.getUnderlying()), + StreamSupport.stream( + AttributeOperand.this.attribute.getUnderlying().descend().spliterator(), + false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/BaseOperationResult.java b/src/main/java/aas_core/aas3_2/types/impl/BaseOperationResult.java new file mode 100644 index 00000000..6cc3eaed --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/BaseOperationResult.java @@ -0,0 +1,224 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IBaseOperationResult; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * The object containing the intermediate state of an operation. + * + *

This class is deliberately not related to {@link aas_core.aas3_2.types.impl.Result} + * by inheritance (and {@link aas_core.aas3_2.types.impl.OperationResult} below is, in turn, not + * related to this class by inheritance either). aas-core-codegen refuses to generate a schema for a + * concrete class with concrete descendants unless it is marked {@code + * @serialization(with_model_type=True)}, which would introduce a {@code modelType} + * discriminator property that the official schema does not have for this hierarchy. Flattening the + * hierarchy avoids that mismatch, at the cost of repeating {@link #getMessages()} here. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#BaseOperationResult + */ +public class BaseOperationResult implements IBaseOperationResult { + /** Execution state */ + private ExecutionState executionState; + + /** Additional messages containing information for the requester */ + private List messages; + + /** + * Flag indicating whether the business operation behind the operation was successful (true) or + * not (false) + */ + private Boolean success; + + public BaseOperationResult(ExecutionState executionState) { + this.executionState = + Objects.requireNonNull(executionState, "Argument \"executionState\" must be non-null."); + } + + public BaseOperationResult( + ExecutionState executionState, List messages, Boolean success) { + this.executionState = + Objects.requireNonNull(executionState, "Argument \"executionState\" must be non-null."); + this.messages = messages; + this.success = success; + } + + @Override + public ExecutionState getExecutionState() { + return executionState; + } + + @Override + public void setExecutionState(ExecutionState executionState) { + this.executionState = + Objects.requireNonNull(executionState, "Argument \"executionState\" must be non-null."); + } + + @Override + public Optional> getMessages() { + return Optional.ofNullable(messages); + } + + @Override + public void setMessages(List messages) { + this.messages = messages; + } + + @Override + public Optional getSuccess() { + return Optional.ofNullable(success); + } + + @Override + public void setSuccess(Boolean success) { + this.success = success; + } + + /** + * Iterate over {@link BaseOperationResult#messages}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overMessagesOrEmpty() { + return getMessages().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _BaseOperationResultRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _BaseOperationResultIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitBaseOperationResult(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBaseOperationResult(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformBaseOperationResult(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBaseOperationResult(this, context); + } + + private class _BaseOperationResultIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (messages != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IMessage(BaseOperationResult.this.messages, false)); + } + + return memberStream; + } + } + + private class _BaseOperationResultRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (messages != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IMessage(BaseOperationResult.this.messages, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/BasicEventElement.java b/src/main/java/aas_core/aas3_2/types/impl/BasicEventElement.java new file mode 100644 index 00000000..8c100a31 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/BasicEventElement.java @@ -0,0 +1,675 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IBasicEventElement; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A basic event element. + * + *

This element is experimental and therefore may be subject to change or may be removed + * completely in future versions of the meta-model. + */ +public class BasicEventElement implements IBasicEventElement { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Reference to a referable, e.g., a data element or a submodel, that is being observed. */ + private IReference observed; + + /** + * Direction of event. + * + *

Can be {@code { Input, Output }}. + */ + private Direction direction; + + /** + * State of event. + * + *

Can be {@code { On, Off }}. + */ + private StateOfEvent state; + + /** + * Information for the outer message infrastructure to schedule the event for the respective + * communication channel. + */ + private String messageTopic; + + /** + * Information about which outer message infrastructure shall handle messages for the {@link + * aas_core.aas3_2.types.model.IEventElement}. Refers to a {@link + * aas_core.aas3_2.types.impl.Submodel}, {@link aas_core.aas3_2.types.impl.SubmodelElementList}, + * {@link aas_core.aas3_2.types.impl.SubmodelElementCollection} or {@link + * aas_core.aas3_2.types.impl.Entity}, which contains {@link + * aas_core.aas3_2.types.model.IDataElement}'s describing the proprietary specification for the + * message broker. + * + *

This proprietary specification could be standardized by using respective {@link + * aas_core.aas3_2.types.impl.Submodel}'s for different message infrastructure, e.g., OPC UA, MQTT + * or AMQP. + */ + private IReference messageBroker; + + /** + * Timestamp in UTC, when the last event was received (input direction) or sent (output + * direction). + */ + private String lastUpdate; + + /** + * For input direction reports on the maximum frequency, the software entity behind the respective + * {@link aas_core.aas3_2.types.model.IReferable} can handle input events. + * + *

For output events, the maximum frequency of outputting this event to an outer infrastructure + * is specified. + * + *

Might be not specified, i.e. if there is no minimum interval. + */ + private String minInterval; + + /** + * Not applicable for input direction. + * + *

For output direction: maximum interval in time, the respective {@link + * aas_core.aas3_2.types.model.IReferable} shall send an update of the status of the event, even + * if no other trigger condition for the event was not met. + * + *

Might not be specified, i.e. if there is no maximum interval. + */ + private String maxInterval; + + public BasicEventElement(IReference observed, Direction direction, StateOfEvent state) { + this.observed = Objects.requireNonNull(observed, "Argument \"observed\" must be non-null."); + this.direction = Objects.requireNonNull(direction, "Argument \"direction\" must be non-null."); + this.state = Objects.requireNonNull(state, "Argument \"state\" must be non-null."); + } + + public BasicEventElement( + IReference observed, + Direction direction, + StateOfEvent state, + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + String messageTopic, + IReference messageBroker, + String lastUpdate, + String minInterval, + String maxInterval) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.observed = Objects.requireNonNull(observed, "Argument \"observed\" must be non-null."); + this.direction = Objects.requireNonNull(direction, "Argument \"direction\" must be non-null."); + this.state = Objects.requireNonNull(state, "Argument \"state\" must be non-null."); + this.messageTopic = messageTopic; + this.messageBroker = messageBroker; + this.lastUpdate = lastUpdate; + this.minInterval = minInterval; + this.maxInterval = maxInterval; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public IReference getObserved() { + return observed; + } + + @Override + public void setObserved(IReference observed) { + this.observed = Objects.requireNonNull(observed, "Argument \"observed\" must be non-null."); + } + + @Override + public Direction getDirection() { + return direction; + } + + @Override + public void setDirection(Direction direction) { + this.direction = Objects.requireNonNull(direction, "Argument \"direction\" must be non-null."); + } + + @Override + public StateOfEvent getState() { + return state; + } + + @Override + public void setState(StateOfEvent state) { + this.state = Objects.requireNonNull(state, "Argument \"state\" must be non-null."); + } + + @Override + public Optional getMessageTopic() { + return Optional.ofNullable(messageTopic); + } + + @Override + public void setMessageTopic(String messageTopic) { + this.messageTopic = messageTopic; + } + + @Override + public Optional getMessageBroker() { + return Optional.ofNullable(messageBroker); + } + + @Override + public void setMessageBroker(IReference messageBroker) { + this.messageBroker = messageBroker; + } + + @Override + public Optional getLastUpdate() { + return Optional.ofNullable(lastUpdate); + } + + @Override + public void setLastUpdate(String lastUpdate) { + this.lastUpdate = lastUpdate; + } + + @Override + public Optional getMinInterval() { + return Optional.ofNullable(minInterval); + } + + @Override + public void setMinInterval(String minInterval) { + this.minInterval = minInterval; + } + + @Override + public Optional getMaxInterval() { + return Optional.ofNullable(maxInterval); + } + + @Override + public void setMaxInterval(String maxInterval) { + this.maxInterval = maxInterval; + } + + /** + * Iterate over {@link BasicEventElement#extensions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link BasicEventElement#displayName}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link BasicEventElement#description}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link BasicEventElement#supplementalSemanticIds}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link BasicEventElement#qualifiers}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link BasicEventElement#embeddedDataSpecifications}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _BasicEventElementRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _BasicEventElementIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitBasicEventElement(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBasicEventElement(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformBasicEventElement(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBasicEventElement(this, context); + } + + private class _BasicEventElementIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(BasicEventElement.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + BasicEventElement.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + BasicEventElement.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(BasicEventElement.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + BasicEventElement.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(BasicEventElement.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + BasicEventElement.this.embeddedDataSpecifications, false)); + } + + if (observed != null) { + memberStream = + Stream.concat(memberStream, Stream.of(BasicEventElement.this.observed)); + } + + if (messageBroker != null) { + memberStream = + Stream.concat(memberStream, Stream.of(BasicEventElement.this.messageBroker)); + } + + return memberStream; + } + } + + private class _BasicEventElementRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(BasicEventElement.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + BasicEventElement.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + BasicEventElement.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(BasicEventElement.this.semanticId), + StreamSupport.stream( + BasicEventElement.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + BasicEventElement.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(BasicEventElement.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + BasicEventElement.this.embeddedDataSpecifications, true)); + } + + if (observed != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(BasicEventElement.this.observed), + StreamSupport.stream( + BasicEventElement.this.observed.descend().spliterator(), false))); + } + + if (messageBroker != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(BasicEventElement.this.messageBroker), + StreamSupport.stream( + BasicEventElement.this.messageBroker.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/BasicEventElementMetadata.java b/src/main/java/aas_core/aas3_2/types/impl/BasicEventElementMetadata.java new file mode 100644 index 00000000..94387be6 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/BasicEventElementMetadata.java @@ -0,0 +1,607 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IBasicEventElementMetadata; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.BasicEventElement}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class BasicEventElementMetadata implements IBasicEventElementMetadata { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Direction of event. */ + private Direction direction; + + /** State of event. */ + private StateOfEvent state; + + /** Topic, to which the event's message is published. */ + private String messageTopic; + + /** Reference to a broker where the event's message is published. */ + private IReference messageBroker; + + /** Timestamp of the last update of the event. */ + private String lastUpdate; + + /** For continuous signalling, the minimum interval between two consecutive events. */ + private String minInterval; + + /** For continuous signalling, the maximum interval between two consecutive events. */ + private String maxInterval; + + public BasicEventElementMetadata(Direction direction, StateOfEvent state) { + this.direction = Objects.requireNonNull(direction, "Argument \"direction\" must be non-null."); + this.state = Objects.requireNonNull(state, "Argument \"state\" must be non-null."); + } + + public BasicEventElementMetadata( + Direction direction, + StateOfEvent state, + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + String messageTopic, + IReference messageBroker, + String lastUpdate, + String minInterval, + String maxInterval) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.direction = Objects.requireNonNull(direction, "Argument \"direction\" must be non-null."); + this.state = Objects.requireNonNull(state, "Argument \"state\" must be non-null."); + this.messageTopic = messageTopic; + this.messageBroker = messageBroker; + this.lastUpdate = lastUpdate; + this.minInterval = minInterval; + this.maxInterval = maxInterval; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Direction getDirection() { + return direction; + } + + @Override + public void setDirection(Direction direction) { + this.direction = Objects.requireNonNull(direction, "Argument \"direction\" must be non-null."); + } + + @Override + public StateOfEvent getState() { + return state; + } + + @Override + public void setState(StateOfEvent state) { + this.state = Objects.requireNonNull(state, "Argument \"state\" must be non-null."); + } + + @Override + public Optional getMessageTopic() { + return Optional.ofNullable(messageTopic); + } + + @Override + public void setMessageTopic(String messageTopic) { + this.messageTopic = messageTopic; + } + + @Override + public Optional getMessageBroker() { + return Optional.ofNullable(messageBroker); + } + + @Override + public void setMessageBroker(IReference messageBroker) { + this.messageBroker = messageBroker; + } + + @Override + public Optional getLastUpdate() { + return Optional.ofNullable(lastUpdate); + } + + @Override + public void setLastUpdate(String lastUpdate) { + this.lastUpdate = lastUpdate; + } + + @Override + public Optional getMinInterval() { + return Optional.ofNullable(minInterval); + } + + @Override + public void setMinInterval(String minInterval) { + this.minInterval = minInterval; + } + + @Override + public Optional getMaxInterval() { + return Optional.ofNullable(maxInterval); + } + + @Override + public void setMaxInterval(String maxInterval) { + this.maxInterval = maxInterval; + } + + /** + * Iterate over {@link BasicEventElementMetadata#extensions}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link BasicEventElementMetadata#displayName}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link BasicEventElementMetadata#description}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link BasicEventElementMetadata#supplementalSemanticIds}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link BasicEventElementMetadata#qualifiers}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link BasicEventElementMetadata#embeddedDataSpecifications}, if set, and + * otherwise return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _BasicEventElementMetadataRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _BasicEventElementMetadataIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitBasicEventElementMetadata(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBasicEventElementMetadata(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformBasicEventElementMetadata(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBasicEventElementMetadata(this, context); + } + + private class _BasicEventElementMetadataIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(BasicEventElementMetadata.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + BasicEventElementMetadata.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + BasicEventElementMetadata.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(BasicEventElementMetadata.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + BasicEventElementMetadata.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(BasicEventElementMetadata.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + BasicEventElementMetadata.this.embeddedDataSpecifications, false)); + } + + if (messageBroker != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(BasicEventElementMetadata.this.messageBroker)); + } + + return memberStream; + } + } + + private class _BasicEventElementMetadataRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(BasicEventElementMetadata.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + BasicEventElementMetadata.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + BasicEventElementMetadata.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(BasicEventElementMetadata.this.semanticId), + StreamSupport.stream( + BasicEventElementMetadata.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + BasicEventElementMetadata.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(BasicEventElementMetadata.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + BasicEventElementMetadata.this.embeddedDataSpecifications, true)); + } + + if (messageBroker != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(BasicEventElementMetadata.this.messageBroker), + StreamSupport.stream( + BasicEventElementMetadata.this.messageBroker.descend().spliterator(), + false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/BasicEventElementValue.java b/src/main/java/aas_core/aas3_2/types/impl/BasicEventElementValue.java new file mode 100644 index 00000000..d78b95fe --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/BasicEventElementValue.java @@ -0,0 +1,173 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IBasicEventElementValue; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The value of a {@link aas_core.aas3_2.types.impl.BasicEventElement}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class BasicEventElementValue implements IBasicEventElementValue { + /** + * Reference to the {@link aas_core.aas3_2.types.model.IReferable}, which defines the scope of the + * event. + */ + private IReference observed; + + public BasicEventElementValue(IReference observed) { + this.observed = Objects.requireNonNull(observed, "Argument \"observed\" must be non-null."); + } + + @Override + public IReference getObserved() { + return observed; + } + + @Override + public void setObserved(IReference observed) { + this.observed = Objects.requireNonNull(observed, "Argument \"observed\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _BasicEventElementValueRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _BasicEventElementValueIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitBasicEventElementValue(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBasicEventElementValue(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformBasicEventElementValue(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBasicEventElementValue(this, context); + } + + private class _BasicEventElementValueIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (observed != null) { + memberStream = + Stream.concat(memberStream, Stream.of(BasicEventElementValue.this.observed)); + } + + return memberStream; + } + } + + private class _BasicEventElementValueRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (observed != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(BasicEventElementValue.this.observed), + StreamSupport.stream( + BasicEventElementValue.this.observed.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/Blob.java b/src/main/java/aas_core/aas3_2/types/impl/Blob.java new file mode 100644 index 00000000..77db5c23 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/Blob.java @@ -0,0 +1,498 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IBlob; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A {@link aas_core.aas3_2.types.impl.Blob} is a data element that represents a file that is + * contained in the {@link #getValue()} attribute with its source code. + */ +public class Blob implements IBlob { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * The value of the {@link aas_core.aas3_2.types.impl.Blob} instance of a blob data element. + * + *

In contrast to the file property the file content is stored directly as value in the {@link + * aas_core.aas3_2.types.impl.Blob} data element. + */ + private byte[] value; + + /** + * Content type of the content of the {@link aas_core.aas3_2.types.impl.Blob}. + * + *

The content type (MIME type) states which file extensions the file can have. + * + *

Valid values are content types like {@code application/json}, {@code application/xls}, + * {@code image/jpg}. + * + *

The allowed values are defined as in RFC2046. + */ + private String contentType; + + public Blob() { + // Intentionally empty. + } + + public Blob( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + byte[] value, + String contentType) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.contentType = contentType; + this.value = value; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(byte[] value) { + this.value = value; + } + + @Override + public Optional getContentType() { + return Optional.ofNullable(contentType); + } + + @Override + public void setContentType(String contentType) { + this.contentType = contentType; + } + + /** Iterate over {@link Blob#extensions}, if set, and otherwise return an empty iterator. */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Blob#displayName}, if set, and otherwise return an empty iterator. */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Blob#description}, if set, and otherwise return an empty iterator. */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Blob#supplementalSemanticIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Blob#qualifiers}, if set, and otherwise return an empty iterator. */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Blob#embeddedDataSpecifications}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _BlobRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _BlobIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitBlob(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBlob(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformBlob(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBlob(this, context); + } + + private class _BlobIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Blob.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Blob.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Blob.this.description, false)); + } + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Blob.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Blob.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Blob.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Blob.this.embeddedDataSpecifications, false)); + } + + return memberStream; + } + } + + private class _BlobRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Blob.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Blob.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Blob.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Blob.this.semanticId), + StreamSupport.stream(Blob.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Blob.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Blob.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Blob.this.embeddedDataSpecifications, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/BlobMetadata.java b/src/main/java/aas_core/aas3_2/types/impl/BlobMetadata.java new file mode 100644 index 00000000..2b5b2922 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/BlobMetadata.java @@ -0,0 +1,469 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IBlobMetadata; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.Blob}, without its value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class BlobMetadata implements IBlobMetadata { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public BlobMetadata() { + // Intentionally empty. + } + + public BlobMetadata( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + /** + * Iterate over {@link BlobMetadata#extensions}, if set, and otherwise return an empty iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link BlobMetadata#displayName}, if set, and otherwise return an empty iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link BlobMetadata#description}, if set, and otherwise return an empty iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link BlobMetadata#supplementalSemanticIds}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link BlobMetadata#qualifiers}, if set, and otherwise return an empty iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link BlobMetadata#embeddedDataSpecifications}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _BlobMetadataRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _BlobMetadataIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitBlobMetadata(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBlobMetadata(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformBlobMetadata(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBlobMetadata(this, context); + } + + private class _BlobMetadataIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(BlobMetadata.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(BlobMetadata.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(BlobMetadata.this.description, false)); + } + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(BlobMetadata.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(BlobMetadata.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(BlobMetadata.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + BlobMetadata.this.embeddedDataSpecifications, false)); + } + + return memberStream; + } + } + + private class _BlobMetadataRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(BlobMetadata.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(BlobMetadata.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(BlobMetadata.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(BlobMetadata.this.semanticId), + StreamSupport.stream( + BlobMetadata.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(BlobMetadata.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(BlobMetadata.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + BlobMetadata.this.embeddedDataSpecifications, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/BlobValue.java b/src/main/java/aas_core/aas3_2/types/impl/BlobValue.java new file mode 100644 index 00000000..9b088e07 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/BlobValue.java @@ -0,0 +1,111 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IBlobValue; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Optional; + +/** + * The value of a {@link aas_core.aas3_2.types.impl.Blob}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class BlobValue implements IBlobValue { + /** The content type of the BLOB, e.g., {@code application/pdf}. */ + private String contentType; + + /** The BLOB content. */ + private byte[] value; + + public BlobValue() { + // Intentionally empty. + } + + public BlobValue(String contentType, byte[] value) { + this.contentType = contentType; + this.value = value; + } + + @Override + public Optional getContentType() { + return Optional.ofNullable(contentType); + } + + @Override + public void setContentType(String contentType) { + this.contentType = contentType; + } + + @Override + public Optional getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(byte[] value) { + this.value = value; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitBlobValue(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBlobValue(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformBlobValue(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBlobValue(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/BooleanCast.java b/src/main/java/aas_core/aas3_2/types/impl/BooleanCast.java new file mode 100644 index 00000000..5f18b1f3 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/BooleanCast.java @@ -0,0 +1,171 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IBooleanCast; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Cast the operand to {@code xs:boolean}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#casting + */ +public class BooleanCast implements IBooleanCast { + /** The operand to be cast */ + private Value boolCast; + + public BooleanCast(Value boolCast) { + this.boolCast = Objects.requireNonNull(boolCast, "Argument \"boolCast\" must be non-null."); + } + + @Override + public Value getBoolCast() { + return boolCast; + } + + @Override + public void setBoolCast(Value boolCast) { + this.boolCast = Objects.requireNonNull(boolCast, "Argument \"boolCast\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _BooleanCastRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _BooleanCastIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitBooleanCast(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBooleanCast(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformBooleanCast(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBooleanCast(this, context); + } + + private class _BooleanCastIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (boolCast != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(BooleanCast.this.boolCast.getUnderlying())); + } + + return memberStream; + } + } + + private class _BooleanCastRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (boolCast != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(BooleanCast.this.boolCast.getUnderlying()), + StreamSupport.stream( + BooleanCast.this.boolCast.getUnderlying().descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/BooleanLiteral.java b/src/main/java/aas_core/aas3_2/types/impl/BooleanLiteral.java new file mode 100644 index 00000000..645c10ea --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/BooleanLiteral.java @@ -0,0 +1,90 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IBooleanLiteral; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** + * Use a boolean literal as an operand or as a logical expression. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public class BooleanLiteral implements IBooleanLiteral { + /** The boolean value */ + private Boolean booleaN; + + public BooleanLiteral(Boolean booleaN) { + this.booleaN = Objects.requireNonNull(booleaN, "Argument \"booleaN\" must be non-null."); + } + + @Override + public Boolean getBoolean() { + return booleaN; + } + + @Override + public void setBoolean(Boolean booleaN) { + this.booleaN = Objects.requireNonNull(booleaN, "Argument \"booleaN\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitBooleanLiteral(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBooleanLiteral(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformBooleanLiteral(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBooleanLiteral(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/Capability.java b/src/main/java/aas_core/aas3_2/types/impl/Capability.java new file mode 100644 index 00000000..b49320e6 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/Capability.java @@ -0,0 +1,464 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ICapability; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A capability is the implementation-independent description of the potential of an asset to + * achieve a certain effect in the physical or virtual world. + * + *

The {@link #getSemanticId()} of a capability is typically an ontology, which enables reasoning + * on capabilities. The mapping to one or more skills implementing the capability is done via a + * relationship element with the corresponding semantics. A skill is typically a property or an + * operation. In more complex cases, the mapping can also be a collection or a complete submodel. + */ +public class Capability implements ICapability { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public Capability() { + // Intentionally empty. + } + + public Capability( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + /** Iterate over {@link Capability#extensions}, if set, and otherwise return an empty iterator. */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Capability#displayName}, if set, and otherwise return an empty iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Capability#description}, if set, and otherwise return an empty iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Capability#supplementalSemanticIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Capability#qualifiers}, if set, and otherwise return an empty iterator. */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Capability#embeddedDataSpecifications}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _CapabilityRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _CapabilityIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitCapability(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitCapability(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformCapability(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformCapability(this, context); + } + + private class _CapabilityIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Capability.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Capability.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Capability.this.description, false)); + } + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Capability.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Capability.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Capability.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Capability.this.embeddedDataSpecifications, false)); + } + + return memberStream; + } + } + + private class _CapabilityRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Capability.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Capability.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Capability.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Capability.this.semanticId), + StreamSupport.stream( + Capability.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Capability.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Capability.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Capability.this.embeddedDataSpecifications, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/CapabilityMetadata.java b/src/main/java/aas_core/aas3_2/types/impl/CapabilityMetadata.java new file mode 100644 index 00000000..3bfb8d9d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/CapabilityMetadata.java @@ -0,0 +1,482 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ICapabilityMetadata; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.Capability}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class CapabilityMetadata implements ICapabilityMetadata { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public CapabilityMetadata() { + // Intentionally empty. + } + + public CapabilityMetadata( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + /** + * Iterate over {@link CapabilityMetadata#extensions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link CapabilityMetadata#displayName}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link CapabilityMetadata#description}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link CapabilityMetadata#supplementalSemanticIds}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link CapabilityMetadata#qualifiers}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link CapabilityMetadata#embeddedDataSpecifications}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _CapabilityMetadataRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _CapabilityMetadataIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitCapabilityMetadata(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitCapabilityMetadata(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformCapabilityMetadata(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformCapabilityMetadata(this, context); + } + + private class _CapabilityMetadataIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(CapabilityMetadata.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + CapabilityMetadata.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + CapabilityMetadata.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(CapabilityMetadata.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + CapabilityMetadata.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(CapabilityMetadata.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + CapabilityMetadata.this.embeddedDataSpecifications, false)); + } + + return memberStream; + } + } + + private class _CapabilityMetadataRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(CapabilityMetadata.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + CapabilityMetadata.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + CapabilityMetadata.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(CapabilityMetadata.this.semanticId), + StreamSupport.stream( + CapabilityMetadata.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + CapabilityMetadata.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(CapabilityMetadata.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + CapabilityMetadata.this.embeddedDataSpecifications, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/ClaimAttribute.java b/src/main/java/aas_core/aas3_2/types/impl/ClaimAttribute.java new file mode 100644 index 00000000..2276c9dc --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/ClaimAttribute.java @@ -0,0 +1,90 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IClaimAttribute; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** + * Refer to a claim of the requester, e.g., from an access token. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public class ClaimAttribute implements IClaimAttribute { + /** Name of the claim */ + private String claim; + + public ClaimAttribute(String claim) { + this.claim = Objects.requireNonNull(claim, "Argument \"claim\" must be non-null."); + } + + @Override + public String getClaim() { + return claim; + } + + @Override + public void setClaim(String claim) { + this.claim = Objects.requireNonNull(claim, "Argument \"claim\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitClaimAttribute(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitClaimAttribute(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformClaimAttribute(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformClaimAttribute(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/ConceptDescription.java b/src/main/java/aas_core/aas3_2/types/impl/ConceptDescription.java new file mode 100644 index 00000000..6430ab64 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/ConceptDescription.java @@ -0,0 +1,495 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IConceptDescription; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The semantics of a property or other elements that may have a semantic description is defined by + * a concept description. + * + *

The description of the concept should follow a standardized schema (realized as data + * specification template). + * + *

Constraints: + * + *

    + *
  • Constraint AASc-3a-004: For a {@link aas_core.aas3_2.types.impl.ConceptDescription} with + * {@link #getCategory()} {@code PROPERTY} or {@code VALUE} using data specification IEC61360, + * the {@link aas_core.aas3_2.types.impl.DataSpecificationIec61360#getDataType()} is mandatory + * and shall be one of: {@code DATE}, {@code STRING}, {@code STRING_TRANSLATABLE}, {@code + * INTEGER_MEASURE}, {@code INTEGER_COUNT}, {@code INTEGER_CURRENCY}, {@code REAL_MEASURE}, + * {@code REAL_COUNT}, {@code REAL_CURRENCY}, {@code BOOLEAN}, {@code RATIONAL}, {@code + * RATIONAL_MEASURE}, {@code TIME}, {@code TIMESTAMP}. + *

    Note: categories are deprecated since V3.0 of Part 1a of the document series "Details of + * the Asset Administration Shell". + *

  • Constraint AASc-3a-005: For a {@link aas_core.aas3_2.types.impl.ConceptDescription} with + * {@link #getCategory()} {@code REFERENCE} using data specification template IEC61360, the + * {@link aas_core.aas3_2.types.impl.DataSpecificationIec61360#getDataType()} shall be one of: + * {@code STRING}, {@code IRI}, {@code IRDI}. + *

    Note: categories are deprecated since V3.0 of Part 1a of the document series "Details of + * the Asset Administration Shell". + *

  • Constraint AASc-3a-006: For a {@link aas_core.aas3_2.types.impl.ConceptDescription} with + * {@link #getCategory()} {@code DOCUMENT} using data specification IEC61360, the {@link + * aas_core.aas3_2.types.impl.DataSpecificationIec61360#getDataType()} shall be one of {@code + * FILE}, {@code BLOB}, {@code HTML} + *

    Categories are deprecated since V3.0 of Part 1a of the document series "Details of the + * Asset Administration Shell". + *

  • Constraint AASc-3a-007: For a {@link aas_core.aas3_2.types.impl.ConceptDescription} with + * {@link #getCategory()} {@code QUALIFIER_TYPE} using data specification IEC61360, the {@link + * aas_core.aas3_2.types.impl.DataSpecificationIec61360#getDataType()} is mandatory and shall + * be defined. + *

    Categories are deprecated since V3.0 of Part 1a of the document series "Details of the + * Asset Administration Shell". + *

  • Constraint AASc-3a-008: For a {@link aas_core.aas3_2.types.impl.ConceptDescription} using + * data specification template IEC61360, {@link + * aas_core.aas3_2.types.impl.DataSpecificationIec61360#getDefinition()} is mandatory and + * shall be defined at least in English. + *

    Exception: The concept description describes a value, i.e. {@link + * aas_core.aas3_2.types.impl.DataSpecificationIec61360#getValue()} is defined. + *

  • Constraint AASc-3a-003: For a {@link aas_core.aas3_2.types.impl.ConceptDescription} using + * data specification template IEC61360, referenced via {@link + * aas_core.aas3_2.types.impl.DataSpecificationIec61360#getValueList()} {@link + * aas_core.aas3_2.types.impl.ValueReferencePair#getValueId()} the {@link + * aas_core.aas3_2.types.impl.DataSpecificationIec61360#getValue()} shall be set. + *
+ */ +public class ConceptDescription implements IConceptDescription { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Administrative information of an identifiable element. + * + *

Some of the administrative information like the version number might need to be part of the + * identification. + */ + private IAdministrativeInformation administration; + + /** The globally unique identification of the element. */ + private String id; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * Reference to an external definition the concept is compatible to or was derived from. + * + *

Compare with is-case-of relationship in ISO 13584-32 & IEC EN 61360 + */ + private List isCaseOf; + + public ConceptDescription(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + public ConceptDescription( + String id, + List extensions, + String category, + String idShort, + List displayName, + List description, + IAdministrativeInformation administration, + List embeddedDataSpecifications, + List isCaseOf) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + this.administration = administration; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.isCaseOf = isCaseOf; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getAdministration() { + return Optional.ofNullable(administration); + } + + @Override + public void setAdministration(IAdministrativeInformation administration) { + this.administration = administration; + } + + @Override + public String getId() { + return id; + } + + @Override + public void setId(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getIsCaseOf() { + return Optional.ofNullable(isCaseOf); + } + + @Override + public void setIsCaseOf(List isCaseOf) { + this.isCaseOf = isCaseOf; + } + + /** + * Iterate over {@link ConceptDescription#extensions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ConceptDescription#displayName}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ConceptDescription#description}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ConceptDescription#embeddedDataSpecifications}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ConceptDescription#isCaseOf}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overIsCaseOfOrEmpty() { + return getIsCaseOf().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _ConceptDescriptionRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _ConceptDescriptionIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitConceptDescription(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitConceptDescription(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformConceptDescription(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformConceptDescription(this, context); + } + + private class _ConceptDescriptionIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(ConceptDescription.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + ConceptDescription.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + ConceptDescription.this.description, false)); + } + + if (administration != null) { + memberStream = + Stream.concat(memberStream, Stream.of(ConceptDescription.this.administration)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + ConceptDescription.this.embeddedDataSpecifications, false)); + } + + if (isCaseOf != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(ConceptDescription.this.isCaseOf, false)); + } + + return memberStream; + } + } + + private class _ConceptDescriptionRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(ConceptDescription.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + ConceptDescription.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + ConceptDescription.this.description, true)); + } + + if (administration != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(ConceptDescription.this.administration), + StreamSupport.stream( + ConceptDescription.this.administration.descend().spliterator(), false))); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + ConceptDescription.this.embeddedDataSpecifications, true)); + } + + if (isCaseOf != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(ConceptDescription.this.isCaseOf, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/ConceptDescriptionRecentChange.java b/src/main/java/aas_core/aas3_2/types/impl/ConceptDescriptionRecentChange.java new file mode 100644 index 00000000..a2c3cd3e --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/ConceptDescriptionRecentChange.java @@ -0,0 +1,119 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IConceptDescriptionRecentChange; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** + * This class is not part of the metamodel. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#ConceptDescriptionRecentChange + */ +public class ConceptDescriptionRecentChange implements IConceptDescriptionRecentChange { + /** The point in time at which the Identifiable object was created */ + private String createdAt; + + /** The point in time at which the Identifiable object was recently updated */ + private String updatedAt; + + /** Globally unique identification of the Submodel */ + private String id; + + public ConceptDescriptionRecentChange(String createdAt, String updatedAt, String id) { + this.createdAt = Objects.requireNonNull(createdAt, "Argument \"createdAt\" must be non-null."); + this.updatedAt = Objects.requireNonNull(updatedAt, "Argument \"updatedAt\" must be non-null."); + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + @Override + public String getCreatedAt() { + return createdAt; + } + + @Override + public void setCreatedAt(String createdAt) { + this.createdAt = Objects.requireNonNull(createdAt, "Argument \"createdAt\" must be non-null."); + } + + @Override + public String getUpdatedAt() { + return updatedAt; + } + + @Override + public void setUpdatedAt(String updatedAt) { + this.updatedAt = Objects.requireNonNull(updatedAt, "Argument \"updatedAt\" must be non-null."); + } + + @Override + public String getId() { + return id; + } + + @Override + public void setId(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitConceptDescriptionRecentChange(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitConceptDescriptionRecentChange(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformConceptDescriptionRecentChange(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformConceptDescriptionRecentChange(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/ContainsComparison.java b/src/main/java/aas_core/aas3_2/types/impl/ContainsComparison.java new file mode 100644 index 00000000..ff127c02 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/ContainsComparison.java @@ -0,0 +1,170 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IContainsComparison; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * Check whether the second string operand is a substring of the first one. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + */ +public class ContainsComparison implements IContainsComparison { + /** The two string operands */ + private Tuple2 contains; + + public ContainsComparison(Tuple2 contains) { + this.contains = Objects.requireNonNull(contains, "Argument \"contains\" must be non-null."); + } + + @Override + public Tuple2 getContains() { + return contains; + } + + @Override + public void setContains(Tuple2 contains) { + this.contains = Objects.requireNonNull(contains, "Argument \"contains\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _ContainsComparisonRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _ContainsComparisonIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitContainsComparison(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitContainsComparison(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformContainsComparison(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformContainsComparison(this, context); + } + + private class _ContainsComparisonIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (contains != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendTupleOf2_StringValue_StringValue( + ContainsComparison.this.contains, false)); + } + + return memberStream; + } + } + + private class _ContainsComparisonRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (contains != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendTupleOf2_StringValue_StringValue( + ContainsComparison.this.contains, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/DataSpecificationIec61360.java b/src/main/java/aas_core/aas3_2/types/impl/DataSpecificationIec61360.java new file mode 100644 index 00000000..44f9f9b8 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/DataSpecificationIec61360.java @@ -0,0 +1,493 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IDataSpecificationIec61360; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Content of data specification template for concept descriptions for properties, values and value + * lists conformant to IEC 61360. + * + *

IEC61360 requires also a globally unique identifier for a concept description. This ID is not + * part of the data specification template. Instead the {@link + * aas_core.aas3_2.types.impl.ConceptDescription#getId()} as inherited via {@link + * aas_core.aas3_2.types.model.IIdentifiable} is used. Same holds for administrative information + * like the version and revision. + * + *

{@link aas_core.aas3_2.types.impl.ConceptDescription#getIdShort()} and {@link #getShortName()} + * are very similar. However, in this case the decision was to add {@link #getShortName()} + * explicitly to the data specification. Same holds for {@link + * aas_core.aas3_2.types.impl.ConceptDescription#getDisplayName()} and {@link #getPreferredName()}. + * Same holds for {@link aas_core.aas3_2.types.impl.ConceptDescription#getDescription()} and {@link + * #getDefinition()}. + * + *

Constraints: + * + *

    + *
  • Constraint AASc-3a-010: If {@link #getValue()} is not empty then {@link #getValueList()} + * shall be empty and vice versa. + *

    It is also possible that both {@link #getValue()} and {@link #getValueList()} are empty. + * This is the case for concept descriptions that define the semantics of a property but do + * not have an enumeration ({@link #getValueList()}) as data type. + *

    Although it is possible to define a {@link + * aas_core.aas3_2.types.impl.ConceptDescription} for a :attr:´value_list`, it is not possible + * to reuse this {@link #getValueList()}. It is only possible to directly add a {@link + * #getValueList()} as data type to a specific semantic definition of a property. + *

  • Constraint AASc-3a-009: If {@link #getDataType()} one of: {@link + * aas_core.aas3_2.types.enums.DataTypeIec61360#INTEGER_MEASURE}, {@link + * aas_core.aas3_2.types.enums.DataTypeIec61360#REAL_MEASURE}, {@link + * aas_core.aas3_2.types.enums.DataTypeIec61360#RATIONAL_MEASURE}, {@link + * aas_core.aas3_2.types.enums.DataTypeIec61360#INTEGER_CURRENCY}, {@link + * aas_core.aas3_2.types.enums.DataTypeIec61360#REAL_CURRENCY}, then {@link #getUnit()} or + * {@link #getUnitId()} shall be defined. + *
+ */ +public class DataSpecificationIec61360 implements IDataSpecificationIec61360 { + /** + * Preferred name + * + *

It is advised to keep the length of the name limited to 35 characters. + * + *

Constraints: + * + *

    + *
  • Constraint AASc-3a-002: {@link #getPreferredName()} shall be provided at least in + * English. + *
+ */ + private List preferredName; + + /** Short name */ + private List shortName; + + /** Unit */ + private String unit; + + /** + * Unique unit id + * + *

{@link #getUnit()} and {@link #getUnitId()} need to be consistent if both attributes are set + * + *

It is recommended to use an external reference ID. + */ + private IReference unitId; + + /** Source of definition */ + private String sourceOfDefinition; + + /** Symbol */ + private String symbol; + + /** Data Type */ + private DataTypeIec61360 dataType; + + /** Definition in different languages */ + private List definition; + + /** + * Value Format + * + *

The value format is based on ISO 13584-42 and IEC 61360-2. + */ + private String valueFormat; + + /** List of allowed values */ + private IValueList valueList; + + /** Value */ + private String value; + + /** Set of levels. */ + private ILevelType levelType; + + public DataSpecificationIec61360(List preferredName) { + this.preferredName = + Objects.requireNonNull(preferredName, "Argument \"preferredName\" must be non-null."); + } + + public DataSpecificationIec61360( + List preferredName, + List shortName, + String unit, + IReference unitId, + String sourceOfDefinition, + String symbol, + DataTypeIec61360 dataType, + List definition, + String valueFormat, + IValueList valueList, + String value, + ILevelType levelType) { + this.preferredName = + Objects.requireNonNull(preferredName, "Argument \"preferredName\" must be non-null."); + this.shortName = shortName; + this.unit = unit; + this.unitId = unitId; + this.sourceOfDefinition = sourceOfDefinition; + this.symbol = symbol; + this.dataType = dataType; + this.definition = definition; + this.valueFormat = valueFormat; + this.valueList = valueList; + this.value = value; + this.levelType = levelType; + } + + @Override + public List getPreferredName() { + return preferredName; + } + + @Override + public void setPreferredName(List preferredName) { + this.preferredName = + Objects.requireNonNull(preferredName, "Argument \"preferredName\" must be non-null."); + } + + @Override + public Optional> getShortName() { + return Optional.ofNullable(shortName); + } + + @Override + public void setShortName(List shortName) { + this.shortName = shortName; + } + + @Override + public Optional getUnit() { + return Optional.ofNullable(unit); + } + + @Override + public void setUnit(String unit) { + this.unit = unit; + } + + @Override + public Optional getUnitId() { + return Optional.ofNullable(unitId); + } + + @Override + public void setUnitId(IReference unitId) { + this.unitId = unitId; + } + + @Override + public Optional getSourceOfDefinition() { + return Optional.ofNullable(sourceOfDefinition); + } + + @Override + public void setSourceOfDefinition(String sourceOfDefinition) { + this.sourceOfDefinition = sourceOfDefinition; + } + + @Override + public Optional getSymbol() { + return Optional.ofNullable(symbol); + } + + @Override + public void setSymbol(String symbol) { + this.symbol = symbol; + } + + @Override + public Optional getDataType() { + return Optional.ofNullable(dataType); + } + + @Override + public void setDataType(DataTypeIec61360 dataType) { + this.dataType = dataType; + } + + @Override + public Optional> getDefinition() { + return Optional.ofNullable(definition); + } + + @Override + public void setDefinition(List definition) { + this.definition = definition; + } + + @Override + public Optional getValueFormat() { + return Optional.ofNullable(valueFormat); + } + + @Override + public void setValueFormat(String valueFormat) { + this.valueFormat = valueFormat; + } + + @Override + public Optional getValueList() { + return Optional.ofNullable(valueList); + } + + @Override + public void setValueList(IValueList valueList) { + this.valueList = valueList; + } + + @Override + public Optional getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(String value) { + this.value = value; + } + + @Override + public Optional getLevelType() { + return Optional.ofNullable(levelType); + } + + @Override + public void setLevelType(ILevelType levelType) { + this.levelType = levelType; + } + + /** + * Iterate over {@link DataSpecificationIec61360#shortName}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overShortNameOrEmpty() { + return getShortName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link DataSpecificationIec61360#definition}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDefinitionOrEmpty() { + return getDefinition().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _DataSpecificationIec61360RecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _DataSpecificationIec61360Iterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitDataSpecificationIec61360(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitDataSpecificationIec61360(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformDataSpecificationIec61360(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformDataSpecificationIec61360(this, context); + } + + private class _DataSpecificationIec61360Iterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (preferredName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringPreferredNameTypeIec61360( + DataSpecificationIec61360.this.preferredName, false)); + } + + if (shortName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringShortNameTypeIec61360( + DataSpecificationIec61360.this.shortName, false)); + } + + if (unitId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(DataSpecificationIec61360.this.unitId)); + } + + if (definition != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringDefinitionTypeIec61360( + DataSpecificationIec61360.this.definition, false)); + } + + if (valueList != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(DataSpecificationIec61360.this.valueList)); + } + + if (levelType != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(DataSpecificationIec61360.this.levelType)); + } + + return memberStream; + } + } + + private class _DataSpecificationIec61360RecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (preferredName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringPreferredNameTypeIec61360( + DataSpecificationIec61360.this.preferredName, true)); + } + + if (shortName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringShortNameTypeIec61360( + DataSpecificationIec61360.this.shortName, true)); + } + + if (unitId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(DataSpecificationIec61360.this.unitId), + StreamSupport.stream( + DataSpecificationIec61360.this.unitId.descend().spliterator(), false))); + } + + if (definition != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringDefinitionTypeIec61360( + DataSpecificationIec61360.this.definition, true)); + } + + if (valueList != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(DataSpecificationIec61360.this.valueList), + StreamSupport.stream( + DataSpecificationIec61360.this.valueList.descend().spliterator(), false))); + } + + if (levelType != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(DataSpecificationIec61360.this.levelType), + StreamSupport.stream( + DataSpecificationIec61360.this.levelType.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/DataSpecificationUom.java b/src/main/java/aas_core/aas3_2/types/impl/DataSpecificationUom.java new file mode 100644 index 00000000..3d814e62 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/DataSpecificationUom.java @@ -0,0 +1,358 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IDataSpecificationUom; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** Content of data specification template for concept descriptions for Units of Measurement. */ +public class DataSpecificationUom implements IDataSpecificationUom { + /** Preferred name of the unit in different languages as defined by the classification system. */ + private List preferredName; + + /** Symbol of the unit. */ + private String symbol; + + /** + * ID of the unit defined by the classification system. + * + *

This is relevant if the classification system references the unit differently from the + * concept description ID. + */ + private String specificUnitId; + + /** Definition of the unit in different languages. */ + private List definition; + + /** + * Preferred name of the unit's quantity in different languages as defined by the classification + * system. + * + *

{@link #getPreferredNameQuantity()} and {@link #getQuantityId()} must be consistent if both + * attributes are set. + * + *

If the classification system lists multiple quantities for the unit, exactly one of those + * quantities must be selected in accordance with the properties purpose. + */ + private List preferredNameQuantity; + + /** + * ID of the unit's quantity. + * + *

{@link #getPreferredNameQuantity()} and {@link #getQuantityId()} must be consistent if both + * attributes are set. + */ + private String quantityId; + + /** + * Name of the classification system used for the definition of units and quantities. + * + *

The most prominent classification systems should be denoted as follows: "ECLASS", "IEC CDD", + * "UNECE Rec 20", "UNECE Rec 21", "BIPM", "OPC UA", "SAMM". + * + *

This list is not exclusive. + */ + private String classificationSystem; + + /** + * Version of the classification system used for the definition of units and quantities. + * + *

The version shshould be denoted exactly as provided by the classification system. + */ + private String classificationSystemVersion; + + public DataSpecificationUom(List preferredName, String symbol) { + this.preferredName = + Objects.requireNonNull(preferredName, "Argument \"preferredName\" must be non-null."); + this.symbol = Objects.requireNonNull(symbol, "Argument \"symbol\" must be non-null."); + } + + public DataSpecificationUom( + List preferredName, + String symbol, + String specificUnitId, + List definition, + List preferredNameQuantity, + String quantityId, + String classificationSystem, + String classificationSystemVersion) { + this.preferredName = + Objects.requireNonNull(preferredName, "Argument \"preferredName\" must be non-null."); + this.symbol = Objects.requireNonNull(symbol, "Argument \"symbol\" must be non-null."); + this.specificUnitId = specificUnitId; + this.definition = definition; + this.preferredNameQuantity = preferredNameQuantity; + this.quantityId = quantityId; + this.classificationSystem = classificationSystem; + this.classificationSystemVersion = classificationSystemVersion; + } + + @Override + public List getPreferredName() { + return preferredName; + } + + @Override + public void setPreferredName(List preferredName) { + this.preferredName = + Objects.requireNonNull(preferredName, "Argument \"preferredName\" must be non-null."); + } + + @Override + public String getSymbol() { + return symbol; + } + + @Override + public void setSymbol(String symbol) { + this.symbol = Objects.requireNonNull(symbol, "Argument \"symbol\" must be non-null."); + } + + @Override + public Optional getSpecificUnitId() { + return Optional.ofNullable(specificUnitId); + } + + @Override + public void setSpecificUnitId(String specificUnitId) { + this.specificUnitId = specificUnitId; + } + + @Override + public Optional> getDefinition() { + return Optional.ofNullable(definition); + } + + @Override + public void setDefinition(List definition) { + this.definition = definition; + } + + @Override + public Optional> getPreferredNameQuantity() { + return Optional.ofNullable(preferredNameQuantity); + } + + @Override + public void setPreferredNameQuantity(List preferredNameQuantity) { + this.preferredNameQuantity = preferredNameQuantity; + } + + @Override + public Optional getQuantityId() { + return Optional.ofNullable(quantityId); + } + + @Override + public void setQuantityId(String quantityId) { + this.quantityId = quantityId; + } + + @Override + public Optional getClassificationSystem() { + return Optional.ofNullable(classificationSystem); + } + + @Override + public void setClassificationSystem(String classificationSystem) { + this.classificationSystem = classificationSystem; + } + + @Override + public Optional getClassificationSystemVersion() { + return Optional.ofNullable(classificationSystemVersion); + } + + @Override + public void setClassificationSystemVersion(String classificationSystemVersion) { + this.classificationSystemVersion = classificationSystemVersion; + } + + /** + * Iterate over {@link DataSpecificationUom#definition}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDefinitionOrEmpty() { + return getDefinition().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link DataSpecificationUom#preferredNameQuantity}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overPreferredNameQuantityOrEmpty() { + return getPreferredNameQuantity().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _DataSpecificationUomRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _DataSpecificationUomIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitDataSpecificationUom(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitDataSpecificationUom(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformDataSpecificationUom(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformDataSpecificationUom(this, context); + } + + private class _DataSpecificationUomIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (preferredName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringUom( + DataSpecificationUom.this.preferredName, false)); + } + + if (definition != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IDefinitionTypeUom( + DataSpecificationUom.this.definition, false)); + } + + if (preferredNameQuantity != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringUom( + DataSpecificationUom.this.preferredNameQuantity, false)); + } + + return memberStream; + } + } + + private class _DataSpecificationUomRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (preferredName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringUom( + DataSpecificationUom.this.preferredName, true)); + } + + if (definition != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IDefinitionTypeUom( + DataSpecificationUom.this.definition, true)); + } + + if (preferredNameQuantity != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringUom( + DataSpecificationUom.this.preferredNameQuantity, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/DateTimeAttributeItem.java b/src/main/java/aas_core/aas3_2/types/impl/DateTimeAttributeItem.java new file mode 100644 index 00000000..66de52a1 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/DateTimeAttributeItem.java @@ -0,0 +1,90 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IDateTimeAttributeItem; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** + * Refer to a global attribute which gives a date and time. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public class DateTimeAttributeItem implements IDateTimeAttributeItem { + /** Kind of the global attribute */ + private DateTimeGlobalAttributeKind kind; + + public DateTimeAttributeItem(DateTimeGlobalAttributeKind kind) { + this.kind = Objects.requireNonNull(kind, "Argument \"kind\" must be non-null."); + } + + @Override + public DateTimeGlobalAttributeKind getKind() { + return kind; + } + + @Override + public void setKind(DateTimeGlobalAttributeKind kind) { + this.kind = Objects.requireNonNull(kind, "Argument \"kind\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitDateTimeAttributeItem(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitDateTimeAttributeItem(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformDateTimeAttributeItem(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformDateTimeAttributeItem(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/DateTimeAttributeOperand.java b/src/main/java/aas_core/aas3_2/types/impl/DateTimeAttributeOperand.java new file mode 100644 index 00000000..b8951521 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/DateTimeAttributeOperand.java @@ -0,0 +1,167 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IDateTimeAttributeOperand; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Use a date-time global attribute as an operand. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public class DateTimeAttributeOperand implements IDateTimeAttributeOperand { + /** The attribute */ + private IDateTimeAttributeItem attribute; + + public DateTimeAttributeOperand(IDateTimeAttributeItem attribute) { + this.attribute = Objects.requireNonNull(attribute, "Argument \"attribute\" must be non-null."); + } + + @Override + public IDateTimeAttributeItem getAttribute() { + return attribute; + } + + @Override + public void setAttribute(IDateTimeAttributeItem attribute) { + this.attribute = Objects.requireNonNull(attribute, "Argument \"attribute\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _DateTimeAttributeOperandRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _DateTimeAttributeOperandIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitDateTimeAttributeOperand(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitDateTimeAttributeOperand(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformDateTimeAttributeOperand(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformDateTimeAttributeOperand(this, context); + } + + private class _DateTimeAttributeOperandIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (attribute != null) { + memberStream = + Stream.concat(memberStream, Stream.of(DateTimeAttributeOperand.this.attribute)); + } + + return memberStream; + } + } + + private class _DateTimeAttributeOperandRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (attribute != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(DateTimeAttributeOperand.this.attribute), + StreamSupport.stream( + DateTimeAttributeOperand.this.attribute.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/DateTimeCast.java b/src/main/java/aas_core/aas3_2/types/impl/DateTimeCast.java new file mode 100644 index 00000000..68d1dff5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/DateTimeCast.java @@ -0,0 +1,174 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IDateTimeCast; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Cast the string operand to {@code xs:dateTime}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#casting + */ +public class DateTimeCast implements IDateTimeCast { + /** The operand to be cast */ + private StringValue dateTimeCast; + + public DateTimeCast(StringValue dateTimeCast) { + this.dateTimeCast = + Objects.requireNonNull(dateTimeCast, "Argument \"dateTimeCast\" must be non-null."); + } + + @Override + public StringValue getDateTimeCast() { + return dateTimeCast; + } + + @Override + public void setDateTimeCast(StringValue dateTimeCast) { + this.dateTimeCast = + Objects.requireNonNull(dateTimeCast, "Argument \"dateTimeCast\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _DateTimeCastRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _DateTimeCastIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitDateTimeCast(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitDateTimeCast(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformDateTimeCast(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformDateTimeCast(this, context); + } + + private class _DateTimeCastIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (dateTimeCast != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(DateTimeCast.this.dateTimeCast.getUnderlying())); + } + + return memberStream; + } + } + + private class _DateTimeCastRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (dateTimeCast != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(DateTimeCast.this.dateTimeCast.getUnderlying()), + StreamSupport.stream( + DateTimeCast.this.dateTimeCast.getUnderlying().descend().spliterator(), + false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/DateTimeLiteral.java b/src/main/java/aas_core/aas3_2/types/impl/DateTimeLiteral.java new file mode 100644 index 00000000..febd20ca --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/DateTimeLiteral.java @@ -0,0 +1,92 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IDateTimeLiteral; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** + * Use a date-time literal as an operand. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public class DateTimeLiteral implements IDateTimeLiteral { + /** The date-time value */ + private String dateTimeVal; + + public DateTimeLiteral(String dateTimeVal) { + this.dateTimeVal = + Objects.requireNonNull(dateTimeVal, "Argument \"dateTimeVal\" must be non-null."); + } + + @Override + public String getDateTimeVal() { + return dateTimeVal; + } + + @Override + public void setDateTimeVal(String dateTimeVal) { + this.dateTimeVal = + Objects.requireNonNull(dateTimeVal, "Argument \"dateTimeVal\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitDateTimeLiteral(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitDateTimeLiteral(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformDateTimeLiteral(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformDateTimeLiteral(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/DayOfMonth.java b/src/main/java/aas_core/aas3_2/types/impl/DayOfMonth.java new file mode 100644 index 00000000..5f1fa8c8 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/DayOfMonth.java @@ -0,0 +1,171 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IDayOfMonth; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Extract the day of the month from the date-time operand as a number. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public class DayOfMonth implements IDayOfMonth { + /** The date-time operand */ + private DateTimeOperand dayOfMonth; + + public DayOfMonth(DateTimeOperand dayOfMonth) { + this.dayOfMonth = + Objects.requireNonNull(dayOfMonth, "Argument \"dayOfMonth\" must be non-null."); + } + + @Override + public DateTimeOperand getDayOfMonth() { + return dayOfMonth; + } + + @Override + public void setDayOfMonth(DateTimeOperand dayOfMonth) { + this.dayOfMonth = + Objects.requireNonNull(dayOfMonth, "Argument \"dayOfMonth\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _DayOfMonthRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _DayOfMonthIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitDayOfMonth(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitDayOfMonth(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformDayOfMonth(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformDayOfMonth(this, context); + } + + private class _DayOfMonthIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (dayOfMonth != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(DayOfMonth.this.dayOfMonth.getUnderlying())); + } + + return memberStream; + } + } + + private class _DayOfMonthRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (dayOfMonth != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(DayOfMonth.this.dayOfMonth.getUnderlying()), + StreamSupport.stream( + DayOfMonth.this.dayOfMonth.getUnderlying().descend().spliterator(), + false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/DayOfWeek.java b/src/main/java/aas_core/aas3_2/types/impl/DayOfWeek.java new file mode 100644 index 00000000..b04e6f56 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/DayOfWeek.java @@ -0,0 +1,168 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IDayOfWeek; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Extract the day of the week from the date-time operand as a number. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public class DayOfWeek implements IDayOfWeek { + /** The date-time operand */ + private DateTimeOperand dayOfWeek; + + public DayOfWeek(DateTimeOperand dayOfWeek) { + this.dayOfWeek = Objects.requireNonNull(dayOfWeek, "Argument \"dayOfWeek\" must be non-null."); + } + + @Override + public DateTimeOperand getDayOfWeek() { + return dayOfWeek; + } + + @Override + public void setDayOfWeek(DateTimeOperand dayOfWeek) { + this.dayOfWeek = Objects.requireNonNull(dayOfWeek, "Argument \"dayOfWeek\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _DayOfWeekRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _DayOfWeekIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitDayOfWeek(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitDayOfWeek(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformDayOfWeek(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformDayOfWeek(this, context); + } + + private class _DayOfWeekIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (dayOfWeek != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(DayOfWeek.this.dayOfWeek.getUnderlying())); + } + + return memberStream; + } + } + + private class _DayOfWeekRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (dayOfWeek != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(DayOfWeek.this.dayOfWeek.getUnderlying()), + StreamSupport.stream( + DayOfWeek.this.dayOfWeek.getUnderlying().descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/DefinitionTypeUom.java b/src/main/java/aas_core/aas3_2/types/impl/DefinitionTypeUom.java new file mode 100644 index 00000000..ed3db4ee --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/DefinitionTypeUom.java @@ -0,0 +1,100 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IDefinitionTypeUom; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** String with length 2048 maximum and minimum 1 characters and with language tags. */ +public class DefinitionTypeUom implements IDefinitionTypeUom { + /** Language tag conforming to BCP 47 */ + private String language; + + /** Text in the {@link aas_core.aas3_2.types.model.IAbstractLangString#getLanguage()} */ + private String text; + + public DefinitionTypeUom(String language, String text) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + @Override + public String getLanguage() { + return language; + } + + @Override + public void setLanguage(String language) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + } + + @Override + public String getText() { + return text; + } + + @Override + public void setText(String text) { + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitDefinitionTypeUom(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitDefinitionTypeUom(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformDefinitionTypeUom(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformDefinitionTypeUom(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/Descent.java b/src/main/java/aas_core/aas3_2/types/impl/Descent.java new file mode 100644 index 00000000..9638ac80 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/Descent.java @@ -0,0 +1,749 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import java.util.List; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Descend into the containers which hold class instances. + * + *

Each method descends only one level, and calls the method of the items by name, so that the + * descent is composed of plain functions to any depth. + */ +final class Descent { + private Descent() { + // Prevent instantiation + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IReference(List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IEmbeddedDataSpecification( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IExtension(List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ILangStringNameType( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ILangStringTextType( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ISpecificAssetId( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IQualifier(List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ISubmodelElement( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IDataElement(List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IOperationVariable( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IKey(List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IAssetAdministrationShell( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ISubmodel(List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IConceptDescription( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IValueReferencePair( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ILangStringUom(List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IDefinitionTypeUom( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ILangStringPreferredNameTypeIec61360( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ILangStringShortNameTypeIec61360( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ILangStringDefinitionTypeIec61360( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IEndpoint(List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ISubmodelDescriptor( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ISecurityAttributeObject( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IMessage(List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IReferable(List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IAssetAdministrationShellMetadata( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IAssetAdministrationShellRecentChange( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IAssetAdministrationShellDescriptor( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IConceptDescriptionRecentChange( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IPackageDescription( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ISubmodelElementMetadata( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ISubmodelRecentChange( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ISubmodelMetadata( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendTupleOf2_Value_Value(Tuple2 that, boolean recurse) { + if (!recurse) { + return Stream.concat( + Stream.of(that.item1().getUnderlying()), + Stream.of(that.item2().getUnderlying())); + } + + return Stream.concat( + Stream.concat( + Stream.of(that.item1().getUnderlying()), + StreamSupport.stream(that.item1().getUnderlying().descend().spliterator(), false)), + Stream.concat( + Stream.of(that.item2().getUnderlying()), + StreamSupport.stream(that.item2().getUnderlying().descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendTupleOf2_StringValue_StringValue( + Tuple2 that, boolean recurse) { + if (!recurse) { + return Stream.concat( + Stream.of(that.item1().getUnderlying()), + Stream.of(that.item2().getUnderlying())); + } + + return Stream.concat( + Stream.concat( + Stream.of(that.item1().getUnderlying()), + StreamSupport.stream(that.item1().getUnderlying().descend().spliterator(), false)), + Stream.concat( + Stream.of(that.item2().getUnderlying()), + StreamSupport.stream(that.item2().getUnderlying().descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_MatchExpression(List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item.getUnderlying()); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item.getUnderlying()), + StreamSupport.stream(item.getUnderlying().descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_LogicalExpression( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item.getUnderlying()); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item.getUnderlying()), + StreamSupport.stream(item.getUnderlying().descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IQueryFilter(List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/EmbeddedDataSpecification.java b/src/main/java/aas_core/aas3_2/types/impl/EmbeddedDataSpecification.java new file mode 100644 index 00000000..fd54fecf --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/EmbeddedDataSpecification.java @@ -0,0 +1,209 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IEmbeddedDataSpecification; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** Embed the content of a data specification. */ +public class EmbeddedDataSpecification implements IEmbeddedDataSpecification { + /** Reference to the data specification */ + private IReference dataSpecification; + + /** Actual content of the data specification */ + private IDataSpecificationContent dataSpecificationContent; + + public EmbeddedDataSpecification( + IReference dataSpecification, IDataSpecificationContent dataSpecificationContent) { + this.dataSpecification = + Objects.requireNonNull( + dataSpecification, "Argument \"dataSpecification\" must be non-null."); + this.dataSpecificationContent = + Objects.requireNonNull( + dataSpecificationContent, "Argument \"dataSpecificationContent\" must be non-null."); + } + + @Override + public IReference getDataSpecification() { + return dataSpecification; + } + + @Override + public void setDataSpecification(IReference dataSpecification) { + this.dataSpecification = + Objects.requireNonNull( + dataSpecification, "Argument \"dataSpecification\" must be non-null."); + } + + @Override + public IDataSpecificationContent getDataSpecificationContent() { + return dataSpecificationContent; + } + + @Override + public void setDataSpecificationContent(IDataSpecificationContent dataSpecificationContent) { + this.dataSpecificationContent = + Objects.requireNonNull( + dataSpecificationContent, "Argument \"dataSpecificationContent\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _EmbeddedDataSpecificationRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _EmbeddedDataSpecificationIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitEmbeddedDataSpecification(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEmbeddedDataSpecification(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformEmbeddedDataSpecification(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEmbeddedDataSpecification(this, context); + } + + private class _EmbeddedDataSpecificationIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (dataSpecification != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(EmbeddedDataSpecification.this.dataSpecification)); + } + + if (dataSpecificationContent != null) { + memberStream = + Stream.concat( + memberStream, + Stream.of(EmbeddedDataSpecification.this.dataSpecificationContent)); + } + + return memberStream; + } + } + + private class _EmbeddedDataSpecificationRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (dataSpecification != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(EmbeddedDataSpecification.this.dataSpecification), + StreamSupport.stream( + EmbeddedDataSpecification.this.dataSpecification.descend().spliterator(), + false))); + } + + if (dataSpecificationContent != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(EmbeddedDataSpecification.this.dataSpecificationContent), + StreamSupport.stream( + EmbeddedDataSpecification.this + .dataSpecificationContent + .descend() + .spliterator(), + false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/Endpoint.java b/src/main/java/aas_core/aas3_2/types/impl/Endpoint.java new file mode 100644 index 00000000..6254f7dc --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/Endpoint.java @@ -0,0 +1,188 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IEndpoint; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The endpoint description of a network resource. + * + *

This class is not part of the metamodel. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#Endpoint + */ +public class Endpoint implements IEndpoint { + /** Protocol information of the network resource endpoint. */ + private IProtocolInformation protocolInformation; + + /** Name of the offered interface at the endpoint. */ + private String interfacE; + + public Endpoint(IProtocolInformation protocolInformation, String interfacE) { + this.protocolInformation = + Objects.requireNonNull( + protocolInformation, "Argument \"protocolInformation\" must be non-null."); + this.interfacE = Objects.requireNonNull(interfacE, "Argument \"interfacE\" must be non-null."); + } + + @Override + public IProtocolInformation getProtocolInformation() { + return protocolInformation; + } + + @Override + public void setProtocolInformation(IProtocolInformation protocolInformation) { + this.protocolInformation = + Objects.requireNonNull( + protocolInformation, "Argument \"protocolInformation\" must be non-null."); + } + + @Override + public String getInterface() { + return interfacE; + } + + @Override + public void setInterface(String interfacE) { + this.interfacE = Objects.requireNonNull(interfacE, "Argument \"interfacE\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _EndpointRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _EndpointIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitEndpoint(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEndpoint(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformEndpoint(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEndpoint(this, context); + } + + private class _EndpointIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (protocolInformation != null) { + memberStream = + Stream.concat(memberStream, Stream.of(Endpoint.this.protocolInformation)); + } + + return memberStream; + } + } + + private class _EndpointRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (protocolInformation != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Endpoint.this.protocolInformation), + StreamSupport.stream( + Endpoint.this.protocolInformation.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/EndsWithComparison.java b/src/main/java/aas_core/aas3_2/types/impl/EndsWithComparison.java new file mode 100644 index 00000000..61ffa12a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/EndsWithComparison.java @@ -0,0 +1,170 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IEndsWithComparison; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * Check whether the first string operand ends with the second one. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + */ +public class EndsWithComparison implements IEndsWithComparison { + /** The two string operands */ + private Tuple2 endsWith; + + public EndsWithComparison(Tuple2 endsWith) { + this.endsWith = Objects.requireNonNull(endsWith, "Argument \"endsWith\" must be non-null."); + } + + @Override + public Tuple2 getEndsWith() { + return endsWith; + } + + @Override + public void setEndsWith(Tuple2 endsWith) { + this.endsWith = Objects.requireNonNull(endsWith, "Argument \"endsWith\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _EndsWithComparisonRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _EndsWithComparisonIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitEndsWithComparison(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEndsWithComparison(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformEndsWithComparison(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEndsWithComparison(this, context); + } + + private class _EndsWithComparisonIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (endsWith != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendTupleOf2_StringValue_StringValue( + EndsWithComparison.this.endsWith, false)); + } + + return memberStream; + } + } + + private class _EndsWithComparisonRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (endsWith != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendTupleOf2_StringValue_StringValue( + EndsWithComparison.this.endsWith, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/Entity.java b/src/main/java/aas_core/aas3_2/types/impl/Entity.java new file mode 100644 index 00000000..5ae3527d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/Entity.java @@ -0,0 +1,567 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IEntity; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * An entity is a submodel element that is used to model entities. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-014: Either the attribute {@link #getGlobalAssetId()} or {@link + * #getSpecificAssetIds()} of an {@link aas_core.aas3_2.types.impl.Entity} must be set if + * Entity/entityType is set to {@link + * aas_core.aas3_2.types.enums.EntityType#SELF_MANAGED_ENTITY}. + *
+ */ +public class Entity implements IEntity { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * Statement applicable to the entity, each statement described by a {@link + * aas_core.aas3_2.types.model.ISubmodelElement} - typically with a qualified value. + */ + private List statements; + + /** Describes whether the entity is a co-managed entity or a self-managed entity. */ + private EntityType entityType; + + /** Global identifier of the asset the entity is representing. */ + private String globalAssetId; + + /** + * Reference to a specific asset ID representing a supplementary identifier of the asset + * represented by the Asset Administration Shell. + */ + private List specificAssetIds; + + public Entity() { + // Intentionally empty. + } + + public Entity( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + List statements, + EntityType entityType, + String globalAssetId, + List specificAssetIds) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.statements = statements; + this.entityType = entityType; + this.globalAssetId = globalAssetId; + this.specificAssetIds = specificAssetIds; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getStatements() { + return Optional.ofNullable(statements); + } + + @Override + public void setStatements(List statements) { + this.statements = statements; + } + + @Override + public Optional getEntityType() { + return Optional.ofNullable(entityType); + } + + @Override + public void setEntityType(EntityType entityType) { + this.entityType = entityType; + } + + @Override + public Optional getGlobalAssetId() { + return Optional.ofNullable(globalAssetId); + } + + @Override + public void setGlobalAssetId(String globalAssetId) { + this.globalAssetId = globalAssetId; + } + + @Override + public Optional> getSpecificAssetIds() { + return Optional.ofNullable(specificAssetIds); + } + + @Override + public void setSpecificAssetIds(List specificAssetIds) { + this.specificAssetIds = specificAssetIds; + } + + /** Iterate over {@link Entity#extensions}, if set, and otherwise return an empty iterator. */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Entity#displayName}, if set, and otherwise return an empty iterator. */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Entity#description}, if set, and otherwise return an empty iterator. */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Entity#supplementalSemanticIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Entity#qualifiers}, if set, and otherwise return an empty iterator. */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Entity#embeddedDataSpecifications}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Entity#statements}, if set, and otherwise return an empty iterator. */ + public Iterable overStatementsOrEmpty() { + return getStatements().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Entity#specificAssetIds}, if set, and otherwise return an empty iterator. + */ + public Iterable overSpecificAssetIdsOrEmpty() { + return getSpecificAssetIds().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _EntityRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _EntityIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitEntity(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEntity(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformEntity(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEntity(this, context); + } + + private class _EntityIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Entity.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Entity.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Entity.this.description, false)); + } + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Entity.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Entity.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Entity.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Entity.this.embeddedDataSpecifications, false)); + } + + if (statements != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelElement(Entity.this.statements, false)); + } + + if (specificAssetIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISpecificAssetId(Entity.this.specificAssetIds, false)); + } + + return memberStream; + } + } + + private class _EntityRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Entity.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Entity.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Entity.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Entity.this.semanticId), + StreamSupport.stream(Entity.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Entity.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Entity.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Entity.this.embeddedDataSpecifications, true)); + } + + if (statements != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_ISubmodelElement(Entity.this.statements, true)); + } + + if (specificAssetIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISpecificAssetId(Entity.this.specificAssetIds, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/EntityMetadata.java b/src/main/java/aas_core/aas3_2/types/impl/EntityMetadata.java new file mode 100644 index 00000000..05e3b35c --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/EntityMetadata.java @@ -0,0 +1,476 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IEntityMetadata; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The metadata of an {@link aas_core.aas3_2.types.impl.Entity}, without its value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class EntityMetadata implements IEntityMetadata { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public EntityMetadata() { + // Intentionally empty. + } + + public EntityMetadata( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + /** + * Iterate over {@link EntityMetadata#extensions}, if set, and otherwise return an empty iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link EntityMetadata#displayName}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link EntityMetadata#description}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link EntityMetadata#supplementalSemanticIds}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link EntityMetadata#qualifiers}, if set, and otherwise return an empty iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link EntityMetadata#embeddedDataSpecifications}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _EntityMetadataRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _EntityMetadataIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitEntityMetadata(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEntityMetadata(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformEntityMetadata(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEntityMetadata(this, context); + } + + private class _EntityMetadataIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(EntityMetadata.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(EntityMetadata.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(EntityMetadata.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(EntityMetadata.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + EntityMetadata.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(EntityMetadata.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + EntityMetadata.this.embeddedDataSpecifications, false)); + } + + return memberStream; + } + } + + private class _EntityMetadataRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(EntityMetadata.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(EntityMetadata.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(EntityMetadata.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(EntityMetadata.this.semanticId), + StreamSupport.stream( + EntityMetadata.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + EntityMetadata.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(EntityMetadata.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + EntityMetadata.this.embeddedDataSpecifications, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/EntityValue.java b/src/main/java/aas_core/aas3_2/types/impl/EntityValue.java new file mode 100644 index 00000000..97e6dccf --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/EntityValue.java @@ -0,0 +1,166 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IEntityValue; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.Collections; +import java.util.List; +import java.util.Optional; + +/** + * The value of an {@link aas_core.aas3_2.types.impl.Entity}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

The statements are given in the ValueOnly serialization, i.e., as a JSON object whose + * keys are the ID-shorts of the statements and whose values are the ValueOnly serializations of the + * statements. Their shape depends on the concrete submodel elements and can not be pinned down + * statically, so they are represented as an open JSON object. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class EntityValue implements IEntityValue { + /** Describes whether the entity is a co-managed entity or a self-managed entity. */ + private EntityType entityType; + + /** Global identifier of the asset the entity is representing. */ + private String globalAssetId; + + /** + * Additional domain-specific, typically proprietary identifiers for the asset, each given as a + * single-entry JSON object mapping the {@link + * aas_core.aas3_2.types.impl.SpecificAssetId#getName()} to the {@link + * aas_core.aas3_2.types.impl.SpecificAssetId#getValue()}. + */ + private List specificAssetIds; + + /** + * Describes statements applicable to the entity by a set of submodel elements, typically with a + * qualified value. + */ + private ObjectNode statements; + + public EntityValue() { + // Intentionally empty. + } + + public EntityValue( + EntityType entityType, + String globalAssetId, + List specificAssetIds, + ObjectNode statements) { + this.entityType = entityType; + this.globalAssetId = globalAssetId; + this.specificAssetIds = specificAssetIds; + this.statements = statements; + } + + @Override + public Optional getEntityType() { + return Optional.ofNullable(entityType); + } + + @Override + public void setEntityType(EntityType entityType) { + this.entityType = entityType; + } + + @Override + public Optional getGlobalAssetId() { + return Optional.ofNullable(globalAssetId); + } + + @Override + public void setGlobalAssetId(String globalAssetId) { + this.globalAssetId = globalAssetId; + } + + @Override + public Optional> getSpecificAssetIds() { + return Optional.ofNullable(specificAssetIds); + } + + @Override + public void setSpecificAssetIds(List specificAssetIds) { + this.specificAssetIds = specificAssetIds; + } + + @Override + public Optional getStatements() { + return Optional.ofNullable(statements); + } + + @Override + public void setStatements(ObjectNode statements) { + this.statements = statements; + } + + /** + * Iterate over {@link EntityValue#specificAssetIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSpecificAssetIdsOrEmpty() { + return getSpecificAssetIds().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitEntityValue(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEntityValue(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformEntityValue(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEntityValue(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/Environment.java b/src/main/java/aas_core/aas3_2/types/impl/Environment.java new file mode 100644 index 00000000..76a7d9fe --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/Environment.java @@ -0,0 +1,255 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IEnvironment; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * Container for the sets of different identifiables. + * + *

Environment is not an identifiable or referable element. It is introduced to enable file + * transfer as well as serialization. + */ +public class Environment implements IEnvironment { + /** Asset Administration Shell */ + private List assetAdministrationShells; + + /** Submodel */ + private List submodels; + + /** Concept description */ + private List conceptDescriptions; + + public Environment() { + // Intentionally empty. + } + + public Environment( + List assetAdministrationShells, + List submodels, + List conceptDescriptions) { + this.assetAdministrationShells = assetAdministrationShells; + this.submodels = submodels; + this.conceptDescriptions = conceptDescriptions; + } + + @Override + public Optional> getAssetAdministrationShells() { + return Optional.ofNullable(assetAdministrationShells); + } + + @Override + public void setAssetAdministrationShells( + List assetAdministrationShells) { + this.assetAdministrationShells = assetAdministrationShells; + } + + @Override + public Optional> getSubmodels() { + return Optional.ofNullable(submodels); + } + + @Override + public void setSubmodels(List submodels) { + this.submodels = submodels; + } + + @Override + public Optional> getConceptDescriptions() { + return Optional.ofNullable(conceptDescriptions); + } + + @Override + public void setConceptDescriptions(List conceptDescriptions) { + this.conceptDescriptions = conceptDescriptions; + } + + /** + * Iterate over {@link Environment#assetAdministrationShells}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overAssetAdministrationShellsOrEmpty() { + return getAssetAdministrationShells().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Environment#submodels}, if set, and otherwise return an empty iterator. */ + public Iterable overSubmodelsOrEmpty() { + return getSubmodels().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Environment#conceptDescriptions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overConceptDescriptionsOrEmpty() { + return getConceptDescriptions().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _EnvironmentRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _EnvironmentIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitEnvironment(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEnvironment(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformEnvironment(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEnvironment(this, context); + } + + private class _EnvironmentIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (assetAdministrationShells != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IAssetAdministrationShell( + Environment.this.assetAdministrationShells, false)); + } + + if (submodels != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_ISubmodel(Environment.this.submodels, false)); + } + + if (conceptDescriptions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IConceptDescription( + Environment.this.conceptDescriptions, false)); + } + + return memberStream; + } + } + + private class _EnvironmentRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (assetAdministrationShells != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IAssetAdministrationShell( + Environment.this.assetAdministrationShells, true)); + } + + if (submodels != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_ISubmodel(Environment.this.submodels, true)); + } + + if (conceptDescriptions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IConceptDescription( + Environment.this.conceptDescriptions, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/EqualComparison.java b/src/main/java/aas_core/aas3_2/types/impl/EqualComparison.java new file mode 100644 index 00000000..7e28aaa7 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/EqualComparison.java @@ -0,0 +1,169 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IEqualComparison; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * Check whether the two operands are equal. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

The operands must be of compatible types, see https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + */ +public class EqualComparison implements IEqualComparison { + /** The two operands */ + private Tuple2 eq; + + public EqualComparison(Tuple2 eq) { + this.eq = Objects.requireNonNull(eq, "Argument \"eq\" must be non-null."); + } + + @Override + public Tuple2 getEq() { + return eq; + } + + @Override + public void setEq(Tuple2 eq) { + this.eq = Objects.requireNonNull(eq, "Argument \"eq\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _EqualComparisonRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _EqualComparisonIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitEqualComparison(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEqualComparison(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformEqualComparison(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEqualComparison(this, context); + } + + private class _EqualComparisonIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (eq != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendTupleOf2_Value_Value(EqualComparison.this.eq, false)); + } + + return memberStream; + } + } + + private class _EqualComparisonRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (eq != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendTupleOf2_Value_Value(EqualComparison.this.eq, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/EventPayload.java b/src/main/java/aas_core/aas3_2/types/impl/EventPayload.java new file mode 100644 index 00000000..beff86b6 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/EventPayload.java @@ -0,0 +1,361 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IEventPayload; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Defines the necessary information of an event instance sent out or received. + * + *

This element is experimental and therefore may be subject to change or may be removed + * completely in future versions of the meta-model. + */ +public class EventPayload implements IEventPayload { + /** Reference to the source event element. */ + private IReference source; + + /** + * {@link aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} of the source event element, + * if available + * + *

It is recommended to use an external reference. + */ + private IReference sourceSemanticId; + + /** Reference to the referable, which defines the scope of the event. */ + private IReference observableReference; + + /** + * {@link aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} of the referable which + * defines the scope of the event, if available. + * + *

It is recommended to use an external reference. + */ + private IReference observableSemanticId; + + /** + * Information for the outer message infrastructure to schedule the event for the respective + * communication channel. + */ + private String topic; + + /** + * Subject, who/which initiated the creation. + * + *

This is an external reference. + */ + private IReference subjectId; + + /** Timestamp in UTC, when this event was triggered. */ + private String timeStamp; + + /** Event-specific payload. */ + private byte[] payload; + + public EventPayload(IReference source, IReference observableReference, String timeStamp) { + this.source = Objects.requireNonNull(source, "Argument \"source\" must be non-null."); + this.observableReference = + Objects.requireNonNull( + observableReference, "Argument \"observableReference\" must be non-null."); + this.timeStamp = Objects.requireNonNull(timeStamp, "Argument \"timeStamp\" must be non-null."); + } + + public EventPayload( + IReference source, + IReference observableReference, + String timeStamp, + IReference sourceSemanticId, + IReference observableSemanticId, + String topic, + IReference subjectId, + byte[] payload) { + this.source = Objects.requireNonNull(source, "Argument \"source\" must be non-null."); + this.observableReference = + Objects.requireNonNull( + observableReference, "Argument \"observableReference\" must be non-null."); + this.timeStamp = Objects.requireNonNull(timeStamp, "Argument \"timeStamp\" must be non-null."); + this.sourceSemanticId = sourceSemanticId; + this.observableSemanticId = observableSemanticId; + this.topic = topic; + this.subjectId = subjectId; + this.payload = payload; + } + + @Override + public IReference getSource() { + return source; + } + + @Override + public void setSource(IReference source) { + this.source = Objects.requireNonNull(source, "Argument \"source\" must be non-null."); + } + + @Override + public Optional getSourceSemanticId() { + return Optional.ofNullable(sourceSemanticId); + } + + @Override + public void setSourceSemanticId(IReference sourceSemanticId) { + this.sourceSemanticId = sourceSemanticId; + } + + @Override + public IReference getObservableReference() { + return observableReference; + } + + @Override + public void setObservableReference(IReference observableReference) { + this.observableReference = + Objects.requireNonNull( + observableReference, "Argument \"observableReference\" must be non-null."); + } + + @Override + public Optional getObservableSemanticId() { + return Optional.ofNullable(observableSemanticId); + } + + @Override + public void setObservableSemanticId(IReference observableSemanticId) { + this.observableSemanticId = observableSemanticId; + } + + @Override + public Optional getTopic() { + return Optional.ofNullable(topic); + } + + @Override + public void setTopic(String topic) { + this.topic = topic; + } + + @Override + public Optional getSubjectId() { + return Optional.ofNullable(subjectId); + } + + @Override + public void setSubjectId(IReference subjectId) { + this.subjectId = subjectId; + } + + @Override + public String getTimeStamp() { + return timeStamp; + } + + @Override + public void setTimeStamp(String timeStamp) { + this.timeStamp = Objects.requireNonNull(timeStamp, "Argument \"timeStamp\" must be non-null."); + } + + @Override + public Optional getPayload() { + return Optional.ofNullable(payload); + } + + @Override + public void setPayload(byte[] payload) { + this.payload = payload; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _EventPayloadRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _EventPayloadIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitEventPayload(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEventPayload(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformEventPayload(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEventPayload(this, context); + } + + private class _EventPayloadIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (source != null) { + memberStream = Stream.concat(memberStream, Stream.of(EventPayload.this.source)); + } + + if (sourceSemanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(EventPayload.this.sourceSemanticId)); + } + + if (observableReference != null) { + memberStream = + Stream.concat(memberStream, Stream.of(EventPayload.this.observableReference)); + } + + if (observableSemanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(EventPayload.this.observableSemanticId)); + } + + if (subjectId != null) { + memberStream = Stream.concat(memberStream, Stream.of(EventPayload.this.subjectId)); + } + + return memberStream; + } + } + + private class _EventPayloadRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (source != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(EventPayload.this.source), + StreamSupport.stream(EventPayload.this.source.descend().spliterator(), false))); + } + + if (sourceSemanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(EventPayload.this.sourceSemanticId), + StreamSupport.stream( + EventPayload.this.sourceSemanticId.descend().spliterator(), false))); + } + + if (observableReference != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(EventPayload.this.observableReference), + StreamSupport.stream( + EventPayload.this.observableReference.descend().spliterator(), false))); + } + + if (observableSemanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(EventPayload.this.observableSemanticId), + StreamSupport.stream( + EventPayload.this.observableSemanticId.descend().spliterator(), false))); + } + + if (subjectId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(EventPayload.this.subjectId), + StreamSupport.stream( + EventPayload.this.subjectId.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/Extension.java b/src/main/java/aas_core/aas3_2/types/impl/Extension.java new file mode 100644 index 00000000..aeeb445d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/Extension.java @@ -0,0 +1,311 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IExtension; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** Single extension of an element. */ +public class Extension implements IExtension { + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Name of the extension. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-077: The name of an extension (Extension/name) within {@link + * aas_core.aas3_2.types.model.IHasExtensions} needs to be unique. + *
+ */ + private String name; + + /** + * Data type of the {@link #getValue()} attribute of the extension. + * + *

Default: {@link aas_core.aas3_2.types.enums.DataTypeDefXsd#STRING} + */ + private DataTypeDefXsd valueType; + + /** Value of the extension */ + private String value; + + /** Reference to an element the extension refers to. */ + private List refersTo; + + public Extension(String name) { + this.name = Objects.requireNonNull(name, "Argument \"name\" must be non-null."); + } + + public Extension( + String name, + IReference semanticId, + List supplementalSemanticIds, + DataTypeDefXsd valueType, + String value, + List refersTo) { + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.name = Objects.requireNonNull(name, "Argument \"name\" must be non-null."); + this.valueType = valueType; + this.value = value; + this.refersTo = refersTo; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public String getName() { + return name; + } + + @Override + public void setName(String name) { + this.name = Objects.requireNonNull(name, "Argument \"name\" must be non-null."); + } + + @Override + public Optional getValueType() { + return Optional.ofNullable(valueType); + } + + @Override + public void setValueType(DataTypeDefXsd valueType) { + this.valueType = valueType; + } + + @Override + public Optional getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(String value) { + this.value = value; + } + + @Override + public Optional> getRefersTo() { + return Optional.ofNullable(refersTo); + } + + @Override + public void setRefersTo(List refersTo) { + this.refersTo = refersTo; + } + + /** + * Iterate over {@link Extension#supplementalSemanticIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Extension#refersTo}, if set, and otherwise return an empty iterator. */ + public Iterable overRefersToOrEmpty() { + return getRefersTo().orElseGet(Collections::emptyList); + } + + @Override + public DataTypeDefXsd valueTypeOrDefault() { + if (this.getValueType().isPresent()) { + return this.getValueType().get(); + } + return DataTypeDefXsd.STRING; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _ExtensionRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _ExtensionIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitExtension(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitExtension(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformExtension(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformExtension(this, context); + } + + private class _ExtensionIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Extension.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Extension.this.supplementalSemanticIds, false)); + } + + if (refersTo != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IReference(Extension.this.refersTo, false)); + } + + return memberStream; + } + } + + private class _ExtensionRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Extension.this.semanticId), + StreamSupport.stream( + Extension.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Extension.this.supplementalSemanticIds, true)); + } + + if (refersTo != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IReference(Extension.this.refersTo, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/FieldOperand.java b/src/main/java/aas_core/aas3_2/types/impl/FieldOperand.java new file mode 100644 index 00000000..ddd36ea2 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/FieldOperand.java @@ -0,0 +1,90 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IFieldOperand; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** + * Use the value of a field as an operand. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public class FieldOperand implements IFieldOperand { + /** Identifier of the field */ + private String field; + + public FieldOperand(String field) { + this.field = Objects.requireNonNull(field, "Argument \"field\" must be non-null."); + } + + @Override + public String getField() { + return field; + } + + @Override + public void setField(String field) { + this.field = Objects.requireNonNull(field, "Argument \"field\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitFieldOperand(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitFieldOperand(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformFieldOperand(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformFieldOperand(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/File.java b/src/main/java/aas_core/aas3_2/types/impl/File.java new file mode 100644 index 00000000..531c8475 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/File.java @@ -0,0 +1,489 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IFile; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A file is a data element that represents an address to a file (a locator). + * + *

The value is a URI that can represent an absolute or relative path. + */ +public class File implements IFile { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * Path and name of the file (with file extension). + * + *

The path can be absolute or relative. + */ + private String value; + + /** Content type of the content of the file. */ + private String contentType; + + public File() { + // Intentionally empty. + } + + public File( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + String value, + String contentType) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.contentType = contentType; + this.value = value; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(String value) { + this.value = value; + } + + @Override + public Optional getContentType() { + return Optional.ofNullable(contentType); + } + + @Override + public void setContentType(String contentType) { + this.contentType = contentType; + } + + /** Iterate over {@link File#extensions}, if set, and otherwise return an empty iterator. */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link File#displayName}, if set, and otherwise return an empty iterator. */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link File#description}, if set, and otherwise return an empty iterator. */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link File#supplementalSemanticIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link File#qualifiers}, if set, and otherwise return an empty iterator. */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link File#embeddedDataSpecifications}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _FileRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _FileIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitFile(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitFile(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformFile(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformFile(this, context); + } + + private class _FileIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(File.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(File.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(File.this.description, false)); + } + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(File.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(File.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(File.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + File.this.embeddedDataSpecifications, false)); + } + + return memberStream; + } + } + + private class _FileRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(File.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(File.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(File.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(File.this.semanticId), + StreamSupport.stream(File.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(File.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(File.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + File.this.embeddedDataSpecifications, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/FileMetadata.java b/src/main/java/aas_core/aas3_2/types/impl/FileMetadata.java new file mode 100644 index 00000000..74ec240e --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/FileMetadata.java @@ -0,0 +1,469 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IFileMetadata; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.File}, without its value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class FileMetadata implements IFileMetadata { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public FileMetadata() { + // Intentionally empty. + } + + public FileMetadata( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + /** + * Iterate over {@link FileMetadata#extensions}, if set, and otherwise return an empty iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link FileMetadata#displayName}, if set, and otherwise return an empty iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link FileMetadata#description}, if set, and otherwise return an empty iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link FileMetadata#supplementalSemanticIds}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link FileMetadata#qualifiers}, if set, and otherwise return an empty iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link FileMetadata#embeddedDataSpecifications}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _FileMetadataRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _FileMetadataIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitFileMetadata(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitFileMetadata(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformFileMetadata(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformFileMetadata(this, context); + } + + private class _FileMetadataIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(FileMetadata.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(FileMetadata.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(FileMetadata.this.description, false)); + } + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(FileMetadata.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(FileMetadata.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(FileMetadata.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + FileMetadata.this.embeddedDataSpecifications, false)); + } + + return memberStream; + } + } + + private class _FileMetadataRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(FileMetadata.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(FileMetadata.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(FileMetadata.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(FileMetadata.this.semanticId), + StreamSupport.stream( + FileMetadata.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(FileMetadata.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(FileMetadata.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + FileMetadata.this.embeddedDataSpecifications, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/FileValue.java b/src/main/java/aas_core/aas3_2/types/impl/FileValue.java new file mode 100644 index 00000000..76334dc0 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/FileValue.java @@ -0,0 +1,111 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IFileValue; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Optional; + +/** + * The value of a {@link aas_core.aas3_2.types.impl.File}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class FileValue implements IFileValue { + /** The content type of the file, e.g., {@code application/pdf}. */ + private String contentType; + + /** The path or URL to the file content. */ + private String value; + + public FileValue() { + // Intentionally empty. + } + + public FileValue(String contentType, String value) { + this.contentType = contentType; + this.value = value; + } + + @Override + public Optional getContentType() { + return Optional.ofNullable(contentType); + } + + @Override + public void setContentType(String contentType) { + this.contentType = contentType; + } + + @Override + public Optional getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(String value) { + this.value = value; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitFileValue(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitFileValue(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformFileValue(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformFileValue(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/GetAllAssetAdministrationShellsRecentChangesResult.java b/src/main/java/aas_core/aas3_2/types/impl/GetAllAssetAdministrationShellsRecentChangesResult.java new file mode 100644 index 00000000..316a8574 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/GetAllAssetAdministrationShellsRecentChangesResult.java @@ -0,0 +1,232 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IGetAllAssetAdministrationShellsRecentChangesResult; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The result of listing the recent changes of all Asset Administration Shells. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public class GetAllAssetAdministrationShellsRecentChangesResult + implements IGetAllAssetAdministrationShellsRecentChangesResult { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetAllAssetAdministrationShellsRecentChangesResult(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetAllAssetAdministrationShellsRecentChangesResult( + IPagingMetadata pagingMetadata, List result) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + this.result = result; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return pagingMetadata; + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + @Override + public Optional> getResult() { + return Optional.ofNullable(result); + } + + @Override + public void setResult(List result) { + this.result = result; + } + + /** + * Iterate over {@link GetAllAssetAdministrationShellsRecentChangesResult#result}, if set, and + * otherwise return an empty iterator. + */ + public Iterable overResultOrEmpty() { + return getResult().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _GetAllAssetAdministrationShellsRecentChangesResultRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _GetAllAssetAdministrationShellsRecentChangesResultIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitGetAllAssetAdministrationShellsRecentChangesResult(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetAllAssetAdministrationShellsRecentChangesResult(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformGetAllAssetAdministrationShellsRecentChangesResult(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetAllAssetAdministrationShellsRecentChangesResult(this, context); + } + + private class _GetAllAssetAdministrationShellsRecentChangesResultIterable + implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.of( + GetAllAssetAdministrationShellsRecentChangesResult.this.pagingMetadata)); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IAssetAdministrationShellRecentChange( + GetAllAssetAdministrationShellsRecentChangesResult.this.result, false)); + } + + return memberStream; + } + } + + private class _GetAllAssetAdministrationShellsRecentChangesResultRecursiveIterable + implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of( + GetAllAssetAdministrationShellsRecentChangesResult.this.pagingMetadata), + StreamSupport.stream( + GetAllAssetAdministrationShellsRecentChangesResult.this + .pagingMetadata + .descend() + .spliterator(), + false))); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IAssetAdministrationShellRecentChange( + GetAllAssetAdministrationShellsRecentChangesResult.this.result, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/GetAllConceptDescriptionsRecentChangesResult.java b/src/main/java/aas_core/aas3_2/types/impl/GetAllConceptDescriptionsRecentChangesResult.java new file mode 100644 index 00000000..6446f0b5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/GetAllConceptDescriptionsRecentChangesResult.java @@ -0,0 +1,231 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IGetAllConceptDescriptionsRecentChangesResult; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The result of listing the recent changes of all concept descriptions. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public class GetAllConceptDescriptionsRecentChangesResult + implements IGetAllConceptDescriptionsRecentChangesResult { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetAllConceptDescriptionsRecentChangesResult(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetAllConceptDescriptionsRecentChangesResult( + IPagingMetadata pagingMetadata, List result) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + this.result = result; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return pagingMetadata; + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + @Override + public Optional> getResult() { + return Optional.ofNullable(result); + } + + @Override + public void setResult(List result) { + this.result = result; + } + + /** + * Iterate over {@link GetAllConceptDescriptionsRecentChangesResult#result}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overResultOrEmpty() { + return getResult().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _GetAllConceptDescriptionsRecentChangesResultRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _GetAllConceptDescriptionsRecentChangesResultIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitGetAllConceptDescriptionsRecentChangesResult(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetAllConceptDescriptionsRecentChangesResult(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformGetAllConceptDescriptionsRecentChangesResult(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetAllConceptDescriptionsRecentChangesResult(this, context); + } + + private class _GetAllConceptDescriptionsRecentChangesResultIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.of( + GetAllConceptDescriptionsRecentChangesResult.this.pagingMetadata)); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IConceptDescriptionRecentChange( + GetAllConceptDescriptionsRecentChangesResult.this.result, false)); + } + + return memberStream; + } + } + + private class _GetAllConceptDescriptionsRecentChangesResultRecursiveIterable + implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of( + GetAllConceptDescriptionsRecentChangesResult.this.pagingMetadata), + StreamSupport.stream( + GetAllConceptDescriptionsRecentChangesResult.this + .pagingMetadata + .descend() + .spliterator(), + false))); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IConceptDescriptionRecentChange( + GetAllConceptDescriptionsRecentChangesResult.this.result, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/GetAllSubmodelsRecentChangesResult.java b/src/main/java/aas_core/aas3_2/types/impl/GetAllSubmodelsRecentChangesResult.java new file mode 100644 index 00000000..3ba53420 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/GetAllSubmodelsRecentChangesResult.java @@ -0,0 +1,227 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IGetAllSubmodelsRecentChangesResult; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The result of listing the recent changes of all submodels. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public class GetAllSubmodelsRecentChangesResult implements IGetAllSubmodelsRecentChangesResult { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetAllSubmodelsRecentChangesResult(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetAllSubmodelsRecentChangesResult( + IPagingMetadata pagingMetadata, List result) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + this.result = result; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return pagingMetadata; + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + @Override + public Optional> getResult() { + return Optional.ofNullable(result); + } + + @Override + public void setResult(List result) { + this.result = result; + } + + /** + * Iterate over {@link GetAllSubmodelsRecentChangesResult#result}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overResultOrEmpty() { + return getResult().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _GetAllSubmodelsRecentChangesResultRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _GetAllSubmodelsRecentChangesResultIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitGetAllSubmodelsRecentChangesResult(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetAllSubmodelsRecentChangesResult(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformGetAllSubmodelsRecentChangesResult(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetAllSubmodelsRecentChangesResult(this, context); + } + + private class _GetAllSubmodelsRecentChangesResultIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.of(GetAllSubmodelsRecentChangesResult.this.pagingMetadata)); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelRecentChange( + GetAllSubmodelsRecentChangesResult.this.result, false)); + } + + return memberStream; + } + } + + private class _GetAllSubmodelsRecentChangesResultRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(GetAllSubmodelsRecentChangesResult.this.pagingMetadata), + StreamSupport.stream( + GetAllSubmodelsRecentChangesResult.this + .pagingMetadata + .descend() + .spliterator(), + false))); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelRecentChange( + GetAllSubmodelsRecentChangesResult.this.result, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/GetAssetAdministrationShellDescriptorsResult.java b/src/main/java/aas_core/aas3_2/types/impl/GetAssetAdministrationShellDescriptorsResult.java new file mode 100644 index 00000000..6d630636 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/GetAssetAdministrationShellDescriptorsResult.java @@ -0,0 +1,231 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IGetAssetAdministrationShellDescriptorsResult; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The result of listing all Asset Administration Shell descriptors. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public class GetAssetAdministrationShellDescriptorsResult + implements IGetAssetAdministrationShellDescriptorsResult { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetAssetAdministrationShellDescriptorsResult(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetAssetAdministrationShellDescriptorsResult( + IPagingMetadata pagingMetadata, List result) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + this.result = result; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return pagingMetadata; + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + @Override + public Optional> getResult() { + return Optional.ofNullable(result); + } + + @Override + public void setResult(List result) { + this.result = result; + } + + /** + * Iterate over {@link GetAssetAdministrationShellDescriptorsResult#result}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overResultOrEmpty() { + return getResult().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _GetAssetAdministrationShellDescriptorsResultRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _GetAssetAdministrationShellDescriptorsResultIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitGetAssetAdministrationShellDescriptorsResult(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetAssetAdministrationShellDescriptorsResult(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformGetAssetAdministrationShellDescriptorsResult(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetAssetAdministrationShellDescriptorsResult(this, context); + } + + private class _GetAssetAdministrationShellDescriptorsResultIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.of( + GetAssetAdministrationShellDescriptorsResult.this.pagingMetadata)); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IAssetAdministrationShellDescriptor( + GetAssetAdministrationShellDescriptorsResult.this.result, false)); + } + + return memberStream; + } + } + + private class _GetAssetAdministrationShellDescriptorsResultRecursiveIterable + implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of( + GetAssetAdministrationShellDescriptorsResult.this.pagingMetadata), + StreamSupport.stream( + GetAssetAdministrationShellDescriptorsResult.this + .pagingMetadata + .descend() + .spliterator(), + false))); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IAssetAdministrationShellDescriptor( + GetAssetAdministrationShellDescriptorsResult.this.result, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/GetAssetAdministrationShellsMetadataResult.java b/src/main/java/aas_core/aas3_2/types/impl/GetAssetAdministrationShellsMetadataResult.java new file mode 100644 index 00000000..b45cc59b --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/GetAssetAdministrationShellsMetadataResult.java @@ -0,0 +1,230 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IGetAssetAdministrationShellsMetadataResult; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The result of listing the metadata of all Asset Administration Shells. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public class GetAssetAdministrationShellsMetadataResult + implements IGetAssetAdministrationShellsMetadataResult { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetAssetAdministrationShellsMetadataResult(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetAssetAdministrationShellsMetadataResult( + IPagingMetadata pagingMetadata, List result) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + this.result = result; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return pagingMetadata; + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + @Override + public Optional> getResult() { + return Optional.ofNullable(result); + } + + @Override + public void setResult(List result) { + this.result = result; + } + + /** + * Iterate over {@link GetAssetAdministrationShellsMetadataResult#result}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overResultOrEmpty() { + return getResult().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _GetAssetAdministrationShellsMetadataResultRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _GetAssetAdministrationShellsMetadataResultIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitGetAssetAdministrationShellsMetadataResult(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetAssetAdministrationShellsMetadataResult(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformGetAssetAdministrationShellsMetadataResult(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetAssetAdministrationShellsMetadataResult(this, context); + } + + private class _GetAssetAdministrationShellsMetadataResultIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.of(GetAssetAdministrationShellsMetadataResult.this.pagingMetadata)); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IAssetAdministrationShellMetadata( + GetAssetAdministrationShellsMetadataResult.this.result, false)); + } + + return memberStream; + } + } + + private class _GetAssetAdministrationShellsMetadataResultRecursiveIterable + implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of( + GetAssetAdministrationShellsMetadataResult.this.pagingMetadata), + StreamSupport.stream( + GetAssetAdministrationShellsMetadataResult.this + .pagingMetadata + .descend() + .spliterator(), + false))); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IAssetAdministrationShellMetadata( + GetAssetAdministrationShellsMetadataResult.this.result, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/GetAssetAdministrationShellsResult.java b/src/main/java/aas_core/aas3_2/types/impl/GetAssetAdministrationShellsResult.java new file mode 100644 index 00000000..413d3929 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/GetAssetAdministrationShellsResult.java @@ -0,0 +1,227 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IGetAssetAdministrationShellsResult; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The result of listing all Asset Administration Shells. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public class GetAssetAdministrationShellsResult implements IGetAssetAdministrationShellsResult { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetAssetAdministrationShellsResult(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetAssetAdministrationShellsResult( + IPagingMetadata pagingMetadata, List result) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + this.result = result; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return pagingMetadata; + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + @Override + public Optional> getResult() { + return Optional.ofNullable(result); + } + + @Override + public void setResult(List result) { + this.result = result; + } + + /** + * Iterate over {@link GetAssetAdministrationShellsResult#result}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overResultOrEmpty() { + return getResult().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _GetAssetAdministrationShellsResultRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _GetAssetAdministrationShellsResultIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitGetAssetAdministrationShellsResult(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetAssetAdministrationShellsResult(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformGetAssetAdministrationShellsResult(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetAssetAdministrationShellsResult(this, context); + } + + private class _GetAssetAdministrationShellsResultIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.of(GetAssetAdministrationShellsResult.this.pagingMetadata)); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IAssetAdministrationShell( + GetAssetAdministrationShellsResult.this.result, false)); + } + + return memberStream; + } + } + + private class _GetAssetAdministrationShellsResultRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(GetAssetAdministrationShellsResult.this.pagingMetadata), + StreamSupport.stream( + GetAssetAdministrationShellsResult.this + .pagingMetadata + .descend() + .spliterator(), + false))); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IAssetAdministrationShell( + GetAssetAdministrationShellsResult.this.result, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/GetConceptDescriptionsResult.java b/src/main/java/aas_core/aas3_2/types/impl/GetConceptDescriptionsResult.java new file mode 100644 index 00000000..57ea6242 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/GetConceptDescriptionsResult.java @@ -0,0 +1,223 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IGetConceptDescriptionsResult; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The result of listing all concept descriptions. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public class GetConceptDescriptionsResult implements IGetConceptDescriptionsResult { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetConceptDescriptionsResult(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetConceptDescriptionsResult( + IPagingMetadata pagingMetadata, List result) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + this.result = result; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return pagingMetadata; + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + @Override + public Optional> getResult() { + return Optional.ofNullable(result); + } + + @Override + public void setResult(List result) { + this.result = result; + } + + /** + * Iterate over {@link GetConceptDescriptionsResult#result}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overResultOrEmpty() { + return getResult().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _GetConceptDescriptionsResultRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _GetConceptDescriptionsResultIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitGetConceptDescriptionsResult(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetConceptDescriptionsResult(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformGetConceptDescriptionsResult(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetConceptDescriptionsResult(this, context); + } + + private class _GetConceptDescriptionsResultIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(GetConceptDescriptionsResult.this.pagingMetadata)); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IConceptDescription( + GetConceptDescriptionsResult.this.result, false)); + } + + return memberStream; + } + } + + private class _GetConceptDescriptionsResultRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(GetConceptDescriptionsResult.this.pagingMetadata), + StreamSupport.stream( + GetConceptDescriptionsResult.this.pagingMetadata.descend().spliterator(), + false))); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IConceptDescription( + GetConceptDescriptionsResult.this.result, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/GetPackageDescriptionsResult.java b/src/main/java/aas_core/aas3_2/types/impl/GetPackageDescriptionsResult.java new file mode 100644 index 00000000..375c716d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/GetPackageDescriptionsResult.java @@ -0,0 +1,223 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IGetPackageDescriptionsResult; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The result of listing all AASX package descriptions. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public class GetPackageDescriptionsResult implements IGetPackageDescriptionsResult { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetPackageDescriptionsResult(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetPackageDescriptionsResult( + IPagingMetadata pagingMetadata, List result) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + this.result = result; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return pagingMetadata; + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + @Override + public Optional> getResult() { + return Optional.ofNullable(result); + } + + @Override + public void setResult(List result) { + this.result = result; + } + + /** + * Iterate over {@link GetPackageDescriptionsResult#result}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overResultOrEmpty() { + return getResult().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _GetPackageDescriptionsResultRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _GetPackageDescriptionsResultIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitGetPackageDescriptionsResult(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetPackageDescriptionsResult(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformGetPackageDescriptionsResult(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetPackageDescriptionsResult(this, context); + } + + private class _GetPackageDescriptionsResultIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(GetPackageDescriptionsResult.this.pagingMetadata)); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IPackageDescription( + GetPackageDescriptionsResult.this.result, false)); + } + + return memberStream; + } + } + + private class _GetPackageDescriptionsResultRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(GetPackageDescriptionsResult.this.pagingMetadata), + StreamSupport.stream( + GetPackageDescriptionsResult.this.pagingMetadata.descend().spliterator(), + false))); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IPackageDescription( + GetPackageDescriptionsResult.this.result, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/GetPathItemsResult.java b/src/main/java/aas_core/aas3_2/types/impl/GetPathItemsResult.java new file mode 100644 index 00000000..4e16a985 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/GetPathItemsResult.java @@ -0,0 +1,203 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IGetPathItemsResult; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The result of listing idShortPaths. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public class GetPathItemsResult implements IGetPathItemsResult { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetPathItemsResult(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetPathItemsResult(IPagingMetadata pagingMetadata, List result) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + this.result = result; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return pagingMetadata; + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + @Override + public Optional> getResult() { + return Optional.ofNullable(result); + } + + @Override + public void setResult(List result) { + this.result = result; + } + + /** + * Iterate over {@link GetPathItemsResult#result}, if set, and otherwise return an empty iterator. + */ + public Iterable overResultOrEmpty() { + return getResult().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _GetPathItemsResultRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _GetPathItemsResultIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitGetPathItemsResult(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetPathItemsResult(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformGetPathItemsResult(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetPathItemsResult(this, context); + } + + private class _GetPathItemsResultIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat(memberStream, Stream.of(GetPathItemsResult.this.pagingMetadata)); + } + + return memberStream; + } + } + + private class _GetPathItemsResultRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(GetPathItemsResult.this.pagingMetadata), + StreamSupport.stream( + GetPathItemsResult.this.pagingMetadata.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/GetReferencesResult.java b/src/main/java/aas_core/aas3_2/types/impl/GetReferencesResult.java new file mode 100644 index 00000000..45318b81 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/GetReferencesResult.java @@ -0,0 +1,218 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IGetReferencesResult; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The result of listing references. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public class GetReferencesResult implements IGetReferencesResult { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetReferencesResult(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetReferencesResult(IPagingMetadata pagingMetadata, List result) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + this.result = result; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return pagingMetadata; + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + @Override + public Optional> getResult() { + return Optional.ofNullable(result); + } + + @Override + public void setResult(List result) { + this.result = result; + } + + /** + * Iterate over {@link GetReferencesResult#result}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overResultOrEmpty() { + return getResult().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _GetReferencesResultRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _GetReferencesResultIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitGetReferencesResult(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetReferencesResult(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformGetReferencesResult(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetReferencesResult(this, context); + } + + private class _GetReferencesResultIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat(memberStream, Stream.of(GetReferencesResult.this.pagingMetadata)); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(GetReferencesResult.this.result, false)); + } + + return memberStream; + } + } + + private class _GetReferencesResultRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(GetReferencesResult.this.pagingMetadata), + StreamSupport.stream( + GetReferencesResult.this.pagingMetadata.descend().spliterator(), false))); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(GetReferencesResult.this.result, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/GetSubmodelDescriptorsResult.java b/src/main/java/aas_core/aas3_2/types/impl/GetSubmodelDescriptorsResult.java new file mode 100644 index 00000000..e037de3e --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/GetSubmodelDescriptorsResult.java @@ -0,0 +1,223 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IGetSubmodelDescriptorsResult; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The result of listing all submodel descriptors. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public class GetSubmodelDescriptorsResult implements IGetSubmodelDescriptorsResult { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetSubmodelDescriptorsResult(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetSubmodelDescriptorsResult( + IPagingMetadata pagingMetadata, List result) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + this.result = result; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return pagingMetadata; + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + @Override + public Optional> getResult() { + return Optional.ofNullable(result); + } + + @Override + public void setResult(List result) { + this.result = result; + } + + /** + * Iterate over {@link GetSubmodelDescriptorsResult#result}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overResultOrEmpty() { + return getResult().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _GetSubmodelDescriptorsResultRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _GetSubmodelDescriptorsResultIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitGetSubmodelDescriptorsResult(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetSubmodelDescriptorsResult(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformGetSubmodelDescriptorsResult(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetSubmodelDescriptorsResult(this, context); + } + + private class _GetSubmodelDescriptorsResultIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(GetSubmodelDescriptorsResult.this.pagingMetadata)); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelDescriptor( + GetSubmodelDescriptorsResult.this.result, false)); + } + + return memberStream; + } + } + + private class _GetSubmodelDescriptorsResultRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(GetSubmodelDescriptorsResult.this.pagingMetadata), + StreamSupport.stream( + GetSubmodelDescriptorsResult.this.pagingMetadata.descend().spliterator(), + false))); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelDescriptor( + GetSubmodelDescriptorsResult.this.result, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/GetSubmodelElementsMetadataResult.java b/src/main/java/aas_core/aas3_2/types/impl/GetSubmodelElementsMetadataResult.java new file mode 100644 index 00000000..7e755f55 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/GetSubmodelElementsMetadataResult.java @@ -0,0 +1,227 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IGetSubmodelElementsMetadataResult; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The result of listing the metadata of all submodel elements. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public class GetSubmodelElementsMetadataResult implements IGetSubmodelElementsMetadataResult { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetSubmodelElementsMetadataResult(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetSubmodelElementsMetadataResult( + IPagingMetadata pagingMetadata, List result) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + this.result = result; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return pagingMetadata; + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + @Override + public Optional> getResult() { + return Optional.ofNullable(result); + } + + @Override + public void setResult(List result) { + this.result = result; + } + + /** + * Iterate over {@link GetSubmodelElementsMetadataResult#result}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overResultOrEmpty() { + return getResult().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _GetSubmodelElementsMetadataResultRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _GetSubmodelElementsMetadataResultIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitGetSubmodelElementsMetadataResult(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetSubmodelElementsMetadataResult(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformGetSubmodelElementsMetadataResult(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetSubmodelElementsMetadataResult(this, context); + } + + private class _GetSubmodelElementsMetadataResultIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.of(GetSubmodelElementsMetadataResult.this.pagingMetadata)); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelElementMetadata( + GetSubmodelElementsMetadataResult.this.result, false)); + } + + return memberStream; + } + } + + private class _GetSubmodelElementsMetadataResultRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(GetSubmodelElementsMetadataResult.this.pagingMetadata), + StreamSupport.stream( + GetSubmodelElementsMetadataResult.this + .pagingMetadata + .descend() + .spliterator(), + false))); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelElementMetadata( + GetSubmodelElementsMetadataResult.this.result, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/GetSubmodelElementsResult.java b/src/main/java/aas_core/aas3_2/types/impl/GetSubmodelElementsResult.java new file mode 100644 index 00000000..15b77a02 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/GetSubmodelElementsResult.java @@ -0,0 +1,222 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IGetSubmodelElementsResult; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The result of listing all submodel elements. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public class GetSubmodelElementsResult implements IGetSubmodelElementsResult { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetSubmodelElementsResult(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetSubmodelElementsResult(IPagingMetadata pagingMetadata, List result) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + this.result = result; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return pagingMetadata; + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + @Override + public Optional> getResult() { + return Optional.ofNullable(result); + } + + @Override + public void setResult(List result) { + this.result = result; + } + + /** + * Iterate over {@link GetSubmodelElementsResult#result}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overResultOrEmpty() { + return getResult().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _GetSubmodelElementsResultRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _GetSubmodelElementsResultIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitGetSubmodelElementsResult(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetSubmodelElementsResult(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformGetSubmodelElementsResult(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetSubmodelElementsResult(this, context); + } + + private class _GetSubmodelElementsResultIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(GetSubmodelElementsResult.this.pagingMetadata)); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelElement( + GetSubmodelElementsResult.this.result, false)); + } + + return memberStream; + } + } + + private class _GetSubmodelElementsResultRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(GetSubmodelElementsResult.this.pagingMetadata), + StreamSupport.stream( + GetSubmodelElementsResult.this.pagingMetadata.descend().spliterator(), + false))); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelElement( + GetSubmodelElementsResult.this.result, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/GetSubmodelElementsValueResult.java b/src/main/java/aas_core/aas3_2/types/impl/GetSubmodelElementsValueResult.java new file mode 100644 index 00000000..5481376b --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/GetSubmodelElementsValueResult.java @@ -0,0 +1,218 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IGetSubmodelElementsValueResult; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The result of listing the submodel elements in the ValueOnly notation. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

Each item of the result is a submodel element given in the ValueOnly serialization, + * i.e., as a JSON object with a single key, the ID-short of the submodel element, whose + * value is its ValueOnly serialization. The shape of the value depends on the concrete submodel + * element and can not be pinned down statically, so each item is represented as an open JSON + * object. + * + *

Unlike the OpenAPI schema, which types the result as a single JSON object since V3.0.4, we + * follow BaSyx Go and represent the result as an array of items. We suspect the OpenAPI schema to + * be buggy here. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public class GetSubmodelElementsValueResult implements IGetSubmodelElementsValueResult { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetSubmodelElementsValueResult(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetSubmodelElementsValueResult(IPagingMetadata pagingMetadata, List result) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + this.result = result; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return pagingMetadata; + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + @Override + public Optional> getResult() { + return Optional.ofNullable(result); + } + + @Override + public void setResult(List result) { + this.result = result; + } + + /** + * Iterate over {@link GetSubmodelElementsValueResult#result}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overResultOrEmpty() { + return getResult().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _GetSubmodelElementsValueResultRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _GetSubmodelElementsValueResultIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitGetSubmodelElementsValueResult(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetSubmodelElementsValueResult(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformGetSubmodelElementsValueResult(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetSubmodelElementsValueResult(this, context); + } + + private class _GetSubmodelElementsValueResultIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.of(GetSubmodelElementsValueResult.this.pagingMetadata)); + } + + return memberStream; + } + } + + private class _GetSubmodelElementsValueResultRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(GetSubmodelElementsValueResult.this.pagingMetadata), + StreamSupport.stream( + GetSubmodelElementsValueResult.this.pagingMetadata.descend().spliterator(), + false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/GetSubmodelsMetadataResult.java b/src/main/java/aas_core/aas3_2/types/impl/GetSubmodelsMetadataResult.java new file mode 100644 index 00000000..8f1596da --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/GetSubmodelsMetadataResult.java @@ -0,0 +1,223 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IGetSubmodelsMetadataResult; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The result of listing the metadata of all submodels. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public class GetSubmodelsMetadataResult implements IGetSubmodelsMetadataResult { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetSubmodelsMetadataResult(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetSubmodelsMetadataResult( + IPagingMetadata pagingMetadata, List result) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + this.result = result; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return pagingMetadata; + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + @Override + public Optional> getResult() { + return Optional.ofNullable(result); + } + + @Override + public void setResult(List result) { + this.result = result; + } + + /** + * Iterate over {@link GetSubmodelsMetadataResult#result}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overResultOrEmpty() { + return getResult().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _GetSubmodelsMetadataResultRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _GetSubmodelsMetadataResultIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitGetSubmodelsMetadataResult(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetSubmodelsMetadataResult(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformGetSubmodelsMetadataResult(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetSubmodelsMetadataResult(this, context); + } + + private class _GetSubmodelsMetadataResultIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(GetSubmodelsMetadataResult.this.pagingMetadata)); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelMetadata( + GetSubmodelsMetadataResult.this.result, false)); + } + + return memberStream; + } + } + + private class _GetSubmodelsMetadataResultRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(GetSubmodelsMetadataResult.this.pagingMetadata), + StreamSupport.stream( + GetSubmodelsMetadataResult.this.pagingMetadata.descend().spliterator(), + false))); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelMetadata( + GetSubmodelsMetadataResult.this.result, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/GetSubmodelsResult.java b/src/main/java/aas_core/aas3_2/types/impl/GetSubmodelsResult.java new file mode 100644 index 00000000..af42f425 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/GetSubmodelsResult.java @@ -0,0 +1,217 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IGetSubmodelsResult; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The result of listing all submodels. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public class GetSubmodelsResult implements IGetSubmodelsResult { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetSubmodelsResult(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetSubmodelsResult(IPagingMetadata pagingMetadata, List result) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + this.result = result; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return pagingMetadata; + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + @Override + public Optional> getResult() { + return Optional.ofNullable(result); + } + + @Override + public void setResult(List result) { + this.result = result; + } + + /** + * Iterate over {@link GetSubmodelsResult#result}, if set, and otherwise return an empty iterator. + */ + public Iterable overResultOrEmpty() { + return getResult().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _GetSubmodelsResultRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _GetSubmodelsResultIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitGetSubmodelsResult(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetSubmodelsResult(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformGetSubmodelsResult(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetSubmodelsResult(this, context); + } + + private class _GetSubmodelsResultIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat(memberStream, Stream.of(GetSubmodelsResult.this.pagingMetadata)); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodel(GetSubmodelsResult.this.result, false)); + } + + return memberStream; + } + } + + private class _GetSubmodelsResultRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(GetSubmodelsResult.this.pagingMetadata), + StreamSupport.stream( + GetSubmodelsResult.this.pagingMetadata.descend().spliterator(), false))); + } + + if (result != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodel(GetSubmodelsResult.this.result, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/GetSubmodelsValueResult.java b/src/main/java/aas_core/aas3_2/types/impl/GetSubmodelsValueResult.java new file mode 100644 index 00000000..fd305f6b --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/GetSubmodelsValueResult.java @@ -0,0 +1,216 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IGetSubmodelsValueResult; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The result of listing the submodels in the ValueOnly notation. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

Each item of the result is a submodel given in the ValueOnly serialization, i.e., as + * a JSON object whose keys are the ID-shorts of the submodel elements and whose values are their + * ValueOnly serializations. Their shape depends on the concrete submodel elements and can not be + * pinned down statically, so each item is represented as an open JSON object. + * + *

Unlike the OpenAPI schema, which types the result as a single SubmodelValue since V3.0.4, we + * follow BaSyx Go and represent the result as an array of items. We suspect the OpenAPI schema to + * be buggy here. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public class GetSubmodelsValueResult implements IGetSubmodelsValueResult { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + /** The returned items. */ + private List result; + + public GetSubmodelsValueResult(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public GetSubmodelsValueResult(IPagingMetadata pagingMetadata, List result) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + this.result = result; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return pagingMetadata; + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + @Override + public Optional> getResult() { + return Optional.ofNullable(result); + } + + @Override + public void setResult(List result) { + this.result = result; + } + + /** + * Iterate over {@link GetSubmodelsValueResult#result}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overResultOrEmpty() { + return getResult().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _GetSubmodelsValueResultRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _GetSubmodelsValueResultIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitGetSubmodelsValueResult(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGetSubmodelsValueResult(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformGetSubmodelsValueResult(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGetSubmodelsValueResult(this, context); + } + + private class _GetSubmodelsValueResultIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(GetSubmodelsValueResult.this.pagingMetadata)); + } + + return memberStream; + } + } + + private class _GetSubmodelsValueResultRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(GetSubmodelsValueResult.this.pagingMetadata), + StreamSupport.stream( + GetSubmodelsValueResult.this.pagingMetadata.descend().spliterator(), + false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/GlobalAttribute.java b/src/main/java/aas_core/aas3_2/types/impl/GlobalAttribute.java new file mode 100644 index 00000000..36a97846 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/GlobalAttribute.java @@ -0,0 +1,90 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IGlobalAttribute; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** + * Refer to a global attribute such as the current time. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public class GlobalAttribute implements IGlobalAttribute { + /** Kind of the global attribute */ + private GlobalAttributeKind kind; + + public GlobalAttribute(GlobalAttributeKind kind) { + this.kind = Objects.requireNonNull(kind, "Argument \"kind\" must be non-null."); + } + + @Override + public GlobalAttributeKind getKind() { + return kind; + } + + @Override + public void setKind(GlobalAttributeKind kind) { + this.kind = Objects.requireNonNull(kind, "Argument \"kind\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitGlobalAttribute(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGlobalAttribute(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformGlobalAttribute(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGlobalAttribute(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/GreaterThanComparison.java b/src/main/java/aas_core/aas3_2/types/impl/GreaterThanComparison.java new file mode 100644 index 00000000..550022e7 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/GreaterThanComparison.java @@ -0,0 +1,171 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IGreaterThanComparison; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * Check whether the first operand is greater than the second one. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

The operands must be of compatible types, see https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + */ +public class GreaterThanComparison implements IGreaterThanComparison { + /** The two operands */ + private Tuple2 gt; + + public GreaterThanComparison(Tuple2 gt) { + this.gt = Objects.requireNonNull(gt, "Argument \"gt\" must be non-null."); + } + + @Override + public Tuple2 getGt() { + return gt; + } + + @Override + public void setGt(Tuple2 gt) { + this.gt = Objects.requireNonNull(gt, "Argument \"gt\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _GreaterThanComparisonRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _GreaterThanComparisonIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitGreaterThanComparison(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGreaterThanComparison(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformGreaterThanComparison(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGreaterThanComparison(this, context); + } + + private class _GreaterThanComparisonIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (gt != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendTupleOf2_Value_Value(GreaterThanComparison.this.gt, false)); + } + + return memberStream; + } + } + + private class _GreaterThanComparisonRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (gt != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendTupleOf2_Value_Value(GreaterThanComparison.this.gt, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/GreaterThanOrEqualComparison.java b/src/main/java/aas_core/aas3_2/types/impl/GreaterThanOrEqualComparison.java new file mode 100644 index 00000000..42444b33 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/GreaterThanOrEqualComparison.java @@ -0,0 +1,171 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IGreaterThanOrEqualComparison; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * Check whether the first operand is greater than or equal to the second one. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

The operands must be of compatible types, see https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + */ +public class GreaterThanOrEqualComparison implements IGreaterThanOrEqualComparison { + /** The two operands */ + private Tuple2 ge; + + public GreaterThanOrEqualComparison(Tuple2 ge) { + this.ge = Objects.requireNonNull(ge, "Argument \"ge\" must be non-null."); + } + + @Override + public Tuple2 getGe() { + return ge; + } + + @Override + public void setGe(Tuple2 ge) { + this.ge = Objects.requireNonNull(ge, "Argument \"ge\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _GreaterThanOrEqualComparisonRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _GreaterThanOrEqualComparisonIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitGreaterThanOrEqualComparison(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitGreaterThanOrEqualComparison(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformGreaterThanOrEqualComparison(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformGreaterThanOrEqualComparison(this, context); + } + + private class _GreaterThanOrEqualComparisonIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (ge != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendTupleOf2_Value_Value(GreaterThanOrEqualComparison.this.ge, false)); + } + + return memberStream; + } + } + + private class _GreaterThanOrEqualComparisonRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (ge != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendTupleOf2_Value_Value(GreaterThanOrEqualComparison.this.ge, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/HexCast.java b/src/main/java/aas_core/aas3_2/types/impl/HexCast.java new file mode 100644 index 00000000..af69a926 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/HexCast.java @@ -0,0 +1,170 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IHexCast; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Cast the operand to {@code xs:hexBinary}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#casting + */ +public class HexCast implements IHexCast { + /** The operand to be cast */ + private Value hexCast; + + public HexCast(Value hexCast) { + this.hexCast = Objects.requireNonNull(hexCast, "Argument \"hexCast\" must be non-null."); + } + + @Override + public Value getHexCast() { + return hexCast; + } + + @Override + public void setHexCast(Value hexCast) { + this.hexCast = Objects.requireNonNull(hexCast, "Argument \"hexCast\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _HexCastRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _HexCastIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitHexCast(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitHexCast(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformHexCast(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformHexCast(this, context); + } + + private class _HexCastIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (hexCast != null) { + memberStream = + Stream.concat(memberStream, Stream.of(HexCast.this.hexCast.getUnderlying())); + } + + return memberStream; + } + } + + private class _HexCastRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (hexCast != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(HexCast.this.hexCast.getUnderlying()), + StreamSupport.stream( + HexCast.this.hexCast.getUnderlying().descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/HexLiteral.java b/src/main/java/aas_core/aas3_2/types/impl/HexLiteral.java new file mode 100644 index 00000000..9dd81ff6 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/HexLiteral.java @@ -0,0 +1,90 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IHexLiteral; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** + * Use a hexadecimal literal as an operand. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public class HexLiteral implements IHexLiteral { + /** The hexadecimal value */ + private String hexVal; + + public HexLiteral(String hexVal) { + this.hexVal = Objects.requireNonNull(hexVal, "Argument \"hexVal\" must be non-null."); + } + + @Override + public String getHexVal() { + return hexVal; + } + + @Override + public void setHexVal(String hexVal) { + this.hexVal = Objects.requireNonNull(hexVal, "Argument \"hexVal\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitHexLiteral(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitHexLiteral(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformHexLiteral(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformHexLiteral(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/Key.java b/src/main/java/aas_core/aas3_2/types/impl/Key.java new file mode 100644 index 00000000..79bb441c --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/Key.java @@ -0,0 +1,112 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IKey; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** A key is a reference to an element by its ID. */ +public class Key implements IKey { + /** + * Denotes which kind of entity is referenced. + * + *

If {@link #getType()} = {@link aas_core.aas3_2.types.enums.KeyTypes#GLOBAL_REFERENCE}, the + * key represents a reference to a source that can be globally identified. + * + *

If {@link #getType()} = {@link aas_core.aas3_2.types.enums.KeyTypes#FRAGMENT_REFERENCE} the + * key represents a bookmark or a similar local identifier within its parent element as specified + * by the key that precedes this key. + * + *

In all other cases, the key references a model element of the same or another Asset + * Administration Shell. The name of the model element is explicitly listed. + */ + private KeyTypes type; + + /** The key value, for example an IRDI or a URI or the ID-short or any other fragment value */ + private String value; + + public Key(KeyTypes type, String value) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + @Override + public KeyTypes getType() { + return type; + } + + @Override + public void setType(KeyTypes type) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + } + + @Override + public String getValue() { + return value; + } + + @Override + public void setValue(String value) { + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitKey(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitKey(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformKey(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformKey(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/LangStringDefinitionTypeIec61360.java b/src/main/java/aas_core/aas3_2/types/impl/LangStringDefinitionTypeIec61360.java new file mode 100644 index 00000000..43e6be9c --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/LangStringDefinitionTypeIec61360.java @@ -0,0 +1,100 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ILangStringDefinitionTypeIec61360; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** String with length 1023 maximum and minimum 1 characters and with language tags */ +public class LangStringDefinitionTypeIec61360 implements ILangStringDefinitionTypeIec61360 { + /** Language tag conforming to BCP 47 */ + private String language; + + /** Text in the {@link aas_core.aas3_2.types.model.IAbstractLangString#getLanguage()} */ + private String text; + + public LangStringDefinitionTypeIec61360(String language, String text) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + @Override + public String getLanguage() { + return language; + } + + @Override + public void setLanguage(String language) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + } + + @Override + public String getText() { + return text; + } + + @Override + public void setText(String text) { + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitLangStringDefinitionTypeIec61360(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringDefinitionTypeIec61360(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformLangStringDefinitionTypeIec61360(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringDefinitionTypeIec61360(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/LangStringNameType.java b/src/main/java/aas_core/aas3_2/types/impl/LangStringNameType.java new file mode 100644 index 00000000..8cc303ec --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/LangStringNameType.java @@ -0,0 +1,100 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ILangStringNameType; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** String with length 128 maximum and minimum 1 characters and with language tags */ +public class LangStringNameType implements ILangStringNameType { + /** Language tag conforming to BCP 47 */ + private String language; + + /** Text in the {@link aas_core.aas3_2.types.model.IAbstractLangString#getLanguage()} */ + private String text; + + public LangStringNameType(String language, String text) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + @Override + public String getLanguage() { + return language; + } + + @Override + public void setLanguage(String language) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + } + + @Override + public String getText() { + return text; + } + + @Override + public void setText(String text) { + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitLangStringNameType(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringNameType(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformLangStringNameType(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringNameType(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/LangStringPreferredNameTypeIec61360.java b/src/main/java/aas_core/aas3_2/types/impl/LangStringPreferredNameTypeIec61360.java new file mode 100644 index 00000000..e8df7229 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/LangStringPreferredNameTypeIec61360.java @@ -0,0 +1,104 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ILangStringPreferredNameTypeIec61360; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** + * String with length 255 maximum and minimum 1 characters and with language tags + * + *

It is advised to keep the length of the name limited to 35 characters. + */ +public class LangStringPreferredNameTypeIec61360 implements ILangStringPreferredNameTypeIec61360 { + /** Language tag conforming to BCP 47 */ + private String language; + + /** Text in the {@link aas_core.aas3_2.types.model.IAbstractLangString#getLanguage()} */ + private String text; + + public LangStringPreferredNameTypeIec61360(String language, String text) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + @Override + public String getLanguage() { + return language; + } + + @Override + public void setLanguage(String language) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + } + + @Override + public String getText() { + return text; + } + + @Override + public void setText(String text) { + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitLangStringPreferredNameTypeIec61360(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringPreferredNameTypeIec61360(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformLangStringPreferredNameTypeIec61360(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringPreferredNameTypeIec61360(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/LangStringShortNameTypeIec61360.java b/src/main/java/aas_core/aas3_2/types/impl/LangStringShortNameTypeIec61360.java new file mode 100644 index 00000000..9e3a0dd4 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/LangStringShortNameTypeIec61360.java @@ -0,0 +1,100 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ILangStringShortNameTypeIec61360; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** String with length 18 maximum and minimum 1 characters and with language tags */ +public class LangStringShortNameTypeIec61360 implements ILangStringShortNameTypeIec61360 { + /** Language tag conforming to BCP 47 */ + private String language; + + /** Text in the {@link aas_core.aas3_2.types.model.IAbstractLangString#getLanguage()} */ + private String text; + + public LangStringShortNameTypeIec61360(String language, String text) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + @Override + public String getLanguage() { + return language; + } + + @Override + public void setLanguage(String language) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + } + + @Override + public String getText() { + return text; + } + + @Override + public void setText(String text) { + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitLangStringShortNameTypeIec61360(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringShortNameTypeIec61360(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformLangStringShortNameTypeIec61360(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringShortNameTypeIec61360(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/LangStringTextType.java b/src/main/java/aas_core/aas3_2/types/impl/LangStringTextType.java new file mode 100644 index 00000000..a63111ed --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/LangStringTextType.java @@ -0,0 +1,100 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ILangStringTextType; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** String with length 1023 maximum and minimum 1 characters and with language tags */ +public class LangStringTextType implements ILangStringTextType { + /** Language tag conforming to BCP 47 */ + private String language; + + /** Text in the {@link aas_core.aas3_2.types.model.IAbstractLangString#getLanguage()} */ + private String text; + + public LangStringTextType(String language, String text) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + @Override + public String getLanguage() { + return language; + } + + @Override + public void setLanguage(String language) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + } + + @Override + public String getText() { + return text; + } + + @Override + public void setText(String text) { + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitLangStringTextType(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringTextType(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformLangStringTextType(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringTextType(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/LangStringUom.java b/src/main/java/aas_core/aas3_2/types/impl/LangStringUom.java new file mode 100644 index 00000000..22327279 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/LangStringUom.java @@ -0,0 +1,100 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ILangStringUom; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** String with length 256 maximum and minimum 1 characters and with language tags. */ +public class LangStringUom implements ILangStringUom { + /** Language tag conforming to BCP 47 */ + private String language; + + /** Text in the {@link aas_core.aas3_2.types.model.IAbstractLangString#getLanguage()} */ + private String text; + + public LangStringUom(String language, String text) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + @Override + public String getLanguage() { + return language; + } + + @Override + public void setLanguage(String language) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + } + + @Override + public String getText() { + return text; + } + + @Override + public void setText(String text) { + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitLangStringUom(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringUom(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformLangStringUom(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringUom(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/LessThanComparison.java b/src/main/java/aas_core/aas3_2/types/impl/LessThanComparison.java new file mode 100644 index 00000000..380e1a66 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/LessThanComparison.java @@ -0,0 +1,171 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ILessThanComparison; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * Check whether the first operand is less than the second one. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

The operands must be of compatible types, see https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + */ +public class LessThanComparison implements ILessThanComparison { + /** The two operands */ + private Tuple2 lt; + + public LessThanComparison(Tuple2 lt) { + this.lt = Objects.requireNonNull(lt, "Argument \"lt\" must be non-null."); + } + + @Override + public Tuple2 getLt() { + return lt; + } + + @Override + public void setLt(Tuple2 lt) { + this.lt = Objects.requireNonNull(lt, "Argument \"lt\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _LessThanComparisonRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _LessThanComparisonIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitLessThanComparison(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLessThanComparison(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformLessThanComparison(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLessThanComparison(this, context); + } + + private class _LessThanComparisonIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (lt != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendTupleOf2_Value_Value(LessThanComparison.this.lt, false)); + } + + return memberStream; + } + } + + private class _LessThanComparisonRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (lt != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendTupleOf2_Value_Value(LessThanComparison.this.lt, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/LessThanOrEqualComparison.java b/src/main/java/aas_core/aas3_2/types/impl/LessThanOrEqualComparison.java new file mode 100644 index 00000000..dde0cfea --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/LessThanOrEqualComparison.java @@ -0,0 +1,171 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ILessThanOrEqualComparison; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * Check whether the first operand is less than or equal to the second one. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

The operands must be of compatible types, see https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + */ +public class LessThanOrEqualComparison implements ILessThanOrEqualComparison { + /** The two operands */ + private Tuple2 le; + + public LessThanOrEqualComparison(Tuple2 le) { + this.le = Objects.requireNonNull(le, "Argument \"le\" must be non-null."); + } + + @Override + public Tuple2 getLe() { + return le; + } + + @Override + public void setLe(Tuple2 le) { + this.le = Objects.requireNonNull(le, "Argument \"le\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _LessThanOrEqualComparisonRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _LessThanOrEqualComparisonIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitLessThanOrEqualComparison(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLessThanOrEqualComparison(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformLessThanOrEqualComparison(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLessThanOrEqualComparison(this, context); + } + + private class _LessThanOrEqualComparisonIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (le != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendTupleOf2_Value_Value(LessThanOrEqualComparison.this.le, false)); + } + + return memberStream; + } + } + + private class _LessThanOrEqualComparisonRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (le != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendTupleOf2_Value_Value(LessThanOrEqualComparison.this.le, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/LevelType.java b/src/main/java/aas_core/aas3_2/types/impl/LevelType.java new file mode 100644 index 00000000..ad9affe4 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/LevelType.java @@ -0,0 +1,162 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ILevelType; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** + * Value represented by up to four variants of a numeric value in a specific role: {@code MIN}, + * {@code NOM}, {@code TYP} and {@code MAX}. True means that the value is available, false means the + * value is not available. + * + *

EXAMPLE from [IEC61360-1]: In the case of having a property which is of the LEVEL_TYPE min/max + * − expressing a range − only those two values need to be provided. + * + *

This is how AAS deals with the following combinations of level types: + * + *

    + *
  • + *

    Either all attributes are false. In this case the concept is mapped to a {@link + * aas_core.aas3_2.types.impl.Property} and level type is ignored. + *

  • + *

    At most one of the attributes is set to true. In this case the concept is mapped to a + * {@link aas_core.aas3_2.types.impl.Property}. + *

  • + *

    Min and max are set to true. In this case the concept is mapped to a {@link + * aas_core.aas3_2.types.impl.Range}. + *

  • + *

    More than one attribute is set to true but not min and max only (see second case). In + * this case the concept is mapped to a {@link + * aas_core.aas3_2.types.impl.SubmodelElementCollection} with the corresponding number of + * Properties. Example: If attribute {@link #getMin()} and {@link #getNom()} are set to true + * then the concept is mapped to a {@link + * aas_core.aas3_2.types.impl.SubmodelElementCollection} with two Properties within: min and + * nom. The data type of both Properties is the same. + *

+ * + *

In the cases 2. and 4. the {@link aas_core.aas3_2.types.impl.Property#getSemanticId()} of the + * Property or Properties within the {@link aas_core.aas3_2.types.impl.SubmodelElementCollection} + * needs to include information about the level type. Otherwise, the semantics is not described in a + * unique way. Please refer to the specification. + */ +public class LevelType implements ILevelType { + /** Minimum of the value */ + private Boolean min; + + /** Nominal value (value as designated) */ + private Boolean nom; + + /** Value as typically present */ + private Boolean typ; + + /** Maximum of the value */ + private Boolean max; + + public LevelType(Boolean min, Boolean nom, Boolean typ, Boolean max) { + this.min = Objects.requireNonNull(min, "Argument \"min\" must be non-null."); + this.nom = Objects.requireNonNull(nom, "Argument \"nom\" must be non-null."); + this.typ = Objects.requireNonNull(typ, "Argument \"typ\" must be non-null."); + this.max = Objects.requireNonNull(max, "Argument \"max\" must be non-null."); + } + + @Override + public Boolean getMin() { + return min; + } + + @Override + public void setMin(Boolean min) { + this.min = Objects.requireNonNull(min, "Argument \"min\" must be non-null."); + } + + @Override + public Boolean getNom() { + return nom; + } + + @Override + public void setNom(Boolean nom) { + this.nom = Objects.requireNonNull(nom, "Argument \"nom\" must be non-null."); + } + + @Override + public Boolean getTyp() { + return typ; + } + + @Override + public void setTyp(Boolean typ) { + this.typ = Objects.requireNonNull(typ, "Argument \"typ\" must be non-null."); + } + + @Override + public Boolean getMax() { + return max; + } + + @Override + public void setMax(Boolean max) { + this.max = Objects.requireNonNull(max, "Argument \"max\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitLevelType(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLevelType(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformLevelType(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLevelType(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/MatchClause.java b/src/main/java/aas_core/aas3_2/types/impl/MatchClause.java new file mode 100644 index 00000000..ef6a96de --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/MatchClause.java @@ -0,0 +1,171 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IMatchClause; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * Check that all the operands hold for the same element of a list. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_match_of_elements_in_lists + */ +public class MatchClause implements IMatchClause { + /** The comparisons and nested matches which all need to hold */ + private List matchOperands; + + public MatchClause(List matchOperands) { + this.matchOperands = + Objects.requireNonNull(matchOperands, "Argument \"matchOperands\" must be non-null."); + } + + @Override + public List getMatchOperands() { + return matchOperands; + } + + @Override + public void setMatchOperands(List matchOperands) { + this.matchOperands = + Objects.requireNonNull(matchOperands, "Argument \"matchOperands\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _MatchClauseRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _MatchClauseIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitMatchClause(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitMatchClause(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformMatchClause(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformMatchClause(this, context); + } + + private class _MatchClauseIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (matchOperands != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_MatchExpression(MatchClause.this.matchOperands, false)); + } + + return memberStream; + } + } + + private class _MatchClauseRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (matchOperands != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_MatchExpression(MatchClause.this.matchOperands, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/Message.java b/src/main/java/aas_core/aas3_2/types/impl/Message.java new file mode 100644 index 00000000..21f908aa --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/Message.java @@ -0,0 +1,161 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IMessage; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; +import java.util.Optional; + +/** + * A message containing more information for the requester about a certain happening in the backend. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#Message + */ +public class Message implements IMessage { + /** The message type */ + private MessageTypeEnum messageType; + + /** The message text */ + private String text; + + /** Technology-dependent status or error code */ + private String code; + + /** Identifier to relate several result messages throughout several systems */ + private String correlationId; + + /** Timestamp of the message */ + private String timestamp; + + public Message(MessageTypeEnum messageType, String text) { + this.messageType = + Objects.requireNonNull(messageType, "Argument \"messageType\" must be non-null."); + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + public Message( + MessageTypeEnum messageType, + String text, + String code, + String correlationId, + String timestamp) { + this.messageType = + Objects.requireNonNull(messageType, "Argument \"messageType\" must be non-null."); + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + this.code = code; + this.correlationId = correlationId; + this.timestamp = timestamp; + } + + @Override + public MessageTypeEnum getMessageType() { + return messageType; + } + + @Override + public void setMessageType(MessageTypeEnum messageType) { + this.messageType = + Objects.requireNonNull(messageType, "Argument \"messageType\" must be non-null."); + } + + @Override + public String getText() { + return text; + } + + @Override + public void setText(String text) { + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + @Override + public Optional getCode() { + return Optional.ofNullable(code); + } + + @Override + public void setCode(String code) { + this.code = code; + } + + @Override + public Optional getCorrelationId() { + return Optional.ofNullable(correlationId); + } + + @Override + public void setCorrelationId(String correlationId) { + this.correlationId = correlationId; + } + + @Override + public Optional getTimestamp() { + return Optional.ofNullable(timestamp); + } + + @Override + public void setTimestamp(String timestamp) { + this.timestamp = timestamp; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitMessage(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitMessage(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformMessage(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformMessage(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/Month.java b/src/main/java/aas_core/aas3_2/types/impl/Month.java new file mode 100644 index 00000000..9abd2ad2 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/Month.java @@ -0,0 +1,167 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IMonth; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Extract the month from the date-time operand as a number. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public class Month implements IMonth { + /** The date-time operand */ + private DateTimeOperand month; + + public Month(DateTimeOperand month) { + this.month = Objects.requireNonNull(month, "Argument \"month\" must be non-null."); + } + + @Override + public DateTimeOperand getMonth() { + return month; + } + + @Override + public void setMonth(DateTimeOperand month) { + this.month = Objects.requireNonNull(month, "Argument \"month\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _MonthRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _MonthIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitMonth(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitMonth(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformMonth(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformMonth(this, context); + } + + private class _MonthIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (month != null) { + memberStream = + Stream.concat(memberStream, Stream.of(Month.this.month.getUnderlying())); + } + + return memberStream; + } + } + + private class _MonthRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (month != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Month.this.month.getUnderlying()), + StreamSupport.stream( + Month.this.month.getUnderlying().descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/MultiLanguageProperty.java b/src/main/java/aas_core/aas3_2/types/impl/MultiLanguageProperty.java new file mode 100644 index 00000000..d5af9e57 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/MultiLanguageProperty.java @@ -0,0 +1,552 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IMultiLanguageProperty; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A property is a data element that has a multi-language value. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-012: If both the {@link #getValue()} and the {@link #getValueId()} are + * present then for each string in a specific language the meaning must be the same as + * specified in {@link #getValueId()}. + *
+ */ +public class MultiLanguageProperty implements IMultiLanguageProperty { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** The value of the property instance. */ + private List value; + + /** Reference to the global unique ID of a coded value. */ + private IReference valueId; + + public MultiLanguageProperty() { + // Intentionally empty. + } + + public MultiLanguageProperty( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + List value, + IReference valueId) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.value = value; + this.valueId = valueId; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(List value) { + this.value = value; + } + + @Override + public Optional getValueId() { + return Optional.ofNullable(valueId); + } + + @Override + public void setValueId(IReference valueId) { + this.valueId = valueId; + } + + /** + * Iterate over {@link MultiLanguageProperty#extensions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link MultiLanguageProperty#displayName}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link MultiLanguageProperty#description}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link MultiLanguageProperty#supplementalSemanticIds}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link MultiLanguageProperty#qualifiers}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link MultiLanguageProperty#embeddedDataSpecifications}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link MultiLanguageProperty#value}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overValueOrEmpty() { + return getValue().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _MultiLanguagePropertyRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _MultiLanguagePropertyIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitMultiLanguageProperty(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitMultiLanguageProperty(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformMultiLanguageProperty(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformMultiLanguageProperty(this, context); + } + + private class _MultiLanguagePropertyIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(MultiLanguageProperty.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + MultiLanguageProperty.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + MultiLanguageProperty.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(MultiLanguageProperty.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + MultiLanguageProperty.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(MultiLanguageProperty.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + MultiLanguageProperty.this.embeddedDataSpecifications, false)); + } + + if (value != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(MultiLanguageProperty.this.value, false)); + } + + if (valueId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(MultiLanguageProperty.this.valueId)); + } + + return memberStream; + } + } + + private class _MultiLanguagePropertyRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(MultiLanguageProperty.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + MultiLanguageProperty.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + MultiLanguageProperty.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(MultiLanguageProperty.this.semanticId), + StreamSupport.stream( + MultiLanguageProperty.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + MultiLanguageProperty.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(MultiLanguageProperty.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + MultiLanguageProperty.this.embeddedDataSpecifications, true)); + } + + if (value != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(MultiLanguageProperty.this.value, true)); + } + + if (valueId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(MultiLanguageProperty.this.valueId), + StreamSupport.stream( + MultiLanguageProperty.this.valueId.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/MultiLanguagePropertyMetadata.java b/src/main/java/aas_core/aas3_2/types/impl/MultiLanguagePropertyMetadata.java new file mode 100644 index 00000000..807307c8 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/MultiLanguagePropertyMetadata.java @@ -0,0 +1,488 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IMultiLanguagePropertyMetadata; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.MultiLanguageProperty}, without its value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class MultiLanguagePropertyMetadata implements IMultiLanguagePropertyMetadata { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public MultiLanguagePropertyMetadata() { + // Intentionally empty. + } + + public MultiLanguagePropertyMetadata( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + /** + * Iterate over {@link MultiLanguagePropertyMetadata#extensions}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link MultiLanguagePropertyMetadata#displayName}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link MultiLanguagePropertyMetadata#description}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link MultiLanguagePropertyMetadata#supplementalSemanticIds}, if set, and + * otherwise return an empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link MultiLanguagePropertyMetadata#qualifiers}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link MultiLanguagePropertyMetadata#embeddedDataSpecifications}, if set, and + * otherwise return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _MultiLanguagePropertyMetadataRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _MultiLanguagePropertyMetadataIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitMultiLanguagePropertyMetadata(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitMultiLanguagePropertyMetadata(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformMultiLanguagePropertyMetadata(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformMultiLanguagePropertyMetadata(this, context); + } + + private class _MultiLanguagePropertyMetadataIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension( + MultiLanguagePropertyMetadata.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + MultiLanguagePropertyMetadata.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + MultiLanguagePropertyMetadata.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(MultiLanguagePropertyMetadata.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + MultiLanguagePropertyMetadata.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier( + MultiLanguagePropertyMetadata.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + MultiLanguagePropertyMetadata.this.embeddedDataSpecifications, false)); + } + + return memberStream; + } + } + + private class _MultiLanguagePropertyMetadataRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension( + MultiLanguagePropertyMetadata.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + MultiLanguagePropertyMetadata.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + MultiLanguagePropertyMetadata.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(MultiLanguagePropertyMetadata.this.semanticId), + StreamSupport.stream( + MultiLanguagePropertyMetadata.this.semanticId.descend().spliterator(), + false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + MultiLanguagePropertyMetadata.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier( + MultiLanguagePropertyMetadata.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + MultiLanguagePropertyMetadata.this.embeddedDataSpecifications, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/NotEqualComparison.java b/src/main/java/aas_core/aas3_2/types/impl/NotEqualComparison.java new file mode 100644 index 00000000..1bc18391 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/NotEqualComparison.java @@ -0,0 +1,171 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.INotEqualComparison; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * Check whether the two operands are not equal. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

The operands must be of compatible types, see https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + */ +public class NotEqualComparison implements INotEqualComparison { + /** The two operands */ + private Tuple2 ne; + + public NotEqualComparison(Tuple2 ne) { + this.ne = Objects.requireNonNull(ne, "Argument \"ne\" must be non-null."); + } + + @Override + public Tuple2 getNe() { + return ne; + } + + @Override + public void setNe(Tuple2 ne) { + this.ne = Objects.requireNonNull(ne, "Argument \"ne\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _NotEqualComparisonRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _NotEqualComparisonIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitNotEqualComparison(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitNotEqualComparison(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformNotEqualComparison(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformNotEqualComparison(this, context); + } + + private class _NotEqualComparisonIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (ne != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendTupleOf2_Value_Value(NotEqualComparison.this.ne, false)); + } + + return memberStream; + } + } + + private class _NotEqualComparisonRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (ne != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendTupleOf2_Value_Value(NotEqualComparison.this.ne, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/NotExpression.java b/src/main/java/aas_core/aas3_2/types/impl/NotExpression.java new file mode 100644 index 00000000..5a741c2c --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/NotExpression.java @@ -0,0 +1,174 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.INotExpression; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Negate an expression. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_logical_expressions + */ +public class NotExpression implements INotExpression { + /** The expression to be negated */ + private LogicalExpression notOperand; + + public NotExpression(LogicalExpression notOperand) { + this.notOperand = + Objects.requireNonNull(notOperand, "Argument \"notOperand\" must be non-null."); + } + + @Override + public LogicalExpression getNotOperand() { + return notOperand; + } + + @Override + public void setNotOperand(LogicalExpression notOperand) { + this.notOperand = + Objects.requireNonNull(notOperand, "Argument \"notOperand\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _NotExpressionRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _NotExpressionIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitNotExpression(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitNotExpression(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformNotExpression(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformNotExpression(this, context); + } + + private class _NotExpressionIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (notOperand != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(NotExpression.this.notOperand.getUnderlying())); + } + + return memberStream; + } + } + + private class _NotExpressionRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (notOperand != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(NotExpression.this.notOperand.getUnderlying()), + StreamSupport.stream( + NotExpression.this.notOperand.getUnderlying().descend().spliterator(), + false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/NumberCast.java b/src/main/java/aas_core/aas3_2/types/impl/NumberCast.java new file mode 100644 index 00000000..56846c8b --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/NumberCast.java @@ -0,0 +1,170 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.INumberCast; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Cast the operand to a number. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#casting + */ +public class NumberCast implements INumberCast { + /** The operand to be cast */ + private Value numCast; + + public NumberCast(Value numCast) { + this.numCast = Objects.requireNonNull(numCast, "Argument \"numCast\" must be non-null."); + } + + @Override + public Value getNumCast() { + return numCast; + } + + @Override + public void setNumCast(Value numCast) { + this.numCast = Objects.requireNonNull(numCast, "Argument \"numCast\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _NumberCastRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _NumberCastIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitNumberCast(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitNumberCast(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformNumberCast(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformNumberCast(this, context); + } + + private class _NumberCastIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (numCast != null) { + memberStream = + Stream.concat(memberStream, Stream.of(NumberCast.this.numCast.getUnderlying())); + } + + return memberStream; + } + } + + private class _NumberCastRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (numCast != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(NumberCast.this.numCast.getUnderlying()), + StreamSupport.stream( + NumberCast.this.numCast.getUnderlying().descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/NumberLiteral.java b/src/main/java/aas_core/aas3_2/types/impl/NumberLiteral.java new file mode 100644 index 00000000..ccb57516 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/NumberLiteral.java @@ -0,0 +1,90 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.INumberLiteral; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** + * Use a number literal as an operand. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public class NumberLiteral implements INumberLiteral { + /** The numerical value */ + private Double numVal; + + public NumberLiteral(Double numVal) { + this.numVal = Objects.requireNonNull(numVal, "Argument \"numVal\" must be non-null."); + } + + @Override + public Double getNumVal() { + return numVal; + } + + @Override + public void setNumVal(Double numVal) { + this.numVal = Objects.requireNonNull(numVal, "Argument \"numVal\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitNumberLiteral(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitNumberLiteral(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformNumberLiteral(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformNumberLiteral(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/Operation.java b/src/main/java/aas_core/aas3_2/types/impl/Operation.java new file mode 100644 index 00000000..5e5f83bd --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/Operation.java @@ -0,0 +1,578 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IOperation; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * An operation is a submodel element with input and output variables. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-134: For an {@link aas_core.aas3_2.types.impl.Operation} the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} of all {@link + * aas_core.aas3_2.types.impl.OperationVariable#getValue()}'s in {@link #getInputVariables()}, + * {@link #getOutputVariables()} and {@link #getInoutputVariables()} shall be unique. + *
+ */ +public class Operation implements IOperation { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Input parameter of the operation. */ + private List inputVariables; + + /** Output parameter of the operation. */ + private List outputVariables; + + /** + * Parameter that is input and output of the operation. + * + *

In embedded systems inoutput variables are variables that can be read but that are also + * written by the system. Typically, this is implemented via a pointer (i.e. 'by reference' + * instead of 'by value'). + */ + private List inoutputVariables; + + public Operation() { + // Intentionally empty. + } + + public Operation( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + List inputVariables, + List outputVariables, + List inoutputVariables) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.inputVariables = inputVariables; + this.outputVariables = outputVariables; + this.inoutputVariables = inoutputVariables; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getInputVariables() { + return Optional.ofNullable(inputVariables); + } + + @Override + public void setInputVariables(List inputVariables) { + this.inputVariables = inputVariables; + } + + @Override + public Optional> getOutputVariables() { + return Optional.ofNullable(outputVariables); + } + + @Override + public void setOutputVariables(List outputVariables) { + this.outputVariables = outputVariables; + } + + @Override + public Optional> getInoutputVariables() { + return Optional.ofNullable(inoutputVariables); + } + + @Override + public void setInoutputVariables(List inoutputVariables) { + this.inoutputVariables = inoutputVariables; + } + + /** Iterate over {@link Operation#extensions}, if set, and otherwise return an empty iterator. */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Operation#displayName}, if set, and otherwise return an empty iterator. */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Operation#description}, if set, and otherwise return an empty iterator. */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Operation#supplementalSemanticIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Operation#qualifiers}, if set, and otherwise return an empty iterator. */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Operation#embeddedDataSpecifications}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Operation#inputVariables}, if set, and otherwise return an empty iterator. + */ + public Iterable overInputVariablesOrEmpty() { + return getInputVariables().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Operation#outputVariables}, if set, and otherwise return an empty iterator. + */ + public Iterable overOutputVariablesOrEmpty() { + return getOutputVariables().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Operation#inoutputVariables}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overInoutputVariablesOrEmpty() { + return getInoutputVariables().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _OperationRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _OperationIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitOperation(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperation(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformOperation(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperation(this, context); + } + + private class _OperationIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Operation.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Operation.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Operation.this.description, false)); + } + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Operation.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Operation.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Operation.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Operation.this.embeddedDataSpecifications, false)); + } + + if (inputVariables != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable(Operation.this.inputVariables, false)); + } + + if (outputVariables != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable(Operation.this.outputVariables, false)); + } + + if (inoutputVariables != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable(Operation.this.inoutputVariables, false)); + } + + return memberStream; + } + } + + private class _OperationRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Operation.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Operation.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Operation.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Operation.this.semanticId), + StreamSupport.stream( + Operation.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Operation.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Operation.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Operation.this.embeddedDataSpecifications, true)); + } + + if (inputVariables != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable(Operation.this.inputVariables, true)); + } + + if (outputVariables != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable(Operation.this.outputVariables, true)); + } + + if (inoutputVariables != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable(Operation.this.inoutputVariables, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/OperationHandle.java b/src/main/java/aas_core/aas3_2/types/impl/OperationHandle.java new file mode 100644 index 00000000..99fa549a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/OperationHandle.java @@ -0,0 +1,92 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IOperationHandle; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** + * The returned handle of an operation's asynchronous invocation used to request the current state + * of the operation's execution. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#OperationHandle + */ +public class OperationHandle implements IOperationHandle { + /** Handle ID */ + private String handleId; + + public OperationHandle(String handleId) { + this.handleId = Objects.requireNonNull(handleId, "Argument \"handleId\" must be non-null."); + } + + @Override + public String getHandleId() { + return handleId; + } + + @Override + public void setHandleId(String handleId) { + this.handleId = Objects.requireNonNull(handleId, "Argument \"handleId\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitOperationHandle(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperationHandle(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformOperationHandle(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperationHandle(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/OperationMetadata.java b/src/main/java/aas_core/aas3_2/types/impl/OperationMetadata.java new file mode 100644 index 00000000..7452247a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/OperationMetadata.java @@ -0,0 +1,483 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IOperationMetadata; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The metadata of an {@link aas_core.aas3_2.types.impl.Operation}, without its + * input/output/inoutput variables. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class OperationMetadata implements IOperationMetadata { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public OperationMetadata() { + // Intentionally empty. + } + + public OperationMetadata( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + /** + * Iterate over {@link OperationMetadata#extensions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link OperationMetadata#displayName}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link OperationMetadata#description}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link OperationMetadata#supplementalSemanticIds}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link OperationMetadata#qualifiers}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link OperationMetadata#embeddedDataSpecifications}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _OperationMetadataRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _OperationMetadataIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitOperationMetadata(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperationMetadata(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformOperationMetadata(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperationMetadata(this, context); + } + + private class _OperationMetadataIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(OperationMetadata.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + OperationMetadata.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + OperationMetadata.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(OperationMetadata.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + OperationMetadata.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(OperationMetadata.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + OperationMetadata.this.embeddedDataSpecifications, false)); + } + + return memberStream; + } + } + + private class _OperationMetadataRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(OperationMetadata.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + OperationMetadata.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + OperationMetadata.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(OperationMetadata.this.semanticId), + StreamSupport.stream( + OperationMetadata.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + OperationMetadata.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(OperationMetadata.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + OperationMetadata.this.embeddedDataSpecifications, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/OperationRequest.java b/src/main/java/aas_core/aas3_2/types/impl/OperationRequest.java new file mode 100644 index 00000000..6c96c2f5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/OperationRequest.java @@ -0,0 +1,241 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IOperationRequest; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * The operation request object. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#OperationRequest + */ +public class OperationRequest implements IOperationRequest { + /** Input argument */ + private List inputArguments; + + /** InOutput argument */ + private List inoutputArguments; + + /** + * Duration indicating when the client suggests the server to have finished execution of the + * invoked operation. The server may take this value into account to decide on its effective + * timeout, however, the server may or may not use by its own discretion. + */ + private String clientTimeoutDuration; + + public OperationRequest() { + // Intentionally empty. + } + + public OperationRequest( + List inputArguments, + List inoutputArguments, + String clientTimeoutDuration) { + this.inputArguments = inputArguments; + this.inoutputArguments = inoutputArguments; + this.clientTimeoutDuration = clientTimeoutDuration; + } + + @Override + public Optional> getInputArguments() { + return Optional.ofNullable(inputArguments); + } + + @Override + public void setInputArguments(List inputArguments) { + this.inputArguments = inputArguments; + } + + @Override + public Optional> getInoutputArguments() { + return Optional.ofNullable(inoutputArguments); + } + + @Override + public void setInoutputArguments(List inoutputArguments) { + this.inoutputArguments = inoutputArguments; + } + + @Override + public Optional getClientTimeoutDuration() { + return Optional.ofNullable(clientTimeoutDuration); + } + + @Override + public void setClientTimeoutDuration(String clientTimeoutDuration) { + this.clientTimeoutDuration = clientTimeoutDuration; + } + + /** + * Iterate over {@link OperationRequest#inputArguments}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overInputArgumentsOrEmpty() { + return getInputArguments().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link OperationRequest#inoutputArguments}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overInoutputArgumentsOrEmpty() { + return getInoutputArguments().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _OperationRequestRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _OperationRequestIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitOperationRequest(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperationRequest(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformOperationRequest(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperationRequest(this, context); + } + + private class _OperationRequestIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (inputArguments != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable( + OperationRequest.this.inputArguments, false)); + } + + if (inoutputArguments != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable( + OperationRequest.this.inoutputArguments, false)); + } + + return memberStream; + } + } + + private class _OperationRequestRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (inputArguments != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable( + OperationRequest.this.inputArguments, true)); + } + + if (inoutputArguments != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable( + OperationRequest.this.inoutputArguments, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/OperationRequestAsync.java b/src/main/java/aas_core/aas3_2/types/impl/OperationRequestAsync.java new file mode 100644 index 00000000..ed4eb66b --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/OperationRequestAsync.java @@ -0,0 +1,260 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IOperationRequestAsync; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * The operation request object for asynchronous invocation. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * It corresponds to the request body of the {@code InvokeOperationAsync} operation, which is shaped + * like {@link aas_core.aas3_2.types.impl.OperationRequest} with {@link + * aas_core.aas3_2.types.impl.OperationRequest#getClientTimeoutDuration()} made mandatory. + * + *

This class is deliberately not related to {@link + * aas_core.aas3_2.types.impl.OperationRequest} by inheritance: a subclass constructor must exactly + * match argument's type to the inherited property's declared type, so a property declared {@code + * Optional[Duration]} on a base class cannot be narrowed to a required {@code Duration} on a + * subclass. Making this a standalone class lets {@code client_timeout_duration} be genuinely + * required here. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces.html#_operation_invokeoperationasync + */ +public class OperationRequestAsync implements IOperationRequestAsync { + /** Input argument */ + private List inputArguments; + + /** InOutput argument */ + private List inoutputArguments; + + /** + * Duration indicating when the client suggests the server to have finished execution of the + * invoked operation. The server may take this value into account to decide on its effective + * timeout, however, the server may or may not use by its own discretion. + */ + private String clientTimeoutDuration; + + public OperationRequestAsync(String clientTimeoutDuration) { + this.clientTimeoutDuration = + Objects.requireNonNull( + clientTimeoutDuration, "Argument \"clientTimeoutDuration\" must be non-null."); + } + + public OperationRequestAsync( + String clientTimeoutDuration, + List inputArguments, + List inoutputArguments) { + this.clientTimeoutDuration = + Objects.requireNonNull( + clientTimeoutDuration, "Argument \"clientTimeoutDuration\" must be non-null."); + this.inputArguments = inputArguments; + this.inoutputArguments = inoutputArguments; + } + + @Override + public Optional> getInputArguments() { + return Optional.ofNullable(inputArguments); + } + + @Override + public void setInputArguments(List inputArguments) { + this.inputArguments = inputArguments; + } + + @Override + public Optional> getInoutputArguments() { + return Optional.ofNullable(inoutputArguments); + } + + @Override + public void setInoutputArguments(List inoutputArguments) { + this.inoutputArguments = inoutputArguments; + } + + @Override + public String getClientTimeoutDuration() { + return clientTimeoutDuration; + } + + @Override + public void setClientTimeoutDuration(String clientTimeoutDuration) { + this.clientTimeoutDuration = + Objects.requireNonNull( + clientTimeoutDuration, "Argument \"clientTimeoutDuration\" must be non-null."); + } + + /** + * Iterate over {@link OperationRequestAsync#inputArguments}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overInputArgumentsOrEmpty() { + return getInputArguments().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link OperationRequestAsync#inoutputArguments}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overInoutputArgumentsOrEmpty() { + return getInoutputArguments().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _OperationRequestAsyncRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _OperationRequestAsyncIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitOperationRequestAsync(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperationRequestAsync(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformOperationRequestAsync(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperationRequestAsync(this, context); + } + + private class _OperationRequestAsyncIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (inputArguments != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable( + OperationRequestAsync.this.inputArguments, false)); + } + + if (inoutputArguments != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable( + OperationRequestAsync.this.inoutputArguments, false)); + } + + return memberStream; + } + } + + private class _OperationRequestAsyncRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (inputArguments != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable( + OperationRequestAsync.this.inputArguments, true)); + } + + if (inoutputArguments != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable( + OperationRequestAsync.this.inoutputArguments, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/OperationRequestAsyncValueOnly.java b/src/main/java/aas_core/aas3_2/types/impl/OperationRequestAsyncValueOnly.java new file mode 100644 index 00000000..7fa36f95 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/OperationRequestAsyncValueOnly.java @@ -0,0 +1,146 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IOperationRequestAsyncValueOnly; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.Collections; +import java.util.Objects; +import java.util.Optional; + +/** + * The operation request object for asynchronous invocation in the ValueOnly notation. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * It corresponds to the request body of the {@code InvokeOperationAsync} operation in the ValueOnly + * notation, which is shaped like {@link aas_core.aas3_2.types.impl.OperationRequestValueOnly} with + * {@link aas_core.aas3_2.types.impl.OperationRequestValueOnly#getClientTimeoutDuration()} made + * mandatory. + * + *

This class is deliberately not related to {@link + * aas_core.aas3_2.types.impl.OperationRequestValueOnly} by inheritance; see the note on {@link + * aas_core.aas3_2.types.impl.OperationRequestAsync}. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces.html#_operation_invokeoperationasync + */ +public class OperationRequestAsyncValueOnly implements IOperationRequestAsyncValueOnly { + /** Input argument */ + private ObjectNode inputArguments; + + /** InOutput argument */ + private ObjectNode inoutputArguments; + + /** + * Duration indicating when the client suggests the server to have finished execution of the + * invoked operation. The server may take this value into account to decide on its effective + * timeout, however, the server may or may not use by its own discretion. + */ + private String clientTimeoutDuration; + + public OperationRequestAsyncValueOnly(String clientTimeoutDuration) { + this.clientTimeoutDuration = + Objects.requireNonNull( + clientTimeoutDuration, "Argument \"clientTimeoutDuration\" must be non-null."); + } + + public OperationRequestAsyncValueOnly( + String clientTimeoutDuration, ObjectNode inputArguments, ObjectNode inoutputArguments) { + this.clientTimeoutDuration = + Objects.requireNonNull( + clientTimeoutDuration, "Argument \"clientTimeoutDuration\" must be non-null."); + this.inputArguments = inputArguments; + this.inoutputArguments = inoutputArguments; + } + + @Override + public Optional getInputArguments() { + return Optional.ofNullable(inputArguments); + } + + @Override + public void setInputArguments(ObjectNode inputArguments) { + this.inputArguments = inputArguments; + } + + @Override + public Optional getInoutputArguments() { + return Optional.ofNullable(inoutputArguments); + } + + @Override + public void setInoutputArguments(ObjectNode inoutputArguments) { + this.inoutputArguments = inoutputArguments; + } + + @Override + public String getClientTimeoutDuration() { + return clientTimeoutDuration; + } + + @Override + public void setClientTimeoutDuration(String clientTimeoutDuration) { + this.clientTimeoutDuration = + Objects.requireNonNull( + clientTimeoutDuration, "Argument \"clientTimeoutDuration\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitOperationRequestAsyncValueOnly(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperationRequestAsyncValueOnly(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformOperationRequestAsyncValueOnly(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperationRequestAsyncValueOnly(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/OperationRequestValueOnly.java b/src/main/java/aas_core/aas3_2/types/impl/OperationRequestValueOnly.java new file mode 100644 index 00000000..99e2efda --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/OperationRequestValueOnly.java @@ -0,0 +1,134 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IOperationRequestValueOnly; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.Collections; +import java.util.Optional; + +/** + * The operation request object in the ValueOnly notation. + * + *

The arguments are given in the ValueOnly serialization, i.e., as a JSON object whose + * keys are the ID-shorts of the argument values and whose values are the ValueOnly serializations + * of the argument values. Their shape depends on the concrete submodel elements and can not be + * pinned down statically, so they are represented as open JSON objects. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#operation-request-value-only + */ +public class OperationRequestValueOnly implements IOperationRequestValueOnly { + /** Input argument */ + private ObjectNode inputArguments; + + /** InOutput argument */ + private ObjectNode inoutputArguments; + + /** + * Duration indicating when the client suggests the server to have finished execution of the + * invoked operation. The server may take this value into account to decide on its effective + * timeout, however, the server may or may not use by its own discretion. + */ + private String clientTimeoutDuration; + + public OperationRequestValueOnly() { + // Intentionally empty. + } + + public OperationRequestValueOnly( + ObjectNode inputArguments, ObjectNode inoutputArguments, String clientTimeoutDuration) { + this.inputArguments = inputArguments; + this.inoutputArguments = inoutputArguments; + this.clientTimeoutDuration = clientTimeoutDuration; + } + + @Override + public Optional getInputArguments() { + return Optional.ofNullable(inputArguments); + } + + @Override + public void setInputArguments(ObjectNode inputArguments) { + this.inputArguments = inputArguments; + } + + @Override + public Optional getInoutputArguments() { + return Optional.ofNullable(inoutputArguments); + } + + @Override + public void setInoutputArguments(ObjectNode inoutputArguments) { + this.inoutputArguments = inoutputArguments; + } + + @Override + public Optional getClientTimeoutDuration() { + return Optional.ofNullable(clientTimeoutDuration); + } + + @Override + public void setClientTimeoutDuration(String clientTimeoutDuration) { + this.clientTimeoutDuration = clientTimeoutDuration; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitOperationRequestValueOnly(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperationRequestValueOnly(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformOperationRequestValueOnly(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperationRequestValueOnly(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/OperationResult.java b/src/main/java/aas_core/aas3_2/types/impl/OperationResult.java new file mode 100644 index 00000000..a1f456d5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/OperationResult.java @@ -0,0 +1,296 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IOperationResult; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * The operation's invocation result object. + * + *

This class is deliberately not related to {@link + * aas_core.aas3_2.types.impl.BaseOperationResult} by inheritance; see the note on that class. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#OperationResult + */ +public class OperationResult implements IOperationResult { + /** Execution state */ + private ExecutionState executionState; + + /** Additional messages containing information for the requester */ + private List messages; + + /** + * Flag indicating whether the business operation behind the operation was successful (true) or + * not (false) + */ + private Boolean success; + + /** Output argument */ + private List outputArguments; + + /** InOutput argument */ + private List inoutputArguments; + + public OperationResult(ExecutionState executionState) { + this.executionState = + Objects.requireNonNull(executionState, "Argument \"executionState\" must be non-null."); + } + + public OperationResult( + ExecutionState executionState, + List messages, + Boolean success, + List outputArguments, + List inoutputArguments) { + this.executionState = + Objects.requireNonNull(executionState, "Argument \"executionState\" must be non-null."); + this.messages = messages; + this.success = success; + this.outputArguments = outputArguments; + this.inoutputArguments = inoutputArguments; + } + + @Override + public ExecutionState getExecutionState() { + return executionState; + } + + @Override + public void setExecutionState(ExecutionState executionState) { + this.executionState = + Objects.requireNonNull(executionState, "Argument \"executionState\" must be non-null."); + } + + @Override + public Optional> getMessages() { + return Optional.ofNullable(messages); + } + + @Override + public void setMessages(List messages) { + this.messages = messages; + } + + @Override + public Optional getSuccess() { + return Optional.ofNullable(success); + } + + @Override + public void setSuccess(Boolean success) { + this.success = success; + } + + @Override + public Optional> getOutputArguments() { + return Optional.ofNullable(outputArguments); + } + + @Override + public void setOutputArguments(List outputArguments) { + this.outputArguments = outputArguments; + } + + @Override + public Optional> getInoutputArguments() { + return Optional.ofNullable(inoutputArguments); + } + + @Override + public void setInoutputArguments(List inoutputArguments) { + this.inoutputArguments = inoutputArguments; + } + + /** + * Iterate over {@link OperationResult#messages}, if set, and otherwise return an empty iterator. + */ + public Iterable overMessagesOrEmpty() { + return getMessages().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link OperationResult#outputArguments}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overOutputArgumentsOrEmpty() { + return getOutputArguments().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link OperationResult#inoutputArguments}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overInoutputArgumentsOrEmpty() { + return getInoutputArguments().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _OperationResultRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _OperationResultIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitOperationResult(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperationResult(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformOperationResult(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperationResult(this, context); + } + + private class _OperationResultIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (messages != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IMessage(OperationResult.this.messages, false)); + } + + if (outputArguments != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable( + OperationResult.this.outputArguments, false)); + } + + if (inoutputArguments != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable( + OperationResult.this.inoutputArguments, false)); + } + + return memberStream; + } + } + + private class _OperationResultRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (messages != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IMessage(OperationResult.this.messages, true)); + } + + if (outputArguments != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable( + OperationResult.this.outputArguments, true)); + } + + if (inoutputArguments != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable( + OperationResult.this.inoutputArguments, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/OperationResultValueOnly.java b/src/main/java/aas_core/aas3_2/types/impl/OperationResultValueOnly.java new file mode 100644 index 00000000..9f10ea47 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/OperationResultValueOnly.java @@ -0,0 +1,255 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IOperationResultValueOnly; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * The operation's invocation result object in the ValueOnly notation. + * + *

This class is deliberately not related to {@link + * aas_core.aas3_2.types.impl.BaseOperationResult} by inheritance; see the note on that class. + * + *

The arguments are given in the ValueOnly serialization; see the note on {@link + * aas_core.aas3_2.types.impl.OperationRequestValueOnly}. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#operation-result-value-only + */ +public class OperationResultValueOnly implements IOperationResultValueOnly { + /** Execution state */ + private ExecutionState executionState; + + /** Additional messages containing information for the requester */ + private List messages; + + /** + * Flag indicating whether the business operation behind the operation was successful (true) or + * not (false) + */ + private Boolean success; + + /** Output argument */ + private ObjectNode outputArguments; + + /** InOutput argument */ + private ObjectNode inoutputArguments; + + public OperationResultValueOnly(ExecutionState executionState) { + this.executionState = + Objects.requireNonNull(executionState, "Argument \"executionState\" must be non-null."); + } + + public OperationResultValueOnly( + ExecutionState executionState, + List messages, + Boolean success, + ObjectNode outputArguments, + ObjectNode inoutputArguments) { + this.executionState = + Objects.requireNonNull(executionState, "Argument \"executionState\" must be non-null."); + this.messages = messages; + this.success = success; + this.outputArguments = outputArguments; + this.inoutputArguments = inoutputArguments; + } + + @Override + public ExecutionState getExecutionState() { + return executionState; + } + + @Override + public void setExecutionState(ExecutionState executionState) { + this.executionState = + Objects.requireNonNull(executionState, "Argument \"executionState\" must be non-null."); + } + + @Override + public Optional> getMessages() { + return Optional.ofNullable(messages); + } + + @Override + public void setMessages(List messages) { + this.messages = messages; + } + + @Override + public Optional getSuccess() { + return Optional.ofNullable(success); + } + + @Override + public void setSuccess(Boolean success) { + this.success = success; + } + + @Override + public Optional getOutputArguments() { + return Optional.ofNullable(outputArguments); + } + + @Override + public void setOutputArguments(ObjectNode outputArguments) { + this.outputArguments = outputArguments; + } + + @Override + public Optional getInoutputArguments() { + return Optional.ofNullable(inoutputArguments); + } + + @Override + public void setInoutputArguments(ObjectNode inoutputArguments) { + this.inoutputArguments = inoutputArguments; + } + + /** + * Iterate over {@link OperationResultValueOnly#messages}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overMessagesOrEmpty() { + return getMessages().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _OperationResultValueOnlyRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _OperationResultValueOnlyIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitOperationResultValueOnly(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperationResultValueOnly(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformOperationResultValueOnly(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperationResultValueOnly(this, context); + } + + private class _OperationResultValueOnlyIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (messages != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IMessage(OperationResultValueOnly.this.messages, false)); + } + + return memberStream; + } + } + + private class _OperationResultValueOnlyRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (messages != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IMessage(OperationResultValueOnly.this.messages, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/OperationVariable.java b/src/main/java/aas_core/aas3_2/types/impl/OperationVariable.java new file mode 100644 index 00000000..20e8be53 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/OperationVariable.java @@ -0,0 +1,179 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IOperationVariable; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The value of an operation variable is a submodel element that is used as input and/or output + * variable of an operation. + * + *

Specification of operations in a {@link aas_core.aas3_2.types.impl.Submodel} with {@link + * aas_core.aas3_2.types.model.IHasKind#getKind()} = {@link + * aas_core.aas3_2.types.enums.ModellingKind#INSTANCE} are handled identical to operations in + * Submodel templates ({@link aas_core.aas3_2.types.impl.Submodel} with {@link + * aas_core.aas3_2.types.model.IHasKind#getKind()} = {@link + * aas_core.aas3_2.types.enums.ModellingKind#TEMPLATE}). + * + *

An operation can be invoked via an API call ({@code InvokeOperationSync} and {@code + * InvokeOperationAsync}). For further explanation see Part 2 (IDTA-01002). + * + *

{@link aas_core.aas3_2.types.impl.OperationVariable} is introduced as a separate class to + * enable future extensions, e.g. for adding a default value or cardinality + * (optional/mandatory). + */ +public class OperationVariable implements IOperationVariable { + /** Describes an argument or result of an operation via a submodel element */ + private ISubmodelElement value; + + public OperationVariable(ISubmodelElement value) { + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + @Override + public ISubmodelElement getValue() { + return value; + } + + @Override + public void setValue(ISubmodelElement value) { + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _OperationVariableRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _OperationVariableIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitOperationVariable(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperationVariable(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformOperationVariable(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperationVariable(this, context); + } + + private class _OperationVariableIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (value != null) { + memberStream = Stream.concat(memberStream, Stream.of(OperationVariable.this.value)); + } + + return memberStream; + } + } + + private class _OperationVariableRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (value != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(OperationVariable.this.value), + StreamSupport.stream( + OperationVariable.this.value.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/OrExpression.java b/src/main/java/aas_core/aas3_2/types/impl/OrExpression.java new file mode 100644 index 00000000..c1f560f7 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/OrExpression.java @@ -0,0 +1,171 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IOrExpression; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * Connect two or more expressions through a logical OR. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_logical_expressions + */ +public class OrExpression implements IOrExpression { + /** The expressions to be connected */ + private List orOperands; + + public OrExpression(List orOperands) { + this.orOperands = + Objects.requireNonNull(orOperands, "Argument \"orOperands\" must be non-null."); + } + + @Override + public List getOrOperands() { + return orOperands; + } + + @Override + public void setOrOperands(List orOperands) { + this.orOperands = + Objects.requireNonNull(orOperands, "Argument \"orOperands\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _OrExpressionRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _OrExpressionIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitOrExpression(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOrExpression(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformOrExpression(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOrExpression(this, context); + } + + private class _OrExpressionIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (orOperands != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_LogicalExpression(OrExpression.this.orOperands, false)); + } + + return memberStream; + } + } + + private class _OrExpressionRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (orOperands != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_LogicalExpression(OrExpression.this.orOperands, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/PackageDescription.java b/src/main/java/aas_core/aas3_2/types/impl/PackageDescription.java new file mode 100644 index 00000000..61c1f277 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/PackageDescription.java @@ -0,0 +1,124 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IPackageDescription; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.List; +import java.util.Objects; +import java.util.Optional; + +/** + * The package description consists of a system-wide unique packageId and its corresponding Asset + * Administration Shell identifiers. + * + *

The packageId is used to identify the AASX package at the AASX file server. The package + * description is used to list the Asset Administration Shells in a given AASX package. + * + *

This class is not part of the metamodel. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#PackageDescription + */ +public class PackageDescription implements IPackageDescription { + /** File server specific package id */ + private String packageId; + + /** Asset Administration Shell unique identifiers */ + private List aasIds; + + public PackageDescription(String packageId) { + this.packageId = Objects.requireNonNull(packageId, "Argument \"packageId\" must be non-null."); + } + + public PackageDescription(String packageId, List aasIds) { + this.packageId = Objects.requireNonNull(packageId, "Argument \"packageId\" must be non-null."); + this.aasIds = aasIds; + } + + @Override + public String getPackageId() { + return packageId; + } + + @Override + public void setPackageId(String packageId) { + this.packageId = Objects.requireNonNull(packageId, "Argument \"packageId\" must be non-null."); + } + + @Override + public Optional> getAasIds() { + return Optional.ofNullable(aasIds); + } + + @Override + public void setAasIds(List aasIds) { + this.aasIds = aasIds; + } + + /** + * Iterate over {@link PackageDescription#aasIds}, if set, and otherwise return an empty iterator. + */ + public Iterable overAasIdsOrEmpty() { + return getAasIds().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitPackageDescription(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitPackageDescription(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformPackageDescription(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformPackageDescription(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/PagedResult.java b/src/main/java/aas_core/aas3_2/types/impl/PagedResult.java new file mode 100644 index 00000000..1e4c6eca --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/PagedResult.java @@ -0,0 +1,215 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IPagedResult; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * An object connecting the actual list of returned items with metadata information to, + * e.g., fetch the next part of the result set. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public class PagedResult implements IPagedResult { + /** + * List of returned items. Any kind of Referables is possible, depending on the endpoint which has + * been requested. + */ + private List result; + + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + private IPagingMetadata pagingMetadata; + + public PagedResult(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + public PagedResult(IPagingMetadata pagingMetadata, List result) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + this.result = result; + } + + @Override + public Optional> getResult() { + return Optional.ofNullable(result); + } + + @Override + public void setResult(List result) { + this.result = result; + } + + @Override + public IPagingMetadata getPagingMetadata() { + return pagingMetadata; + } + + @Override + public void setPagingMetadata(IPagingMetadata pagingMetadata) { + this.pagingMetadata = + Objects.requireNonNull(pagingMetadata, "Argument \"pagingMetadata\" must be non-null."); + } + + /** Iterate over {@link PagedResult#result}, if set, and otherwise return an empty iterator. */ + public Iterable overResultOrEmpty() { + return getResult().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _PagedResultRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _PagedResultIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitPagedResult(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitPagedResult(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformPagedResult(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformPagedResult(this, context); + } + + private class _PagedResultIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (result != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IReferable(PagedResult.this.result, false)); + } + + if (pagingMetadata != null) { + memberStream = + Stream.concat(memberStream, Stream.of(PagedResult.this.pagingMetadata)); + } + + return memberStream; + } + } + + private class _PagedResultRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (result != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IReferable(PagedResult.this.result, true)); + } + + if (pagingMetadata != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(PagedResult.this.pagingMetadata), + StreamSupport.stream( + PagedResult.this.pagingMetadata.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/PagingMetadata.java b/src/main/java/aas_core/aas3_2/types/impl/PagingMetadata.java new file mode 100644 index 00000000..2892db37 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/PagingMetadata.java @@ -0,0 +1,100 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IPagingMetadata; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Optional; + +/** + * Additional information for the client to, e.g., fetch the next part of the result set. + * + *

More attributes may be added to this class in future versions. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public class PagingMetadata implements IPagingMetadata { + /** + * The cursor for the next part of the result set. No cursor attribute means that the end of the + * result set has been reached. + */ + private String cursor; + + public PagingMetadata() { + // Intentionally empty. + } + + public PagingMetadata(String cursor) { + this.cursor = cursor; + } + + @Override + public Optional getCursor() { + return Optional.ofNullable(cursor); + } + + @Override + public void setCursor(String cursor) { + this.cursor = cursor; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitPagingMetadata(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitPagingMetadata(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformPagingMetadata(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformPagingMetadata(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/Property.java b/src/main/java/aas_core/aas3_2/types/impl/Property.java new file mode 100644 index 00000000..a652d1b2 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/Property.java @@ -0,0 +1,520 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IProperty; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A property is a data element that has a single value. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-007: If both, the {@link #getValue()} and the {@link #getValueId()} are + * present then the value of {@link #getValue()} needs to be identical to the value of the + * referenced coded value in {@link #getValueId()}. + *
+ */ +public class Property implements IProperty { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Data type of the {@link #getValue()} attribute. */ + private DataTypeDefXsd valueType; + + /** The value of the property instance. */ + private String value; + + /** Reference to the global unique ID of a coded value. */ + private IReference valueId; + + public Property(DataTypeDefXsd valueType) { + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + public Property( + DataTypeDefXsd valueType, + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + String value, + IReference valueId) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + this.value = value; + this.valueId = valueId; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public DataTypeDefXsd getValueType() { + return valueType; + } + + @Override + public void setValueType(DataTypeDefXsd valueType) { + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + @Override + public Optional getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(String value) { + this.value = value; + } + + @Override + public Optional getValueId() { + return Optional.ofNullable(valueId); + } + + @Override + public void setValueId(IReference valueId) { + this.valueId = valueId; + } + + /** Iterate over {@link Property#extensions}, if set, and otherwise return an empty iterator. */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Property#displayName}, if set, and otherwise return an empty iterator. */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Property#description}, if set, and otherwise return an empty iterator. */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Property#supplementalSemanticIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Property#qualifiers}, if set, and otherwise return an empty iterator. */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Property#embeddedDataSpecifications}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _PropertyRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _PropertyIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitProperty(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitProperty(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformProperty(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformProperty(this, context); + } + + private class _PropertyIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Property.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Property.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Property.this.description, false)); + } + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Property.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Property.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Property.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Property.this.embeddedDataSpecifications, false)); + } + + if (valueId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Property.this.valueId)); + } + + return memberStream; + } + } + + private class _PropertyRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Property.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Property.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Property.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Property.this.semanticId), + StreamSupport.stream(Property.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Property.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Property.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Property.this.embeddedDataSpecifications, true)); + } + + if (valueId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Property.this.valueId), + StreamSupport.stream(Property.this.valueId.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/PropertyMetadata.java b/src/main/java/aas_core/aas3_2/types/impl/PropertyMetadata.java new file mode 100644 index 00000000..f9ba95b8 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/PropertyMetadata.java @@ -0,0 +1,496 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IPropertyMetadata; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.Property}, without its value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class PropertyMetadata implements IPropertyMetadata { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** The value type of the property. */ + private DataTypeDefXsd valueType; + + public PropertyMetadata(DataTypeDefXsd valueType) { + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + public PropertyMetadata( + DataTypeDefXsd valueType, + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public DataTypeDefXsd getValueType() { + return valueType; + } + + @Override + public void setValueType(DataTypeDefXsd valueType) { + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + /** + * Iterate over {@link PropertyMetadata#extensions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link PropertyMetadata#displayName}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link PropertyMetadata#description}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link PropertyMetadata#supplementalSemanticIds}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link PropertyMetadata#qualifiers}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link PropertyMetadata#embeddedDataSpecifications}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _PropertyMetadataRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _PropertyMetadataIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitPropertyMetadata(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitPropertyMetadata(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformPropertyMetadata(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformPropertyMetadata(this, context); + } + + private class _PropertyMetadataIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(PropertyMetadata.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + PropertyMetadata.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + PropertyMetadata.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(PropertyMetadata.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + PropertyMetadata.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(PropertyMetadata.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + PropertyMetadata.this.embeddedDataSpecifications, false)); + } + + return memberStream; + } + } + + private class _PropertyMetadataRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(PropertyMetadata.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(PropertyMetadata.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(PropertyMetadata.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(PropertyMetadata.this.semanticId), + StreamSupport.stream( + PropertyMetadata.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + PropertyMetadata.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(PropertyMetadata.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + PropertyMetadata.this.embeddedDataSpecifications, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/ProtocolInformation.java b/src/main/java/aas_core/aas3_2/types/impl/ProtocolInformation.java new file mode 100644 index 00000000..09b19548 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/ProtocolInformation.java @@ -0,0 +1,329 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IProtocolInformation; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * The protocol information of a network resource endpoint. + * + *

The protocol information of a network resource endpoint is defined in DIN SPEC 16593-2. After + * the release of DIN SPEC 16593-2, any required updates will be made. This class is not part of the + * metamodel. + * + *

The information in this class is a 1:1 copy from DIN SPEC 16593-2. Required changes need to be + * made by the related DIN working group. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#ProtocolInformation + */ +public class ProtocolInformation implements IProtocolInformation { + /** The endpoint address as a URL. */ + private String href; + + /** + * Either scheme of {@link #getHref()} or scheme plus further information. + * + *

The scheme denotes the highest level of doubtless transmission. + */ + private String endpointProtocol; + + /** + * Each entry represents one supported version at this very endpoint, the entry shall be formatted + * according to the regulations of the protocol specified in the {@link #getHref()} + */ + private List endpointProtocolVersion; + + /** + * Allows for referencing sub-protocols that may be used in the context of that endpoint e.g. "OPC + * Basic SOAP" or UA Binary + */ + private String subprotocol; + + /** + * If the sub-protocol field is present, a subprotocol body might be given to hold extra + * information, e.g. node and namespace in an OPC UA server + */ + private String subprotocolBody; + + /** + * If {@link #getSubprotocolBody()} is present, the encoding might be explicitly defined, + * otherwise it shall default to subprotocols encoding scheme + */ + private String subprotocolBodyEncoding; + + /** + * Array of {@link aas_core.aas3_2.types.impl.SecurityAttributeObject}'s. Each attribute has three + * properties: + * + *

{@link aas_core.aas3_2.types.impl.SecurityAttributeObject#getType()}: enum security type or + * standard: + * + *

    + *
  • + *

    {@code NONE}; + *

  • + *

    {@code RFC_TLSA}, TLSA according to RFC 6698; or + *

  • + *

    {@code W3C_DID}, W3C DID document. + *

+ * + *

{@link aas_core.aas3_2.types.impl.SecurityAttributeObject#getKey()}: security attribute key + * according to standard definitions of the security type. + * + *

{@link aas_core.aas3_2.types.impl.SecurityAttributeObject#getValue()}: security attribute + * value, e.g., DANE TLSA Resource Record. + * + *

The {@link aas_core.aas3_2.types.impl.SecurityAttributeObject}'s are treated as possible + * alternatives (logical "or"). + */ + private List securityAttributes; + + public ProtocolInformation(String href) { + this.href = Objects.requireNonNull(href, "Argument \"href\" must be non-null."); + } + + public ProtocolInformation( + String href, + String endpointProtocol, + List endpointProtocolVersion, + String subprotocol, + String subprotocolBody, + String subprotocolBodyEncoding, + List securityAttributes) { + this.href = Objects.requireNonNull(href, "Argument \"href\" must be non-null."); + this.endpointProtocol = endpointProtocol; + this.endpointProtocolVersion = endpointProtocolVersion; + this.subprotocol = subprotocol; + this.subprotocolBody = subprotocolBody; + this.subprotocolBodyEncoding = subprotocolBodyEncoding; + this.securityAttributes = securityAttributes; + } + + @Override + public String getHref() { + return href; + } + + @Override + public void setHref(String href) { + this.href = Objects.requireNonNull(href, "Argument \"href\" must be non-null."); + } + + @Override + public Optional getEndpointProtocol() { + return Optional.ofNullable(endpointProtocol); + } + + @Override + public void setEndpointProtocol(String endpointProtocol) { + this.endpointProtocol = endpointProtocol; + } + + @Override + public Optional> getEndpointProtocolVersion() { + return Optional.ofNullable(endpointProtocolVersion); + } + + @Override + public void setEndpointProtocolVersion(List endpointProtocolVersion) { + this.endpointProtocolVersion = endpointProtocolVersion; + } + + @Override + public Optional getSubprotocol() { + return Optional.ofNullable(subprotocol); + } + + @Override + public void setSubprotocol(String subprotocol) { + this.subprotocol = subprotocol; + } + + @Override + public Optional getSubprotocolBody() { + return Optional.ofNullable(subprotocolBody); + } + + @Override + public void setSubprotocolBody(String subprotocolBody) { + this.subprotocolBody = subprotocolBody; + } + + @Override + public Optional getSubprotocolBodyEncoding() { + return Optional.ofNullable(subprotocolBodyEncoding); + } + + @Override + public void setSubprotocolBodyEncoding(String subprotocolBodyEncoding) { + this.subprotocolBodyEncoding = subprotocolBodyEncoding; + } + + @Override + public Optional> getSecurityAttributes() { + return Optional.ofNullable(securityAttributes); + } + + @Override + public void setSecurityAttributes(List securityAttributes) { + this.securityAttributes = securityAttributes; + } + + /** + * Iterate over {@link ProtocolInformation#endpointProtocolVersion}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overEndpointProtocolVersionOrEmpty() { + return getEndpointProtocolVersion().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ProtocolInformation#securityAttributes}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overSecurityAttributesOrEmpty() { + return getSecurityAttributes().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _ProtocolInformationRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _ProtocolInformationIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitProtocolInformation(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitProtocolInformation(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformProtocolInformation(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformProtocolInformation(this, context); + } + + private class _ProtocolInformationIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (securityAttributes != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISecurityAttributeObject( + ProtocolInformation.this.securityAttributes, false)); + } + + return memberStream; + } + } + + private class _ProtocolInformationRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (securityAttributes != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISecurityAttributeObject( + ProtocolInformation.this.securityAttributes, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/Qualifier.java b/src/main/java/aas_core/aas3_2/types/impl/Qualifier.java new file mode 100644 index 00000000..78e5c849 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/Qualifier.java @@ -0,0 +1,336 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IQualifier; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A qualifier is essentially a type-value-pair. Depending on the kind of qualifier, it makes + * additional statements: + * + *

    + *
  • + *

    w.r.t. the value of the qualified element, + *

  • + *

    w.r.t. the concept, i.e. semantic definition of the qualified element, + *

  • + *

    w.r.t. existence and other meta information of the qualified element type. + *

+ * + *

Constraints: + * + *

    + *
  • Constraint AASd-006: If both the {@link #getValue()} and the {@link #getValueId()} of a + * {@link aas_core.aas3_2.types.impl.Qualifier} are present then the {@link #getValue()} needs + * to be identical to the value of the referenced coded value in {@link #getValueId()}. + *
  • Constraint AASd-020: The value of {@link #getValue()} shall be consistent with the data + * type as defined in {@link #getValueType()}. + *
+ */ +public class Qualifier implements IQualifier { + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * The qualifier kind describes the kind of qualifier that is applied to the element. + * + *

Default: {@link aas_core.aas3_2.types.enums.QualifierKind#CONCEPT_QUALIFIER} + */ + private QualifierKind kind; + + /** The qualifier type describes the type of qualifier that is applied to the element. */ + private String type; + + /** Data type of the qualifier value. */ + private DataTypeDefXsd valueType; + + /** The qualifier value is the value of the qualifier. */ + private String value; + + /** Reference to the global unique ID of a coded value. */ + private IReference valueId; + + public Qualifier(String type, DataTypeDefXsd valueType) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + public Qualifier( + String type, + DataTypeDefXsd valueType, + IReference semanticId, + List supplementalSemanticIds, + QualifierKind kind, + String value, + IReference valueId) { + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + this.kind = kind; + this.value = value; + this.valueId = valueId; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional getKind() { + return Optional.ofNullable(kind); + } + + @Override + public void setKind(QualifierKind kind) { + this.kind = kind; + } + + @Override + public String getType() { + return type; + } + + @Override + public void setType(String type) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + } + + @Override + public DataTypeDefXsd getValueType() { + return valueType; + } + + @Override + public void setValueType(DataTypeDefXsd valueType) { + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + @Override + public Optional getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(String value) { + this.value = value; + } + + @Override + public Optional getValueId() { + return Optional.ofNullable(valueId); + } + + @Override + public void setValueId(IReference valueId) { + this.valueId = valueId; + } + + /** + * Iterate over {@link Qualifier#supplementalSemanticIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + @Override + public QualifierKind kindOrDefault() { + if (this.getKind().isPresent()) { + return this.getKind().get(); + } + return QualifierKind.CONCEPT_QUALIFIER; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _QualifierRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _QualifierIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitQualifier(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitQualifier(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformQualifier(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformQualifier(this, context); + } + + private class _QualifierIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Qualifier.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Qualifier.this.supplementalSemanticIds, false)); + } + + if (valueId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Qualifier.this.valueId)); + } + + return memberStream; + } + } + + private class _QualifierRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Qualifier.this.semanticId), + StreamSupport.stream( + Qualifier.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Qualifier.this.supplementalSemanticIds, true)); + } + + if (valueId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Qualifier.this.valueId), + StreamSupport.stream(Qualifier.this.valueId.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/Query.java b/src/main/java/aas_core/aas3_2/types/impl/Query.java new file mode 100644 index 00000000..0ac871b8 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/Query.java @@ -0,0 +1,231 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IQuery; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A query in the AAS Query Language. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html + */ +public class Query implements IQuery { + /** + * What the query returns instead of the full objects. + * + *

If not specified, the full objects are returned. + */ + private QuerySelect select; + + /** The condition which the returned objects need to fulfill */ + private LogicalExpression condition; + + /** + * Filters to reduce the returned data + * + *

The list can be empty, as the grammar allows {@code $filters} to be followed by zero + * filters. Elements without a filter remain unfiltered. + */ + private List filters; + + public Query(LogicalExpression condition) { + this.condition = Objects.requireNonNull(condition, "Argument \"condition\" must be non-null."); + } + + public Query(LogicalExpression condition, QuerySelect select, List filters) { + this.condition = Objects.requireNonNull(condition, "Argument \"condition\" must be non-null."); + this.select = select; + this.filters = filters; + } + + @Override + public Optional getSelect() { + return Optional.ofNullable(select); + } + + @Override + public void setSelect(QuerySelect select) { + this.select = select; + } + + @Override + public LogicalExpression getCondition() { + return condition; + } + + @Override + public void setCondition(LogicalExpression condition) { + this.condition = Objects.requireNonNull(condition, "Argument \"condition\" must be non-null."); + } + + @Override + public Optional> getFilters() { + return Optional.ofNullable(filters); + } + + @Override + public void setFilters(List filters) { + this.filters = filters; + } + + /** Iterate over {@link Query#filters}, if set, and otherwise return an empty iterator. */ + public Iterable overFiltersOrEmpty() { + return getFilters().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _QueryRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _QueryIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitQuery(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitQuery(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformQuery(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformQuery(this, context); + } + + private class _QueryIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (condition != null) { + memberStream = + Stream.concat(memberStream, Stream.of(Query.this.condition.getUnderlying())); + } + + if (filters != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQueryFilter(Query.this.filters, false)); + } + + return memberStream; + } + } + + private class _QueryRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (condition != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Query.this.condition.getUnderlying()), + StreamSupport.stream( + Query.this.condition.getUnderlying().descend().spliterator(), false))); + } + + if (filters != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQueryFilter(Query.this.filters, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/QueryFilter.java b/src/main/java/aas_core/aas3_2/types/impl/QueryFilter.java new file mode 100644 index 00000000..aebe4e36 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/QueryFilter.java @@ -0,0 +1,186 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IQueryFilter; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Filter a fragment of the returned data by a condition. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_query_filter + */ +public class QueryFilter implements IQueryFilter { + /** The fragment of the returned data to which the filter applies */ + private String fragment; + + /** The condition which the elements of the fragment need to fulfill */ + private LogicalExpression condition; + + public QueryFilter(String fragment, LogicalExpression condition) { + this.fragment = Objects.requireNonNull(fragment, "Argument \"fragment\" must be non-null."); + this.condition = Objects.requireNonNull(condition, "Argument \"condition\" must be non-null."); + } + + @Override + public String getFragment() { + return fragment; + } + + @Override + public void setFragment(String fragment) { + this.fragment = Objects.requireNonNull(fragment, "Argument \"fragment\" must be non-null."); + } + + @Override + public LogicalExpression getCondition() { + return condition; + } + + @Override + public void setCondition(LogicalExpression condition) { + this.condition = Objects.requireNonNull(condition, "Argument \"condition\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _QueryFilterRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _QueryFilterIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitQueryFilter(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitQueryFilter(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformQueryFilter(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformQueryFilter(this, context); + } + + private class _QueryFilterIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (condition != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(QueryFilter.this.condition.getUnderlying())); + } + + return memberStream; + } + } + + private class _QueryFilterRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (condition != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(QueryFilter.this.condition.getUnderlying()), + StreamSupport.stream( + QueryFilter.this.condition.getUnderlying().descend().spliterator(), + false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/Range.java b/src/main/java/aas_core/aas3_2/types/impl/Range.java new file mode 100644 index 00000000..856782a5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/Range.java @@ -0,0 +1,502 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IRange; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A range data element is a data element that defines a range with min and max. + * + *

This element is experimental and therefore may be subject to change or may be removed + * completely in future versions of the meta-model. + */ +public class Range implements IRange { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Data type of the {@link #getMin()} und {@link #getMax()} attributes */ + private DataTypeDefXsd valueType; + + /** The minimum value of the range. */ + private String min; + + /** The maximum value of the range. */ + private String max; + + public Range(DataTypeDefXsd valueType) { + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + public Range( + DataTypeDefXsd valueType, + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + String min, + String max) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + this.min = min; + this.max = max; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public DataTypeDefXsd getValueType() { + return valueType; + } + + @Override + public void setValueType(DataTypeDefXsd valueType) { + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + @Override + public Optional getMin() { + return Optional.ofNullable(min); + } + + @Override + public void setMin(String min) { + this.min = min; + } + + @Override + public Optional getMax() { + return Optional.ofNullable(max); + } + + @Override + public void setMax(String max) { + this.max = max; + } + + /** Iterate over {@link Range#extensions}, if set, and otherwise return an empty iterator. */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Range#displayName}, if set, and otherwise return an empty iterator. */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Range#description}, if set, and otherwise return an empty iterator. */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Range#supplementalSemanticIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Range#qualifiers}, if set, and otherwise return an empty iterator. */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Range#embeddedDataSpecifications}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _RangeRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _RangeIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitRange(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitRange(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformRange(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformRange(this, context); + } + + private class _RangeIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Range.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Range.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Range.this.description, false)); + } + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Range.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Range.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Range.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Range.this.embeddedDataSpecifications, false)); + } + + return memberStream; + } + } + + private class _RangeRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Range.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Range.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Range.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Range.this.semanticId), + StreamSupport.stream(Range.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Range.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Range.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Range.this.embeddedDataSpecifications, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/RangeMetadata.java b/src/main/java/aas_core/aas3_2/types/impl/RangeMetadata.java new file mode 100644 index 00000000..a620f2a5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/RangeMetadata.java @@ -0,0 +1,489 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IRangeMetadata; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.Range}, without its value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class RangeMetadata implements IRangeMetadata { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** The value type of the range. */ + private DataTypeDefXsd valueType; + + public RangeMetadata(DataTypeDefXsd valueType) { + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + public RangeMetadata( + DataTypeDefXsd valueType, + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public DataTypeDefXsd getValueType() { + return valueType; + } + + @Override + public void setValueType(DataTypeDefXsd valueType) { + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + /** + * Iterate over {@link RangeMetadata#extensions}, if set, and otherwise return an empty iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link RangeMetadata#displayName}, if set, and otherwise return an empty iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link RangeMetadata#description}, if set, and otherwise return an empty iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link RangeMetadata#supplementalSemanticIds}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link RangeMetadata#qualifiers}, if set, and otherwise return an empty iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link RangeMetadata#embeddedDataSpecifications}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _RangeMetadataRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _RangeMetadataIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitRangeMetadata(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitRangeMetadata(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformRangeMetadata(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformRangeMetadata(this, context); + } + + private class _RangeMetadataIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(RangeMetadata.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(RangeMetadata.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(RangeMetadata.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(RangeMetadata.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + RangeMetadata.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(RangeMetadata.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + RangeMetadata.this.embeddedDataSpecifications, false)); + } + + return memberStream; + } + } + + private class _RangeMetadataRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(RangeMetadata.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(RangeMetadata.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(RangeMetadata.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(RangeMetadata.this.semanticId), + StreamSupport.stream( + RangeMetadata.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(RangeMetadata.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(RangeMetadata.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + RangeMetadata.this.embeddedDataSpecifications, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/RangeValue.java b/src/main/java/aas_core/aas3_2/types/impl/RangeValue.java new file mode 100644 index 00000000..f6da7adc --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/RangeValue.java @@ -0,0 +1,107 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IRangeValue; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** + * The value of a {@link aas_core.aas3_2.types.impl.Range}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class RangeValue implements IRangeValue { + /** The minimum value of the range. */ + private Double min; + + /** The maximum value of the range. */ + private Double max; + + public RangeValue(Double min, Double max) { + this.min = Objects.requireNonNull(min, "Argument \"min\" must be non-null."); + this.max = Objects.requireNonNull(max, "Argument \"max\" must be non-null."); + } + + @Override + public Double getMin() { + return min; + } + + @Override + public void setMin(Double min) { + this.min = Objects.requireNonNull(min, "Argument \"min\" must be non-null."); + } + + @Override + public Double getMax() { + return max; + } + + @Override + public void setMax(Double max) { + this.max = Objects.requireNonNull(max, "Argument \"max\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitRangeValue(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitRangeValue(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformRangeValue(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformRangeValue(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/Reference.java b/src/main/java/aas_core/aas3_2/types/impl/Reference.java new file mode 100644 index 00000000..5199fd40 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/Reference.java @@ -0,0 +1,295 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IReference; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Reference to either a model element of the same or another Asset Administration Shell or to an + * external entity. + * + *

A model reference is an ordered list of keys, each key referencing an element. The complete + * list of keys may for example be concatenated to a path that gives unique access to an element. + * + *

An external reference is a reference to an external entity. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-121: For {@link aas_core.aas3_2.types.impl.Reference}'s the value of {@link + * aas_core.aas3_2.types.impl.Key#getType()} of the first key of " {@link #getKeys()} shall be + * one of {@link aas_core.aas3_2.constants.Constants#globallyIdentifiables}. + *
  • Constraint AASd-122: For external references, i.e. {@link + * aas_core.aas3_2.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#EXTERNAL_REFERENCE}, the value of {@link + * aas_core.aas3_2.types.impl.Key#getType()} of the first key of {@link #getKeys()} shall be + * one of {@link aas_core.aas3_2.constants.Constants#genericGloballyIdentifiables}. + *
  • Constraint AASd-123: For model references, i.e. {@link + * aas_core.aas3_2.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#MODEL_REFERENCE}, the value of {@link + * aas_core.aas3_2.types.impl.Key#getType()} of the first key of {@link #getKeys()} shall be + * one of {@link aas_core.aas3_2.constants.Constants#aasIdentifiables}. + *
  • Constraint AASd-124: For external references, i.e. {@link + * aas_core.aas3_2.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#EXTERNAL_REFERENCE}, the last key of {@link + * #getKeys()} shall be either one of {@link + * aas_core.aas3_2.constants.Constants#genericGloballyIdentifiables} or one of {@link + * aas_core.aas3_2.constants.Constants#genericFragmentKeys}. + *
  • Constraint AASd-137: For external references, i.e. {@link + * aas_core.aas3_2.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#EXTERNAL_REFERENCE}, the value of {@link + * aas_core.aas3_2.types.impl.Key#getType()} of any key in {@link #getKeys()} shall not be one + * of {@link aas_core.aas3_2.constants.Constants#aasReferables}. + *
  • Constraint AASd-125: For model references, i.e. {@link + * aas_core.aas3_2.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#MODEL_REFERENCE}, with more than one key in + * {@link #getKeys()} the value of {@link aas_core.aas3_2.types.impl.Key#getType()} of each of + * the keys following the first key of {@link #getKeys()} shall be one of {@link + * aas_core.aas3_2.constants.Constants#fragmentKeys}. + *

    Constraint AASd-125 ensures that the shortest path is used. + *

  • Constraint AASd-126: For model references, i.e. {@link + * aas_core.aas3_2.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#MODEL_REFERENCE}, with more than one key in + * {@link #getKeys()} the value of {@link aas_core.aas3_2.types.impl.Key#getType()} of the + * last key in the reference key chain may be one of {@link + * aas_core.aas3_2.constants.Constants#genericFragmentKeys} or no key at all shall have a + * value out of {@link aas_core.aas3_2.constants.Constants#genericFragmentKeys}. + *
  • Constraint AASd-127: For model references, i.e. {@link + * aas_core.aas3_2.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#MODEL_REFERENCE}, with more than one key in + * {@link #getKeys()} a key with {@link aas_core.aas3_2.types.impl.Key#getType()} {@link + * aas_core.aas3_2.types.enums.KeyTypes#FRAGMENT_REFERENCE} shall be preceded by a key with + * {@link aas_core.aas3_2.types.impl.Key#getType()} {@link + * aas_core.aas3_2.types.enums.KeyTypes#FILE} or {@link + * aas_core.aas3_2.types.enums.KeyTypes#BLOB}. All other AAS fragments, i.e. {@link + * aas_core.aas3_2.types.impl.Key#getType()} values out of {@link + * aas_core.aas3_2.constants.Constants#aasSubmodelElementsAsKeys}, do not support fragments. + *

    Which kind of fragments are supported depends on the content type and the specification + * of allowed fragment identifiers for the corresponding resource being referenced via the + * reference. + *

  • Constraint AASd-128: For model references, i.e. {@link + * aas_core.aas3_2.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#MODEL_REFERENCE}, the {@link + * aas_core.aas3_2.types.impl.Key#getValue()} of a {@link aas_core.aas3_2.types.impl.Key} + * preceded by a {@link aas_core.aas3_2.types.impl.Key} with {@link + * aas_core.aas3_2.types.impl.Key#getType()} = {@link + * aas_core.aas3_2.types.enums.KeyTypes#SUBMODEL_ELEMENT_LIST} is an integer number denoting + * the position in the array of the submodel element list. + *
+ */ +public class Reference implements IReference { + /** + * Type of the reference. + * + *

Denotes whether the reference is an external reference or a model reference. + */ + private ReferenceTypes type; + + /** + * Expected {@link aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} of the referenced + * model element ({@link #getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#MODEL_REFERENCE}); there typically is no semantic ID + * for the referenced object of external references ({@link #getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#EXTERNAL_REFERENCE}). + * + *

If {@link #getReferredSemanticId()} is defined, the {@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} of the model element referenced + * should have a matching semantic ID. If this is not the case, a validator should raise a + * warning. + */ + private IReference referredSemanticId; + + /** Unique references in their name space. */ + private List keys; + + public Reference(ReferenceTypes type, List keys) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + this.keys = Objects.requireNonNull(keys, "Argument \"keys\" must be non-null."); + } + + public Reference(ReferenceTypes type, List keys, IReference referredSemanticId) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + this.keys = Objects.requireNonNull(keys, "Argument \"keys\" must be non-null."); + this.referredSemanticId = referredSemanticId; + } + + @Override + public ReferenceTypes getType() { + return type; + } + + @Override + public void setType(ReferenceTypes type) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + } + + @Override + public Optional getReferredSemanticId() { + return Optional.ofNullable(referredSemanticId); + } + + @Override + public void setReferredSemanticId(IReference referredSemanticId) { + this.referredSemanticId = referredSemanticId; + } + + @Override + public List getKeys() { + return keys; + } + + @Override + public void setKeys(List keys) { + this.keys = Objects.requireNonNull(keys, "Argument \"keys\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _ReferenceRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _ReferenceIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitReference(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitReference(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformReference(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformReference(this, context); + } + + private class _ReferenceIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (referredSemanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(Reference.this.referredSemanticId)); + } + + if (keys != null) { + memberStream = + Stream.concat(memberStream, Descent.descendListOf_IKey(Reference.this.keys, false)); + } + + return memberStream; + } + } + + private class _ReferenceRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (referredSemanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Reference.this.referredSemanticId), + StreamSupport.stream( + Reference.this.referredSemanticId.descend().spliterator(), false))); + } + + if (keys != null) { + memberStream = + Stream.concat(memberStream, Descent.descendListOf_IKey(Reference.this.keys, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/ReferenceAttribute.java b/src/main/java/aas_core/aas3_2/types/impl/ReferenceAttribute.java new file mode 100644 index 00000000..eb418e9d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/ReferenceAttribute.java @@ -0,0 +1,90 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IReferenceAttribute; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** + * Refer to an attribute of a specific AAS element. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public class ReferenceAttribute implements IReferenceAttribute { + /** Reference to the attribute */ + private String reference; + + public ReferenceAttribute(String reference) { + this.reference = Objects.requireNonNull(reference, "Argument \"reference\" must be non-null."); + } + + @Override + public String getReference() { + return reference; + } + + @Override + public void setReference(String reference) { + this.reference = Objects.requireNonNull(reference, "Argument \"reference\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitReferenceAttribute(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitReferenceAttribute(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformReferenceAttribute(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformReferenceAttribute(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/ReferenceElement.java b/src/main/java/aas_core/aas3_2/types/impl/ReferenceElement.java new file mode 100644 index 00000000..4c8069b3 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/ReferenceElement.java @@ -0,0 +1,508 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IReferenceElement; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A reference element is a data element that defines a logical reference to another element within + * the same or another Asset Administration Shell or a reference to an external object or entity. + */ +public class ReferenceElement implements IReferenceElement { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * External reference to an external object or entity or a logical reference to another element + * within the same or another Asset Administration Shell (i.e. a model reference to a Referable). + */ + private IReference value; + + public ReferenceElement() { + // Intentionally empty. + } + + public ReferenceElement( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + IReference value) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.value = value; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(IReference value) { + this.value = value; + } + + /** + * Iterate over {@link ReferenceElement#extensions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ReferenceElement#displayName}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ReferenceElement#description}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ReferenceElement#supplementalSemanticIds}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ReferenceElement#qualifiers}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ReferenceElement#embeddedDataSpecifications}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _ReferenceElementRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _ReferenceElementIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitReferenceElement(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitReferenceElement(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformReferenceElement(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformReferenceElement(this, context); + } + + private class _ReferenceElementIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(ReferenceElement.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + ReferenceElement.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + ReferenceElement.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(ReferenceElement.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + ReferenceElement.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(ReferenceElement.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + ReferenceElement.this.embeddedDataSpecifications, false)); + } + + if (value != null) { + memberStream = Stream.concat(memberStream, Stream.of(ReferenceElement.this.value)); + } + + return memberStream; + } + } + + private class _ReferenceElementRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(ReferenceElement.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(ReferenceElement.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(ReferenceElement.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(ReferenceElement.this.semanticId), + StreamSupport.stream( + ReferenceElement.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + ReferenceElement.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(ReferenceElement.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + ReferenceElement.this.embeddedDataSpecifications, true)); + } + + if (value != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(ReferenceElement.this.value), + StreamSupport.stream( + ReferenceElement.this.value.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/ReferenceElementMetadata.java b/src/main/java/aas_core/aas3_2/types/impl/ReferenceElementMetadata.java new file mode 100644 index 00000000..70e749b5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/ReferenceElementMetadata.java @@ -0,0 +1,483 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IReferenceElementMetadata; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.ReferenceElement}, without its value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class ReferenceElementMetadata implements IReferenceElementMetadata { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public ReferenceElementMetadata() { + // Intentionally empty. + } + + public ReferenceElementMetadata( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + /** + * Iterate over {@link ReferenceElementMetadata#extensions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ReferenceElementMetadata#displayName}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ReferenceElementMetadata#description}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ReferenceElementMetadata#supplementalSemanticIds}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ReferenceElementMetadata#qualifiers}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ReferenceElementMetadata#embeddedDataSpecifications}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _ReferenceElementMetadataRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _ReferenceElementMetadataIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitReferenceElementMetadata(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitReferenceElementMetadata(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformReferenceElementMetadata(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformReferenceElementMetadata(this, context); + } + + private class _ReferenceElementMetadataIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(ReferenceElementMetadata.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + ReferenceElementMetadata.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + ReferenceElementMetadata.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(ReferenceElementMetadata.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + ReferenceElementMetadata.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(ReferenceElementMetadata.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + ReferenceElementMetadata.this.embeddedDataSpecifications, false)); + } + + return memberStream; + } + } + + private class _ReferenceElementMetadataRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(ReferenceElementMetadata.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + ReferenceElementMetadata.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + ReferenceElementMetadata.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(ReferenceElementMetadata.this.semanticId), + StreamSupport.stream( + ReferenceElementMetadata.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + ReferenceElementMetadata.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(ReferenceElementMetadata.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + ReferenceElementMetadata.this.embeddedDataSpecifications, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/ReferenceElementValue.java b/src/main/java/aas_core/aas3_2/types/impl/ReferenceElementValue.java new file mode 100644 index 00000000..8121f178 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/ReferenceElementValue.java @@ -0,0 +1,227 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IReferenceElementValue; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The value of a {@link aas_core.aas3_2.types.impl.ReferenceElement}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class ReferenceElementValue implements IReferenceElementValue { + /** + * Type of the reference. + * + *

Denotes whether the reference is an external reference or a model reference. + */ + private ReferenceTypes type; + + /** Unique references in their name space. */ + private List keys; + + /** + * Expected {@link aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} of the referenced + * model element. + */ + private IReference referredSemanticId; + + public ReferenceElementValue(ReferenceTypes type, List keys) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + this.keys = Objects.requireNonNull(keys, "Argument \"keys\" must be non-null."); + } + + public ReferenceElementValue( + ReferenceTypes type, List keys, IReference referredSemanticId) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + this.keys = Objects.requireNonNull(keys, "Argument \"keys\" must be non-null."); + this.referredSemanticId = referredSemanticId; + } + + @Override + public ReferenceTypes getType() { + return type; + } + + @Override + public void setType(ReferenceTypes type) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + } + + @Override + public List getKeys() { + return keys; + } + + @Override + public void setKeys(List keys) { + this.keys = Objects.requireNonNull(keys, "Argument \"keys\" must be non-null."); + } + + @Override + public Optional getReferredSemanticId() { + return Optional.ofNullable(referredSemanticId); + } + + @Override + public void setReferredSemanticId(IReference referredSemanticId) { + this.referredSemanticId = referredSemanticId; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _ReferenceElementValueRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _ReferenceElementValueIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitReferenceElementValue(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitReferenceElementValue(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformReferenceElementValue(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformReferenceElementValue(this, context); + } + + private class _ReferenceElementValueIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (keys != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IKey(ReferenceElementValue.this.keys, false)); + } + + if (referredSemanticId != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(ReferenceElementValue.this.referredSemanticId)); + } + + return memberStream; + } + } + + private class _ReferenceElementValueRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (keys != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IKey(ReferenceElementValue.this.keys, true)); + } + + if (referredSemanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(ReferenceElementValue.this.referredSemanticId), + StreamSupport.stream( + ReferenceElementValue.this.referredSemanticId.descend().spliterator(), + false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/RegexComparison.java b/src/main/java/aas_core/aas3_2/types/impl/RegexComparison.java new file mode 100644 index 00000000..dd057cc4 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/RegexComparison.java @@ -0,0 +1,168 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IRegexComparison; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * Check whether the first string operand matches the regular expression given as the second one. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + */ +public class RegexComparison implements IRegexComparison { + /** The string operand and the regular expression */ + private Tuple2 regex; + + public RegexComparison(Tuple2 regex) { + this.regex = Objects.requireNonNull(regex, "Argument \"regex\" must be non-null."); + } + + @Override + public Tuple2 getRegex() { + return regex; + } + + @Override + public void setRegex(Tuple2 regex) { + this.regex = Objects.requireNonNull(regex, "Argument \"regex\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _RegexComparisonRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _RegexComparisonIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitRegexComparison(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitRegexComparison(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformRegexComparison(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformRegexComparison(this, context); + } + + private class _RegexComparisonIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (regex != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendTupleOf2_StringValue_StringValue(RegexComparison.this.regex, false)); + } + + return memberStream; + } + } + + private class _RegexComparisonRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (regex != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendTupleOf2_StringValue_StringValue(RegexComparison.this.regex, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/RelationshipElement.java b/src/main/java/aas_core/aas3_2/types/impl/RelationshipElement.java new file mode 100644 index 00000000..6768048e --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/RelationshipElement.java @@ -0,0 +1,538 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IRelationshipElement; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A relationship element is used to define a relationship between two elements being either + * referable (model reference) or external (external reference). + */ +public class RelationshipElement implements IRelationshipElement { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Reference to the first element in the relationship taking the role of the subject. */ + private IReference first; + + /** Reference to the second element in the relationship taking the role of the object. */ + private IReference second; + + public RelationshipElement() { + // Intentionally empty. + } + + public RelationshipElement( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + IReference first, + IReference second) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.first = first; + this.second = second; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional getFirst() { + return Optional.ofNullable(first); + } + + @Override + public void setFirst(IReference first) { + this.first = first; + } + + @Override + public Optional getSecond() { + return Optional.ofNullable(second); + } + + @Override + public void setSecond(IReference second) { + this.second = second; + } + + /** + * Iterate over {@link RelationshipElement#extensions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link RelationshipElement#displayName}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link RelationshipElement#description}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link RelationshipElement#supplementalSemanticIds}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link RelationshipElement#qualifiers}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link RelationshipElement#embeddedDataSpecifications}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _RelationshipElementRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _RelationshipElementIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitRelationshipElement(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitRelationshipElement(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformRelationshipElement(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformRelationshipElement(this, context); + } + + private class _RelationshipElementIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(RelationshipElement.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + RelationshipElement.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + RelationshipElement.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(RelationshipElement.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + RelationshipElement.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(RelationshipElement.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + RelationshipElement.this.embeddedDataSpecifications, false)); + } + + if (first != null) { + memberStream = + Stream.concat(memberStream, Stream.of(RelationshipElement.this.first)); + } + + if (second != null) { + memberStream = + Stream.concat(memberStream, Stream.of(RelationshipElement.this.second)); + } + + return memberStream; + } + } + + private class _RelationshipElementRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(RelationshipElement.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + RelationshipElement.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + RelationshipElement.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(RelationshipElement.this.semanticId), + StreamSupport.stream( + RelationshipElement.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + RelationshipElement.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(RelationshipElement.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + RelationshipElement.this.embeddedDataSpecifications, true)); + } + + if (first != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(RelationshipElement.this.first), + StreamSupport.stream( + RelationshipElement.this.first.descend().spliterator(), false))); + } + + if (second != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(RelationshipElement.this.second), + StreamSupport.stream( + RelationshipElement.this.second.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/RelationshipElementMetadata.java b/src/main/java/aas_core/aas3_2/types/impl/RelationshipElementMetadata.java new file mode 100644 index 00000000..9421e91c --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/RelationshipElementMetadata.java @@ -0,0 +1,488 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IRelationshipElementMetadata; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.RelationshipElement}, without its value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class RelationshipElementMetadata implements IRelationshipElementMetadata { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public RelationshipElementMetadata() { + // Intentionally empty. + } + + public RelationshipElementMetadata( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + /** + * Iterate over {@link RelationshipElementMetadata#extensions}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link RelationshipElementMetadata#displayName}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link RelationshipElementMetadata#description}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link RelationshipElementMetadata#supplementalSemanticIds}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link RelationshipElementMetadata#qualifiers}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link RelationshipElementMetadata#embeddedDataSpecifications}, if set, and + * otherwise return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _RelationshipElementMetadataRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _RelationshipElementMetadataIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitRelationshipElementMetadata(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitRelationshipElementMetadata(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformRelationshipElementMetadata(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformRelationshipElementMetadata(this, context); + } + + private class _RelationshipElementMetadataIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension( + RelationshipElementMetadata.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + RelationshipElementMetadata.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + RelationshipElementMetadata.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(RelationshipElementMetadata.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + RelationshipElementMetadata.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier( + RelationshipElementMetadata.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + RelationshipElementMetadata.this.embeddedDataSpecifications, false)); + } + + return memberStream; + } + } + + private class _RelationshipElementMetadataRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension( + RelationshipElementMetadata.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + RelationshipElementMetadata.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + RelationshipElementMetadata.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(RelationshipElementMetadata.this.semanticId), + StreamSupport.stream( + RelationshipElementMetadata.this.semanticId.descend().spliterator(), + false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + RelationshipElementMetadata.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier( + RelationshipElementMetadata.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + RelationshipElementMetadata.this.embeddedDataSpecifications, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/RelationshipElementValue.java b/src/main/java/aas_core/aas3_2/types/impl/RelationshipElementValue.java new file mode 100644 index 00000000..62392324 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/RelationshipElementValue.java @@ -0,0 +1,203 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IRelationshipElementValue; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The value of a {@link aas_core.aas3_2.types.impl.RelationshipElement}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class RelationshipElementValue implements IRelationshipElementValue { + /** Reference to the first element in the relationship. */ + private IReference first; + + /** Reference to the second element in the relationship. */ + private IReference second; + + public RelationshipElementValue() { + // Intentionally empty. + } + + public RelationshipElementValue(IReference first, IReference second) { + this.first = first; + this.second = second; + } + + @Override + public Optional getFirst() { + return Optional.ofNullable(first); + } + + @Override + public void setFirst(IReference first) { + this.first = first; + } + + @Override + public Optional getSecond() { + return Optional.ofNullable(second); + } + + @Override + public void setSecond(IReference second) { + this.second = second; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _RelationshipElementValueRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _RelationshipElementValueIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitRelationshipElementValue(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitRelationshipElementValue(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformRelationshipElementValue(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformRelationshipElementValue(this, context); + } + + private class _RelationshipElementValueIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (first != null) { + memberStream = + Stream.concat(memberStream, Stream.of(RelationshipElementValue.this.first)); + } + + if (second != null) { + memberStream = + Stream.concat(memberStream, Stream.of(RelationshipElementValue.this.second)); + } + + return memberStream; + } + } + + private class _RelationshipElementValueRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (first != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(RelationshipElementValue.this.first), + StreamSupport.stream( + RelationshipElementValue.this.first.descend().spliterator(), false))); + } + + if (second != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(RelationshipElementValue.this.second), + StreamSupport.stream( + RelationshipElementValue.this.second.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/Resource.java b/src/main/java/aas_core/aas3_2/types/impl/Resource.java new file mode 100644 index 00000000..ee12ef24 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/Resource.java @@ -0,0 +1,116 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IResource; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; +import java.util.Optional; + +/** + * Resource represents an address to a file (a locator). The value is a URI that can represent an + * absolute or relative path. + */ +public class Resource implements IResource { + /** + * Path and name of the resource (with file extension). + * + *

The path can be absolute or relative. + */ + private String path; + + /** + * Content type of the content of the file. + * + *

A single content type (MIME type) can have multiple file extensions associated with it. + */ + private String contentType; + + public Resource(String path) { + this.path = Objects.requireNonNull(path, "Argument \"path\" must be non-null."); + } + + public Resource(String path, String contentType) { + this.path = Objects.requireNonNull(path, "Argument \"path\" must be non-null."); + this.contentType = contentType; + } + + @Override + public String getPath() { + return path; + } + + @Override + public void setPath(String path) { + this.path = Objects.requireNonNull(path, "Argument \"path\" must be non-null."); + } + + @Override + public Optional getContentType() { + return Optional.ofNullable(contentType); + } + + @Override + public void setContentType(String contentType) { + this.contentType = contentType; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitResource(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitResource(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformResource(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformResource(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/Result.java b/src/main/java/aas_core/aas3_2/types/impl/Result.java new file mode 100644 index 00000000..4d7aa531 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/Result.java @@ -0,0 +1,174 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IResult; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * The result object. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#Result + */ +public class Result implements IResult { + /** Additional messages containing information for the requester */ + private List messages; + + public Result() { + // Intentionally empty. + } + + public Result(List messages) { + this.messages = messages; + } + + @Override + public Optional> getMessages() { + return Optional.ofNullable(messages); + } + + @Override + public void setMessages(List messages) { + this.messages = messages; + } + + /** Iterate over {@link Result#messages}, if set, and otherwise return an empty iterator. */ + public Iterable overMessagesOrEmpty() { + return getMessages().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _ResultRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _ResultIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitResult(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitResult(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformResult(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformResult(this, context); + } + + private class _ResultIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (messages != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IMessage(Result.this.messages, false)); + } + + return memberStream; + } + } + + private class _ResultRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (messages != null) { + memberStream = + Stream.concat(memberStream, Descent.descendListOf_IMessage(Result.this.messages, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/SecurityAttributeObject.java b/src/main/java/aas_core/aas3_2/types/impl/SecurityAttributeObject.java new file mode 100644 index 00000000..ba1ba871 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/SecurityAttributeObject.java @@ -0,0 +1,123 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ISecurityAttributeObject; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** + * Security attributes as defined by DIN SPEC 16593-2. After the release of DIN SPEC 16593-2, any + * required updates will be made. This class is not part of the metamodel. + * + *

The information in this table is derived from DIN SPEC 16593-2. Required changes need to be + * made by the related DIN working group. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#SecurityAttributeObject + */ +public class SecurityAttributeObject implements ISecurityAttributeObject { + /** Enum security type or standard. */ + private SecurityTypeEnum type; + + /** Security attribute key according to standard definitions of the security type. */ + private String key; + + /** Security attribute value e.g. DANE TLSA Resource Record. */ + private String value; + + public SecurityAttributeObject(SecurityTypeEnum type, String key, String value) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + this.key = Objects.requireNonNull(key, "Argument \"key\" must be non-null."); + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + @Override + public SecurityTypeEnum getType() { + return type; + } + + @Override + public void setType(SecurityTypeEnum type) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + } + + @Override + public String getKey() { + return key; + } + + @Override + public void setKey(String key) { + this.key = Objects.requireNonNull(key, "Argument \"key\" must be non-null."); + } + + @Override + public String getValue() { + return value; + } + + @Override + public void setValue(String value) { + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitSecurityAttributeObject(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSecurityAttributeObject(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformSecurityAttributeObject(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSecurityAttributeObject(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/ServiceDescription.java b/src/main/java/aas_core/aas3_2/types/impl/ServiceDescription.java new file mode 100644 index 00000000..3b2b8af5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/ServiceDescription.java @@ -0,0 +1,97 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IServiceDescription; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.List; +import java.util.Objects; + +/** + * The self-describing information of an API Implementation. It enables servers to present their + * capabilities to the clients, in particular which profiles they implement. At least one defined + * profile is required. Additional, proprietary attributes might be included. Nevertheless, the + * server must not expect that a regular client understands them. + * + *

This class is not part of the metamodel. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#ServiceDescription + */ +public class ServiceDescription implements IServiceDescription { + /** List of implemented server specification profiles. */ + private List profiles; + + public ServiceDescription(List profiles) { + this.profiles = Objects.requireNonNull(profiles, "Argument \"profiles\" must be non-null."); + } + + @Override + public List getProfiles() { + return profiles; + } + + @Override + public void setProfiles(List profiles) { + this.profiles = Objects.requireNonNull(profiles, "Argument \"profiles\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitServiceDescription(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitServiceDescription(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformServiceDescription(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformServiceDescription(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/SpecificAssetId.java b/src/main/java/aas_core/aas3_2/types/impl/SpecificAssetId.java new file mode 100644 index 00000000..268cc45b --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/SpecificAssetId.java @@ -0,0 +1,294 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ISpecificAssetId; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A specific asset ID describes a generic supplementary identifying attribute of the asset. + * + *

The specific asset ID is not necessarily globally unique. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-133: {@link #getExternalSubjectId()} shall be an external reference, i.e. + * {@link aas_core.aas3_2.types.impl.Reference#getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#EXTERNAL_REFERENCE}. + *
+ */ +public class SpecificAssetId implements ISpecificAssetId { + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** Name of the asset identifier. */ + private String name; + + /** The value of the specific asset identifier with the corresponding name. */ + private String value; + + /** + * The unique ID of the (external) subject the specific asset ID value belongs to or has meaning + * to. + * + *

This is an external reference. + */ + private IReference externalSubjectId; + + public SpecificAssetId(String name, String value) { + this.name = Objects.requireNonNull(name, "Argument \"name\" must be non-null."); + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + public SpecificAssetId( + String name, + String value, + IReference semanticId, + List supplementalSemanticIds, + IReference externalSubjectId) { + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.name = Objects.requireNonNull(name, "Argument \"name\" must be non-null."); + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + this.externalSubjectId = externalSubjectId; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public String getName() { + return name; + } + + @Override + public void setName(String name) { + this.name = Objects.requireNonNull(name, "Argument \"name\" must be non-null."); + } + + @Override + public String getValue() { + return value; + } + + @Override + public void setValue(String value) { + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + @Override + public Optional getExternalSubjectId() { + return Optional.ofNullable(externalSubjectId); + } + + @Override + public void setExternalSubjectId(IReference externalSubjectId) { + this.externalSubjectId = externalSubjectId; + } + + /** + * Iterate over {@link SpecificAssetId#supplementalSemanticIds}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _SpecificAssetIdRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _SpecificAssetIdIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitSpecificAssetId(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSpecificAssetId(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformSpecificAssetId(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSpecificAssetId(this, context); + } + + private class _SpecificAssetIdIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (semanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(SpecificAssetId.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SpecificAssetId.this.supplementalSemanticIds, false)); + } + + if (externalSubjectId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(SpecificAssetId.this.externalSubjectId)); + } + + return memberStream; + } + } + + private class _SpecificAssetIdRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(SpecificAssetId.this.semanticId), + StreamSupport.stream( + SpecificAssetId.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SpecificAssetId.this.supplementalSemanticIds, true)); + } + + if (externalSubjectId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(SpecificAssetId.this.externalSubjectId), + StreamSupport.stream( + SpecificAssetId.this.externalSubjectId.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/StartsWithComparison.java b/src/main/java/aas_core/aas3_2/types/impl/StartsWithComparison.java new file mode 100644 index 00000000..9071ac95 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/StartsWithComparison.java @@ -0,0 +1,172 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IStartsWithComparison; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * Check whether the first string operand starts with the second one. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + */ +public class StartsWithComparison implements IStartsWithComparison { + /** The two string operands */ + private Tuple2 startsWith; + + public StartsWithComparison(Tuple2 startsWith) { + this.startsWith = + Objects.requireNonNull(startsWith, "Argument \"startsWith\" must be non-null."); + } + + @Override + public Tuple2 getStartsWith() { + return startsWith; + } + + @Override + public void setStartsWith(Tuple2 startsWith) { + this.startsWith = + Objects.requireNonNull(startsWith, "Argument \"startsWith\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _StartsWithComparisonRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _StartsWithComparisonIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitStartsWithComparison(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitStartsWithComparison(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformStartsWithComparison(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformStartsWithComparison(this, context); + } + + private class _StartsWithComparisonIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (startsWith != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendTupleOf2_StringValue_StringValue( + StartsWithComparison.this.startsWith, false)); + } + + return memberStream; + } + } + + private class _StartsWithComparisonRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (startsWith != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendTupleOf2_StringValue_StringValue( + StartsWithComparison.this.startsWith, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/StringCast.java b/src/main/java/aas_core/aas3_2/types/impl/StringCast.java new file mode 100644 index 00000000..d6bb5103 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/StringCast.java @@ -0,0 +1,170 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IStringCast; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Cast the operand to {@code xs:string}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#casting + */ +public class StringCast implements IStringCast { + /** The operand to be cast */ + private Value strCast; + + public StringCast(Value strCast) { + this.strCast = Objects.requireNonNull(strCast, "Argument \"strCast\" must be non-null."); + } + + @Override + public Value getStrCast() { + return strCast; + } + + @Override + public void setStrCast(Value strCast) { + this.strCast = Objects.requireNonNull(strCast, "Argument \"strCast\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _StringCastRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _StringCastIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitStringCast(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitStringCast(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformStringCast(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformStringCast(this, context); + } + + private class _StringCastIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (strCast != null) { + memberStream = + Stream.concat(memberStream, Stream.of(StringCast.this.strCast.getUnderlying())); + } + + return memberStream; + } + } + + private class _StringCastRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (strCast != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(StringCast.this.strCast.getUnderlying()), + StreamSupport.stream( + StringCast.this.strCast.getUnderlying().descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/StringLiteral.java b/src/main/java/aas_core/aas3_2/types/impl/StringLiteral.java new file mode 100644 index 00000000..47851d8a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/StringLiteral.java @@ -0,0 +1,90 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IStringLiteral; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** + * Use a string literal as an operand. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public class StringLiteral implements IStringLiteral { + /** The string value */ + private String strVal; + + public StringLiteral(String strVal) { + this.strVal = Objects.requireNonNull(strVal, "Argument \"strVal\" must be non-null."); + } + + @Override + public String getStrVal() { + return strVal; + } + + @Override + public void setStrVal(String strVal) { + this.strVal = Objects.requireNonNull(strVal, "Argument \"strVal\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitStringLiteral(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitStringLiteral(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformStringLiteral(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformStringLiteral(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/Submodel.java b/src/main/java/aas_core/aas3_2/types/impl/Submodel.java new file mode 100644 index 00000000..8fb6444b --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/Submodel.java @@ -0,0 +1,570 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ISubmodel; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A submodel defines a specific aspect of the asset represented by the Asset Administration Shell. + * + *

A submodel is used to structure the digital representation and technical functionality of an + * Administration Shell into distinguishable parts. Each submodel refers to a well-defined domain or + * subject. Submodels can become standardized and, in turn, submodel templates. + */ +public class Submodel implements ISubmodel { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Administrative information of an identifiable element. + * + *

Some of the administrative information like the version number might need to be part of the + * identification. + */ + private IAdministrativeInformation administration; + + /** The globally unique identification of the element. */ + private String id; + + /** + * Kind of the element: either template or instance. + * + *

Default: {@link aas_core.aas3_2.types.enums.ModellingKind#INSTANCE} + */ + private ModellingKind kind; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Submodel elements contained in the submodel. */ + private List submodelElements; + + public Submodel(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + public Submodel( + String id, + List extensions, + String category, + String idShort, + List displayName, + List description, + IAdministrativeInformation administration, + ModellingKind kind, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + List submodelElements) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + this.administration = administration; + this.kind = kind; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.submodelElements = submodelElements; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getAdministration() { + return Optional.ofNullable(administration); + } + + @Override + public void setAdministration(IAdministrativeInformation administration) { + this.administration = administration; + } + + @Override + public String getId() { + return id; + } + + @Override + public void setId(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + @Override + public Optional getKind() { + return Optional.ofNullable(kind); + } + + @Override + public void setKind(ModellingKind kind) { + this.kind = kind; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getSubmodelElements() { + return Optional.ofNullable(submodelElements); + } + + @Override + public void setSubmodelElements(List submodelElements) { + this.submodelElements = submodelElements; + } + + /** Iterate over {@link Submodel#extensions}, if set, and otherwise return an empty iterator. */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Submodel#displayName}, if set, and otherwise return an empty iterator. */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Submodel#description}, if set, and otherwise return an empty iterator. */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Submodel#supplementalSemanticIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Submodel#qualifiers}, if set, and otherwise return an empty iterator. */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Submodel#embeddedDataSpecifications}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Submodel#submodelElements}, if set, and otherwise return an empty iterator. + */ + public Iterable overSubmodelElementsOrEmpty() { + return getSubmodelElements().orElseGet(Collections::emptyList); + } + + @Override + public ModellingKind kindOrDefault() { + if (this.getKind().isPresent()) { + return this.getKind().get(); + } + return ModellingKind.INSTANCE; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _SubmodelRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _SubmodelIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitSubmodel(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodel(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformSubmodel(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodel(this, context); + } + + private class _SubmodelIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Submodel.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Submodel.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Submodel.this.description, false)); + } + + if (administration != null) { + memberStream = Stream.concat(memberStream, Stream.of(Submodel.this.administration)); + } + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Submodel.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Submodel.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Submodel.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Submodel.this.embeddedDataSpecifications, false)); + } + + if (submodelElements != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelElement(Submodel.this.submodelElements, false)); + } + + return memberStream; + } + } + + private class _SubmodelRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Submodel.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Submodel.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Submodel.this.description, true)); + } + + if (administration != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Submodel.this.administration), + StreamSupport.stream( + Submodel.this.administration.descend().spliterator(), false))); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Submodel.this.semanticId), + StreamSupport.stream(Submodel.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Submodel.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Submodel.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Submodel.this.embeddedDataSpecifications, true)); + } + + if (submodelElements != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelElement(Submodel.this.submodelElements, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/SubmodelDescriptor.java b/src/main/java/aas_core/aas3_2/types/impl/SubmodelDescriptor.java new file mode 100644 index 00000000..51f17408 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/SubmodelDescriptor.java @@ -0,0 +1,431 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ISubmodelDescriptor; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A descriptor of a submodel. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#SubmodelDescriptor + */ +public class SubmodelDescriptor implements ISubmodelDescriptor { + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + */ + private List description; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * An extension of the element. + * + *

Extensions are proprietary, i.e. they do not support global interoperability. + */ + private List extensions; + + /** Endpoint of the network resource. */ + private List endpoints; + + /** Globally unique identification of the Submodel. */ + private String id; + + /** Administrative information of the Submodel. */ + private IAdministrativeInformation administration; + + /** Short name of the Submodel. */ + private String idShort; + + /** Identifier of the semantic definition of the Submodel. */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element called supplemental semantic ID + * of the element. + */ + private List supplementalSemanticIds; + + public SubmodelDescriptor(List endpoints, String id) { + this.endpoints = Objects.requireNonNull(endpoints, "Argument \"endpoints\" must be non-null."); + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + public SubmodelDescriptor( + List endpoints, + String id, + List description, + List displayName, + List extensions, + IAdministrativeInformation administration, + String idShort, + IReference semanticId, + List supplementalSemanticIds) { + this.description = description; + this.displayName = displayName; + this.extensions = extensions; + this.endpoints = Objects.requireNonNull(endpoints, "Argument \"endpoints\" must be non-null."); + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + this.administration = administration; + this.idShort = idShort; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public List getEndpoints() { + return endpoints; + } + + @Override + public void setEndpoints(List endpoints) { + this.endpoints = Objects.requireNonNull(endpoints, "Argument \"endpoints\" must be non-null."); + } + + @Override + public String getId() { + return id; + } + + @Override + public void setId(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + @Override + public Optional getAdministration() { + return Optional.ofNullable(administration); + } + + @Override + public void setAdministration(IAdministrativeInformation administration) { + this.administration = administration; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + /** + * Iterate over {@link SubmodelDescriptor#description}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelDescriptor#displayName}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelDescriptor#extensions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelDescriptor#supplementalSemanticIds}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _SubmodelDescriptorRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _SubmodelDescriptorIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitSubmodelDescriptor(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodelDescriptor(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformSubmodelDescriptor(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodelDescriptor(this, context); + } + + private class _SubmodelDescriptorIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + SubmodelDescriptor.this.description, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + SubmodelDescriptor.this.displayName, false)); + } + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(SubmodelDescriptor.this.extensions, false)); + } + + if (endpoints != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEndpoint(SubmodelDescriptor.this.endpoints, false)); + } + + if (administration != null) { + memberStream = + Stream.concat(memberStream, Stream.of(SubmodelDescriptor.this.administration)); + } + + if (semanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(SubmodelDescriptor.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SubmodelDescriptor.this.supplementalSemanticIds, false)); + } + + return memberStream; + } + } + + private class _SubmodelDescriptorRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + SubmodelDescriptor.this.description, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + SubmodelDescriptor.this.displayName, true)); + } + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(SubmodelDescriptor.this.extensions, true)); + } + + if (endpoints != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEndpoint(SubmodelDescriptor.this.endpoints, true)); + } + + if (administration != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(SubmodelDescriptor.this.administration), + StreamSupport.stream( + SubmodelDescriptor.this.administration.descend().spliterator(), false))); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(SubmodelDescriptor.this.semanticId), + StreamSupport.stream( + SubmodelDescriptor.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SubmodelDescriptor.this.supplementalSemanticIds, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/SubmodelElementCollection.java b/src/main/java/aas_core/aas3_2/types/impl/SubmodelElementCollection.java new file mode 100644 index 00000000..55349024 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/SubmodelElementCollection.java @@ -0,0 +1,517 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ISubmodelElementCollection; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A submodel element collection is a kind of struct, i.e. a logical encapsulation of multiple named + * values. + */ +public class SubmodelElementCollection implements ISubmodelElementCollection { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Submodel element contained in the collection. */ + private List value; + + public SubmodelElementCollection() { + // Intentionally empty. + } + + public SubmodelElementCollection( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + List value) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.value = value; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(List value) { + this.value = value; + } + + /** + * Iterate over {@link SubmodelElementCollection#extensions}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementCollection#displayName}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementCollection#description}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementCollection#supplementalSemanticIds}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementCollection#qualifiers}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementCollection#embeddedDataSpecifications}, if set, and + * otherwise return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementCollection#value}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overValueOrEmpty() { + return getValue().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _SubmodelElementCollectionRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _SubmodelElementCollectionIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitSubmodelElementCollection(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodelElementCollection(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformSubmodelElementCollection(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodelElementCollection(this, context); + } + + private class _SubmodelElementCollectionIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(SubmodelElementCollection.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + SubmodelElementCollection.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + SubmodelElementCollection.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(SubmodelElementCollection.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SubmodelElementCollection.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(SubmodelElementCollection.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + SubmodelElementCollection.this.embeddedDataSpecifications, false)); + } + + if (value != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelElement( + SubmodelElementCollection.this.value, false)); + } + + return memberStream; + } + } + + private class _SubmodelElementCollectionRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(SubmodelElementCollection.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + SubmodelElementCollection.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + SubmodelElementCollection.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(SubmodelElementCollection.this.semanticId), + StreamSupport.stream( + SubmodelElementCollection.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SubmodelElementCollection.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(SubmodelElementCollection.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + SubmodelElementCollection.this.embeddedDataSpecifications, true)); + } + + if (value != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelElement(SubmodelElementCollection.this.value, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/SubmodelElementCollectionMetadata.java b/src/main/java/aas_core/aas3_2/types/impl/SubmodelElementCollectionMetadata.java new file mode 100644 index 00000000..f66f49fc --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/SubmodelElementCollectionMetadata.java @@ -0,0 +1,489 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ISubmodelElementCollectionMetadata; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.SubmodelElementCollection}, without its + * value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class SubmodelElementCollectionMetadata implements ISubmodelElementCollectionMetadata { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public SubmodelElementCollectionMetadata() { + // Intentionally empty. + } + + public SubmodelElementCollectionMetadata( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + /** + * Iterate over {@link SubmodelElementCollectionMetadata#extensions}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementCollectionMetadata#displayName}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementCollectionMetadata#description}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementCollectionMetadata#supplementalSemanticIds}, if set, and + * otherwise return an empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementCollectionMetadata#qualifiers}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementCollectionMetadata#embeddedDataSpecifications}, if set, and + * otherwise return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _SubmodelElementCollectionMetadataRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _SubmodelElementCollectionMetadataIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitSubmodelElementCollectionMetadata(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodelElementCollectionMetadata(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformSubmodelElementCollectionMetadata(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodelElementCollectionMetadata(this, context); + } + + private class _SubmodelElementCollectionMetadataIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension( + SubmodelElementCollectionMetadata.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + SubmodelElementCollectionMetadata.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + SubmodelElementCollectionMetadata.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(SubmodelElementCollectionMetadata.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SubmodelElementCollectionMetadata.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier( + SubmodelElementCollectionMetadata.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + SubmodelElementCollectionMetadata.this.embeddedDataSpecifications, false)); + } + + return memberStream; + } + } + + private class _SubmodelElementCollectionMetadataRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension( + SubmodelElementCollectionMetadata.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + SubmodelElementCollectionMetadata.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + SubmodelElementCollectionMetadata.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(SubmodelElementCollectionMetadata.this.semanticId), + StreamSupport.stream( + SubmodelElementCollectionMetadata.this.semanticId.descend().spliterator(), + false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SubmodelElementCollectionMetadata.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier( + SubmodelElementCollectionMetadata.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + SubmodelElementCollectionMetadata.this.embeddedDataSpecifications, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/SubmodelElementList.java b/src/main/java/aas_core/aas3_2/types/impl/SubmodelElementList.java new file mode 100644 index 00000000..7b52fdd7 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/SubmodelElementList.java @@ -0,0 +1,647 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ISubmodelElementList; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A submodel element list is an ordered list of submodel elements. + * + *

The list is ordered although the ordering might not be relevant (see {@link + * #getOrderRelevant()}). + * + *

The numbering starts with zero (0). + * + *

Constraints: + * + *

    + *
  • Constraint AASd-107: If a first level child element in a {@link + * aas_core.aas3_2.types.impl.SubmodelElementList} has a {@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} it shall be identical to {@link + * #getSemanticIdListElement()}. + *
  • Constraint AASd-114: If two first level child elements in a {@link + * aas_core.aas3_2.types.impl.SubmodelElementList} have a {@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} then they shall be identical. + *
  • Constraint AASd-115: If a first level child element in a {@link + * aas_core.aas3_2.types.impl.SubmodelElementList} does not specify a {@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} then the value is assumed to be + * identical to {@link #getSemanticIdListElement()}. + *
  • Constraint AASd-108: All first level child elements in a {@link + * aas_core.aas3_2.types.impl.SubmodelElementList} shall have the same submodel element type + * as specified in {@link #getTypeValueListElement()}. + *
  • Constraint AASd-109: If {@link #getTypeValueListElement()} is equal to {@link + * aas_core.aas3_2.types.enums.AasSubmodelElements#PROPERTY} or {@link + * aas_core.aas3_2.types.enums.AasSubmodelElements#RANGE} {@link #getValueTypeListElement()} + * shall be set and all first level child elements in the {@link + * aas_core.aas3_2.types.impl.SubmodelElementList} shall have the value type as specified in + * {@link #getValueTypeListElement()}. + *
  • Constraint AASd-138: A {@link aas_core.aas3_2.types.impl.SubmodelElementList} within a + * {@link aas_core.aas3_2.types.impl.Submodel} of {@link + * aas_core.aas3_2.types.model.IHasKind#getKind()} = {@link + * aas_core.aas3_2.types.enums.ModellingKind#TEMPLATE} or as part of an {@link + * aas_core.aas3_2.types.impl.OperationVariable} shall have exactly one element. + *

    This constraint is checked at {@link aas_core.aas3_2.types.impl.Submodel} and {@link + * aas_core.aas3_2.types.impl.Operation}. + *

+ */ +public class SubmodelElementList implements ISubmodelElementList { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * Defines whether order in list is relevant. If {@link #getOrderRelevant()} = {@code False} then + * the list is representing a set or a bag. + * + *

Default: {@code True} + */ + private Boolean orderRelevant; + + /** Semantic ID the submodel elements contained in the list match to. */ + private IReference semanticIdListElement; + + /** The submodel element type of the submodel elements contained in the list. */ + private AasSubmodelElements typeValueListElement; + + /** The value type of the submodel element contained in the list. */ + private DataTypeDefXsd valueTypeListElement; + + /** Submodel element contained in the list. */ + private List value; + + public SubmodelElementList(AasSubmodelElements typeValueListElement) { + this.typeValueListElement = + Objects.requireNonNull( + typeValueListElement, "Argument \"typeValueListElement\" must be non-null."); + } + + public SubmodelElementList( + AasSubmodelElements typeValueListElement, + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + Boolean orderRelevant, + IReference semanticIdListElement, + DataTypeDefXsd valueTypeListElement, + List value) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.typeValueListElement = + Objects.requireNonNull( + typeValueListElement, "Argument \"typeValueListElement\" must be non-null."); + this.orderRelevant = orderRelevant; + this.semanticIdListElement = semanticIdListElement; + this.valueTypeListElement = valueTypeListElement; + this.value = value; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional getOrderRelevant() { + return Optional.ofNullable(orderRelevant); + } + + @Override + public void setOrderRelevant(Boolean orderRelevant) { + this.orderRelevant = orderRelevant; + } + + @Override + public Optional getSemanticIdListElement() { + return Optional.ofNullable(semanticIdListElement); + } + + @Override + public void setSemanticIdListElement(IReference semanticIdListElement) { + this.semanticIdListElement = semanticIdListElement; + } + + @Override + public AasSubmodelElements getTypeValueListElement() { + return typeValueListElement; + } + + @Override + public void setTypeValueListElement(AasSubmodelElements typeValueListElement) { + this.typeValueListElement = + Objects.requireNonNull( + typeValueListElement, "Argument \"typeValueListElement\" must be non-null."); + } + + @Override + public Optional getValueTypeListElement() { + return Optional.ofNullable(valueTypeListElement); + } + + @Override + public void setValueTypeListElement(DataTypeDefXsd valueTypeListElement) { + this.valueTypeListElement = valueTypeListElement; + } + + @Override + public Optional> getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(List value) { + this.value = value; + } + + /** + * Iterate over {@link SubmodelElementList#extensions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementList#displayName}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementList#description}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementList#supplementalSemanticIds}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementList#qualifiers}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementList#embeddedDataSpecifications}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementList#value}, if set, and otherwise return an empty iterator. + */ + public Iterable overValueOrEmpty() { + return getValue().orElseGet(Collections::emptyList); + } + + @Override + public Boolean orderRelevantOrDefault() { + if (this.getOrderRelevant().isPresent()) { + return this.getOrderRelevant().get(); + } + return true; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _SubmodelElementListRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _SubmodelElementListIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitSubmodelElementList(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodelElementList(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformSubmodelElementList(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodelElementList(this, context); + } + + private class _SubmodelElementListIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(SubmodelElementList.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + SubmodelElementList.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + SubmodelElementList.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(SubmodelElementList.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SubmodelElementList.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(SubmodelElementList.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + SubmodelElementList.this.embeddedDataSpecifications, false)); + } + + if (semanticIdListElement != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(SubmodelElementList.this.semanticIdListElement)); + } + + if (value != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelElement(SubmodelElementList.this.value, false)); + } + + return memberStream; + } + } + + private class _SubmodelElementListRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(SubmodelElementList.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + SubmodelElementList.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + SubmodelElementList.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(SubmodelElementList.this.semanticId), + StreamSupport.stream( + SubmodelElementList.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SubmodelElementList.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(SubmodelElementList.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + SubmodelElementList.this.embeddedDataSpecifications, true)); + } + + if (semanticIdListElement != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(SubmodelElementList.this.semanticIdListElement), + StreamSupport.stream( + SubmodelElementList.this.semanticIdListElement.descend().spliterator(), + false))); + } + + if (value != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelElement(SubmodelElementList.this.value, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/SubmodelElementListMetadata.java b/src/main/java/aas_core/aas3_2/types/impl/SubmodelElementListMetadata.java new file mode 100644 index 00000000..cf32a6c3 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/SubmodelElementListMetadata.java @@ -0,0 +1,576 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ISubmodelElementListMetadata; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.SubmodelElementList}, without its value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class SubmodelElementListMetadata implements ISubmodelElementListMetadata { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Defines whether order in the list is relevant. */ + private Boolean orderRelevant; + + /** Semantic ID the submodel elements contained in the list match to. */ + private IReference semanticIdListElement; + + /** The submodel element type of the submodel elements contained in the list. */ + private AasSubmodelElements typeValueListElement; + + /** The value type of the submodel elements contained in the list. */ + private DataTypeDefXsd valueTypeListElement; + + public SubmodelElementListMetadata(AasSubmodelElements typeValueListElement) { + this.typeValueListElement = + Objects.requireNonNull( + typeValueListElement, "Argument \"typeValueListElement\" must be non-null."); + } + + public SubmodelElementListMetadata( + AasSubmodelElements typeValueListElement, + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + Boolean orderRelevant, + IReference semanticIdListElement, + DataTypeDefXsd valueTypeListElement) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.orderRelevant = orderRelevant; + this.semanticIdListElement = semanticIdListElement; + this.typeValueListElement = + Objects.requireNonNull( + typeValueListElement, "Argument \"typeValueListElement\" must be non-null."); + this.valueTypeListElement = valueTypeListElement; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional getOrderRelevant() { + return Optional.ofNullable(orderRelevant); + } + + @Override + public void setOrderRelevant(Boolean orderRelevant) { + this.orderRelevant = orderRelevant; + } + + @Override + public Optional getSemanticIdListElement() { + return Optional.ofNullable(semanticIdListElement); + } + + @Override + public void setSemanticIdListElement(IReference semanticIdListElement) { + this.semanticIdListElement = semanticIdListElement; + } + + @Override + public AasSubmodelElements getTypeValueListElement() { + return typeValueListElement; + } + + @Override + public void setTypeValueListElement(AasSubmodelElements typeValueListElement) { + this.typeValueListElement = + Objects.requireNonNull( + typeValueListElement, "Argument \"typeValueListElement\" must be non-null."); + } + + @Override + public Optional getValueTypeListElement() { + return Optional.ofNullable(valueTypeListElement); + } + + @Override + public void setValueTypeListElement(DataTypeDefXsd valueTypeListElement) { + this.valueTypeListElement = valueTypeListElement; + } + + /** + * Iterate over {@link SubmodelElementListMetadata#extensions}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementListMetadata#displayName}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementListMetadata#description}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementListMetadata#supplementalSemanticIds}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementListMetadata#qualifiers}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementListMetadata#embeddedDataSpecifications}, if set, and + * otherwise return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _SubmodelElementListMetadataRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _SubmodelElementListMetadataIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitSubmodelElementListMetadata(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodelElementListMetadata(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformSubmodelElementListMetadata(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodelElementListMetadata(this, context); + } + + private class _SubmodelElementListMetadataIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension( + SubmodelElementListMetadata.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + SubmodelElementListMetadata.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + SubmodelElementListMetadata.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(SubmodelElementListMetadata.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SubmodelElementListMetadata.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier( + SubmodelElementListMetadata.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + SubmodelElementListMetadata.this.embeddedDataSpecifications, false)); + } + + if (semanticIdListElement != null) { + memberStream = + Stream.concat( + memberStream, + Stream.of(SubmodelElementListMetadata.this.semanticIdListElement)); + } + + return memberStream; + } + } + + private class _SubmodelElementListMetadataRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension( + SubmodelElementListMetadata.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + SubmodelElementListMetadata.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + SubmodelElementListMetadata.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(SubmodelElementListMetadata.this.semanticId), + StreamSupport.stream( + SubmodelElementListMetadata.this.semanticId.descend().spliterator(), + false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SubmodelElementListMetadata.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier( + SubmodelElementListMetadata.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + SubmodelElementListMetadata.this.embeddedDataSpecifications, true)); + } + + if (semanticIdListElement != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(SubmodelElementListMetadata.this.semanticIdListElement), + StreamSupport.stream( + SubmodelElementListMetadata.this + .semanticIdListElement + .descend() + .spliterator(), + false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/SubmodelMetadata.java b/src/main/java/aas_core/aas3_2/types/impl/SubmodelMetadata.java new file mode 100644 index 00000000..cd840d3d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/SubmodelMetadata.java @@ -0,0 +1,558 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ISubmodelMetadata; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.Submodel}, without its submodel elements. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public class SubmodelMetadata implements ISubmodelMetadata { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + private String category; + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English, if available. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + private List description; + + /** + * Administrative information of an identifiable element. + * + *

Some of the administrative information like the version number might need to be part of the + * identification. + */ + private IAdministrativeInformation administration; + + /** The globally unique identification of the element. */ + private String id; + + /** + * Kind of the element: either template or instance. + * + *

Default: {@link aas_core.aas3_2.types.enums.ModellingKind#INSTANCE} + */ + private ModellingKind kind; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public SubmodelMetadata(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + public SubmodelMetadata( + String id, + List extensions, + String category, + String idShort, + List displayName, + List description, + IAdministrativeInformation administration, + ModellingKind kind, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + this.administration = administration; + this.kind = kind; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getAdministration() { + return Optional.ofNullable(administration); + } + + @Override + public void setAdministration(IAdministrativeInformation administration) { + this.administration = administration; + } + + @Override + public String getId() { + return id; + } + + @Override + public void setId(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + @Override + public Optional getKind() { + return Optional.ofNullable(kind); + } + + @Override + public void setKind(ModellingKind kind) { + this.kind = kind; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + /** + * Iterate over {@link SubmodelMetadata#extensions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelMetadata#displayName}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelMetadata#description}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelMetadata#supplementalSemanticIds}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelMetadata#qualifiers}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelMetadata#embeddedDataSpecifications}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + @Override + public ModellingKind kindOrDefault() { + if (this.getKind().isPresent()) { + return this.getKind().get(); + } + return ModellingKind.INSTANCE; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _SubmodelMetadataRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _SubmodelMetadataIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitSubmodelMetadata(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodelMetadata(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformSubmodelMetadata(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodelMetadata(this, context); + } + + private class _SubmodelMetadataIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(SubmodelMetadata.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + SubmodelMetadata.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + SubmodelMetadata.this.description, false)); + } + + if (administration != null) { + memberStream = + Stream.concat(memberStream, Stream.of(SubmodelMetadata.this.administration)); + } + + if (semanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(SubmodelMetadata.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SubmodelMetadata.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(SubmodelMetadata.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + SubmodelMetadata.this.embeddedDataSpecifications, false)); + } + + return memberStream; + } + } + + private class _SubmodelMetadataRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(SubmodelMetadata.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(SubmodelMetadata.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(SubmodelMetadata.this.description, true)); + } + + if (administration != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(SubmodelMetadata.this.administration), + StreamSupport.stream( + SubmodelMetadata.this.administration.descend().spliterator(), false))); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(SubmodelMetadata.this.semanticId), + StreamSupport.stream( + SubmodelMetadata.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SubmodelMetadata.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(SubmodelMetadata.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + SubmodelMetadata.this.embeddedDataSpecifications, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/SubmodelRecentChange.java b/src/main/java/aas_core/aas3_2/types/impl/SubmodelRecentChange.java new file mode 100644 index 00000000..9787246d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/SubmodelRecentChange.java @@ -0,0 +1,265 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ISubmodelRecentChange; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * This class is not part of the metamodel. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#SubmodelRecentChange + */ +public class SubmodelRecentChange implements ISubmodelRecentChange { + /** The point in time at which the Identifiable object was created */ + private String createdAt; + + /** The point in time at which the Identifiable object was recently updated */ + private String updatedAt; + + /** Globally unique identification of the Submodel */ + private String id; + + /** Identifier of the semantic definition of the Submodel */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element called supplemental semantic ID + * of the element + */ + private List supplementalSemanticIds; + + public SubmodelRecentChange(String createdAt, String updatedAt, String id) { + this.createdAt = Objects.requireNonNull(createdAt, "Argument \"createdAt\" must be non-null."); + this.updatedAt = Objects.requireNonNull(updatedAt, "Argument \"updatedAt\" must be non-null."); + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + public SubmodelRecentChange( + String createdAt, + String updatedAt, + String id, + IReference semanticId, + List supplementalSemanticIds) { + this.createdAt = Objects.requireNonNull(createdAt, "Argument \"createdAt\" must be non-null."); + this.updatedAt = Objects.requireNonNull(updatedAt, "Argument \"updatedAt\" must be non-null."); + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public String getCreatedAt() { + return createdAt; + } + + @Override + public void setCreatedAt(String createdAt) { + this.createdAt = Objects.requireNonNull(createdAt, "Argument \"createdAt\" must be non-null."); + } + + @Override + public String getUpdatedAt() { + return updatedAt; + } + + @Override + public void setUpdatedAt(String updatedAt) { + this.updatedAt = Objects.requireNonNull(updatedAt, "Argument \"updatedAt\" must be non-null."); + } + + @Override + public String getId() { + return id; + } + + @Override + public void setId(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + /** + * Iterate over {@link SubmodelRecentChange#supplementalSemanticIds}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _SubmodelRecentChangeRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _SubmodelRecentChangeIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitSubmodelRecentChange(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodelRecentChange(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformSubmodelRecentChange(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodelRecentChange(this, context); + } + + private class _SubmodelRecentChangeIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (semanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(SubmodelRecentChange.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SubmodelRecentChange.this.supplementalSemanticIds, false)); + } + + return memberStream; + } + } + + private class _SubmodelRecentChangeRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(SubmodelRecentChange.this.semanticId), + StreamSupport.stream( + SubmodelRecentChange.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SubmodelRecentChange.this.supplementalSemanticIds, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/TimeCast.java b/src/main/java/aas_core/aas3_2/types/impl/TimeCast.java new file mode 100644 index 00000000..631b3b16 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/TimeCast.java @@ -0,0 +1,170 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ITimeCast; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Cast the string or date-time operand to {@code xs:time}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#casting + */ +public class TimeCast implements ITimeCast { + /** The operand to be cast */ + private TimeCastOperand timeCast; + + public TimeCast(TimeCastOperand timeCast) { + this.timeCast = Objects.requireNonNull(timeCast, "Argument \"timeCast\" must be non-null."); + } + + @Override + public TimeCastOperand getTimeCast() { + return timeCast; + } + + @Override + public void setTimeCast(TimeCastOperand timeCast) { + this.timeCast = Objects.requireNonNull(timeCast, "Argument \"timeCast\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _TimeCastRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _TimeCastIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitTimeCast(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitTimeCast(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformTimeCast(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformTimeCast(this, context); + } + + private class _TimeCastIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (timeCast != null) { + memberStream = + Stream.concat(memberStream, Stream.of(TimeCast.this.timeCast.getUnderlying())); + } + + return memberStream; + } + } + + private class _TimeCastRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (timeCast != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(TimeCast.this.timeCast.getUnderlying()), + StreamSupport.stream( + TimeCast.this.timeCast.getUnderlying().descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/TimeLiteral.java b/src/main/java/aas_core/aas3_2/types/impl/TimeLiteral.java new file mode 100644 index 00000000..0de63296 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/TimeLiteral.java @@ -0,0 +1,90 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.ITimeLiteral; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** + * Use a time literal as an operand. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public class TimeLiteral implements ITimeLiteral { + /** The time value */ + private String timeVal; + + public TimeLiteral(String timeVal) { + this.timeVal = Objects.requireNonNull(timeVal, "Argument \"timeVal\" must be non-null."); + } + + @Override + public String getTimeVal() { + return timeVal; + } + + @Override + public void setTimeVal(String timeVal) { + this.timeVal = Objects.requireNonNull(timeVal, "Argument \"timeVal\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitTimeLiteral(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitTimeLiteral(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformTimeLiteral(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformTimeLiteral(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/ValueList.java b/src/main/java/aas_core/aas3_2/types/impl/ValueList.java new file mode 100644 index 00000000..8fb21a4b --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/ValueList.java @@ -0,0 +1,168 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IValueList; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** A set of value reference pairs. */ +public class ValueList implements IValueList { + /** A pair of a value together with its global unique id. */ + private List valueReferencePairs; + + public ValueList(List valueReferencePairs) { + this.valueReferencePairs = + Objects.requireNonNull( + valueReferencePairs, "Argument \"valueReferencePairs\" must be non-null."); + } + + @Override + public List getValueReferencePairs() { + return valueReferencePairs; + } + + @Override + public void setValueReferencePairs(List valueReferencePairs) { + this.valueReferencePairs = + Objects.requireNonNull( + valueReferencePairs, "Argument \"valueReferencePairs\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _ValueListRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _ValueListIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitValueList(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitValueList(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformValueList(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformValueList(this, context); + } + + private class _ValueListIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (valueReferencePairs != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IValueReferencePair( + ValueList.this.valueReferencePairs, false)); + } + + return memberStream; + } + } + + private class _ValueListRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (valueReferencePairs != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IValueReferencePair( + ValueList.this.valueReferencePairs, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/ValueReferencePair.java b/src/main/java/aas_core/aas3_2/types/impl/ValueReferencePair.java new file mode 100644 index 00000000..949c002d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/ValueReferencePair.java @@ -0,0 +1,189 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IValueReferencePair; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A value reference pair within a value list. Each value has a global unique id defining its + * semantic. + */ +public class ValueReferencePair implements IValueReferencePair { + /** The value of the referenced concept definition of the value in {@link #getValueId()}. */ + private String value; + + /** + * Global unique id of the value. + * + *

It is recommended to use a global reference. + */ + private IReference valueId; + + public ValueReferencePair(String value) { + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + public ValueReferencePair(String value, IReference valueId) { + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + this.valueId = valueId; + } + + @Override + public String getValue() { + return value; + } + + @Override + public void setValue(String value) { + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + @Override + public Optional getValueId() { + return Optional.ofNullable(valueId); + } + + @Override + public void setValueId(IReference valueId) { + this.valueId = valueId; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _ValueReferencePairRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _ValueReferencePairIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitValueReferencePair(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitValueReferencePair(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformValueReferencePair(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformValueReferencePair(this, context); + } + + private class _ValueReferencePairIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (valueId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(ValueReferencePair.this.valueId)); + } + + return memberStream; + } + } + + private class _ValueReferencePairRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (valueId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(ValueReferencePair.this.valueId), + StreamSupport.stream( + ValueReferencePair.this.valueId.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/impl/Year.java b/src/main/java/aas_core/aas3_2/types/impl/Year.java new file mode 100644 index 00000000..3d178e49 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/impl/Year.java @@ -0,0 +1,167 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.impl; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IYear; +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Extract the year from the date-time operand as a number. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public class Year implements IYear { + /** The date-time operand */ + private DateTimeOperand year; + + public Year(DateTimeOperand year) { + this.year = Objects.requireNonNull(year, "Argument \"year\" must be non-null."); + } + + @Override + public DateTimeOperand getYear() { + return year; + } + + @Override + public void setYear(DateTimeOperand year) { + this.year = Objects.requireNonNull(year, "Argument \"year\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _YearRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _YearIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitYear(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitYear(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformYear(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformYear(this, context); + } + + private class _YearIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (year != null) { + memberStream = + Stream.concat(memberStream, Stream.of(Year.this.year.getUnderlying())); + } + + return memberStream; + } + } + + private class _YearRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (year != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Year.this.year.getUnderlying()), + StreamSupport.stream( + Year.this.year.getUnderlying().descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/AttributeItem.java b/src/main/java/aas_core/aas3_2/types/model/AttributeItem.java new file mode 100644 index 00000000..473f6920 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/AttributeItem.java @@ -0,0 +1,100 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +/** + * Represent a union of {@link IClaimAttribute}, {@link IGlobalAttribute}, and {@link + * IReferenceAttribute}. + */ +public class AttributeItem implements IUnion { + private enum ValueKind { + CLAIM_ATTRIBUTE, + GLOBAL_ATTRIBUTE, + REFERENCE_ATTRIBUTE + } + + private final ValueKind valueKind; + private final IClaimAttribute asClaimAttribute; + private final IGlobalAttribute asGlobalAttribute; + private final IReferenceAttribute asReferenceAttribute; + + private AttributeItem( + ValueKind valueKind, + IClaimAttribute asClaimAttribute, + IGlobalAttribute asGlobalAttribute, + IReferenceAttribute asReferenceAttribute) { + this.valueKind = valueKind; + this.asClaimAttribute = asClaimAttribute; + this.asGlobalAttribute = asGlobalAttribute; + this.asReferenceAttribute = asReferenceAttribute; + } + + /** Wrap {@code that} as an instance of {@link AttributeItem}. */ + public static AttributeItem fromClaimAttribute(IClaimAttribute that) { + return new AttributeItem(ValueKind.CLAIM_ATTRIBUTE, that, null, null); + } + + /** Wrap {@code that} as an instance of {@link AttributeItem}. */ + public static AttributeItem fromGlobalAttribute(IGlobalAttribute that) { + return new AttributeItem(ValueKind.GLOBAL_ATTRIBUTE, null, that, null); + } + + /** Wrap {@code that} as an instance of {@link AttributeItem}. */ + public static AttributeItem fromReferenceAttribute(IReferenceAttribute that) { + return new AttributeItem(ValueKind.REFERENCE_ATTRIBUTE, null, null, that); + } + + /** Get the underlying instance regardless of the concrete case. */ + @Override + public IClass getUnderlying() { + switch (valueKind) { + case CLAIM_ATTRIBUTE: + return asClaimAttribute; + case GLOBAL_ATTRIBUTE: + return asGlobalAttribute; + case REFERENCE_ATTRIBUTE: + return asReferenceAttribute; + default: + throw new IllegalStateException(String.format("Unexpected value kind: %s", valueKind)); + } + } + + /** Wrap {@code that} as an instance of {@link AttributeItem} based on its run-time type. */ + public static AttributeItem fromUnderlying(IClass that) { + if (that instanceof IClaimAttribute) { + return fromClaimAttribute((IClaimAttribute) that); + } else if (that instanceof IGlobalAttribute) { + return fromGlobalAttribute((IGlobalAttribute) that); + } else if (that instanceof IReferenceAttribute) { + return fromReferenceAttribute((IReferenceAttribute) that); + } else { + throw new IllegalArgumentException( + String.format( + "Unexpected run-time type for the union AttributeItem: %s", that.getClass())); + } + } + + /** + * Wrap {@code that} as an instance of {@link AttributeItem} based on its run-time type. + * + *

This is the instance-level counterpart of {@link AttributeItem#fromUnderlying}, needed so + * that a generic method dispatching on {@link IUnion} can re-wrap a transformed or copied value + * without knowing the concrete union type at compile time. + */ + @Override + public AttributeItem withUnderlying(IClass that) { + return AttributeItem.fromUnderlying(that); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/BoolOperand.java b/src/main/java/aas_core/aas3_2/types/model/BoolOperand.java new file mode 100644 index 00000000..8e807f85 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/BoolOperand.java @@ -0,0 +1,81 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +/** Represent a union of {@link IBooleanLiteral} and {@link IBooleanCast}. */ +public class BoolOperand implements IUnion { + private enum ValueKind { + BOOLEAN_LITERAL, + BOOLEAN_CAST + } + + private final ValueKind valueKind; + private final IBooleanLiteral asBooleanLiteral; + private final IBooleanCast asBooleanCast; + + private BoolOperand( + ValueKind valueKind, IBooleanLiteral asBooleanLiteral, IBooleanCast asBooleanCast) { + this.valueKind = valueKind; + this.asBooleanLiteral = asBooleanLiteral; + this.asBooleanCast = asBooleanCast; + } + + /** Wrap {@code that} as an instance of {@link BoolOperand}. */ + public static BoolOperand fromBooleanLiteral(IBooleanLiteral that) { + return new BoolOperand(ValueKind.BOOLEAN_LITERAL, that, null); + } + + /** Wrap {@code that} as an instance of {@link BoolOperand}. */ + public static BoolOperand fromBooleanCast(IBooleanCast that) { + return new BoolOperand(ValueKind.BOOLEAN_CAST, null, that); + } + + /** Get the underlying instance regardless of the concrete case. */ + @Override + public IClass getUnderlying() { + switch (valueKind) { + case BOOLEAN_LITERAL: + return asBooleanLiteral; + case BOOLEAN_CAST: + return asBooleanCast; + default: + throw new IllegalStateException(String.format("Unexpected value kind: %s", valueKind)); + } + } + + /** Wrap {@code that} as an instance of {@link BoolOperand} based on its run-time type. */ + public static BoolOperand fromUnderlying(IClass that) { + if (that instanceof IBooleanLiteral) { + return fromBooleanLiteral((IBooleanLiteral) that); + } else if (that instanceof IBooleanCast) { + return fromBooleanCast((IBooleanCast) that); + } else { + throw new IllegalArgumentException( + String.format("Unexpected run-time type for the union BoolOperand: %s", that.getClass())); + } + } + + /** + * Wrap {@code that} as an instance of {@link BoolOperand} based on its run-time type. + * + *

This is the instance-level counterpart of {@link BoolOperand#fromUnderlying}, needed so that + * a generic method dispatching on {@link IUnion} can re-wrap a transformed or copied value + * without knowing the concrete union type at compile time. + */ + @Override + public BoolOperand withUnderlying(IClass that) { + return BoolOperand.fromUnderlying(that); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/DateTimeOperand.java b/src/main/java/aas_core/aas3_2/types/model/DateTimeOperand.java new file mode 100644 index 00000000..72406bb7 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/DateTimeOperand.java @@ -0,0 +1,100 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +/** + * Represent a union of {@link IDateTimeLiteral}, {@link IDateTimeCast}, and {@link + * IDateTimeAttributeOperand}. + */ +public class DateTimeOperand implements IUnion { + private enum ValueKind { + DATE_TIME_LITERAL, + DATE_TIME_CAST, + DATE_TIME_ATTRIBUTE_OPERAND + } + + private final ValueKind valueKind; + private final IDateTimeLiteral asDateTimeLiteral; + private final IDateTimeCast asDateTimeCast; + private final IDateTimeAttributeOperand asDateTimeAttributeOperand; + + private DateTimeOperand( + ValueKind valueKind, + IDateTimeLiteral asDateTimeLiteral, + IDateTimeCast asDateTimeCast, + IDateTimeAttributeOperand asDateTimeAttributeOperand) { + this.valueKind = valueKind; + this.asDateTimeLiteral = asDateTimeLiteral; + this.asDateTimeCast = asDateTimeCast; + this.asDateTimeAttributeOperand = asDateTimeAttributeOperand; + } + + /** Wrap {@code that} as an instance of {@link DateTimeOperand}. */ + public static DateTimeOperand fromDateTimeLiteral(IDateTimeLiteral that) { + return new DateTimeOperand(ValueKind.DATE_TIME_LITERAL, that, null, null); + } + + /** Wrap {@code that} as an instance of {@link DateTimeOperand}. */ + public static DateTimeOperand fromDateTimeCast(IDateTimeCast that) { + return new DateTimeOperand(ValueKind.DATE_TIME_CAST, null, that, null); + } + + /** Wrap {@code that} as an instance of {@link DateTimeOperand}. */ + public static DateTimeOperand fromDateTimeAttributeOperand(IDateTimeAttributeOperand that) { + return new DateTimeOperand(ValueKind.DATE_TIME_ATTRIBUTE_OPERAND, null, null, that); + } + + /** Get the underlying instance regardless of the concrete case. */ + @Override + public IClass getUnderlying() { + switch (valueKind) { + case DATE_TIME_LITERAL: + return asDateTimeLiteral; + case DATE_TIME_CAST: + return asDateTimeCast; + case DATE_TIME_ATTRIBUTE_OPERAND: + return asDateTimeAttributeOperand; + default: + throw new IllegalStateException(String.format("Unexpected value kind: %s", valueKind)); + } + } + + /** Wrap {@code that} as an instance of {@link DateTimeOperand} based on its run-time type. */ + public static DateTimeOperand fromUnderlying(IClass that) { + if (that instanceof IDateTimeLiteral) { + return fromDateTimeLiteral((IDateTimeLiteral) that); + } else if (that instanceof IDateTimeCast) { + return fromDateTimeCast((IDateTimeCast) that); + } else if (that instanceof IDateTimeAttributeOperand) { + return fromDateTimeAttributeOperand((IDateTimeAttributeOperand) that); + } else { + throw new IllegalArgumentException( + String.format( + "Unexpected run-time type for the union DateTimeOperand: %s", that.getClass())); + } + } + + /** + * Wrap {@code that} as an instance of {@link DateTimeOperand} based on its run-time type. + * + *

This is the instance-level counterpart of {@link DateTimeOperand#fromUnderlying}, needed so + * that a generic method dispatching on {@link IUnion} can re-wrap a transformed or copied value + * without knowing the concrete union type at compile time. + */ + @Override + public DateTimeOperand withUnderlying(IClass that) { + return DateTimeOperand.fromUnderlying(that); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/HexOperand.java b/src/main/java/aas_core/aas3_2/types/model/HexOperand.java new file mode 100644 index 00000000..94a98b80 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/HexOperand.java @@ -0,0 +1,80 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +/** Represent a union of {@link IHexLiteral} and {@link IHexCast}. */ +public class HexOperand implements IUnion { + private enum ValueKind { + HEX_LITERAL, + HEX_CAST + } + + private final ValueKind valueKind; + private final IHexLiteral asHexLiteral; + private final IHexCast asHexCast; + + private HexOperand(ValueKind valueKind, IHexLiteral asHexLiteral, IHexCast asHexCast) { + this.valueKind = valueKind; + this.asHexLiteral = asHexLiteral; + this.asHexCast = asHexCast; + } + + /** Wrap {@code that} as an instance of {@link HexOperand}. */ + public static HexOperand fromHexLiteral(IHexLiteral that) { + return new HexOperand(ValueKind.HEX_LITERAL, that, null); + } + + /** Wrap {@code that} as an instance of {@link HexOperand}. */ + public static HexOperand fromHexCast(IHexCast that) { + return new HexOperand(ValueKind.HEX_CAST, null, that); + } + + /** Get the underlying instance regardless of the concrete case. */ + @Override + public IClass getUnderlying() { + switch (valueKind) { + case HEX_LITERAL: + return asHexLiteral; + case HEX_CAST: + return asHexCast; + default: + throw new IllegalStateException(String.format("Unexpected value kind: %s", valueKind)); + } + } + + /** Wrap {@code that} as an instance of {@link HexOperand} based on its run-time type. */ + public static HexOperand fromUnderlying(IClass that) { + if (that instanceof IHexLiteral) { + return fromHexLiteral((IHexLiteral) that); + } else if (that instanceof IHexCast) { + return fromHexCast((IHexCast) that); + } else { + throw new IllegalArgumentException( + String.format("Unexpected run-time type for the union HexOperand: %s", that.getClass())); + } + } + + /** + * Wrap {@code that} as an instance of {@link HexOperand} based on its run-time type. + * + *

This is the instance-level counterpart of {@link HexOperand#fromUnderlying}, needed so that + * a generic method dispatching on {@link IUnion} can re-wrap a transformed or copied value + * without knowing the concrete union type at compile time. + */ + @Override + public HexOperand withUnderlying(IClass that) { + return HexOperand.fromUnderlying(that); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IAbstractLangString.java b/src/main/java/aas_core/aas3_2/types/model/IAbstractLangString.java new file mode 100644 index 00000000..65051ded --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IAbstractLangString.java @@ -0,0 +1,32 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** Strings with language tags */ +public interface IAbstractLangString extends IClass { + /** Language tag conforming to BCP 47 */ + String getLanguage(); + + void setLanguage(String language); + + /** Text in the {@link #getLanguage()} */ + String getText(); + + void setText(String text); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IAdministrativeInformation.java b/src/main/java/aas_core/aas3_2/types/model/IAdministrativeInformation.java new file mode 100644 index 00000000..542b9206 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IAdministrativeInformation.java @@ -0,0 +1,78 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * Administrative metainformation for an element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-005: If {@link #getVersion()} is not specified, {@link #getRevision()} + * shall also be unspecified. This means that a revision requires a version. If there is no + * version, there is no revision. Revision is optional. + *
+ */ +public interface IAdministrativeInformation extends IHasDataSpecification { + /** Version of the element. */ + Optional getVersion(); + + void setVersion(String version); + + /** Revision of the element. */ + Optional getRevision(); + + void setRevision(String revision); + + /** The subject ID of the subject responsible for making the element. */ + Optional getCreator(); + + void setCreator(IReference creator); + + /** date of creation. */ + Optional getCreatedAt(); + + void setCreatedAt(String createdAt); + + /** date of update. */ + Optional getUpdatedAt(); + + void setUpdatedAt(String updatedAt); + + /** + * Identifier of the template that guided the creation of the element. + * + *

So far, {@link #getTemplateId()} is only applicable for {@link + * aas_core.aas3_2.types.impl.Submodel}'s, since template specifications are standardized for + * Submodels only. + * + *

In case of a submodel, the {@link #getTemplateId()} is the identifier of the submodel + * template that guided the creation of the submodel + * + *

The {@link #getTemplateId()} is not relevant for validation in Submodels. For validation the + * {@link aas_core.aas3_2.types.impl.Submodel#getSemanticId()} shall be used. + * + *

Usage of {@link #getTemplateId()} is not restricted to submodel instances. So also the + * creation of submodel templates can be guided by another submodel template. + */ + Optional getTemplateId(); + + void setTemplateId(String templateId); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IAndExpression.java b/src/main/java/aas_core/aas3_2/types/model/IAndExpression.java new file mode 100644 index 00000000..aefa4d3d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IAndExpression.java @@ -0,0 +1,35 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; + +/** + * Connect two or more expressions through a logical AND. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_logical_expressions + */ +public interface IAndExpression extends IClass { + /** The expressions to be connected */ + List getAndOperands(); + + void setAndOperands(List andOperands); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IAnnotatedRelationshipElement.java b/src/main/java/aas_core/aas3_2/types/model/IAnnotatedRelationshipElement.java new file mode 100644 index 00000000..131bde28 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IAnnotatedRelationshipElement.java @@ -0,0 +1,38 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * An annotated relationship element is a relationship element that can be annotated with additional + * data elements. + */ +public interface IAnnotatedRelationshipElement extends IRelationshipElement { + /** + * A data element that represents an annotation that holds for the relationship between the two + * elements + */ + Optional> getAnnotations(); + + void setAnnotations(List annotations); + + /** Iterate over annotations, if set, and otherwise return an empty enumerable. */ + Iterable overAnnotationsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IAnnotatedRelationshipElementMetadata.java b/src/main/java/aas_core/aas3_2/types/model/IAnnotatedRelationshipElementMetadata.java new file mode 100644 index 00000000..0433aeca --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IAnnotatedRelationshipElementMetadata.java @@ -0,0 +1,32 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * The metadata of an {@link aas_core.aas3_2.types.impl.AnnotatedRelationshipElement}, without its + * value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface IAnnotatedRelationshipElementMetadata extends ISubmodelElementMetadata { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IAnnotatedRelationshipElementValue.java b/src/main/java/aas_core/aas3_2/types/model/IAnnotatedRelationshipElementValue.java new file mode 100644 index 00000000..21ac290f --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IAnnotatedRelationshipElementValue.java @@ -0,0 +1,51 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.Optional; + +/** + * The value of an {@link aas_core.aas3_2.types.impl.AnnotatedRelationshipElement}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

The annotations are given in the ValueOnly serialization, i.e., as a JSON object + * whose keys are the ID-shorts of the annotations and whose values are the ValueOnly serializations + * of the annotations. Their shape depends on the concrete data elements and can not be pinned down + * statically, so they are represented as an open JSON object. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface IAnnotatedRelationshipElementValue extends IClass { + /** Reference to the first element in the relationship. */ + Optional getFirst(); + + void setFirst(IReference first); + + /** Reference to the second element in the relationship. */ + Optional getSecond(); + + void setSecond(IReference second); + + /** Annotations which hold for the relationship between the two elements. */ + Optional getAnnotations(); + + void setAnnotations(ObjectNode annotations); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IAssetAdministrationShell.java b/src/main/java/aas_core/aas3_2/types/model/IAssetAdministrationShell.java new file mode 100644 index 00000000..fafb7483 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IAssetAdministrationShell.java @@ -0,0 +1,54 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** An Asset Administration Shell. */ +public interface IAssetAdministrationShell extends IIdentifiable, IHasDataSpecification { + /** + * The reference to the Asset Administration Shell, which the Asset Administration Shell was + * derived from. + */ + Optional getDerivedFrom(); + + void setDerivedFrom(IReference derivedFrom); + + /** Meta information about the asset, the Asset Administration Shell is representing. */ + IAssetInformation getAssetInformation(); + + void setAssetInformation(IAssetInformation assetInformation); + + /** + * References to submodels of the Asset Administration Shell. + * + *

A submodel is a description of an aspect of the asset, the Asset Administration Shell is + * representing. + * + *

The asset of an Asset Administration Shell is typically described by one or more submodels. + * + *

Temporarily, no submodel might be assigned to the Asset Administration Shell. + */ + Optional> getSubmodels(); + + void setSubmodels(List submodels); + + /** Iterate over submodels, if set, and otherwise return an empty enumerable. */ + Iterable overSubmodelsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IAssetAdministrationShellDescriptor.java b/src/main/java/aas_core/aas3_2/types/model/IAssetAdministrationShellDescriptor.java new file mode 100644 index 00000000..98daca94 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IAssetAdministrationShellDescriptor.java @@ -0,0 +1,106 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * Descriptor of an Asset Administration Shell. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#AssetAdministrationShellDescriptor + */ +public interface IAssetAdministrationShellDescriptor extends IDescriptor { + /** Globally unique identification of the Asset Administration Shell. */ + String getId(); + + void setId(String id); + + /** Administrative information of the Asset Administration Shell. */ + Optional getAdministration(); + + void setAdministration(IAdministrativeInformation administration); + + /** + * Denotes whether the asset of the described Asset Administration Shell is of kind {@link + * aas_core.aas3_2.types.enums.AssetKind#TYPE}, {@link + * aas_core.aas3_2.types.enums.AssetKind#INSTANCE}, {@link + * aas_core.aas3_2.types.enums.AssetKind#ROLE}, or {@link + * aas_core.aas3_2.types.enums.AssetKind#NOT_APPLICABLE}. + */ + Optional getAssetKind(); + + void setAssetKind(AssetKind assetKind); + + /** + * The type of the asset described by the Asset Administration Shell of this descriptor. + * + *

See {@link aas_core.aas3_2.types.impl.AssetInformation#getAssetType()} for further + * information. + */ + Optional getAssetType(); + + void setAssetType(String assetType); + + /** + * Endpoint of the network resource. + * + *

The cardinality restriction for {@link #getEndpoints()} allows a provider to skip the + * declaration of the location of an Asset Administration Shell and directly point to the + * endpoints of the contained submodels through {@link #getSubmodelDescriptors()}' {@link + * aas_core.aas3_2.types.impl.SubmodelDescriptor#getEndpoints()}. A client, therefore, might + * decide to skip the lookup on the Asset Administration Shell. Nevertheless, in case the + * information contained in the {@link + * aas_core.aas3_2.types.impl.AssetAdministrationShellDescriptor} deviates from the related {@link + * aas_core.aas3_2.types.impl.AssetAdministrationShell}, or attributes are missing, the {@link + * aas_core.aas3_2.types.impl.AssetAdministrationShell} is always the source of truth. + */ + Optional> getEndpoints(); + + void setEndpoints(List endpoints); + + /** Global reference to the asset the Asset Administration Shell is representing. */ + Optional getGlobalAssetId(); + + void setGlobalAssetId(String globalAssetId); + + /** Short name of the Asset Administration Shell. */ + Optional getIdShort(); + + void setIdShort(String idShort); + + /** Specific asset identifier. */ + Optional> getSpecificAssetIds(); + + void setSpecificAssetIds(List specificAssetIds); + + /** Descriptor of a submodel of the Asset Administration Shell. */ + Optional> getSubmodelDescriptors(); + + void setSubmodelDescriptors(List submodelDescriptors); + + /** Iterate over endpoints, if set, and otherwise return an empty enumerable. */ + Iterable overEndpointsOrEmpty(); + + /** Iterate over specificAssetIds, if set, and otherwise return an empty enumerable. */ + Iterable overSpecificAssetIdsOrEmpty(); + + /** Iterate over submodelDescriptors, if set, and otherwise return an empty enumerable. */ + Iterable overSubmodelDescriptorsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IAssetAdministrationShellMetadata.java b/src/main/java/aas_core/aas3_2/types/model/IAssetAdministrationShellMetadata.java new file mode 100644 index 00000000..91217ea8 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IAssetAdministrationShellMetadata.java @@ -0,0 +1,39 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * The metadata of an {@link aas_core.aas3_2.types.impl.AssetAdministrationShell}, without its asset + * information and submodel references. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface IAssetAdministrationShellMetadata extends IIdentifiable, IHasDataSpecification { + /** + * The reference to the Asset Administration Shell, which the Asset Administration Shell was + * derived from. + */ + Optional getDerivedFrom(); + + void setDerivedFrom(IReference derivedFrom); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IAssetAdministrationShellRecentChange.java b/src/main/java/aas_core/aas3_2/types/model/IAssetAdministrationShellRecentChange.java new file mode 100644 index 00000000..5ec9a709 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IAssetAdministrationShellRecentChange.java @@ -0,0 +1,47 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * This class is not part of the metamodel. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#AssetAdministrationShellRecentChange + */ +public interface IAssetAdministrationShellRecentChange extends IRecentChange { + /** Globally unique identification of the Asset Administration Shell */ + String getId(); + + void setId(String id); + + /** Global reference to the asset the AAS is representing */ + Optional getGlobalAssetId(); + + void setGlobalAssetId(String globalAssetId); + + /** Specific asset identifier */ + Optional> getSpecificAssetIds(); + + void setSpecificAssetIds(List specificAssetIds); + + /** Iterate over specificAssetIds, if set, and otherwise return an empty enumerable. */ + Iterable overSpecificAssetIdsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IAssetInformation.java b/src/main/java/aas_core/aas3_2/types/model/IAssetInformation.java new file mode 100644 index 00000000..aed71b67 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IAssetInformation.java @@ -0,0 +1,109 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * In {@link aas_core.aas3_2.types.impl.AssetInformation} identifying metadata of the asset that is + * represented by an Asset Administration Shell is defined. + * + *

Several asset kinds are distinguished like for example type assets and instance assets. + * + *

The asset has a globally unique identifier, plus – if needed – additional domain-specific + * (proprietary) identifiers. However, to support the corner case of very first phase of life cycle + * where a stabilized/constant global asset identifier does not already exist, the corresponding + * attribute {@link #getGlobalAssetId()} is optional. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-116: {@code globalAssetId} (case-insensitive) is a reserved key for {@link + * aas_core.aas3_2.types.impl.SpecificAssetId#getName()} with the semantics as defined in + * {@code https://admin-shell.io/aas/3/x/AssetInformation/globalAssetId} where {@code x} is + * the minor version. + *

    Constraint AASd-116 is important to enable a generic search across global and specific + * asset IDs (e.g. in IDTA-01002-3-0 discovery operations like GetAllAssetLinksById). In the + * future the constraint might become more strict in stating that the name {@code + * globalAssetId} shall not be used as {@link + * aas_core.aas3_2.types.impl.SpecificAssetId#getName()}. + *

    The comparison against {@code globalAssetId} is ASCII case-insensitive. + *

  • Constraint AASd-131: For {@link aas_core.aas3_2.types.impl.AssetInformation} either the + * {@link #getGlobalAssetId()} shall be defined or at least one item in {@link + * #getSpecificAssetIds()}. + *
+ */ +public interface IAssetInformation extends IClass { + /** + * Denotes whether the Asset is of kind {@link aas_core.aas3_2.types.enums.AssetKind#TYPE}, {@link + * aas_core.aas3_2.types.enums.AssetKind#INSTANCE}, {@link + * aas_core.aas3_2.types.enums.AssetKind#BATCH}, {@link + * aas_core.aas3_2.types.enums.AssetKind#ROLE}, or {@link + * aas_core.aas3_2.types.enums.AssetKind#NOT_APPLICABLE}. + */ + AssetKind getAssetKind(); + + void setAssetKind(AssetKind assetKind); + + /** + * Identifier of the asset, the Asset Administration Shell is representing. + * + *

This attribute is required as soon as the Asset Administration Shell is exchanged via + * partners in the life cycle of the asset. In a first phase of the life cycle, the asset might + * not yet have a global asset ID but already an internal identifier. The internal identifier + * would be modelled via {@link #getSpecificAssetIds()}. + */ + Optional getGlobalAssetId(); + + void setGlobalAssetId(String globalAssetId); + + /** + * Additional domain-specific, typically proprietary identifier for the asset like serial number, + * manufacturer part ID, customer part IDs, etc. + */ + Optional> getSpecificAssetIds(); + + void setSpecificAssetIds(List specificAssetIds); + + /** + * In case {@link #getAssetKind()} is not {@link + * aas_core.aas3_2.types.enums.AssetKind#NOT_APPLICABLE} the {@link #getAssetType()} is the asset + * ID of the type asset of the asset under consideration as identified by {@link + * #getGlobalAssetId()}. + * + *

In case {@link #getAssetKind()} is "Instance" then the {@link #getAssetType()} denotes which + * "Type" the asset is of. But it is also possible to have an {@link #getAssetType()} of an asset + * of kind "Type". + */ + Optional getAssetType(); + + void setAssetType(String assetType); + + /** + * Thumbnail of the asset represented by the Asset Administration Shell. + * + *

Used as default. + */ + Optional getDefaultThumbnail(); + + void setDefaultThumbnail(IResource defaultThumbnail); + + /** Iterate over specificAssetIds, if set, and otherwise return an empty enumerable. */ + Iterable overSpecificAssetIdsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IAssetLink.java b/src/main/java/aas_core/aas3_2/types/model/IAssetLink.java new file mode 100644 index 00000000..2ba48f86 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IAssetLink.java @@ -0,0 +1,43 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Asset identifier derived from either {@link aas_core.aas3_2.types.impl.SpecificAssetId} or {@link + * aas_core.aas3_2.types.impl.AssetInformation#getGlobalAssetId()}. + * + *

This class is not part of the metamodel. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#AssetLink + */ +public interface IAssetLink extends IClass { + /** + * Name of the Asset identifier, i.e., {@code globalAssetId}, a serial number, + * manufacturer part ID, or customer part IDs. + */ + String getName(); + + void setName(String name); + + /** Value of the Asset Identifier. */ + String getValue(); + + void setValue(String value); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IAttributeOperand.java b/src/main/java/aas_core/aas3_2/types/model/IAttributeOperand.java new file mode 100644 index 00000000..b89a6482 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IAttributeOperand.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Use an attribute as an operand. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public interface IAttributeOperand extends IClass { + /** The attribute */ + AttributeItem getAttribute(); + + void setAttribute(AttributeItem attribute); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IBaseOperationResult.java b/src/main/java/aas_core/aas3_2/types/model/IBaseOperationResult.java new file mode 100644 index 00000000..93749c8f --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IBaseOperationResult.java @@ -0,0 +1,58 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The object containing the intermediate state of an operation. + * + *

This class is deliberately not related to {@link aas_core.aas3_2.types.impl.Result} + * by inheritance (and {@link aas_core.aas3_2.types.impl.OperationResult} below is, in turn, not + * related to this class by inheritance either). aas-core-codegen refuses to generate a schema for a + * concrete class with concrete descendants unless it is marked {@code + * @serialization(with_model_type=True)}, which would introduce a {@code modelType} + * discriminator property that the official schema does not have for this hierarchy. Flattening the + * hierarchy avoids that mismatch, at the cost of repeating {@link #getMessages()} here. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#BaseOperationResult + */ +public interface IBaseOperationResult extends IClass { + /** Execution state */ + ExecutionState getExecutionState(); + + void setExecutionState(ExecutionState executionState); + + /** Additional messages containing information for the requester */ + Optional> getMessages(); + + void setMessages(List messages); + + /** + * Flag indicating whether the business operation behind the operation was successful (true) or + * not (false) + */ + Optional getSuccess(); + + void setSuccess(Boolean success); + + /** Iterate over messages, if set, and otherwise return an empty enumerable. */ + Iterable overMessagesOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IBasicEventElement.java b/src/main/java/aas_core/aas3_2/types/model/IBasicEventElement.java new file mode 100644 index 00000000..d51c69b0 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IBasicEventElement.java @@ -0,0 +1,110 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * A basic event element. + * + *

This element is experimental and therefore may be subject to change or may be removed + * completely in future versions of the meta-model. + */ +public interface IBasicEventElement extends IEventElement { + /** Reference to a referable, e.g., a data element or a submodel, that is being observed. */ + IReference getObserved(); + + void setObserved(IReference observed); + + /** + * Direction of event. + * + *

Can be {@code { Input, Output }}. + */ + Direction getDirection(); + + void setDirection(Direction direction); + + /** + * State of event. + * + *

Can be {@code { On, Off }}. + */ + StateOfEvent getState(); + + void setState(StateOfEvent state); + + /** + * Information for the outer message infrastructure to schedule the event for the respective + * communication channel. + */ + Optional getMessageTopic(); + + void setMessageTopic(String messageTopic); + + /** + * Information about which outer message infrastructure shall handle messages for the {@link + * aas_core.aas3_2.types.model.IEventElement}. Refers to a {@link + * aas_core.aas3_2.types.impl.Submodel}, {@link aas_core.aas3_2.types.impl.SubmodelElementList}, + * {@link aas_core.aas3_2.types.impl.SubmodelElementCollection} or {@link + * aas_core.aas3_2.types.impl.Entity}, which contains {@link + * aas_core.aas3_2.types.model.IDataElement}'s describing the proprietary specification for the + * message broker. + * + *

This proprietary specification could be standardized by using respective {@link + * aas_core.aas3_2.types.impl.Submodel}'s for different message infrastructure, e.g., OPC UA, MQTT + * or AMQP. + */ + Optional getMessageBroker(); + + void setMessageBroker(IReference messageBroker); + + /** + * Timestamp in UTC, when the last event was received (input direction) or sent (output + * direction). + */ + Optional getLastUpdate(); + + void setLastUpdate(String lastUpdate); + + /** + * For input direction reports on the maximum frequency, the software entity behind the respective + * {@link aas_core.aas3_2.types.model.IReferable} can handle input events. + * + *

For output events, the maximum frequency of outputting this event to an outer infrastructure + * is specified. + * + *

Might be not specified, i.e. if there is no minimum interval. + */ + Optional getMinInterval(); + + void setMinInterval(String minInterval); + + /** + * Not applicable for input direction. + * + *

For output direction: maximum interval in time, the respective {@link + * aas_core.aas3_2.types.model.IReferable} shall send an update of the status of the event, even + * if no other trigger condition for the event was not met. + * + *

Might not be specified, i.e. if there is no maximum interval. + */ + Optional getMaxInterval(); + + void setMaxInterval(String maxInterval); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IBasicEventElementMetadata.java b/src/main/java/aas_core/aas3_2/types/model/IBasicEventElementMetadata.java new file mode 100644 index 00000000..160a6f98 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IBasicEventElementMetadata.java @@ -0,0 +1,65 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.BasicEventElement}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface IBasicEventElementMetadata extends ISubmodelElementMetadata { + /** Direction of event. */ + Direction getDirection(); + + void setDirection(Direction direction); + + /** State of event. */ + StateOfEvent getState(); + + void setState(StateOfEvent state); + + /** Topic, to which the event's message is published. */ + Optional getMessageTopic(); + + void setMessageTopic(String messageTopic); + + /** Reference to a broker where the event's message is published. */ + Optional getMessageBroker(); + + void setMessageBroker(IReference messageBroker); + + /** Timestamp of the last update of the event. */ + Optional getLastUpdate(); + + void setLastUpdate(String lastUpdate); + + /** For continuous signalling, the minimum interval between two consecutive events. */ + Optional getMinInterval(); + + void setMinInterval(String minInterval); + + /** For continuous signalling, the maximum interval between two consecutive events. */ + Optional getMaxInterval(); + + void setMaxInterval(String maxInterval); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IBasicEventElementValue.java b/src/main/java/aas_core/aas3_2/types/model/IBasicEventElementValue.java new file mode 100644 index 00000000..6e100732 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IBasicEventElementValue.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * The value of a {@link aas_core.aas3_2.types.impl.BasicEventElement}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface IBasicEventElementValue extends IClass { + /** + * Reference to the {@link aas_core.aas3_2.types.model.IReferable}, which defines the scope of the + * event. + */ + IReference getObserved(); + + void setObserved(IReference observed); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IBlob.java b/src/main/java/aas_core/aas3_2/types/model/IBlob.java new file mode 100644 index 00000000..81b00cab --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IBlob.java @@ -0,0 +1,50 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * A {@link aas_core.aas3_2.types.impl.Blob} is a data element that represents a file that is + * contained in the {@link #getValue()} attribute with its source code. + */ +public interface IBlob extends IDataElement { + /** + * The value of the {@link aas_core.aas3_2.types.impl.Blob} instance of a blob data element. + * + *

In contrast to the file property the file content is stored directly as value in the {@link + * aas_core.aas3_2.types.impl.Blob} data element. + */ + Optional getValue(); + + void setValue(byte[] value); + + /** + * Content type of the content of the {@link aas_core.aas3_2.types.impl.Blob}. + * + *

The content type (MIME type) states which file extensions the file can have. + * + *

Valid values are content types like {@code application/json}, {@code application/xls}, + * {@code image/jpg}. + * + *

The allowed values are defined as in RFC2046. + */ + Optional getContentType(); + + void setContentType(String contentType); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IBlobMetadata.java b/src/main/java/aas_core/aas3_2/types/model/IBlobMetadata.java new file mode 100644 index 00000000..1f6f3475 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IBlobMetadata.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.Blob}, without its value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface IBlobMetadata extends ISubmodelElementMetadata { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IBlobValue.java b/src/main/java/aas_core/aas3_2/types/model/IBlobValue.java new file mode 100644 index 00000000..dc82b4be --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IBlobValue.java @@ -0,0 +1,40 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * The value of a {@link aas_core.aas3_2.types.impl.Blob}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface IBlobValue extends IClass { + /** The content type of the BLOB, e.g., {@code application/pdf}. */ + Optional getContentType(); + + void setContentType(String contentType); + + /** The BLOB content. */ + Optional getValue(); + + void setValue(byte[] value); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IBooleanCast.java b/src/main/java/aas_core/aas3_2/types/model/IBooleanCast.java new file mode 100644 index 00000000..ef67757d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IBooleanCast.java @@ -0,0 +1,34 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Cast the operand to {@code xs:boolean}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#casting + */ +public interface IBooleanCast extends IClass { + /** The operand to be cast */ + Value getBoolCast(); + + void setBoolCast(Value boolCast); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IBooleanLiteral.java b/src/main/java/aas_core/aas3_2/types/model/IBooleanLiteral.java new file mode 100644 index 00000000..56849a3f --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IBooleanLiteral.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Use a boolean literal as an operand or as a logical expression. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public interface IBooleanLiteral extends IClass { + /** The boolean value */ + Boolean getBoolean(); + + void setBoolean(Boolean booleaN); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ICapability.java b/src/main/java/aas_core/aas3_2/types/model/ICapability.java new file mode 100644 index 00000000..234f0c6a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ICapability.java @@ -0,0 +1,32 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * A capability is the implementation-independent description of the potential of an asset to + * achieve a certain effect in the physical or virtual world. + * + *

The {@link #getSemanticId()} of a capability is typically an ontology, which enables reasoning + * on capabilities. The mapping to one or more skills implementing the capability is done via a + * relationship element with the corresponding semantics. A skill is typically a property or an + * operation. In more complex cases, the mapping can also be a collection or a complete submodel. + */ +public interface ICapability extends ISubmodelElement { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ICapabilityMetadata.java b/src/main/java/aas_core/aas3_2/types/model/ICapabilityMetadata.java new file mode 100644 index 00000000..d96913e1 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ICapabilityMetadata.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.Capability}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface ICapabilityMetadata extends ISubmodelElementMetadata { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IClaimAttribute.java b/src/main/java/aas_core/aas3_2/types/model/IClaimAttribute.java new file mode 100644 index 00000000..b6303078 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IClaimAttribute.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Refer to a claim of the requester, e.g., from an access token. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public interface IClaimAttribute extends IClass { + /** Name of the claim */ + String getClaim(); + + void setClaim(String claim); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IClass.java b/src/main/java/aas_core/aas3_2/types/model/IClass.java new file mode 100644 index 00000000..8ccaf115 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IClass.java @@ -0,0 +1,46 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.visitation.ITransformer; +import aas_core.aas3_2.visitation.ITransformerWithContext; +import aas_core.aas3_2.visitation.IVisitor; +import aas_core.aas3_2.visitation.IVisitorWithContext; + +/** Represent a general class of the meta-model. */ +public interface IClass { + /** + * Iterate over all the class instances referenced from this instance without further recursion. + */ + Iterable descendOnce(); + + /** Iterate recursively over all the class instances referenced from this instance. */ + Iterable descend(); + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + void accept(IVisitor visitor); + + /** Accept the visitor to visit this instance for double dispatch with the {@code context}. */ + void accept(IVisitorWithContext visitor, ContextT context); + + /** Accept the {@code transformer} to transform this instance for double dispatch. */ + T transform(ITransformer transformer); + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + T transform(ITransformerWithContext transformer, ContextT context); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IConceptDescription.java b/src/main/java/aas_core/aas3_2/types/model/IConceptDescription.java new file mode 100644 index 00000000..e033f08d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IConceptDescription.java @@ -0,0 +1,85 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The semantics of a property or other elements that may have a semantic description is defined by + * a concept description. + * + *

The description of the concept should follow a standardized schema (realized as data + * specification template). + * + *

Constraints: + * + *

    + *
  • Constraint AASc-3a-004: For a {@link aas_core.aas3_2.types.impl.ConceptDescription} with + * {@link #getCategory()} {@code PROPERTY} or {@code VALUE} using data specification IEC61360, + * the {@link aas_core.aas3_2.types.impl.DataSpecificationIec61360#getDataType()} is mandatory + * and shall be one of: {@code DATE}, {@code STRING}, {@code STRING_TRANSLATABLE}, {@code + * INTEGER_MEASURE}, {@code INTEGER_COUNT}, {@code INTEGER_CURRENCY}, {@code REAL_MEASURE}, + * {@code REAL_COUNT}, {@code REAL_CURRENCY}, {@code BOOLEAN}, {@code RATIONAL}, {@code + * RATIONAL_MEASURE}, {@code TIME}, {@code TIMESTAMP}. + *

    Note: categories are deprecated since V3.0 of Part 1a of the document series "Details of + * the Asset Administration Shell". + *

  • Constraint AASc-3a-005: For a {@link aas_core.aas3_2.types.impl.ConceptDescription} with + * {@link #getCategory()} {@code REFERENCE} using data specification template IEC61360, the + * {@link aas_core.aas3_2.types.impl.DataSpecificationIec61360#getDataType()} shall be one of: + * {@code STRING}, {@code IRI}, {@code IRDI}. + *

    Note: categories are deprecated since V3.0 of Part 1a of the document series "Details of + * the Asset Administration Shell". + *

  • Constraint AASc-3a-006: For a {@link aas_core.aas3_2.types.impl.ConceptDescription} with + * {@link #getCategory()} {@code DOCUMENT} using data specification IEC61360, the {@link + * aas_core.aas3_2.types.impl.DataSpecificationIec61360#getDataType()} shall be one of {@code + * FILE}, {@code BLOB}, {@code HTML} + *

    Categories are deprecated since V3.0 of Part 1a of the document series "Details of the + * Asset Administration Shell". + *

  • Constraint AASc-3a-007: For a {@link aas_core.aas3_2.types.impl.ConceptDescription} with + * {@link #getCategory()} {@code QUALIFIER_TYPE} using data specification IEC61360, the {@link + * aas_core.aas3_2.types.impl.DataSpecificationIec61360#getDataType()} is mandatory and shall + * be defined. + *

    Categories are deprecated since V3.0 of Part 1a of the document series "Details of the + * Asset Administration Shell". + *

  • Constraint AASc-3a-008: For a {@link aas_core.aas3_2.types.impl.ConceptDescription} using + * data specification template IEC61360, {@link + * aas_core.aas3_2.types.impl.DataSpecificationIec61360#getDefinition()} is mandatory and + * shall be defined at least in English. + *

    Exception: The concept description describes a value, i.e. {@link + * aas_core.aas3_2.types.impl.DataSpecificationIec61360#getValue()} is defined. + *

  • Constraint AASc-3a-003: For a {@link aas_core.aas3_2.types.impl.ConceptDescription} using + * data specification template IEC61360, referenced via {@link + * aas_core.aas3_2.types.impl.DataSpecificationIec61360#getValueList()} {@link + * aas_core.aas3_2.types.impl.ValueReferencePair#getValueId()} the {@link + * aas_core.aas3_2.types.impl.DataSpecificationIec61360#getValue()} shall be set. + *
+ */ +public interface IConceptDescription extends IIdentifiable, IHasDataSpecification { + /** + * Reference to an external definition the concept is compatible to or was derived from. + * + *

Compare with is-case-of relationship in ISO 13584-32 & IEC EN 61360 + */ + Optional> getIsCaseOf(); + + void setIsCaseOf(List isCaseOf); + + /** Iterate over isCaseOf, if set, and otherwise return an empty enumerable. */ + Iterable overIsCaseOfOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IConceptDescriptionRecentChange.java b/src/main/java/aas_core/aas3_2/types/model/IConceptDescriptionRecentChange.java new file mode 100644 index 00000000..5ff22b08 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IConceptDescriptionRecentChange.java @@ -0,0 +1,32 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * This class is not part of the metamodel. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#ConceptDescriptionRecentChange + */ +public interface IConceptDescriptionRecentChange extends IRecentChange { + /** Globally unique identification of the Submodel */ + String getId(); + + void setId(String id); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IContainsComparison.java b/src/main/java/aas_core/aas3_2/types/model/IContainsComparison.java new file mode 100644 index 00000000..cb5cce60 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IContainsComparison.java @@ -0,0 +1,34 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Check whether the second string operand is a substring of the first one. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + */ +public interface IContainsComparison extends IClass { + /** The two string operands */ + Tuple2 getContains(); + + void setContains(Tuple2 contains); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IDataElement.java b/src/main/java/aas_core/aas3_2/types/model/IDataElement.java new file mode 100644 index 00000000..8de48550 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IDataElement.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * A data element is a submodel element that is not further composed of other submodel elements. + * + *

A data element is a submodel element that has a value. The type of value differs for different + * subtypes of data elements. + * + *

Categories are deprecated and should no longer be used. + */ +public interface IDataElement extends ISubmodelElement { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IDataSpecificationContent.java b/src/main/java/aas_core/aas3_2/types/model/IDataSpecificationContent.java new file mode 100644 index 00000000..35ca5f5d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IDataSpecificationContent.java @@ -0,0 +1,38 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Data specification content is part of a data specification template and defines which additional + * attributes shall be added to the element instance that references the data specification template + * and meta information about the template itself. + * + *

Constraints: + * + *

    + *
  • Constraint AASc-3a-050: If the {@link aas_core.aas3_2.types.impl.DataSpecificationIec61360} + * is used for an element, the value of {@link + * aas_core.aas3_2.types.model.IHasDataSpecification#getEmbeddedDataSpecifications()} shall + * contain the global reference to the IRI of the corresponding data specification template https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0 + *
+ */ +public interface IDataSpecificationContent extends IClass { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IDataSpecificationIec61360.java b/src/main/java/aas_core/aas3_2/types/model/IDataSpecificationIec61360.java new file mode 100644 index 00000000..654390d7 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IDataSpecificationIec61360.java @@ -0,0 +1,148 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * Content of data specification template for concept descriptions for properties, values and value + * lists conformant to IEC 61360. + * + *

IEC61360 requires also a globally unique identifier for a concept description. This ID is not + * part of the data specification template. Instead the {@link + * aas_core.aas3_2.types.impl.ConceptDescription#getId()} as inherited via {@link + * aas_core.aas3_2.types.model.IIdentifiable} is used. Same holds for administrative information + * like the version and revision. + * + *

{@link aas_core.aas3_2.types.impl.ConceptDescription#getIdShort()} and {@link #getShortName()} + * are very similar. However, in this case the decision was to add {@link #getShortName()} + * explicitly to the data specification. Same holds for {@link + * aas_core.aas3_2.types.impl.ConceptDescription#getDisplayName()} and {@link #getPreferredName()}. + * Same holds for {@link aas_core.aas3_2.types.impl.ConceptDescription#getDescription()} and {@link + * #getDefinition()}. + * + *

Constraints: + * + *

    + *
  • Constraint AASc-3a-010: If {@link #getValue()} is not empty then {@link #getValueList()} + * shall be empty and vice versa. + *

    It is also possible that both {@link #getValue()} and {@link #getValueList()} are empty. + * This is the case for concept descriptions that define the semantics of a property but do + * not have an enumeration ({@link #getValueList()}) as data type. + *

    Although it is possible to define a {@link + * aas_core.aas3_2.types.impl.ConceptDescription} for a :attr:´value_list`, it is not possible + * to reuse this {@link #getValueList()}. It is only possible to directly add a {@link + * #getValueList()} as data type to a specific semantic definition of a property. + *

  • Constraint AASc-3a-009: If {@link #getDataType()} one of: {@link + * aas_core.aas3_2.types.enums.DataTypeIec61360#INTEGER_MEASURE}, {@link + * aas_core.aas3_2.types.enums.DataTypeIec61360#REAL_MEASURE}, {@link + * aas_core.aas3_2.types.enums.DataTypeIec61360#RATIONAL_MEASURE}, {@link + * aas_core.aas3_2.types.enums.DataTypeIec61360#INTEGER_CURRENCY}, {@link + * aas_core.aas3_2.types.enums.DataTypeIec61360#REAL_CURRENCY}, then {@link #getUnit()} or + * {@link #getUnitId()} shall be defined. + *
+ */ +public interface IDataSpecificationIec61360 extends IDataSpecificationContent { + /** + * Preferred name + * + *

It is advised to keep the length of the name limited to 35 characters. + * + *

Constraints: + * + *

    + *
  • Constraint AASc-3a-002: {@link #getPreferredName()} shall be provided at least in + * English. + *
+ */ + List getPreferredName(); + + void setPreferredName(List preferredName); + + /** Short name */ + Optional> getShortName(); + + void setShortName(List shortName); + + /** Unit */ + Optional getUnit(); + + void setUnit(String unit); + + /** + * Unique unit id + * + *

{@link #getUnit()} and {@link #getUnitId()} need to be consistent if both attributes are set + * + *

It is recommended to use an external reference ID. + */ + Optional getUnitId(); + + void setUnitId(IReference unitId); + + /** Source of definition */ + Optional getSourceOfDefinition(); + + void setSourceOfDefinition(String sourceOfDefinition); + + /** Symbol */ + Optional getSymbol(); + + void setSymbol(String symbol); + + /** Data Type */ + Optional getDataType(); + + void setDataType(DataTypeIec61360 dataType); + + /** Definition in different languages */ + Optional> getDefinition(); + + void setDefinition(List definition); + + /** + * Value Format + * + *

The value format is based on ISO 13584-42 and IEC 61360-2. + */ + Optional getValueFormat(); + + void setValueFormat(String valueFormat); + + /** List of allowed values */ + Optional getValueList(); + + void setValueList(IValueList valueList); + + /** Value */ + Optional getValue(); + + void setValue(String value); + + /** Set of levels. */ + Optional getLevelType(); + + void setLevelType(ILevelType levelType); + + /** Iterate over shortName, if set, and otherwise return an empty enumerable. */ + Iterable overShortNameOrEmpty(); + + /** Iterate over definition, if set, and otherwise return an empty enumerable. */ + Iterable overDefinitionOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IDataSpecificationUom.java b/src/main/java/aas_core/aas3_2/types/model/IDataSpecificationUom.java new file mode 100644 index 00000000..d4872525 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IDataSpecificationUom.java @@ -0,0 +1,100 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** Content of data specification template for concept descriptions for Units of Measurement. */ +public interface IDataSpecificationUom extends IDataSpecificationContent { + /** Preferred name of the unit in different languages as defined by the classification system. */ + List getPreferredName(); + + void setPreferredName(List preferredName); + + /** Symbol of the unit. */ + String getSymbol(); + + void setSymbol(String symbol); + + /** + * ID of the unit defined by the classification system. + * + *

This is relevant if the classification system references the unit differently from the + * concept description ID. + */ + Optional getSpecificUnitId(); + + void setSpecificUnitId(String specificUnitId); + + /** Definition of the unit in different languages. */ + Optional> getDefinition(); + + void setDefinition(List definition); + + /** + * Preferred name of the unit's quantity in different languages as defined by the classification + * system. + * + *

{@link #getPreferredNameQuantity()} and {@link #getQuantityId()} must be consistent if both + * attributes are set. + * + *

If the classification system lists multiple quantities for the unit, exactly one of those + * quantities must be selected in accordance with the properties purpose. + */ + Optional> getPreferredNameQuantity(); + + void setPreferredNameQuantity(List preferredNameQuantity); + + /** + * ID of the unit's quantity. + * + *

{@link #getPreferredNameQuantity()} and {@link #getQuantityId()} must be consistent if both + * attributes are set. + */ + Optional getQuantityId(); + + void setQuantityId(String quantityId); + + /** + * Name of the classification system used for the definition of units and quantities. + * + *

The most prominent classification systems should be denoted as follows: "ECLASS", "IEC CDD", + * "UNECE Rec 20", "UNECE Rec 21", "BIPM", "OPC UA", "SAMM". + * + *

This list is not exclusive. + */ + Optional getClassificationSystem(); + + void setClassificationSystem(String classificationSystem); + + /** + * Version of the classification system used for the definition of units and quantities. + * + *

The version shshould be denoted exactly as provided by the classification system. + */ + Optional getClassificationSystemVersion(); + + void setClassificationSystemVersion(String classificationSystemVersion); + + /** Iterate over definition, if set, and otherwise return an empty enumerable. */ + Iterable overDefinitionOrEmpty(); + + /** Iterate over preferredNameQuantity, if set, and otherwise return an empty enumerable. */ + Iterable overPreferredNameQuantityOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IDateTimeAttributeItem.java b/src/main/java/aas_core/aas3_2/types/model/IDateTimeAttributeItem.java new file mode 100644 index 00000000..2a8f2932 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IDateTimeAttributeItem.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Refer to a global attribute which gives a date and time. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public interface IDateTimeAttributeItem extends IClass { + /** Kind of the global attribute */ + DateTimeGlobalAttributeKind getKind(); + + void setKind(DateTimeGlobalAttributeKind kind); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IDateTimeAttributeOperand.java b/src/main/java/aas_core/aas3_2/types/model/IDateTimeAttributeOperand.java new file mode 100644 index 00000000..4232a40e --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IDateTimeAttributeOperand.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Use a date-time global attribute as an operand. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public interface IDateTimeAttributeOperand extends IClass { + /** The attribute */ + IDateTimeAttributeItem getAttribute(); + + void setAttribute(IDateTimeAttributeItem attribute); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IDateTimeCast.java b/src/main/java/aas_core/aas3_2/types/model/IDateTimeCast.java new file mode 100644 index 00000000..ab538ee4 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IDateTimeCast.java @@ -0,0 +1,34 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Cast the string operand to {@code xs:dateTime}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#casting + */ +public interface IDateTimeCast extends IClass { + /** The operand to be cast */ + StringValue getDateTimeCast(); + + void setDateTimeCast(StringValue dateTimeCast); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IDateTimeLiteral.java b/src/main/java/aas_core/aas3_2/types/model/IDateTimeLiteral.java new file mode 100644 index 00000000..534fc8f5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IDateTimeLiteral.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Use a date-time literal as an operand. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public interface IDateTimeLiteral extends IClass { + /** The date-time value */ + String getDateTimeVal(); + + void setDateTimeVal(String dateTimeVal); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IDayOfMonth.java b/src/main/java/aas_core/aas3_2/types/model/IDayOfMonth.java new file mode 100644 index 00000000..1955a39c --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IDayOfMonth.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Extract the day of the month from the date-time operand as a number. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public interface IDayOfMonth extends IClass { + /** The date-time operand */ + DateTimeOperand getDayOfMonth(); + + void setDayOfMonth(DateTimeOperand dayOfMonth); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IDayOfWeek.java b/src/main/java/aas_core/aas3_2/types/model/IDayOfWeek.java new file mode 100644 index 00000000..27f947c2 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IDayOfWeek.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Extract the day of the week from the date-time operand as a number. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public interface IDayOfWeek extends IClass { + /** The date-time operand */ + DateTimeOperand getDayOfWeek(); + + void setDayOfWeek(DateTimeOperand dayOfWeek); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IDefinitionTypeUom.java b/src/main/java/aas_core/aas3_2/types/model/IDefinitionTypeUom.java new file mode 100644 index 00000000..2bb605b8 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IDefinitionTypeUom.java @@ -0,0 +1,24 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** String with length 2048 maximum and minimum 1 characters and with language tags. */ +public interface IDefinitionTypeUom extends IAbstractLangString { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IDescriptor.java b/src/main/java/aas_core/aas3_2/types/model/IDescriptor.java new file mode 100644 index 00000000..94fa5007 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IDescriptor.java @@ -0,0 +1,63 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The self-describing information of a network resource. + * + *

This class is not part of the metamodel. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#Descriptor + */ +public interface IDescriptor extends IClass { + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + */ + Optional> getDescription(); + + void setDescription(List description); + + /** Display name. Can be provided in several languages. */ + Optional> getDisplayName(); + + void setDisplayName(List displayName); + + /** + * An extension of the element. + * + *

Extensions are proprietary, i.e. they do not support global interoperability. + */ + Optional> getExtensions(); + + void setExtensions(List extensions); + + /** Iterate over description, if set, and otherwise return an empty enumerable. */ + Iterable overDescriptionOrEmpty(); + + /** Iterate over displayName, if set, and otherwise return an empty enumerable. */ + Iterable overDisplayNameOrEmpty(); + + /** Iterate over extensions, if set, and otherwise return an empty enumerable. */ + Iterable overExtensionsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IEmbeddedDataSpecification.java b/src/main/java/aas_core/aas3_2/types/model/IEmbeddedDataSpecification.java new file mode 100644 index 00000000..96ea8667 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IEmbeddedDataSpecification.java @@ -0,0 +1,32 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** Embed the content of a data specification. */ +public interface IEmbeddedDataSpecification extends IClass { + /** Reference to the data specification */ + IReference getDataSpecification(); + + void setDataSpecification(IReference dataSpecification); + + /** Actual content of the data specification */ + IDataSpecificationContent getDataSpecificationContent(); + + void setDataSpecificationContent(IDataSpecificationContent dataSpecificationContent); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IEndpoint.java b/src/main/java/aas_core/aas3_2/types/model/IEndpoint.java new file mode 100644 index 00000000..42a200b5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IEndpoint.java @@ -0,0 +1,39 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * The endpoint description of a network resource. + * + *

This class is not part of the metamodel. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#Endpoint + */ +public interface IEndpoint extends IClass { + /** Protocol information of the network resource endpoint. */ + IProtocolInformation getProtocolInformation(); + + void setProtocolInformation(IProtocolInformation protocolInformation); + + /** Name of the offered interface at the endpoint. */ + String getInterface(); + + void setInterface(String interfacE); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IEndsWithComparison.java b/src/main/java/aas_core/aas3_2/types/model/IEndsWithComparison.java new file mode 100644 index 00000000..21d67856 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IEndsWithComparison.java @@ -0,0 +1,34 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Check whether the first string operand ends with the second one. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + */ +public interface IEndsWithComparison extends IClass { + /** The two string operands */ + Tuple2 getEndsWith(); + + void setEndsWith(Tuple2 endsWith); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IEntity.java b/src/main/java/aas_core/aas3_2/types/model/IEntity.java new file mode 100644 index 00000000..18322e13 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IEntity.java @@ -0,0 +1,67 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * An entity is a submodel element that is used to model entities. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-014: Either the attribute {@link #getGlobalAssetId()} or {@link + * #getSpecificAssetIds()} of an {@link aas_core.aas3_2.types.impl.Entity} must be set if + * Entity/entityType is set to {@link + * aas_core.aas3_2.types.enums.EntityType#SELF_MANAGED_ENTITY}. + *
+ */ +public interface IEntity extends ISubmodelElement { + /** + * Statement applicable to the entity, each statement described by a {@link + * aas_core.aas3_2.types.model.ISubmodelElement} - typically with a qualified value. + */ + Optional> getStatements(); + + void setStatements(List statements); + + /** Describes whether the entity is a co-managed entity or a self-managed entity. */ + Optional getEntityType(); + + void setEntityType(EntityType entityType); + + /** Global identifier of the asset the entity is representing. */ + Optional getGlobalAssetId(); + + void setGlobalAssetId(String globalAssetId); + + /** + * Reference to a specific asset ID representing a supplementary identifier of the asset + * represented by the Asset Administration Shell. + */ + Optional> getSpecificAssetIds(); + + void setSpecificAssetIds(List specificAssetIds); + + /** Iterate over statements, if set, and otherwise return an empty enumerable. */ + Iterable overStatementsOrEmpty(); + + /** Iterate over specificAssetIds, if set, and otherwise return an empty enumerable. */ + Iterable overSpecificAssetIdsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IEntityMetadata.java b/src/main/java/aas_core/aas3_2/types/model/IEntityMetadata.java new file mode 100644 index 00000000..a8d63337 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IEntityMetadata.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * The metadata of an {@link aas_core.aas3_2.types.impl.Entity}, without its value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface IEntityMetadata extends ISubmodelElementMetadata { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IEntityValue.java b/src/main/java/aas_core/aas3_2/types/model/IEntityValue.java new file mode 100644 index 00000000..740ea14e --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IEntityValue.java @@ -0,0 +1,68 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.List; +import java.util.Optional; + +/** + * The value of an {@link aas_core.aas3_2.types.impl.Entity}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

The statements are given in the ValueOnly serialization, i.e., as a JSON object whose + * keys are the ID-shorts of the statements and whose values are the ValueOnly serializations of the + * statements. Their shape depends on the concrete submodel elements and can not be pinned down + * statically, so they are represented as an open JSON object. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface IEntityValue extends IClass { + /** Describes whether the entity is a co-managed entity or a self-managed entity. */ + Optional getEntityType(); + + void setEntityType(EntityType entityType); + + /** Global identifier of the asset the entity is representing. */ + Optional getGlobalAssetId(); + + void setGlobalAssetId(String globalAssetId); + + /** + * Additional domain-specific, typically proprietary identifiers for the asset, each given as a + * single-entry JSON object mapping the {@link + * aas_core.aas3_2.types.impl.SpecificAssetId#getName()} to the {@link + * aas_core.aas3_2.types.impl.SpecificAssetId#getValue()}. + */ + Optional> getSpecificAssetIds(); + + void setSpecificAssetIds(List specificAssetIds); + + /** + * Describes statements applicable to the entity by a set of submodel elements, typically with a + * qualified value. + */ + Optional getStatements(); + + void setStatements(ObjectNode statements); + + /** Iterate over specificAssetIds, if set, and otherwise return an empty enumerable. */ + Iterable overSpecificAssetIdsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IEnvironment.java b/src/main/java/aas_core/aas3_2/types/model/IEnvironment.java new file mode 100644 index 00000000..010cc2b6 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IEnvironment.java @@ -0,0 +1,53 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * Container for the sets of different identifiables. + * + *

Environment is not an identifiable or referable element. It is introduced to enable file + * transfer as well as serialization. + */ +public interface IEnvironment extends IClass { + /** Asset Administration Shell */ + Optional> getAssetAdministrationShells(); + + void setAssetAdministrationShells(List assetAdministrationShells); + + /** Submodel */ + Optional> getSubmodels(); + + void setSubmodels(List submodels); + + /** Concept description */ + Optional> getConceptDescriptions(); + + void setConceptDescriptions(List conceptDescriptions); + + /** Iterate over assetAdministrationShells, if set, and otherwise return an empty enumerable. */ + Iterable overAssetAdministrationShellsOrEmpty(); + + /** Iterate over submodels, if set, and otherwise return an empty enumerable. */ + Iterable overSubmodelsOrEmpty(); + + /** Iterate over conceptDescriptions, if set, and otherwise return an empty enumerable. */ + Iterable overConceptDescriptionsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IEqualComparison.java b/src/main/java/aas_core/aas3_2/types/model/IEqualComparison.java new file mode 100644 index 00000000..2108329e --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IEqualComparison.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Check whether the two operands are equal. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

The operands must be of compatible types, see https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + */ +public interface IEqualComparison extends IClass { + /** The two operands */ + Tuple2 getEq(); + + void setEq(Tuple2 eq); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IEventElement.java b/src/main/java/aas_core/aas3_2/types/model/IEventElement.java new file mode 100644 index 00000000..0716fd69 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IEventElement.java @@ -0,0 +1,29 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * An event element. + * + *

This element is experimental and therefore may be subject to change or may be removed + * completely in future versions of the meta-model. + */ +public interface IEventElement extends ISubmodelElement { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IEventPayload.java b/src/main/java/aas_core/aas3_2/types/model/IEventPayload.java new file mode 100644 index 00000000..97541b36 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IEventPayload.java @@ -0,0 +1,85 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * Defines the necessary information of an event instance sent out or received. + * + *

This element is experimental and therefore may be subject to change or may be removed + * completely in future versions of the meta-model. + */ +public interface IEventPayload extends IClass { + /** Reference to the source event element. */ + IReference getSource(); + + void setSource(IReference source); + + /** + * {@link aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} of the source event element, + * if available + * + *

It is recommended to use an external reference. + */ + Optional getSourceSemanticId(); + + void setSourceSemanticId(IReference sourceSemanticId); + + /** Reference to the referable, which defines the scope of the event. */ + IReference getObservableReference(); + + void setObservableReference(IReference observableReference); + + /** + * {@link aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} of the referable which + * defines the scope of the event, if available. + * + *

It is recommended to use an external reference. + */ + Optional getObservableSemanticId(); + + void setObservableSemanticId(IReference observableSemanticId); + + /** + * Information for the outer message infrastructure to schedule the event for the respective + * communication channel. + */ + Optional getTopic(); + + void setTopic(String topic); + + /** + * Subject, who/which initiated the creation. + * + *

This is an external reference. + */ + Optional getSubjectId(); + + void setSubjectId(IReference subjectId); + + /** Timestamp in UTC, when this event was triggered. */ + String getTimeStamp(); + + void setTimeStamp(String timeStamp); + + /** Event-specific payload. */ + Optional getPayload(); + + void setPayload(byte[] payload); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IExtension.java b/src/main/java/aas_core/aas3_2/types/model/IExtension.java new file mode 100644 index 00000000..5a5ec51a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IExtension.java @@ -0,0 +1,62 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** Single extension of an element. */ +public interface IExtension extends IHasSemantics { + /** + * Name of the extension. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-077: The name of an extension (Extension/name) within {@link + * aas_core.aas3_2.types.model.IHasExtensions} needs to be unique. + *
+ */ + String getName(); + + void setName(String name); + + /** + * Data type of the {@link #getValue()} attribute of the extension. + * + *

Default: {@link aas_core.aas3_2.types.enums.DataTypeDefXsd#STRING} + */ + Optional getValueType(); + + void setValueType(DataTypeDefXsd valueType); + + /** Value of the extension */ + Optional getValue(); + + void setValue(String value); + + /** Reference to an element the extension refers to. */ + Optional> getRefersTo(); + + void setRefersTo(List refersTo); + + DataTypeDefXsd valueTypeOrDefault(); + + /** Iterate over refersTo, if set, and otherwise return an empty enumerable. */ + Iterable overRefersToOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IFieldOperand.java b/src/main/java/aas_core/aas3_2/types/model/IFieldOperand.java new file mode 100644 index 00000000..a69df939 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IFieldOperand.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Use the value of a field as an operand. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public interface IFieldOperand extends IClass { + /** Identifier of the field */ + String getField(); + + void setField(String field); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IFile.java b/src/main/java/aas_core/aas3_2/types/model/IFile.java new file mode 100644 index 00000000..96e6a01c --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IFile.java @@ -0,0 +1,41 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * A file is a data element that represents an address to a file (a locator). + * + *

The value is a URI that can represent an absolute or relative path. + */ +public interface IFile extends IDataElement { + /** + * Path and name of the file (with file extension). + * + *

The path can be absolute or relative. + */ + Optional getValue(); + + void setValue(String value); + + /** Content type of the content of the file. */ + Optional getContentType(); + + void setContentType(String contentType); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IFileMetadata.java b/src/main/java/aas_core/aas3_2/types/model/IFileMetadata.java new file mode 100644 index 00000000..15af28ee --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IFileMetadata.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.File}, without its value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface IFileMetadata extends ISubmodelElementMetadata { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IFileValue.java b/src/main/java/aas_core/aas3_2/types/model/IFileValue.java new file mode 100644 index 00000000..76a6a6ea --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IFileValue.java @@ -0,0 +1,40 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * The value of a {@link aas_core.aas3_2.types.impl.File}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface IFileValue extends IClass { + /** The content type of the file, e.g., {@code application/pdf}. */ + Optional getContentType(); + + void setContentType(String contentType); + + /** The path or URL to the file content. */ + Optional getValue(); + + void setValue(String value); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IGetAllAssetAdministrationShellsRecentChangesResult.java b/src/main/java/aas_core/aas3_2/types/model/IGetAllAssetAdministrationShellsRecentChangesResult.java new file mode 100644 index 00000000..c9e66ff2 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IGetAllAssetAdministrationShellsRecentChangesResult.java @@ -0,0 +1,46 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The result of listing the recent changes of all Asset Administration Shells. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public interface IGetAllAssetAdministrationShellsRecentChangesResult extends IClass { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + IPagingMetadata getPagingMetadata(); + + void setPagingMetadata(IPagingMetadata pagingMetadata); + + /** The returned items. */ + Optional> getResult(); + + void setResult(List result); + + /** Iterate over result, if set, and otherwise return an empty enumerable. */ + Iterable overResultOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IGetAllConceptDescriptionsRecentChangesResult.java b/src/main/java/aas_core/aas3_2/types/model/IGetAllConceptDescriptionsRecentChangesResult.java new file mode 100644 index 00000000..9f1e4ae5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IGetAllConceptDescriptionsRecentChangesResult.java @@ -0,0 +1,46 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The result of listing the recent changes of all concept descriptions. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public interface IGetAllConceptDescriptionsRecentChangesResult extends IClass { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + IPagingMetadata getPagingMetadata(); + + void setPagingMetadata(IPagingMetadata pagingMetadata); + + /** The returned items. */ + Optional> getResult(); + + void setResult(List result); + + /** Iterate over result, if set, and otherwise return an empty enumerable. */ + Iterable overResultOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IGetAllSubmodelsRecentChangesResult.java b/src/main/java/aas_core/aas3_2/types/model/IGetAllSubmodelsRecentChangesResult.java new file mode 100644 index 00000000..2dd628b2 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IGetAllSubmodelsRecentChangesResult.java @@ -0,0 +1,46 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The result of listing the recent changes of all submodels. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public interface IGetAllSubmodelsRecentChangesResult extends IClass { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + IPagingMetadata getPagingMetadata(); + + void setPagingMetadata(IPagingMetadata pagingMetadata); + + /** The returned items. */ + Optional> getResult(); + + void setResult(List result); + + /** Iterate over result, if set, and otherwise return an empty enumerable. */ + Iterable overResultOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IGetAssetAdministrationShellDescriptorsResult.java b/src/main/java/aas_core/aas3_2/types/model/IGetAssetAdministrationShellDescriptorsResult.java new file mode 100644 index 00000000..71726e8c --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IGetAssetAdministrationShellDescriptorsResult.java @@ -0,0 +1,46 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The result of listing all Asset Administration Shell descriptors. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public interface IGetAssetAdministrationShellDescriptorsResult extends IClass { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + IPagingMetadata getPagingMetadata(); + + void setPagingMetadata(IPagingMetadata pagingMetadata); + + /** The returned items. */ + Optional> getResult(); + + void setResult(List result); + + /** Iterate over result, if set, and otherwise return an empty enumerable. */ + Iterable overResultOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IGetAssetAdministrationShellsMetadataResult.java b/src/main/java/aas_core/aas3_2/types/model/IGetAssetAdministrationShellsMetadataResult.java new file mode 100644 index 00000000..01db54c9 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IGetAssetAdministrationShellsMetadataResult.java @@ -0,0 +1,46 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The result of listing the metadata of all Asset Administration Shells. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public interface IGetAssetAdministrationShellsMetadataResult extends IClass { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + IPagingMetadata getPagingMetadata(); + + void setPagingMetadata(IPagingMetadata pagingMetadata); + + /** The returned items. */ + Optional> getResult(); + + void setResult(List result); + + /** Iterate over result, if set, and otherwise return an empty enumerable. */ + Iterable overResultOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IGetAssetAdministrationShellsResult.java b/src/main/java/aas_core/aas3_2/types/model/IGetAssetAdministrationShellsResult.java new file mode 100644 index 00000000..a8493c41 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IGetAssetAdministrationShellsResult.java @@ -0,0 +1,46 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The result of listing all Asset Administration Shells. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public interface IGetAssetAdministrationShellsResult extends IClass { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + IPagingMetadata getPagingMetadata(); + + void setPagingMetadata(IPagingMetadata pagingMetadata); + + /** The returned items. */ + Optional> getResult(); + + void setResult(List result); + + /** Iterate over result, if set, and otherwise return an empty enumerable. */ + Iterable overResultOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IGetConceptDescriptionsResult.java b/src/main/java/aas_core/aas3_2/types/model/IGetConceptDescriptionsResult.java new file mode 100644 index 00000000..9a808f53 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IGetConceptDescriptionsResult.java @@ -0,0 +1,46 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The result of listing all concept descriptions. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public interface IGetConceptDescriptionsResult extends IClass { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + IPagingMetadata getPagingMetadata(); + + void setPagingMetadata(IPagingMetadata pagingMetadata); + + /** The returned items. */ + Optional> getResult(); + + void setResult(List result); + + /** Iterate over result, if set, and otherwise return an empty enumerable. */ + Iterable overResultOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IGetPackageDescriptionsResult.java b/src/main/java/aas_core/aas3_2/types/model/IGetPackageDescriptionsResult.java new file mode 100644 index 00000000..ed4889dd --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IGetPackageDescriptionsResult.java @@ -0,0 +1,46 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The result of listing all AASX package descriptions. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public interface IGetPackageDescriptionsResult extends IClass { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + IPagingMetadata getPagingMetadata(); + + void setPagingMetadata(IPagingMetadata pagingMetadata); + + /** The returned items. */ + Optional> getResult(); + + void setResult(List result); + + /** Iterate over result, if set, and otherwise return an empty enumerable. */ + Iterable overResultOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IGetPathItemsResult.java b/src/main/java/aas_core/aas3_2/types/model/IGetPathItemsResult.java new file mode 100644 index 00000000..51e01473 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IGetPathItemsResult.java @@ -0,0 +1,46 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The result of listing idShortPaths. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public interface IGetPathItemsResult extends IClass { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + IPagingMetadata getPagingMetadata(); + + void setPagingMetadata(IPagingMetadata pagingMetadata); + + /** The returned items. */ + Optional> getResult(); + + void setResult(List result); + + /** Iterate over result, if set, and otherwise return an empty enumerable. */ + Iterable overResultOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IGetReferencesResult.java b/src/main/java/aas_core/aas3_2/types/model/IGetReferencesResult.java new file mode 100644 index 00000000..0145df48 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IGetReferencesResult.java @@ -0,0 +1,46 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The result of listing references. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public interface IGetReferencesResult extends IClass { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + IPagingMetadata getPagingMetadata(); + + void setPagingMetadata(IPagingMetadata pagingMetadata); + + /** The returned items. */ + Optional> getResult(); + + void setResult(List result); + + /** Iterate over result, if set, and otherwise return an empty enumerable. */ + Iterable overResultOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IGetSubmodelDescriptorsResult.java b/src/main/java/aas_core/aas3_2/types/model/IGetSubmodelDescriptorsResult.java new file mode 100644 index 00000000..f7f7ee42 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IGetSubmodelDescriptorsResult.java @@ -0,0 +1,46 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The result of listing all submodel descriptors. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public interface IGetSubmodelDescriptorsResult extends IClass { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + IPagingMetadata getPagingMetadata(); + + void setPagingMetadata(IPagingMetadata pagingMetadata); + + /** The returned items. */ + Optional> getResult(); + + void setResult(List result); + + /** Iterate over result, if set, and otherwise return an empty enumerable. */ + Iterable overResultOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IGetSubmodelElementsMetadataResult.java b/src/main/java/aas_core/aas3_2/types/model/IGetSubmodelElementsMetadataResult.java new file mode 100644 index 00000000..bcb1e3c1 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IGetSubmodelElementsMetadataResult.java @@ -0,0 +1,46 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The result of listing the metadata of all submodel elements. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public interface IGetSubmodelElementsMetadataResult extends IClass { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + IPagingMetadata getPagingMetadata(); + + void setPagingMetadata(IPagingMetadata pagingMetadata); + + /** The returned items. */ + Optional> getResult(); + + void setResult(List result); + + /** Iterate over result, if set, and otherwise return an empty enumerable. */ + Iterable overResultOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IGetSubmodelElementsResult.java b/src/main/java/aas_core/aas3_2/types/model/IGetSubmodelElementsResult.java new file mode 100644 index 00000000..35f95ce9 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IGetSubmodelElementsResult.java @@ -0,0 +1,46 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The result of listing all submodel elements. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public interface IGetSubmodelElementsResult extends IClass { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + IPagingMetadata getPagingMetadata(); + + void setPagingMetadata(IPagingMetadata pagingMetadata); + + /** The returned items. */ + Optional> getResult(); + + void setResult(List result); + + /** Iterate over result, if set, and otherwise return an empty enumerable. */ + Iterable overResultOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IGetSubmodelElementsValueResult.java b/src/main/java/aas_core/aas3_2/types/model/IGetSubmodelElementsValueResult.java new file mode 100644 index 00000000..4a00764c --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IGetSubmodelElementsValueResult.java @@ -0,0 +1,57 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.List; +import java.util.Optional; + +/** + * The result of listing the submodel elements in the ValueOnly notation. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

Each item of the result is a submodel element given in the ValueOnly serialization, + * i.e., as a JSON object with a single key, the ID-short of the submodel element, whose + * value is its ValueOnly serialization. The shape of the value depends on the concrete submodel + * element and can not be pinned down statically, so each item is represented as an open JSON + * object. + * + *

Unlike the OpenAPI schema, which types the result as a single JSON object since V3.0.4, we + * follow BaSyx Go and represent the result as an array of items. We suspect the OpenAPI schema to + * be buggy here. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public interface IGetSubmodelElementsValueResult extends IClass { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + IPagingMetadata getPagingMetadata(); + + void setPagingMetadata(IPagingMetadata pagingMetadata); + + /** The returned items. */ + Optional> getResult(); + + void setResult(List result); + + /** Iterate over result, if set, and otherwise return an empty enumerable. */ + Iterable overResultOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IGetSubmodelsMetadataResult.java b/src/main/java/aas_core/aas3_2/types/model/IGetSubmodelsMetadataResult.java new file mode 100644 index 00000000..e8225f78 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IGetSubmodelsMetadataResult.java @@ -0,0 +1,46 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The result of listing the metadata of all submodels. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public interface IGetSubmodelsMetadataResult extends IClass { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + IPagingMetadata getPagingMetadata(); + + void setPagingMetadata(IPagingMetadata pagingMetadata); + + /** The returned items. */ + Optional> getResult(); + + void setResult(List result); + + /** Iterate over result, if set, and otherwise return an empty enumerable. */ + Iterable overResultOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IGetSubmodelsResult.java b/src/main/java/aas_core/aas3_2/types/model/IGetSubmodelsResult.java new file mode 100644 index 00000000..b8354e6b --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IGetSubmodelsResult.java @@ -0,0 +1,46 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The result of listing all submodels. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public interface IGetSubmodelsResult extends IClass { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + IPagingMetadata getPagingMetadata(); + + void setPagingMetadata(IPagingMetadata pagingMetadata); + + /** The returned items. */ + Optional> getResult(); + + void setResult(List result); + + /** Iterate over result, if set, and otherwise return an empty enumerable. */ + Iterable overResultOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IGetSubmodelsValueResult.java b/src/main/java/aas_core/aas3_2/types/model/IGetSubmodelsValueResult.java new file mode 100644 index 00000000..17834fae --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IGetSubmodelsValueResult.java @@ -0,0 +1,56 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.List; +import java.util.Optional; + +/** + * The result of listing the submodels in the ValueOnly notation. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

Each item of the result is a submodel given in the ValueOnly serialization, i.e., as + * a JSON object whose keys are the ID-shorts of the submodel elements and whose values are their + * ValueOnly serializations. Their shape depends on the concrete submodel elements and can not be + * pinned down statically, so each item is represented as an open JSON object. + * + *

Unlike the OpenAPI schema, which types the result as a single SubmodelValue since V3.0.4, we + * follow BaSyx Go and represent the result as an array of items. We suspect the OpenAPI schema to + * be buggy here. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public interface IGetSubmodelsValueResult extends IClass { + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + IPagingMetadata getPagingMetadata(); + + void setPagingMetadata(IPagingMetadata pagingMetadata); + + /** The returned items. */ + Optional> getResult(); + + void setResult(List result); + + /** Iterate over result, if set, and otherwise return an empty enumerable. */ + Iterable overResultOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IGlobalAttribute.java b/src/main/java/aas_core/aas3_2/types/model/IGlobalAttribute.java new file mode 100644 index 00000000..b6eefa64 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IGlobalAttribute.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Refer to a global attribute such as the current time. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public interface IGlobalAttribute extends IClass { + /** Kind of the global attribute */ + GlobalAttributeKind getKind(); + + void setKind(GlobalAttributeKind kind); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IGreaterThanComparison.java b/src/main/java/aas_core/aas3_2/types/model/IGreaterThanComparison.java new file mode 100644 index 00000000..8ec0bf96 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IGreaterThanComparison.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Check whether the first operand is greater than the second one. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

The operands must be of compatible types, see https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + */ +public interface IGreaterThanComparison extends IClass { + /** The two operands */ + Tuple2 getGt(); + + void setGt(Tuple2 gt); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IGreaterThanOrEqualComparison.java b/src/main/java/aas_core/aas3_2/types/model/IGreaterThanOrEqualComparison.java new file mode 100644 index 00000000..e7d6ee70 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IGreaterThanOrEqualComparison.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Check whether the first operand is greater than or equal to the second one. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

The operands must be of compatible types, see https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + */ +public interface IGreaterThanOrEqualComparison extends IClass { + /** The two operands */ + Tuple2 getGe(); + + void setGe(Tuple2 ge); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IHasDataSpecification.java b/src/main/java/aas_core/aas3_2/types/model/IHasDataSpecification.java new file mode 100644 index 00000000..22d5c69c --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IHasDataSpecification.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * Element that can be extended by using data specification templates. + * + *

A data specification template defines a named set of additional attributes an element may or + * shall have. The data specifications used are explicitly specified with their global ID. + */ +public interface IHasDataSpecification extends IClass { + /** Embedded data specification. */ + Optional> getEmbeddedDataSpecifications(); + + void setEmbeddedDataSpecifications(List embeddedDataSpecifications); + + /** Iterate over embeddedDataSpecifications, if set, and otherwise return an empty enumerable. */ + Iterable overEmbeddedDataSpecificationsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IHasExtensions.java b/src/main/java/aas_core/aas3_2/types/model/IHasExtensions.java new file mode 100644 index 00000000..bb189861 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IHasExtensions.java @@ -0,0 +1,36 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * Element that can be extended by proprietary extensions. + * + *

Extensions are proprietary, i.e. they do not support global interoperability. + */ +public interface IHasExtensions extends IClass { + /** An extension of the element. */ + Optional> getExtensions(); + + void setExtensions(List extensions); + + /** Iterate over extensions, if set, and otherwise return an empty enumerable. */ + Iterable overExtensionsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IHasKind.java b/src/main/java/aas_core/aas3_2/types/model/IHasKind.java new file mode 100644 index 00000000..6fdf392f --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IHasKind.java @@ -0,0 +1,38 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * An element with a kind is an element that can either represent a template or an instance. + * + *

Default for an element is that it is representing an instance. + */ +public interface IHasKind extends IClass { + /** + * Kind of the element: either template or instance. + * + *

Default: {@link aas_core.aas3_2.types.enums.ModellingKind#INSTANCE} + */ + Optional getKind(); + + void setKind(ModellingKind kind); + + ModellingKind kindOrDefault(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IHasSemantics.java b/src/main/java/aas_core/aas3_2/types/model/IHasSemantics.java new file mode 100644 index 00000000..c6a41f77 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IHasSemantics.java @@ -0,0 +1,52 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * Element that can have a semantic definition plus some supplemental semantic definitions. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-118: If there are ID {@link #getSupplementalSemanticIds()} defined then + * there shall be also a main semantic ID {@link #getSemanticId()}. + *
+ */ +public interface IHasSemantics extends IClass { + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + */ + Optional getSemanticId(); + + void setSemanticId(IReference semanticId); + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + */ + Optional> getSupplementalSemanticIds(); + + void setSupplementalSemanticIds(List supplementalSemanticIds); + + /** Iterate over supplementalSemanticIds, if set, and otherwise return an empty enumerable. */ + Iterable overSupplementalSemanticIdsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IHexCast.java b/src/main/java/aas_core/aas3_2/types/model/IHexCast.java new file mode 100644 index 00000000..f72d4b40 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IHexCast.java @@ -0,0 +1,34 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Cast the operand to {@code xs:hexBinary}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#casting + */ +public interface IHexCast extends IClass { + /** The operand to be cast */ + Value getHexCast(); + + void setHexCast(Value hexCast); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IHexLiteral.java b/src/main/java/aas_core/aas3_2/types/model/IHexLiteral.java new file mode 100644 index 00000000..55eeef72 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IHexLiteral.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Use a hexadecimal literal as an operand. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public interface IHexLiteral extends IClass { + /** The hexadecimal value */ + String getHexVal(); + + void setHexVal(String hexVal); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IIdentifiable.java b/src/main/java/aas_core/aas3_2/types/model/IIdentifiable.java new file mode 100644 index 00000000..ebeed545 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IIdentifiable.java @@ -0,0 +1,38 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** An element that has a globally unique identifier. */ +public interface IIdentifiable extends IReferable { + /** + * Administrative information of an identifiable element. + * + *

Some of the administrative information like the version number might need to be part of the + * identification. + */ + Optional getAdministration(); + + void setAdministration(IAdministrativeInformation administration); + + /** The globally unique identification of the element. */ + String getId(); + + void setId(String id); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IKey.java b/src/main/java/aas_core/aas3_2/types/model/IKey.java new file mode 100644 index 00000000..e1a0dceb --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IKey.java @@ -0,0 +1,44 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** A key is a reference to an element by its ID. */ +public interface IKey extends IClass { + /** + * Denotes which kind of entity is referenced. + * + *

If {@link #getType()} = {@link aas_core.aas3_2.types.enums.KeyTypes#GLOBAL_REFERENCE}, the + * key represents a reference to a source that can be globally identified. + * + *

If {@link #getType()} = {@link aas_core.aas3_2.types.enums.KeyTypes#FRAGMENT_REFERENCE} the + * key represents a bookmark or a similar local identifier within its parent element as specified + * by the key that precedes this key. + * + *

In all other cases, the key references a model element of the same or another Asset + * Administration Shell. The name of the model element is explicitly listed. + */ + KeyTypes getType(); + + void setType(KeyTypes type); + + /** The key value, for example an IRDI or a URI or the ID-short or any other fragment value */ + String getValue(); + + void setValue(String value); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ILangStringDefinitionTypeIec61360.java b/src/main/java/aas_core/aas3_2/types/model/ILangStringDefinitionTypeIec61360.java new file mode 100644 index 00000000..9a33f487 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ILangStringDefinitionTypeIec61360.java @@ -0,0 +1,24 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** String with length 1023 maximum and minimum 1 characters and with language tags */ +public interface ILangStringDefinitionTypeIec61360 extends IAbstractLangString { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ILangStringNameType.java b/src/main/java/aas_core/aas3_2/types/model/ILangStringNameType.java new file mode 100644 index 00000000..4ad6782b --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ILangStringNameType.java @@ -0,0 +1,24 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** String with length 128 maximum and minimum 1 characters and with language tags */ +public interface ILangStringNameType extends IAbstractLangString { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ILangStringPreferredNameTypeIec61360.java b/src/main/java/aas_core/aas3_2/types/model/ILangStringPreferredNameTypeIec61360.java new file mode 100644 index 00000000..1af6d1ab --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ILangStringPreferredNameTypeIec61360.java @@ -0,0 +1,28 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * String with length 255 maximum and minimum 1 characters and with language tags + * + *

It is advised to keep the length of the name limited to 35 characters. + */ +public interface ILangStringPreferredNameTypeIec61360 extends IAbstractLangString { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ILangStringShortNameTypeIec61360.java b/src/main/java/aas_core/aas3_2/types/model/ILangStringShortNameTypeIec61360.java new file mode 100644 index 00000000..4383bba9 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ILangStringShortNameTypeIec61360.java @@ -0,0 +1,24 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** String with length 18 maximum and minimum 1 characters and with language tags */ +public interface ILangStringShortNameTypeIec61360 extends IAbstractLangString { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ILangStringTextType.java b/src/main/java/aas_core/aas3_2/types/model/ILangStringTextType.java new file mode 100644 index 00000000..15cd71c1 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ILangStringTextType.java @@ -0,0 +1,24 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** String with length 1023 maximum and minimum 1 characters and with language tags */ +public interface ILangStringTextType extends IAbstractLangString { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ILangStringUom.java b/src/main/java/aas_core/aas3_2/types/model/ILangStringUom.java new file mode 100644 index 00000000..0a20d0ce --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ILangStringUom.java @@ -0,0 +1,24 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** String with length 256 maximum and minimum 1 characters and with language tags. */ +public interface ILangStringUom extends IAbstractLangString { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ILessThanComparison.java b/src/main/java/aas_core/aas3_2/types/model/ILessThanComparison.java new file mode 100644 index 00000000..48bda625 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ILessThanComparison.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Check whether the first operand is less than the second one. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

The operands must be of compatible types, see https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + */ +public interface ILessThanComparison extends IClass { + /** The two operands */ + Tuple2 getLt(); + + void setLt(Tuple2 lt); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ILessThanOrEqualComparison.java b/src/main/java/aas_core/aas3_2/types/model/ILessThanOrEqualComparison.java new file mode 100644 index 00000000..865b02e9 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ILessThanOrEqualComparison.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Check whether the first operand is less than or equal to the second one. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

The operands must be of compatible types, see https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + */ +public interface ILessThanOrEqualComparison extends IClass { + /** The two operands */ + Tuple2 getLe(); + + void setLe(Tuple2 le); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ILevelType.java b/src/main/java/aas_core/aas3_2/types/model/ILevelType.java new file mode 100644 index 00000000..f2f6314f --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ILevelType.java @@ -0,0 +1,76 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Value represented by up to four variants of a numeric value in a specific role: {@code MIN}, + * {@code NOM}, {@code TYP} and {@code MAX}. True means that the value is available, false means the + * value is not available. + * + *

EXAMPLE from [IEC61360-1]: In the case of having a property which is of the LEVEL_TYPE min/max + * − expressing a range − only those two values need to be provided. + * + *

This is how AAS deals with the following combinations of level types: + * + *

    + *
  • + *

    Either all attributes are false. In this case the concept is mapped to a {@link + * aas_core.aas3_2.types.impl.Property} and level type is ignored. + *

  • + *

    At most one of the attributes is set to true. In this case the concept is mapped to a + * {@link aas_core.aas3_2.types.impl.Property}. + *

  • + *

    Min and max are set to true. In this case the concept is mapped to a {@link + * aas_core.aas3_2.types.impl.Range}. + *

  • + *

    More than one attribute is set to true but not min and max only (see second case). In + * this case the concept is mapped to a {@link + * aas_core.aas3_2.types.impl.SubmodelElementCollection} with the corresponding number of + * Properties. Example: If attribute {@link #getMin()} and {@link #getNom()} are set to true + * then the concept is mapped to a {@link + * aas_core.aas3_2.types.impl.SubmodelElementCollection} with two Properties within: min and + * nom. The data type of both Properties is the same. + *

+ * + *

In the cases 2. and 4. the {@link aas_core.aas3_2.types.impl.Property#getSemanticId()} of the + * Property or Properties within the {@link aas_core.aas3_2.types.impl.SubmodelElementCollection} + * needs to include information about the level type. Otherwise, the semantics is not described in a + * unique way. Please refer to the specification. + */ +public interface ILevelType extends IClass { + /** Minimum of the value */ + Boolean getMin(); + + void setMin(Boolean min); + + /** Nominal value (value as designated) */ + Boolean getNom(); + + void setNom(Boolean nom); + + /** Value as typically present */ + Boolean getTyp(); + + void setTyp(Boolean typ); + + /** Maximum of the value */ + Boolean getMax(); + + void setMax(Boolean max); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IMatchClause.java b/src/main/java/aas_core/aas3_2/types/model/IMatchClause.java new file mode 100644 index 00000000..c75e9050 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IMatchClause.java @@ -0,0 +1,35 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; + +/** + * Check that all the operands hold for the same element of a list. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_match_of_elements_in_lists + */ +public interface IMatchClause extends IClass { + /** The comparisons and nested matches which all need to hold */ + List getMatchOperands(); + + void setMatchOperands(List matchOperands); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IMessage.java b/src/main/java/aas_core/aas3_2/types/model/IMessage.java new file mode 100644 index 00000000..00e673db --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IMessage.java @@ -0,0 +1,53 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * A message containing more information for the requester about a certain happening in the backend. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#Message + */ +public interface IMessage extends IClass { + /** The message type */ + MessageTypeEnum getMessageType(); + + void setMessageType(MessageTypeEnum messageType); + + /** The message text */ + String getText(); + + void setText(String text); + + /** Technology-dependent status or error code */ + Optional getCode(); + + void setCode(String code); + + /** Identifier to relate several result messages throughout several systems */ + Optional getCorrelationId(); + + void setCorrelationId(String correlationId); + + /** Timestamp of the message */ + Optional getTimestamp(); + + void setTimestamp(String timestamp); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IMonth.java b/src/main/java/aas_core/aas3_2/types/model/IMonth.java new file mode 100644 index 00000000..c3380e28 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IMonth.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Extract the month from the date-time operand as a number. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public interface IMonth extends IClass { + /** The date-time operand */ + DateTimeOperand getMonth(); + + void setMonth(DateTimeOperand month); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IMultiLanguageProperty.java b/src/main/java/aas_core/aas3_2/types/model/IMultiLanguageProperty.java new file mode 100644 index 00000000..e3011791 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IMultiLanguageProperty.java @@ -0,0 +1,47 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * A property is a data element that has a multi-language value. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-012: If both the {@link #getValue()} and the {@link #getValueId()} are + * present then for each string in a specific language the meaning must be the same as + * specified in {@link #getValueId()}. + *
+ */ +public interface IMultiLanguageProperty extends IDataElement { + /** The value of the property instance. */ + Optional> getValue(); + + void setValue(List value); + + /** Reference to the global unique ID of a coded value. */ + Optional getValueId(); + + void setValueId(IReference valueId); + + /** Iterate over value, if set, and otherwise return an empty enumerable. */ + Iterable overValueOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IMultiLanguagePropertyMetadata.java b/src/main/java/aas_core/aas3_2/types/model/IMultiLanguagePropertyMetadata.java new file mode 100644 index 00000000..c9736bd5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IMultiLanguagePropertyMetadata.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.MultiLanguageProperty}, without its value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface IMultiLanguagePropertyMetadata extends ISubmodelElementMetadata { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/INotEqualComparison.java b/src/main/java/aas_core/aas3_2/types/model/INotEqualComparison.java new file mode 100644 index 00000000..970455df --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/INotEqualComparison.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Check whether the two operands are not equal. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

The operands must be of compatible types, see https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + */ +public interface INotEqualComparison extends IClass { + /** The two operands */ + Tuple2 getNe(); + + void setNe(Tuple2 ne); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/INotExpression.java b/src/main/java/aas_core/aas3_2/types/model/INotExpression.java new file mode 100644 index 00000000..99a6de41 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/INotExpression.java @@ -0,0 +1,34 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Negate an expression. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_logical_expressions + */ +public interface INotExpression extends IClass { + /** The expression to be negated */ + LogicalExpression getNotOperand(); + + void setNotOperand(LogicalExpression notOperand); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/INumberCast.java b/src/main/java/aas_core/aas3_2/types/model/INumberCast.java new file mode 100644 index 00000000..b465af04 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/INumberCast.java @@ -0,0 +1,34 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Cast the operand to a number. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#casting + */ +public interface INumberCast extends IClass { + /** The operand to be cast */ + Value getNumCast(); + + void setNumCast(Value numCast); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/INumberLiteral.java b/src/main/java/aas_core/aas3_2/types/model/INumberLiteral.java new file mode 100644 index 00000000..dfc235b5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/INumberLiteral.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Use a number literal as an operand. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public interface INumberLiteral extends IClass { + /** The numerical value */ + Double getNumVal(); + + void setNumVal(Double numVal); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IOperation.java b/src/main/java/aas_core/aas3_2/types/model/IOperation.java new file mode 100644 index 00000000..86c8bb66 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IOperation.java @@ -0,0 +1,65 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * An operation is a submodel element with input and output variables. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-134: For an {@link aas_core.aas3_2.types.impl.Operation} the {@link + * aas_core.aas3_2.types.model.IReferable#getIdShort()} of all {@link + * aas_core.aas3_2.types.impl.OperationVariable#getValue()}'s in {@link #getInputVariables()}, + * {@link #getOutputVariables()} and {@link #getInoutputVariables()} shall be unique. + *
+ */ +public interface IOperation extends ISubmodelElement { + /** Input parameter of the operation. */ + Optional> getInputVariables(); + + void setInputVariables(List inputVariables); + + /** Output parameter of the operation. */ + Optional> getOutputVariables(); + + void setOutputVariables(List outputVariables); + + /** + * Parameter that is input and output of the operation. + * + *

In embedded systems inoutput variables are variables that can be read but that are also + * written by the system. Typically, this is implemented via a pointer (i.e. 'by reference' + * instead of 'by value'). + */ + Optional> getInoutputVariables(); + + void setInoutputVariables(List inoutputVariables); + + /** Iterate over inputVariables, if set, and otherwise return an empty enumerable. */ + Iterable overInputVariablesOrEmpty(); + + /** Iterate over outputVariables, if set, and otherwise return an empty enumerable. */ + Iterable overOutputVariablesOrEmpty(); + + /** Iterate over inoutputVariables, if set, and otherwise return an empty enumerable. */ + Iterable overInoutputVariablesOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IOperationHandle.java b/src/main/java/aas_core/aas3_2/types/model/IOperationHandle.java new file mode 100644 index 00000000..9fd823c1 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IOperationHandle.java @@ -0,0 +1,33 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * The returned handle of an operation's asynchronous invocation used to request the current state + * of the operation's execution. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#OperationHandle + */ +public interface IOperationHandle extends IClass { + /** Handle ID */ + String getHandleId(); + + void setHandleId(String handleId); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IOperationMetadata.java b/src/main/java/aas_core/aas3_2/types/model/IOperationMetadata.java new file mode 100644 index 00000000..3aca6f2c --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IOperationMetadata.java @@ -0,0 +1,32 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * The metadata of an {@link aas_core.aas3_2.types.impl.Operation}, without its + * input/output/inoutput variables. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface IOperationMetadata extends ISubmodelElementMetadata { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IOperationRequest.java b/src/main/java/aas_core/aas3_2/types/model/IOperationRequest.java new file mode 100644 index 00000000..b2c3075c --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IOperationRequest.java @@ -0,0 +1,54 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The operation request object. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#OperationRequest + */ +public interface IOperationRequest extends IClass { + /** Input argument */ + Optional> getInputArguments(); + + void setInputArguments(List inputArguments); + + /** InOutput argument */ + Optional> getInoutputArguments(); + + void setInoutputArguments(List inoutputArguments); + + /** + * Duration indicating when the client suggests the server to have finished execution of the + * invoked operation. The server may take this value into account to decide on its effective + * timeout, however, the server may or may not use by its own discretion. + */ + Optional getClientTimeoutDuration(); + + void setClientTimeoutDuration(String clientTimeoutDuration); + + /** Iterate over inputArguments, if set, and otherwise return an empty enumerable. */ + Iterable overInputArgumentsOrEmpty(); + + /** Iterate over inoutputArguments, if set, and otherwise return an empty enumerable. */ + Iterable overInoutputArgumentsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IOperationRequestAsync.java b/src/main/java/aas_core/aas3_2/types/model/IOperationRequestAsync.java new file mode 100644 index 00000000..f6ba202e --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IOperationRequestAsync.java @@ -0,0 +1,66 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The operation request object for asynchronous invocation. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * It corresponds to the request body of the {@code InvokeOperationAsync} operation, which is shaped + * like {@link aas_core.aas3_2.types.impl.OperationRequest} with {@link + * aas_core.aas3_2.types.impl.OperationRequest#getClientTimeoutDuration()} made mandatory. + * + *

This class is deliberately not related to {@link + * aas_core.aas3_2.types.impl.OperationRequest} by inheritance: a subclass constructor must exactly + * match argument's type to the inherited property's declared type, so a property declared {@code + * Optional[Duration]} on a base class cannot be narrowed to a required {@code Duration} on a + * subclass. Making this a standalone class lets {@code client_timeout_duration} be genuinely + * required here. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces.html#_operation_invokeoperationasync + */ +public interface IOperationRequestAsync extends IClass { + /** Input argument */ + Optional> getInputArguments(); + + void setInputArguments(List inputArguments); + + /** InOutput argument */ + Optional> getInoutputArguments(); + + void setInoutputArguments(List inoutputArguments); + + /** + * Duration indicating when the client suggests the server to have finished execution of the + * invoked operation. The server may take this value into account to decide on its effective + * timeout, however, the server may or may not use by its own discretion. + */ + String getClientTimeoutDuration(); + + void setClientTimeoutDuration(String clientTimeoutDuration); + + /** Iterate over inputArguments, if set, and otherwise return an empty enumerable. */ + Iterable overInputArgumentsOrEmpty(); + + /** Iterate over inoutputArguments, if set, and otherwise return an empty enumerable. */ + Iterable overInoutputArgumentsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IOperationRequestAsyncValueOnly.java b/src/main/java/aas_core/aas3_2/types/model/IOperationRequestAsyncValueOnly.java new file mode 100644 index 00000000..be745b51 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IOperationRequestAsyncValueOnly.java @@ -0,0 +1,58 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.Optional; + +/** + * The operation request object for asynchronous invocation in the ValueOnly notation. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * It corresponds to the request body of the {@code InvokeOperationAsync} operation in the ValueOnly + * notation, which is shaped like {@link aas_core.aas3_2.types.impl.OperationRequestValueOnly} with + * {@link aas_core.aas3_2.types.impl.OperationRequestValueOnly#getClientTimeoutDuration()} made + * mandatory. + * + *

This class is deliberately not related to {@link + * aas_core.aas3_2.types.impl.OperationRequestValueOnly} by inheritance; see the note on {@link + * aas_core.aas3_2.types.impl.OperationRequestAsync}. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces.html#_operation_invokeoperationasync + */ +public interface IOperationRequestAsyncValueOnly extends IClass { + /** Input argument */ + Optional getInputArguments(); + + void setInputArguments(ObjectNode inputArguments); + + /** InOutput argument */ + Optional getInoutputArguments(); + + void setInoutputArguments(ObjectNode inoutputArguments); + + /** + * Duration indicating when the client suggests the server to have finished execution of the + * invoked operation. The server may take this value into account to decide on its effective + * timeout, however, the server may or may not use by its own discretion. + */ + String getClientTimeoutDuration(); + + void setClientTimeoutDuration(String clientTimeoutDuration); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IOperationRequestValueOnly.java b/src/main/java/aas_core/aas3_2/types/model/IOperationRequestValueOnly.java new file mode 100644 index 00000000..96c6b744 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IOperationRequestValueOnly.java @@ -0,0 +1,53 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.Optional; + +/** + * The operation request object in the ValueOnly notation. + * + *

The arguments are given in the ValueOnly serialization, i.e., as a JSON object whose + * keys are the ID-shorts of the argument values and whose values are the ValueOnly serializations + * of the argument values. Their shape depends on the concrete submodel elements and can not be + * pinned down statically, so they are represented as open JSON objects. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#operation-request-value-only + */ +public interface IOperationRequestValueOnly extends IClass { + /** Input argument */ + Optional getInputArguments(); + + void setInputArguments(ObjectNode inputArguments); + + /** InOutput argument */ + Optional getInoutputArguments(); + + void setInoutputArguments(ObjectNode inoutputArguments); + + /** + * Duration indicating when the client suggests the server to have finished execution of the + * invoked operation. The server may take this value into account to decide on its effective + * timeout, however, the server may or may not use by its own discretion. + */ + Optional getClientTimeoutDuration(); + + void setClientTimeoutDuration(String clientTimeoutDuration); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IOperationResult.java b/src/main/java/aas_core/aas3_2/types/model/IOperationResult.java new file mode 100644 index 00000000..660fb3d3 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IOperationResult.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The operation's invocation result object. + * + *

This class is deliberately not related to {@link + * aas_core.aas3_2.types.impl.BaseOperationResult} by inheritance; see the note on that class. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#OperationResult + */ +public interface IOperationResult extends IClass { + /** Execution state */ + ExecutionState getExecutionState(); + + void setExecutionState(ExecutionState executionState); + + /** Additional messages containing information for the requester */ + Optional> getMessages(); + + void setMessages(List messages); + + /** + * Flag indicating whether the business operation behind the operation was successful (true) or + * not (false) + */ + Optional getSuccess(); + + void setSuccess(Boolean success); + + /** Output argument */ + Optional> getOutputArguments(); + + void setOutputArguments(List outputArguments); + + /** InOutput argument */ + Optional> getInoutputArguments(); + + void setInoutputArguments(List inoutputArguments); + + /** Iterate over messages, if set, and otherwise return an empty enumerable. */ + Iterable overMessagesOrEmpty(); + + /** Iterate over outputArguments, if set, and otherwise return an empty enumerable. */ + Iterable overOutputArgumentsOrEmpty(); + + /** Iterate over inoutputArguments, if set, and otherwise return an empty enumerable. */ + Iterable overInoutputArgumentsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IOperationResultValueOnly.java b/src/main/java/aas_core/aas3_2/types/model/IOperationResultValueOnly.java new file mode 100644 index 00000000..db7b45de --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IOperationResultValueOnly.java @@ -0,0 +1,67 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.List; +import java.util.Optional; + +/** + * The operation's invocation result object in the ValueOnly notation. + * + *

This class is deliberately not related to {@link + * aas_core.aas3_2.types.impl.BaseOperationResult} by inheritance; see the note on that class. + * + *

The arguments are given in the ValueOnly serialization; see the note on {@link + * aas_core.aas3_2.types.impl.OperationRequestValueOnly}. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#operation-result-value-only + */ +public interface IOperationResultValueOnly extends IClass { + /** Execution state */ + ExecutionState getExecutionState(); + + void setExecutionState(ExecutionState executionState); + + /** Additional messages containing information for the requester */ + Optional> getMessages(); + + void setMessages(List messages); + + /** + * Flag indicating whether the business operation behind the operation was successful (true) or + * not (false) + */ + Optional getSuccess(); + + void setSuccess(Boolean success); + + /** Output argument */ + Optional getOutputArguments(); + + void setOutputArguments(ObjectNode outputArguments); + + /** InOutput argument */ + Optional getInoutputArguments(); + + void setInoutputArguments(ObjectNode inoutputArguments); + + /** Iterate over messages, if set, and otherwise return an empty enumerable. */ + Iterable overMessagesOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IOperationVariable.java b/src/main/java/aas_core/aas3_2/types/model/IOperationVariable.java new file mode 100644 index 00000000..992cd559 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IOperationVariable.java @@ -0,0 +1,44 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * The value of an operation variable is a submodel element that is used as input and/or output + * variable of an operation. + * + *

Specification of operations in a {@link aas_core.aas3_2.types.impl.Submodel} with {@link + * aas_core.aas3_2.types.model.IHasKind#getKind()} = {@link + * aas_core.aas3_2.types.enums.ModellingKind#INSTANCE} are handled identical to operations in + * Submodel templates ({@link aas_core.aas3_2.types.impl.Submodel} with {@link + * aas_core.aas3_2.types.model.IHasKind#getKind()} = {@link + * aas_core.aas3_2.types.enums.ModellingKind#TEMPLATE}). + * + *

An operation can be invoked via an API call ({@code InvokeOperationSync} and {@code + * InvokeOperationAsync}). For further explanation see Part 2 (IDTA-01002). + * + *

{@link aas_core.aas3_2.types.impl.OperationVariable} is introduced as a separate class to + * enable future extensions, e.g. for adding a default value or cardinality + * (optional/mandatory). + */ +public interface IOperationVariable extends IClass { + /** Describes an argument or result of an operation via a submodel element */ + ISubmodelElement getValue(); + + void setValue(ISubmodelElement value); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IOrExpression.java b/src/main/java/aas_core/aas3_2/types/model/IOrExpression.java new file mode 100644 index 00000000..f1c850d6 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IOrExpression.java @@ -0,0 +1,35 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; + +/** + * Connect two or more expressions through a logical OR. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_logical_expressions + */ +public interface IOrExpression extends IClass { + /** The expressions to be connected */ + List getOrOperands(); + + void setOrOperands(List orOperands); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IPackageDescription.java b/src/main/java/aas_core/aas3_2/types/model/IPackageDescription.java new file mode 100644 index 00000000..57268d56 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IPackageDescription.java @@ -0,0 +1,48 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The package description consists of a system-wide unique packageId and its corresponding Asset + * Administration Shell identifiers. + * + *

The packageId is used to identify the AASX package at the AASX file server. The package + * description is used to list the Asset Administration Shells in a given AASX package. + * + *

This class is not part of the metamodel. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#PackageDescription + */ +public interface IPackageDescription extends IClass { + /** File server specific package id */ + String getPackageId(); + + void setPackageId(String packageId); + + /** Asset Administration Shell unique identifiers */ + Optional> getAasIds(); + + void setAasIds(List aasIds); + + /** Iterate over aasIds, if set, and otherwise return an empty enumerable. */ + Iterable overAasIdsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IPagedResult.java b/src/main/java/aas_core/aas3_2/types/model/IPagedResult.java new file mode 100644 index 00000000..cbee6c09 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IPagedResult.java @@ -0,0 +1,48 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * An object connecting the actual list of returned items with metadata information to, + * e.g., fetch the next part of the result set. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public interface IPagedResult extends IClass { + /** + * List of returned items. Any kind of Referables is possible, depending on the endpoint which has + * been requested. + */ + Optional> getResult(); + + void setResult(List result); + + /** + * Additional information for the client to, e.g., fetch the next part of the result set. + */ + IPagingMetadata getPagingMetadata(); + + void setPagingMetadata(IPagingMetadata pagingMetadata); + + /** Iterate over result, if set, and otherwise return an empty enumerable. */ + Iterable overResultOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IPagingMetadata.java b/src/main/java/aas_core/aas3_2/types/model/IPagingMetadata.java new file mode 100644 index 00000000..e8f181b6 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IPagingMetadata.java @@ -0,0 +1,38 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * Additional information for the client to, e.g., fetch the next part of the result set. + * + *

More attributes may be added to this class in future versions. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination + */ +public interface IPagingMetadata extends IClass { + /** + * The cursor for the next part of the result set. No cursor attribute means that the end of the + * result set has been reached. + */ + Optional getCursor(); + + void setCursor(String cursor); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IProperty.java b/src/main/java/aas_core/aas3_2/types/model/IProperty.java new file mode 100644 index 00000000..0eb27cc5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IProperty.java @@ -0,0 +1,48 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * A property is a data element that has a single value. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-007: If both, the {@link #getValue()} and the {@link #getValueId()} are + * present then the value of {@link #getValue()} needs to be identical to the value of the + * referenced coded value in {@link #getValueId()}. + *
+ */ +public interface IProperty extends IDataElement { + /** Data type of the {@link #getValue()} attribute. */ + DataTypeDefXsd getValueType(); + + void setValueType(DataTypeDefXsd valueType); + + /** The value of the property instance. */ + Optional getValue(); + + void setValue(String value); + + /** Reference to the global unique ID of a coded value. */ + Optional getValueId(); + + void setValueId(IReference valueId); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IPropertyMetadata.java b/src/main/java/aas_core/aas3_2/types/model/IPropertyMetadata.java new file mode 100644 index 00000000..894fd732 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IPropertyMetadata.java @@ -0,0 +1,34 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.Property}, without its value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface IPropertyMetadata extends ISubmodelElementMetadata { + /** The value type of the property. */ + DataTypeDefXsd getValueType(); + + void setValueType(DataTypeDefXsd valueType); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IProtocolInformation.java b/src/main/java/aas_core/aas3_2/types/model/IProtocolInformation.java new file mode 100644 index 00000000..becb76c9 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IProtocolInformation.java @@ -0,0 +1,117 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The protocol information of a network resource endpoint. + * + *

The protocol information of a network resource endpoint is defined in DIN SPEC 16593-2. After + * the release of DIN SPEC 16593-2, any required updates will be made. This class is not part of the + * metamodel. + * + *

The information in this class is a 1:1 copy from DIN SPEC 16593-2. Required changes need to be + * made by the related DIN working group. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#ProtocolInformation + */ +public interface IProtocolInformation extends IClass { + /** The endpoint address as a URL. */ + String getHref(); + + void setHref(String href); + + /** + * Either scheme of {@link #getHref()} or scheme plus further information. + * + *

The scheme denotes the highest level of doubtless transmission. + */ + Optional getEndpointProtocol(); + + void setEndpointProtocol(String endpointProtocol); + + /** + * Each entry represents one supported version at this very endpoint, the entry shall be formatted + * according to the regulations of the protocol specified in the {@link #getHref()} + */ + Optional> getEndpointProtocolVersion(); + + void setEndpointProtocolVersion(List endpointProtocolVersion); + + /** + * Allows for referencing sub-protocols that may be used in the context of that endpoint e.g. "OPC + * Basic SOAP" or UA Binary + */ + Optional getSubprotocol(); + + void setSubprotocol(String subprotocol); + + /** + * If the sub-protocol field is present, a subprotocol body might be given to hold extra + * information, e.g. node and namespace in an OPC UA server + */ + Optional getSubprotocolBody(); + + void setSubprotocolBody(String subprotocolBody); + + /** + * If {@link #getSubprotocolBody()} is present, the encoding might be explicitly defined, + * otherwise it shall default to subprotocols encoding scheme + */ + Optional getSubprotocolBodyEncoding(); + + void setSubprotocolBodyEncoding(String subprotocolBodyEncoding); + + /** + * Array of {@link aas_core.aas3_2.types.impl.SecurityAttributeObject}'s. Each attribute has three + * properties: + * + *

{@link aas_core.aas3_2.types.impl.SecurityAttributeObject#getType()}: enum security type or + * standard: + * + *

    + *
  • + *

    {@code NONE}; + *

  • + *

    {@code RFC_TLSA}, TLSA according to RFC 6698; or + *

  • + *

    {@code W3C_DID}, W3C DID document. + *

+ * + *

{@link aas_core.aas3_2.types.impl.SecurityAttributeObject#getKey()}: security attribute key + * according to standard definitions of the security type. + * + *

{@link aas_core.aas3_2.types.impl.SecurityAttributeObject#getValue()}: security attribute + * value, e.g., DANE TLSA Resource Record. + * + *

The {@link aas_core.aas3_2.types.impl.SecurityAttributeObject}'s are treated as possible + * alternatives (logical "or"). + */ + Optional> getSecurityAttributes(); + + void setSecurityAttributes(List securityAttributes); + + /** Iterate over endpointProtocolVersion, if set, and otherwise return an empty enumerable. */ + Iterable overEndpointProtocolVersionOrEmpty(); + + /** Iterate over securityAttributes, if set, and otherwise return an empty enumerable. */ + Iterable overSecurityAttributesOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IQualifiable.java b/src/main/java/aas_core/aas3_2/types/model/IQualifiable.java new file mode 100644 index 00000000..4524b973 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IQualifiable.java @@ -0,0 +1,55 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * A qualifiable element may be further qualified by one or more qualifiers. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-119: If any {@link aas_core.aas3_2.types.impl.Qualifier#getKind()} value of + * {@link #getQualifiers()} is equal to {@link + * aas_core.aas3_2.types.enums.QualifierKind#TEMPLATE_QUALIFIER} and the qualified element + * inherits from {@link aas_core.aas3_2.types.model.IHasKind} then the qualified element shall + * be of kind Template ({@link aas_core.aas3_2.types.model.IHasKind#getKind()} = {@link + * aas_core.aas3_2.types.enums.ModellingKind#TEMPLATE}). + *

    This constraint is checked at {@link aas_core.aas3_2.types.impl.Submodel}. + *

+ */ +public interface IQualifiable extends IClass { + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable shall only have one qualifier with the same {@link + * aas_core.aas3_2.types.impl.Qualifier#getType()}. + *
+ */ + Optional> getQualifiers(); + + void setQualifiers(List qualifiers); + + /** Iterate over qualifiers, if set, and otherwise return an empty enumerable. */ + Iterable overQualifiersOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IQualifier.java b/src/main/java/aas_core/aas3_2/types/model/IQualifier.java new file mode 100644 index 00000000..111cfed0 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IQualifier.java @@ -0,0 +1,76 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * A qualifier is essentially a type-value-pair. Depending on the kind of qualifier, it makes + * additional statements: + * + *
    + *
  • + *

    w.r.t. the value of the qualified element, + *

  • + *

    w.r.t. the concept, i.e. semantic definition of the qualified element, + *

  • + *

    w.r.t. existence and other meta information of the qualified element type. + *

+ * + *

Constraints: + * + *

    + *
  • Constraint AASd-006: If both the {@link #getValue()} and the {@link #getValueId()} of a + * {@link aas_core.aas3_2.types.impl.Qualifier} are present then the {@link #getValue()} needs + * to be identical to the value of the referenced coded value in {@link #getValueId()}. + *
  • Constraint AASd-020: The value of {@link #getValue()} shall be consistent with the data + * type as defined in {@link #getValueType()}. + *
+ */ +public interface IQualifier extends IHasSemantics { + /** + * The qualifier kind describes the kind of qualifier that is applied to the element. + * + *

Default: {@link aas_core.aas3_2.types.enums.QualifierKind#CONCEPT_QUALIFIER} + */ + Optional getKind(); + + void setKind(QualifierKind kind); + + /** The qualifier type describes the type of qualifier that is applied to the element. */ + String getType(); + + void setType(String type); + + /** Data type of the qualifier value. */ + DataTypeDefXsd getValueType(); + + void setValueType(DataTypeDefXsd valueType); + + /** The qualifier value is the value of the qualifier. */ + Optional getValue(); + + void setValue(String value); + + /** Reference to the global unique ID of a coded value. */ + Optional getValueId(); + + void setValueId(IReference valueId); + + QualifierKind kindOrDefault(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IQuery.java b/src/main/java/aas_core/aas3_2/types/model/IQuery.java new file mode 100644 index 00000000..20dfc297 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IQuery.java @@ -0,0 +1,58 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * A query in the AAS Query Language. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html + */ +public interface IQuery extends IClass { + /** + * What the query returns instead of the full objects. + * + *

If not specified, the full objects are returned. + */ + Optional getSelect(); + + void setSelect(QuerySelect select); + + /** The condition which the returned objects need to fulfill */ + LogicalExpression getCondition(); + + void setCondition(LogicalExpression condition); + + /** + * Filters to reduce the returned data + * + *

The list can be empty, as the grammar allows {@code $filters} to be followed by zero + * filters. Elements without a filter remain unfiltered. + */ + Optional> getFilters(); + + void setFilters(List filters); + + /** Iterate over filters, if set, and otherwise return an empty enumerable. */ + Iterable overFiltersOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IQueryFilter.java b/src/main/java/aas_core/aas3_2/types/model/IQueryFilter.java new file mode 100644 index 00000000..ebb15639 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IQueryFilter.java @@ -0,0 +1,39 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Filter a fragment of the returned data by a condition. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_query_filter + */ +public interface IQueryFilter extends IClass { + /** The fragment of the returned data to which the filter applies */ + String getFragment(); + + void setFragment(String fragment); + + /** The condition which the elements of the fragment need to fulfill */ + LogicalExpression getCondition(); + + void setCondition(LogicalExpression condition); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IRange.java b/src/main/java/aas_core/aas3_2/types/model/IRange.java new file mode 100644 index 00000000..21289508 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IRange.java @@ -0,0 +1,43 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * A range data element is a data element that defines a range with min and max. + * + *

This element is experimental and therefore may be subject to change or may be removed + * completely in future versions of the meta-model. + */ +public interface IRange extends IDataElement { + /** Data type of the {@link #getMin()} und {@link #getMax()} attributes */ + DataTypeDefXsd getValueType(); + + void setValueType(DataTypeDefXsd valueType); + + /** The minimum value of the range. */ + Optional getMin(); + + void setMin(String min); + + /** The maximum value of the range. */ + Optional getMax(); + + void setMax(String max); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IRangeMetadata.java b/src/main/java/aas_core/aas3_2/types/model/IRangeMetadata.java new file mode 100644 index 00000000..8a3df6f9 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IRangeMetadata.java @@ -0,0 +1,34 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.Range}, without its value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface IRangeMetadata extends ISubmodelElementMetadata { + /** The value type of the range. */ + DataTypeDefXsd getValueType(); + + void setValueType(DataTypeDefXsd valueType); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IRangeValue.java b/src/main/java/aas_core/aas3_2/types/model/IRangeValue.java new file mode 100644 index 00000000..df4c8f96 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IRangeValue.java @@ -0,0 +1,39 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * The value of a {@link aas_core.aas3_2.types.impl.Range}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface IRangeValue extends IClass { + /** The minimum value of the range. */ + Double getMin(); + + void setMin(Double min); + + /** The maximum value of the range. */ + Double getMax(); + + void setMax(Double max); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IRecentChange.java b/src/main/java/aas_core/aas3_2/types/model/IRecentChange.java new file mode 100644 index 00000000..ebda4d6f --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IRecentChange.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * This class is not part of the metamodel. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#RecentChange + */ +public interface IRecentChange extends IClass { + /** The point in time at which the Identifiable object was created */ + String getCreatedAt(); + + void setCreatedAt(String createdAt); + + /** The point in time at which the Identifiable object was recently updated */ + String getUpdatedAt(); + + void setUpdatedAt(String updatedAt); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IReferable.java b/src/main/java/aas_core/aas3_2/types/model/IReferable.java new file mode 100644 index 00000000..f69191b5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IReferable.java @@ -0,0 +1,89 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * Element that is referable by its {@link #getIdShort()}. + * + *

This ID is not globally unique. This ID is unique within the name space of the element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-022: {@link #getIdShort()} of non-identifiable referables within the same + * name space shall be unique (case-sensitive). + *
+ */ +public interface IReferable extends IHasExtensions { + /** + * The category is a value that gives further meta information w.r.t. the class of the element. It + * affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics}) of an element. The category could e.g. denote that + * the element is a measurement value, whereas the semantic definition of the element would denote + * that it is the measured temperature. + * + *

Deprecated. + */ + Optional getCategory(); + + void setCategory(String category); + + /** + * In case of identifiables, this attribute is a short name of the element. In case of a + * referable, this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * #getIdShort()} is typically identical to the short name in English, if available. + */ + Optional getIdShort(); + + void setIdShort(String idShort); + + /** Display name. Can be provided in several languages. */ + Optional> getDisplayName(); + + void setDisplayName(List displayName); + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, the definition of the concept description that defines the + * semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates. + */ + Optional> getDescription(); + + void setDescription(List description); + + /** Iterate over displayName, if set, and otherwise return an empty enumerable. */ + Iterable overDisplayNameOrEmpty(); + + /** Iterate over description, if set, and otherwise return an empty enumerable. */ + Iterable overDescriptionOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IReference.java b/src/main/java/aas_core/aas3_2/types/model/IReference.java new file mode 100644 index 00000000..a7697c07 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IReference.java @@ -0,0 +1,126 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * Reference to either a model element of the same or another Asset Administration Shell or to an + * external entity. + * + *

A model reference is an ordered list of keys, each key referencing an element. The complete + * list of keys may for example be concatenated to a path that gives unique access to an element. + * + *

An external reference is a reference to an external entity. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-121: For {@link aas_core.aas3_2.types.impl.Reference}'s the value of {@link + * aas_core.aas3_2.types.impl.Key#getType()} of the first key of " {@link #getKeys()} shall be + * one of {@link aas_core.aas3_2.constants.Constants#globallyIdentifiables}. + *
  • Constraint AASd-122: For external references, i.e. {@link + * aas_core.aas3_2.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#EXTERNAL_REFERENCE}, the value of {@link + * aas_core.aas3_2.types.impl.Key#getType()} of the first key of {@link #getKeys()} shall be + * one of {@link aas_core.aas3_2.constants.Constants#genericGloballyIdentifiables}. + *
  • Constraint AASd-123: For model references, i.e. {@link + * aas_core.aas3_2.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#MODEL_REFERENCE}, the value of {@link + * aas_core.aas3_2.types.impl.Key#getType()} of the first key of {@link #getKeys()} shall be + * one of {@link aas_core.aas3_2.constants.Constants#aasIdentifiables}. + *
  • Constraint AASd-124: For external references, i.e. {@link + * aas_core.aas3_2.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#EXTERNAL_REFERENCE}, the last key of {@link + * #getKeys()} shall be either one of {@link + * aas_core.aas3_2.constants.Constants#genericGloballyIdentifiables} or one of {@link + * aas_core.aas3_2.constants.Constants#genericFragmentKeys}. + *
  • Constraint AASd-137: For external references, i.e. {@link + * aas_core.aas3_2.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#EXTERNAL_REFERENCE}, the value of {@link + * aas_core.aas3_2.types.impl.Key#getType()} of any key in {@link #getKeys()} shall not be one + * of {@link aas_core.aas3_2.constants.Constants#aasReferables}. + *
  • Constraint AASd-125: For model references, i.e. {@link + * aas_core.aas3_2.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#MODEL_REFERENCE}, with more than one key in + * {@link #getKeys()} the value of {@link aas_core.aas3_2.types.impl.Key#getType()} of each of + * the keys following the first key of {@link #getKeys()} shall be one of {@link + * aas_core.aas3_2.constants.Constants#fragmentKeys}. + *

    Constraint AASd-125 ensures that the shortest path is used. + *

  • Constraint AASd-126: For model references, i.e. {@link + * aas_core.aas3_2.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#MODEL_REFERENCE}, with more than one key in + * {@link #getKeys()} the value of {@link aas_core.aas3_2.types.impl.Key#getType()} of the + * last key in the reference key chain may be one of {@link + * aas_core.aas3_2.constants.Constants#genericFragmentKeys} or no key at all shall have a + * value out of {@link aas_core.aas3_2.constants.Constants#genericFragmentKeys}. + *
  • Constraint AASd-127: For model references, i.e. {@link + * aas_core.aas3_2.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#MODEL_REFERENCE}, with more than one key in + * {@link #getKeys()} a key with {@link aas_core.aas3_2.types.impl.Key#getType()} {@link + * aas_core.aas3_2.types.enums.KeyTypes#FRAGMENT_REFERENCE} shall be preceded by a key with + * {@link aas_core.aas3_2.types.impl.Key#getType()} {@link + * aas_core.aas3_2.types.enums.KeyTypes#FILE} or {@link + * aas_core.aas3_2.types.enums.KeyTypes#BLOB}. All other AAS fragments, i.e. {@link + * aas_core.aas3_2.types.impl.Key#getType()} values out of {@link + * aas_core.aas3_2.constants.Constants#aasSubmodelElementsAsKeys}, do not support fragments. + *

    Which kind of fragments are supported depends on the content type and the specification + * of allowed fragment identifiers for the corresponding resource being referenced via the + * reference. + *

  • Constraint AASd-128: For model references, i.e. {@link + * aas_core.aas3_2.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#MODEL_REFERENCE}, the {@link + * aas_core.aas3_2.types.impl.Key#getValue()} of a {@link aas_core.aas3_2.types.impl.Key} + * preceded by a {@link aas_core.aas3_2.types.impl.Key} with {@link + * aas_core.aas3_2.types.impl.Key#getType()} = {@link + * aas_core.aas3_2.types.enums.KeyTypes#SUBMODEL_ELEMENT_LIST} is an integer number denoting + * the position in the array of the submodel element list. + *
+ */ +public interface IReference extends IClass { + /** + * Type of the reference. + * + *

Denotes whether the reference is an external reference or a model reference. + */ + ReferenceTypes getType(); + + void setType(ReferenceTypes type); + + /** + * Expected {@link aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} of the referenced + * model element ({@link #getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#MODEL_REFERENCE}); there typically is no semantic ID + * for the referenced object of external references ({@link #getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#EXTERNAL_REFERENCE}). + * + *

If {@link #getReferredSemanticId()} is defined, the {@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} of the model element referenced + * should have a matching semantic ID. If this is not the case, a validator should raise a + * warning. + */ + Optional getReferredSemanticId(); + + void setReferredSemanticId(IReference referredSemanticId); + + /** Unique references in their name space. */ + List getKeys(); + + void setKeys(List keys); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IReferenceAttribute.java b/src/main/java/aas_core/aas3_2/types/model/IReferenceAttribute.java new file mode 100644 index 00000000..32b2a0c2 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IReferenceAttribute.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Refer to an attribute of a specific AAS element. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public interface IReferenceAttribute extends IClass { + /** Reference to the attribute */ + String getReference(); + + void setReference(String reference); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IReferenceElement.java b/src/main/java/aas_core/aas3_2/types/model/IReferenceElement.java new file mode 100644 index 00000000..e6b2dff5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IReferenceElement.java @@ -0,0 +1,34 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * A reference element is a data element that defines a logical reference to another element within + * the same or another Asset Administration Shell or a reference to an external object or entity. + */ +public interface IReferenceElement extends IDataElement { + /** + * External reference to an external object or entity or a logical reference to another element + * within the same or another Asset Administration Shell (i.e. a model reference to a Referable). + */ + Optional getValue(); + + void setValue(IReference value); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IReferenceElementMetadata.java b/src/main/java/aas_core/aas3_2/types/model/IReferenceElementMetadata.java new file mode 100644 index 00000000..3476367c --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IReferenceElementMetadata.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.ReferenceElement}, without its value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface IReferenceElementMetadata extends ISubmodelElementMetadata { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IReferenceElementValue.java b/src/main/java/aas_core/aas3_2/types/model/IReferenceElementValue.java new file mode 100644 index 00000000..61363e8a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IReferenceElementValue.java @@ -0,0 +1,53 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The value of a {@link aas_core.aas3_2.types.impl.ReferenceElement}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface IReferenceElementValue extends IClass { + /** + * Type of the reference. + * + *

Denotes whether the reference is an external reference or a model reference. + */ + ReferenceTypes getType(); + + void setType(ReferenceTypes type); + + /** Unique references in their name space. */ + List getKeys(); + + void setKeys(List keys); + + /** + * Expected {@link aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} of the referenced + * model element. + */ + Optional getReferredSemanticId(); + + void setReferredSemanticId(IReference referredSemanticId); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IRegexComparison.java b/src/main/java/aas_core/aas3_2/types/model/IRegexComparison.java new file mode 100644 index 00000000..e3795716 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IRegexComparison.java @@ -0,0 +1,34 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Check whether the first string operand matches the regular expression given as the second one. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + */ +public interface IRegexComparison extends IClass { + /** The string operand and the regular expression */ + Tuple2 getRegex(); + + void setRegex(Tuple2 regex); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IRelationshipElement.java b/src/main/java/aas_core/aas3_2/types/model/IRelationshipElement.java new file mode 100644 index 00000000..9923e257 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IRelationshipElement.java @@ -0,0 +1,36 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * A relationship element is used to define a relationship between two elements being either + * referable (model reference) or external (external reference). + */ +public interface IRelationshipElement extends ISubmodelElement { + /** Reference to the first element in the relationship taking the role of the subject. */ + Optional getFirst(); + + void setFirst(IReference first); + + /** Reference to the second element in the relationship taking the role of the object. */ + Optional getSecond(); + + void setSecond(IReference second); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IRelationshipElementMetadata.java b/src/main/java/aas_core/aas3_2/types/model/IRelationshipElementMetadata.java new file mode 100644 index 00000000..b819f5d6 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IRelationshipElementMetadata.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.RelationshipElement}, without its value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface IRelationshipElementMetadata extends ISubmodelElementMetadata { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IRelationshipElementValue.java b/src/main/java/aas_core/aas3_2/types/model/IRelationshipElementValue.java new file mode 100644 index 00000000..2624fabd --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IRelationshipElementValue.java @@ -0,0 +1,40 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * The value of a {@link aas_core.aas3_2.types.impl.RelationshipElement}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface IRelationshipElementValue extends IClass { + /** Reference to the first element in the relationship. */ + Optional getFirst(); + + void setFirst(IReference first); + + /** Reference to the second element in the relationship. */ + Optional getSecond(); + + void setSecond(IReference second); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IResource.java b/src/main/java/aas_core/aas3_2/types/model/IResource.java new file mode 100644 index 00000000..78e760a5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IResource.java @@ -0,0 +1,44 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * Resource represents an address to a file (a locator). The value is a URI that can represent an + * absolute or relative path. + */ +public interface IResource extends IClass { + /** + * Path and name of the resource (with file extension). + * + *

The path can be absolute or relative. + */ + String getPath(); + + void setPath(String path); + + /** + * Content type of the content of the file. + * + *

A single content type (MIME type) can have multiple file extensions associated with it. + */ + Optional getContentType(); + + void setContentType(String contentType); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IResult.java b/src/main/java/aas_core/aas3_2/types/model/IResult.java new file mode 100644 index 00000000..543f0d3e --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IResult.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The result object. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#Result + */ +public interface IResult extends IClass { + /** Additional messages containing information for the requester */ + Optional> getMessages(); + + void setMessages(List messages); + + /** Iterate over messages, if set, and otherwise return an empty enumerable. */ + Iterable overMessagesOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ISecurityAttributeObject.java b/src/main/java/aas_core/aas3_2/types/model/ISecurityAttributeObject.java new file mode 100644 index 00000000..989d7e99 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ISecurityAttributeObject.java @@ -0,0 +1,46 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Security attributes as defined by DIN SPEC 16593-2. After the release of DIN SPEC 16593-2, any + * required updates will be made. This class is not part of the metamodel. + * + *

The information in this table is derived from DIN SPEC 16593-2. Required changes need to be + * made by the related DIN working group. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#SecurityAttributeObject + */ +public interface ISecurityAttributeObject extends IClass { + /** Enum security type or standard. */ + SecurityTypeEnum getType(); + + void setType(SecurityTypeEnum type); + + /** Security attribute key according to standard definitions of the security type. */ + String getKey(); + + void setKey(String key); + + /** Security attribute value e.g. DANE TLSA Resource Record. */ + String getValue(); + + void setValue(String value); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IServiceDescription.java b/src/main/java/aas_core/aas3_2/types/model/IServiceDescription.java new file mode 100644 index 00000000..bb49d005 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IServiceDescription.java @@ -0,0 +1,38 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; + +/** + * The self-describing information of an API Implementation. It enables servers to present their + * capabilities to the clients, in particular which profiles they implement. At least one defined + * profile is required. Additional, proprietary attributes might be included. Nevertheless, the + * server must not expect that a regular client understands them. + * + *

This class is not part of the metamodel. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#ServiceDescription + */ +public interface IServiceDescription extends IClass { + /** List of implemented server specification profiles. */ + List getProfiles(); + + void setProfiles(List profiles); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ISpecificAssetId.java b/src/main/java/aas_core/aas3_2/types/model/ISpecificAssetId.java new file mode 100644 index 00000000..ad934023 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ISpecificAssetId.java @@ -0,0 +1,55 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * A specific asset ID describes a generic supplementary identifying attribute of the asset. + * + *

The specific asset ID is not necessarily globally unique. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-133: {@link #getExternalSubjectId()} shall be an external reference, i.e. + * {@link aas_core.aas3_2.types.impl.Reference#getType()} = {@link + * aas_core.aas3_2.types.enums.ReferenceTypes#EXTERNAL_REFERENCE}. + *
+ */ +public interface ISpecificAssetId extends IHasSemantics { + /** Name of the asset identifier. */ + String getName(); + + void setName(String name); + + /** The value of the specific asset identifier with the corresponding name. */ + String getValue(); + + void setValue(String value); + + /** + * The unique ID of the (external) subject the specific asset ID value belongs to or has meaning + * to. + * + *

This is an external reference. + */ + Optional getExternalSubjectId(); + + void setExternalSubjectId(IReference externalSubjectId); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IStartsWithComparison.java b/src/main/java/aas_core/aas3_2/types/model/IStartsWithComparison.java new file mode 100644 index 00000000..23cf4317 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IStartsWithComparison.java @@ -0,0 +1,34 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Check whether the first string operand starts with the second one. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_comparison_operators + */ +public interface IStartsWithComparison extends IClass { + /** The two string operands */ + Tuple2 getStartsWith(); + + void setStartsWith(Tuple2 startsWith); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IStringCast.java b/src/main/java/aas_core/aas3_2/types/model/IStringCast.java new file mode 100644 index 00000000..2b832626 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IStringCast.java @@ -0,0 +1,34 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Cast the operand to {@code xs:string}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#casting + */ +public interface IStringCast extends IClass { + /** The operand to be cast */ + Value getStrCast(); + + void setStrCast(Value strCast); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IStringLiteral.java b/src/main/java/aas_core/aas3_2/types/model/IStringLiteral.java new file mode 100644 index 00000000..31832ed8 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IStringLiteral.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Use a string literal as an operand. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public interface IStringLiteral extends IClass { + /** The string value */ + String getStrVal(); + + void setStrVal(String strVal); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ISubmodel.java b/src/main/java/aas_core/aas3_2/types/model/ISubmodel.java new file mode 100644 index 00000000..61db2b95 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ISubmodel.java @@ -0,0 +1,39 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * A submodel defines a specific aspect of the asset represented by the Asset Administration Shell. + * + *

A submodel is used to structure the digital representation and technical functionality of an + * Administration Shell into distinguishable parts. Each submodel refers to a well-defined domain or + * subject. Submodels can become standardized and, in turn, submodel templates. + */ +public interface ISubmodel + extends IIdentifiable, IHasKind, IHasSemantics, IQualifiable, IHasDataSpecification { + /** Submodel elements contained in the submodel. */ + Optional> getSubmodelElements(); + + void setSubmodelElements(List submodelElements); + + /** Iterate over submodelElements, if set, and otherwise return an empty enumerable. */ + Iterable overSubmodelElementsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ISubmodelDescriptor.java b/src/main/java/aas_core/aas3_2/types/model/ISubmodelDescriptor.java new file mode 100644 index 00000000..f10e0164 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ISubmodelDescriptor.java @@ -0,0 +1,65 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * A descriptor of a submodel. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#SubmodelDescriptor + */ +public interface ISubmodelDescriptor extends IDescriptor { + /** Endpoint of the network resource. */ + List getEndpoints(); + + void setEndpoints(List endpoints); + + /** Globally unique identification of the Submodel. */ + String getId(); + + void setId(String id); + + /** Administrative information of the Submodel. */ + Optional getAdministration(); + + void setAdministration(IAdministrativeInformation administration); + + /** Short name of the Submodel. */ + Optional getIdShort(); + + void setIdShort(String idShort); + + /** Identifier of the semantic definition of the Submodel. */ + Optional getSemanticId(); + + void setSemanticId(IReference semanticId); + + /** + * Identifier of a supplemental semantic definition of the element called supplemental semantic ID + * of the element. + */ + Optional> getSupplementalSemanticIds(); + + void setSupplementalSemanticIds(List supplementalSemanticIds); + + /** Iterate over supplementalSemanticIds, if set, and otherwise return an empty enumerable. */ + Iterable overSupplementalSemanticIdsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ISubmodelElement.java b/src/main/java/aas_core/aas3_2/types/model/ISubmodelElement.java new file mode 100644 index 00000000..1dcff4ab --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ISubmodelElement.java @@ -0,0 +1,43 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * A submodel element is an element suitable for the description and differentiation of assets. + * + *

It is recommended to add a {@link aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} + * to a submodel element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-129: If any {@link aas_core.aas3_2.types.impl.Qualifier#getKind()} value of + * {@link #getQualifiers()} (attribute qualifier inherited via Qualifiable) is equal to {@link + * aas_core.aas3_2.types.enums.QualifierKind#TEMPLATE_QUALIFIER}, the submodel element shall + * be part of a submodel template, i.e. a submodel with {@link + * aas_core.aas3_2.types.impl.Submodel#getKind()} (attribute kind inherited via {@link + * aas_core.aas3_2.types.model.IHasKind}) value equal to {@link + * aas_core.aas3_2.types.enums.ModellingKind#TEMPLATE}. Exception: the submodel element is + * part of an {@link aas_core.aas3_2.types.impl.OperationVariable}. + *
+ */ +public interface ISubmodelElement + extends IReferable, IHasSemantics, IQualifiable, IHasDataSpecification { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ISubmodelElementAttributes.java b/src/main/java/aas_core/aas3_2/types/model/ISubmodelElementAttributes.java new file mode 100644 index 00000000..0a816c53 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ISubmodelElementAttributes.java @@ -0,0 +1,32 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * The attributes shared by all submodel elements, without their value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface ISubmodelElementAttributes + extends IReferable, IHasSemantics, IQualifiable, IHasDataSpecification { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ISubmodelElementCollection.java b/src/main/java/aas_core/aas3_2/types/model/ISubmodelElementCollection.java new file mode 100644 index 00000000..eec5652c --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ISubmodelElementCollection.java @@ -0,0 +1,35 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * A submodel element collection is a kind of struct, i.e. a logical encapsulation of multiple named + * values. + */ +public interface ISubmodelElementCollection extends ISubmodelElement { + /** Submodel element contained in the collection. */ + Optional> getValue(); + + void setValue(List value); + + /** Iterate over value, if set, and otherwise return an empty enumerable. */ + Iterable overValueOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ISubmodelElementCollectionMetadata.java b/src/main/java/aas_core/aas3_2/types/model/ISubmodelElementCollectionMetadata.java new file mode 100644 index 00000000..1a2f1088 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ISubmodelElementCollectionMetadata.java @@ -0,0 +1,32 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.SubmodelElementCollection}, without its + * value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface ISubmodelElementCollectionMetadata extends ISubmodelElementMetadata { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ISubmodelElementList.java b/src/main/java/aas_core/aas3_2/types/model/ISubmodelElementList.java new file mode 100644 index 00000000..c239276c --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ISubmodelElementList.java @@ -0,0 +1,98 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * A submodel element list is an ordered list of submodel elements. + * + *

The list is ordered although the ordering might not be relevant (see {@link + * #getOrderRelevant()}). + * + *

The numbering starts with zero (0). + * + *

Constraints: + * + *

    + *
  • Constraint AASd-107: If a first level child element in a {@link + * aas_core.aas3_2.types.impl.SubmodelElementList} has a {@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} it shall be identical to {@link + * #getSemanticIdListElement()}. + *
  • Constraint AASd-114: If two first level child elements in a {@link + * aas_core.aas3_2.types.impl.SubmodelElementList} have a {@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} then they shall be identical. + *
  • Constraint AASd-115: If a first level child element in a {@link + * aas_core.aas3_2.types.impl.SubmodelElementList} does not specify a {@link + * aas_core.aas3_2.types.model.IHasSemantics#getSemanticId()} then the value is assumed to be + * identical to {@link #getSemanticIdListElement()}. + *
  • Constraint AASd-108: All first level child elements in a {@link + * aas_core.aas3_2.types.impl.SubmodelElementList} shall have the same submodel element type + * as specified in {@link #getTypeValueListElement()}. + *
  • Constraint AASd-109: If {@link #getTypeValueListElement()} is equal to {@link + * aas_core.aas3_2.types.enums.AasSubmodelElements#PROPERTY} or {@link + * aas_core.aas3_2.types.enums.AasSubmodelElements#RANGE} {@link #getValueTypeListElement()} + * shall be set and all first level child elements in the {@link + * aas_core.aas3_2.types.impl.SubmodelElementList} shall have the value type as specified in + * {@link #getValueTypeListElement()}. + *
  • Constraint AASd-138: A {@link aas_core.aas3_2.types.impl.SubmodelElementList} within a + * {@link aas_core.aas3_2.types.impl.Submodel} of {@link + * aas_core.aas3_2.types.model.IHasKind#getKind()} = {@link + * aas_core.aas3_2.types.enums.ModellingKind#TEMPLATE} or as part of an {@link + * aas_core.aas3_2.types.impl.OperationVariable} shall have exactly one element. + *

    This constraint is checked at {@link aas_core.aas3_2.types.impl.Submodel} and {@link + * aas_core.aas3_2.types.impl.Operation}. + *

+ */ +public interface ISubmodelElementList extends ISubmodelElement { + /** + * Defines whether order in list is relevant. If {@link #getOrderRelevant()} = {@code False} then + * the list is representing a set or a bag. + * + *

Default: {@code True} + */ + Optional getOrderRelevant(); + + void setOrderRelevant(Boolean orderRelevant); + + /** Semantic ID the submodel elements contained in the list match to. */ + Optional getSemanticIdListElement(); + + void setSemanticIdListElement(IReference semanticIdListElement); + + /** The submodel element type of the submodel elements contained in the list. */ + AasSubmodelElements getTypeValueListElement(); + + void setTypeValueListElement(AasSubmodelElements typeValueListElement); + + /** The value type of the submodel element contained in the list. */ + Optional getValueTypeListElement(); + + void setValueTypeListElement(DataTypeDefXsd valueTypeListElement); + + /** Submodel element contained in the list. */ + Optional> getValue(); + + void setValue(List value); + + Boolean orderRelevantOrDefault(); + + /** Iterate over value, if set, and otherwise return an empty enumerable. */ + Iterable overValueOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ISubmodelElementListMetadata.java b/src/main/java/aas_core/aas3_2/types/model/ISubmodelElementListMetadata.java new file mode 100644 index 00000000..28948289 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ISubmodelElementListMetadata.java @@ -0,0 +1,50 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.SubmodelElementList}, without its value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface ISubmodelElementListMetadata extends ISubmodelElementMetadata { + /** Defines whether order in the list is relevant. */ + Optional getOrderRelevant(); + + void setOrderRelevant(Boolean orderRelevant); + + /** Semantic ID the submodel elements contained in the list match to. */ + Optional getSemanticIdListElement(); + + void setSemanticIdListElement(IReference semanticIdListElement); + + /** The submodel element type of the submodel elements contained in the list. */ + AasSubmodelElements getTypeValueListElement(); + + void setTypeValueListElement(AasSubmodelElements typeValueListElement); + + /** The value type of the submodel elements contained in the list. */ + Optional getValueTypeListElement(); + + void setValueTypeListElement(DataTypeDefXsd valueTypeListElement); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ISubmodelElementMetadata.java b/src/main/java/aas_core/aas3_2/types/model/ISubmodelElementMetadata.java new file mode 100644 index 00000000..bcec009a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ISubmodelElementMetadata.java @@ -0,0 +1,32 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * The metadata of a submodel element, without its value. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * It is the polymorphic union of all the {@code *Metadata} classes below. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface ISubmodelElementMetadata extends ISubmodelElementAttributes { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ISubmodelMetadata.java b/src/main/java/aas_core/aas3_2/types/model/ISubmodelMetadata.java new file mode 100644 index 00000000..3a717838 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ISubmodelMetadata.java @@ -0,0 +1,32 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * The metadata of a {@link aas_core.aas3_2.types.impl.Submodel}, without its submodel elements. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-operation-parameters.html#SerializationModifier + */ +public interface ISubmodelMetadata + extends IIdentifiable, IHasKind, IHasSemantics, IQualifiable, IHasDataSpecification { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ISubmodelRecentChange.java b/src/main/java/aas_core/aas3_2/types/model/ISubmodelRecentChange.java new file mode 100644 index 00000000..8f65ac4b --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ISubmodelRecentChange.java @@ -0,0 +1,50 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * This class is not part of the metamodel. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/specification/interfaces-payload.html#SubmodelRecentChange + */ +public interface ISubmodelRecentChange extends IRecentChange { + /** Globally unique identification of the Submodel */ + String getId(); + + void setId(String id); + + /** Identifier of the semantic definition of the Submodel */ + Optional getSemanticId(); + + void setSemanticId(IReference semanticId); + + /** + * Identifier of a supplemental semantic definition of the element called supplemental semantic ID + * of the element + */ + Optional> getSupplementalSemanticIds(); + + void setSupplementalSemanticIds(List supplementalSemanticIds); + + /** Iterate over supplementalSemanticIds, if set, and otherwise return an empty enumerable. */ + Iterable overSupplementalSemanticIdsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ITimeCast.java b/src/main/java/aas_core/aas3_2/types/model/ITimeCast.java new file mode 100644 index 00000000..aefc34f5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ITimeCast.java @@ -0,0 +1,34 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Cast the string or date-time operand to {@code xs:time}. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#casting + */ +public interface ITimeCast extends IClass { + /** The operand to be cast */ + TimeCastOperand getTimeCast(); + + void setTimeCast(TimeCastOperand timeCast); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/ITimeLiteral.java b/src/main/java/aas_core/aas3_2/types/model/ITimeLiteral.java new file mode 100644 index 00000000..e305dfd8 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/ITimeLiteral.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Use a time literal as an operand. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public interface ITimeLiteral extends IClass { + /** The time value */ + String getTimeVal(); + + void setTimeVal(String timeVal); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IUnion.java b/src/main/java/aas_core/aas3_2/types/model/IUnion.java new file mode 100644 index 00000000..50907ccd --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IUnion.java @@ -0,0 +1,27 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +/** Represent an instance of a named union of one or more classes. */ +public interface IUnion> { + /** Get the underlying instance regardless of the concrete case. */ + IClass getUnderlying(); + + /** + * Wrap {@code that} as an instance of the same union type as this instance, based on its run-time + * type. + */ + T withUnderlying(IClass that); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IValueList.java b/src/main/java/aas_core/aas3_2/types/model/IValueList.java new file mode 100644 index 00000000..84e78329 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IValueList.java @@ -0,0 +1,28 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.List; + +/** A set of value reference pairs. */ +public interface IValueList extends IClass { + /** A pair of a value together with its global unique id. */ + List getValueReferencePairs(); + + void setValueReferencePairs(List valueReferencePairs); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IValueReferencePair.java b/src/main/java/aas_core/aas3_2/types/model/IValueReferencePair.java new file mode 100644 index 00000000..572e187e --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IValueReferencePair.java @@ -0,0 +1,40 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.util.Optional; + +/** + * A value reference pair within a value list. Each value has a global unique id defining its + * semantic. + */ +public interface IValueReferencePair extends IClass { + /** The value of the referenced concept definition of the value in {@link #getValueId()}. */ + String getValue(); + + void setValue(String value); + + /** + * Global unique id of the value. + * + *

It is recommended to use a global reference. + */ + Optional getValueId(); + + void setValueId(IReference valueId); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/IYear.java b/src/main/java/aas_core/aas3_2/types/model/IYear.java new file mode 100644 index 00000000..a444c604 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/IYear.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; + +/** + * Extract the year from the date-time operand as a number. + * + *

This class is not part of the metamodel and is not itself a named class in the specification. + */ +public interface IYear extends IClass { + /** The date-time operand */ + DateTimeOperand getYear(); + + void setYear(DateTimeOperand year); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/LogicalExpression.java b/src/main/java/aas_core/aas3_2/types/model/LogicalExpression.java new file mode 100644 index 00000000..43ad3591 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/LogicalExpression.java @@ -0,0 +1,500 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +/** + * Represent a union of {@link IAndExpression}, {@link IOrExpression}, {@link INotExpression}, + * {@link IBooleanLiteral}, {@link IMatchClause}, {@link IEqualComparison}, {@link + * INotEqualComparison}, {@link IGreaterThanComparison}, {@link IGreaterThanOrEqualComparison}, + * {@link ILessThanComparison}, {@link ILessThanOrEqualComparison}, {@link IContainsComparison}, + * {@link IStartsWithComparison}, {@link IEndsWithComparison}, and {@link IRegexComparison}. + */ +public class LogicalExpression implements IUnion { + private enum ValueKind { + AND_EXPRESSION, + OR_EXPRESSION, + NOT_EXPRESSION, + BOOLEAN_LITERAL, + MATCH_CLAUSE, + EQUAL_COMPARISON, + NOT_EQUAL_COMPARISON, + GREATER_THAN_COMPARISON, + GREATER_THAN_OR_EQUAL_COMPARISON, + LESS_THAN_COMPARISON, + LESS_THAN_OR_EQUAL_COMPARISON, + CONTAINS_COMPARISON, + STARTS_WITH_COMPARISON, + ENDS_WITH_COMPARISON, + REGEX_COMPARISON + } + + private final ValueKind valueKind; + private final IAndExpression asAndExpression; + private final IOrExpression asOrExpression; + private final INotExpression asNotExpression; + private final IBooleanLiteral asBooleanLiteral; + private final IMatchClause asMatchClause; + private final IEqualComparison asEqualComparison; + private final INotEqualComparison asNotEqualComparison; + private final IGreaterThanComparison asGreaterThanComparison; + private final IGreaterThanOrEqualComparison asGreaterThanOrEqualComparison; + private final ILessThanComparison asLessThanComparison; + private final ILessThanOrEqualComparison asLessThanOrEqualComparison; + private final IContainsComparison asContainsComparison; + private final IStartsWithComparison asStartsWithComparison; + private final IEndsWithComparison asEndsWithComparison; + private final IRegexComparison asRegexComparison; + + private LogicalExpression( + ValueKind valueKind, + IAndExpression asAndExpression, + IOrExpression asOrExpression, + INotExpression asNotExpression, + IBooleanLiteral asBooleanLiteral, + IMatchClause asMatchClause, + IEqualComparison asEqualComparison, + INotEqualComparison asNotEqualComparison, + IGreaterThanComparison asGreaterThanComparison, + IGreaterThanOrEqualComparison asGreaterThanOrEqualComparison, + ILessThanComparison asLessThanComparison, + ILessThanOrEqualComparison asLessThanOrEqualComparison, + IContainsComparison asContainsComparison, + IStartsWithComparison asStartsWithComparison, + IEndsWithComparison asEndsWithComparison, + IRegexComparison asRegexComparison) { + this.valueKind = valueKind; + this.asAndExpression = asAndExpression; + this.asOrExpression = asOrExpression; + this.asNotExpression = asNotExpression; + this.asBooleanLiteral = asBooleanLiteral; + this.asMatchClause = asMatchClause; + this.asEqualComparison = asEqualComparison; + this.asNotEqualComparison = asNotEqualComparison; + this.asGreaterThanComparison = asGreaterThanComparison; + this.asGreaterThanOrEqualComparison = asGreaterThanOrEqualComparison; + this.asLessThanComparison = asLessThanComparison; + this.asLessThanOrEqualComparison = asLessThanOrEqualComparison; + this.asContainsComparison = asContainsComparison; + this.asStartsWithComparison = asStartsWithComparison; + this.asEndsWithComparison = asEndsWithComparison; + this.asRegexComparison = asRegexComparison; + } + + /** Wrap {@code that} as an instance of {@link LogicalExpression}. */ + public static LogicalExpression fromAndExpression(IAndExpression that) { + return new LogicalExpression( + ValueKind.AND_EXPRESSION, + that, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link LogicalExpression}. */ + public static LogicalExpression fromOrExpression(IOrExpression that) { + return new LogicalExpression( + ValueKind.OR_EXPRESSION, + null, + that, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link LogicalExpression}. */ + public static LogicalExpression fromNotExpression(INotExpression that) { + return new LogicalExpression( + ValueKind.NOT_EXPRESSION, + null, + null, + that, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link LogicalExpression}. */ + public static LogicalExpression fromBooleanLiteral(IBooleanLiteral that) { + return new LogicalExpression( + ValueKind.BOOLEAN_LITERAL, + null, + null, + null, + that, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link LogicalExpression}. */ + public static LogicalExpression fromMatchClause(IMatchClause that) { + return new LogicalExpression( + ValueKind.MATCH_CLAUSE, + null, + null, + null, + null, + that, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link LogicalExpression}. */ + public static LogicalExpression fromEqualComparison(IEqualComparison that) { + return new LogicalExpression( + ValueKind.EQUAL_COMPARISON, + null, + null, + null, + null, + null, + that, + null, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link LogicalExpression}. */ + public static LogicalExpression fromNotEqualComparison(INotEqualComparison that) { + return new LogicalExpression( + ValueKind.NOT_EQUAL_COMPARISON, + null, + null, + null, + null, + null, + null, + that, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link LogicalExpression}. */ + public static LogicalExpression fromGreaterThanComparison(IGreaterThanComparison that) { + return new LogicalExpression( + ValueKind.GREATER_THAN_COMPARISON, + null, + null, + null, + null, + null, + null, + null, + that, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link LogicalExpression}. */ + public static LogicalExpression fromGreaterThanOrEqualComparison( + IGreaterThanOrEqualComparison that) { + return new LogicalExpression( + ValueKind.GREATER_THAN_OR_EQUAL_COMPARISON, + null, + null, + null, + null, + null, + null, + null, + null, + that, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link LogicalExpression}. */ + public static LogicalExpression fromLessThanComparison(ILessThanComparison that) { + return new LogicalExpression( + ValueKind.LESS_THAN_COMPARISON, + null, + null, + null, + null, + null, + null, + null, + null, + null, + that, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link LogicalExpression}. */ + public static LogicalExpression fromLessThanOrEqualComparison(ILessThanOrEqualComparison that) { + return new LogicalExpression( + ValueKind.LESS_THAN_OR_EQUAL_COMPARISON, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + that, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link LogicalExpression}. */ + public static LogicalExpression fromContainsComparison(IContainsComparison that) { + return new LogicalExpression( + ValueKind.CONTAINS_COMPARISON, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + that, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link LogicalExpression}. */ + public static LogicalExpression fromStartsWithComparison(IStartsWithComparison that) { + return new LogicalExpression( + ValueKind.STARTS_WITH_COMPARISON, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + that, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link LogicalExpression}. */ + public static LogicalExpression fromEndsWithComparison(IEndsWithComparison that) { + return new LogicalExpression( + ValueKind.ENDS_WITH_COMPARISON, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + that, + null); + } + + /** Wrap {@code that} as an instance of {@link LogicalExpression}. */ + public static LogicalExpression fromRegexComparison(IRegexComparison that) { + return new LogicalExpression( + ValueKind.REGEX_COMPARISON, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + that); + } + + /** Get the underlying instance regardless of the concrete case. */ + @Override + public IClass getUnderlying() { + switch (valueKind) { + case AND_EXPRESSION: + return asAndExpression; + case OR_EXPRESSION: + return asOrExpression; + case NOT_EXPRESSION: + return asNotExpression; + case BOOLEAN_LITERAL: + return asBooleanLiteral; + case MATCH_CLAUSE: + return asMatchClause; + case EQUAL_COMPARISON: + return asEqualComparison; + case NOT_EQUAL_COMPARISON: + return asNotEqualComparison; + case GREATER_THAN_COMPARISON: + return asGreaterThanComparison; + case GREATER_THAN_OR_EQUAL_COMPARISON: + return asGreaterThanOrEqualComparison; + case LESS_THAN_COMPARISON: + return asLessThanComparison; + case LESS_THAN_OR_EQUAL_COMPARISON: + return asLessThanOrEqualComparison; + case CONTAINS_COMPARISON: + return asContainsComparison; + case STARTS_WITH_COMPARISON: + return asStartsWithComparison; + case ENDS_WITH_COMPARISON: + return asEndsWithComparison; + case REGEX_COMPARISON: + return asRegexComparison; + default: + throw new IllegalStateException(String.format("Unexpected value kind: %s", valueKind)); + } + } + + /** Wrap {@code that} as an instance of {@link LogicalExpression} based on its run-time type. */ + public static LogicalExpression fromUnderlying(IClass that) { + if (that instanceof IAndExpression) { + return fromAndExpression((IAndExpression) that); + } else if (that instanceof IOrExpression) { + return fromOrExpression((IOrExpression) that); + } else if (that instanceof INotExpression) { + return fromNotExpression((INotExpression) that); + } else if (that instanceof IBooleanLiteral) { + return fromBooleanLiteral((IBooleanLiteral) that); + } else if (that instanceof IMatchClause) { + return fromMatchClause((IMatchClause) that); + } else if (that instanceof IEqualComparison) { + return fromEqualComparison((IEqualComparison) that); + } else if (that instanceof INotEqualComparison) { + return fromNotEqualComparison((INotEqualComparison) that); + } else if (that instanceof IGreaterThanComparison) { + return fromGreaterThanComparison((IGreaterThanComparison) that); + } else if (that instanceof IGreaterThanOrEqualComparison) { + return fromGreaterThanOrEqualComparison((IGreaterThanOrEqualComparison) that); + } else if (that instanceof ILessThanComparison) { + return fromLessThanComparison((ILessThanComparison) that); + } else if (that instanceof ILessThanOrEqualComparison) { + return fromLessThanOrEqualComparison((ILessThanOrEqualComparison) that); + } else if (that instanceof IContainsComparison) { + return fromContainsComparison((IContainsComparison) that); + } else if (that instanceof IStartsWithComparison) { + return fromStartsWithComparison((IStartsWithComparison) that); + } else if (that instanceof IEndsWithComparison) { + return fromEndsWithComparison((IEndsWithComparison) that); + } else if (that instanceof IRegexComparison) { + return fromRegexComparison((IRegexComparison) that); + } else { + throw new IllegalArgumentException( + String.format( + "Unexpected run-time type for the union LogicalExpression: %s", that.getClass())); + } + } + + /** + * Wrap {@code that} as an instance of {@link LogicalExpression} based on its run-time type. + * + *

This is the instance-level counterpart of {@link LogicalExpression#fromUnderlying}, needed + * so that a generic method dispatching on {@link IUnion} can re-wrap a transformed or copied + * value without knowing the concrete union type at compile time. + */ + @Override + public LogicalExpression withUnderlying(IClass that) { + return LogicalExpression.fromUnderlying(that); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/MatchExpression.java b/src/main/java/aas_core/aas3_2/types/model/MatchExpression.java new file mode 100644 index 00000000..a6b5a058 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/MatchExpression.java @@ -0,0 +1,328 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +/** + * Represent a union of {@link IMatchClause}, {@link IEqualComparison}, {@link INotEqualComparison}, + * {@link IGreaterThanComparison}, {@link IGreaterThanOrEqualComparison}, {@link + * ILessThanComparison}, {@link ILessThanOrEqualComparison}, {@link IContainsComparison}, {@link + * IStartsWithComparison}, {@link IEndsWithComparison}, and {@link IRegexComparison}. + */ +public class MatchExpression implements IUnion { + private enum ValueKind { + MATCH_CLAUSE, + EQUAL_COMPARISON, + NOT_EQUAL_COMPARISON, + GREATER_THAN_COMPARISON, + GREATER_THAN_OR_EQUAL_COMPARISON, + LESS_THAN_COMPARISON, + LESS_THAN_OR_EQUAL_COMPARISON, + CONTAINS_COMPARISON, + STARTS_WITH_COMPARISON, + ENDS_WITH_COMPARISON, + REGEX_COMPARISON + } + + private final ValueKind valueKind; + private final IMatchClause asMatchClause; + private final IEqualComparison asEqualComparison; + private final INotEqualComparison asNotEqualComparison; + private final IGreaterThanComparison asGreaterThanComparison; + private final IGreaterThanOrEqualComparison asGreaterThanOrEqualComparison; + private final ILessThanComparison asLessThanComparison; + private final ILessThanOrEqualComparison asLessThanOrEqualComparison; + private final IContainsComparison asContainsComparison; + private final IStartsWithComparison asStartsWithComparison; + private final IEndsWithComparison asEndsWithComparison; + private final IRegexComparison asRegexComparison; + + private MatchExpression( + ValueKind valueKind, + IMatchClause asMatchClause, + IEqualComparison asEqualComparison, + INotEqualComparison asNotEqualComparison, + IGreaterThanComparison asGreaterThanComparison, + IGreaterThanOrEqualComparison asGreaterThanOrEqualComparison, + ILessThanComparison asLessThanComparison, + ILessThanOrEqualComparison asLessThanOrEqualComparison, + IContainsComparison asContainsComparison, + IStartsWithComparison asStartsWithComparison, + IEndsWithComparison asEndsWithComparison, + IRegexComparison asRegexComparison) { + this.valueKind = valueKind; + this.asMatchClause = asMatchClause; + this.asEqualComparison = asEqualComparison; + this.asNotEqualComparison = asNotEqualComparison; + this.asGreaterThanComparison = asGreaterThanComparison; + this.asGreaterThanOrEqualComparison = asGreaterThanOrEqualComparison; + this.asLessThanComparison = asLessThanComparison; + this.asLessThanOrEqualComparison = asLessThanOrEqualComparison; + this.asContainsComparison = asContainsComparison; + this.asStartsWithComparison = asStartsWithComparison; + this.asEndsWithComparison = asEndsWithComparison; + this.asRegexComparison = asRegexComparison; + } + + /** Wrap {@code that} as an instance of {@link MatchExpression}. */ + public static MatchExpression fromMatchClause(IMatchClause that) { + return new MatchExpression( + ValueKind.MATCH_CLAUSE, that, null, null, null, null, null, null, null, null, null, null); + } + + /** Wrap {@code that} as an instance of {@link MatchExpression}. */ + public static MatchExpression fromEqualComparison(IEqualComparison that) { + return new MatchExpression( + ValueKind.EQUAL_COMPARISON, + null, + that, + null, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link MatchExpression}. */ + public static MatchExpression fromNotEqualComparison(INotEqualComparison that) { + return new MatchExpression( + ValueKind.NOT_EQUAL_COMPARISON, + null, + null, + that, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link MatchExpression}. */ + public static MatchExpression fromGreaterThanComparison(IGreaterThanComparison that) { + return new MatchExpression( + ValueKind.GREATER_THAN_COMPARISON, + null, + null, + null, + that, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link MatchExpression}. */ + public static MatchExpression fromGreaterThanOrEqualComparison( + IGreaterThanOrEqualComparison that) { + return new MatchExpression( + ValueKind.GREATER_THAN_OR_EQUAL_COMPARISON, + null, + null, + null, + null, + that, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link MatchExpression}. */ + public static MatchExpression fromLessThanComparison(ILessThanComparison that) { + return new MatchExpression( + ValueKind.LESS_THAN_COMPARISON, + null, + null, + null, + null, + null, + that, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link MatchExpression}. */ + public static MatchExpression fromLessThanOrEqualComparison(ILessThanOrEqualComparison that) { + return new MatchExpression( + ValueKind.LESS_THAN_OR_EQUAL_COMPARISON, + null, + null, + null, + null, + null, + null, + that, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link MatchExpression}. */ + public static MatchExpression fromContainsComparison(IContainsComparison that) { + return new MatchExpression( + ValueKind.CONTAINS_COMPARISON, + null, + null, + null, + null, + null, + null, + null, + that, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link MatchExpression}. */ + public static MatchExpression fromStartsWithComparison(IStartsWithComparison that) { + return new MatchExpression( + ValueKind.STARTS_WITH_COMPARISON, + null, + null, + null, + null, + null, + null, + null, + null, + that, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link MatchExpression}. */ + public static MatchExpression fromEndsWithComparison(IEndsWithComparison that) { + return new MatchExpression( + ValueKind.ENDS_WITH_COMPARISON, + null, + null, + null, + null, + null, + null, + null, + null, + null, + that, + null); + } + + /** Wrap {@code that} as an instance of {@link MatchExpression}. */ + public static MatchExpression fromRegexComparison(IRegexComparison that) { + return new MatchExpression( + ValueKind.REGEX_COMPARISON, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + that); + } + + /** Get the underlying instance regardless of the concrete case. */ + @Override + public IClass getUnderlying() { + switch (valueKind) { + case MATCH_CLAUSE: + return asMatchClause; + case EQUAL_COMPARISON: + return asEqualComparison; + case NOT_EQUAL_COMPARISON: + return asNotEqualComparison; + case GREATER_THAN_COMPARISON: + return asGreaterThanComparison; + case GREATER_THAN_OR_EQUAL_COMPARISON: + return asGreaterThanOrEqualComparison; + case LESS_THAN_COMPARISON: + return asLessThanComparison; + case LESS_THAN_OR_EQUAL_COMPARISON: + return asLessThanOrEqualComparison; + case CONTAINS_COMPARISON: + return asContainsComparison; + case STARTS_WITH_COMPARISON: + return asStartsWithComparison; + case ENDS_WITH_COMPARISON: + return asEndsWithComparison; + case REGEX_COMPARISON: + return asRegexComparison; + default: + throw new IllegalStateException(String.format("Unexpected value kind: %s", valueKind)); + } + } + + /** Wrap {@code that} as an instance of {@link MatchExpression} based on its run-time type. */ + public static MatchExpression fromUnderlying(IClass that) { + if (that instanceof IMatchClause) { + return fromMatchClause((IMatchClause) that); + } else if (that instanceof IEqualComparison) { + return fromEqualComparison((IEqualComparison) that); + } else if (that instanceof INotEqualComparison) { + return fromNotEqualComparison((INotEqualComparison) that); + } else if (that instanceof IGreaterThanComparison) { + return fromGreaterThanComparison((IGreaterThanComparison) that); + } else if (that instanceof IGreaterThanOrEqualComparison) { + return fromGreaterThanOrEqualComparison((IGreaterThanOrEqualComparison) that); + } else if (that instanceof ILessThanComparison) { + return fromLessThanComparison((ILessThanComparison) that); + } else if (that instanceof ILessThanOrEqualComparison) { + return fromLessThanOrEqualComparison((ILessThanOrEqualComparison) that); + } else if (that instanceof IContainsComparison) { + return fromContainsComparison((IContainsComparison) that); + } else if (that instanceof IStartsWithComparison) { + return fromStartsWithComparison((IStartsWithComparison) that); + } else if (that instanceof IEndsWithComparison) { + return fromEndsWithComparison((IEndsWithComparison) that); + } else if (that instanceof IRegexComparison) { + return fromRegexComparison((IRegexComparison) that); + } else { + throw new IllegalArgumentException( + String.format( + "Unexpected run-time type for the union MatchExpression: %s", that.getClass())); + } + } + + /** + * Wrap {@code that} as an instance of {@link MatchExpression} based on its run-time type. + * + *

This is the instance-level counterpart of {@link MatchExpression#fromUnderlying}, needed so + * that a generic method dispatching on {@link IUnion} can re-wrap a transformed or copied value + * without knowing the concrete union type at compile time. + */ + @Override + public MatchExpression withUnderlying(IClass that) { + return MatchExpression.fromUnderlying(that); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/NumericalOperand.java b/src/main/java/aas_core/aas3_2/types/model/NumericalOperand.java new file mode 100644 index 00000000..68fe1776 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/NumericalOperand.java @@ -0,0 +1,139 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +/** + * Represent a union of {@link INumberLiteral}, {@link INumberCast}, {@link IDayOfWeek}, {@link + * IDayOfMonth}, {@link IMonth}, and {@link IYear}. + */ +public class NumericalOperand implements IUnion { + private enum ValueKind { + NUMBER_LITERAL, + NUMBER_CAST, + DAY_OF_WEEK, + DAY_OF_MONTH, + MONTH, + YEAR + } + + private final ValueKind valueKind; + private final INumberLiteral asNumberLiteral; + private final INumberCast asNumberCast; + private final IDayOfWeek asDayOfWeek; + private final IDayOfMonth asDayOfMonth; + private final IMonth asMonth; + private final IYear asYear; + + private NumericalOperand( + ValueKind valueKind, + INumberLiteral asNumberLiteral, + INumberCast asNumberCast, + IDayOfWeek asDayOfWeek, + IDayOfMonth asDayOfMonth, + IMonth asMonth, + IYear asYear) { + this.valueKind = valueKind; + this.asNumberLiteral = asNumberLiteral; + this.asNumberCast = asNumberCast; + this.asDayOfWeek = asDayOfWeek; + this.asDayOfMonth = asDayOfMonth; + this.asMonth = asMonth; + this.asYear = asYear; + } + + /** Wrap {@code that} as an instance of {@link NumericalOperand}. */ + public static NumericalOperand fromNumberLiteral(INumberLiteral that) { + return new NumericalOperand(ValueKind.NUMBER_LITERAL, that, null, null, null, null, null); + } + + /** Wrap {@code that} as an instance of {@link NumericalOperand}. */ + public static NumericalOperand fromNumberCast(INumberCast that) { + return new NumericalOperand(ValueKind.NUMBER_CAST, null, that, null, null, null, null); + } + + /** Wrap {@code that} as an instance of {@link NumericalOperand}. */ + public static NumericalOperand fromDayOfWeek(IDayOfWeek that) { + return new NumericalOperand(ValueKind.DAY_OF_WEEK, null, null, that, null, null, null); + } + + /** Wrap {@code that} as an instance of {@link NumericalOperand}. */ + public static NumericalOperand fromDayOfMonth(IDayOfMonth that) { + return new NumericalOperand(ValueKind.DAY_OF_MONTH, null, null, null, that, null, null); + } + + /** Wrap {@code that} as an instance of {@link NumericalOperand}. */ + public static NumericalOperand fromMonth(IMonth that) { + return new NumericalOperand(ValueKind.MONTH, null, null, null, null, that, null); + } + + /** Wrap {@code that} as an instance of {@link NumericalOperand}. */ + public static NumericalOperand fromYear(IYear that) { + return new NumericalOperand(ValueKind.YEAR, null, null, null, null, null, that); + } + + /** Get the underlying instance regardless of the concrete case. */ + @Override + public IClass getUnderlying() { + switch (valueKind) { + case NUMBER_LITERAL: + return asNumberLiteral; + case NUMBER_CAST: + return asNumberCast; + case DAY_OF_WEEK: + return asDayOfWeek; + case DAY_OF_MONTH: + return asDayOfMonth; + case MONTH: + return asMonth; + case YEAR: + return asYear; + default: + throw new IllegalStateException(String.format("Unexpected value kind: %s", valueKind)); + } + } + + /** Wrap {@code that} as an instance of {@link NumericalOperand} based on its run-time type. */ + public static NumericalOperand fromUnderlying(IClass that) { + if (that instanceof INumberLiteral) { + return fromNumberLiteral((INumberLiteral) that); + } else if (that instanceof INumberCast) { + return fromNumberCast((INumberCast) that); + } else if (that instanceof IDayOfWeek) { + return fromDayOfWeek((IDayOfWeek) that); + } else if (that instanceof IDayOfMonth) { + return fromDayOfMonth((IDayOfMonth) that); + } else if (that instanceof IMonth) { + return fromMonth((IMonth) that); + } else if (that instanceof IYear) { + return fromYear((IYear) that); + } else { + throw new IllegalArgumentException( + String.format( + "Unexpected run-time type for the union NumericalOperand: %s", that.getClass())); + } + } + + /** + * Wrap {@code that} as an instance of {@link NumericalOperand} based on its run-time type. + * + *

This is the instance-level counterpart of {@link NumericalOperand#fromUnderlying}, needed so + * that a generic method dispatching on {@link IUnion} can re-wrap a transformed or copied value + * without knowing the concrete union type at compile time. + */ + @Override + public NumericalOperand withUnderlying(IClass that) { + return NumericalOperand.fromUnderlying(that); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/StringValue.java b/src/main/java/aas_core/aas3_2/types/model/StringValue.java new file mode 100644 index 00000000..fd133836 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/StringValue.java @@ -0,0 +1,112 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +/** + * Represent a union of {@link IFieldOperand}, {@link IStringLiteral}, {@link IStringCast}, and + * {@link IAttributeOperand}. + */ +public class StringValue implements IUnion { + private enum ValueKind { + FIELD_OPERAND, + STRING_LITERAL, + STRING_CAST, + ATTRIBUTE_OPERAND + } + + private final ValueKind valueKind; + private final IFieldOperand asFieldOperand; + private final IStringLiteral asStringLiteral; + private final IStringCast asStringCast; + private final IAttributeOperand asAttributeOperand; + + private StringValue( + ValueKind valueKind, + IFieldOperand asFieldOperand, + IStringLiteral asStringLiteral, + IStringCast asStringCast, + IAttributeOperand asAttributeOperand) { + this.valueKind = valueKind; + this.asFieldOperand = asFieldOperand; + this.asStringLiteral = asStringLiteral; + this.asStringCast = asStringCast; + this.asAttributeOperand = asAttributeOperand; + } + + /** Wrap {@code that} as an instance of {@link StringValue}. */ + public static StringValue fromFieldOperand(IFieldOperand that) { + return new StringValue(ValueKind.FIELD_OPERAND, that, null, null, null); + } + + /** Wrap {@code that} as an instance of {@link StringValue}. */ + public static StringValue fromStringLiteral(IStringLiteral that) { + return new StringValue(ValueKind.STRING_LITERAL, null, that, null, null); + } + + /** Wrap {@code that} as an instance of {@link StringValue}. */ + public static StringValue fromStringCast(IStringCast that) { + return new StringValue(ValueKind.STRING_CAST, null, null, that, null); + } + + /** Wrap {@code that} as an instance of {@link StringValue}. */ + public static StringValue fromAttributeOperand(IAttributeOperand that) { + return new StringValue(ValueKind.ATTRIBUTE_OPERAND, null, null, null, that); + } + + /** Get the underlying instance regardless of the concrete case. */ + @Override + public IClass getUnderlying() { + switch (valueKind) { + case FIELD_OPERAND: + return asFieldOperand; + case STRING_LITERAL: + return asStringLiteral; + case STRING_CAST: + return asStringCast; + case ATTRIBUTE_OPERAND: + return asAttributeOperand; + default: + throw new IllegalStateException(String.format("Unexpected value kind: %s", valueKind)); + } + } + + /** Wrap {@code that} as an instance of {@link StringValue} based on its run-time type. */ + public static StringValue fromUnderlying(IClass that) { + if (that instanceof IFieldOperand) { + return fromFieldOperand((IFieldOperand) that); + } else if (that instanceof IStringLiteral) { + return fromStringLiteral((IStringLiteral) that); + } else if (that instanceof IStringCast) { + return fromStringCast((IStringCast) that); + } else if (that instanceof IAttributeOperand) { + return fromAttributeOperand((IAttributeOperand) that); + } else { + throw new IllegalArgumentException( + String.format("Unexpected run-time type for the union StringValue: %s", that.getClass())); + } + } + + /** + * Wrap {@code that} as an instance of {@link StringValue} based on its run-time type. + * + *

This is the instance-level counterpart of {@link StringValue#fromUnderlying}, needed so that + * a generic method dispatching on {@link IUnion} can re-wrap a transformed or copied value + * without knowing the concrete union type at compile time. + */ + @Override + public StringValue withUnderlying(IClass that) { + return StringValue.fromUnderlying(that); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/TimeCastOperand.java b/src/main/java/aas_core/aas3_2/types/model/TimeCastOperand.java new file mode 100644 index 00000000..ac2060ac --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/TimeCastOperand.java @@ -0,0 +1,139 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +/** + * Represent a union of {@link IFieldOperand}, {@link IStringLiteral}, {@link IStringCast}, {@link + * IAttributeOperand}, {@link IDateTimeLiteral}, and {@link IDateTimeCast}. + */ +public class TimeCastOperand implements IUnion { + private enum ValueKind { + FIELD_OPERAND, + STRING_LITERAL, + STRING_CAST, + ATTRIBUTE_OPERAND, + DATE_TIME_LITERAL, + DATE_TIME_CAST + } + + private final ValueKind valueKind; + private final IFieldOperand asFieldOperand; + private final IStringLiteral asStringLiteral; + private final IStringCast asStringCast; + private final IAttributeOperand asAttributeOperand; + private final IDateTimeLiteral asDateTimeLiteral; + private final IDateTimeCast asDateTimeCast; + + private TimeCastOperand( + ValueKind valueKind, + IFieldOperand asFieldOperand, + IStringLiteral asStringLiteral, + IStringCast asStringCast, + IAttributeOperand asAttributeOperand, + IDateTimeLiteral asDateTimeLiteral, + IDateTimeCast asDateTimeCast) { + this.valueKind = valueKind; + this.asFieldOperand = asFieldOperand; + this.asStringLiteral = asStringLiteral; + this.asStringCast = asStringCast; + this.asAttributeOperand = asAttributeOperand; + this.asDateTimeLiteral = asDateTimeLiteral; + this.asDateTimeCast = asDateTimeCast; + } + + /** Wrap {@code that} as an instance of {@link TimeCastOperand}. */ + public static TimeCastOperand fromFieldOperand(IFieldOperand that) { + return new TimeCastOperand(ValueKind.FIELD_OPERAND, that, null, null, null, null, null); + } + + /** Wrap {@code that} as an instance of {@link TimeCastOperand}. */ + public static TimeCastOperand fromStringLiteral(IStringLiteral that) { + return new TimeCastOperand(ValueKind.STRING_LITERAL, null, that, null, null, null, null); + } + + /** Wrap {@code that} as an instance of {@link TimeCastOperand}. */ + public static TimeCastOperand fromStringCast(IStringCast that) { + return new TimeCastOperand(ValueKind.STRING_CAST, null, null, that, null, null, null); + } + + /** Wrap {@code that} as an instance of {@link TimeCastOperand}. */ + public static TimeCastOperand fromAttributeOperand(IAttributeOperand that) { + return new TimeCastOperand(ValueKind.ATTRIBUTE_OPERAND, null, null, null, that, null, null); + } + + /** Wrap {@code that} as an instance of {@link TimeCastOperand}. */ + public static TimeCastOperand fromDateTimeLiteral(IDateTimeLiteral that) { + return new TimeCastOperand(ValueKind.DATE_TIME_LITERAL, null, null, null, null, that, null); + } + + /** Wrap {@code that} as an instance of {@link TimeCastOperand}. */ + public static TimeCastOperand fromDateTimeCast(IDateTimeCast that) { + return new TimeCastOperand(ValueKind.DATE_TIME_CAST, null, null, null, null, null, that); + } + + /** Get the underlying instance regardless of the concrete case. */ + @Override + public IClass getUnderlying() { + switch (valueKind) { + case FIELD_OPERAND: + return asFieldOperand; + case STRING_LITERAL: + return asStringLiteral; + case STRING_CAST: + return asStringCast; + case ATTRIBUTE_OPERAND: + return asAttributeOperand; + case DATE_TIME_LITERAL: + return asDateTimeLiteral; + case DATE_TIME_CAST: + return asDateTimeCast; + default: + throw new IllegalStateException(String.format("Unexpected value kind: %s", valueKind)); + } + } + + /** Wrap {@code that} as an instance of {@link TimeCastOperand} based on its run-time type. */ + public static TimeCastOperand fromUnderlying(IClass that) { + if (that instanceof IFieldOperand) { + return fromFieldOperand((IFieldOperand) that); + } else if (that instanceof IStringLiteral) { + return fromStringLiteral((IStringLiteral) that); + } else if (that instanceof IStringCast) { + return fromStringCast((IStringCast) that); + } else if (that instanceof IAttributeOperand) { + return fromAttributeOperand((IAttributeOperand) that); + } else if (that instanceof IDateTimeLiteral) { + return fromDateTimeLiteral((IDateTimeLiteral) that); + } else if (that instanceof IDateTimeCast) { + return fromDateTimeCast((IDateTimeCast) that); + } else { + throw new IllegalArgumentException( + String.format( + "Unexpected run-time type for the union TimeCastOperand: %s", that.getClass())); + } + } + + /** + * Wrap {@code that} as an instance of {@link TimeCastOperand} based on its run-time type. + * + *

This is the instance-level counterpart of {@link TimeCastOperand#fromUnderlying}, needed so + * that a generic method dispatching on {@link IUnion} can re-wrap a transformed or copied value + * without knowing the concrete union type at compile time. + */ + @Override + public TimeCastOperand withUnderlying(IClass that) { + return TimeCastOperand.fromUnderlying(that); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/TimeOperand.java b/src/main/java/aas_core/aas3_2/types/model/TimeOperand.java new file mode 100644 index 00000000..25911ab8 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/TimeOperand.java @@ -0,0 +1,80 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +/** Represent a union of {@link ITimeLiteral} and {@link ITimeCast}. */ +public class TimeOperand implements IUnion { + private enum ValueKind { + TIME_LITERAL, + TIME_CAST + } + + private final ValueKind valueKind; + private final ITimeLiteral asTimeLiteral; + private final ITimeCast asTimeCast; + + private TimeOperand(ValueKind valueKind, ITimeLiteral asTimeLiteral, ITimeCast asTimeCast) { + this.valueKind = valueKind; + this.asTimeLiteral = asTimeLiteral; + this.asTimeCast = asTimeCast; + } + + /** Wrap {@code that} as an instance of {@link TimeOperand}. */ + public static TimeOperand fromTimeLiteral(ITimeLiteral that) { + return new TimeOperand(ValueKind.TIME_LITERAL, that, null); + } + + /** Wrap {@code that} as an instance of {@link TimeOperand}. */ + public static TimeOperand fromTimeCast(ITimeCast that) { + return new TimeOperand(ValueKind.TIME_CAST, null, that); + } + + /** Get the underlying instance regardless of the concrete case. */ + @Override + public IClass getUnderlying() { + switch (valueKind) { + case TIME_LITERAL: + return asTimeLiteral; + case TIME_CAST: + return asTimeCast; + default: + throw new IllegalStateException(String.format("Unexpected value kind: %s", valueKind)); + } + } + + /** Wrap {@code that} as an instance of {@link TimeOperand} based on its run-time type. */ + public static TimeOperand fromUnderlying(IClass that) { + if (that instanceof ITimeLiteral) { + return fromTimeLiteral((ITimeLiteral) that); + } else if (that instanceof ITimeCast) { + return fromTimeCast((ITimeCast) that); + } else { + throw new IllegalArgumentException( + String.format("Unexpected run-time type for the union TimeOperand: %s", that.getClass())); + } + } + + /** + * Wrap {@code that} as an instance of {@link TimeOperand} based on its run-time type. + * + *

This is the instance-level counterpart of {@link TimeOperand#fromUnderlying}, needed so that + * a generic method dispatching on {@link IUnion} can re-wrap a transformed or copied value + * without knowing the concrete union type at compile time. + */ + @Override + public TimeOperand withUnderlying(IClass that) { + return TimeOperand.fromUnderlying(that); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/types/model/Value.java b/src/main/java/aas_core/aas3_2/types/model/Value.java new file mode 100644 index 00000000..92adb368 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/types/model/Value.java @@ -0,0 +1,639 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.types.model; + +/** + * Represent a union of {@link IFieldOperand}, {@link IStringLiteral}, {@link IStringCast}, {@link + * IAttributeOperand}, {@link INumberLiteral}, {@link INumberCast}, {@link IDayOfWeek}, {@link + * IDayOfMonth}, {@link IMonth}, {@link IYear}, {@link IHexLiteral}, {@link IHexCast}, {@link + * IBooleanLiteral}, {@link IBooleanCast}, {@link IDateTimeLiteral}, {@link IDateTimeCast}, {@link + * ITimeLiteral}, and {@link ITimeCast}. + */ +public class Value implements IUnion { + private enum ValueKind { + FIELD_OPERAND, + STRING_LITERAL, + STRING_CAST, + ATTRIBUTE_OPERAND, + NUMBER_LITERAL, + NUMBER_CAST, + DAY_OF_WEEK, + DAY_OF_MONTH, + MONTH, + YEAR, + HEX_LITERAL, + HEX_CAST, + BOOLEAN_LITERAL, + BOOLEAN_CAST, + DATE_TIME_LITERAL, + DATE_TIME_CAST, + TIME_LITERAL, + TIME_CAST + } + + private final ValueKind valueKind; + private final IFieldOperand asFieldOperand; + private final IStringLiteral asStringLiteral; + private final IStringCast asStringCast; + private final IAttributeOperand asAttributeOperand; + private final INumberLiteral asNumberLiteral; + private final INumberCast asNumberCast; + private final IDayOfWeek asDayOfWeek; + private final IDayOfMonth asDayOfMonth; + private final IMonth asMonth; + private final IYear asYear; + private final IHexLiteral asHexLiteral; + private final IHexCast asHexCast; + private final IBooleanLiteral asBooleanLiteral; + private final IBooleanCast asBooleanCast; + private final IDateTimeLiteral asDateTimeLiteral; + private final IDateTimeCast asDateTimeCast; + private final ITimeLiteral asTimeLiteral; + private final ITimeCast asTimeCast; + + private Value( + ValueKind valueKind, + IFieldOperand asFieldOperand, + IStringLiteral asStringLiteral, + IStringCast asStringCast, + IAttributeOperand asAttributeOperand, + INumberLiteral asNumberLiteral, + INumberCast asNumberCast, + IDayOfWeek asDayOfWeek, + IDayOfMonth asDayOfMonth, + IMonth asMonth, + IYear asYear, + IHexLiteral asHexLiteral, + IHexCast asHexCast, + IBooleanLiteral asBooleanLiteral, + IBooleanCast asBooleanCast, + IDateTimeLiteral asDateTimeLiteral, + IDateTimeCast asDateTimeCast, + ITimeLiteral asTimeLiteral, + ITimeCast asTimeCast) { + this.valueKind = valueKind; + this.asFieldOperand = asFieldOperand; + this.asStringLiteral = asStringLiteral; + this.asStringCast = asStringCast; + this.asAttributeOperand = asAttributeOperand; + this.asNumberLiteral = asNumberLiteral; + this.asNumberCast = asNumberCast; + this.asDayOfWeek = asDayOfWeek; + this.asDayOfMonth = asDayOfMonth; + this.asMonth = asMonth; + this.asYear = asYear; + this.asHexLiteral = asHexLiteral; + this.asHexCast = asHexCast; + this.asBooleanLiteral = asBooleanLiteral; + this.asBooleanCast = asBooleanCast; + this.asDateTimeLiteral = asDateTimeLiteral; + this.asDateTimeCast = asDateTimeCast; + this.asTimeLiteral = asTimeLiteral; + this.asTimeCast = asTimeCast; + } + + /** Wrap {@code that} as an instance of {@link Value}. */ + public static Value fromFieldOperand(IFieldOperand that) { + return new Value( + ValueKind.FIELD_OPERAND, + that, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link Value}. */ + public static Value fromStringLiteral(IStringLiteral that) { + return new Value( + ValueKind.STRING_LITERAL, + null, + that, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link Value}. */ + public static Value fromStringCast(IStringCast that) { + return new Value( + ValueKind.STRING_CAST, + null, + null, + that, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link Value}. */ + public static Value fromAttributeOperand(IAttributeOperand that) { + return new Value( + ValueKind.ATTRIBUTE_OPERAND, + null, + null, + null, + that, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link Value}. */ + public static Value fromNumberLiteral(INumberLiteral that) { + return new Value( + ValueKind.NUMBER_LITERAL, + null, + null, + null, + null, + that, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link Value}. */ + public static Value fromNumberCast(INumberCast that) { + return new Value( + ValueKind.NUMBER_CAST, + null, + null, + null, + null, + null, + that, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link Value}. */ + public static Value fromDayOfWeek(IDayOfWeek that) { + return new Value( + ValueKind.DAY_OF_WEEK, + null, + null, + null, + null, + null, + null, + that, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link Value}. */ + public static Value fromDayOfMonth(IDayOfMonth that) { + return new Value( + ValueKind.DAY_OF_MONTH, + null, + null, + null, + null, + null, + null, + null, + that, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link Value}. */ + public static Value fromMonth(IMonth that) { + return new Value( + ValueKind.MONTH, + null, + null, + null, + null, + null, + null, + null, + null, + that, + null, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link Value}. */ + public static Value fromYear(IYear that) { + return new Value( + ValueKind.YEAR, + null, + null, + null, + null, + null, + null, + null, + null, + null, + that, + null, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link Value}. */ + public static Value fromHexLiteral(IHexLiteral that) { + return new Value( + ValueKind.HEX_LITERAL, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + that, + null, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link Value}. */ + public static Value fromHexCast(IHexCast that) { + return new Value( + ValueKind.HEX_CAST, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + that, + null, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link Value}. */ + public static Value fromBooleanLiteral(IBooleanLiteral that) { + return new Value( + ValueKind.BOOLEAN_LITERAL, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + that, + null, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link Value}. */ + public static Value fromBooleanCast(IBooleanCast that) { + return new Value( + ValueKind.BOOLEAN_CAST, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + that, + null, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link Value}. */ + public static Value fromDateTimeLiteral(IDateTimeLiteral that) { + return new Value( + ValueKind.DATE_TIME_LITERAL, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + that, + null, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link Value}. */ + public static Value fromDateTimeCast(IDateTimeCast that) { + return new Value( + ValueKind.DATE_TIME_CAST, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + that, + null, + null); + } + + /** Wrap {@code that} as an instance of {@link Value}. */ + public static Value fromTimeLiteral(ITimeLiteral that) { + return new Value( + ValueKind.TIME_LITERAL, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + that, + null); + } + + /** Wrap {@code that} as an instance of {@link Value}. */ + public static Value fromTimeCast(ITimeCast that) { + return new Value( + ValueKind.TIME_CAST, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + that); + } + + /** Get the underlying instance regardless of the concrete case. */ + @Override + public IClass getUnderlying() { + switch (valueKind) { + case FIELD_OPERAND: + return asFieldOperand; + case STRING_LITERAL: + return asStringLiteral; + case STRING_CAST: + return asStringCast; + case ATTRIBUTE_OPERAND: + return asAttributeOperand; + case NUMBER_LITERAL: + return asNumberLiteral; + case NUMBER_CAST: + return asNumberCast; + case DAY_OF_WEEK: + return asDayOfWeek; + case DAY_OF_MONTH: + return asDayOfMonth; + case MONTH: + return asMonth; + case YEAR: + return asYear; + case HEX_LITERAL: + return asHexLiteral; + case HEX_CAST: + return asHexCast; + case BOOLEAN_LITERAL: + return asBooleanLiteral; + case BOOLEAN_CAST: + return asBooleanCast; + case DATE_TIME_LITERAL: + return asDateTimeLiteral; + case DATE_TIME_CAST: + return asDateTimeCast; + case TIME_LITERAL: + return asTimeLiteral; + case TIME_CAST: + return asTimeCast; + default: + throw new IllegalStateException(String.format("Unexpected value kind: %s", valueKind)); + } + } + + /** Wrap {@code that} as an instance of {@link Value} based on its run-time type. */ + public static Value fromUnderlying(IClass that) { + if (that instanceof IFieldOperand) { + return fromFieldOperand((IFieldOperand) that); + } else if (that instanceof IStringLiteral) { + return fromStringLiteral((IStringLiteral) that); + } else if (that instanceof IStringCast) { + return fromStringCast((IStringCast) that); + } else if (that instanceof IAttributeOperand) { + return fromAttributeOperand((IAttributeOperand) that); + } else if (that instanceof INumberLiteral) { + return fromNumberLiteral((INumberLiteral) that); + } else if (that instanceof INumberCast) { + return fromNumberCast((INumberCast) that); + } else if (that instanceof IDayOfWeek) { + return fromDayOfWeek((IDayOfWeek) that); + } else if (that instanceof IDayOfMonth) { + return fromDayOfMonth((IDayOfMonth) that); + } else if (that instanceof IMonth) { + return fromMonth((IMonth) that); + } else if (that instanceof IYear) { + return fromYear((IYear) that); + } else if (that instanceof IHexLiteral) { + return fromHexLiteral((IHexLiteral) that); + } else if (that instanceof IHexCast) { + return fromHexCast((IHexCast) that); + } else if (that instanceof IBooleanLiteral) { + return fromBooleanLiteral((IBooleanLiteral) that); + } else if (that instanceof IBooleanCast) { + return fromBooleanCast((IBooleanCast) that); + } else if (that instanceof IDateTimeLiteral) { + return fromDateTimeLiteral((IDateTimeLiteral) that); + } else if (that instanceof IDateTimeCast) { + return fromDateTimeCast((IDateTimeCast) that); + } else if (that instanceof ITimeLiteral) { + return fromTimeLiteral((ITimeLiteral) that); + } else if (that instanceof ITimeCast) { + return fromTimeCast((ITimeCast) that); + } else { + throw new IllegalArgumentException( + String.format("Unexpected run-time type for the union Value: %s", that.getClass())); + } + } + + /** + * Wrap {@code that} as an instance of {@link Value} based on its run-time type. + * + *

This is the instance-level counterpart of {@link Value#fromUnderlying}, needed so that a + * generic method dispatching on {@link IUnion} can re-wrap a transformed or copied value without + * knowing the concrete union type at compile time. + */ + @Override + public Value withUnderlying(IClass that) { + return Value.fromUnderlying(that); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/verification/Verification.java b/src/main/java/aas_core/aas3_2/verification/Verification.java new file mode 100644 index 00000000..b03e975d --- /dev/null +++ b/src/main/java/aas_core/aas3_2/verification/Verification.java @@ -0,0 +1,18861 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ +package aas_core.aas3_2.verification; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.constants.*; +import aas_core.aas3_2.reporting.Reporting; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.AbstractTransformer; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ArrayNode; +import com.fasterxml.jackson.databind.node.ObjectNode; +import dk.brics.automaton.Automaton; +import dk.brics.automaton.RegExp; +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collections; +import java.util.HashSet; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.Spliterator; +import java.util.Spliterators; +import java.util.function.Consumer; +import java.util.regex.Pattern; +import java.util.stream.IntStream; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +public class Verification { + + private static Pattern constructMatchesIdShort() { + String pattern = "^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesIdShort = constructMatchesIdShort(); + + /** Check that {@code text} is a valid short ID. */ + public static Boolean matchesIdShort(String text) { + return regexMatchesIdShort.matcher(text).matches(); + } + + private static Pattern constructMatchesVersionType() { + String pattern = "^(0|[1-9][0-9]*)$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesVersionType = constructMatchesVersionType(); + + /** Check that {@code text} is a valid version string. */ + public static Boolean matchesVersionType(String text) { + return regexMatchesVersionType.matcher(text).matches(); + } + + private static Pattern constructMatchesRevisionType() { + String pattern = "^(0|[1-9][0-9]*)$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesRevisionType = constructMatchesRevisionType(); + + /** Check that {@code text} is a valid revision string. */ + public static Boolean matchesRevisionType(String text) { + return regexMatchesRevisionType.matcher(text).matches(); + } + + private static Pattern constructMatchesXsDateTimeUtc() { + String digit = "[0-9]"; + String yearFrag = "-?(([1-9]" + digit + digit + digit + "+)|(0" + digit + digit + digit + "))"; + String monthFrag = "((0[1-9])|(1[0-2]))"; + String dayFrag = "((0[1-9])|([12]" + digit + ")|(3[01]))"; + String hourFrag = "(([01]" + digit + ")|(2[0-3]))"; + String minuteFrag = "[0-5]" + digit; + String secondFrag = "([0-5]" + digit + ")(\\." + digit + "+)?"; + String endOfDayFrag = "24:00:00(\\.0+)?"; + String timezoneFrag = "(Z|\\+00:00|-00:00)"; + String dateTimeLexicalRep = + yearFrag + + "-" + + monthFrag + + "-" + + dayFrag + + "T((" + + hourFrag + + ":" + + minuteFrag + + ":" + + secondFrag + + ")|" + + endOfDayFrag + + ")" + + timezoneFrag; + String pattern = "^" + dateTimeLexicalRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDateTimeUtc = constructMatchesXsDateTimeUtc(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:dateTime}. + * + *

The time zone must be fixed to UTC. We verify only that the {@code text} matches a + * pre-defined pattern. We do not verify that the day of month is correct nor do we check + * for leap seconds. + * + *

See: https://www.w3.org/TR/xmlschema-2/#dateTime + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDateTimeUtc(String text) { + return regexMatchesXsDateTimeUtc.matcher(text).matches(); + } + + /** + * Check that {@code text} is a {@code xs:dateTime} with time zone set to UTC. + * + *

The {@code text} is assumed to match a pre-defined pattern for {@code xs:dateTime} with the + * time zone set to UTC. In this function, we check for days of month (e.g., February 29th). + * + *

See: https://www.w3.org/TR/xmlschema-2/#dateTime + * + * @param text Text to be checked + * @return True if the {@code text} is a valid {@code xs:dateTime} in UTC + */ + public static Boolean isXsDateTimeUtc(String text) { + return matchesXsDateTimeUtc(text) && isPrefixValidDate(text); + } + + private static Pattern constructMatchesMimeType() { + String tchar = "[!#$%&\'*+\\-.^_`|~0-9a-zA-Z]"; + String token = "(" + tchar + ")+"; + String type = token; + String subtype = token; + String ows = "[ \\t]*"; + String obsText = "[\\x{80}-\\x{ff}]"; + String qdText = "([\\t !#-\\[\\]-~]|" + obsText + ")"; + String quotedPair = "\\\\([\\t !-~]|" + obsText + ")"; + String quotedString = "\"(" + qdText + "|" + quotedPair + ")*\""; + String parameter = token + "=(" + token + "|" + quotedString + ")"; + String mediaType = "^" + type + "/" + subtype + "(" + ows + ";" + ows + parameter + ")*$"; + return Pattern.compile(mediaType); + } + + private static final Pattern regexMatchesMimeType = constructMatchesMimeType(); + + /** + * Check that {@code text} conforms to the pattern of MIME type. + * + *

The definition has been taken from: https://www.rfc-editor.org/rfc/rfc7231#section-3.1.1.1, + * https://www.rfc-editor.org/rfc/rfc7230#section-3.2.3 + * and https://www.rfc-editor.org/rfc/rfc7230#section-3.2.6. + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesMimeType(String text) { + return regexMatchesMimeType.matcher(text).matches(); + } + + private static Automaton constructMatchesRfc2396() { + String alphanum = "[a-zA-Z0-9]"; + String mark = "[-_.!~*\'()]"; + String unreserved = "(" + alphanum + "|" + mark + ")"; + String hex = "([0-9]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF])"; + String escaped = "%" + hex + hex; + String pchar = "(" + unreserved + "|" + escaped + "|[:@&=+$,])"; + String param = "(" + pchar + ")*"; + String segment = "(" + pchar + ")*(;" + param + ")*"; + String pathSegments = segment + "(/" + segment + ")*"; + String absPath = "/" + pathSegments; + String scheme = "[a-zA-Z][a-zA-Z0-9+\\-.]*"; + String userinfo = "(" + unreserved + "|" + escaped + "|[;:&=+$,])*"; + String domainlabel = "(" + alphanum + "|" + alphanum + "(" + alphanum + "|-)*" + alphanum + ")"; + String toplabel = "([a-zA-Z]|[a-zA-Z](" + alphanum + "|-)*" + alphanum + ")"; + String hostname = "(" + domainlabel + "\\.)*" + toplabel + "(\\.)?"; + String ipv4address = "[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+"; + String host = "(" + hostname + "|" + ipv4address + ")"; + String port = "[0-9]*"; + String hostport = host + "(:" + port + ")?"; + String server = "((" + userinfo + "\\@)?" + hostport + ")?"; + String regName = "(" + unreserved + "|" + escaped + "|[$,;:@&=+])+"; + String authority = "(" + server + "|" + regName + ")"; + String netPath = "//" + authority + "(" + absPath + ")?"; + String reserved = "[;/?:@&=+$,]"; + String uric = "(" + reserved + "|" + unreserved + "|" + escaped + ")"; + String query = "(" + uric + ")*"; + String hierPart = "(" + netPath + "|" + absPath + ")(\\?" + query + ")?"; + String uricNoSlash = "(" + unreserved + "|" + escaped + "|[;?:@&=+$,])"; + String opaquePart = uricNoSlash + "(" + uric + ")*"; + String absoluteuri = scheme + ":(" + hierPart + "|" + opaquePart + ")"; + String fragment = "(" + uric + ")*"; + String relSegment = "(" + unreserved + "|" + escaped + "|[;@&=+$,])+"; + String relPath = relSegment + "(" + absPath + ")?"; + String relativeuri = "(" + netPath + "|" + absPath + "|" + relPath + ")(\\?" + query + ")?"; + String uriReference = "(" + absoluteuri + "|" + relativeuri + ")?(\\#" + fragment + ")?"; + return new RegExp(uriReference).toAutomaton(); + } + + private static final Automaton regexMatchesRfc2396 = constructMatchesRfc2396(); + + /** + * Check that {@code text} matches to the URI pattern defined in RFC 2396 + * + *

The definition has been taken from: https://datatracker.ietf.org/doc/html/rfc2396 + * + *

Note that RFX 2396 alone is not enough for specifying {@code xs:anyURI} for XSD version 1.0, + * as that specifies URI together with the amendment of RFC 2732. + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesRfc2396(String text) { + return regexMatchesRfc2396.run(text); + } + + private static Pattern constructMatchesBcp47() { + String alphanum = "[a-zA-Z0-9]"; + String singleton = "[0-9A-WY-Za-wy-z]"; + String extension = singleton + "(-(" + alphanum + "){2,8})+"; + String extlang = "[a-zA-Z]{3}(-[a-zA-Z]{3}){0,2}"; + String irregular = + "(en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)"; + String regular = + "(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang)"; + String grandfathered = "(" + irregular + "|" + regular + ")"; + String language = "([a-zA-Z]{2,3}(-" + extlang + ")?|[a-zA-Z]{4}|[a-zA-Z]{5,8})"; + String script = "[a-zA-Z]{4}"; + String region = "([a-zA-Z]{2}|[0-9]{3})"; + String variant = "((" + alphanum + "){5,8}|[0-9](" + alphanum + "){3})"; + String privateuse = "[xX](-(" + alphanum + "){1,8})+"; + String langtag = + language + + "(-" + + script + + ")?(-" + + region + + ")?(-" + + variant + + ")*(-" + + extension + + ")*(-" + + privateuse + + ")?"; + String languageTag = "(" + langtag + "|" + privateuse + "|" + grandfathered + ")"; + String pattern = "^" + languageTag + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesBcp47 = constructMatchesBcp47(); + + /** + * Check that {@code text} is a valid BCP 47 language tag. + * + *

See: https://en.wikipedia.org/wiki/IETF_language_tag + */ + public static Boolean matchesBcp47(String text) { + return regexMatchesBcp47.matcher(text).matches(); + } + + /** + * Check that the {@code langStrings} do not have overlapping {@link + * aas_core.aas3_2.types.model.IAbstractLangString#getLanguage()}'s + * + *

The argument {@code langStrings} is declared with the wildcard {@code List} instead of the invariant {@code List} so that the + * lists of the descendants of {@link IAbstractLangString} can be passed without a copy. + */ + public static Boolean langStringsHaveUniqueLanguages( + List langStrings) { + Set languageSet = new HashSet(); + for (var langString : langStrings) { + if (languageSet.contains(langString.getLanguage())) { + return false; + } + languageSet.add(langString.getLanguage()); + } + return true; + } + + /** + * Check that {@link aas_core.aas3_2.types.impl.Qualifier#getType()}'s of {@code qualifiers} are + * unique. + * + * @param qualifiers to be checked + * @return True if all {@link aas_core.aas3_2.types.impl.Qualifier#getType()}'s are unique + */ + public static Boolean qualifierTypesAreUnique(List qualifiers) { + Set observedTypes = new HashSet(); + for (var qualifier : qualifiers) { + if (observedTypes.contains(qualifier.getType())) { + return false; + } + observedTypes.add(qualifier.getType()); + } + return true; + } + + private static Pattern constructMatchesXmlSerializableString() { + String pattern = + "^[\\x{09}\\x{0a}\\x{0d}\\x{20}-\\x{d7ff}\\x{e000}-\\x{fffd}\\x{10000}-\\x{10ffff}]*$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXmlSerializableString = + constructMatchesXmlSerializableString(); + + /** + * Check that {@code text} conforms to the pattern of the Constraint AASd-130. + * + *

Ensures that encoding is possible and interoperability between different serializations is + * possible. + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXmlSerializableString(String text) { + return regexMatchesXmlSerializableString.matcher(text).matches(); + } + + private static Pattern constructMatchesXsAnyUri() { + String alphanum = "[a-zA-Z0-9]"; + String mark = "[-_.!~*\'()]"; + String unreserved = "(" + alphanum + "|" + mark + ")"; + String hex = "([0-9]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF])"; + String escaped = "%" + hex + hex; + String pchar = "(" + unreserved + "|" + escaped + "|[:@&=+$,])"; + String param = "(" + pchar + ")*"; + String segment = "(" + pchar + ")*(;" + param + ")*"; + String pathSegments = segment + "(/" + segment + ")*"; + String absPath = "/" + pathSegments; + String scheme = "[a-zA-Z][a-zA-Z0-9+\\-.]*"; + String userinfo = "(" + unreserved + "|" + escaped + "|[;:&=+$,])*"; + String domainlabel = "(" + alphanum + "|" + alphanum + "(" + alphanum + "|-)*" + alphanum + ")"; + String toplabel = "([a-zA-Z]|[a-zA-Z](" + alphanum + "|-)*" + alphanum + ")"; + String hostname = "(" + domainlabel + "\\.)*" + toplabel + "(\\.)?"; + String ipv4address = "[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}"; + String hex4 = "[0-9A-Fa-f]{1,4}"; + String hexseq = hex4 + "(:" + hex4 + ")*"; + String hexpart = "(" + hexseq + "|" + hexseq + "::(" + hexseq + ")?|::(" + hexseq + ")?)"; + String ipv6address = hexpart + "(:" + ipv4address + ")?"; + String ipv6reference = "\\[" + ipv6address + "\\]"; + String host = "(" + hostname + "|" + ipv4address + "|" + ipv6reference + ")"; + String port = "[0-9]*"; + String hostport = host + "(:" + port + ")?"; + String server = "((" + userinfo + "@)?" + hostport + ")?"; + String regName = "(" + unreserved + "|" + escaped + "|[$,;:@&=+])+"; + String authority = "(" + server + "|" + regName + ")"; + String netPath = "//" + authority + "(" + absPath + ")?"; + String reserved = "[;/?:@&=+$,\\[\\]]"; + String uric = "(" + reserved + "|" + unreserved + "|" + escaped + ")"; + String query = "(" + uric + ")*"; + String hierPart = "(" + netPath + "|" + absPath + ")(\\?" + query + ")?"; + String uricNoSlash = "(" + unreserved + "|" + escaped + "|[;?:@&=+$,])"; + String opaquePart = uricNoSlash + "(" + uric + ")*"; + String absoluteuri = scheme + ":(" + hierPart + "|" + opaquePart + ")"; + String fragment = "(" + uric + ")*"; + String relSegment = "(" + unreserved + "|" + escaped + "|[;@&=+$,])+"; + String relPath = relSegment + "(" + absPath + ")?"; + String relativeuri = "(" + netPath + "|" + absPath + "|" + relPath + ")(\\?" + query + ")?"; + String uriReference = "^(" + absoluteuri + "|" + relativeuri + ")?(#" + fragment + ")?$"; + return Pattern.compile(uriReference); + } + + private static final Pattern regexMatchesXsAnyUri = constructMatchesXsAnyUri(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:anyURI}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#anyURI + * and https://datatracker.ietf.org/doc/html/rfc2396 + * and https://datatracker.ietf.org/doc/html/rfc2732 + * + *

Note, that version 1.0 of the XSD specification defines {@code xs:anyURI} as "defined by RFC + * 2396, as amended by RFC 2732". Therefore, we use a pattern here that implements the amendments + * of RFC 2732. This should not be confused with {@code matches_RFC_2396}, which does not include + * those amendments and is used in different parts of the specification. + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsAnyUri(String text) { + return regexMatchesXsAnyUri.matcher(text).matches(); + } + + private static Pattern constructMatchesXsBase64Binary() { + String b04Char = "[AQgw]"; + String b04 = b04Char + "\\x{20}?"; + String b16Char = "[AEIMQUYcgkosw048]"; + String b16 = b16Char + "\\x{20}?"; + String b64Char = "[A-Za-z0-9+/]"; + String b64 = b64Char + "\\x{20}?"; + String b64quad = "(" + b64 + b64 + b64 + b64 + ")"; + String b64FinalQuad = "(" + b64 + b64 + b64 + b64Char + ")"; + String padded8 = b64 + b04 + "= ?="; + String padded16 = b64 + b64 + b16 + "="; + String b64final = "(" + b64FinalQuad + "|" + padded16 + "|" + padded8 + ")"; + String base64Binary = "(" + b64quad + "*" + b64final + ")?"; + String pattern = "^" + base64Binary + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsBase64Binary = constructMatchesXsBase64Binary(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:base64Binary}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#base64Binary + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsBase64Binary(String text) { + return regexMatchesXsBase64Binary.matcher(text).matches(); + } + + private static Pattern constructMatchesXsBoolean() { + String pattern = "^(true|false|1|0)$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsBoolean = constructMatchesXsBoolean(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:boolean}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#boolean + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsBoolean(String text) { + return regexMatchesXsBoolean.matcher(text).matches(); + } + + private static Pattern constructMatchesXsDate() { + String digit = "[0-9]"; + String yearFrag = "-?(([1-9]" + digit + digit + digit + "+)|(0" + digit + digit + digit + "))"; + String monthFrag = "((0[1-9])|(1[0-2]))"; + String dayFrag = "((0[1-9])|([12]" + digit + ")|(3[01]))"; + String minuteFrag = "[0-5]" + digit; + String timezoneFrag = "(Z|(\\+|-)((0" + digit + "|1[0-3]):" + minuteFrag + "|14:00))"; + String dateLexicalRep = yearFrag + "-" + monthFrag + "-" + dayFrag + timezoneFrag + "?"; + String pattern = "^" + dateLexicalRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDate = constructMatchesXsDate(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:date}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#date + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDate(String text) { + return regexMatchesXsDate.matcher(text).matches(); + } + + /** + * Check that the {@code year} of an {@code xs:date} is a leap year. + * + *

The {@code year} is expected to be given as text, i.e., as digits with an optional + * minus prefix, as the year can be arbitrarily large. + * + *

We consider the years B.C. to be one-off. See the note at https://www.w3.org/TR/xmlschema-2/#dateTime: + * "'-0001' is the lexical representation of the year 1 Before Common Era (1 BCE, sometimes + * written "1 BC")." Hence, the year -1 in XML is the year 0 in astronomical years. + * + * @param year Text of the year to be checked + * @return True if the {@code year} is a leap year + */ + private static Boolean isLeapYear(String year) { + long remainder = + (Math.floorMod( + StringHelpers.parseSafeInt(StringHelpers.slice(StringHelpers.lstrip(year, "-"), -4)), + 400L)); + if (year.startsWith("-")) { + remainder = Math.floorMod(remainder + 399, 400L); + } + return (Math.floorMod(remainder, 4L)) == (0) + && ((Math.floorMod(remainder, 100L)) != (0) || remainder == 0); + } + + /** + * Check that the {@code day} exists in the {@code month}. + * + * @param isLeapYear True if February has 29 days + * @param month Month of the year, starting with 1 + * @param day Day of the month, starting with 1 + * @return True if the {@code day} exists in the {@code month} + */ + private static Boolean isDayOfMonthValid(Boolean isLeapYear, Long month, Long day) { + if (month < 1 || month > 12 || day < 1) { + return false; + } + if (month == 2) { + if (isLeapYear) { + return day <= 29; + } + return day <= 28; + } + if (month == 4 || month == 6 || month == 9 || month == 11) { + return day <= 30; + } + return day <= 31; + } + + /** + * Check that the date at the start of {@code text} is valid. + * + *

The {@code text} is expected to start with a date matching the pattern {@code -?YYYY-MM-DD}, + * where the year can have more than four digits. Whatever follows the date, such as the time or + * the time zone, is ignored. + * + * @param text Text to be checked + * @return True if the date at the start of {@code text} is valid + */ + private static Boolean isPrefixValidDate(String text) { + long monthStart = StringHelpers.find(text, "-", 1) + 1; + var year = StringHelpers.slice(text, 0, monthStart - 1); + if (Objects.equals(StringHelpers.lstrip(StringHelpers.lstrip(year, "-"), "0"), "")) { + return false; + } + long month = + (StringHelpers.parseSafeInt(StringHelpers.slice(text, monthStart, monthStart + 2))); + long day = + (StringHelpers.parseSafeInt(StringHelpers.slice(text, monthStart + 3, monthStart + 5))); + return isDayOfMonthValid(isLeapYear(year), month, day); + } + + /** + * Check that {@code text} is a valid {@code xs:date}. + * + *

We check that the {@code text} matches the pattern of {@code xs:date}, and that the day + * exists in the month (e.g., February 29th only in leap years). + * + *

See: https://www.w3.org/TR/xmlschema-2/#date + * + * @param text Text to be checked + * @return True if the {@code text} is a valid {@code xs:date} + */ + public static Boolean isXsDate(String text) { + return matchesXsDate(text) && isPrefixValidDate(text); + } + + private static Pattern constructMatchesXsDateTime() { + String digit = "[0-9]"; + String yearFrag = "-?(([1-9]" + digit + digit + digit + "+)|(0" + digit + digit + digit + "))"; + String monthFrag = "((0[1-9])|(1[0-2]))"; + String dayFrag = "((0[1-9])|([12]" + digit + ")|(3[01]))"; + String hourFrag = "(([01]" + digit + ")|(2[0-3]))"; + String minuteFrag = "[0-5]" + digit; + String secondFrag = "([0-5]" + digit + ")(\\." + digit + "+)?"; + String endOfDayFrag = "24:00:00(\\.0+)?"; + String timezoneFrag = "(Z|(\\+|-)((0" + digit + "|1[0-3]):" + minuteFrag + "|14:00))"; + String dateTimeLexicalRep = + yearFrag + + "-" + + monthFrag + + "-" + + dayFrag + + "T((" + + hourFrag + + ":" + + minuteFrag + + ":" + + secondFrag + + ")|" + + endOfDayFrag + + ")" + + timezoneFrag + + "?"; + String pattern = "^" + dateTimeLexicalRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDateTime = constructMatchesXsDateTime(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:dateTime}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#dateTime + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDateTime(String text) { + return regexMatchesXsDateTime.matcher(text).matches(); + } + + /** + * Check that {@code text} is a {@code xs:dateTime}. + * + *

The {@code text} is assumed to match a pre-defined pattern for {@code xs:dateTime}. In this + * function, we check for days of month (e.g., February 29th). + * + *

See: https://www.w3.org/TR/xmlschema-2/#dateTime + * + * @param text Text to be checked + * @return True if the {@code text} is a valid {@code xs:dateTime} + */ + public static Boolean isXsDateTime(String text) { + return matchesXsDateTime(text) && isPrefixValidDate(text); + } + + /** + * Get the digits of the fraction of a second in {@code text}. + * + *

The {@code text} is expected to be a valid {@code xs:dateTime} with the time zone fixed to + * UTC, i.e., it ends with {@code Z}, {@code +00:00} or {@code -00:00}. + * + * @param text Date-time to be parsed + * @return The digits after the decimal point, or an empty text if there are none + */ + private static String fractionOfDateTimeUtc(String text) { + long point = StringHelpers.find(text, "."); + if (point == -1) { + return ""; + } + if (text.endsWith("Z")) { + return StringHelpers.slice(text, point + 1, -1); + } + return StringHelpers.slice(text, point + 1, -6); + } + + /** + * Check that the date of {@code nextText} is the day after the date of {@code text}. + * + *

Both {@code text} and {@code nextText} are expected to start with a valid date matching the + * pattern {@code -?YYYY-MM-DD}, where the year can have more than four digits, but has to fit + * into an integer. Whatever follows the date, such as the time or the time zone, is ignored. + * + * @param text Text starting with the date to be incremented + * @param nextText Text starting with the date expected to follow + * @return True if the date of {@code nextText} follows the date of {@code text} + */ + private static Boolean isNextDay(String text, String nextText) { + long monthStart = StringHelpers.find(text, "-", 1) + 1; + long nextMonthStart = StringHelpers.find(nextText, "-", 1) + 1; + var yearText = StringHelpers.slice(text, 0, monthStart - 1); + long year = StringHelpers.parseSafeInt(yearText); + long month = + (StringHelpers.parseSafeInt(StringHelpers.slice(text, monthStart, monthStart + 2))); + long day = + (StringHelpers.parseSafeInt(StringHelpers.slice(text, monthStart + 3, monthStart + 5))); + long nextYear = + (StringHelpers.parseSafeInt(StringHelpers.slice(nextText, 0, nextMonthStart - 1))); + long nextMonth = + (StringHelpers.parseSafeInt( + StringHelpers.slice(nextText, nextMonthStart, nextMonthStart + 2))); + long nextDay = + (StringHelpers.parseSafeInt( + StringHelpers.slice(nextText, nextMonthStart + 3, nextMonthStart + 5))); + if (isDayOfMonthValid(isLeapYear(yearText), month, day + 1)) { + return (long) year == nextYear && (long) month == nextMonth && (day + 1) == (nextDay); + } + if (nextDay != 1) { + return false; + } + if (month < 12) { + return (long) year == nextYear && (month + 1) == (nextMonth); + } + return nextMonth == 1 && ((nextYear) == (year + 1) || (year == -1 && nextYear == 1)); + } + + /** + * Check that the date-time {@code that} is before {@code other}. + * + *

We compare the years as integers, and the rest of the texts part by part as strings, since + * the fraction of a second can be arbitrarily long. + * + *

We do not compare the years with more than 15 digits, as they do not safely fit into an + * integer. Such years are valid in {@code xs:dateTime}, but not realistic. + * + *

The end of a day, {@code 24:00:00}, is the same instant as the start of the next day, see + * the note at https://www.w3.org/TR/xmlschema-2/#dateTime. + * + * @param that Date-time which is expected to come first + * @param other Date-time which is expected to come later + * @return True if {@code that} is before {@code other}, False if not, and None if either of them + * is not a valid {@code xs:dateTime} in UTC, or if either of their years has more than 15 + * digits + */ + public static Optional dateTimeUtcLess(String that, String other) { + if (!isXsDateTimeUtc(that) || (!isXsDateTimeUtc(other))) { + return Optional.empty(); + } + long thatMonthStart = StringHelpers.find(that, "-", 1) + 1; + long otherMonthStart = StringHelpers.find(other, "-", 1) + 1; + var thatYearText = StringHelpers.slice(that, 0, thatMonthStart - 1); + var otherYearText = StringHelpers.slice(other, 0, otherMonthStart - 1); + if (StringHelpers.len(StringHelpers.lstrip(thatYearText, "-")) > 15 + || StringHelpers.len(StringHelpers.lstrip(otherYearText, "-")) > 15) { + return Optional.empty(); + } + long thatYear = StringHelpers.parseSafeInt(thatYearText); + long otherYear = StringHelpers.parseSafeInt(otherYearText); + var thatRest = (StringHelpers.slice(that, thatMonthStart, thatMonthStart + 14)); + var otherRest = (StringHelpers.slice(other, otherMonthStart, otherMonthStart + 14)); + var thatFraction = (StringHelpers.rstrip(fractionOfDateTimeUtc(that), "0")); + var otherFraction = (StringHelpers.rstrip(fractionOfDateTimeUtc(other), "0")); + var less = false; + if ((long) thatYear != otherYear) { + less = thatYear < otherYear; + } else if (!Objects.equals(thatRest, otherRest)) { + less = (StringHelpers.compareByCodePoints(thatRest, otherRest) < 0); + } else { + less = (StringHelpers.compareByCodePoints(thatFraction, otherFraction) < 0); + } + if (less + && Objects.equals(StringHelpers.slice(that, thatMonthStart + 6, thatMonthStart + 8), "24") + && Objects.equals( + StringHelpers.slice(other, otherMonthStart + 6, otherMonthStart + 14), "00:00:00") + && Objects.equals(otherFraction, "")) { + return Optional.of(!isNextDay(that, other)); + } + return Optional.of(less); + } + + /** + * Check that the date-time {@code that} is before or at the same instant as {@code other}, unless + * either of them is invalid. + * + *

The invalid date-times are reported by the invariants of @{code DateTimeUtc}, so that we do + * not report them twice. See {@link aas_core.aas3_2.verification.Verification#dateTimeUtcLess}. + * + * @param that Date-time which is expected to come first or at the same instant + * @param other Date-time which is expected to come later or at the same instant + * @return True if {@code that} is before or at the same instant as {@code other}, or if either of + * them is not a valid {@code xs:dateTime} in UTC + */ + public static Boolean dateTimeUtcLessOrEqualOrInvalid(String that, String other) { + var otherLess = dateTimeUtcLess(other, that); + if (!otherLess.isPresent()) { + return true; + } + return !otherLess.get(); + } + + private static Pattern constructMatchesXsDecimal() { + String digit = "[0-9]"; + String unsignedNoDecimalPtNumeral = digit + "+"; + String noDecimalPtNumeral = "(\\+|-)?" + unsignedNoDecimalPtNumeral; + String fracFrag = digit + "+"; + String unsignedDecimalPtNumeral = + "(" + unsignedNoDecimalPtNumeral + "\\." + fracFrag + "|\\." + fracFrag + ")"; + String decimalPtNumeral = "(\\+|-)?" + unsignedDecimalPtNumeral; + String decimalLexicalRep = "(" + decimalPtNumeral + "|" + noDecimalPtNumeral + ")"; + String pattern = "^" + decimalLexicalRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDecimal = constructMatchesXsDecimal(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:decimal}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#decimal + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDecimal(String text) { + return regexMatchesXsDecimal.matcher(text).matches(); + } + + private static Pattern constructMatchesXsDouble() { + String doubleRep = "((\\+|-)?([0-9]+(\\.[0-9]*)?|\\.[0-9]+)([Ee](\\+|-)?[0-9]+)?|-?INF|NaN)"; + String pattern = "^" + doubleRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDouble = constructMatchesXsDouble(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:double}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#double + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDouble(String text) { + return regexMatchesXsDouble.matcher(text).matches(); + } + + private static Pattern constructMatchesXsDuration() { + String durationRep = + "-?P((([0-9]+Y([0-9]+M)?([0-9]+D)?|([0-9]+M)([0-9]+D)?|([0-9]+D))(T(([0-9]+H)([0-9]+M)?([0-9]+(\\.[0-9]+)?S)?|([0-9]+M)([0-9]+(\\.[0-9]+)?S)?|([0-9]+(\\.[0-9]+)?S)))?)|(T(([0-9]+H)([0-9]+M)?([0-9]+(\\.[0-9]+)?S)?|([0-9]+M)([0-9]+(\\.[0-9]+)?S)?|([0-9]+(\\.[0-9]+)?S))))"; + String pattern = "^" + durationRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDuration = constructMatchesXsDuration(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:duration}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#duration + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDuration(String text) { + return regexMatchesXsDuration.matcher(text).matches(); + } + + private static Pattern constructMatchesXsFloat() { + String floatRep = "((\\+|-)?([0-9]+(\\.[0-9]*)?|\\.[0-9]+)([Ee](\\+|-)?[0-9]+)?|-?INF|NaN)"; + String pattern = "^" + floatRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsFloat = constructMatchesXsFloat(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:float}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#float + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsFloat(String text) { + return regexMatchesXsFloat.matcher(text).matches(); + } + + private static Pattern constructMatchesXsGDay() { + String gDayLexicalRep = + "---(0[1-9]|[12][0-9]|3[01])(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + gDayLexicalRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsGDay = constructMatchesXsGDay(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:gDay}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#gDay + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsGDay(String text) { + return regexMatchesXsGDay.matcher(text).matches(); + } + + private static Pattern constructMatchesXsGMonth() { + String gMonthLexicalRep = "--(0[1-9]|1[0-2])(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + gMonthLexicalRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsGMonth = constructMatchesXsGMonth(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:gMonth}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#gMonth + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsGMonth(String text) { + return regexMatchesXsGMonth.matcher(text).matches(); + } + + private static Pattern constructMatchesXsGMonthDay() { + String gMonthDayRep = + "--(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + gMonthDayRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsGMonthDay = constructMatchesXsGMonthDay(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:gMonthDay}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#gMonthDay + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsGMonthDay(String text) { + return regexMatchesXsGMonthDay.matcher(text).matches(); + } + + private static Pattern constructMatchesXsGYear() { + String gYearRep = "-?([1-9][0-9]{3,}|0[0-9]{3})(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + gYearRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsGYear = constructMatchesXsGYear(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:gYear}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#gYear + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsGYear(String text) { + return regexMatchesXsGYear.matcher(text).matches(); + } + + private static Pattern constructMatchesXsGYearMonth() { + String gYearMonthRep = + "-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + gYearMonthRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsGYearMonth = constructMatchesXsGYearMonth(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:gYearMonth}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#gYearMonth + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsGYearMonth(String text) { + return regexMatchesXsGYearMonth.matcher(text).matches(); + } + + private static Pattern constructMatchesXsHexBinary() { + String hexBinary = "([0-9a-fA-F]{2})*"; + String pattern = "^" + hexBinary + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsHexBinary = constructMatchesXsHexBinary(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:hexBinary}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#hexBinary + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsHexBinary(String text) { + return regexMatchesXsHexBinary.matcher(text).matches(); + } + + private static Pattern constructMatchesXsTime() { + String timeRep = + "(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?|(24:00:00(\\.0+)?))(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + timeRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsTime = constructMatchesXsTime(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:time}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#time + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsTime(String text) { + return regexMatchesXsTime.matcher(text).matches(); + } + + private static Pattern constructMatchesXsInteger() { + String integerRep = "[-+]?[0-9]+"; + String pattern = "^" + integerRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsInteger = constructMatchesXsInteger(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:integer}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#integer + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsInteger(String text) { + return regexMatchesXsInteger.matcher(text).matches(); + } + + private static Pattern constructMatchesXsLong() { + String longRep = "[-+]?0*[0-9]{1,20}"; + String pattern = "^" + longRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsLong = constructMatchesXsLong(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:long}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#long + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsLong(String text) { + return regexMatchesXsLong.matcher(text).matches(); + } + + private static Pattern constructMatchesXsInt() { + String intRep = "[-+]?0*[0-9]{1,10}"; + String pattern = "^" + intRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsInt = constructMatchesXsInt(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:int}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#int + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsInt(String text) { + return regexMatchesXsInt.matcher(text).matches(); + } + + private static Pattern constructMatchesXsShort() { + String shortRep = "[-+]?0*[0-9]{1,5}"; + String pattern = "^" + shortRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsShort = constructMatchesXsShort(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:short}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#short + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsShort(String text) { + return regexMatchesXsShort.matcher(text).matches(); + } + + private static Pattern constructMatchesXsByte() { + String byteRep = "[-+]?0*[0-9]{1,3}"; + String pattern = "^" + byteRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsByte = constructMatchesXsByte(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:byte}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#byte + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsByte(String text) { + return regexMatchesXsByte.matcher(text).matches(); + } + + private static Pattern constructMatchesXsNonNegativeInteger() { + String nonNegativeIntegerRep = "(-0|\\+?[0-9]+)"; + String pattern = "^" + nonNegativeIntegerRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsNonNegativeInteger = + constructMatchesXsNonNegativeInteger(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:nonNegativeInteger}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#nonNegativeInteger + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsNonNegativeInteger(String text) { + return regexMatchesXsNonNegativeInteger.matcher(text).matches(); + } + + private static Pattern constructMatchesXsPositiveInteger() { + String positiveIntegerRep = "\\+?0*[1-9][0-9]*"; + String pattern = "^" + positiveIntegerRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsPositiveInteger = constructMatchesXsPositiveInteger(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:positiveInteger}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#positiveInteger + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsPositiveInteger(String text) { + return regexMatchesXsPositiveInteger.matcher(text).matches(); + } + + private static Pattern constructMatchesXsUnsignedLong() { + String unsignedLongRep = "(-0|\\+?0*[0-9]{1,20})"; + String pattern = "^" + unsignedLongRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsUnsignedLong = constructMatchesXsUnsignedLong(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:unsignedLong}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#unsignedLong + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsUnsignedLong(String text) { + return regexMatchesXsUnsignedLong.matcher(text).matches(); + } + + private static Pattern constructMatchesXsUnsignedInt() { + String unsignedIntRep = "(-0|\\+?0*[0-9]{1,10})"; + String pattern = "^" + unsignedIntRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsUnsignedInt = constructMatchesXsUnsignedInt(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:unsignedInt}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#unsignedInt + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsUnsignedInt(String text) { + return regexMatchesXsUnsignedInt.matcher(text).matches(); + } + + private static Pattern constructMatchesXsUnsignedShort() { + String unsignedShortRep = "(-0|\\+?0*[0-9]{1,5})"; + String pattern = "^" + unsignedShortRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsUnsignedShort = constructMatchesXsUnsignedShort(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:unsignedShort}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#unsignedShort + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsUnsignedShort(String text) { + return regexMatchesXsUnsignedShort.matcher(text).matches(); + } + + private static Pattern constructMatchesXsUnsignedByte() { + String unsignedByteRep = "(-0|\\+?0*[0-9]{1,3})"; + String pattern = "^" + unsignedByteRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsUnsignedByte = constructMatchesXsUnsignedByte(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:unsignedByte}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#unsignedByte + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsUnsignedByte(String text) { + return regexMatchesXsUnsignedByte.matcher(text).matches(); + } + + private static Pattern constructMatchesXsNonPositiveInteger() { + String nonPositiveIntegerRep = "(\\+0|0|-[0-9]+)"; + String pattern = "^" + nonPositiveIntegerRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsNonPositiveInteger = + constructMatchesXsNonPositiveInteger(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:nonPositiveInteger}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#nonPositiveInteger + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsNonPositiveInteger(String text) { + return regexMatchesXsNonPositiveInteger.matcher(text).matches(); + } + + private static Pattern constructMatchesXsNegativeInteger() { + String negativeIntegerRep = "(-0*[1-9][0-9]*)"; + String pattern = "^" + negativeIntegerRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsNegativeInteger = constructMatchesXsNegativeInteger(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:negativeInteger}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#negativeInteger + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsNegativeInteger(String text) { + return regexMatchesXsNegativeInteger.matcher(text).matches(); + } + + private static Pattern constructMatchesXsString() { + String pattern = + "^[\\x{09}\\x{0a}\\x{0d}\\x{20}-\\x{d7ff}\\x{e000}-\\x{fffd}\\x{10000}-\\x{10ffff}]*$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsString = constructMatchesXsString(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:string}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#string + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsString(String text) { + return regexMatchesXsString.matcher(text).matches(); + } + + /** + * Check that the number given as {@code digits} is at most {@code limit}. + * + *

Both {@code digits} and {@code limit} are expected to be decimal digits without a sign and + * without leading zeros. An empty text represents zero. + * + *

We compare the numbers as strings, since they might not fit into an integer. The digits of + * numbers of equal length are ordered as the numbers themselves. + * + * @param digits Number to be checked + * @param limit Largest allowed number + * @return True if {@code digits} is at most {@code limit} + */ + private static Boolean isMagnitudeAtMost(String digits, String limit) { + if (StringHelpers.len(digits) != StringHelpers.len(limit)) { + return (StringHelpers.len(digits) < StringHelpers.len(limit)); + } + return (StringHelpers.compareByCodePoints(digits, limit) <= 0); + } + + /** + * Check that the integer {@code text} is within the given range. + * + *

The {@code text} is expected to consist of decimal digits with an optional sign. + * + * @param text Text to be checked + * @param maxNegative Largest allowed magnitude of a negative number + * @param maxPositive Largest allowed positive number + * @return True if the {@code text} is within the range + */ + private static Boolean isIntegerInRange(String text, String maxNegative, String maxPositive) { + var digits = (StringHelpers.lstrip(StringHelpers.lstrip(text, "+-"), "0")); + if (text.startsWith("-")) { + return isMagnitudeAtMost(digits, maxNegative); + } + return isMagnitudeAtMost(digits, maxPositive); + } + + /** + * Check that the magnitude of the decimal {@code text} is below {@code limit}. + * + *

The {@code text} is expected to match the pattern of a finite {@code xs:double} or {@code + * xs:float}, i.e., a decimal with an optional sign, an optional point and an optional + * exponent. The {@code limit} is expected to be a positive integer without leading zeros. + * + *

We compare the numbers as strings, since they do not necessarily fit into any native number, + * and parsing them to floating-point numbers would round them. + * + * @param text Decimal to be checked + * @param limit Exclusive upper bound on the magnitude + * @return True if the magnitude of {@code text} is below {@code limit} + */ + private static Boolean isDecimalMagnitudeBelow(String text, String limit) { + var unsigned = StringHelpers.lstrip(text, "+-"); + long exponentStart = StringHelpers.find(unsigned, "e"); + if (exponentStart == -1) { + exponentStart = StringHelpers.find(unsigned, "E"); + } + var mantissa = unsigned; + var exponentText = ""; + if (exponentStart != -1) { + mantissa = StringHelpers.slice(unsigned, 0, exponentStart); + exponentText = StringHelpers.slice(unsigned, exponentStart + 1); + } + long point = StringHelpers.find(mantissa, "."); + var integerPart = mantissa; + var fractionPart = ""; + if (point != -1) { + integerPart = StringHelpers.slice(mantissa, 0, point); + fractionPart = StringHelpers.slice(mantissa, point + 1); + } + var head = StringHelpers.lstrip(integerPart, "0"); + var tail = fractionPart; + long shift = StringHelpers.len(head); + if (Objects.equals(head, "")) { + tail = StringHelpers.lstrip(fractionPart, "0"); + if (Objects.equals(tail, "")) { + return true; + } + shift = (StringHelpers.len(tail) - StringHelpers.len(fractionPart)); + } + var exponentDigits = (StringHelpers.lstrip(StringHelpers.lstrip(exponentText, "+-"), "0")); + if (StringHelpers.len(exponentDigits) > 15) { + return exponentText.startsWith("-"); + } + long exponent = 0; + if (StringHelpers.len(exponentDigits) > 0) { + exponent = StringHelpers.parseSafeInt(exponentDigits); + if (exponentText.startsWith("-")) { + exponent = -exponent; + } + } + long magnitude = exponent + shift; + if (magnitude != StringHelpers.len(limit)) { + return magnitude < StringHelpers.len(limit); + } + return (StringHelpers.compareByCodePoints(head + tail, limit) < 0); + } + + /** + * Check that {@code text} is a valid {@code xs:double}. + * + *

We check that the {@code text} matches the pattern of {@code xs:double}, and that it does + * not overflow, i.e., that it does not round to infinity unless it is {@code INF} or + * {@code -INF}. See {@link aas_core.aas3_2.constants.Constants#xsDoubleOverflowThreshold}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#double + * + * @param text Text to be checked + * @return True if the {@code text} is a valid {@code xs:double} + */ + public static Boolean isXsDouble(String text) { + if (!matchesXsDouble(text)) { + return false; + } + switch (text) { + case "INF", "-INF", "NaN" -> { + return true; + } + } + return (isDecimalMagnitudeBelow(text, Constants.xsDoubleOverflowThreshold)); + } + + /** + * Check that {@code text} is a valid {@code xs:float}. + * + *

We check that the {@code text} matches the pattern of {@code xs:float}, and that it does not + * overflow, i.e., that it does not round to infinity unless it is {@code INF} or {@code + * -INF}. See {@link aas_core.aas3_2.constants.Constants#xsFloatOverflowThreshold}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#float + * + * @param text Text to be checked + * @return True if the {@code text} is a valid {@code xs:float} + */ + public static Boolean isXsFloat(String text) { + if (!matchesXsFloat(text)) { + return false; + } + switch (text) { + case "INF", "-INF", "NaN" -> { + return true; + } + } + return (isDecimalMagnitudeBelow(text, Constants.xsFloatOverflowThreshold)); + } + + /** + * Check that {@code text} is a valid {@code xs:gMonthDay}. + * + *

We check that the {@code text} matches the pattern of {@code xs:gMonthDay}, and that the day + * exists in the month. February 29th is valid, as there is no year to tell otherwise. + * + *

See: https://www.w3.org/TR/xmlschema-2/#gMonthDay + * + * @param text Text to be checked + * @return True if the {@code text} is a valid {@code xs:gMonthDay} + */ + public static Boolean isXsGMonthDay(String text) { + return matchesXsGMonthDay(text) + && isDayOfMonthValid( + true, + StringHelpers.parseSafeInt(StringHelpers.slice(text, 2, 4)), + StringHelpers.parseSafeInt(StringHelpers.slice(text, 5, 7))); + } + + /** + * Check that {@code text} is a valid {@code xs:long}. + * + *

We check that the {@code text} matches the pattern of {@code xs:long}, and that the number + * is within the range of {@code xs:long}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#long + * + * @param text Text to be checked + * @return True if the {@code text} is a valid {@code xs:long} + */ + public static Boolean isXsLong(String text) { + return matchesXsLong(text) + && isIntegerInRange(text, "9223372036854775808", "9223372036854775807"); + } + + /** + * Check that {@code text} is a valid {@code xs:int}. + * + *

We check that the {@code text} matches the pattern of {@code xs:int}, and that the number is + * within the range of {@code xs:int}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#int + * + * @param text Text to be checked + * @return True if the {@code text} is a valid {@code xs:int} + */ + public static Boolean isXsInt(String text) { + return matchesXsInt(text) && isIntegerInRange(text, "2147483648", "2147483647"); + } + + /** + * Check that {@code text} is a valid {@code xs:short}. + * + *

We check that the {@code text} matches the pattern of {@code xs:short}, and that the number + * is within the range of {@code xs:short}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#short + * + * @param text Text to be checked + * @return True if the {@code text} is a valid {@code xs:short} + */ + public static Boolean isXsShort(String text) { + return matchesXsShort(text) && isIntegerInRange(text, "32768", "32767"); + } + + /** + * Check that {@code text} is a valid {@code xs:byte}. + * + *

We check that the {@code text} matches the pattern of {@code xs:byte}, and that the number + * is within the range of {@code xs:byte}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#byte + * + * @param text Text to be checked + * @return True if the {@code text} is a valid {@code xs:byte} + */ + public static Boolean isXsByte(String text) { + return matchesXsByte(text) && isIntegerInRange(text, "128", "127"); + } + + /** + * Check that {@code text} is a valid {@code xs:unsignedLong}. + * + *

We check that the {@code text} matches the pattern of {@code xs:unsignedLong}, and that the + * number is within the range of {@code xs:unsignedLong}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#unsignedLong + * + * @param text Text to be checked + * @return True if the {@code text} is a valid {@code xs:unsignedLong} + */ + public static Boolean isXsUnsignedLong(String text) { + return matchesXsUnsignedLong(text) && isIntegerInRange(text, "0", "18446744073709551615"); + } + + /** + * Check that {@code text} is a valid {@code xs:unsignedInt}. + * + *

We check that the {@code text} matches the pattern of {@code xs:unsignedInt}, and that the + * number is within the range of {@code xs:unsignedInt}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#unsignedInt + * + * @param text Text to be checked + * @return True if the {@code text} is a valid {@code xs:unsignedInt} + */ + public static Boolean isXsUnsignedInt(String text) { + return matchesXsUnsignedInt(text) && isIntegerInRange(text, "0", "4294967295"); + } + + /** + * Check that {@code text} is a valid {@code xs:unsignedShort}. + * + *

We check that the {@code text} matches the pattern of {@code xs:unsignedShort}, and that the + * number is within the range of {@code xs:unsignedShort}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#unsignedShort + * + * @param text Text to be checked + * @return True if the {@code text} is a valid {@code xs:unsignedShort} + */ + public static Boolean isXsUnsignedShort(String text) { + return matchesXsUnsignedShort(text) && isIntegerInRange(text, "0", "65535"); + } + + /** + * Check that {@code text} is a valid {@code xs:unsignedByte}. + * + *

We check that the {@code text} matches the pattern of {@code xs:unsignedByte}, and that the + * number is within the range of {@code xs:unsignedByte}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#unsignedByte + * + * @param text Text to be checked + * @return True if the {@code text} is a valid {@code xs:unsignedByte} + */ + public static Boolean isXsUnsignedByte(String text) { + return matchesXsUnsignedByte(text) && isIntegerInRange(text, "0", "255"); + } + + /** + * Check that the {@code value} conforms to its {@code valueType}. + * + * @param value which needs to conform + * @param valueType pre-defined value type + * @return True if the {@code value} conforms + */ + public static Boolean valueConsistentWithXsdType(String value, DataTypeDefXsd valueType) { + switch (valueType) { + case ANY_URI -> { + return matchesXsAnyUri(value); + } + case BASE_64_BINARY -> { + return matchesXsBase64Binary(value); + } + case BOOLEAN -> { + return matchesXsBoolean(value); + } + case BYTE -> { + return isXsByte(value); + } + case DATE -> { + return isXsDate(value); + } + case DATE_TIME -> { + return isXsDateTime(value); + } + case DECIMAL -> { + return matchesXsDecimal(value); + } + case DOUBLE -> { + return isXsDouble(value); + } + case DURATION -> { + return matchesXsDuration(value); + } + case FLOAT -> { + return isXsFloat(value); + } + case G_DAY -> { + return matchesXsGDay(value); + } + case G_MONTH -> { + return matchesXsGMonth(value); + } + case G_MONTH_DAY -> { + return isXsGMonthDay(value); + } + case G_YEAR -> { + return matchesXsGYear(value); + } + case G_YEAR_MONTH -> { + return matchesXsGYearMonth(value); + } + case HEX_BINARY -> { + return matchesXsHexBinary(value); + } + case INT -> { + return isXsInt(value); + } + case INTEGER -> { + return matchesXsInteger(value); + } + case LONG -> { + return isXsLong(value); + } + case NEGATIVE_INTEGER -> { + return matchesXsNegativeInteger(value); + } + case NON_NEGATIVE_INTEGER -> { + return matchesXsNonNegativeInteger(value); + } + case NON_POSITIVE_INTEGER -> { + return matchesXsNonPositiveInteger(value); + } + case POSITIVE_INTEGER -> { + return matchesXsPositiveInteger(value); + } + case SHORT -> { + return isXsShort(value); + } + case STRING -> { + return matchesXsString(value); + } + case TIME -> { + return matchesXsTime(value); + } + case UNSIGNED_BYTE -> { + return isXsUnsignedByte(value); + } + case UNSIGNED_INT -> { + return isXsUnsignedInt(value); + } + case UNSIGNED_LONG -> { + return isXsUnsignedLong(value); + } + case UNSIGNED_SHORT -> { + return isXsUnsignedShort(value); + } + } + return false; + } + + /** Check that the target of the model reference matches the {@code expectedType}. */ + public static Boolean isModelReferenceTo(IReference reference, KeyTypes expectedType) { + return reference.getType() == ReferenceTypes.MODEL_REFERENCE + && reference.getKeys().size() != 0 + && ListHelpers.at(reference.getKeys(), -1).getType() == expectedType; + } + + /** + * Check that the target of the reference matches a {@link + * aas_core.aas3_2.constants.Constants#aasReferables}. + */ + public static Boolean isModelReferenceToReferable(IReference reference) { + return reference.getType() == ReferenceTypes.MODEL_REFERENCE + && reference.getKeys().size() != 0 + && Constants.aasReferables.contains(ListHelpers.at(reference.getKeys(), -1).getType()); + } + + /** + * Check that the {@link aas_core.aas3_2.types.model.IReferable#getIdShort()}'s among the {@code + * referables} are unique in their namespace. + * + *

The argument {@code referables} is declared with the wildcard {@code List} instead of the invariant {@code List} so that the lists of the + * descendants of {@link IReferable} can be passed without a copy. + */ + public static Boolean idShortsAreUnique(List referables) { + Set idShortSet = new HashSet(); + for (var referable : referables) { + var idShort = referable.getIdShort(); + if (!idShort.isPresent()) { + continue; + } + if (idShortSet.contains(idShort.get())) { + return false; + } + idShortSet.add(idShort.get()); + } + return true; + } + + /** + * Collect the {@link aas_core.aas3_2.types.model.IReferable#getIdShort()}'s of the {@code + * variables} values. + * + * @param variables Operation variables whose ID-shorts we collect + * @param idShortSet ID-shorts observed so far, extended in place + * @return False if an ID-short has been already observed + */ + private static Boolean collectUniqueIdShortsOfVariables( + Optional> variables, Set idShortSet) { + if (!variables.isPresent()) { + return true; + } + for (var variable : variables.get()) { + var idShort = variable.getValue().getIdShort(); + if (!idShort.isPresent()) { + continue; + } + if (idShortSet.contains(idShort.get())) { + return false; + } + idShortSet.add(idShort.get()); + } + return true; + } + + /** + * Check that the {@link aas_core.aas3_2.types.model.IReferable#getIdShort()}'s among all the + * {@code inputVariables}, {@code outputVariables} and {@code inoutputVariables} are unique. + */ + public static Boolean idShortsOfVariablesAreUnique( + Optional> inputVariables, + Optional> outputVariables, + Optional> inoutputVariables) { + Set idShortSet = new HashSet(); + return collectUniqueIdShortsOfVariables(inputVariables, idShortSet) + && collectUniqueIdShortsOfVariables(outputVariables, idShortSet) + && collectUniqueIdShortsOfVariables(inoutputVariables, idShortSet); + } + + private static Pattern constructSpecificAssetIdNameMatchesGlobalAssetId() { + String pattern = "^[gG][lL][oO][bB][aA][lL][aA][sS][sS][eE][tT][iI][dD]$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexSpecificAssetIdNameMatchesGlobalAssetId = + constructSpecificAssetIdNameMatchesGlobalAssetId(); + + /** Check whether {@code name} is the reserved global asset ID key. */ + public static Boolean specificAssetIdNameMatchesGlobalAssetId(String name) { + return regexSpecificAssetIdNameMatchesGlobalAssetId.matcher(name).matches(); + } + + /** Check whether {@code element} or its descendants have template qualifiers. */ + public static Boolean submodelElementHasTemplateQualifierInTree(ISubmodelElement element) { + if ((element.getQualifiers().isPresent()) + && (element.getQualifiers().get().stream() + .anyMatch( + qualifier -> qualifier.kindOrDefault() == QualifierKind.TEMPLATE_QUALIFIER))) { + return true; + } + if (element instanceof ISubmodelElementList) { + return (((ISubmodelElementList) element).getValue().isPresent()) + && (((ISubmodelElementList) element) + .getValue().get().stream() + .anyMatch(child -> submodelElementHasTemplateQualifierInTree(child))); + } + if (element instanceof ISubmodelElementCollection) { + return (((ISubmodelElementCollection) element).getValue().isPresent()) + && (((ISubmodelElementCollection) element) + .getValue().get().stream() + .anyMatch(child -> submodelElementHasTemplateQualifierInTree(child))); + } + if (element instanceof IEntity) { + return (((IEntity) element).getStatements().isPresent()) + && (((IEntity) element) + .getStatements().get().stream() + .anyMatch(child -> submodelElementHasTemplateQualifierInTree(child))); + } + if (element instanceof IAnnotatedRelationshipElement) { + return (((IAnnotatedRelationshipElement) element).getAnnotations().isPresent()) + && (((IAnnotatedRelationshipElement) element) + .getAnnotations().get().stream() + .anyMatch(child -> submodelElementHasTemplateQualifierInTree(child))); + } + if (element instanceof IOperation) {} + return false; + } + + /** + * Check that {@code elements} have no template qualifiers in their trees. + * + *

The argument {@code elements} is declared with the wildcard {@code List} instead of the invariant {@code List} so that the lists of + * the descendants of {@link ISubmodelElement} can be passed without a copy. + */ + public static Boolean submodelElementsHaveNoTemplateQualifiers( + List elements) { + return elements.stream() + .allMatch(element -> !submodelElementHasTemplateQualifierInTree(element)); + } + + /** Recursively check that submodel element lists have exactly one child. */ + public static Boolean submodelElementListsHaveExactlyOneElementInTree(ISubmodelElement element) { + if (element instanceof ISubmodelElementList) { + return (((ISubmodelElementList) element).getValue().isPresent()) + && ((ISubmodelElementList) element).getValue().get().size() == 1 + && (((ISubmodelElementList) element) + .getValue().get().stream() + .allMatch(child -> submodelElementListsHaveExactlyOneElementInTree(child))); + } + if (element instanceof ISubmodelElementCollection) { + return (!((ISubmodelElementCollection) element).getValue().isPresent()) + || (((ISubmodelElementCollection) element) + .getValue().get().stream() + .allMatch(child -> submodelElementListsHaveExactlyOneElementInTree(child))); + } + if (element instanceof IEntity) { + return (!((IEntity) element).getStatements().isPresent()) + || (((IEntity) element) + .getStatements().get().stream() + .allMatch(child -> submodelElementListsHaveExactlyOneElementInTree(child))); + } + if (element instanceof IAnnotatedRelationshipElement) { + return (!((IAnnotatedRelationshipElement) element).getAnnotations().isPresent()) + || (((IAnnotatedRelationshipElement) element) + .getAnnotations().get().stream() + .allMatch(child -> submodelElementListsHaveExactlyOneElementInTree(child))); + } + return true; + } + + /** + * Check that all submodel element lists among {@code elements} have one item. + * + *

The argument {@code elements} is declared with the wildcard {@code List} instead of the invariant {@code List} so that the lists of + * the descendants of {@link ISubmodelElement} can be passed without a copy. + */ + public static Boolean submodelElementListsInSubmodelElementsHaveExactlyOneElement( + List elements) { + return elements.stream() + .allMatch(element -> submodelElementListsHaveExactlyOneElementInTree(element)); + } + + /** Check that submodel element lists in operation variables have one item. */ + public static Boolean submodelElementListsInOperationVariablesHaveExactlyOneElement( + Optional> inputVariables, + Optional> outputVariables, + Optional> inoutputVariables) { + return ((!inputVariables.isPresent()) + || (inputVariables.get().stream() + .allMatch( + variable -> + submodelElementListsHaveExactlyOneElementInTree(variable.getValue())))) + && ((!outputVariables.isPresent()) + || (outputVariables.get().stream() + .allMatch( + variable -> + submodelElementListsHaveExactlyOneElementInTree(variable.getValue())))) + && ((!inoutputVariables.isPresent()) + || (inoutputVariables.get().stream() + .allMatch( + variable -> + submodelElementListsHaveExactlyOneElementInTree(variable.getValue())))); + } + + /** Check that the extension names are unique. */ + public static Boolean extensionNamesAreUnique(List extensions) { + Set nameSet = new HashSet(); + for (var extension : extensions) { + if (nameSet.contains(extension.getName())) { + return false; + } + nameSet.add(extension.getName()); + } + return true; + } + + /** + * Check that all semantic IDs are identical, if specified. + * + *

The argument {@code elements} is declared with the wildcard {@code List} instead of the invariant {@code List} so that the lists of + * the descendants of {@link ISubmodelElement} can be passed without a copy. + */ + public static Boolean submodelElementsHaveIdenticalSemanticIds( + List elements) { + Optional thatSemanticId = Optional.empty(); + for (var element : elements) { + var thisSemanticId = element.getSemanticId(); + if (!thisSemanticId.isPresent()) { + continue; + } + if (!thatSemanticId.isPresent()) { + thatSemanticId = thisSemanticId; + } else if (!referenceKeyValuesEqual( + thatSemanticId.orElse(null), thisSemanticId.orElse(null))) { + return false; + } + } + return true; + } + + /** Check that the run-time type of the {@code element} coincides with {@code elementType}. */ + public static Boolean submodelElementIsOfType( + ISubmodelElement element, AasSubmodelElements elementType) { + switch (elementType) { + case ANNOTATED_RELATIONSHIP_ELEMENT -> { + return element instanceof IAnnotatedRelationshipElement; + } + case BASIC_EVENT_ELEMENT -> { + return element instanceof IBasicEventElement; + } + case BLOB -> { + return element instanceof IBlob; + } + case CAPABILITY -> { + return element instanceof ICapability; + } + case DATA_ELEMENT -> { + return element instanceof IDataElement; + } + case ENTITY -> { + return element instanceof IEntity; + } + case EVENT_ELEMENT -> { + return element instanceof IEventElement; + } + case FILE -> { + return element instanceof IFile; + } + case MULTI_LANGUAGE_PROPERTY -> { + return element instanceof IMultiLanguageProperty; + } + case OPERATION -> { + return element instanceof IOperation; + } + case PROPERTY -> { + return element instanceof IProperty; + } + case RANGE -> { + return element instanceof IRange; + } + case REFERENCE_ELEMENT -> { + return element instanceof IReferenceElement; + } + case RELATIONSHIP_ELEMENT -> { + return element instanceof IRelationshipElement; + } + case SUBMODEL_ELEMENT -> { + return true; + } + case SUBMODEL_ELEMENT_LIST -> { + return element instanceof ISubmodelElementList; + } + case SUBMODEL_ELEMENT_COLLECTION -> { + return element instanceof ISubmodelElementCollection; + } + } + return false; + } + + /** + * Check that all the {@code elements} have the {@code valueType}. + * + *

The argument {@code elements} is declared with the wildcard {@code List} instead of the invariant {@code List} so that the lists of + * the descendants of {@link ISubmodelElement} can be passed without a copy. + */ + public static Boolean propertiesOrRangesHaveValueType( + List elements, DataTypeDefXsd valueType) { + for (var element : elements) { + if (element instanceof IProperty && ((IProperty) element).getValueType() != valueType) { + return false; + } + if (element instanceof IRange && ((IRange) element).getValueType() != valueType) { + return false; + } + } + return true; + } + + /** Check that the two references are equal by comparing their key values. */ + public static Boolean referenceKeyValuesEqual(IReference that, IReference other) { + if (that.getKeys().size() != other.getKeys().size()) { + return false; + } + for (int i = 0; i < that.getKeys().size(); i++) { + if (!Objects.equals( + ListHelpers.at(that.getKeys(), i).getValue(), + ListHelpers.at(other.getKeys(), i).getValue())) { + return false; + } + } + return true; + } + + /** + * Check that the {@link aas_core.aas3_2.types.impl.DataSpecificationIec61360#getDataType()} is + * defined appropriately for all data specifications whose content is given as IEC 61360. + */ + public static Boolean dataSpecificationIec61360sForPropertyOrValueHaveAppropriateDataType( + List embeddedDataSpecifications) { + return embeddedDataSpecifications.stream() + .allMatch( + dataSpecification -> + !(dataSpecification.getDataSpecificationContent() + instanceof IDataSpecificationIec61360) + || ((((IDataSpecificationIec61360) + dataSpecification.getDataSpecificationContent()) + .getDataType() + .isPresent()) + && Constants.dataTypeIec61360ForPropertyOrValue.contains( + ((IDataSpecificationIec61360) + dataSpecification.getDataSpecificationContent()) + .getDataType() + .get()))); + } + + /** + * Check that the {@link aas_core.aas3_2.types.impl.DataSpecificationIec61360#getDataType()} is + * defined appropriately for all data specifications whose content is given as IEC 61360. + */ + public static Boolean dataSpecificationIec61360sForReferenceHaveAppropriateDataType( + List embeddedDataSpecifications) { + return embeddedDataSpecifications.stream() + .allMatch( + dataSpecification -> + !(dataSpecification.getDataSpecificationContent() + instanceof IDataSpecificationIec61360) + || ((((IDataSpecificationIec61360) + dataSpecification.getDataSpecificationContent()) + .getDataType() + .isPresent()) + && Constants.dataTypeIec61360ForReference.contains( + ((IDataSpecificationIec61360) + dataSpecification.getDataSpecificationContent()) + .getDataType() + .get()))); + } + + /** + * Check that the {@link aas_core.aas3_2.types.impl.DataSpecificationIec61360#getDataType()} is + * defined appropriately for all data specifications whose content is given as IEC 61360. + */ + public static Boolean dataSpecificationIec61360sForDocumentHaveAppropriateDataType( + List embeddedDataSpecifications) { + return embeddedDataSpecifications.stream() + .allMatch( + dataSpecification -> + !(dataSpecification.getDataSpecificationContent() + instanceof IDataSpecificationIec61360) + || ((((IDataSpecificationIec61360) + dataSpecification.getDataSpecificationContent()) + .getDataType() + .isPresent()) + && Constants.dataTypeIec61360ForDocument.contains( + ((IDataSpecificationIec61360) + dataSpecification.getDataSpecificationContent()) + .getDataType() + .get()))); + } + + /** + * Check that the {@link aas_core.aas3_2.types.impl.DataSpecificationIec61360#getDataType()} is + * defined for all data specifications whose content is given as IEC 61360. + */ + public static Boolean dataSpecificationIec61360sHaveDataType( + List embeddedDataSpecifications) { + return embeddedDataSpecifications.stream() + .allMatch( + dataSpecification -> + !(dataSpecification.getDataSpecificationContent() + instanceof IDataSpecificationIec61360) + || (((IDataSpecificationIec61360) + dataSpecification.getDataSpecificationContent()) + .getDataType() + .isPresent())); + } + + /** + * Check that the {@link aas_core.aas3_2.types.impl.DataSpecificationIec61360#getValue()} is + * defined for all data specifications whose content is given as IEC 61360. + */ + public static Boolean dataSpecificationIec61360sHaveValue( + List embeddedDataSpecifications) { + return embeddedDataSpecifications.stream() + .allMatch( + dataSpecification -> + !(dataSpecification.getDataSpecificationContent() + instanceof IDataSpecificationIec61360) + || (((IDataSpecificationIec61360) + dataSpecification.getDataSpecificationContent()) + .getValue() + .isPresent())); + } + + /** + * Check that the {@link aas_core.aas3_2.types.impl.DataSpecificationIec61360#getDefinition()} is + * defined for all data specifications whose content is given as IEC 61360 at least in English. + */ + public static Boolean dataSpecificationIec61360sHaveDefinitionAtLeastInEnglish( + List embeddedDataSpecifications) { + for (var dataSpecification : embeddedDataSpecifications) { + var content = dataSpecification.getDataSpecificationContent(); + if (!(content instanceof IDataSpecificationIec61360)) { + continue; + } + var definition = (((IDataSpecificationIec61360) content).getDefinition()); + if (!definition.isPresent()) { + return false; + } + if (!(definition.get().stream() + .anyMatch(langString -> isBcp47ForEnglish(langString.getLanguage())))) { + return false; + } + } + return true; + } + + private static Pattern constructIsBcp47ForEnglish() { + String pattern = "^(en|EN)(-.*)?$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexIsBcp47ForEnglish = constructIsBcp47ForEnglish(); + + /** Check that the {@code text} corresponds to a BCP47 code for english. */ + public static Boolean isBcp47ForEnglish(String text) { + return regexIsBcp47ForEnglish.matcher(text).matches(); + } + + private static Pattern constructMatchesPathItem() { + String pattern = + "^(([A-Za-z][A-Za-z0-9_]+)|(\\[[0-9]+\\]))((\\.[A-Za-z][A-Za-z0-9_]+)|(\\[[0-9]+\\]))*$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesPathItem = constructMatchesPathItem(); + + /** + * Check that {@code text} is a valid idShortPath. + * + *

An idShortPath is a chain of idShorts or SubmodelElementList-indexes which points to an + * element within a hierarchy of elements, e.g., {@code sme1.sme2[0].p1}. + */ + public static Boolean matchesPathItem(String text) { + return regexMatchesPathItem.matcher(text).matches(); + } + + private static Pattern constructMatchesFieldIdentifier() { + String arrayIndex = "(0|[1-9][0-9]*)"; + String optionalIndex = "\\[" + arrayIndex + "?\\]"; + String referenceClause = "(type|keys" + optionalIndex + "\\.(type|value))"; + String semanticIdClause = "semanticId(\\." + referenceClause + ")?"; + String supplementalSemanticIdClause = + "supplementalSemanticIds(" + optionalIndex + ")?(\\." + referenceClause + ")?"; + String specificAssetIdsClause = + "specificAssetIds" + + optionalIndex + + "\\.(name|value|externalSubjectId(\\." + + referenceClause + + ")?)"; + String endpointClause = + "endpoints" + optionalIndex + "\\.(interface|protocolinformation\\.href)"; + String smDescriptorClause = + "(" + + semanticIdClause + + "|" + + supplementalSemanticIdClause + + "|idShort|id|" + + endpointClause + + ")"; + String idShort = "[A-Za-z]([A-Za-z0-9_-]*[A-Za-z0-9_])?"; + String idShortPathSegment = idShort + "(" + optionalIndex + ")*"; + String idShortPath = idShortPathSegment + "(\\." + idShortPathSegment + ")*"; + String fieldsAas = + "(idShort|id|assetInformation\\.assetKind|assetInformation\\.assetType|assetInformation\\.globalAssetId|assetInformation\\." + + specificAssetIdsClause + + "|submodels" + + optionalIndex + + "(\\." + + referenceClause + + ")?)"; + String fieldsSm = "(" + semanticIdClause + "|" + supplementalSemanticIdClause + "|idShort|id)"; + String fieldsSme = + "(" + + semanticIdClause + + "|" + + supplementalSemanticIdClause + + "|idShort|value|valueType|language)"; + String fieldsCd = "(idShort|id)"; + String fieldsAasDescriptor = + "(idShort|id|assetKind|assetType|globalAssetId|" + + specificAssetIdsClause + + "|" + + endpointClause + + "|submodelDescriptors" + + optionalIndex + + "\\." + + smDescriptorClause + + ")"; + String pattern = + "^(\\$aas#" + + fieldsAas + + "|\\$sm#" + + fieldsSm + + "|\\$sme(\\." + + idShortPath + + ")?#" + + fieldsSme + + "|\\$cd#" + + fieldsCd + + "|\\$aasdesc#" + + fieldsAasDescriptor + + "|\\$smdesc#" + + smDescriptorClause + + ")$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesFieldIdentifier = constructMatchesFieldIdentifier(); + + /** + * Check that {@code text} is a valid field identifier of the query language. + * + *

A field identifier starts with a root ({@code $aas}, {@code $sm}, {@code $sme}, {@code $cd}, + * {@code $aasdesc} or {@code $smdesc}), optionally followed by an idShortPath in case of {@code + * $sme}, and ends with an attribute declaration after {@code #}, e.g., {@code + * $sme.someCollection.someProperty#value}. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#query-grammar + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesFieldIdentifier(String text) { + return regexMatchesFieldIdentifier.matcher(text).matches(); + } + + private static Pattern constructMatchesFragmentFieldIdentifier() { + String arrayIndex = "(0|[1-9][0-9]*)"; + String optionalIndex = "\\[" + arrayIndex + "?\\]"; + String referenceClause = "keys(" + optionalIndex + ")?"; + String semanticIdClause = "semanticId(\\." + referenceClause + ")?"; + String supplementalSemanticIdClause = + "supplementalSemanticIds(" + optionalIndex + "(\\." + referenceClause + ")?)?"; + String specificAssetIdsClause = + "specificAssetIds(" + + optionalIndex + + "(\\.externalSubjectId(\\." + + referenceClause + + ")?)?)?"; + String submodelsClause = "submodels(" + optionalIndex + "(\\." + referenceClause + ")?)?"; + String endpointClause = "endpoints(" + optionalIndex + ")?"; + String smDescriptorClause = + "(" + + semanticIdClause + + "|" + + supplementalSemanticIdClause + + "|idShort|" + + endpointClause + + ")"; + String submodelDescriptorsClause = + "submodelDescriptors(" + optionalIndex + "(\\." + smDescriptorClause + ")?)?"; + String idShort = "[A-Za-z]([A-Za-z0-9_-]*[A-Za-z0-9_])?"; + String idShortPathSegment = idShort + "(" + optionalIndex + ")*"; + String idShortPath = idShortPathSegment + "(\\." + idShortPathSegment + ")*"; + String fieldsAas = + "(idShort|assetInformation\\.assetType|assetInformation\\.globalAssetId|assetInformation\\." + + specificAssetIdsClause + + "|" + + submodelsClause + + ")"; + String fieldsSm = "(" + semanticIdClause + "|" + supplementalSemanticIdClause + "|idShort)"; + String fieldsSme = + "(" + + semanticIdClause + + "|" + + supplementalSemanticIdClause + + "|idShort|value|valueType|language)"; + String fieldsAasDescriptor = + "(idShort|description|displayName|extension|administration|assetKind|assetType|globalAssetId|" + + specificAssetIdsClause + + "|" + + endpointClause + + "|" + + submodelDescriptorsClause + + ")"; + String pattern = + "^(\\$aas#" + + fieldsAas + + "|\\$sm#" + + fieldsSm + + "|\\$sme(\\." + + idShortPath + + ")?(#" + + fieldsSme + + ")?|\\$cd#idShort|\\$aasdesc#" + + fieldsAasDescriptor + + "|\\$smdesc#" + + smDescriptorClause + + ")$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesFragmentFieldIdentifier = + constructMatchesFragmentFieldIdentifier(); + + /** + * Check that {@code text} is a valid fragment field identifier. + * + *

A fragment field identifier points to the part of the returned data which should be + * filtered, e.g., {@code $aas#assetInformation.specificAssetIds[]} or {@code + * $sme.someCollection}. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#query-grammar + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesFragmentFieldIdentifier(String text) { + return regexMatchesFragmentFieldIdentifier.matcher(text).matches(); + } + + private static Pattern constructMatchesHexLiteral() { + String pattern = "^16#[0-9A-F]+$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesHexLiteral = constructMatchesHexLiteral(); + + /** + * Check that {@code text} is a valid hexadecimal literal of the query language. + * + *

A hexadecimal literal is prefixed with {@code 16#}, e.g., {@code 16#1F}. + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesHexLiteral(String text) { + return regexMatchesHexLiteral.matcher(text).matches(); + } + + private static Pattern constructMatchesDateTimeLiteral() { + String digit = "[0-9]"; + String monthWith31Days = "(0[13578]|1[02])-(0[1-9]|[12]" + digit + "|3[01])"; + String monthWith30Days = "(0[469]|11)-(0[1-9]|[12]" + digit + "|30)"; + String february = "02-(0[1-9]|1" + digit + "|2[0-8])"; + String commonDate = + digit + "{4}-(" + monthWith31Days + "|" + monthWith30Days + "|" + february + ")"; + String leapYear = + "(" + digit + "{2}(0[48]|[2468][048]|[13579][26])|([02468][048]|[13579][26])00)"; + String leapDay = leapYear + "-02-29"; + String time = + "(([01]" + + digit + + "|2[0-3]):[0-5]" + + digit + + "(:[0-5]" + + digit + + ")?(\\." + + digit + + "+)?|24:00(:00)?(\\.0+)?)"; + String timezone = "(Z|[+-]((0" + digit + "|1[0-3]):[0-5]" + digit + "|14:00))"; + String pattern = "^((" + commonDate + ")|(" + leapDay + "))T?" + time + timezone + "?$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesDateTimeLiteral = constructMatchesDateTimeLiteral(); + + /** + * Check that {@code text} is a valid date-time literal of the query language. + * + *

A date-time literal is a valid calendar date, followed by an optional {@code T} separator, + * the time and an optional time zone, e.g., {@code 2024-02-29T12:00:00Z}. + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesDateTimeLiteral(String text) { + return regexMatchesDateTimeLiteral.matcher(text).matches(); + } + + private static Pattern constructMatchesTimeLiteral() { + String digit = "[0-9]"; + String time = + "(([01]" + + digit + + "|2[0-3]):[0-5]" + + digit + + "(:[0-5]" + + digit + + ")?(\\." + + digit + + "+)?|24:00(:00)?(\\.0+)?)"; + String timezone = "(Z|[+-]((0" + digit + "|1[0-3]):[0-5]" + digit + "|14:00))"; + String pattern = "^" + time + timezone + "?$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesTimeLiteral = constructMatchesTimeLiteral(); + + /** + * Check that {@code text} is a valid time literal of the query language. + * + *

A time literal is given as {@code HH:MM}, {@code HH:MM:SS}, optionally with fractional + * seconds and an optional time zone, e.g., {@code 12:00:00+01:00}. + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesTimeLiteral(String text) { + return regexMatchesTimeLiteral.matcher(text).matches(); + } + + private static Pattern constructMatchesReferenceIdentifier() { + String arrayIndex = "(0|[1-9][0-9]*)"; + String optionalIndex = "\\[" + arrayIndex + "?\\]"; + String referenceClause = "(type|keys" + optionalIndex + "\\.(type|value))"; + String semanticIdClause = "semanticId(\\." + referenceClause + ")?"; + String supplementalSemanticIdClause = + "supplementalSemanticIds(" + optionalIndex + ")?(\\." + referenceClause + ")?"; + String specificAssetIdsClause = + "specificAssetIds" + + optionalIndex + + "\\.(name|value|externalSubjectId(\\." + + referenceClause + + ")?)"; + String idShort = "[A-Za-z]([A-Za-z0-9_-]*[A-Za-z0-9_])?"; + String idShortPathSegment = idShort + "(" + optionalIndex + ")*"; + String idShortPath = idShortPathSegment + "(\\." + idShortPathSegment + ")*"; + String identifierCharacter = + "([\\x{09}\\x{0a}\\x{0d}\\x{20}-\\x{21}\\x{23}-\\x{5b}\\x{5d}-\\x{d7ff}\\x{e000}-\\x{fffd}\\x{10000}-\\x{10ffff}]|\\\\[\"\\\\])"; + String identifierInstance = "\\(\"" + identifierCharacter + "+\"\\)"; + String fieldsAas = + "(idShort|id|assetInformation\\.assetKind|assetInformation\\.assetType|assetInformation\\.globalAssetId|assetInformation\\." + + specificAssetIdsClause + + "|submodels" + + optionalIndex + + "(\\." + + referenceClause + + ")?)"; + String fieldsSm = "(" + semanticIdClause + "|" + supplementalSemanticIdClause + "|idShort|id)"; + String fieldsSme = + "(" + + semanticIdClause + + "|" + + supplementalSemanticIdClause + + "|idShort|value|valueType|language)"; + String pattern = + "^(\\$aas" + + identifierInstance + + "#" + + fieldsAas + + "|\\$sm" + + identifierInstance + + "#" + + fieldsSm + + "|\\$cd" + + identifierInstance + + "#(idShort|id)|\\$sme" + + identifierInstance + + "\\." + + idShortPath + + "#" + + fieldsSme + + ")$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesReferenceIdentifier = + constructMatchesReferenceIdentifier(); + + /** + * Check that {@code text} is a valid reference identifier. + * + *

A reference identifier points to an attribute of a specific instance given by its + * identifier, e.g., {@code $sm("https://example.com/sm")#idShort} or {@code + * $sme("https://example.com/sm").someProperty#value}. A quotation mark and a reverse solidus in + * the identifier are escaped as {@code \"} and {@code \\}, respectively. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#query-grammar + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesReferenceIdentifier(String text) { + return regexMatchesReferenceIdentifier.matcher(text).matches(); + } + + /** + * Check that {@code value} can be used as an operand of {@code valueType}. + * + *

Following the normative JSON schema of the query language, a field is implicitly cast to the + * type of the other operand, and can hence be used as an operand of any type. A global attribute + * giving a date and time ({@code LOCALNOW}, {@code UTCNOW} or {@code CLIENTNOW}) can be used both + * as a string and as a date-time, while all the other attributes are strings. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + * + * @param value Operand of a comparison + * @param valueType One of {@code string}, {@code number}, {@code hex}, {@code boolean}, {@code + * date_time} or {@code time} + * @return True if {@code value} can be used as {@code valueType} + */ + private static Boolean canBeOfType(Value value, String valueType) { + if (value.getUnderlying() instanceof IFieldOperand) { + return true; + } + if (value.getUnderlying() instanceof IAttributeOperand) { + if (Objects.equals(valueType, "string")) { + return true; + } + var attribute = (((IAttributeOperand) value.getUnderlying()).getAttribute()); + return Objects.equals(valueType, "date_time") + && attribute.getUnderlying() instanceof IGlobalAttribute + && (((IGlobalAttribute) attribute.getUnderlying()).getKind() + == GlobalAttributeKind.LOCAL_NOW + || ((IGlobalAttribute) attribute.getUnderlying()).getKind() + == GlobalAttributeKind.UTC_NOW + || ((IGlobalAttribute) attribute.getUnderlying()).getKind() + == GlobalAttributeKind.CLIENT_NOW); + } + if ((value.getUnderlying() instanceof IStringLiteral + || value.getUnderlying() instanceof IStringCast)) { + return Objects.equals(valueType, "string"); + } + if ((value.getUnderlying() instanceof INumberLiteral + || value.getUnderlying() instanceof INumberCast + || value.getUnderlying() instanceof IDayOfWeek + || value.getUnderlying() instanceof IDayOfMonth + || value.getUnderlying() instanceof IMonth + || value.getUnderlying() instanceof IYear)) { + return Objects.equals(valueType, "number"); + } + if ((value.getUnderlying() instanceof IHexLiteral + || value.getUnderlying() instanceof IHexCast)) { + return Objects.equals(valueType, "hex"); + } + if ((value.getUnderlying() instanceof IBooleanLiteral + || value.getUnderlying() instanceof IBooleanCast)) { + return Objects.equals(valueType, "boolean"); + } + if ((value.getUnderlying() instanceof IDateTimeLiteral + || value.getUnderlying() instanceof IDateTimeCast)) { + return Objects.equals(valueType, "date_time"); + } + if ((value.getUnderlying() instanceof ITimeLiteral + || value.getUnderlying() instanceof ITimeCast)) { + return Objects.equals(valueType, "time"); + } + return false; + } + + /** + * Check that {@code left} and {@code right} can be compared for (in)equality. + * + *

Following the normative JSON schema of the query language, the two operands need to be of + * the same type: a string, a number, a hexadecimal, a boolean, a date-time or a time. A field is + * implicitly cast to the type of the other operand, and can hence be compared with an operand of + * any type. A global attribute giving a date and time ({@code LOCALNOW}, {@code UTCNOW} or {@code + * CLIENTNOW}) can be used both as a string and as a date-time. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + * + * @param left First operand of the comparison + * @param right Second operand of the comparison + * @return True if the operands can be compared for (in)equality + */ + public static Boolean areEqualityComparable(Value left, Value right) { + return (canBeOfType(left, "string") && canBeOfType(right, "string")) + || (canBeOfType(left, "number") && canBeOfType(right, "number")) + || (canBeOfType(left, "hex") && canBeOfType(right, "hex")) + || (canBeOfType(left, "boolean") && canBeOfType(right, "boolean")) + || (canBeOfType(left, "date_time") && canBeOfType(right, "date_time")) + || (canBeOfType(left, "time") && canBeOfType(right, "time")); + } + + /** + * Check that {@code left} and {@code right} can be compared by order. + * + *

The operands need to be comparable for (in)equality (see {@code are_equality_comparable}), + * but booleans can not be ordered. + * + *

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/query-language.html#_json_schema + * + * @param left First operand of the comparison + * @param right Second operand of the comparison + * @return True if the operands can be compared by order + */ + public static Boolean areOrderComparable(Value left, Value right) { + return areEqualityComparable(left, right) + && (!(left.getUnderlying() instanceof IBooleanLiteral + || left.getUnderlying() instanceof IBooleanCast)) + && (!(right.getUnderlying() instanceof IBooleanLiteral + || right.getUnderlying() instanceof IBooleanCast)); + } + + /** Hash allowed enum values for efficient validation of enums. */ + private static class _EnumValueSet { + + private static final Set forModellingKind; + + static { + final Set temp = new HashSet<>(); + temp.add(ModellingKind.TEMPLATE); + temp.add(ModellingKind.INSTANCE); + if (!temp.containsAll(Arrays.asList(ModellingKind.values()))) { + throw new IllegalStateException("Uncovered ModellingKind"); + } + forModellingKind = Collections.unmodifiableSet(temp); + } + + private static final Set forQualifierKind; + + static { + final Set temp = new HashSet<>(); + temp.add(QualifierKind.VALUE_QUALIFIER); + temp.add(QualifierKind.CONCEPT_QUALIFIER); + temp.add(QualifierKind.TEMPLATE_QUALIFIER); + if (!temp.containsAll(Arrays.asList(QualifierKind.values()))) { + throw new IllegalStateException("Uncovered QualifierKind"); + } + forQualifierKind = Collections.unmodifiableSet(temp); + } + + private static final Set forAssetKind; + + static { + final Set temp = new HashSet<>(); + temp.add(AssetKind.TYPE); + temp.add(AssetKind.INSTANCE); + temp.add(AssetKind.BATCH); + temp.add(AssetKind.ROLE); + temp.add(AssetKind.NOT_APPLICABLE); + if (!temp.containsAll(Arrays.asList(AssetKind.values()))) { + throw new IllegalStateException("Uncovered AssetKind"); + } + forAssetKind = Collections.unmodifiableSet(temp); + } + + private static final Set forAasSubmodelElements; + + static { + final Set temp = new HashSet<>(); + temp.add(AasSubmodelElements.ANNOTATED_RELATIONSHIP_ELEMENT); + temp.add(AasSubmodelElements.BASIC_EVENT_ELEMENT); + temp.add(AasSubmodelElements.BLOB); + temp.add(AasSubmodelElements.CAPABILITY); + temp.add(AasSubmodelElements.DATA_ELEMENT); + temp.add(AasSubmodelElements.ENTITY); + temp.add(AasSubmodelElements.EVENT_ELEMENT); + temp.add(AasSubmodelElements.FILE); + temp.add(AasSubmodelElements.MULTI_LANGUAGE_PROPERTY); + temp.add(AasSubmodelElements.OPERATION); + temp.add(AasSubmodelElements.PROPERTY); + temp.add(AasSubmodelElements.RANGE); + temp.add(AasSubmodelElements.REFERENCE_ELEMENT); + temp.add(AasSubmodelElements.RELATIONSHIP_ELEMENT); + temp.add(AasSubmodelElements.SUBMODEL_ELEMENT); + temp.add(AasSubmodelElements.SUBMODEL_ELEMENT_LIST); + temp.add(AasSubmodelElements.SUBMODEL_ELEMENT_COLLECTION); + if (!temp.containsAll(Arrays.asList(AasSubmodelElements.values()))) { + throw new IllegalStateException("Uncovered AasSubmodelElements"); + } + forAasSubmodelElements = Collections.unmodifiableSet(temp); + } + + private static final Set forEntityType; + + static { + final Set temp = new HashSet<>(); + temp.add(EntityType.CO_MANAGED_ENTITY); + temp.add(EntityType.SELF_MANAGED_ENTITY); + if (!temp.containsAll(Arrays.asList(EntityType.values()))) { + throw new IllegalStateException("Uncovered EntityType"); + } + forEntityType = Collections.unmodifiableSet(temp); + } + + private static final Set forDirection; + + static { + final Set temp = new HashSet<>(); + temp.add(Direction.INPUT); + temp.add(Direction.OUTPUT); + if (!temp.containsAll(Arrays.asList(Direction.values()))) { + throw new IllegalStateException("Uncovered Direction"); + } + forDirection = Collections.unmodifiableSet(temp); + } + + private static final Set forStateOfEvent; + + static { + final Set temp = new HashSet<>(); + temp.add(StateOfEvent.ON); + temp.add(StateOfEvent.OFF); + if (!temp.containsAll(Arrays.asList(StateOfEvent.values()))) { + throw new IllegalStateException("Uncovered StateOfEvent"); + } + forStateOfEvent = Collections.unmodifiableSet(temp); + } + + private static final Set forReferenceTypes; + + static { + final Set temp = new HashSet<>(); + temp.add(ReferenceTypes.EXTERNAL_REFERENCE); + temp.add(ReferenceTypes.MODEL_REFERENCE); + if (!temp.containsAll(Arrays.asList(ReferenceTypes.values()))) { + throw new IllegalStateException("Uncovered ReferenceTypes"); + } + forReferenceTypes = Collections.unmodifiableSet(temp); + } + + private static final Set forKeyTypes; + + static { + final Set temp = new HashSet<>(); + temp.add(KeyTypes.ANNOTATED_RELATIONSHIP_ELEMENT); + temp.add(KeyTypes.ASSET_ADMINISTRATION_SHELL); + temp.add(KeyTypes.BASIC_EVENT_ELEMENT); + temp.add(KeyTypes.BLOB); + temp.add(KeyTypes.CAPABILITY); + temp.add(KeyTypes.CONCEPT_DESCRIPTION); + temp.add(KeyTypes.DATA_ELEMENT); + temp.add(KeyTypes.ENTITY); + temp.add(KeyTypes.EVENT_ELEMENT); + temp.add(KeyTypes.FILE); + temp.add(KeyTypes.FRAGMENT_REFERENCE); + temp.add(KeyTypes.GLOBAL_REFERENCE); + temp.add(KeyTypes.IDENTIFIABLE); + temp.add(KeyTypes.MULTI_LANGUAGE_PROPERTY); + temp.add(KeyTypes.OPERATION); + temp.add(KeyTypes.PROPERTY); + temp.add(KeyTypes.RANGE); + temp.add(KeyTypes.REFERABLE); + temp.add(KeyTypes.REFERENCE_ELEMENT); + temp.add(KeyTypes.RELATIONSHIP_ELEMENT); + temp.add(KeyTypes.SUBMODEL); + temp.add(KeyTypes.SUBMODEL_ELEMENT); + temp.add(KeyTypes.SUBMODEL_ELEMENT_COLLECTION); + temp.add(KeyTypes.SUBMODEL_ELEMENT_LIST); + if (!temp.containsAll(Arrays.asList(KeyTypes.values()))) { + throw new IllegalStateException("Uncovered KeyTypes"); + } + forKeyTypes = Collections.unmodifiableSet(temp); + } + + private static final Set forDataTypeDefXsd; + + static { + final Set temp = new HashSet<>(); + temp.add(DataTypeDefXsd.ANY_URI); + temp.add(DataTypeDefXsd.BASE_64_BINARY); + temp.add(DataTypeDefXsd.BOOLEAN); + temp.add(DataTypeDefXsd.BYTE); + temp.add(DataTypeDefXsd.DATE); + temp.add(DataTypeDefXsd.DATE_TIME); + temp.add(DataTypeDefXsd.DECIMAL); + temp.add(DataTypeDefXsd.DOUBLE); + temp.add(DataTypeDefXsd.DURATION); + temp.add(DataTypeDefXsd.FLOAT); + temp.add(DataTypeDefXsd.G_DAY); + temp.add(DataTypeDefXsd.G_MONTH); + temp.add(DataTypeDefXsd.G_MONTH_DAY); + temp.add(DataTypeDefXsd.G_YEAR); + temp.add(DataTypeDefXsd.G_YEAR_MONTH); + temp.add(DataTypeDefXsd.HEX_BINARY); + temp.add(DataTypeDefXsd.INT); + temp.add(DataTypeDefXsd.INTEGER); + temp.add(DataTypeDefXsd.LONG); + temp.add(DataTypeDefXsd.NEGATIVE_INTEGER); + temp.add(DataTypeDefXsd.NON_NEGATIVE_INTEGER); + temp.add(DataTypeDefXsd.NON_POSITIVE_INTEGER); + temp.add(DataTypeDefXsd.POSITIVE_INTEGER); + temp.add(DataTypeDefXsd.SHORT); + temp.add(DataTypeDefXsd.STRING); + temp.add(DataTypeDefXsd.TIME); + temp.add(DataTypeDefXsd.UNSIGNED_BYTE); + temp.add(DataTypeDefXsd.UNSIGNED_INT); + temp.add(DataTypeDefXsd.UNSIGNED_LONG); + temp.add(DataTypeDefXsd.UNSIGNED_SHORT); + if (!temp.containsAll(Arrays.asList(DataTypeDefXsd.values()))) { + throw new IllegalStateException("Uncovered DataTypeDefXsd"); + } + forDataTypeDefXsd = Collections.unmodifiableSet(temp); + } + + private static final Set forDataTypeIec61360; + + static { + final Set temp = new HashSet<>(); + temp.add(DataTypeIec61360.DATE); + temp.add(DataTypeIec61360.STRING); + temp.add(DataTypeIec61360.STRING_TRANSLATABLE); + temp.add(DataTypeIec61360.INTEGER_MEASURE); + temp.add(DataTypeIec61360.INTEGER_COUNT); + temp.add(DataTypeIec61360.INTEGER_CURRENCY); + temp.add(DataTypeIec61360.REAL_MEASURE); + temp.add(DataTypeIec61360.REAL_COUNT); + temp.add(DataTypeIec61360.REAL_CURRENCY); + temp.add(DataTypeIec61360.BOOLEAN); + temp.add(DataTypeIec61360.IRI); + temp.add(DataTypeIec61360.IRDI); + temp.add(DataTypeIec61360.RATIONAL); + temp.add(DataTypeIec61360.RATIONAL_MEASURE); + temp.add(DataTypeIec61360.TIME); + temp.add(DataTypeIec61360.TIMESTAMP); + temp.add(DataTypeIec61360.FILE); + temp.add(DataTypeIec61360.HTML); + temp.add(DataTypeIec61360.BLOB); + if (!temp.containsAll(Arrays.asList(DataTypeIec61360.values()))) { + throw new IllegalStateException("Uncovered DataTypeIec61360"); + } + forDataTypeIec61360 = Collections.unmodifiableSet(temp); + } + + private static final Set forSerializationFormat; + + static { + final Set temp = new HashSet<>(); + temp.add(SerializationFormat.JSON); + temp.add(SerializationFormat.XML); + temp.add(SerializationFormat.AASX); + if (!temp.containsAll(Arrays.asList(SerializationFormat.values()))) { + throw new IllegalStateException("Uncovered SerializationFormat"); + } + forSerializationFormat = Collections.unmodifiableSet(temp); + } + + private static final Set forSecurityTypeEnum; + + static { + final Set temp = new HashSet<>(); + temp.add(SecurityTypeEnum.NO_SECURITY); + temp.add(SecurityTypeEnum.RFC_TLSA); + temp.add(SecurityTypeEnum.W3C_DID); + if (!temp.containsAll(Arrays.asList(SecurityTypeEnum.values()))) { + throw new IllegalStateException("Uncovered SecurityTypeEnum"); + } + forSecurityTypeEnum = Collections.unmodifiableSet(temp); + } + + private static final Set forServiceSpecificationProfileEnum; + + static { + final Set temp = new HashSet<>(); + temp.add(ServiceSpecificationProfileEnum.AAS_SERVICE_SPECIFICATION_SSP_001_V3_0); + temp.add(ServiceSpecificationProfileEnum.AAS_SERVICE_SPECIFICATION_SSP_001_V3_1); + temp.add(ServiceSpecificationProfileEnum.AAS_SERVICE_SPECIFICATION_SSP_001_V3_2); + temp.add(ServiceSpecificationProfileEnum.AAS_SERVICE_SPECIFICATION_SSP_002_V3_0); + temp.add(ServiceSpecificationProfileEnum.AAS_SERVICE_SPECIFICATION_SSP_002_V3_1); + temp.add(ServiceSpecificationProfileEnum.AAS_SERVICE_SPECIFICATION_SSP_002_V3_2); + temp.add(ServiceSpecificationProfileEnum.SUBMODEL_SERVICE_SPECIFICATION_SSP_001_V3_0); + temp.add(ServiceSpecificationProfileEnum.SUBMODEL_SERVICE_SPECIFICATION_SSP_001_V3_1); + temp.add(ServiceSpecificationProfileEnum.SUBMODEL_SERVICE_SPECIFICATION_SSP_001_V3_2); + temp.add(ServiceSpecificationProfileEnum.SUBMODEL_SERVICE_SPECIFICATION_SSP_002_V3_0); + temp.add(ServiceSpecificationProfileEnum.SUBMODEL_SERVICE_SPECIFICATION_SSP_002_V3_1); + temp.add(ServiceSpecificationProfileEnum.SUBMODEL_SERVICE_SPECIFICATION_SSP_002_V3_2); + temp.add(ServiceSpecificationProfileEnum.SUBMODEL_SERVICE_SPECIFICATION_SSP_003_V3_0); + temp.add(ServiceSpecificationProfileEnum.SUBMODEL_SERVICE_SPECIFICATION_SSP_003_V3_1); + temp.add(ServiceSpecificationProfileEnum.SUBMODEL_SERVICE_SPECIFICATION_SSP_003_V3_2); + temp.add(ServiceSpecificationProfileEnum.AASX_FILE_SERVER_SERVICE_SPECIFICATION_SSP_001_V3_0); + temp.add(ServiceSpecificationProfileEnum.AASX_FILE_SERVER_SERVICE_SPECIFICATION_SSP_001_V3_1); + temp.add(ServiceSpecificationProfileEnum.AASX_FILE_SERVER_SERVICE_SPECIFICATION_SSP_001_V3_2); + temp.add(ServiceSpecificationProfileEnum.AASX_FILE_SERVER_SERVICE_SPECIFICATION_SSP_002_V3_1); + temp.add(ServiceSpecificationProfileEnum.AASX_FILE_SERVER_SERVICE_SPECIFICATION_SSP_002_V3_2); + temp.add(ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_001_V3_0); + temp.add(ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_001_V3_1); + temp.add(ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_001_V3_2); + temp.add(ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_002_V3_0); + temp.add(ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_002_V3_1); + temp.add(ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_002_V3_2); + temp.add(ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_003_V3_1); + temp.add(ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_003_V3_2); + temp.add(ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_004_V3_1); + temp.add(ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_004_V3_2); + temp.add(ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_005_V3_1); + temp.add(ServiceSpecificationProfileEnum.AAS_REGISTRY_SERVICE_SPECIFICATION_SSP_005_V3_2); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_001_V3_0); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_001_V3_1); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_001_V3_2); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_002_V3_0); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_002_V3_1); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_002_V3_2); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_003_V3_1); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_003_V3_2); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_004_V3_1); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REGISTRY_SERVICE_SPECIFICATION_SSP_004_V3_2); + temp.add(ServiceSpecificationProfileEnum.DISCOVERY_SERVICE_SPECIFICATION_SSP_001_V3_0); + temp.add(ServiceSpecificationProfileEnum.DISCOVERY_SERVICE_SPECIFICATION_SSP_001_V3_1); + temp.add(ServiceSpecificationProfileEnum.DISCOVERY_SERVICE_SPECIFICATION_SSP_001_V3_2); + temp.add(ServiceSpecificationProfileEnum.DISCOVERY_SERVICE_SPECIFICATION_SSP_002_V3_2); + temp.add(ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_0); + temp.add(ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_1); + temp.add(ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_2); + temp.add(ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_0); + temp.add(ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_1); + temp.add(ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_2); + temp.add(ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_003_V3_1); + temp.add(ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_003_V3_2); + temp.add(ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_004_V3_2); + temp.add(ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_005_V3_2); + temp.add(ServiceSpecificationProfileEnum.AAS_REPOSITORY_SERVICE_SPECIFICATION_SSP_006_V3_2); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_0); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_1); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_2); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_0); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_1); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_2); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_003_V3_0); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_003_V3_1); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_003_V3_2); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_004_V3_0); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_004_V3_1); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_004_V3_2); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_005_V3_1); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_005_V3_2); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_006_V3_2); + temp.add( + ServiceSpecificationProfileEnum.SUBMODEL_REPOSITORY_SERVICE_SPECIFICATION_SSP_007_V3_2); + temp.add( + ServiceSpecificationProfileEnum + .CONCEPT_DESCRIPTION_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_0); + temp.add( + ServiceSpecificationProfileEnum + .CONCEPT_DESCRIPTION_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_1); + temp.add( + ServiceSpecificationProfileEnum + .CONCEPT_DESCRIPTION_REPOSITORY_SERVICE_SPECIFICATION_SSP_001_V3_2); + temp.add( + ServiceSpecificationProfileEnum + .CONCEPT_DESCRIPTION_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_2); + temp.add( + ServiceSpecificationProfileEnum + .CONCEPT_DESCRIPTION_REPOSITORY_SERVICE_SPECIFICATION_SSP_002_V3_1); + temp.add( + ServiceSpecificationProfileEnum + .CONCEPT_DESCRIPTION_REPOSITORY_SERVICE_SPECIFICATION_SSP_003_V3_2); + if (!temp.containsAll(Arrays.asList(ServiceSpecificationProfileEnum.values()))) { + throw new IllegalStateException("Uncovered ServiceSpecificationProfileEnum"); + } + forServiceSpecificationProfileEnum = Collections.unmodifiableSet(temp); + } + + private static final Set forStatusCode; + + static { + final Set temp = new HashSet<>(); + temp.add(StatusCode.SUCCESS); + temp.add(StatusCode.SUCCESS_CREATED); + temp.add(StatusCode.SUCCESS_ACCEPTED); + temp.add(StatusCode.SUCCESS_NO_CONTENT); + temp.add(StatusCode.CLIENT_ERROR_BAD_REQUEST); + temp.add(StatusCode.CLIENT_NOT_AUTHORIZED); + temp.add(StatusCode.CLIENT_FORBIDDEN); + temp.add(StatusCode.CLIENT_METHOD_NOT_ALLOWED); + temp.add(StatusCode.CLIENT_ERROR_RESOURCE_NOT_FOUND); + temp.add(StatusCode.CLIENT_RESOURCE_CONFLICT); + temp.add(StatusCode.SERVER_INTERNAL_ERROR); + temp.add(StatusCode.SERVER_NOT_IMPLEMENTED); + temp.add(StatusCode.SERVER_ERROR_BAD_GATEWAY); + if (!temp.containsAll(Arrays.asList(StatusCode.values()))) { + throw new IllegalStateException("Uncovered StatusCode"); + } + forStatusCode = Collections.unmodifiableSet(temp); + } + + private static final Set forMessageTypeEnum; + + static { + final Set temp = new HashSet<>(); + temp.add(MessageTypeEnum.UNDEFINED); + temp.add(MessageTypeEnum.INFO); + temp.add(MessageTypeEnum.WARNING); + temp.add(MessageTypeEnum.ERROR); + temp.add(MessageTypeEnum.EXCEPTION); + if (!temp.containsAll(Arrays.asList(MessageTypeEnum.values()))) { + throw new IllegalStateException("Uncovered MessageTypeEnum"); + } + forMessageTypeEnum = Collections.unmodifiableSet(temp); + } + + private static final Set forExecutionState; + + static { + final Set temp = new HashSet<>(); + temp.add(ExecutionState.INITIATED); + temp.add(ExecutionState.RUNNING); + temp.add(ExecutionState.COMPLETED); + temp.add(ExecutionState.CANCELED); + temp.add(ExecutionState.FAILED); + temp.add(ExecutionState.TIMEOUT); + if (!temp.containsAll(Arrays.asList(ExecutionState.values()))) { + throw new IllegalStateException("Uncovered ExecutionState"); + } + forExecutionState = Collections.unmodifiableSet(temp); + } + + private static final Set forLevel; + + static { + final Set temp = new HashSet<>(); + temp.add(Level.DEEP); + temp.add(Level.CORE); + if (!temp.containsAll(Arrays.asList(Level.values()))) { + throw new IllegalStateException("Uncovered Level"); + } + forLevel = Collections.unmodifiableSet(temp); + } + + private static final Set forContent; + + static { + final Set temp = new HashSet<>(); + temp.add(Content.NORMAL); + temp.add(Content.METADATA); + temp.add(Content.VALUE); + temp.add(Content.REFERENCE); + temp.add(Content.PATH); + if (!temp.containsAll(Arrays.asList(Content.values()))) { + throw new IllegalStateException("Uncovered Content"); + } + forContent = Collections.unmodifiableSet(temp); + } + + private static final Set forExtent; + + static { + final Set temp = new HashSet<>(); + temp.add(Extent.WITHOUT_BLOB_VALUE); + temp.add(Extent.WITH_BLOB_VALUE); + if (!temp.containsAll(Arrays.asList(Extent.values()))) { + throw new IllegalStateException("Uncovered Extent"); + } + forExtent = Collections.unmodifiableSet(temp); + } + + private static final Set forGlobalAttributeKind; + + static { + final Set temp = new HashSet<>(); + temp.add(GlobalAttributeKind.LOCAL_NOW); + temp.add(GlobalAttributeKind.UTC_NOW); + temp.add(GlobalAttributeKind.CLIENT_NOW); + temp.add(GlobalAttributeKind.ANONYMOUS); + if (!temp.containsAll(Arrays.asList(GlobalAttributeKind.values()))) { + throw new IllegalStateException("Uncovered GlobalAttributeKind"); + } + forGlobalAttributeKind = Collections.unmodifiableSet(temp); + } + + private static final Set forDateTimeGlobalAttributeKind; + + static { + final Set temp = new HashSet<>(); + temp.add(DateTimeGlobalAttributeKind.LOCAL_NOW); + temp.add(DateTimeGlobalAttributeKind.UTC_NOW); + temp.add(DateTimeGlobalAttributeKind.CLIENT_NOW); + if (!temp.containsAll(Arrays.asList(DateTimeGlobalAttributeKind.values()))) { + throw new IllegalStateException("Uncovered DateTimeGlobalAttributeKind"); + } + forDateTimeGlobalAttributeKind = Collections.unmodifiableSet(temp); + } + + private static final Set forQuerySelect; + + static { + final Set temp = new HashSet<>(); + temp.add(QuerySelect.ID); + if (!temp.containsAll(Arrays.asList(QuerySelect.values()))) { + throw new IllegalStateException("Uncovered QuerySelect"); + } + forQuerySelect = Collections.unmodifiableSet(temp); + } + } + + private static final _Transformer transformer = new _Transformer(); + + /** + * Check whether the integer {@code value} lies in the safe integer range [-2^53 + 1, 2^53 - 1]. + * + *

JSON knows a single numeric type, which all the other SDKs read into a {@code double}. + * Outside this range, an integer can not be exactly represented as a {@code double}, so a reader + * might quietly get a different number than the one which was written. + * + * @param value integer to be checked + * @return true if {@code value} is a safe integer + */ + public static boolean isSafeInteger(long value) { + return -9007199254740991L <= value && value <= 9007199254740991L; + } + + /** + * Check whether the whole number {@code value} lies in the safe integer range [-2^53 + 1, 2^53 - + * 1]. + * + *

Only the range is checked here; the caller has to make sure that {@code value} is a whole + * number in the first place. + * + * @param value whole number to be checked + * @return true if {@code value} is a safe integer + */ + public static boolean isSafeInteger(double value) { + return -9007199254740991.0 <= value && value <= 9007199254740991.0; + } + + /** + * Check whether the big integer {@code value} lies in the safe integer range [-2^53 + 1, 2^53 - + * 1]. + * + * @param value integer to be checked + * @return true if {@code value} is a safe integer + */ + public static boolean isSafeInteger(BigInteger value) { + // NOTE (mristin): + // A bit length below 64 means that the value fits a long, so we can + // narrow it without truncating it silently. + return value.bitLength() < 64 && isSafeInteger(value.longValue()); + } + + /** + * Explain that the integer {@code value} lies outside the safe integer range [-2^53 + 1, 2^53 - + * 1]. + * + * @param value integer, written as it was given + * @return the message + */ + public static String integerOutsideSafeRangeMessage(Object value) { + return "Expected an integer, but got " + + value + + ", which is outside the safe integer range [-2^53 + 1, 2^53 - 1]"; + } + + /** Verify that the integer {@code that} lies in the safe integer range. */ + private static Stream verify_long(long that) { + return isSafeInteger(that) + ? Stream.empty() + : Stream.of(new Reporting.Error(integerOutsideSafeRangeMessage(that))); + } + + /** + * Stream the field names of {@code node}. + * + *

Jackson gives an {@link java.util.Iterator}, which is not a stream. + */ + private static Stream streamOfFieldNames(JsonNode node) { + final List names = new ArrayList<>(); + node.fieldNames().forEachRemaining(names::add); + return names.stream(); + } + + /** + * Explain that the integer {@code value} of a JSON-able value lies outside the safe integer range + * [-2^53 + 1, 2^53 - 1]. + * + * @param value integer, written as it was given + * @return the message + */ + public static String jsonAbleIntegerOutsideSafeRangeMessage(Object value) { + return "Expected a JSON-able value, but got the integer " + + value + + ", which is outside the safe integer range [-2^53 + 1, 2^53 - 1]"; + } + + /** + * Check that the number {@code node} is a number of a JSON-able value. + * + *

JSON knows a single numeric type, which all the other SDKs read into a {@code double}. Hence + * a JSON-able number has to be finite, and an integer has to lie in the safe integer range [-2^53 + * + 1, 2^53 - 1], as for the integer properties of the model -- otherwise a reader might quietly + * get a different number than the one which was given. + * + *

The verification, the de-serialization and the serialization of a JSON-able value all use + * this check, so that they agree on what a JSON-able number is. + * + * @param node number node to be checked + * @return cause why {@code node} is not JSON-able, or null if it is + */ + public static String checkJsonAbleNumber(JsonNode node) { + switch (node.numberType()) { + case INT: + case LONG: + if (isSafeInteger(node.longValue())) { + return null; + } + break; + case BIG_INTEGER: + // NOTE (mristin): + // Jackson gives a big integer for every integer if + // ``USE_BIG_INTEGER_FOR_INTS`` is enabled, so a small one can arrive + // as well. + if (isSafeInteger(node.bigIntegerValue())) { + return null; + } + break; + default: + { + // NOTE (mristin): + // JSON knows neither an infinity nor a not-a-number. Jackson's own + // parser never gives us one, but {@code node} may well have been + // put together programmatically. + final double value = node.doubleValue(); + if (Double.isInfinite(value) || Double.isNaN(value)) { + return "Expected a JSON-able value, but got the number " + + value + + ", which is neither finite nor representable in JSON"; + } + return null; + } + } + return jsonAbleIntegerOutsideSafeRangeMessage(node); + } + + /** + * Verify that {@code node} is a JSON-able value, at any depth. + * + *

The path of an error is relative to {@code node}. + * + * @param node to be verified + * @return a stream of errors, if any + */ + public static Stream verifyJsonValue(JsonNode node) { + if (node == null || node.isMissingNode()) { + return Stream.of(new Reporting.Error("Expected a JSON-able value, but got: " + node)); + } + if (node.isNull() || node.isBoolean() || node.isTextual()) { + return Stream.empty(); + } + if (node.isNumber()) { + final String cause = checkJsonAbleNumber(node); + return (cause == null) ? Stream.empty() : Stream.of(new Reporting.Error(cause)); + } + if (node.isArray()) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + StreamSupport.stream(node.spliterator(), false)) + .flatMap( + itemTuple -> + verifyJsonValue(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + if (node.isObject()) { + return streamOfFieldNames(node) + .flatMap( + name -> + verifyJsonValue(node.get(name)) + .map( + error -> { + error.prependSegment(new Reporting.KeySegment(name)); + return error; + })); + } + return Stream.of( + new Reporting.Error( + "Expected a JSON-able value (a null, a boolean, a number, a string, " + + "an array or an object), but got: " + + node.getNodeType())); + } + + /** + * Verify that {@code node} is a JSON-able array. + * + * @param node to be verified + * @return a stream of errors, if any + */ + public static Stream verifyJsonArray(ArrayNode node) { + if (node == null) { + return Stream.of(new Reporting.Error("Expected a JSON-able array, but got: null")); + } + return verifyJsonValue(node); + } + + /** + * Verify that {@code node} is a JSON-able object. + * + * @param node to be verified + * @return a stream of errors, if any + */ + public static Stream verifyJsonObject(ObjectNode node) { + if (node == null) { + return Stream.of(new Reporting.Error("Expected a JSON-able object, but got: null")); + } + return verifyJsonValue(node); + } + + private static class _Transformer extends AbstractTransformer> { + + @Override + public Stream transformExtension(IExtension that) { + Stream errorStream = Stream.empty(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatRefersTo = that.getRefersTo(); + final Optional thatValue = that.getValue(); + final Optional thatValueType = that.getValueType(); + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatRefersTo.isPresent()) || (thatRefersTo.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Refers-to must be either not set or have at least one item."))); + } + if (!(!(thatValue.isPresent()) + || valueConsistentWithXsdType(thatValue.orElse(null), that.valueTypeOrDefault()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "The value must match the value type."))); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getName()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("name")); + return error; + })); + if (thatValueType.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValueType.get()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueType")); + return error; + })); + } + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyValueDataType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + if (thatRefersTo.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatRefersTo.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("refersTo")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformAdministrativeInformation( + IAdministrativeInformation that) { + Stream errorStream = Stream.empty(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCreatedAt = that.getCreatedAt(); + final Optional thatUpdatedAt = that.getUpdatedAt(); + final Optional thatRevision = that.getRevision(); + final Optional thatVersion = that.getVersion(); + final Optional thatCreator = that.getCreator(); + final Optional thatTemplateId = that.getTemplateId(); + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!((thatCreatedAt.isPresent()) && (thatUpdatedAt.isPresent())) + || dateTimeUtcLessOrEqualOrInvalid( + thatCreatedAt.orElse(null), thatUpdatedAt.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Created-at must be before or equal to updated-at."))); + } + if (!(!(thatRevision.isPresent()) || (thatVersion.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-005: If version is not specified, revision " + + "shall also be unspecified. This means that a revision " + + "requires a version. If there is no version, there is no " + + "revision. Revision is optional."))); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatVersion.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatVersion.get()) + .flatMap(Verification::verifyVersionType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("version")); + return error; + })); + } + if (thatRevision.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatRevision.get()) + .flatMap(Verification::verifyRevisionType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("revision")); + return error; + })); + } + if (thatCreator.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCreator.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("creator")); + return error; + })); + } + if (thatCreatedAt.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCreatedAt.get()) + .flatMap(Verification::verifyDateTimeUtc) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("createdAt")); + return error; + })); + } + if (thatUpdatedAt.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatUpdatedAt.get()) + .flatMap(Verification::verifyDateTimeUtc) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("updatedAt")); + return error; + })); + } + if (thatTemplateId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatTemplateId.get()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("templateId")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformQualifier(IQualifier that) { + Stream errorStream = Stream.empty(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional thatValue = that.getValue(); + final Optional thatKind = that.getKind(); + final Optional thatValueId = that.getValueId(); + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatValue.isPresent()) + || valueConsistentWithXsdType(thatValue.orElse(null), that.getValueType()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-020: The value shall be consistent with " + + "the data type as defined in value type."))); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatKind.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatKind.get()) + .flatMap(Verification::verifyQualifierKind) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("kind")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getType()) + .flatMap(Verification::verifyQualifierType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("type")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getValueType()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueType")); + return error; + })); + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyValueDataType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + if (thatValueId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValueId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueId")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformAssetAdministrationShell( + IAssetAdministrationShell that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional> thatSubmodels = that.getSubmodels(); + final Optional thatDerivedFrom = that.getDerivedFrom(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatAdministration = that.getAdministration(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatSubmodels.isPresent()) || (thatSubmodels.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Submodels must be either not set or have at least one item."))); + } + if (!(!(thatDerivedFrom.isPresent()) + || isModelReferenceTo( + thatDerivedFrom.orElse(null), KeyTypes.ASSET_ADMINISTRATION_SHELL))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Derived-from must be a model reference to an asset " + + "administration shell."))); + } + if (!(!(thatSubmodels.isPresent()) + || (thatSubmodels.get().stream() + .allMatch(reference -> isModelReferenceTo(reference, KeyTypes.SUBMODEL))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "All submodels must be model references to a submodel."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatAdministration.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatAdministration.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("administration")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getId()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("id")); + return error; + })); + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatDerivedFrom.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDerivedFrom.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("derivedFrom")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getAssetInformation()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("assetInformation")); + return error; + })); + if (thatSubmodels.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSubmodels.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("submodels")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformAssetInformation(IAssetInformation that) { + Stream errorStream = Stream.empty(); + final Optional> thatSpecificAssetIds = that.getSpecificAssetIds(); + final Optional thatGlobalAssetId = that.getGlobalAssetId(); + final Optional thatAssetType = that.getAssetType(); + final Optional thatDefaultThumbnail = that.getDefaultThumbnail(); + if (!(!(thatSpecificAssetIds.isPresent()) + || (thatSpecificAssetIds.get().stream() + .allMatch( + specificAssetId -> + !specificAssetIdNameMatchesGlobalAssetId(specificAssetId.getName()) + || ((thatGlobalAssetId.isPresent()) + && Objects.equals( + specificAssetId.getValue(), thatGlobalAssetId.get())))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-116: ``globalAssetId`` (case-insensitive) " + + "is a reserved key. If used as value for the name of " + + "specific asset ID then the value of specific asset ID shall " + + "be identical to the global asset ID with semantics as " + + "defined in " + + "https://admin-shell.io/aas/3/x/AssetInformation/globalAssetId, " + + "x being the minor version of the used specification."))); + } + if (!(((thatGlobalAssetId.isPresent()) || (thatSpecificAssetIds.isPresent())) + && (!(thatSpecificAssetIds.isPresent()) || (thatSpecificAssetIds.get().size() >= 1)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-131: Either the global asset ID shall be " + + "defined or at least one specific asset ID."))); + } + if (!(!(thatSpecificAssetIds.isPresent()) || (thatSpecificAssetIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Specific asset IDs must be either not set or have at least " + + "one item."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getAssetKind()) + .flatMap(Verification::verifyAssetKind) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("assetKind")); + return error; + })); + if (thatGlobalAssetId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatGlobalAssetId.get()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("globalAssetId")); + return error; + })); + } + if (thatSpecificAssetIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSpecificAssetIds.get()) + .flatMap(Verification::verifyListOf_ISpecificAssetId) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("specificAssetIds")); + return error; + })); + } + if (thatAssetType.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatAssetType.get()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("assetType")); + return error; + })); + } + if (thatDefaultThumbnail.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDefaultThumbnail.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("defaultThumbnail")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformResource(IResource that) { + Stream errorStream = Stream.empty(); + final Optional thatContentType = that.getContentType(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPath()) + .flatMap(Verification::verifyPathType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("path")); + return error; + })); + if (thatContentType.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatContentType.get()) + .flatMap(Verification::verifyContentType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("contentType")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformSpecificAssetId(ISpecificAssetId that) { + Stream errorStream = Stream.empty(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional thatExternalSubjectId = that.getExternalSubjectId(); + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatExternalSubjectId.isPresent()) + || (thatExternalSubjectId.get().getType() == ReferenceTypes.EXTERNAL_REFERENCE))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-133: External subject ID shall be " + + "an external reference."))); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getName()) + .flatMap(Verification::verifyLabelType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("name")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getValue()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + if (thatExternalSubjectId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExternalSubjectId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("externalSubjectId")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformSubmodel(ISubmodel that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional> thatSubmodelElements = that.getSubmodelElements(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatAdministration = that.getAdministration(); + final Optional thatKind = that.getKind(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatSubmodelElements.isPresent()) || (thatSubmodelElements.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Submodel elements must be either not set or have at least " + + "one item."))); + } + if (!(!(thatSubmodelElements.isPresent()) + || (thatSubmodelElements.get().stream() + .allMatch(item -> item.getIdShort().isPresent())))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "ID-shorts need to be defined for all the items of submodel " + + "elements according to AASd-117 (ID-short of " + + "non-identifiable Referables not being a direct child of " + + "a Submodel element list shall be specified)."))); + } + if (!(!(thatSubmodelElements.isPresent()) + || idShortsAreUnique(thatSubmodelElements.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-022: ID-short of non-identifiable " + + "referables within the same name space shall be unique " + + "(case-sensitive)."))); + } + if (!(!(that.kindOrDefault() == ModellingKind.TEMPLATE) + || ((thatSubmodelElements.isPresent()) + && submodelElementListsInSubmodelElementsHaveExactlyOneElement( + thatSubmodelElements.orElse(null))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-138: A submodel element list within " + + "a submodel of kind Template or as part of an operation " + + "variable shall have exactly one element."))); + } + if (!(!(thatSubmodelElements.isPresent()) + || (!(that.kindOrDefault() != ModellingKind.TEMPLATE) + || submodelElementsHaveNoTemplateQualifiers(thatSubmodelElements.orElse(null))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-129: If any kind value of a qualifier " + + "(attribute qualifier inherited via Qualifiable) is equal to " + + "TemplateQualifier, the submodel element shall be part of " + + "a submodel template, i.e. a submodel with kind (attribute " + + "kind inherited via Has-Kind) value equal to Template. " + + "Exception: the submodel element is part of an operation " + + "variable."))); + } + if (!(!(thatQualifiers.isPresent()) + || (!(thatQualifiers.get().stream() + .anyMatch( + qualifier -> qualifier.kindOrDefault() == QualifierKind.TEMPLATE_QUALIFIER)) + || (that.kindOrDefault() == ModellingKind.TEMPLATE)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-119: If any qualifier kind value of " + + "a qualifiable qualifier is equal to template qualifier and " + + "the qualified element has kind then the qualified element " + + "shall be of kind template."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatAdministration.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatAdministration.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("administration")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getId()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("id")); + return error; + })); + if (thatKind.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatKind.get()) + .flatMap(Verification::verifyModellingKind) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("kind")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatSubmodelElements.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSubmodelElements.get()) + .flatMap(Verification::verifyListOf_ISubmodelElement) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("submodelElements")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformRelationshipElement(IRelationshipElement that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatFirst = that.getFirst(); + final Optional thatSecond = that.getSecond(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatFirst.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatFirst.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("first")); + return error; + })); + } + if (thatSecond.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSecond.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("second")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformSubmodelElementList(ISubmodelElementList that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional> thatValue = that.getValue(); + final Optional thatSemanticIdListElement = that.getSemanticIdListElement(); + final Optional thatValueTypeListElement = that.getValueTypeListElement(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatValue.isPresent()) || (thatValue.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Value must be either not set or have at least one item."))); + } + if (!(!((thatValue.isPresent()) && (thatSemanticIdListElement.isPresent())) + || (thatValue.get().stream() + .allMatch( + child -> + !(child.getSemanticId().isPresent()) + || referenceKeyValuesEqual( + child.getSemanticId().orElse(null), + thatSemanticIdListElement.orElse(null)))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-107: If a first level child element has " + + "a semantic ID it shall be identical to semantic ID list " + + "element."))); + } + if (!(!(thatValue.isPresent()) + || submodelElementsHaveIdenticalSemanticIds(thatValue.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-114: If two first level child elements have " + + "a semantic ID then they shall be identical."))); + } + if (!(!(thatValue.isPresent()) + || (thatValue.get().stream() + .allMatch( + element -> submodelElementIsOfType(element, that.getTypeValueListElement()))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-108: All first level child elements shall " + + "have the same submodel element type as specified in type " + + "value list element."))); + } + if (!(!((thatValue.isPresent()) + && (that.getTypeValueListElement() == AasSubmodelElements.PROPERTY + || that.getTypeValueListElement() == AasSubmodelElements.RANGE)) + || ((thatValueTypeListElement.isPresent()) + && propertiesOrRangesHaveValueType( + thatValue.orElse(null), thatValueTypeListElement.orElse(null))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-109: If type value list element is equal to " + + "Property or Range value type list element shall be set and " + + "all first level child elements shall have the value type as " + + "specified in value type list element."))); + } + if (!(!(thatValue.isPresent()) || idShortsAreUnique(thatValue.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "ID-shorts of the value must be unique."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatSemanticIdListElement.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticIdListElement.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticIdListElement")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getTypeValueListElement()) + .flatMap(Verification::verifyAasSubmodelElements) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("typeValueListElement")); + return error; + })); + if (thatValueTypeListElement.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValueTypeListElement.get()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueTypeListElement")); + return error; + })); + } + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyListOf_ISubmodelElement) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformSubmodelElementCollection( + ISubmodelElementCollection that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional> thatValue = that.getValue(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatValue.isPresent()) || (thatValue.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Value must be either not set or have at least one item."))); + } + if (!(!(thatValue.isPresent()) + || (thatValue.get().stream().allMatch(item -> item.getIdShort().isPresent())))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "ID-shorts need to be defined for all the items of value " + + "according to AASd-117 (ID-short of non-identifiable " + + "Referables not being a direct child of a Submodel element " + + "list shall be specified)."))); + } + if (!(!(thatValue.isPresent()) || idShortsAreUnique(thatValue.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "ID-shorts of the value must be unique."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyListOf_ISubmodelElement) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformProperty(IProperty that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatValue = that.getValue(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatValueId = that.getValueId(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatValue.isPresent()) + || valueConsistentWithXsdType(thatValue.orElse(null), that.getValueType()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Value must be consistent with the value type."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getValueType()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueType")); + return error; + })); + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyValueDataType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + if (thatValueId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValueId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueId")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformMultiLanguageProperty(IMultiLanguageProperty that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional> thatValue = that.getValue(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatValueId = that.getValueId(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatValue.isPresent()) || langStringsHaveUniqueLanguages(thatValue.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Value must specify unique languages."))); + } + if (!(!(thatValue.isPresent()) || (thatValue.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Value must be either not set or have at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + if (thatValueId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValueId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueId")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformRange(IRange that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatMax = that.getMax(); + final Optional thatMin = that.getMin(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatMax.isPresent()) + || valueConsistentWithXsdType(thatMax.orElse(null), that.getValueType()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Max must be consistent with the value type."))); + } + if (!(!(thatMin.isPresent()) + || valueConsistentWithXsdType(thatMin.orElse(null), that.getValueType()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Min must be consistent with the value type."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getValueType()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueType")); + return error; + })); + if (thatMin.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatMin.get()) + .flatMap(Verification::verifyValueDataType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("min")); + return error; + })); + } + if (thatMax.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatMax.get()) + .flatMap(Verification::verifyValueDataType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("max")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformReferenceElement(IReferenceElement that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatValue = that.getValue(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformBlob(IBlob that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatValue = that.getValue(); + final Optional thatContentType = that.getContentType(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyBlobType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + if (thatContentType.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatContentType.get()) + .flatMap(Verification::verifyContentType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("contentType")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformFile(IFile that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatValue = that.getValue(); + final Optional thatContentType = that.getContentType(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyPathType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + if (thatContentType.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatContentType.get()) + .flatMap(Verification::verifyContentType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("contentType")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformAnnotatedRelationshipElement( + IAnnotatedRelationshipElement that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional> thatAnnotations = that.getAnnotations(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatFirst = that.getFirst(); + final Optional thatSecond = that.getSecond(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatAnnotations.isPresent()) || (thatAnnotations.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Annotations must be either not set or have at least one " + + "item."))); + } + if (!(!(thatAnnotations.isPresent()) + || (thatAnnotations.get().stream().allMatch(item -> item.getIdShort().isPresent())))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "ID-shorts need to be defined for all the items of " + + "annotations according to AASd-117 (ID-short of " + + "non-identifiable Referables not being a direct child of " + + "a Submodel element list shall be specified)."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatFirst.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatFirst.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("first")); + return error; + })); + } + if (thatSecond.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSecond.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("second")); + return error; + })); + } + if (thatAnnotations.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatAnnotations.get()) + .flatMap(Verification::verifyListOf_IDataElement) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("annotations")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformEntity(IEntity that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional> thatStatements = that.getStatements(); + final Optional thatEntityType = that.getEntityType(); + final Optional thatGlobalAssetId = that.getGlobalAssetId(); + final Optional> thatSpecificAssetIds = that.getSpecificAssetIds(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatStatements.isPresent()) || (thatStatements.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Statements must be either not set or have at least one item."))); + } + if (!(!(thatStatements.isPresent()) + || (thatStatements.get().stream().allMatch(item -> item.getIdShort().isPresent())))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "ID-shorts need to be defined for all the items of " + + "statements according to AASd-117 (ID-short of " + + "non-identifiable Referables not being a direct child of " + + "a Submodel element list shall be specified)."))); + } + if (!(!(thatEntityType.isPresent()) + || (!(thatEntityType.get() == EntityType.SELF_MANAGED_ENTITY) + || (((thatGlobalAssetId.isPresent()) && (!thatSpecificAssetIds.isPresent())) + || ((!thatGlobalAssetId.isPresent()) + && (thatSpecificAssetIds.isPresent()) + && thatSpecificAssetIds.get().size() >= 1))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-014: Either the attribute global asset ID " + + "or specific asset ID must be set if Entity/entityType is " + + "set to :attr:`Entity_type.Self_managed_entity`."))); + } + if (!(!(thatSpecificAssetIds.isPresent()) || (thatSpecificAssetIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Specific asset IDs must be either not set or have at least " + + "one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatStatements.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatStatements.get()) + .flatMap(Verification::verifyListOf_ISubmodelElement) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("statements")); + return error; + })); + } + if (thatEntityType.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEntityType.get()) + .flatMap(Verification::verifyEntityType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("entityType")); + return error; + })); + } + if (thatGlobalAssetId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatGlobalAssetId.get()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("globalAssetId")); + return error; + })); + } + if (thatSpecificAssetIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSpecificAssetIds.get()) + .flatMap(Verification::verifyListOf_ISpecificAssetId) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("specificAssetIds")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformEventPayload(IEventPayload that) { + Stream errorStream = Stream.empty(); + final Optional thatSourceSemanticId = that.getSourceSemanticId(); + final Optional thatObservableSemanticId = that.getObservableSemanticId(); + final Optional thatTopic = that.getTopic(); + final Optional thatSubjectId = that.getSubjectId(); + final Optional thatPayload = that.getPayload(); + if (!(isModelReferenceTo(that.getSource(), KeyTypes.EVENT_ELEMENT) + || isModelReferenceTo(that.getSource(), KeyTypes.BASIC_EVENT_ELEMENT))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Source must be a model reference to an Event element."))); + } + if (!(isModelReferenceToReferable(that.getObservableReference()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Observable reference must be a model reference to " + + "a referable."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getSource()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("source")); + return error; + })); + if (thatSourceSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSourceSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("sourceSemanticId")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getObservableReference()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("observableReference")); + return error; + })); + if (thatObservableSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatObservableSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("observableSemanticId")); + return error; + })); + } + if (thatTopic.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatTopic.get()) + .flatMap(Verification::verifyMessageTopicType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("topic")); + return error; + })); + } + if (thatSubjectId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSubjectId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("subjectId")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getTimeStamp()) + .flatMap(Verification::verifyDateTimeUtc) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("timeStamp")); + return error; + })); + if (thatPayload.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatPayload.get()) + .flatMap(Verification::verifyBlobType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("payload")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformBasicEventElement(IBasicEventElement that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatMaxInterval = that.getMaxInterval(); + final Optional thatMessageBroker = that.getMessageBroker(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatMessageTopic = that.getMessageTopic(); + final Optional thatLastUpdate = that.getLastUpdate(); + final Optional thatMinInterval = that.getMinInterval(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(that.getDirection() == Direction.INPUT) || (!thatMaxInterval.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Max. interval is not applicable for input direction."))); + } + if (!isModelReferenceToReferable(that.getObserved())) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Observed must be a model reference to a referable."))); + } + if (!(!(thatMessageBroker.isPresent()) + || isModelReferenceToReferable(thatMessageBroker.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Message broker must be a model reference to a referable."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getObserved()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("observed")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getDirection()) + .flatMap(Verification::verifyDirection) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("direction")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getState()) + .flatMap(Verification::verifyStateOfEvent) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("state")); + return error; + })); + if (thatMessageTopic.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatMessageTopic.get()) + .flatMap(Verification::verifyMessageTopicType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("messageTopic")); + return error; + })); + } + if (thatMessageBroker.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatMessageBroker.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("messageBroker")); + return error; + })); + } + if (thatLastUpdate.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatLastUpdate.get()) + .flatMap(Verification::verifyDateTimeUtc) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("lastUpdate")); + return error; + })); + } + if (thatMinInterval.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatMinInterval.get()) + .flatMap(Verification::verifyDuration) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("minInterval")); + return error; + })); + } + if (thatMaxInterval.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatMaxInterval.get()) + .flatMap(Verification::verifyDuration) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("maxInterval")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformOperation(IOperation that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional> thatInputVariables = that.getInputVariables(); + final Optional> thatOutputVariables = that.getOutputVariables(); + final Optional> thatInoutputVariables = that.getInoutputVariables(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(submodelElementListsInOperationVariablesHaveExactlyOneElement( + thatInputVariables, thatOutputVariables, thatInoutputVariables))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-138: A submodel element list within " + + "a submodel of kind Template or as part of an operation " + + "variable shall have exactly one element."))); + } + if (!(idShortsOfVariablesAreUnique( + thatInputVariables, thatOutputVariables, thatInoutputVariables))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-134: For an Operation the ID-short of all " + + "values of input, output and in/output variables shall be " + + "unique."))); + } + if (!(!(thatInputVariables.isPresent()) || (thatInputVariables.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Input variables must be either not set or have at least one " + + "item."))); + } + if (!(!(thatOutputVariables.isPresent()) || (thatOutputVariables.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Output variables must be either not set or have at least " + + "one item."))); + } + if (!(!(thatInoutputVariables.isPresent()) || (thatInoutputVariables.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Inoutput variables must be either not set or have at least " + + "one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatInputVariables.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatInputVariables.get()) + .flatMap(Verification::verifyListOf_IOperationVariable) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("inputVariables")); + return error; + })); + } + if (thatOutputVariables.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatOutputVariables.get()) + .flatMap(Verification::verifyListOf_IOperationVariable) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("outputVariables")); + return error; + })); + } + if (thatInoutputVariables.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatInoutputVariables.get()) + .flatMap(Verification::verifyListOf_IOperationVariable) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("inoutputVariables")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformOperationVariable(IOperationVariable that) { + Stream errorStream = Stream.empty(); + if (!(that.getValue().getIdShort().isPresent())) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Value must have the ID-short specified according to " + + "Constraint AASd-117 (ID-short of non-identifiable " + + "Referables not being a direct child of a Submodel element " + + "list shall be specified)."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getValue()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformCapability(ICapability that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformConceptDescription(IConceptDescription that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional> thatIsCaseOf = that.getIsCaseOf(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatAdministration = that.getAdministration(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatIsCaseOf.isPresent()) || (thatIsCaseOf.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Is-case-of must be either not set or have at least one item."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (dataSpecificationIec61360sHaveDefinitionAtLeastInEnglish( + thatEmbeddedDataSpecifications.orElse(null)) + || dataSpecificationIec61360sHaveValue( + thatEmbeddedDataSpecifications.orElse(null))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-008: For a concept description using " + + "data specification template IEC 61360, the definition is " + + "mandatory and shall be defined at least in English. " + + "Exception: The concept description describes a value."))); + } + if (!(!((thatCategory.isPresent()) + && Objects.equals(thatCategory.get(), "QUALIFIER_TYPE") + && (thatEmbeddedDataSpecifications.isPresent())) + || dataSpecificationIec61360sHaveDataType(thatEmbeddedDataSpecifications.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-007: For a concept description with " + + "category QUALIFIER_TYPE using data specification IEC 61360, " + + "the data type of the data specification is mandatory and " + + "shall be defined."))); + } + if (!(!((thatCategory.isPresent()) + && Objects.equals(thatCategory.get(), "DOCUMENT") + && (thatEmbeddedDataSpecifications.isPresent())) + || dataSpecificationIec61360sForDocumentHaveAppropriateDataType( + thatEmbeddedDataSpecifications.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-006: For a concept description with " + + "category DOCUMENT using data specification IEC 61360, " + + "the data type of the data specification shall be one of: " + + "FILE, BLOB, HTML."))); + } + if (!(!((thatCategory.isPresent()) + && Objects.equals(thatCategory.get(), "REFERENCE") + && (thatEmbeddedDataSpecifications.isPresent())) + || dataSpecificationIec61360sForReferenceHaveAppropriateDataType( + thatEmbeddedDataSpecifications.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-005: For a concept description with " + + "category REFERENCE using data specification IEC 61360, " + + "the data type of the data specification shall be one of: " + + "STRING, IRI, IRDI."))); + } + if (!(!((thatCategory.isPresent()) + && (Objects.equals(thatCategory.get(), "PROPERTY") + || Objects.equals(thatCategory.get(), "VALUE")) + && (thatEmbeddedDataSpecifications.isPresent())) + || dataSpecificationIec61360sForPropertyOrValueHaveAppropriateDataType( + thatEmbeddedDataSpecifications.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-004: For a concept description with " + + "category PROPERTY or VALUE using data specification IEC " + + "61360, the data type of the data specification is mandatory " + + "and shall be one of: DATE, STRING, STRING_TRANSLATABLE, " + + "INTEGER_MEASURE, INTEGER_COUNT, INTEGER_CURRENCY, " + + "REAL_MEASURE, REAL_COUNT, REAL_CURRENCY, BOOLEAN, RATIONAL, " + + "RATIONAL_MEASURE, TIME, TIMESTAMP."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatAdministration.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatAdministration.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("administration")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getId()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("id")); + return error; + })); + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatIsCaseOf.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIsCaseOf.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("isCaseOf")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformReference(IReference that) { + Stream errorStream = Stream.empty(); + final Optional thatReferredSemanticId = that.getReferredSemanticId(); + if (!(that.getKeys().size() >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Keys must contain at least one item."))); + } + if (!(!(that.getKeys().size() >= 1) + || Constants.globallyIdentifiables.contains( + ListHelpers.at(that.getKeys(), 0).getType()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-121: For References the value of type of " + + "the first key of keys shall be one of Globally " + + "Identifiables."))); + } + if (!(!(that.getType() == ReferenceTypes.EXTERNAL_REFERENCE && that.getKeys().size() >= 1) + || Constants.genericGloballyIdentifiables.contains( + ListHelpers.at(that.getKeys(), 0).getType()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-122: For external references the value of " + + "type of the first key of keys shall be one of Generic " + + "Globally Identifiables."))); + } + if (!(!(that.getType() == ReferenceTypes.MODEL_REFERENCE && that.getKeys().size() >= 1) + || Constants.aasIdentifiables.contains(ListHelpers.at(that.getKeys(), 0).getType()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-123: For model references the value of type " + + "of the first key of keys shall be one of AAS identifiables."))); + } + if (!(!(that.getType() == ReferenceTypes.EXTERNAL_REFERENCE) + || (that.getKeys().stream() + .allMatch(key -> !Constants.aasReferables.contains(key.getType()))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-137: For external references, i.e. " + + "References with Reference/type = ExternalReference, " + + "the value of Key/type of any key in Reference/keys shall " + + "not be one of AAS referables."))); + } + if (!(!(that.getType() == ReferenceTypes.EXTERNAL_REFERENCE && that.getKeys().size() >= 1) + || (Constants.genericGloballyIdentifiables.contains( + ListHelpers.at(that.getKeys(), -1).getType()) + || Constants.genericFragmentKeys.contains( + ListHelpers.at(that.getKeys(), -1).getType())))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-124: For external references the last key " + + "of keys shall be either one of Generic Globally " + + "Identifiables or one of Generic Fragment Keys."))); + } + if (!(!(that.getType() == ReferenceTypes.MODEL_REFERENCE && that.getKeys().size() > 1) + || (IntStream.range(1, that.getKeys().size()) + .allMatch( + i -> + Constants.fragmentKeys.contains( + ListHelpers.at(that.getKeys(), i).getType()))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-125: For model references with more than " + + "one key in keys the value of type of each of the keys " + + "following the first key of keys shall be one of Fragment " + + "Keys."))); + } + if (!(!(that.getType() == ReferenceTypes.MODEL_REFERENCE && that.getKeys().size() > 1) + || (IntStream.range(0, that.getKeys().size() - 1) + .allMatch( + i -> + !Constants.genericFragmentKeys.contains( + ListHelpers.at(that.getKeys(), i).getType()))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-126: For model references with more than " + + "one key in keys the value of type of the last key in " + + "the reference key chain may be one of Generic Fragment Keys " + + "or no key at all shall have a value out of Generic Fragment " + + "Keys."))); + } + if (!(!(that.getType() == ReferenceTypes.MODEL_REFERENCE + && that.getKeys().size() > 1 + && ListHelpers.at(that.getKeys(), -1).getType() == KeyTypes.FRAGMENT_REFERENCE) + || (ListHelpers.at(that.getKeys(), -2).getType() == KeyTypes.FILE + || ListHelpers.at(that.getKeys(), -2).getType() == KeyTypes.BLOB))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-127: For model references, with more than " + + "one key in keys a key with type Fragment Reference shall be " + + "preceded by a key with type File or Blob."))); + } + if (!(!(that.getType() == ReferenceTypes.MODEL_REFERENCE && that.getKeys().size() > 2) + || (IntStream.range(0, that.getKeys().size() - 1) + .allMatch( + i -> + !(ListHelpers.at(that.getKeys(), i).getType() + == KeyTypes.SUBMODEL_ELEMENT_LIST) + || matchesXsNonNegativeInteger( + ListHelpers.at(that.getKeys(), i + 1).getValue()))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-128: For model references, the value of " + + "a key preceded by a key with type Submodel element list is " + + "an integer number denoting the position in the array of " + + "the submodel element list."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getType()) + .flatMap(Verification::verifyReferenceTypes) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("type")); + return error; + })); + if (thatReferredSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatReferredSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("referredSemanticId")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getKeys()) + .flatMap(Verification::verifyListOf_IKey) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("keys")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformKey(IKey that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getType()) + .flatMap(Verification::verifyKeyTypes) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("type")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getValue()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformLangStringNameType(ILangStringNameType that) { + Stream errorStream = Stream.empty(); + if (!(StringHelpers.len(that.getText()) <= 128)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 128 characters."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("language")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("text")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformLangStringTextType(ILangStringTextType that) { + Stream errorStream = Stream.empty(); + if (!(StringHelpers.len(that.getText()) <= 1023)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 1023 characters."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("language")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("text")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformEnvironment(IEnvironment that) { + Stream errorStream = Stream.empty(); + final Optional> thatConceptDescriptions = + that.getConceptDescriptions(); + final Optional> thatSubmodels = that.getSubmodels(); + final Optional> thatAssetAdministrationShells = + that.getAssetAdministrationShells(); + if (!(!(thatConceptDescriptions.isPresent()) + || (thatConceptDescriptions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Concept descriptions must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSubmodels.isPresent()) || (thatSubmodels.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Submodels must be either not set or have at least one item."))); + } + if (!(!(thatAssetAdministrationShells.isPresent()) + || (thatAssetAdministrationShells.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Asset administration shells must be either not set or have " + + "at least one item."))); + } + if (thatAssetAdministrationShells.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatAssetAdministrationShells.get()) + .flatMap(Verification::verifyListOf_IAssetAdministrationShell) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("assetAdministrationShells")); + return error; + })); + } + if (thatSubmodels.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSubmodels.get()) + .flatMap(Verification::verifyListOf_ISubmodel) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("submodels")); + return error; + })); + } + if (thatConceptDescriptions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatConceptDescriptions.get()) + .flatMap(Verification::verifyListOf_IConceptDescription) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("conceptDescriptions")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformEmbeddedDataSpecification( + IEmbeddedDataSpecification that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getDataSpecification()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("dataSpecification")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getDataSpecificationContent()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("dataSpecificationContent")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformLevelType(ILevelType that) { + Stream errorStream = Stream.empty(); + // No verification has been defined for LevelType. + return errorStream; + } + + @Override + public Stream transformValueReferencePair(IValueReferencePair that) { + Stream errorStream = Stream.empty(); + final Optional thatValueId = that.getValueId(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getValue()) + .flatMap(Verification::verifyValueTypeIec61360) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + if (thatValueId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValueId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueId")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformValueList(IValueList that) { + Stream errorStream = Stream.empty(); + if (!(that.getValueReferencePairs().size() >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Value reference pair types must contain at least one item."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getValueReferencePairs()) + .flatMap(Verification::verifyListOf_IValueReferencePair) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueReferencePairs")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that) { + Stream errorStream = Stream.empty(); + if (!(StringHelpers.len(that.getText()) <= 255)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 255 characters."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("language")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("text")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformLangStringShortNameTypeIec61360( + ILangStringShortNameTypeIec61360 that) { + Stream errorStream = Stream.empty(); + if (!(StringHelpers.len(that.getText()) <= 18)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 18 characters."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("language")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("text")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that) { + Stream errorStream = Stream.empty(); + if (!(StringHelpers.len(that.getText()) <= 1023)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 1023 characters."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("language")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("text")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformLangStringUom(ILangStringUom that) { + Stream errorStream = Stream.empty(); + if (!(StringHelpers.len(that.getText()) <= 256)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 256 characters."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("language")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("text")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformDefinitionTypeUom(IDefinitionTypeUom that) { + Stream errorStream = Stream.empty(); + if (!(StringHelpers.len(that.getText()) <= 2048)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 2048 characters."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("language")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("text")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformDataSpecificationUom(IDataSpecificationUom that) { + Stream errorStream = Stream.empty(); + final Optional> thatPreferredNameQuantity = + that.getPreferredNameQuantity(); + final Optional> thatDefinition = that.getDefinition(); + final Optional thatSpecificUnitId = that.getSpecificUnitId(); + final Optional thatQuantityId = that.getQuantityId(); + final Optional thatClassificationSystem = that.getClassificationSystem(); + final Optional thatClassificationSystemVersion = + that.getClassificationSystemVersion(); + if (!(!(thatPreferredNameQuantity.isPresent()) + || (thatPreferredNameQuantity.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Preferred name quantity must be either not set or have at " + + "least one item."))); + } + if (!(!(thatPreferredNameQuantity.isPresent()) + || langStringsHaveUniqueLanguages(thatPreferredNameQuantity.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Preferred name quantity must specify unique languages."))); + } + if (!(!(thatDefinition.isPresent()) || (thatDefinition.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Definition must be either not set or have at least one item."))); + } + if (!(!(thatDefinition.isPresent()) + || langStringsHaveUniqueLanguages(thatDefinition.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Definition must specify unique languages."))); + } + if (!(that.getPreferredName().size() >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Preferred name must have at least one item."))); + } + if (!(langStringsHaveUniqueLanguages(that.getPreferredName()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Preferred name must specify unique languages."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPreferredName()) + .flatMap(Verification::verifyListOf_ILangStringUom) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("preferredName")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getSymbol()) + .flatMap(Verification::verifyStringUom) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("symbol")); + return error; + })); + if (thatSpecificUnitId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSpecificUnitId.get()) + .flatMap(Verification::verifyStringUom) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("specificUnitId")); + return error; + })); + } + if (thatDefinition.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDefinition.get()) + .flatMap(Verification::verifyListOf_IDefinitionTypeUom) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("definition")); + return error; + })); + } + if (thatPreferredNameQuantity.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatPreferredNameQuantity.get()) + .flatMap(Verification::verifyListOf_ILangStringUom) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("preferredNameQuantity")); + return error; + })); + } + if (thatQuantityId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQuantityId.get()) + .flatMap(Verification::verifyIdentifierUom) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("quantityId")); + return error; + })); + } + if (thatClassificationSystem.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatClassificationSystem.get()) + .flatMap(Verification::verifyStringUom) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("classificationSystem")); + return error; + })); + } + if (thatClassificationSystemVersion.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatClassificationSystemVersion.get()) + .flatMap(Verification::verifyStringUom) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("classificationSystemVersion")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformDataSpecificationIec61360( + IDataSpecificationIec61360 that) { + Stream errorStream = Stream.empty(); + final Optional thatValue = that.getValue(); + final Optional thatValueList = that.getValueList(); + final Optional thatDataType = that.getDataType(); + final Optional thatUnit = that.getUnit(); + final Optional thatUnitId = that.getUnitId(); + final Optional> thatDefinition = that.getDefinition(); + final Optional> thatShortName = that.getShortName(); + final Optional thatSourceOfDefinition = that.getSourceOfDefinition(); + final Optional thatSymbol = that.getSymbol(); + final Optional thatValueFormat = that.getValueFormat(); + final Optional thatLevelType = that.getLevelType(); + if (!(!((thatValue.isPresent()) && (thatValueList.isPresent())))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-010: If value is not empty then value " + + "list shall be empty and vice versa."))); + } + if (!(!((thatDataType.isPresent()) + && Constants.iec61360DataTypesWithUnit.contains(thatDataType.get())) + || ((thatUnit.isPresent()) || (thatUnitId.isPresent())))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-009: If data type is a an integer, real " + + "or rational with a measure or currency, unit or unit ID " + + "shall be defined."))); + } + if (!(!(thatDefinition.isPresent()) || (thatDefinition.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Definition must be either not set or have at least one item."))); + } + if (!(!(thatDefinition.isPresent()) + || langStringsHaveUniqueLanguages(thatDefinition.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Definition must specify unique languages."))); + } + if (!(!(thatShortName.isPresent()) || (thatShortName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Short name must be either not set or have at least one item."))); + } + if (!(!(thatShortName.isPresent()) + || langStringsHaveUniqueLanguages(thatShortName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Short name must specify unique languages."))); + } + if (!(that.getPreferredName().size() >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Preferred name must have at least one item."))); + } + if (!(langStringsHaveUniqueLanguages(that.getPreferredName()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Preferred name must specify unique languages."))); + } + if (!(that.getPreferredName().stream() + .anyMatch(langString -> isBcp47ForEnglish(langString.getLanguage())))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-002: preferred name shall be provided at " + + "least in English."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPreferredName()) + .flatMap(Verification::verifyListOf_ILangStringPreferredNameTypeIec61360) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("preferredName")); + return error; + })); + if (thatShortName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatShortName.get()) + .flatMap(Verification::verifyListOf_ILangStringShortNameTypeIec61360) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("shortName")); + return error; + })); + } + if (thatUnit.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatUnit.get()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("unit")); + return error; + })); + } + if (thatUnitId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatUnitId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("unitId")); + return error; + })); + } + if (thatSourceOfDefinition.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSourceOfDefinition.get()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("sourceOfDefinition")); + return error; + })); + } + if (thatSymbol.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSymbol.get()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("symbol")); + return error; + })); + } + if (thatDataType.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDataType.get()) + .flatMap(Verification::verifyDataTypeIec61360) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("dataType")); + return error; + })); + } + if (thatDefinition.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDefinition.get()) + .flatMap(Verification::verifyListOf_ILangStringDefinitionTypeIec61360) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("definition")); + return error; + })); + } + if (thatValueFormat.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValueFormat.get()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueFormat")); + return error; + })); + } + if (thatValueList.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValueList.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueList")); + return error; + })); + } + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyValueTypeIec61360) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + if (thatLevelType.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatLevelType.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("levelType")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformAssetAdministrationShellDescriptor( + IAssetAdministrationShellDescriptor that) { + Stream errorStream = Stream.empty(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatEndpoints = that.getEndpoints(); + final Optional> thatSpecificAssetIds = that.getSpecificAssetIds(); + final Optional> thatSubmodelDescriptors = + that.getSubmodelDescriptors(); + final Optional thatAdministration = that.getAdministration(); + final Optional thatAssetKind = that.getAssetKind(); + final Optional thatAssetType = that.getAssetType(); + final Optional thatGlobalAssetId = that.getGlobalAssetId(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "The name of an extension needs to be unique."))); + } + if (!(!(thatEndpoints.isPresent()) || (thatEndpoints.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Endpoints must be either not set or have at least one item."))); + } + if (!(!(thatSpecificAssetIds.isPresent()) || (thatSpecificAssetIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Specific asset IDs must be either not set or have at least " + + "one item."))); + } + if (!(!(thatSubmodelDescriptors.isPresent()) + || (thatSubmodelDescriptors.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Submodel descriptors must be either not set or have at " + + "least one item."))); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getId()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("id")); + return error; + })); + if (thatAdministration.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatAdministration.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("administration")); + return error; + })); + } + if (thatAssetKind.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatAssetKind.get()) + .flatMap(Verification::verifyAssetKind) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("assetKind")); + return error; + })); + } + if (thatAssetType.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatAssetType.get()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("assetType")); + return error; + })); + } + if (thatEndpoints.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEndpoints.get()) + .flatMap(Verification::verifyListOf_IEndpoint) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("endpoints")); + return error; + })); + } + if (thatGlobalAssetId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatGlobalAssetId.get()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("globalAssetId")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatSpecificAssetIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSpecificAssetIds.get()) + .flatMap(Verification::verifyListOf_ISpecificAssetId) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("specificAssetIds")); + return error; + })); + } + if (thatSubmodelDescriptors.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSubmodelDescriptors.get()) + .flatMap(Verification::verifyListOf_ISubmodelDescriptor) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("submodelDescriptors")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformSubmodelDescriptor(ISubmodelDescriptor that) { + Stream errorStream = Stream.empty(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional thatAdministration = that.getAdministration(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "The name of an extension needs to be unique."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "If there are supplemental semantic IDs defined then there " + + "shall be also a main semantic ID."))); + } + if (!(that.getEndpoints().size() >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Endpoints must contain at least one item."))); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getEndpoints()) + .flatMap(Verification::verifyListOf_IEndpoint) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("endpoints")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getId()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("id")); + return error; + })); + if (thatAdministration.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatAdministration.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("administration")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformEndpoint(IEndpoint that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getProtocolInformation()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("protocolInformation")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getInterface()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("interface")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformProtocolInformation(IProtocolInformation that) { + Stream errorStream = Stream.empty(); + final Optional> thatSecurityAttributes = + that.getSecurityAttributes(); + final Optional thatEndpointProtocol = that.getEndpointProtocol(); + final Optional> thatEndpointProtocolVersion = that.getEndpointProtocolVersion(); + final Optional thatSubprotocol = that.getSubprotocol(); + final Optional thatSubprotocolBody = that.getSubprotocolBody(); + final Optional thatSubprotocolBodyEncoding = that.getSubprotocolBodyEncoding(); + if (!(!(thatSecurityAttributes.isPresent()) || (thatSecurityAttributes.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Security attributes must be either not set or have at least " + + "one item."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getHref()) + .flatMap(Verification::verifyLocatorType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("href")); + return error; + })); + if (thatEndpointProtocol.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEndpointProtocol.get()) + .flatMap(Verification::verifySchemeType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("endpointProtocol")); + return error; + })); + } + if (thatEndpointProtocolVersion.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEndpointProtocolVersion.get()) + .flatMap(Verification::verifyListOf_NameType) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("endpointProtocolVersion")); + return error; + })); + } + if (thatSubprotocol.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSubprotocol.get()) + .flatMap(Verification::verifyShortIdType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("subprotocol")); + return error; + })); + } + if (thatSubprotocolBody.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSubprotocolBody.get()) + .flatMap(Verification::verifyTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("subprotocolBody")); + return error; + })); + } + if (thatSubprotocolBodyEncoding.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSubprotocolBodyEncoding.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("subprotocolBodyEncoding")); + return error; + })); + } + if (thatSecurityAttributes.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSecurityAttributes.get()) + .flatMap(Verification::verifyListOf_ISecurityAttributeObject) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("securityAttributes")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformSecurityAttributeObject(ISecurityAttributeObject that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getType()) + .flatMap(Verification::verifySecurityTypeEnum) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("type")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformAssetLink(IAssetLink that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getName()) + .flatMap(Verification::verifyLabelType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("name")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getValue()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformServiceDescription(IServiceDescription that) { + Stream errorStream = Stream.empty(); + if (!(that.getProfiles().size() >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Profiles must contain at least one item."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getProfiles()) + .flatMap(Verification::verifyListOf_ServiceSpecificationProfileEnum) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("profiles")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformAssetAdministrationShellRecentChange( + IAssetAdministrationShellRecentChange that) { + Stream errorStream = Stream.empty(); + final Optional> thatSpecificAssetIds = that.getSpecificAssetIds(); + final Optional thatGlobalAssetId = that.getGlobalAssetId(); + if (!(!(thatSpecificAssetIds.isPresent()) || (thatSpecificAssetIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Specific asset IDs must be either not set or have at least " + + "one item."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getCreatedAt()) + .flatMap(Verification::verifyDateTimeUtc) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("createdAt")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getUpdatedAt()) + .flatMap(Verification::verifyDateTimeUtc) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("updatedAt")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getId()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("id")); + return error; + })); + if (thatGlobalAssetId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatGlobalAssetId.get()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("globalAssetId")); + return error; + })); + } + if (thatSpecificAssetIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSpecificAssetIds.get()) + .flatMap(Verification::verifyListOf_ISpecificAssetId) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("specificAssetIds")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformConceptDescriptionRecentChange( + IConceptDescriptionRecentChange that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getCreatedAt()) + .flatMap(Verification::verifyDateTimeUtc) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("createdAt")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getUpdatedAt()) + .flatMap(Verification::verifyDateTimeUtc) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("updatedAt")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getId()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("id")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformSubmodelRecentChange(ISubmodelRecentChange that) { + Stream errorStream = Stream.empty(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "If there are supplemental semantic IDs defined then there " + + "shall be also a main semantic ID."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getCreatedAt()) + .flatMap(Verification::verifyDateTimeUtc) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("createdAt")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getUpdatedAt()) + .flatMap(Verification::verifyDateTimeUtc) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("updatedAt")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getId()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("id")); + return error; + })); + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformResult(IResult that) { + Stream errorStream = Stream.empty(); + final Optional> thatMessages = that.getMessages(); + if (thatMessages.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatMessages.get()) + .flatMap(Verification::verifyListOf_IMessage) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("messages")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformMessage(IMessage that) { + Stream errorStream = Stream.empty(); + final Optional thatCode = that.getCode(); + final Optional thatCorrelationId = that.getCorrelationId(); + final Optional thatTimestamp = that.getTimestamp(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getMessageType()) + .flatMap(Verification::verifyMessageTypeEnum) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("messageType")); + return error; + })); + if (thatCode.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCode.get()) + .flatMap(Verification::verifyCodeType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("code")); + return error; + })); + } + if (thatCorrelationId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCorrelationId.get()) + .flatMap(Verification::verifyShortIdType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("correlationId")); + return error; + })); + } + if (thatTimestamp.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatTimestamp.get()) + .flatMap(Verification::verifyDateTimeUtc) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("timestamp")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformOperationRequest(IOperationRequest that) { + Stream errorStream = Stream.empty(); + final Optional> thatInoutputArguments = that.getInoutputArguments(); + final Optional> thatInputArguments = that.getInputArguments(); + final Optional thatClientTimeoutDuration = that.getClientTimeoutDuration(); + if (!(!(thatInoutputArguments.isPresent()) || (thatInoutputArguments.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "InOutput arguments must be either not set or have at least " + + "one item."))); + } + if (!(!(thatInputArguments.isPresent()) || (thatInputArguments.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Input arguments must be either not set or have at least one " + + "item."))); + } + if (thatInputArguments.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatInputArguments.get()) + .flatMap(Verification::verifyListOf_IOperationVariable) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("inputArguments")); + return error; + })); + } + if (thatInoutputArguments.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatInoutputArguments.get()) + .flatMap(Verification::verifyListOf_IOperationVariable) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("inoutputArguments")); + return error; + })); + } + if (thatClientTimeoutDuration.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatClientTimeoutDuration.get()) + .flatMap(Verification::verifyDuration) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("clientTimeoutDuration")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformOperationRequestAsync(IOperationRequestAsync that) { + Stream errorStream = Stream.empty(); + final Optional> thatInoutputArguments = that.getInoutputArguments(); + final Optional> thatInputArguments = that.getInputArguments(); + if (!(!(thatInoutputArguments.isPresent()) || (thatInoutputArguments.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "InOutput arguments must be either not set or have at least " + + "one item."))); + } + if (!(!(thatInputArguments.isPresent()) || (thatInputArguments.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Input arguments must be either not set or have at least one " + + "item."))); + } + if (thatInputArguments.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatInputArguments.get()) + .flatMap(Verification::verifyListOf_IOperationVariable) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("inputArguments")); + return error; + })); + } + if (thatInoutputArguments.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatInoutputArguments.get()) + .flatMap(Verification::verifyListOf_IOperationVariable) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("inoutputArguments")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getClientTimeoutDuration()) + .flatMap(Verification::verifyDuration) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("clientTimeoutDuration")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformOperationRequestValueOnly( + IOperationRequestValueOnly that) { + Stream errorStream = Stream.empty(); + final Optional thatInputArguments = that.getInputArguments(); + final Optional thatInoutputArguments = that.getInoutputArguments(); + final Optional thatClientTimeoutDuration = that.getClientTimeoutDuration(); + if (thatInputArguments.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatInputArguments.get()) + .flatMap(Verification::verifyJsonObjectBy_IdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("inputArguments")); + return error; + })); + } + if (thatInoutputArguments.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatInoutputArguments.get()) + .flatMap(Verification::verifyJsonObjectBy_IdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("inoutputArguments")); + return error; + })); + } + if (thatClientTimeoutDuration.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatClientTimeoutDuration.get()) + .flatMap(Verification::verifyDuration) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("clientTimeoutDuration")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformOperationRequestAsyncValueOnly( + IOperationRequestAsyncValueOnly that) { + Stream errorStream = Stream.empty(); + final Optional thatInputArguments = that.getInputArguments(); + final Optional thatInoutputArguments = that.getInoutputArguments(); + if (thatInputArguments.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatInputArguments.get()) + .flatMap(Verification::verifyJsonObjectBy_IdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("inputArguments")); + return error; + })); + } + if (thatInoutputArguments.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatInoutputArguments.get()) + .flatMap(Verification::verifyJsonObjectBy_IdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("inoutputArguments")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getClientTimeoutDuration()) + .flatMap(Verification::verifyDuration) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("clientTimeoutDuration")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformBaseOperationResult(IBaseOperationResult that) { + Stream errorStream = Stream.empty(); + final Optional> thatMessages = that.getMessages(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getExecutionState()) + .flatMap(Verification::verifyExecutionState) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("executionState")); + return error; + })); + if (thatMessages.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatMessages.get()) + .flatMap(Verification::verifyListOf_IMessage) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("messages")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformOperationResult(IOperationResult that) { + Stream errorStream = Stream.empty(); + final Optional> thatInoutputArguments = that.getInoutputArguments(); + final Optional> thatOutputArguments = that.getOutputArguments(); + final Optional> thatMessages = that.getMessages(); + if (!(!(thatInoutputArguments.isPresent()) || (thatInoutputArguments.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "InOutput arguments must be either not set or have at least " + + "one item."))); + } + if (!(!(thatOutputArguments.isPresent()) || (thatOutputArguments.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Output arguments must be either not set or have at least " + + "one item."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getExecutionState()) + .flatMap(Verification::verifyExecutionState) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("executionState")); + return error; + })); + if (thatMessages.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatMessages.get()) + .flatMap(Verification::verifyListOf_IMessage) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("messages")); + return error; + })); + } + if (thatOutputArguments.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatOutputArguments.get()) + .flatMap(Verification::verifyListOf_IOperationVariable) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("outputArguments")); + return error; + })); + } + if (thatInoutputArguments.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatInoutputArguments.get()) + .flatMap(Verification::verifyListOf_IOperationVariable) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("inoutputArguments")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformOperationResultValueOnly( + IOperationResultValueOnly that) { + Stream errorStream = Stream.empty(); + final Optional> thatMessages = that.getMessages(); + final Optional thatOutputArguments = that.getOutputArguments(); + final Optional thatInoutputArguments = that.getInoutputArguments(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getExecutionState()) + .flatMap(Verification::verifyExecutionState) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("executionState")); + return error; + })); + if (thatMessages.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatMessages.get()) + .flatMap(Verification::verifyListOf_IMessage) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("messages")); + return error; + })); + } + if (thatOutputArguments.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatOutputArguments.get()) + .flatMap(Verification::verifyJsonObjectBy_IdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("outputArguments")); + return error; + })); + } + if (thatInoutputArguments.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatInoutputArguments.get()) + .flatMap(Verification::verifyJsonObjectBy_IdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("inoutputArguments")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformOperationHandle(IOperationHandle that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getHandleId()) + .flatMap(Verification::verifyShortIdType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("handleId")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformPagedResult(IPagedResult that) { + Stream errorStream = Stream.empty(); + final Optional> thatResult = that.getResult(); + if (thatResult.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatResult.get()) + .flatMap(Verification::verifyListOf_IReferable) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("result")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPagingMetadata()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("paging_metadata")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformPagingMetadata(IPagingMetadata that) { + Stream errorStream = Stream.empty(); + // No verification has been defined for PagingMetadata. + return errorStream; + } + + @Override + public Stream transformPackageDescription(IPackageDescription that) { + Stream errorStream = Stream.empty(); + final Optional> thatAasIds = that.getAasIds(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPackageId()) + .flatMap(Verification::verifyShortIdType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("packageId")); + return error; + })); + if (thatAasIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatAasIds.get()) + .flatMap(Verification::verifyListOf_Identifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("aasIds")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformPropertyMetadata(IPropertyMetadata that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getValueType()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueType")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformRangeMetadata(IRangeMetadata that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getValueType()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueType")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformBlobMetadata(IBlobMetadata that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformFileMetadata(IFileMetadata that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformMultiLanguagePropertyMetadata( + IMultiLanguagePropertyMetadata that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformReferenceElementMetadata( + IReferenceElementMetadata that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformRelationshipElementMetadata( + IRelationshipElementMetadata that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformAnnotatedRelationshipElementMetadata( + IAnnotatedRelationshipElementMetadata that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformEntityMetadata(IEntityMetadata that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformCapabilityMetadata(ICapabilityMetadata that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformOperationMetadata(IOperationMetadata that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformSubmodelElementCollectionMetadata( + ISubmodelElementCollectionMetadata that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformBasicEventElementMetadata( + IBasicEventElementMetadata that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatMessageTopic = that.getMessageTopic(); + final Optional thatMessageBroker = that.getMessageBroker(); + final Optional thatLastUpdate = that.getLastUpdate(); + final Optional thatMinInterval = that.getMinInterval(); + final Optional thatMaxInterval = that.getMaxInterval(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getDirection()) + .flatMap(Verification::verifyDirection) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("direction")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getState()) + .flatMap(Verification::verifyStateOfEvent) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("state")); + return error; + })); + if (thatMessageTopic.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatMessageTopic.get()) + .flatMap(Verification::verifyMessageTopicType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("messageTopic")); + return error; + })); + } + if (thatMessageBroker.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatMessageBroker.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("messageBroker")); + return error; + })); + } + if (thatLastUpdate.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatLastUpdate.get()) + .flatMap(Verification::verifyDateTimeUtc) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("lastUpdate")); + return error; + })); + } + if (thatMinInterval.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatMinInterval.get()) + .flatMap(Verification::verifyDuration) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("minInterval")); + return error; + })); + } + if (thatMaxInterval.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatMaxInterval.get()) + .flatMap(Verification::verifyDuration) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("maxInterval")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformSubmodelElementListMetadata( + ISubmodelElementListMetadata that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatSemanticIdListElement = that.getSemanticIdListElement(); + final Optional thatValueTypeListElement = that.getValueTypeListElement(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatSemanticIdListElement.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticIdListElement.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticIdListElement")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getTypeValueListElement()) + .flatMap(Verification::verifyAasSubmodelElements) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("typeValueListElement")); + return error; + })); + if (thatValueTypeListElement.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValueTypeListElement.get()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueTypeListElement")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformSubmodelMetadata(ISubmodelMetadata that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatAdministration = that.getAdministration(); + final Optional thatKind = that.getKind(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable shall only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || (!(thatQualifiers.get().stream() + .anyMatch( + qualifier -> qualifier.kindOrDefault() == QualifierKind.TEMPLATE_QUALIFIER)) + || (that.kindOrDefault() == ModellingKind.TEMPLATE)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-119: If any qualifier kind value of " + + "a qualifiable qualifier is equal to template qualifier and " + + "the qualified element has kind then the qualified element " + + "shall be of kind template."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatAdministration.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatAdministration.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("administration")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getId()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("id")); + return error; + })); + if (thatKind.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatKind.get()) + .flatMap(Verification::verifyModellingKind) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("kind")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformAssetAdministrationShellMetadata( + IAssetAdministrationShellMetadata that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatAdministration = that.getAdministration(); + final Optional thatDerivedFrom = that.getDerivedFrom(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatAdministration.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatAdministration.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("administration")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getId()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("id")); + return error; + })); + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatDerivedFrom.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDerivedFrom.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("derivedFrom")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformReferenceElementValue(IReferenceElementValue that) { + Stream errorStream = Stream.empty(); + final Optional thatReferredSemanticId = that.getReferredSemanticId(); + if (!(that.getKeys().size() >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Keys must contain at least one item."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getType()) + .flatMap(Verification::verifyReferenceTypes) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("type")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getKeys()) + .flatMap(Verification::verifyListOf_IKey) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("keys")); + return error; + })); + if (thatReferredSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatReferredSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("referredSemanticId")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformBlobValue(IBlobValue that) { + Stream errorStream = Stream.empty(); + final Optional thatContentType = that.getContentType(); + final Optional thatValue = that.getValue(); + if (thatContentType.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatContentType.get()) + .flatMap(Verification::verifyContentType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("contentType")); + return error; + })); + } + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyBlobType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformFileValue(IFileValue that) { + Stream errorStream = Stream.empty(); + final Optional thatContentType = that.getContentType(); + final Optional thatValue = that.getValue(); + if (thatContentType.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatContentType.get()) + .flatMap(Verification::verifyContentType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("contentType")); + return error; + })); + } + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyPathType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformRangeValue(IRangeValue that) { + Stream errorStream = Stream.empty(); + // No verification has been defined for RangeValue. + return errorStream; + } + + @Override + public Stream transformRelationshipElementValue( + IRelationshipElementValue that) { + Stream errorStream = Stream.empty(); + final Optional thatFirst = that.getFirst(); + final Optional thatSecond = that.getSecond(); + if (thatFirst.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatFirst.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("first")); + return error; + })); + } + if (thatSecond.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSecond.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("second")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformBasicEventElementValue(IBasicEventElementValue that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getObserved()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("observed")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformAnnotatedRelationshipElementValue( + IAnnotatedRelationshipElementValue that) { + Stream errorStream = Stream.empty(); + final Optional thatFirst = that.getFirst(); + final Optional thatSecond = that.getSecond(); + final Optional thatAnnotations = that.getAnnotations(); + if (thatFirst.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatFirst.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("first")); + return error; + })); + } + if (thatSecond.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSecond.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("second")); + return error; + })); + } + if (thatAnnotations.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatAnnotations.get()) + .flatMap(Verification::verifyJsonObjectBy_IdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("annotations")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformEntityValue(IEntityValue that) { + Stream errorStream = Stream.empty(); + final Optional> thatSpecificAssetIds = that.getSpecificAssetIds(); + final Optional thatEntityType = that.getEntityType(); + final Optional thatGlobalAssetId = that.getGlobalAssetId(); + final Optional thatStatements = that.getStatements(); + if (!(!(thatSpecificAssetIds.isPresent()) || (thatSpecificAssetIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Specific asset IDs must be either not set or have at least " + + "one item."))); + } + if (thatEntityType.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEntityType.get()) + .flatMap(Verification::verifyEntityType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("entityType")); + return error; + })); + } + if (thatGlobalAssetId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatGlobalAssetId.get()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("globalAssetId")); + return error; + })); + } + if (thatSpecificAssetIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSpecificAssetIds.get()) + .flatMap(Verification::verifyListOf_jsonObjectByLabelType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("specificAssetIds")); + return error; + })); + } + if (thatStatements.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatStatements.get()) + .flatMap(Verification::verifyJsonObjectBy_IdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("statements")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformGetAssetAdministrationShellsResult( + IGetAssetAdministrationShellsResult that) { + Stream errorStream = Stream.empty(); + final Optional> thatResult = that.getResult(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPagingMetadata()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("paging_metadata")); + return error; + })); + if (thatResult.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatResult.get()) + .flatMap(Verification::verifyListOf_IAssetAdministrationShell) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("result")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformGetAssetAdministrationShellsMetadataResult( + IGetAssetAdministrationShellsMetadataResult that) { + Stream errorStream = Stream.empty(); + final Optional> thatResult = that.getResult(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPagingMetadata()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("paging_metadata")); + return error; + })); + if (thatResult.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatResult.get()) + .flatMap(Verification::verifyListOf_IAssetAdministrationShellMetadata) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("result")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformGetAllAssetAdministrationShellsRecentChangesResult( + IGetAllAssetAdministrationShellsRecentChangesResult that) { + Stream errorStream = Stream.empty(); + final Optional> thatResult = that.getResult(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPagingMetadata()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("paging_metadata")); + return error; + })); + if (thatResult.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatResult.get()) + .flatMap(Verification::verifyListOf_IAssetAdministrationShellRecentChange) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("result")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformGetAssetAdministrationShellDescriptorsResult( + IGetAssetAdministrationShellDescriptorsResult that) { + Stream errorStream = Stream.empty(); + final Optional> thatResult = that.getResult(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPagingMetadata()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("paging_metadata")); + return error; + })); + if (thatResult.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatResult.get()) + .flatMap(Verification::verifyListOf_IAssetAdministrationShellDescriptor) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("result")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformGetConceptDescriptionsResult( + IGetConceptDescriptionsResult that) { + Stream errorStream = Stream.empty(); + final Optional> thatResult = that.getResult(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPagingMetadata()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("paging_metadata")); + return error; + })); + if (thatResult.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatResult.get()) + .flatMap(Verification::verifyListOf_IConceptDescription) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("result")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformGetAllConceptDescriptionsRecentChangesResult( + IGetAllConceptDescriptionsRecentChangesResult that) { + Stream errorStream = Stream.empty(); + final Optional> thatResult = that.getResult(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPagingMetadata()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("paging_metadata")); + return error; + })); + if (thatResult.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatResult.get()) + .flatMap(Verification::verifyListOf_IConceptDescriptionRecentChange) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("result")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformGetPackageDescriptionsResult( + IGetPackageDescriptionsResult that) { + Stream errorStream = Stream.empty(); + final Optional> thatResult = that.getResult(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPagingMetadata()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("paging_metadata")); + return error; + })); + if (thatResult.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatResult.get()) + .flatMap(Verification::verifyListOf_IPackageDescription) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("result")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformGetPathItemsResult(IGetPathItemsResult that) { + Stream errorStream = Stream.empty(); + final Optional> thatResult = that.getResult(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPagingMetadata()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("paging_metadata")); + return error; + })); + if (thatResult.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatResult.get()) + .flatMap(Verification::verifyListOf_PathItem) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("result")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformGetReferencesResult(IGetReferencesResult that) { + Stream errorStream = Stream.empty(); + final Optional> thatResult = that.getResult(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPagingMetadata()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("paging_metadata")); + return error; + })); + if (thatResult.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatResult.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("result")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformGetSubmodelDescriptorsResult( + IGetSubmodelDescriptorsResult that) { + Stream errorStream = Stream.empty(); + final Optional> thatResult = that.getResult(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPagingMetadata()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("paging_metadata")); + return error; + })); + if (thatResult.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatResult.get()) + .flatMap(Verification::verifyListOf_ISubmodelDescriptor) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("result")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformGetSubmodelElementsMetadataResult( + IGetSubmodelElementsMetadataResult that) { + Stream errorStream = Stream.empty(); + final Optional> thatResult = that.getResult(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPagingMetadata()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("paging_metadata")); + return error; + })); + if (thatResult.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatResult.get()) + .flatMap(Verification::verifyListOf_ISubmodelElementMetadata) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("result")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformGetSubmodelElementsResult( + IGetSubmodelElementsResult that) { + Stream errorStream = Stream.empty(); + final Optional> thatResult = that.getResult(); + if (!(!(thatResult.isPresent()) + || (thatResult.get().stream().allMatch(item -> item.getIdShort().isPresent())))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "ID-shorts need to be defined for all the items of result " + + "according to AASd-117 (ID-short of non-identifiable " + + "Referables not being a direct child of a Submodel element " + + "list shall be specified)."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPagingMetadata()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("paging_metadata")); + return error; + })); + if (thatResult.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatResult.get()) + .flatMap(Verification::verifyListOf_ISubmodelElement) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("result")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformGetSubmodelElementsValueResult( + IGetSubmodelElementsValueResult that) { + Stream errorStream = Stream.empty(); + final Optional> thatResult = that.getResult(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPagingMetadata()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("paging_metadata")); + return error; + })); + if (thatResult.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatResult.get()) + .flatMap(Verification::verifyListOf_jsonObjectByIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("result")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformGetAllSubmodelsRecentChangesResult( + IGetAllSubmodelsRecentChangesResult that) { + Stream errorStream = Stream.empty(); + final Optional> thatResult = that.getResult(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPagingMetadata()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("paging_metadata")); + return error; + })); + if (thatResult.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatResult.get()) + .flatMap(Verification::verifyListOf_ISubmodelRecentChange) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("result")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformGetSubmodelsMetadataResult( + IGetSubmodelsMetadataResult that) { + Stream errorStream = Stream.empty(); + final Optional> thatResult = that.getResult(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPagingMetadata()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("paging_metadata")); + return error; + })); + if (thatResult.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatResult.get()) + .flatMap(Verification::verifyListOf_ISubmodelMetadata) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("result")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformGetSubmodelsResult(IGetSubmodelsResult that) { + Stream errorStream = Stream.empty(); + final Optional> thatResult = that.getResult(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPagingMetadata()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("paging_metadata")); + return error; + })); + if (thatResult.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatResult.get()) + .flatMap(Verification::verifyListOf_ISubmodel) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("result")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformGetSubmodelsValueResult(IGetSubmodelsValueResult that) { + Stream errorStream = Stream.empty(); + final Optional> thatResult = that.getResult(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPagingMetadata()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("paging_metadata")); + return error; + })); + if (thatResult.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatResult.get()) + .flatMap(Verification::verifyListOf_jsonObjectByIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("result")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformClaimAttribute(IClaimAttribute that) { + Stream errorStream = Stream.empty(); + // No verification has been defined for ClaimAttribute. + return errorStream; + } + + @Override + public Stream transformGlobalAttribute(IGlobalAttribute that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getKind()) + .flatMap(Verification::verifyGlobalAttributeKind) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("GLOBAL")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformReferenceAttribute(IReferenceAttribute that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getReference()) + .flatMap(Verification::verifyReferenceIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("REFERENCE")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformDateTimeAttributeItem(IDateTimeAttributeItem that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getKind()) + .flatMap(Verification::verifyDateTimeGlobalAttributeKind) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("GLOBAL")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformFieldOperand(IFieldOperand that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getField()) + .flatMap(Verification::verifyFieldIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$field")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformStringLiteral(IStringLiteral that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getStrVal()) + .flatMap(Verification::verifyStandardString) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$strVal")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformAttributeOperand(IAttributeOperand that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getAttribute()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$attribute")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformNumberLiteral(INumberLiteral that) { + Stream errorStream = Stream.empty(); + // No verification has been defined for NumberLiteral. + return errorStream; + } + + @Override + public Stream transformHexLiteral(IHexLiteral that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getHexVal()) + .flatMap(Verification::verifyHexLiteralType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$hexVal")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformDateTimeLiteral(IDateTimeLiteral that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getDateTimeVal()) + .flatMap(Verification::verifyDateTimeLiteralType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$dateTimeVal")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformTimeLiteral(ITimeLiteral that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getTimeVal()) + .flatMap(Verification::verifyTimeLiteralType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$timeVal")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformBooleanLiteral(IBooleanLiteral that) { + Stream errorStream = Stream.empty(); + // No verification has been defined for BooleanLiteral. + return errorStream; + } + + @Override + public Stream transformStringCast(IStringCast that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getStrCast()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$strCast")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformNumberCast(INumberCast that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getNumCast()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$numCast")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformHexCast(IHexCast that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getHexCast()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$hexCast")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformBooleanCast(IBooleanCast that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getBoolCast()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$boolCast")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformDateTimeCast(IDateTimeCast that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getDateTimeCast()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$dateTimeCast")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformTimeCast(ITimeCast that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getTimeCast()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$timeCast")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformDayOfWeek(IDayOfWeek that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getDayOfWeek()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$dayOfWeek")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformDayOfMonth(IDayOfMonth that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getDayOfMonth()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$dayOfMonth")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformMonth(IMonth that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getMonth()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$month")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformYear(IYear that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getYear()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$year")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformDateTimeAttributeOperand( + IDateTimeAttributeOperand that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getAttribute()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$attribute")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformEqualComparison(IEqualComparison that) { + Stream errorStream = Stream.empty(); + if (!(areEqualityComparable(that.getEq().item1(), that.getEq().item2()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "The operands must be comparable by (in)equality."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getEq()) + .flatMap(Verification::verifyTupleOf2_Value_Value) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$eq")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformNotEqualComparison(INotEqualComparison that) { + Stream errorStream = Stream.empty(); + if (!(areEqualityComparable(that.getNe().item1(), that.getNe().item2()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "The operands must be comparable by (in)equality."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getNe()) + .flatMap(Verification::verifyTupleOf2_Value_Value) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$ne")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformGreaterThanComparison(IGreaterThanComparison that) { + Stream errorStream = Stream.empty(); + if (!(areOrderComparable(that.getGt().item1(), that.getGt().item2()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "The operands must be comparable by order."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getGt()) + .flatMap(Verification::verifyTupleOf2_Value_Value) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$gt")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformGreaterThanOrEqualComparison( + IGreaterThanOrEqualComparison that) { + Stream errorStream = Stream.empty(); + if (!(areOrderComparable(that.getGe().item1(), that.getGe().item2()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "The operands must be comparable by order."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getGe()) + .flatMap(Verification::verifyTupleOf2_Value_Value) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$ge")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformLessThanComparison(ILessThanComparison that) { + Stream errorStream = Stream.empty(); + if (!(areOrderComparable(that.getLt().item1(), that.getLt().item2()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "The operands must be comparable by order."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getLt()) + .flatMap(Verification::verifyTupleOf2_Value_Value) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$lt")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformLessThanOrEqualComparison( + ILessThanOrEqualComparison that) { + Stream errorStream = Stream.empty(); + if (!(areOrderComparable(that.getLe().item1(), that.getLe().item2()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "The operands must be comparable by order."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getLe()) + .flatMap(Verification::verifyTupleOf2_Value_Value) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$le")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformContainsComparison(IContainsComparison that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getContains()) + .flatMap(Verification::verifyTupleOf2_StringValue_StringValue) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$contains")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformStartsWithComparison(IStartsWithComparison that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getStartsWith()) + .flatMap(Verification::verifyTupleOf2_StringValue_StringValue) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$starts-with")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformEndsWithComparison(IEndsWithComparison that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getEndsWith()) + .flatMap(Verification::verifyTupleOf2_StringValue_StringValue) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$ends-with")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformRegexComparison(IRegexComparison that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getRegex()) + .flatMap(Verification::verifyTupleOf2_StringValue_StringValue) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$regex")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformMatchClause(IMatchClause that) { + Stream errorStream = Stream.empty(); + if (!(that.getMatchOperands().size() >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Match operands must have at least one item."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getMatchOperands()) + .flatMap(Verification::verifyListOf_MatchExpression) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$match")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformAndExpression(IAndExpression that) { + Stream errorStream = Stream.empty(); + if (!(that.getAndOperands().size() >= 2)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "And operands must have at least two items."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getAndOperands()) + .flatMap(Verification::verifyListOf_LogicalExpression) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$and")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformOrExpression(IOrExpression that) { + Stream errorStream = Stream.empty(); + if (!(that.getOrOperands().size() >= 2)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Or operands must have at least two items."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getOrOperands()) + .flatMap(Verification::verifyListOf_LogicalExpression) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$or")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformNotExpression(INotExpression that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getNotOperand()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$not")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformQueryFilter(IQueryFilter that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getFragment()) + .flatMap(Verification::verifyFragmentFieldIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$fragment")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getCondition()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$condition")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformQuery(IQuery that) { + Stream errorStream = Stream.empty(); + final Optional thatSelect = that.getSelect(); + final Optional> thatFilters = that.getFilters(); + if (thatSelect.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSelect.get()) + .flatMap(Verification::verifyQuerySelect) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$select")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getCondition()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$condition")); + return error; + })); + if (thatFilters.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatFilters.get()) + .flatMap(Verification::verifyListOf_IQueryFilter) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("$filters")); + return error; + })); + } + return errorStream; + } + } + + public static Stream verifyToErrorStream(IClass that) { + return transformer.transform(that); + } + + private static class _ValidationErrorIterable implements Iterable { + + private final IClass element; + + public _ValidationErrorIterable(IClass element) { + this.element = element; + } + + @Override + public Iterator iterator() { + Stream stream = stream(); + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + return stream.spliterator(); + } + + private Stream stream() { + return Verification.verifyToErrorStream(element); + } + } + + /** + * Verify the constraints of {@code that} recursively. + * + * @param that The instance of the meta-model to be verified + */ + public static Iterable verify(IClass that) { + return new _ValidationErrorIterable(that); + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyXmlSerializableString(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyNonEmptyXmlSerializableString(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyDateTimeUtc(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXsDateTimeUtc(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "The value must match the pattern of xs:dateTime with " + + "the time zone fixed to UTC."))); + } + if (!isXsDateTimeUtc(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "The value must represent a valid xs:dateTime with the time " + + "zone fixed to UTC."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyDateTime(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXsDateTime(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "The value must match the pattern of xs:dateTime."))); + } + if (!isXsDateTime(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "The value must represent a valid xs:dateTime."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyDuration(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXsDuration(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "The value must match the pattern of xs:duration."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyBlobType(byte[] that) { + Stream errorStream = Stream.empty(); + // There is no verification specified. + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyIdentifier(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 2048)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Identifier shall have a maximum length of 2048 characters."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyValueTypeIec61360(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 2048)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Value type IEC 61360 shall have a maximum length of 2048 " + + "characters."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyNameType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 128)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Name type shall have a maximum length of 128 characters."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyVersionType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!matchesVersionType(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Version type shall match the version pattern."))); + } + if (!(StringHelpers.len(that) <= 4)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Version type shall have a maximum length of 4 characters."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyRevisionType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!matchesRevisionType(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Revision type shall match the revision pattern."))); + } + if (!(StringHelpers.len(that) <= 4)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Revision type shall have a maximum length of 4 characters."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyLabelType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 64)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Label type shall have a maximum length of 64 characters."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyMessageTopicType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 255)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Message topic type shall have a maximum length of 255 " + + "characters."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyBcp47LanguageTag(String that) { + Stream errorStream = Stream.empty(); + if (!matchesBcp47(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "The value must represent a value language tag conformant to " + + "BCP 47."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyContentType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 128)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Content type shall have a maximum length of 128 characters."))); + } + if (!matchesMimeType(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "The value must represent a valid content MIME type " + + "according to RFC 2046."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyPathType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 2048)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Identifier shall have a maximum length of 2048 characters."))); + } + if (!matchesRfc2396(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "String with max 2048 and min 1 characters conformant to " + + "a URI as per RFC 2396."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyQualifierType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 128)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Name type shall have a maximum length of 128 characters."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyValueDataType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyIdShortType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 128)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Name type shall have a maximum length of 128 characters."))); + } + if (!matchesIdShort(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "AASd-002: ID-short of Referables shall consist of at least " + + "two characters and shall only feature letters, digits, " + + "hyphen (``-``) and underscore (``_``); starting mandatory " + + "with a letter, and not ending with a hyphen, *I.e.* " + + "``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``."))); + } + return errorStream; + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyModellingKind(ModellingKind that) { + if (!_EnumValueSet.forModellingKind.contains(that)) { + return Stream.of(new Reporting.Error("Invalid ModellingKind: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyQualifierKind(QualifierKind that) { + if (!_EnumValueSet.forQualifierKind.contains(that)) { + return Stream.of(new Reporting.Error("Invalid QualifierKind: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyAssetKind(AssetKind that) { + if (!_EnumValueSet.forAssetKind.contains(that)) { + return Stream.of(new Reporting.Error("Invalid AssetKind: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyAasSubmodelElements(AasSubmodelElements that) { + if (!_EnumValueSet.forAasSubmodelElements.contains(that)) { + return Stream.of(new Reporting.Error("Invalid AasSubmodelElements: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyEntityType(EntityType that) { + if (!_EnumValueSet.forEntityType.contains(that)) { + return Stream.of(new Reporting.Error("Invalid EntityType: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyDirection(Direction that) { + if (!_EnumValueSet.forDirection.contains(that)) { + return Stream.of(new Reporting.Error("Invalid Direction: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyStateOfEvent(StateOfEvent that) { + if (!_EnumValueSet.forStateOfEvent.contains(that)) { + return Stream.of(new Reporting.Error("Invalid StateOfEvent: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyReferenceTypes(ReferenceTypes that) { + if (!_EnumValueSet.forReferenceTypes.contains(that)) { + return Stream.of(new Reporting.Error("Invalid ReferenceTypes: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyKeyTypes(KeyTypes that) { + if (!_EnumValueSet.forKeyTypes.contains(that)) { + return Stream.of(new Reporting.Error("Invalid KeyTypes: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyDataTypeDefXsd(DataTypeDefXsd that) { + if (!_EnumValueSet.forDataTypeDefXsd.contains(that)) { + return Stream.of(new Reporting.Error("Invalid DataTypeDefXsd: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyDataTypeIec61360(DataTypeIec61360 that) { + if (!_EnumValueSet.forDataTypeIec61360.contains(that)) { + return Stream.of(new Reporting.Error("Invalid DataTypeIec61360: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyStringUom(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 256)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "String UoM shall have a maximum length of 256 characters."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyIdentifierUom(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 2048)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Identifier UoM shall have a maximum length of 2048 " + + "characters."))); + } + return errorStream; + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifySerializationFormat(SerializationFormat that) { + if (!_EnumValueSet.forSerializationFormat.contains(that)) { + return Stream.of(new Reporting.Error("Invalid SerializationFormat: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifySecurityTypeEnum(SecurityTypeEnum that) { + if (!_EnumValueSet.forSecurityTypeEnum.contains(that)) { + return Stream.of(new Reporting.Error("Invalid SecurityTypeEnum: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyServiceSpecificationProfileEnum( + ServiceSpecificationProfileEnum that) { + if (!_EnumValueSet.forServiceSpecificationProfileEnum.contains(that)) { + return Stream.of(new Reporting.Error("Invalid ServiceSpecificationProfileEnum: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyNonNegativeInteger(Long that) { + Stream errorStream = verify_long(that); + if (!(that >= 0)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "The value must be a non-negative integer."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyCodeType(String that) { + Stream errorStream = Stream.empty(); + if (!(StringHelpers.len(that) <= 32)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Code type shall have a maximum length of 32 characters."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyShortIdType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 128)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Name type shall have a maximum length of 128 characters."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyLocatorType(String that) { + Stream errorStream = Stream.empty(); + if (!(StringHelpers.len(that) <= 2048)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Locator type shall have a maximum length of 2048 characters."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyTextType(String that) { + Stream errorStream = Stream.empty(); + if (!(StringHelpers.len(that) <= 2048)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Text type shall have a maximum length of 2048 characters."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifySchemeType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 128)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Name type shall have a maximum length of 128 characters."))); + } + return errorStream; + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyStatusCode(StatusCode that) { + if (!_EnumValueSet.forStatusCode.contains(that)) { + return Stream.of(new Reporting.Error("Invalid StatusCode: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyMessageTypeEnum(MessageTypeEnum that) { + if (!_EnumValueSet.forMessageTypeEnum.contains(that)) { + return Stream.of(new Reporting.Error("Invalid MessageTypeEnum: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyExecutionState(ExecutionState that) { + if (!_EnumValueSet.forExecutionState.contains(that)) { + return Stream.of(new Reporting.Error("Invalid ExecutionState: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyLevel(Level that) { + if (!_EnumValueSet.forLevel.contains(that)) { + return Stream.of(new Reporting.Error("Invalid Level: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyContent(Content that) { + if (!_EnumValueSet.forContent.contains(that)) { + return Stream.of(new Reporting.Error("Invalid Content: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyExtent(Extent that) { + if (!_EnumValueSet.forExtent.contains(that)) { + return Stream.of(new Reporting.Error("Invalid Extent: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyPathItem(String that) { + Stream errorStream = Stream.empty(); + if (!matchesPathItem(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "The value must match the pattern of a path item."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyFieldIdentifier(String that) { + Stream errorStream = Stream.empty(); + if (!matchesFieldIdentifier(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "The value must match the pattern of a field identifier."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyFragmentFieldIdentifier(String that) { + Stream errorStream = Stream.empty(); + if (!matchesFragmentFieldIdentifier(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "The value must match the pattern of a fragment field " + + "identifier."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyStandardString(String that) { + Stream errorStream = Stream.empty(); + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "The value must have at least one character."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyHexLiteralType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesHexLiteral(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "The value must match the pattern of a hexadecimal literal."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyDateTimeLiteralType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesDateTimeLiteral(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "The value must match the pattern of a date-time literal."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyTimeLiteralType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesTimeLiteral(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "The value must match the pattern of a time literal."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyReferenceIdentifier(String that) { + Stream errorStream = Stream.empty(); + if (!matchesReferenceIdentifier(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "The value must match the pattern of a reference identifier."))); + } + return errorStream; + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyGlobalAttributeKind(GlobalAttributeKind that) { + if (!_EnumValueSet.forGlobalAttributeKind.contains(that)) { + return Stream.of(new Reporting.Error("Invalid GlobalAttributeKind: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyDateTimeGlobalAttributeKind( + DateTimeGlobalAttributeKind that) { + if (!_EnumValueSet.forDateTimeGlobalAttributeKind.contains(that)) { + return Stream.of(new Reporting.Error("Invalid DateTimeGlobalAttributeKind: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyQuerySelect(QuerySelect that) { + if (!_EnumValueSet.forQuerySelect.contains(that)) { + return Stream.of(new Reporting.Error("Invalid QuerySelect: " + that)); + } else { + return Stream.empty(); + } + } + + public static Stream verifyToErrorStream(IUnion that) { + return verifyToErrorStream(that.getUnderlying()); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IReference(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IEmbeddedDataSpecification( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IExtension(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ILangStringNameType( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ILangStringTextType( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ISpecificAssetId( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IQualifier(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ISubmodelElement( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IDataElement(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IOperationVariable( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IKey(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IAssetAdministrationShell( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ISubmodel(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IConceptDescription( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IValueReferencePair( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ILangStringUom(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IDefinitionTypeUom( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ILangStringPreferredNameTypeIec61360( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ILangStringShortNameTypeIec61360( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ILangStringDefinitionTypeIec61360( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IEndpoint(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ISubmodelDescriptor( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_NameType(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyNameType(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ISecurityAttributeObject( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ServiceSpecificationProfileEnum( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyServiceSpecificationProfileEnum(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IMessage(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify that {@code that} is a JSON-able object with valid keys. */ + private static Stream verifyJsonObjectBy_IdShortType(ObjectNode that) { + return Stream.concat( + Verification.verifyJsonObject(that), + Verification.streamOfFieldNames(that) + .flatMap( + key -> + Verification.verifyIdShortType(key) + .map( + error -> { + error.prependSegment(new Reporting.KeySegment(key)); + return error; + }))); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IReferable(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_Identifier(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyIdentifier(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_jsonObjectByLabelType(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyJsonObjectBy_LabelType(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify that {@code that} is a JSON-able object with valid keys. */ + private static Stream verifyJsonObjectBy_LabelType(ObjectNode that) { + return Stream.concat( + Verification.verifyJsonObject(that), + Verification.streamOfFieldNames(that) + .flatMap( + key -> + Verification.verifyLabelType(key) + .map( + error -> { + error.prependSegment(new Reporting.KeySegment(key)); + return error; + }))); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IAssetAdministrationShellMetadata( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IAssetAdministrationShellRecentChange( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IAssetAdministrationShellDescriptor( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IConceptDescriptionRecentChange( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IPackageDescription( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_PathItem(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyPathItem(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ISubmodelElementMetadata( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_jsonObjectByIdShortType( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyJsonObjectBy_IdShortType(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ISubmodelRecentChange( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ISubmodelMetadata( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyTupleOf2_Value_Value(Tuple2 that) { + return Stream.concat( + Stream.of(that.item1()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(0)); + return error; + }), + Stream.of(that.item2()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(1)); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyTupleOf2_StringValue_StringValue( + Tuple2 that) { + return Stream.concat( + Stream.of(that.item1()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(0)); + return error; + }), + Stream.of(that.item2()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(1)); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_MatchExpression(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_LogicalExpression( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IQueryFilter(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + private static class _Pair { + + private final A first; + + private final B second; + + public _Pair(A first, B second) { + this.first = first; + this.second = second; + } + + public A getFirst() { + return first; + } + + public B getSecond() { + return second; + } + } + + // Java 8 doesn't provide a split operation out of the box, so we have to ship our own. + // Adapted from: https://stackoverflow.com/a/23529010 + private static Stream<_Pair> zip(Stream a, Stream b) { + Spliterator aSplit = Objects.requireNonNull(a).spliterator(); + Spliterator bSplit = Objects.requireNonNull(b).spliterator(); + int characteristics = + aSplit.characteristics() + & bSplit.characteristics() + & ~(Spliterator.DISTINCT | Spliterator.SORTED); + long zipSize = + ((characteristics & Spliterator.SIZED) != 0) + ? Math.min(aSplit.getExactSizeIfKnown(), bSplit.getExactSizeIfKnown()) + : -1; + Iterator aIter = Spliterators.iterator(aSplit); + Iterator bIter = Spliterators.iterator(bSplit); + Iterator<_Pair> cIter = + new Iterator<_Pair>() { + + @Override + public boolean hasNext() { + return aIter.hasNext() && bIter.hasNext(); + } + + @Override + public _Pair next() { + return new _Pair<>(aIter.next(), bIter.next()); + } + }; + Spliterator<_Pair> split = Spliterators.spliterator(cIter, zipSize, characteristics); + return StreamSupport.stream(split, false); + } +} +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/visitation/AbstractTransformer.java b/src/main/java/aas_core/aas3_2/visitation/AbstractTransformer.java new file mode 100644 index 00000000..1a7cc429 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/visitation/AbstractTransformer.java @@ -0,0 +1,331 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.visitation; + +import aas_core.aas3_2.types.model.*; + +/** + * Perform double-dispatch to transform recursively the instances into something else. + * + * @param type of the transformation result + */ +public abstract class AbstractTransformer implements ITransformer { + public T transform(IClass that) { + return that.transform(this); + } + + public abstract T transformExtension(IExtension that); + + public abstract T transformAdministrativeInformation(IAdministrativeInformation that); + + public abstract T transformQualifier(IQualifier that); + + public abstract T transformAssetAdministrationShell(IAssetAdministrationShell that); + + public abstract T transformAssetInformation(IAssetInformation that); + + public abstract T transformResource(IResource that); + + public abstract T transformSpecificAssetId(ISpecificAssetId that); + + public abstract T transformSubmodel(ISubmodel that); + + public abstract T transformRelationshipElement(IRelationshipElement that); + + public abstract T transformSubmodelElementList(ISubmodelElementList that); + + public abstract T transformSubmodelElementCollection(ISubmodelElementCollection that); + + public abstract T transformProperty(IProperty that); + + public abstract T transformMultiLanguageProperty(IMultiLanguageProperty that); + + public abstract T transformRange(IRange that); + + public abstract T transformReferenceElement(IReferenceElement that); + + public abstract T transformBlob(IBlob that); + + public abstract T transformFile(IFile that); + + public abstract T transformAnnotatedRelationshipElement(IAnnotatedRelationshipElement that); + + public abstract T transformEntity(IEntity that); + + public abstract T transformEventPayload(IEventPayload that); + + public abstract T transformBasicEventElement(IBasicEventElement that); + + public abstract T transformOperation(IOperation that); + + public abstract T transformOperationVariable(IOperationVariable that); + + public abstract T transformCapability(ICapability that); + + public abstract T transformConceptDescription(IConceptDescription that); + + public abstract T transformReference(IReference that); + + public abstract T transformKey(IKey that); + + public abstract T transformLangStringNameType(ILangStringNameType that); + + public abstract T transformLangStringTextType(ILangStringTextType that); + + public abstract T transformEnvironment(IEnvironment that); + + public abstract T transformEmbeddedDataSpecification(IEmbeddedDataSpecification that); + + public abstract T transformLevelType(ILevelType that); + + public abstract T transformValueReferencePair(IValueReferencePair that); + + public abstract T transformValueList(IValueList that); + + public abstract T transformLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that); + + public abstract T transformLangStringShortNameTypeIec61360(ILangStringShortNameTypeIec61360 that); + + public abstract T transformLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that); + + public abstract T transformLangStringUom(ILangStringUom that); + + public abstract T transformDefinitionTypeUom(IDefinitionTypeUom that); + + public abstract T transformDataSpecificationUom(IDataSpecificationUom that); + + public abstract T transformDataSpecificationIec61360(IDataSpecificationIec61360 that); + + public abstract T transformAssetAdministrationShellDescriptor( + IAssetAdministrationShellDescriptor that); + + public abstract T transformSubmodelDescriptor(ISubmodelDescriptor that); + + public abstract T transformEndpoint(IEndpoint that); + + public abstract T transformProtocolInformation(IProtocolInformation that); + + public abstract T transformSecurityAttributeObject(ISecurityAttributeObject that); + + public abstract T transformAssetLink(IAssetLink that); + + public abstract T transformServiceDescription(IServiceDescription that); + + public abstract T transformAssetAdministrationShellRecentChange( + IAssetAdministrationShellRecentChange that); + + public abstract T transformConceptDescriptionRecentChange(IConceptDescriptionRecentChange that); + + public abstract T transformSubmodelRecentChange(ISubmodelRecentChange that); + + public abstract T transformResult(IResult that); + + public abstract T transformMessage(IMessage that); + + public abstract T transformOperationRequest(IOperationRequest that); + + public abstract T transformOperationRequestAsync(IOperationRequestAsync that); + + public abstract T transformOperationRequestValueOnly(IOperationRequestValueOnly that); + + public abstract T transformOperationRequestAsyncValueOnly(IOperationRequestAsyncValueOnly that); + + public abstract T transformBaseOperationResult(IBaseOperationResult that); + + public abstract T transformOperationResult(IOperationResult that); + + public abstract T transformOperationResultValueOnly(IOperationResultValueOnly that); + + public abstract T transformOperationHandle(IOperationHandle that); + + public abstract T transformPagedResult(IPagedResult that); + + public abstract T transformPagingMetadata(IPagingMetadata that); + + public abstract T transformPackageDescription(IPackageDescription that); + + public abstract T transformPropertyMetadata(IPropertyMetadata that); + + public abstract T transformRangeMetadata(IRangeMetadata that); + + public abstract T transformBlobMetadata(IBlobMetadata that); + + public abstract T transformFileMetadata(IFileMetadata that); + + public abstract T transformMultiLanguagePropertyMetadata(IMultiLanguagePropertyMetadata that); + + public abstract T transformReferenceElementMetadata(IReferenceElementMetadata that); + + public abstract T transformRelationshipElementMetadata(IRelationshipElementMetadata that); + + public abstract T transformAnnotatedRelationshipElementMetadata( + IAnnotatedRelationshipElementMetadata that); + + public abstract T transformEntityMetadata(IEntityMetadata that); + + public abstract T transformCapabilityMetadata(ICapabilityMetadata that); + + public abstract T transformOperationMetadata(IOperationMetadata that); + + public abstract T transformSubmodelElementCollectionMetadata( + ISubmodelElementCollectionMetadata that); + + public abstract T transformBasicEventElementMetadata(IBasicEventElementMetadata that); + + public abstract T transformSubmodelElementListMetadata(ISubmodelElementListMetadata that); + + public abstract T transformSubmodelMetadata(ISubmodelMetadata that); + + public abstract T transformAssetAdministrationShellMetadata( + IAssetAdministrationShellMetadata that); + + public abstract T transformReferenceElementValue(IReferenceElementValue that); + + public abstract T transformBlobValue(IBlobValue that); + + public abstract T transformFileValue(IFileValue that); + + public abstract T transformRangeValue(IRangeValue that); + + public abstract T transformRelationshipElementValue(IRelationshipElementValue that); + + public abstract T transformBasicEventElementValue(IBasicEventElementValue that); + + public abstract T transformAnnotatedRelationshipElementValue( + IAnnotatedRelationshipElementValue that); + + public abstract T transformEntityValue(IEntityValue that); + + public abstract T transformGetAssetAdministrationShellsResult( + IGetAssetAdministrationShellsResult that); + + public abstract T transformGetAssetAdministrationShellsMetadataResult( + IGetAssetAdministrationShellsMetadataResult that); + + public abstract T transformGetAllAssetAdministrationShellsRecentChangesResult( + IGetAllAssetAdministrationShellsRecentChangesResult that); + + public abstract T transformGetAssetAdministrationShellDescriptorsResult( + IGetAssetAdministrationShellDescriptorsResult that); + + public abstract T transformGetConceptDescriptionsResult(IGetConceptDescriptionsResult that); + + public abstract T transformGetAllConceptDescriptionsRecentChangesResult( + IGetAllConceptDescriptionsRecentChangesResult that); + + public abstract T transformGetPackageDescriptionsResult(IGetPackageDescriptionsResult that); + + public abstract T transformGetPathItemsResult(IGetPathItemsResult that); + + public abstract T transformGetReferencesResult(IGetReferencesResult that); + + public abstract T transformGetSubmodelDescriptorsResult(IGetSubmodelDescriptorsResult that); + + public abstract T transformGetSubmodelElementsMetadataResult( + IGetSubmodelElementsMetadataResult that); + + public abstract T transformGetSubmodelElementsResult(IGetSubmodelElementsResult that); + + public abstract T transformGetSubmodelElementsValueResult(IGetSubmodelElementsValueResult that); + + public abstract T transformGetAllSubmodelsRecentChangesResult( + IGetAllSubmodelsRecentChangesResult that); + + public abstract T transformGetSubmodelsMetadataResult(IGetSubmodelsMetadataResult that); + + public abstract T transformGetSubmodelsResult(IGetSubmodelsResult that); + + public abstract T transformGetSubmodelsValueResult(IGetSubmodelsValueResult that); + + public abstract T transformClaimAttribute(IClaimAttribute that); + + public abstract T transformGlobalAttribute(IGlobalAttribute that); + + public abstract T transformReferenceAttribute(IReferenceAttribute that); + + public abstract T transformDateTimeAttributeItem(IDateTimeAttributeItem that); + + public abstract T transformFieldOperand(IFieldOperand that); + + public abstract T transformStringLiteral(IStringLiteral that); + + public abstract T transformAttributeOperand(IAttributeOperand that); + + public abstract T transformNumberLiteral(INumberLiteral that); + + public abstract T transformHexLiteral(IHexLiteral that); + + public abstract T transformDateTimeLiteral(IDateTimeLiteral that); + + public abstract T transformTimeLiteral(ITimeLiteral that); + + public abstract T transformBooleanLiteral(IBooleanLiteral that); + + public abstract T transformStringCast(IStringCast that); + + public abstract T transformNumberCast(INumberCast that); + + public abstract T transformHexCast(IHexCast that); + + public abstract T transformBooleanCast(IBooleanCast that); + + public abstract T transformDateTimeCast(IDateTimeCast that); + + public abstract T transformTimeCast(ITimeCast that); + + public abstract T transformDayOfWeek(IDayOfWeek that); + + public abstract T transformDayOfMonth(IDayOfMonth that); + + public abstract T transformMonth(IMonth that); + + public abstract T transformYear(IYear that); + + public abstract T transformDateTimeAttributeOperand(IDateTimeAttributeOperand that); + + public abstract T transformEqualComparison(IEqualComparison that); + + public abstract T transformNotEqualComparison(INotEqualComparison that); + + public abstract T transformGreaterThanComparison(IGreaterThanComparison that); + + public abstract T transformGreaterThanOrEqualComparison(IGreaterThanOrEqualComparison that); + + public abstract T transformLessThanComparison(ILessThanComparison that); + + public abstract T transformLessThanOrEqualComparison(ILessThanOrEqualComparison that); + + public abstract T transformContainsComparison(IContainsComparison that); + + public abstract T transformStartsWithComparison(IStartsWithComparison that); + + public abstract T transformEndsWithComparison(IEndsWithComparison that); + + public abstract T transformRegexComparison(IRegexComparison that); + + public abstract T transformMatchClause(IMatchClause that); + + public abstract T transformAndExpression(IAndExpression that); + + public abstract T transformOrExpression(IOrExpression that); + + public abstract T transformNotExpression(INotExpression that); + + public abstract T transformQueryFilter(IQueryFilter that); + + public abstract T transformQuery(IQuery that); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/visitation/AbstractTransformerWithContext.java b/src/main/java/aas_core/aas3_2/visitation/AbstractTransformerWithContext.java new file mode 100644 index 00000000..8f2fb4b5 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/visitation/AbstractTransformerWithContext.java @@ -0,0 +1,365 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.visitation; + +import aas_core.aas3_2.types.model.*; + +/** + * Perform double-dispatch to transform recursively the instances into something else. + * + *

When you use the transformer, please always call the main dispatching method {@link + * AbstractTransformerWithContext#transform}. You should most probably never call the {@code + * transform} methods directly. They are only made public so that model classes can access them. + * + * @param structure of the context + * @param type of the transformation result + */ +public abstract class AbstractTransformerWithContext + implements ITransformerWithContext { + public T transform(IClass that, ContextT context) { + return that.transform(this, context); + } + + public abstract T transformExtension(IExtension that, ContextT context); + + public abstract T transformAdministrativeInformation( + IAdministrativeInformation that, ContextT context); + + public abstract T transformQualifier(IQualifier that, ContextT context); + + public abstract T transformAssetAdministrationShell( + IAssetAdministrationShell that, ContextT context); + + public abstract T transformAssetInformation(IAssetInformation that, ContextT context); + + public abstract T transformResource(IResource that, ContextT context); + + public abstract T transformSpecificAssetId(ISpecificAssetId that, ContextT context); + + public abstract T transformSubmodel(ISubmodel that, ContextT context); + + public abstract T transformRelationshipElement(IRelationshipElement that, ContextT context); + + public abstract T transformSubmodelElementList(ISubmodelElementList that, ContextT context); + + public abstract T transformSubmodelElementCollection( + ISubmodelElementCollection that, ContextT context); + + public abstract T transformProperty(IProperty that, ContextT context); + + public abstract T transformMultiLanguageProperty(IMultiLanguageProperty that, ContextT context); + + public abstract T transformRange(IRange that, ContextT context); + + public abstract T transformReferenceElement(IReferenceElement that, ContextT context); + + public abstract T transformBlob(IBlob that, ContextT context); + + public abstract T transformFile(IFile that, ContextT context); + + public abstract T transformAnnotatedRelationshipElement( + IAnnotatedRelationshipElement that, ContextT context); + + public abstract T transformEntity(IEntity that, ContextT context); + + public abstract T transformEventPayload(IEventPayload that, ContextT context); + + public abstract T transformBasicEventElement(IBasicEventElement that, ContextT context); + + public abstract T transformOperation(IOperation that, ContextT context); + + public abstract T transformOperationVariable(IOperationVariable that, ContextT context); + + public abstract T transformCapability(ICapability that, ContextT context); + + public abstract T transformConceptDescription(IConceptDescription that, ContextT context); + + public abstract T transformReference(IReference that, ContextT context); + + public abstract T transformKey(IKey that, ContextT context); + + public abstract T transformLangStringNameType(ILangStringNameType that, ContextT context); + + public abstract T transformLangStringTextType(ILangStringTextType that, ContextT context); + + public abstract T transformEnvironment(IEnvironment that, ContextT context); + + public abstract T transformEmbeddedDataSpecification( + IEmbeddedDataSpecification that, ContextT context); + + public abstract T transformLevelType(ILevelType that, ContextT context); + + public abstract T transformValueReferencePair(IValueReferencePair that, ContextT context); + + public abstract T transformValueList(IValueList that, ContextT context); + + public abstract T transformLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that, ContextT context); + + public abstract T transformLangStringShortNameTypeIec61360( + ILangStringShortNameTypeIec61360 that, ContextT context); + + public abstract T transformLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that, ContextT context); + + public abstract T transformLangStringUom(ILangStringUom that, ContextT context); + + public abstract T transformDefinitionTypeUom(IDefinitionTypeUom that, ContextT context); + + public abstract T transformDataSpecificationUom(IDataSpecificationUom that, ContextT context); + + public abstract T transformDataSpecificationIec61360( + IDataSpecificationIec61360 that, ContextT context); + + public abstract T transformAssetAdministrationShellDescriptor( + IAssetAdministrationShellDescriptor that, ContextT context); + + public abstract T transformSubmodelDescriptor(ISubmodelDescriptor that, ContextT context); + + public abstract T transformEndpoint(IEndpoint that, ContextT context); + + public abstract T transformProtocolInformation(IProtocolInformation that, ContextT context); + + public abstract T transformSecurityAttributeObject( + ISecurityAttributeObject that, ContextT context); + + public abstract T transformAssetLink(IAssetLink that, ContextT context); + + public abstract T transformServiceDescription(IServiceDescription that, ContextT context); + + public abstract T transformAssetAdministrationShellRecentChange( + IAssetAdministrationShellRecentChange that, ContextT context); + + public abstract T transformConceptDescriptionRecentChange( + IConceptDescriptionRecentChange that, ContextT context); + + public abstract T transformSubmodelRecentChange(ISubmodelRecentChange that, ContextT context); + + public abstract T transformResult(IResult that, ContextT context); + + public abstract T transformMessage(IMessage that, ContextT context); + + public abstract T transformOperationRequest(IOperationRequest that, ContextT context); + + public abstract T transformOperationRequestAsync(IOperationRequestAsync that, ContextT context); + + public abstract T transformOperationRequestValueOnly( + IOperationRequestValueOnly that, ContextT context); + + public abstract T transformOperationRequestAsyncValueOnly( + IOperationRequestAsyncValueOnly that, ContextT context); + + public abstract T transformBaseOperationResult(IBaseOperationResult that, ContextT context); + + public abstract T transformOperationResult(IOperationResult that, ContextT context); + + public abstract T transformOperationResultValueOnly( + IOperationResultValueOnly that, ContextT context); + + public abstract T transformOperationHandle(IOperationHandle that, ContextT context); + + public abstract T transformPagedResult(IPagedResult that, ContextT context); + + public abstract T transformPagingMetadata(IPagingMetadata that, ContextT context); + + public abstract T transformPackageDescription(IPackageDescription that, ContextT context); + + public abstract T transformPropertyMetadata(IPropertyMetadata that, ContextT context); + + public abstract T transformRangeMetadata(IRangeMetadata that, ContextT context); + + public abstract T transformBlobMetadata(IBlobMetadata that, ContextT context); + + public abstract T transformFileMetadata(IFileMetadata that, ContextT context); + + public abstract T transformMultiLanguagePropertyMetadata( + IMultiLanguagePropertyMetadata that, ContextT context); + + public abstract T transformReferenceElementMetadata( + IReferenceElementMetadata that, ContextT context); + + public abstract T transformRelationshipElementMetadata( + IRelationshipElementMetadata that, ContextT context); + + public abstract T transformAnnotatedRelationshipElementMetadata( + IAnnotatedRelationshipElementMetadata that, ContextT context); + + public abstract T transformEntityMetadata(IEntityMetadata that, ContextT context); + + public abstract T transformCapabilityMetadata(ICapabilityMetadata that, ContextT context); + + public abstract T transformOperationMetadata(IOperationMetadata that, ContextT context); + + public abstract T transformSubmodelElementCollectionMetadata( + ISubmodelElementCollectionMetadata that, ContextT context); + + public abstract T transformBasicEventElementMetadata( + IBasicEventElementMetadata that, ContextT context); + + public abstract T transformSubmodelElementListMetadata( + ISubmodelElementListMetadata that, ContextT context); + + public abstract T transformSubmodelMetadata(ISubmodelMetadata that, ContextT context); + + public abstract T transformAssetAdministrationShellMetadata( + IAssetAdministrationShellMetadata that, ContextT context); + + public abstract T transformReferenceElementValue(IReferenceElementValue that, ContextT context); + + public abstract T transformBlobValue(IBlobValue that, ContextT context); + + public abstract T transformFileValue(IFileValue that, ContextT context); + + public abstract T transformRangeValue(IRangeValue that, ContextT context); + + public abstract T transformRelationshipElementValue( + IRelationshipElementValue that, ContextT context); + + public abstract T transformBasicEventElementValue(IBasicEventElementValue that, ContextT context); + + public abstract T transformAnnotatedRelationshipElementValue( + IAnnotatedRelationshipElementValue that, ContextT context); + + public abstract T transformEntityValue(IEntityValue that, ContextT context); + + public abstract T transformGetAssetAdministrationShellsResult( + IGetAssetAdministrationShellsResult that, ContextT context); + + public abstract T transformGetAssetAdministrationShellsMetadataResult( + IGetAssetAdministrationShellsMetadataResult that, ContextT context); + + public abstract T transformGetAllAssetAdministrationShellsRecentChangesResult( + IGetAllAssetAdministrationShellsRecentChangesResult that, ContextT context); + + public abstract T transformGetAssetAdministrationShellDescriptorsResult( + IGetAssetAdministrationShellDescriptorsResult that, ContextT context); + + public abstract T transformGetConceptDescriptionsResult( + IGetConceptDescriptionsResult that, ContextT context); + + public abstract T transformGetAllConceptDescriptionsRecentChangesResult( + IGetAllConceptDescriptionsRecentChangesResult that, ContextT context); + + public abstract T transformGetPackageDescriptionsResult( + IGetPackageDescriptionsResult that, ContextT context); + + public abstract T transformGetPathItemsResult(IGetPathItemsResult that, ContextT context); + + public abstract T transformGetReferencesResult(IGetReferencesResult that, ContextT context); + + public abstract T transformGetSubmodelDescriptorsResult( + IGetSubmodelDescriptorsResult that, ContextT context); + + public abstract T transformGetSubmodelElementsMetadataResult( + IGetSubmodelElementsMetadataResult that, ContextT context); + + public abstract T transformGetSubmodelElementsResult( + IGetSubmodelElementsResult that, ContextT context); + + public abstract T transformGetSubmodelElementsValueResult( + IGetSubmodelElementsValueResult that, ContextT context); + + public abstract T transformGetAllSubmodelsRecentChangesResult( + IGetAllSubmodelsRecentChangesResult that, ContextT context); + + public abstract T transformGetSubmodelsMetadataResult( + IGetSubmodelsMetadataResult that, ContextT context); + + public abstract T transformGetSubmodelsResult(IGetSubmodelsResult that, ContextT context); + + public abstract T transformGetSubmodelsValueResult( + IGetSubmodelsValueResult that, ContextT context); + + public abstract T transformClaimAttribute(IClaimAttribute that, ContextT context); + + public abstract T transformGlobalAttribute(IGlobalAttribute that, ContextT context); + + public abstract T transformReferenceAttribute(IReferenceAttribute that, ContextT context); + + public abstract T transformDateTimeAttributeItem(IDateTimeAttributeItem that, ContextT context); + + public abstract T transformFieldOperand(IFieldOperand that, ContextT context); + + public abstract T transformStringLiteral(IStringLiteral that, ContextT context); + + public abstract T transformAttributeOperand(IAttributeOperand that, ContextT context); + + public abstract T transformNumberLiteral(INumberLiteral that, ContextT context); + + public abstract T transformHexLiteral(IHexLiteral that, ContextT context); + + public abstract T transformDateTimeLiteral(IDateTimeLiteral that, ContextT context); + + public abstract T transformTimeLiteral(ITimeLiteral that, ContextT context); + + public abstract T transformBooleanLiteral(IBooleanLiteral that, ContextT context); + + public abstract T transformStringCast(IStringCast that, ContextT context); + + public abstract T transformNumberCast(INumberCast that, ContextT context); + + public abstract T transformHexCast(IHexCast that, ContextT context); + + public abstract T transformBooleanCast(IBooleanCast that, ContextT context); + + public abstract T transformDateTimeCast(IDateTimeCast that, ContextT context); + + public abstract T transformTimeCast(ITimeCast that, ContextT context); + + public abstract T transformDayOfWeek(IDayOfWeek that, ContextT context); + + public abstract T transformDayOfMonth(IDayOfMonth that, ContextT context); + + public abstract T transformMonth(IMonth that, ContextT context); + + public abstract T transformYear(IYear that, ContextT context); + + public abstract T transformDateTimeAttributeOperand( + IDateTimeAttributeOperand that, ContextT context); + + public abstract T transformEqualComparison(IEqualComparison that, ContextT context); + + public abstract T transformNotEqualComparison(INotEqualComparison that, ContextT context); + + public abstract T transformGreaterThanComparison(IGreaterThanComparison that, ContextT context); + + public abstract T transformGreaterThanOrEqualComparison( + IGreaterThanOrEqualComparison that, ContextT context); + + public abstract T transformLessThanComparison(ILessThanComparison that, ContextT context); + + public abstract T transformLessThanOrEqualComparison( + ILessThanOrEqualComparison that, ContextT context); + + public abstract T transformContainsComparison(IContainsComparison that, ContextT context); + + public abstract T transformStartsWithComparison(IStartsWithComparison that, ContextT context); + + public abstract T transformEndsWithComparison(IEndsWithComparison that, ContextT context); + + public abstract T transformRegexComparison(IRegexComparison that, ContextT context); + + public abstract T transformMatchClause(IMatchClause that, ContextT context); + + public abstract T transformAndExpression(IAndExpression that, ContextT context); + + public abstract T transformOrExpression(IOrExpression that, ContextT context); + + public abstract T transformNotExpression(INotExpression that, ContextT context); + + public abstract T transformQueryFilter(IQueryFilter that, ContextT context); + + public abstract T transformQuery(IQuery that, ContextT context); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/visitation/AbstractVisitor.java b/src/main/java/aas_core/aas3_2/visitation/AbstractVisitor.java new file mode 100644 index 00000000..bd708a8b --- /dev/null +++ b/src/main/java/aas_core/aas3_2/visitation/AbstractVisitor.java @@ -0,0 +1,327 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.visitation; + +import aas_core.aas3_2.types.model.*; + +/** Perform double-dispatch to visit the concrete instances. */ +public abstract class AbstractVisitor implements IVisitor { + public void visit(IClass that) { + that.accept(this); + } + + public abstract void visitExtension(IExtension that); + + public abstract void visitAdministrativeInformation(IAdministrativeInformation that); + + public abstract void visitQualifier(IQualifier that); + + public abstract void visitAssetAdministrationShell(IAssetAdministrationShell that); + + public abstract void visitAssetInformation(IAssetInformation that); + + public abstract void visitResource(IResource that); + + public abstract void visitSpecificAssetId(ISpecificAssetId that); + + public abstract void visitSubmodel(ISubmodel that); + + public abstract void visitRelationshipElement(IRelationshipElement that); + + public abstract void visitSubmodelElementList(ISubmodelElementList that); + + public abstract void visitSubmodelElementCollection(ISubmodelElementCollection that); + + public abstract void visitProperty(IProperty that); + + public abstract void visitMultiLanguageProperty(IMultiLanguageProperty that); + + public abstract void visitRange(IRange that); + + public abstract void visitReferenceElement(IReferenceElement that); + + public abstract void visitBlob(IBlob that); + + public abstract void visitFile(IFile that); + + public abstract void visitAnnotatedRelationshipElement(IAnnotatedRelationshipElement that); + + public abstract void visitEntity(IEntity that); + + public abstract void visitEventPayload(IEventPayload that); + + public abstract void visitBasicEventElement(IBasicEventElement that); + + public abstract void visitOperation(IOperation that); + + public abstract void visitOperationVariable(IOperationVariable that); + + public abstract void visitCapability(ICapability that); + + public abstract void visitConceptDescription(IConceptDescription that); + + public abstract void visitReference(IReference that); + + public abstract void visitKey(IKey that); + + public abstract void visitLangStringNameType(ILangStringNameType that); + + public abstract void visitLangStringTextType(ILangStringTextType that); + + public abstract void visitEnvironment(IEnvironment that); + + public abstract void visitEmbeddedDataSpecification(IEmbeddedDataSpecification that); + + public abstract void visitLevelType(ILevelType that); + + public abstract void visitValueReferencePair(IValueReferencePair that); + + public abstract void visitValueList(IValueList that); + + public abstract void visitLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that); + + public abstract void visitLangStringShortNameTypeIec61360(ILangStringShortNameTypeIec61360 that); + + public abstract void visitLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that); + + public abstract void visitLangStringUom(ILangStringUom that); + + public abstract void visitDefinitionTypeUom(IDefinitionTypeUom that); + + public abstract void visitDataSpecificationUom(IDataSpecificationUom that); + + public abstract void visitDataSpecificationIec61360(IDataSpecificationIec61360 that); + + public abstract void visitAssetAdministrationShellDescriptor( + IAssetAdministrationShellDescriptor that); + + public abstract void visitSubmodelDescriptor(ISubmodelDescriptor that); + + public abstract void visitEndpoint(IEndpoint that); + + public abstract void visitProtocolInformation(IProtocolInformation that); + + public abstract void visitSecurityAttributeObject(ISecurityAttributeObject that); + + public abstract void visitAssetLink(IAssetLink that); + + public abstract void visitServiceDescription(IServiceDescription that); + + public abstract void visitAssetAdministrationShellRecentChange( + IAssetAdministrationShellRecentChange that); + + public abstract void visitConceptDescriptionRecentChange(IConceptDescriptionRecentChange that); + + public abstract void visitSubmodelRecentChange(ISubmodelRecentChange that); + + public abstract void visitResult(IResult that); + + public abstract void visitMessage(IMessage that); + + public abstract void visitOperationRequest(IOperationRequest that); + + public abstract void visitOperationRequestAsync(IOperationRequestAsync that); + + public abstract void visitOperationRequestValueOnly(IOperationRequestValueOnly that); + + public abstract void visitOperationRequestAsyncValueOnly(IOperationRequestAsyncValueOnly that); + + public abstract void visitBaseOperationResult(IBaseOperationResult that); + + public abstract void visitOperationResult(IOperationResult that); + + public abstract void visitOperationResultValueOnly(IOperationResultValueOnly that); + + public abstract void visitOperationHandle(IOperationHandle that); + + public abstract void visitPagedResult(IPagedResult that); + + public abstract void visitPagingMetadata(IPagingMetadata that); + + public abstract void visitPackageDescription(IPackageDescription that); + + public abstract void visitPropertyMetadata(IPropertyMetadata that); + + public abstract void visitRangeMetadata(IRangeMetadata that); + + public abstract void visitBlobMetadata(IBlobMetadata that); + + public abstract void visitFileMetadata(IFileMetadata that); + + public abstract void visitMultiLanguagePropertyMetadata(IMultiLanguagePropertyMetadata that); + + public abstract void visitReferenceElementMetadata(IReferenceElementMetadata that); + + public abstract void visitRelationshipElementMetadata(IRelationshipElementMetadata that); + + public abstract void visitAnnotatedRelationshipElementMetadata( + IAnnotatedRelationshipElementMetadata that); + + public abstract void visitEntityMetadata(IEntityMetadata that); + + public abstract void visitCapabilityMetadata(ICapabilityMetadata that); + + public abstract void visitOperationMetadata(IOperationMetadata that); + + public abstract void visitSubmodelElementCollectionMetadata( + ISubmodelElementCollectionMetadata that); + + public abstract void visitBasicEventElementMetadata(IBasicEventElementMetadata that); + + public abstract void visitSubmodelElementListMetadata(ISubmodelElementListMetadata that); + + public abstract void visitSubmodelMetadata(ISubmodelMetadata that); + + public abstract void visitAssetAdministrationShellMetadata( + IAssetAdministrationShellMetadata that); + + public abstract void visitReferenceElementValue(IReferenceElementValue that); + + public abstract void visitBlobValue(IBlobValue that); + + public abstract void visitFileValue(IFileValue that); + + public abstract void visitRangeValue(IRangeValue that); + + public abstract void visitRelationshipElementValue(IRelationshipElementValue that); + + public abstract void visitBasicEventElementValue(IBasicEventElementValue that); + + public abstract void visitAnnotatedRelationshipElementValue( + IAnnotatedRelationshipElementValue that); + + public abstract void visitEntityValue(IEntityValue that); + + public abstract void visitGetAssetAdministrationShellsResult( + IGetAssetAdministrationShellsResult that); + + public abstract void visitGetAssetAdministrationShellsMetadataResult( + IGetAssetAdministrationShellsMetadataResult that); + + public abstract void visitGetAllAssetAdministrationShellsRecentChangesResult( + IGetAllAssetAdministrationShellsRecentChangesResult that); + + public abstract void visitGetAssetAdministrationShellDescriptorsResult( + IGetAssetAdministrationShellDescriptorsResult that); + + public abstract void visitGetConceptDescriptionsResult(IGetConceptDescriptionsResult that); + + public abstract void visitGetAllConceptDescriptionsRecentChangesResult( + IGetAllConceptDescriptionsRecentChangesResult that); + + public abstract void visitGetPackageDescriptionsResult(IGetPackageDescriptionsResult that); + + public abstract void visitGetPathItemsResult(IGetPathItemsResult that); + + public abstract void visitGetReferencesResult(IGetReferencesResult that); + + public abstract void visitGetSubmodelDescriptorsResult(IGetSubmodelDescriptorsResult that); + + public abstract void visitGetSubmodelElementsMetadataResult( + IGetSubmodelElementsMetadataResult that); + + public abstract void visitGetSubmodelElementsResult(IGetSubmodelElementsResult that); + + public abstract void visitGetSubmodelElementsValueResult(IGetSubmodelElementsValueResult that); + + public abstract void visitGetAllSubmodelsRecentChangesResult( + IGetAllSubmodelsRecentChangesResult that); + + public abstract void visitGetSubmodelsMetadataResult(IGetSubmodelsMetadataResult that); + + public abstract void visitGetSubmodelsResult(IGetSubmodelsResult that); + + public abstract void visitGetSubmodelsValueResult(IGetSubmodelsValueResult that); + + public abstract void visitClaimAttribute(IClaimAttribute that); + + public abstract void visitGlobalAttribute(IGlobalAttribute that); + + public abstract void visitReferenceAttribute(IReferenceAttribute that); + + public abstract void visitDateTimeAttributeItem(IDateTimeAttributeItem that); + + public abstract void visitFieldOperand(IFieldOperand that); + + public abstract void visitStringLiteral(IStringLiteral that); + + public abstract void visitAttributeOperand(IAttributeOperand that); + + public abstract void visitNumberLiteral(INumberLiteral that); + + public abstract void visitHexLiteral(IHexLiteral that); + + public abstract void visitDateTimeLiteral(IDateTimeLiteral that); + + public abstract void visitTimeLiteral(ITimeLiteral that); + + public abstract void visitBooleanLiteral(IBooleanLiteral that); + + public abstract void visitStringCast(IStringCast that); + + public abstract void visitNumberCast(INumberCast that); + + public abstract void visitHexCast(IHexCast that); + + public abstract void visitBooleanCast(IBooleanCast that); + + public abstract void visitDateTimeCast(IDateTimeCast that); + + public abstract void visitTimeCast(ITimeCast that); + + public abstract void visitDayOfWeek(IDayOfWeek that); + + public abstract void visitDayOfMonth(IDayOfMonth that); + + public abstract void visitMonth(IMonth that); + + public abstract void visitYear(IYear that); + + public abstract void visitDateTimeAttributeOperand(IDateTimeAttributeOperand that); + + public abstract void visitEqualComparison(IEqualComparison that); + + public abstract void visitNotEqualComparison(INotEqualComparison that); + + public abstract void visitGreaterThanComparison(IGreaterThanComparison that); + + public abstract void visitGreaterThanOrEqualComparison(IGreaterThanOrEqualComparison that); + + public abstract void visitLessThanComparison(ILessThanComparison that); + + public abstract void visitLessThanOrEqualComparison(ILessThanOrEqualComparison that); + + public abstract void visitContainsComparison(IContainsComparison that); + + public abstract void visitStartsWithComparison(IStartsWithComparison that); + + public abstract void visitEndsWithComparison(IEndsWithComparison that); + + public abstract void visitRegexComparison(IRegexComparison that); + + public abstract void visitMatchClause(IMatchClause that); + + public abstract void visitAndExpression(IAndExpression that); + + public abstract void visitOrExpression(IOrExpression that); + + public abstract void visitNotExpression(INotExpression that); + + public abstract void visitQueryFilter(IQueryFilter that); + + public abstract void visitQuery(IQuery that); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/visitation/AbstractVisitorWithContext.java b/src/main/java/aas_core/aas3_2/visitation/AbstractVisitorWithContext.java new file mode 100644 index 00000000..44c7a324 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/visitation/AbstractVisitorWithContext.java @@ -0,0 +1,360 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.visitation; + +import aas_core.aas3_2.types.model.*; + +/** + * Perform double-dispatch to visit the concrete instances with context. + * + * @param structure of the context + */ +public abstract class AbstractVisitorWithContext + implements IVisitorWithContext { + public void visit(IClass that, ContextT context) { + that.accept(this, context); + } + + public abstract void visitExtension(IExtension that, ContextT context); + + public abstract void visitAdministrativeInformation( + IAdministrativeInformation that, ContextT context); + + public abstract void visitQualifier(IQualifier that, ContextT context); + + public abstract void visitAssetAdministrationShell( + IAssetAdministrationShell that, ContextT context); + + public abstract void visitAssetInformation(IAssetInformation that, ContextT context); + + public abstract void visitResource(IResource that, ContextT context); + + public abstract void visitSpecificAssetId(ISpecificAssetId that, ContextT context); + + public abstract void visitSubmodel(ISubmodel that, ContextT context); + + public abstract void visitRelationshipElement(IRelationshipElement that, ContextT context); + + public abstract void visitSubmodelElementList(ISubmodelElementList that, ContextT context); + + public abstract void visitSubmodelElementCollection( + ISubmodelElementCollection that, ContextT context); + + public abstract void visitProperty(IProperty that, ContextT context); + + public abstract void visitMultiLanguageProperty(IMultiLanguageProperty that, ContextT context); + + public abstract void visitRange(IRange that, ContextT context); + + public abstract void visitReferenceElement(IReferenceElement that, ContextT context); + + public abstract void visitBlob(IBlob that, ContextT context); + + public abstract void visitFile(IFile that, ContextT context); + + public abstract void visitAnnotatedRelationshipElement( + IAnnotatedRelationshipElement that, ContextT context); + + public abstract void visitEntity(IEntity that, ContextT context); + + public abstract void visitEventPayload(IEventPayload that, ContextT context); + + public abstract void visitBasicEventElement(IBasicEventElement that, ContextT context); + + public abstract void visitOperation(IOperation that, ContextT context); + + public abstract void visitOperationVariable(IOperationVariable that, ContextT context); + + public abstract void visitCapability(ICapability that, ContextT context); + + public abstract void visitConceptDescription(IConceptDescription that, ContextT context); + + public abstract void visitReference(IReference that, ContextT context); + + public abstract void visitKey(IKey that, ContextT context); + + public abstract void visitLangStringNameType(ILangStringNameType that, ContextT context); + + public abstract void visitLangStringTextType(ILangStringTextType that, ContextT context); + + public abstract void visitEnvironment(IEnvironment that, ContextT context); + + public abstract void visitEmbeddedDataSpecification( + IEmbeddedDataSpecification that, ContextT context); + + public abstract void visitLevelType(ILevelType that, ContextT context); + + public abstract void visitValueReferencePair(IValueReferencePair that, ContextT context); + + public abstract void visitValueList(IValueList that, ContextT context); + + public abstract void visitLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that, ContextT context); + + public abstract void visitLangStringShortNameTypeIec61360( + ILangStringShortNameTypeIec61360 that, ContextT context); + + public abstract void visitLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that, ContextT context); + + public abstract void visitLangStringUom(ILangStringUom that, ContextT context); + + public abstract void visitDefinitionTypeUom(IDefinitionTypeUom that, ContextT context); + + public abstract void visitDataSpecificationUom(IDataSpecificationUom that, ContextT context); + + public abstract void visitDataSpecificationIec61360( + IDataSpecificationIec61360 that, ContextT context); + + public abstract void visitAssetAdministrationShellDescriptor( + IAssetAdministrationShellDescriptor that, ContextT context); + + public abstract void visitSubmodelDescriptor(ISubmodelDescriptor that, ContextT context); + + public abstract void visitEndpoint(IEndpoint that, ContextT context); + + public abstract void visitProtocolInformation(IProtocolInformation that, ContextT context); + + public abstract void visitSecurityAttributeObject( + ISecurityAttributeObject that, ContextT context); + + public abstract void visitAssetLink(IAssetLink that, ContextT context); + + public abstract void visitServiceDescription(IServiceDescription that, ContextT context); + + public abstract void visitAssetAdministrationShellRecentChange( + IAssetAdministrationShellRecentChange that, ContextT context); + + public abstract void visitConceptDescriptionRecentChange( + IConceptDescriptionRecentChange that, ContextT context); + + public abstract void visitSubmodelRecentChange(ISubmodelRecentChange that, ContextT context); + + public abstract void visitResult(IResult that, ContextT context); + + public abstract void visitMessage(IMessage that, ContextT context); + + public abstract void visitOperationRequest(IOperationRequest that, ContextT context); + + public abstract void visitOperationRequestAsync(IOperationRequestAsync that, ContextT context); + + public abstract void visitOperationRequestValueOnly( + IOperationRequestValueOnly that, ContextT context); + + public abstract void visitOperationRequestAsyncValueOnly( + IOperationRequestAsyncValueOnly that, ContextT context); + + public abstract void visitBaseOperationResult(IBaseOperationResult that, ContextT context); + + public abstract void visitOperationResult(IOperationResult that, ContextT context); + + public abstract void visitOperationResultValueOnly( + IOperationResultValueOnly that, ContextT context); + + public abstract void visitOperationHandle(IOperationHandle that, ContextT context); + + public abstract void visitPagedResult(IPagedResult that, ContextT context); + + public abstract void visitPagingMetadata(IPagingMetadata that, ContextT context); + + public abstract void visitPackageDescription(IPackageDescription that, ContextT context); + + public abstract void visitPropertyMetadata(IPropertyMetadata that, ContextT context); + + public abstract void visitRangeMetadata(IRangeMetadata that, ContextT context); + + public abstract void visitBlobMetadata(IBlobMetadata that, ContextT context); + + public abstract void visitFileMetadata(IFileMetadata that, ContextT context); + + public abstract void visitMultiLanguagePropertyMetadata( + IMultiLanguagePropertyMetadata that, ContextT context); + + public abstract void visitReferenceElementMetadata( + IReferenceElementMetadata that, ContextT context); + + public abstract void visitRelationshipElementMetadata( + IRelationshipElementMetadata that, ContextT context); + + public abstract void visitAnnotatedRelationshipElementMetadata( + IAnnotatedRelationshipElementMetadata that, ContextT context); + + public abstract void visitEntityMetadata(IEntityMetadata that, ContextT context); + + public abstract void visitCapabilityMetadata(ICapabilityMetadata that, ContextT context); + + public abstract void visitOperationMetadata(IOperationMetadata that, ContextT context); + + public abstract void visitSubmodelElementCollectionMetadata( + ISubmodelElementCollectionMetadata that, ContextT context); + + public abstract void visitBasicEventElementMetadata( + IBasicEventElementMetadata that, ContextT context); + + public abstract void visitSubmodelElementListMetadata( + ISubmodelElementListMetadata that, ContextT context); + + public abstract void visitSubmodelMetadata(ISubmodelMetadata that, ContextT context); + + public abstract void visitAssetAdministrationShellMetadata( + IAssetAdministrationShellMetadata that, ContextT context); + + public abstract void visitReferenceElementValue(IReferenceElementValue that, ContextT context); + + public abstract void visitBlobValue(IBlobValue that, ContextT context); + + public abstract void visitFileValue(IFileValue that, ContextT context); + + public abstract void visitRangeValue(IRangeValue that, ContextT context); + + public abstract void visitRelationshipElementValue( + IRelationshipElementValue that, ContextT context); + + public abstract void visitBasicEventElementValue(IBasicEventElementValue that, ContextT context); + + public abstract void visitAnnotatedRelationshipElementValue( + IAnnotatedRelationshipElementValue that, ContextT context); + + public abstract void visitEntityValue(IEntityValue that, ContextT context); + + public abstract void visitGetAssetAdministrationShellsResult( + IGetAssetAdministrationShellsResult that, ContextT context); + + public abstract void visitGetAssetAdministrationShellsMetadataResult( + IGetAssetAdministrationShellsMetadataResult that, ContextT context); + + public abstract void visitGetAllAssetAdministrationShellsRecentChangesResult( + IGetAllAssetAdministrationShellsRecentChangesResult that, ContextT context); + + public abstract void visitGetAssetAdministrationShellDescriptorsResult( + IGetAssetAdministrationShellDescriptorsResult that, ContextT context); + + public abstract void visitGetConceptDescriptionsResult( + IGetConceptDescriptionsResult that, ContextT context); + + public abstract void visitGetAllConceptDescriptionsRecentChangesResult( + IGetAllConceptDescriptionsRecentChangesResult that, ContextT context); + + public abstract void visitGetPackageDescriptionsResult( + IGetPackageDescriptionsResult that, ContextT context); + + public abstract void visitGetPathItemsResult(IGetPathItemsResult that, ContextT context); + + public abstract void visitGetReferencesResult(IGetReferencesResult that, ContextT context); + + public abstract void visitGetSubmodelDescriptorsResult( + IGetSubmodelDescriptorsResult that, ContextT context); + + public abstract void visitGetSubmodelElementsMetadataResult( + IGetSubmodelElementsMetadataResult that, ContextT context); + + public abstract void visitGetSubmodelElementsResult( + IGetSubmodelElementsResult that, ContextT context); + + public abstract void visitGetSubmodelElementsValueResult( + IGetSubmodelElementsValueResult that, ContextT context); + + public abstract void visitGetAllSubmodelsRecentChangesResult( + IGetAllSubmodelsRecentChangesResult that, ContextT context); + + public abstract void visitGetSubmodelsMetadataResult( + IGetSubmodelsMetadataResult that, ContextT context); + + public abstract void visitGetSubmodelsResult(IGetSubmodelsResult that, ContextT context); + + public abstract void visitGetSubmodelsValueResult( + IGetSubmodelsValueResult that, ContextT context); + + public abstract void visitClaimAttribute(IClaimAttribute that, ContextT context); + + public abstract void visitGlobalAttribute(IGlobalAttribute that, ContextT context); + + public abstract void visitReferenceAttribute(IReferenceAttribute that, ContextT context); + + public abstract void visitDateTimeAttributeItem(IDateTimeAttributeItem that, ContextT context); + + public abstract void visitFieldOperand(IFieldOperand that, ContextT context); + + public abstract void visitStringLiteral(IStringLiteral that, ContextT context); + + public abstract void visitAttributeOperand(IAttributeOperand that, ContextT context); + + public abstract void visitNumberLiteral(INumberLiteral that, ContextT context); + + public abstract void visitHexLiteral(IHexLiteral that, ContextT context); + + public abstract void visitDateTimeLiteral(IDateTimeLiteral that, ContextT context); + + public abstract void visitTimeLiteral(ITimeLiteral that, ContextT context); + + public abstract void visitBooleanLiteral(IBooleanLiteral that, ContextT context); + + public abstract void visitStringCast(IStringCast that, ContextT context); + + public abstract void visitNumberCast(INumberCast that, ContextT context); + + public abstract void visitHexCast(IHexCast that, ContextT context); + + public abstract void visitBooleanCast(IBooleanCast that, ContextT context); + + public abstract void visitDateTimeCast(IDateTimeCast that, ContextT context); + + public abstract void visitTimeCast(ITimeCast that, ContextT context); + + public abstract void visitDayOfWeek(IDayOfWeek that, ContextT context); + + public abstract void visitDayOfMonth(IDayOfMonth that, ContextT context); + + public abstract void visitMonth(IMonth that, ContextT context); + + public abstract void visitYear(IYear that, ContextT context); + + public abstract void visitDateTimeAttributeOperand( + IDateTimeAttributeOperand that, ContextT context); + + public abstract void visitEqualComparison(IEqualComparison that, ContextT context); + + public abstract void visitNotEqualComparison(INotEqualComparison that, ContextT context); + + public abstract void visitGreaterThanComparison(IGreaterThanComparison that, ContextT context); + + public abstract void visitGreaterThanOrEqualComparison( + IGreaterThanOrEqualComparison that, ContextT context); + + public abstract void visitLessThanComparison(ILessThanComparison that, ContextT context); + + public abstract void visitLessThanOrEqualComparison( + ILessThanOrEqualComparison that, ContextT context); + + public abstract void visitContainsComparison(IContainsComparison that, ContextT context); + + public abstract void visitStartsWithComparison(IStartsWithComparison that, ContextT context); + + public abstract void visitEndsWithComparison(IEndsWithComparison that, ContextT context); + + public abstract void visitRegexComparison(IRegexComparison that, ContextT context); + + public abstract void visitMatchClause(IMatchClause that, ContextT context); + + public abstract void visitAndExpression(IAndExpression that, ContextT context); + + public abstract void visitOrExpression(IOrExpression that, ContextT context); + + public abstract void visitNotExpression(INotExpression that, ContextT context); + + public abstract void visitQueryFilter(IQueryFilter that, ContextT context); + + public abstract void visitQuery(IQuery that, ContextT context); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/visitation/ITransformer.java b/src/main/java/aas_core/aas3_2/visitation/ITransformer.java new file mode 100644 index 00000000..aa177202 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/visitation/ITransformer.java @@ -0,0 +1,323 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.visitation; + +import aas_core.aas3_2.types.model.*; + +/** + * Define the interface for a transformer which transforms recursively the instances into something + * else. + * + *

When you use the transformer, please always call the main dispatching method {@link + * ITransformer#transform}. You should most probably never call the {@code transform} methods + * directly. They are only made public so that model classes can access them. + * + * @param type of the transformation result + */ +public interface ITransformer { + T transform(IClass that); + + T transformExtension(IExtension that); + + T transformAdministrativeInformation(IAdministrativeInformation that); + + T transformQualifier(IQualifier that); + + T transformAssetAdministrationShell(IAssetAdministrationShell that); + + T transformAssetInformation(IAssetInformation that); + + T transformResource(IResource that); + + T transformSpecificAssetId(ISpecificAssetId that); + + T transformSubmodel(ISubmodel that); + + T transformRelationshipElement(IRelationshipElement that); + + T transformSubmodelElementList(ISubmodelElementList that); + + T transformSubmodelElementCollection(ISubmodelElementCollection that); + + T transformProperty(IProperty that); + + T transformMultiLanguageProperty(IMultiLanguageProperty that); + + T transformRange(IRange that); + + T transformReferenceElement(IReferenceElement that); + + T transformBlob(IBlob that); + + T transformFile(IFile that); + + T transformAnnotatedRelationshipElement(IAnnotatedRelationshipElement that); + + T transformEntity(IEntity that); + + T transformEventPayload(IEventPayload that); + + T transformBasicEventElement(IBasicEventElement that); + + T transformOperation(IOperation that); + + T transformOperationVariable(IOperationVariable that); + + T transformCapability(ICapability that); + + T transformConceptDescription(IConceptDescription that); + + T transformReference(IReference that); + + T transformKey(IKey that); + + T transformLangStringNameType(ILangStringNameType that); + + T transformLangStringTextType(ILangStringTextType that); + + T transformEnvironment(IEnvironment that); + + T transformEmbeddedDataSpecification(IEmbeddedDataSpecification that); + + T transformLevelType(ILevelType that); + + T transformValueReferencePair(IValueReferencePair that); + + T transformValueList(IValueList that); + + T transformLangStringPreferredNameTypeIec61360(ILangStringPreferredNameTypeIec61360 that); + + T transformLangStringShortNameTypeIec61360(ILangStringShortNameTypeIec61360 that); + + T transformLangStringDefinitionTypeIec61360(ILangStringDefinitionTypeIec61360 that); + + T transformLangStringUom(ILangStringUom that); + + T transformDefinitionTypeUom(IDefinitionTypeUom that); + + T transformDataSpecificationUom(IDataSpecificationUom that); + + T transformDataSpecificationIec61360(IDataSpecificationIec61360 that); + + T transformAssetAdministrationShellDescriptor(IAssetAdministrationShellDescriptor that); + + T transformSubmodelDescriptor(ISubmodelDescriptor that); + + T transformEndpoint(IEndpoint that); + + T transformProtocolInformation(IProtocolInformation that); + + T transformSecurityAttributeObject(ISecurityAttributeObject that); + + T transformAssetLink(IAssetLink that); + + T transformServiceDescription(IServiceDescription that); + + T transformAssetAdministrationShellRecentChange(IAssetAdministrationShellRecentChange that); + + T transformConceptDescriptionRecentChange(IConceptDescriptionRecentChange that); + + T transformSubmodelRecentChange(ISubmodelRecentChange that); + + T transformResult(IResult that); + + T transformMessage(IMessage that); + + T transformOperationRequest(IOperationRequest that); + + T transformOperationRequestAsync(IOperationRequestAsync that); + + T transformOperationRequestValueOnly(IOperationRequestValueOnly that); + + T transformOperationRequestAsyncValueOnly(IOperationRequestAsyncValueOnly that); + + T transformBaseOperationResult(IBaseOperationResult that); + + T transformOperationResult(IOperationResult that); + + T transformOperationResultValueOnly(IOperationResultValueOnly that); + + T transformOperationHandle(IOperationHandle that); + + T transformPagedResult(IPagedResult that); + + T transformPagingMetadata(IPagingMetadata that); + + T transformPackageDescription(IPackageDescription that); + + T transformPropertyMetadata(IPropertyMetadata that); + + T transformRangeMetadata(IRangeMetadata that); + + T transformBlobMetadata(IBlobMetadata that); + + T transformFileMetadata(IFileMetadata that); + + T transformMultiLanguagePropertyMetadata(IMultiLanguagePropertyMetadata that); + + T transformReferenceElementMetadata(IReferenceElementMetadata that); + + T transformRelationshipElementMetadata(IRelationshipElementMetadata that); + + T transformAnnotatedRelationshipElementMetadata(IAnnotatedRelationshipElementMetadata that); + + T transformEntityMetadata(IEntityMetadata that); + + T transformCapabilityMetadata(ICapabilityMetadata that); + + T transformOperationMetadata(IOperationMetadata that); + + T transformSubmodelElementCollectionMetadata(ISubmodelElementCollectionMetadata that); + + T transformBasicEventElementMetadata(IBasicEventElementMetadata that); + + T transformSubmodelElementListMetadata(ISubmodelElementListMetadata that); + + T transformSubmodelMetadata(ISubmodelMetadata that); + + T transformAssetAdministrationShellMetadata(IAssetAdministrationShellMetadata that); + + T transformReferenceElementValue(IReferenceElementValue that); + + T transformBlobValue(IBlobValue that); + + T transformFileValue(IFileValue that); + + T transformRangeValue(IRangeValue that); + + T transformRelationshipElementValue(IRelationshipElementValue that); + + T transformBasicEventElementValue(IBasicEventElementValue that); + + T transformAnnotatedRelationshipElementValue(IAnnotatedRelationshipElementValue that); + + T transformEntityValue(IEntityValue that); + + T transformGetAssetAdministrationShellsResult(IGetAssetAdministrationShellsResult that); + + T transformGetAssetAdministrationShellsMetadataResult( + IGetAssetAdministrationShellsMetadataResult that); + + T transformGetAllAssetAdministrationShellsRecentChangesResult( + IGetAllAssetAdministrationShellsRecentChangesResult that); + + T transformGetAssetAdministrationShellDescriptorsResult( + IGetAssetAdministrationShellDescriptorsResult that); + + T transformGetConceptDescriptionsResult(IGetConceptDescriptionsResult that); + + T transformGetAllConceptDescriptionsRecentChangesResult( + IGetAllConceptDescriptionsRecentChangesResult that); + + T transformGetPackageDescriptionsResult(IGetPackageDescriptionsResult that); + + T transformGetPathItemsResult(IGetPathItemsResult that); + + T transformGetReferencesResult(IGetReferencesResult that); + + T transformGetSubmodelDescriptorsResult(IGetSubmodelDescriptorsResult that); + + T transformGetSubmodelElementsMetadataResult(IGetSubmodelElementsMetadataResult that); + + T transformGetSubmodelElementsResult(IGetSubmodelElementsResult that); + + T transformGetSubmodelElementsValueResult(IGetSubmodelElementsValueResult that); + + T transformGetAllSubmodelsRecentChangesResult(IGetAllSubmodelsRecentChangesResult that); + + T transformGetSubmodelsMetadataResult(IGetSubmodelsMetadataResult that); + + T transformGetSubmodelsResult(IGetSubmodelsResult that); + + T transformGetSubmodelsValueResult(IGetSubmodelsValueResult that); + + T transformClaimAttribute(IClaimAttribute that); + + T transformGlobalAttribute(IGlobalAttribute that); + + T transformReferenceAttribute(IReferenceAttribute that); + + T transformDateTimeAttributeItem(IDateTimeAttributeItem that); + + T transformFieldOperand(IFieldOperand that); + + T transformStringLiteral(IStringLiteral that); + + T transformAttributeOperand(IAttributeOperand that); + + T transformNumberLiteral(INumberLiteral that); + + T transformHexLiteral(IHexLiteral that); + + T transformDateTimeLiteral(IDateTimeLiteral that); + + T transformTimeLiteral(ITimeLiteral that); + + T transformBooleanLiteral(IBooleanLiteral that); + + T transformStringCast(IStringCast that); + + T transformNumberCast(INumberCast that); + + T transformHexCast(IHexCast that); + + T transformBooleanCast(IBooleanCast that); + + T transformDateTimeCast(IDateTimeCast that); + + T transformTimeCast(ITimeCast that); + + T transformDayOfWeek(IDayOfWeek that); + + T transformDayOfMonth(IDayOfMonth that); + + T transformMonth(IMonth that); + + T transformYear(IYear that); + + T transformDateTimeAttributeOperand(IDateTimeAttributeOperand that); + + T transformEqualComparison(IEqualComparison that); + + T transformNotEqualComparison(INotEqualComparison that); + + T transformGreaterThanComparison(IGreaterThanComparison that); + + T transformGreaterThanOrEqualComparison(IGreaterThanOrEqualComparison that); + + T transformLessThanComparison(ILessThanComparison that); + + T transformLessThanOrEqualComparison(ILessThanOrEqualComparison that); + + T transformContainsComparison(IContainsComparison that); + + T transformStartsWithComparison(IStartsWithComparison that); + + T transformEndsWithComparison(IEndsWithComparison that); + + T transformRegexComparison(IRegexComparison that); + + T transformMatchClause(IMatchClause that); + + T transformAndExpression(IAndExpression that); + + T transformOrExpression(IOrExpression that); + + T transformNotExpression(INotExpression that); + + T transformQueryFilter(IQueryFilter that); + + T transformQuery(IQuery that); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/visitation/ITransformerWithContext.java b/src/main/java/aas_core/aas3_2/visitation/ITransformerWithContext.java new file mode 100644 index 00000000..efeccb78 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/visitation/ITransformerWithContext.java @@ -0,0 +1,336 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.visitation; + +import aas_core.aas3_2.types.model.*; + +/** + * Define the interface for a transformer which recursively transforms the instances into something + * else while the context is passed along. + * + *

When you use the transformer, please always call the main dispatching method {@link + * ITransformerWithContext#transform}. You should most probably never call the {@code transform} + * methods directly. They are only made public so that model classes can access them. + * + * @param structure of the context + * @param type of the transformation result + */ +public interface ITransformerWithContext { + T transform(IClass that, ContextT context); + + T transformExtension(IExtension that, ContextT context); + + T transformAdministrativeInformation(IAdministrativeInformation that, ContextT context); + + T transformQualifier(IQualifier that, ContextT context); + + T transformAssetAdministrationShell(IAssetAdministrationShell that, ContextT context); + + T transformAssetInformation(IAssetInformation that, ContextT context); + + T transformResource(IResource that, ContextT context); + + T transformSpecificAssetId(ISpecificAssetId that, ContextT context); + + T transformSubmodel(ISubmodel that, ContextT context); + + T transformRelationshipElement(IRelationshipElement that, ContextT context); + + T transformSubmodelElementList(ISubmodelElementList that, ContextT context); + + T transformSubmodelElementCollection(ISubmodelElementCollection that, ContextT context); + + T transformProperty(IProperty that, ContextT context); + + T transformMultiLanguageProperty(IMultiLanguageProperty that, ContextT context); + + T transformRange(IRange that, ContextT context); + + T transformReferenceElement(IReferenceElement that, ContextT context); + + T transformBlob(IBlob that, ContextT context); + + T transformFile(IFile that, ContextT context); + + T transformAnnotatedRelationshipElement(IAnnotatedRelationshipElement that, ContextT context); + + T transformEntity(IEntity that, ContextT context); + + T transformEventPayload(IEventPayload that, ContextT context); + + T transformBasicEventElement(IBasicEventElement that, ContextT context); + + T transformOperation(IOperation that, ContextT context); + + T transformOperationVariable(IOperationVariable that, ContextT context); + + T transformCapability(ICapability that, ContextT context); + + T transformConceptDescription(IConceptDescription that, ContextT context); + + T transformReference(IReference that, ContextT context); + + T transformKey(IKey that, ContextT context); + + T transformLangStringNameType(ILangStringNameType that, ContextT context); + + T transformLangStringTextType(ILangStringTextType that, ContextT context); + + T transformEnvironment(IEnvironment that, ContextT context); + + T transformEmbeddedDataSpecification(IEmbeddedDataSpecification that, ContextT context); + + T transformLevelType(ILevelType that, ContextT context); + + T transformValueReferencePair(IValueReferencePair that, ContextT context); + + T transformValueList(IValueList that, ContextT context); + + T transformLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that, ContextT context); + + T transformLangStringShortNameTypeIec61360( + ILangStringShortNameTypeIec61360 that, ContextT context); + + T transformLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that, ContextT context); + + T transformLangStringUom(ILangStringUom that, ContextT context); + + T transformDefinitionTypeUom(IDefinitionTypeUom that, ContextT context); + + T transformDataSpecificationUom(IDataSpecificationUom that, ContextT context); + + T transformDataSpecificationIec61360(IDataSpecificationIec61360 that, ContextT context); + + T transformAssetAdministrationShellDescriptor( + IAssetAdministrationShellDescriptor that, ContextT context); + + T transformSubmodelDescriptor(ISubmodelDescriptor that, ContextT context); + + T transformEndpoint(IEndpoint that, ContextT context); + + T transformProtocolInformation(IProtocolInformation that, ContextT context); + + T transformSecurityAttributeObject(ISecurityAttributeObject that, ContextT context); + + T transformAssetLink(IAssetLink that, ContextT context); + + T transformServiceDescription(IServiceDescription that, ContextT context); + + T transformAssetAdministrationShellRecentChange( + IAssetAdministrationShellRecentChange that, ContextT context); + + T transformConceptDescriptionRecentChange(IConceptDescriptionRecentChange that, ContextT context); + + T transformSubmodelRecentChange(ISubmodelRecentChange that, ContextT context); + + T transformResult(IResult that, ContextT context); + + T transformMessage(IMessage that, ContextT context); + + T transformOperationRequest(IOperationRequest that, ContextT context); + + T transformOperationRequestAsync(IOperationRequestAsync that, ContextT context); + + T transformOperationRequestValueOnly(IOperationRequestValueOnly that, ContextT context); + + T transformOperationRequestAsyncValueOnly(IOperationRequestAsyncValueOnly that, ContextT context); + + T transformBaseOperationResult(IBaseOperationResult that, ContextT context); + + T transformOperationResult(IOperationResult that, ContextT context); + + T transformOperationResultValueOnly(IOperationResultValueOnly that, ContextT context); + + T transformOperationHandle(IOperationHandle that, ContextT context); + + T transformPagedResult(IPagedResult that, ContextT context); + + T transformPagingMetadata(IPagingMetadata that, ContextT context); + + T transformPackageDescription(IPackageDescription that, ContextT context); + + T transformPropertyMetadata(IPropertyMetadata that, ContextT context); + + T transformRangeMetadata(IRangeMetadata that, ContextT context); + + T transformBlobMetadata(IBlobMetadata that, ContextT context); + + T transformFileMetadata(IFileMetadata that, ContextT context); + + T transformMultiLanguagePropertyMetadata(IMultiLanguagePropertyMetadata that, ContextT context); + + T transformReferenceElementMetadata(IReferenceElementMetadata that, ContextT context); + + T transformRelationshipElementMetadata(IRelationshipElementMetadata that, ContextT context); + + T transformAnnotatedRelationshipElementMetadata( + IAnnotatedRelationshipElementMetadata that, ContextT context); + + T transformEntityMetadata(IEntityMetadata that, ContextT context); + + T transformCapabilityMetadata(ICapabilityMetadata that, ContextT context); + + T transformOperationMetadata(IOperationMetadata that, ContextT context); + + T transformSubmodelElementCollectionMetadata( + ISubmodelElementCollectionMetadata that, ContextT context); + + T transformBasicEventElementMetadata(IBasicEventElementMetadata that, ContextT context); + + T transformSubmodelElementListMetadata(ISubmodelElementListMetadata that, ContextT context); + + T transformSubmodelMetadata(ISubmodelMetadata that, ContextT context); + + T transformAssetAdministrationShellMetadata( + IAssetAdministrationShellMetadata that, ContextT context); + + T transformReferenceElementValue(IReferenceElementValue that, ContextT context); + + T transformBlobValue(IBlobValue that, ContextT context); + + T transformFileValue(IFileValue that, ContextT context); + + T transformRangeValue(IRangeValue that, ContextT context); + + T transformRelationshipElementValue(IRelationshipElementValue that, ContextT context); + + T transformBasicEventElementValue(IBasicEventElementValue that, ContextT context); + + T transformAnnotatedRelationshipElementValue( + IAnnotatedRelationshipElementValue that, ContextT context); + + T transformEntityValue(IEntityValue that, ContextT context); + + T transformGetAssetAdministrationShellsResult( + IGetAssetAdministrationShellsResult that, ContextT context); + + T transformGetAssetAdministrationShellsMetadataResult( + IGetAssetAdministrationShellsMetadataResult that, ContextT context); + + T transformGetAllAssetAdministrationShellsRecentChangesResult( + IGetAllAssetAdministrationShellsRecentChangesResult that, ContextT context); + + T transformGetAssetAdministrationShellDescriptorsResult( + IGetAssetAdministrationShellDescriptorsResult that, ContextT context); + + T transformGetConceptDescriptionsResult(IGetConceptDescriptionsResult that, ContextT context); + + T transformGetAllConceptDescriptionsRecentChangesResult( + IGetAllConceptDescriptionsRecentChangesResult that, ContextT context); + + T transformGetPackageDescriptionsResult(IGetPackageDescriptionsResult that, ContextT context); + + T transformGetPathItemsResult(IGetPathItemsResult that, ContextT context); + + T transformGetReferencesResult(IGetReferencesResult that, ContextT context); + + T transformGetSubmodelDescriptorsResult(IGetSubmodelDescriptorsResult that, ContextT context); + + T transformGetSubmodelElementsMetadataResult( + IGetSubmodelElementsMetadataResult that, ContextT context); + + T transformGetSubmodelElementsResult(IGetSubmodelElementsResult that, ContextT context); + + T transformGetSubmodelElementsValueResult(IGetSubmodelElementsValueResult that, ContextT context); + + T transformGetAllSubmodelsRecentChangesResult( + IGetAllSubmodelsRecentChangesResult that, ContextT context); + + T transformGetSubmodelsMetadataResult(IGetSubmodelsMetadataResult that, ContextT context); + + T transformGetSubmodelsResult(IGetSubmodelsResult that, ContextT context); + + T transformGetSubmodelsValueResult(IGetSubmodelsValueResult that, ContextT context); + + T transformClaimAttribute(IClaimAttribute that, ContextT context); + + T transformGlobalAttribute(IGlobalAttribute that, ContextT context); + + T transformReferenceAttribute(IReferenceAttribute that, ContextT context); + + T transformDateTimeAttributeItem(IDateTimeAttributeItem that, ContextT context); + + T transformFieldOperand(IFieldOperand that, ContextT context); + + T transformStringLiteral(IStringLiteral that, ContextT context); + + T transformAttributeOperand(IAttributeOperand that, ContextT context); + + T transformNumberLiteral(INumberLiteral that, ContextT context); + + T transformHexLiteral(IHexLiteral that, ContextT context); + + T transformDateTimeLiteral(IDateTimeLiteral that, ContextT context); + + T transformTimeLiteral(ITimeLiteral that, ContextT context); + + T transformBooleanLiteral(IBooleanLiteral that, ContextT context); + + T transformStringCast(IStringCast that, ContextT context); + + T transformNumberCast(INumberCast that, ContextT context); + + T transformHexCast(IHexCast that, ContextT context); + + T transformBooleanCast(IBooleanCast that, ContextT context); + + T transformDateTimeCast(IDateTimeCast that, ContextT context); + + T transformTimeCast(ITimeCast that, ContextT context); + + T transformDayOfWeek(IDayOfWeek that, ContextT context); + + T transformDayOfMonth(IDayOfMonth that, ContextT context); + + T transformMonth(IMonth that, ContextT context); + + T transformYear(IYear that, ContextT context); + + T transformDateTimeAttributeOperand(IDateTimeAttributeOperand that, ContextT context); + + T transformEqualComparison(IEqualComparison that, ContextT context); + + T transformNotEqualComparison(INotEqualComparison that, ContextT context); + + T transformGreaterThanComparison(IGreaterThanComparison that, ContextT context); + + T transformGreaterThanOrEqualComparison(IGreaterThanOrEqualComparison that, ContextT context); + + T transformLessThanComparison(ILessThanComparison that, ContextT context); + + T transformLessThanOrEqualComparison(ILessThanOrEqualComparison that, ContextT context); + + T transformContainsComparison(IContainsComparison that, ContextT context); + + T transformStartsWithComparison(IStartsWithComparison that, ContextT context); + + T transformEndsWithComparison(IEndsWithComparison that, ContextT context); + + T transformRegexComparison(IRegexComparison that, ContextT context); + + T transformMatchClause(IMatchClause that, ContextT context); + + T transformAndExpression(IAndExpression that, ContextT context); + + T transformOrExpression(IOrExpression that, ContextT context); + + T transformNotExpression(INotExpression that, ContextT context); + + T transformQueryFilter(IQueryFilter that, ContextT context); + + T transformQuery(IQuery that, ContextT context); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/visitation/IVisitor.java b/src/main/java/aas_core/aas3_2/visitation/IVisitor.java new file mode 100644 index 00000000..6219ae5c --- /dev/null +++ b/src/main/java/aas_core/aas3_2/visitation/IVisitor.java @@ -0,0 +1,320 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.visitation; + +import aas_core.aas3_2.types.model.*; + +/** + * Define the interface for a visitor which visits the instances of the model. + * + *

When you use the visitor, please always call the main dispatching method {@link + * IVisitor#visit}. You should most probably never call the {@code visit*} methods directly. They + * are only made public so that model classes can access them. + */ +public interface IVisitor { + void visit(IClass that); + + void visitExtension(IExtension that); + + void visitAdministrativeInformation(IAdministrativeInformation that); + + void visitQualifier(IQualifier that); + + void visitAssetAdministrationShell(IAssetAdministrationShell that); + + void visitAssetInformation(IAssetInformation that); + + void visitResource(IResource that); + + void visitSpecificAssetId(ISpecificAssetId that); + + void visitSubmodel(ISubmodel that); + + void visitRelationshipElement(IRelationshipElement that); + + void visitSubmodelElementList(ISubmodelElementList that); + + void visitSubmodelElementCollection(ISubmodelElementCollection that); + + void visitProperty(IProperty that); + + void visitMultiLanguageProperty(IMultiLanguageProperty that); + + void visitRange(IRange that); + + void visitReferenceElement(IReferenceElement that); + + void visitBlob(IBlob that); + + void visitFile(IFile that); + + void visitAnnotatedRelationshipElement(IAnnotatedRelationshipElement that); + + void visitEntity(IEntity that); + + void visitEventPayload(IEventPayload that); + + void visitBasicEventElement(IBasicEventElement that); + + void visitOperation(IOperation that); + + void visitOperationVariable(IOperationVariable that); + + void visitCapability(ICapability that); + + void visitConceptDescription(IConceptDescription that); + + void visitReference(IReference that); + + void visitKey(IKey that); + + void visitLangStringNameType(ILangStringNameType that); + + void visitLangStringTextType(ILangStringTextType that); + + void visitEnvironment(IEnvironment that); + + void visitEmbeddedDataSpecification(IEmbeddedDataSpecification that); + + void visitLevelType(ILevelType that); + + void visitValueReferencePair(IValueReferencePair that); + + void visitValueList(IValueList that); + + void visitLangStringPreferredNameTypeIec61360(ILangStringPreferredNameTypeIec61360 that); + + void visitLangStringShortNameTypeIec61360(ILangStringShortNameTypeIec61360 that); + + void visitLangStringDefinitionTypeIec61360(ILangStringDefinitionTypeIec61360 that); + + void visitLangStringUom(ILangStringUom that); + + void visitDefinitionTypeUom(IDefinitionTypeUom that); + + void visitDataSpecificationUom(IDataSpecificationUom that); + + void visitDataSpecificationIec61360(IDataSpecificationIec61360 that); + + void visitAssetAdministrationShellDescriptor(IAssetAdministrationShellDescriptor that); + + void visitSubmodelDescriptor(ISubmodelDescriptor that); + + void visitEndpoint(IEndpoint that); + + void visitProtocolInformation(IProtocolInformation that); + + void visitSecurityAttributeObject(ISecurityAttributeObject that); + + void visitAssetLink(IAssetLink that); + + void visitServiceDescription(IServiceDescription that); + + void visitAssetAdministrationShellRecentChange(IAssetAdministrationShellRecentChange that); + + void visitConceptDescriptionRecentChange(IConceptDescriptionRecentChange that); + + void visitSubmodelRecentChange(ISubmodelRecentChange that); + + void visitResult(IResult that); + + void visitMessage(IMessage that); + + void visitOperationRequest(IOperationRequest that); + + void visitOperationRequestAsync(IOperationRequestAsync that); + + void visitOperationRequestValueOnly(IOperationRequestValueOnly that); + + void visitOperationRequestAsyncValueOnly(IOperationRequestAsyncValueOnly that); + + void visitBaseOperationResult(IBaseOperationResult that); + + void visitOperationResult(IOperationResult that); + + void visitOperationResultValueOnly(IOperationResultValueOnly that); + + void visitOperationHandle(IOperationHandle that); + + void visitPagedResult(IPagedResult that); + + void visitPagingMetadata(IPagingMetadata that); + + void visitPackageDescription(IPackageDescription that); + + void visitPropertyMetadata(IPropertyMetadata that); + + void visitRangeMetadata(IRangeMetadata that); + + void visitBlobMetadata(IBlobMetadata that); + + void visitFileMetadata(IFileMetadata that); + + void visitMultiLanguagePropertyMetadata(IMultiLanguagePropertyMetadata that); + + void visitReferenceElementMetadata(IReferenceElementMetadata that); + + void visitRelationshipElementMetadata(IRelationshipElementMetadata that); + + void visitAnnotatedRelationshipElementMetadata(IAnnotatedRelationshipElementMetadata that); + + void visitEntityMetadata(IEntityMetadata that); + + void visitCapabilityMetadata(ICapabilityMetadata that); + + void visitOperationMetadata(IOperationMetadata that); + + void visitSubmodelElementCollectionMetadata(ISubmodelElementCollectionMetadata that); + + void visitBasicEventElementMetadata(IBasicEventElementMetadata that); + + void visitSubmodelElementListMetadata(ISubmodelElementListMetadata that); + + void visitSubmodelMetadata(ISubmodelMetadata that); + + void visitAssetAdministrationShellMetadata(IAssetAdministrationShellMetadata that); + + void visitReferenceElementValue(IReferenceElementValue that); + + void visitBlobValue(IBlobValue that); + + void visitFileValue(IFileValue that); + + void visitRangeValue(IRangeValue that); + + void visitRelationshipElementValue(IRelationshipElementValue that); + + void visitBasicEventElementValue(IBasicEventElementValue that); + + void visitAnnotatedRelationshipElementValue(IAnnotatedRelationshipElementValue that); + + void visitEntityValue(IEntityValue that); + + void visitGetAssetAdministrationShellsResult(IGetAssetAdministrationShellsResult that); + + void visitGetAssetAdministrationShellsMetadataResult( + IGetAssetAdministrationShellsMetadataResult that); + + void visitGetAllAssetAdministrationShellsRecentChangesResult( + IGetAllAssetAdministrationShellsRecentChangesResult that); + + void visitGetAssetAdministrationShellDescriptorsResult( + IGetAssetAdministrationShellDescriptorsResult that); + + void visitGetConceptDescriptionsResult(IGetConceptDescriptionsResult that); + + void visitGetAllConceptDescriptionsRecentChangesResult( + IGetAllConceptDescriptionsRecentChangesResult that); + + void visitGetPackageDescriptionsResult(IGetPackageDescriptionsResult that); + + void visitGetPathItemsResult(IGetPathItemsResult that); + + void visitGetReferencesResult(IGetReferencesResult that); + + void visitGetSubmodelDescriptorsResult(IGetSubmodelDescriptorsResult that); + + void visitGetSubmodelElementsMetadataResult(IGetSubmodelElementsMetadataResult that); + + void visitGetSubmodelElementsResult(IGetSubmodelElementsResult that); + + void visitGetSubmodelElementsValueResult(IGetSubmodelElementsValueResult that); + + void visitGetAllSubmodelsRecentChangesResult(IGetAllSubmodelsRecentChangesResult that); + + void visitGetSubmodelsMetadataResult(IGetSubmodelsMetadataResult that); + + void visitGetSubmodelsResult(IGetSubmodelsResult that); + + void visitGetSubmodelsValueResult(IGetSubmodelsValueResult that); + + void visitClaimAttribute(IClaimAttribute that); + + void visitGlobalAttribute(IGlobalAttribute that); + + void visitReferenceAttribute(IReferenceAttribute that); + + void visitDateTimeAttributeItem(IDateTimeAttributeItem that); + + void visitFieldOperand(IFieldOperand that); + + void visitStringLiteral(IStringLiteral that); + + void visitAttributeOperand(IAttributeOperand that); + + void visitNumberLiteral(INumberLiteral that); + + void visitHexLiteral(IHexLiteral that); + + void visitDateTimeLiteral(IDateTimeLiteral that); + + void visitTimeLiteral(ITimeLiteral that); + + void visitBooleanLiteral(IBooleanLiteral that); + + void visitStringCast(IStringCast that); + + void visitNumberCast(INumberCast that); + + void visitHexCast(IHexCast that); + + void visitBooleanCast(IBooleanCast that); + + void visitDateTimeCast(IDateTimeCast that); + + void visitTimeCast(ITimeCast that); + + void visitDayOfWeek(IDayOfWeek that); + + void visitDayOfMonth(IDayOfMonth that); + + void visitMonth(IMonth that); + + void visitYear(IYear that); + + void visitDateTimeAttributeOperand(IDateTimeAttributeOperand that); + + void visitEqualComparison(IEqualComparison that); + + void visitNotEqualComparison(INotEqualComparison that); + + void visitGreaterThanComparison(IGreaterThanComparison that); + + void visitGreaterThanOrEqualComparison(IGreaterThanOrEqualComparison that); + + void visitLessThanComparison(ILessThanComparison that); + + void visitLessThanOrEqualComparison(ILessThanOrEqualComparison that); + + void visitContainsComparison(IContainsComparison that); + + void visitStartsWithComparison(IStartsWithComparison that); + + void visitEndsWithComparison(IEndsWithComparison that); + + void visitRegexComparison(IRegexComparison that); + + void visitMatchClause(IMatchClause that); + + void visitAndExpression(IAndExpression that); + + void visitOrExpression(IOrExpression that); + + void visitNotExpression(INotExpression that); + + void visitQueryFilter(IQueryFilter that); + + void visitQuery(IQuery that); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/visitation/IVisitorWithContext.java b/src/main/java/aas_core/aas3_2/visitation/IVisitorWithContext.java new file mode 100644 index 00000000..91573a11 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/visitation/IVisitorWithContext.java @@ -0,0 +1,334 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.visitation; + +import aas_core.aas3_2.types.model.*; + +/** + * Define the interface for a visitor which visits the instances of the model. + * + *

When you use the visitor, please always call the main dispatching method {@link + * IVisitorWithContext#visit}. You should most probably never call the {@code visit} methods + * directly. They are only made public so that model classes can access them. + * + * @param structure of the context + */ +public interface IVisitorWithContext { + void visit(IClass that, ContextT context); + + void visitExtension(IExtension that, ContextT context); + + void visitAdministrativeInformation(IAdministrativeInformation that, ContextT context); + + void visitQualifier(IQualifier that, ContextT context); + + void visitAssetAdministrationShell(IAssetAdministrationShell that, ContextT context); + + void visitAssetInformation(IAssetInformation that, ContextT context); + + void visitResource(IResource that, ContextT context); + + void visitSpecificAssetId(ISpecificAssetId that, ContextT context); + + void visitSubmodel(ISubmodel that, ContextT context); + + void visitRelationshipElement(IRelationshipElement that, ContextT context); + + void visitSubmodelElementList(ISubmodelElementList that, ContextT context); + + void visitSubmodelElementCollection(ISubmodelElementCollection that, ContextT context); + + void visitProperty(IProperty that, ContextT context); + + void visitMultiLanguageProperty(IMultiLanguageProperty that, ContextT context); + + void visitRange(IRange that, ContextT context); + + void visitReferenceElement(IReferenceElement that, ContextT context); + + void visitBlob(IBlob that, ContextT context); + + void visitFile(IFile that, ContextT context); + + void visitAnnotatedRelationshipElement(IAnnotatedRelationshipElement that, ContextT context); + + void visitEntity(IEntity that, ContextT context); + + void visitEventPayload(IEventPayload that, ContextT context); + + void visitBasicEventElement(IBasicEventElement that, ContextT context); + + void visitOperation(IOperation that, ContextT context); + + void visitOperationVariable(IOperationVariable that, ContextT context); + + void visitCapability(ICapability that, ContextT context); + + void visitConceptDescription(IConceptDescription that, ContextT context); + + void visitReference(IReference that, ContextT context); + + void visitKey(IKey that, ContextT context); + + void visitLangStringNameType(ILangStringNameType that, ContextT context); + + void visitLangStringTextType(ILangStringTextType that, ContextT context); + + void visitEnvironment(IEnvironment that, ContextT context); + + void visitEmbeddedDataSpecification(IEmbeddedDataSpecification that, ContextT context); + + void visitLevelType(ILevelType that, ContextT context); + + void visitValueReferencePair(IValueReferencePair that, ContextT context); + + void visitValueList(IValueList that, ContextT context); + + void visitLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that, ContextT context); + + void visitLangStringShortNameTypeIec61360( + ILangStringShortNameTypeIec61360 that, ContextT context); + + void visitLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that, ContextT context); + + void visitLangStringUom(ILangStringUom that, ContextT context); + + void visitDefinitionTypeUom(IDefinitionTypeUom that, ContextT context); + + void visitDataSpecificationUom(IDataSpecificationUom that, ContextT context); + + void visitDataSpecificationIec61360(IDataSpecificationIec61360 that, ContextT context); + + void visitAssetAdministrationShellDescriptor( + IAssetAdministrationShellDescriptor that, ContextT context); + + void visitSubmodelDescriptor(ISubmodelDescriptor that, ContextT context); + + void visitEndpoint(IEndpoint that, ContextT context); + + void visitProtocolInformation(IProtocolInformation that, ContextT context); + + void visitSecurityAttributeObject(ISecurityAttributeObject that, ContextT context); + + void visitAssetLink(IAssetLink that, ContextT context); + + void visitServiceDescription(IServiceDescription that, ContextT context); + + void visitAssetAdministrationShellRecentChange( + IAssetAdministrationShellRecentChange that, ContextT context); + + void visitConceptDescriptionRecentChange(IConceptDescriptionRecentChange that, ContextT context); + + void visitSubmodelRecentChange(ISubmodelRecentChange that, ContextT context); + + void visitResult(IResult that, ContextT context); + + void visitMessage(IMessage that, ContextT context); + + void visitOperationRequest(IOperationRequest that, ContextT context); + + void visitOperationRequestAsync(IOperationRequestAsync that, ContextT context); + + void visitOperationRequestValueOnly(IOperationRequestValueOnly that, ContextT context); + + void visitOperationRequestAsyncValueOnly(IOperationRequestAsyncValueOnly that, ContextT context); + + void visitBaseOperationResult(IBaseOperationResult that, ContextT context); + + void visitOperationResult(IOperationResult that, ContextT context); + + void visitOperationResultValueOnly(IOperationResultValueOnly that, ContextT context); + + void visitOperationHandle(IOperationHandle that, ContextT context); + + void visitPagedResult(IPagedResult that, ContextT context); + + void visitPagingMetadata(IPagingMetadata that, ContextT context); + + void visitPackageDescription(IPackageDescription that, ContextT context); + + void visitPropertyMetadata(IPropertyMetadata that, ContextT context); + + void visitRangeMetadata(IRangeMetadata that, ContextT context); + + void visitBlobMetadata(IBlobMetadata that, ContextT context); + + void visitFileMetadata(IFileMetadata that, ContextT context); + + void visitMultiLanguagePropertyMetadata(IMultiLanguagePropertyMetadata that, ContextT context); + + void visitReferenceElementMetadata(IReferenceElementMetadata that, ContextT context); + + void visitRelationshipElementMetadata(IRelationshipElementMetadata that, ContextT context); + + void visitAnnotatedRelationshipElementMetadata( + IAnnotatedRelationshipElementMetadata that, ContextT context); + + void visitEntityMetadata(IEntityMetadata that, ContextT context); + + void visitCapabilityMetadata(ICapabilityMetadata that, ContextT context); + + void visitOperationMetadata(IOperationMetadata that, ContextT context); + + void visitSubmodelElementCollectionMetadata( + ISubmodelElementCollectionMetadata that, ContextT context); + + void visitBasicEventElementMetadata(IBasicEventElementMetadata that, ContextT context); + + void visitSubmodelElementListMetadata(ISubmodelElementListMetadata that, ContextT context); + + void visitSubmodelMetadata(ISubmodelMetadata that, ContextT context); + + void visitAssetAdministrationShellMetadata( + IAssetAdministrationShellMetadata that, ContextT context); + + void visitReferenceElementValue(IReferenceElementValue that, ContextT context); + + void visitBlobValue(IBlobValue that, ContextT context); + + void visitFileValue(IFileValue that, ContextT context); + + void visitRangeValue(IRangeValue that, ContextT context); + + void visitRelationshipElementValue(IRelationshipElementValue that, ContextT context); + + void visitBasicEventElementValue(IBasicEventElementValue that, ContextT context); + + void visitAnnotatedRelationshipElementValue( + IAnnotatedRelationshipElementValue that, ContextT context); + + void visitEntityValue(IEntityValue that, ContextT context); + + void visitGetAssetAdministrationShellsResult( + IGetAssetAdministrationShellsResult that, ContextT context); + + void visitGetAssetAdministrationShellsMetadataResult( + IGetAssetAdministrationShellsMetadataResult that, ContextT context); + + void visitGetAllAssetAdministrationShellsRecentChangesResult( + IGetAllAssetAdministrationShellsRecentChangesResult that, ContextT context); + + void visitGetAssetAdministrationShellDescriptorsResult( + IGetAssetAdministrationShellDescriptorsResult that, ContextT context); + + void visitGetConceptDescriptionsResult(IGetConceptDescriptionsResult that, ContextT context); + + void visitGetAllConceptDescriptionsRecentChangesResult( + IGetAllConceptDescriptionsRecentChangesResult that, ContextT context); + + void visitGetPackageDescriptionsResult(IGetPackageDescriptionsResult that, ContextT context); + + void visitGetPathItemsResult(IGetPathItemsResult that, ContextT context); + + void visitGetReferencesResult(IGetReferencesResult that, ContextT context); + + void visitGetSubmodelDescriptorsResult(IGetSubmodelDescriptorsResult that, ContextT context); + + void visitGetSubmodelElementsMetadataResult( + IGetSubmodelElementsMetadataResult that, ContextT context); + + void visitGetSubmodelElementsResult(IGetSubmodelElementsResult that, ContextT context); + + void visitGetSubmodelElementsValueResult(IGetSubmodelElementsValueResult that, ContextT context); + + void visitGetAllSubmodelsRecentChangesResult( + IGetAllSubmodelsRecentChangesResult that, ContextT context); + + void visitGetSubmodelsMetadataResult(IGetSubmodelsMetadataResult that, ContextT context); + + void visitGetSubmodelsResult(IGetSubmodelsResult that, ContextT context); + + void visitGetSubmodelsValueResult(IGetSubmodelsValueResult that, ContextT context); + + void visitClaimAttribute(IClaimAttribute that, ContextT context); + + void visitGlobalAttribute(IGlobalAttribute that, ContextT context); + + void visitReferenceAttribute(IReferenceAttribute that, ContextT context); + + void visitDateTimeAttributeItem(IDateTimeAttributeItem that, ContextT context); + + void visitFieldOperand(IFieldOperand that, ContextT context); + + void visitStringLiteral(IStringLiteral that, ContextT context); + + void visitAttributeOperand(IAttributeOperand that, ContextT context); + + void visitNumberLiteral(INumberLiteral that, ContextT context); + + void visitHexLiteral(IHexLiteral that, ContextT context); + + void visitDateTimeLiteral(IDateTimeLiteral that, ContextT context); + + void visitTimeLiteral(ITimeLiteral that, ContextT context); + + void visitBooleanLiteral(IBooleanLiteral that, ContextT context); + + void visitStringCast(IStringCast that, ContextT context); + + void visitNumberCast(INumberCast that, ContextT context); + + void visitHexCast(IHexCast that, ContextT context); + + void visitBooleanCast(IBooleanCast that, ContextT context); + + void visitDateTimeCast(IDateTimeCast that, ContextT context); + + void visitTimeCast(ITimeCast that, ContextT context); + + void visitDayOfWeek(IDayOfWeek that, ContextT context); + + void visitDayOfMonth(IDayOfMonth that, ContextT context); + + void visitMonth(IMonth that, ContextT context); + + void visitYear(IYear that, ContextT context); + + void visitDateTimeAttributeOperand(IDateTimeAttributeOperand that, ContextT context); + + void visitEqualComparison(IEqualComparison that, ContextT context); + + void visitNotEqualComparison(INotEqualComparison that, ContextT context); + + void visitGreaterThanComparison(IGreaterThanComparison that, ContextT context); + + void visitGreaterThanOrEqualComparison(IGreaterThanOrEqualComparison that, ContextT context); + + void visitLessThanComparison(ILessThanComparison that, ContextT context); + + void visitLessThanOrEqualComparison(ILessThanOrEqualComparison that, ContextT context); + + void visitContainsComparison(IContainsComparison that, ContextT context); + + void visitStartsWithComparison(IStartsWithComparison that, ContextT context); + + void visitEndsWithComparison(IEndsWithComparison that, ContextT context); + + void visitRegexComparison(IRegexComparison that, ContextT context); + + void visitMatchClause(IMatchClause that, ContextT context); + + void visitAndExpression(IAndExpression that, ContextT context); + + void visitOrExpression(IOrExpression that, ContextT context); + + void visitNotExpression(INotExpression that, ContextT context); + + void visitQueryFilter(IQueryFilter that, ContextT context); + + void visitQuery(IQuery that, ContextT context); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/visitation/VisitorThrough.java b/src/main/java/aas_core/aas3_2/visitation/VisitorThrough.java new file mode 100644 index 00000000..39bf066a --- /dev/null +++ b/src/main/java/aas_core/aas3_2/visitation/VisitorThrough.java @@ -0,0 +1,1043 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.visitation; + +import aas_core.aas3_2.types.model.*; + +/** + * Just descend through the instances without any action. + * + *

This class is meaningless for itself. However, it is a good base if you want to descend + * through instances and apply actions only on a subset of classes. + */ +public class VisitorThrough implements IVisitor { + public void visit(IClass that) { + that.accept(this); + } + + public void visitExtension(IExtension that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitAdministrativeInformation(IAdministrativeInformation that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitQualifier(IQualifier that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitAssetAdministrationShell(IAssetAdministrationShell that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitAssetInformation(IAssetInformation that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitResource(IResource that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitSpecificAssetId(ISpecificAssetId that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitSubmodel(ISubmodel that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitRelationshipElement(IRelationshipElement that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitSubmodelElementList(ISubmodelElementList that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitSubmodelElementCollection(ISubmodelElementCollection that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitProperty(IProperty that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitMultiLanguageProperty(IMultiLanguageProperty that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitRange(IRange that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitReferenceElement(IReferenceElement that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitBlob(IBlob that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitFile(IFile that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitAnnotatedRelationshipElement(IAnnotatedRelationshipElement that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitEntity(IEntity that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitEventPayload(IEventPayload that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitBasicEventElement(IBasicEventElement that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitOperation(IOperation that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitOperationVariable(IOperationVariable that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitCapability(ICapability that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitConceptDescription(IConceptDescription that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitReference(IReference that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitKey(IKey that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitLangStringNameType(ILangStringNameType that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitLangStringTextType(ILangStringTextType that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitEnvironment(IEnvironment that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitEmbeddedDataSpecification(IEmbeddedDataSpecification that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitLevelType(ILevelType that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitValueReferencePair(IValueReferencePair that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitValueList(IValueList that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitLangStringPreferredNameTypeIec61360(ILangStringPreferredNameTypeIec61360 that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitLangStringShortNameTypeIec61360(ILangStringShortNameTypeIec61360 that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitLangStringDefinitionTypeIec61360(ILangStringDefinitionTypeIec61360 that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitLangStringUom(ILangStringUom that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitDefinitionTypeUom(IDefinitionTypeUom that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitDataSpecificationUom(IDataSpecificationUom that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitDataSpecificationIec61360(IDataSpecificationIec61360 that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitAssetAdministrationShellDescriptor(IAssetAdministrationShellDescriptor that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitSubmodelDescriptor(ISubmodelDescriptor that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitEndpoint(IEndpoint that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitProtocolInformation(IProtocolInformation that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitSecurityAttributeObject(ISecurityAttributeObject that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitAssetLink(IAssetLink that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitServiceDescription(IServiceDescription that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitAssetAdministrationShellRecentChange( + IAssetAdministrationShellRecentChange that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitConceptDescriptionRecentChange(IConceptDescriptionRecentChange that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitSubmodelRecentChange(ISubmodelRecentChange that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitResult(IResult that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitMessage(IMessage that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitOperationRequest(IOperationRequest that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitOperationRequestAsync(IOperationRequestAsync that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitOperationRequestValueOnly(IOperationRequestValueOnly that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitOperationRequestAsyncValueOnly(IOperationRequestAsyncValueOnly that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitBaseOperationResult(IBaseOperationResult that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitOperationResult(IOperationResult that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitOperationResultValueOnly(IOperationResultValueOnly that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitOperationHandle(IOperationHandle that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitPagedResult(IPagedResult that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitPagingMetadata(IPagingMetadata that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitPackageDescription(IPackageDescription that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitPropertyMetadata(IPropertyMetadata that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitRangeMetadata(IRangeMetadata that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitBlobMetadata(IBlobMetadata that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitFileMetadata(IFileMetadata that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitMultiLanguagePropertyMetadata(IMultiLanguagePropertyMetadata that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitReferenceElementMetadata(IReferenceElementMetadata that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitRelationshipElementMetadata(IRelationshipElementMetadata that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitAnnotatedRelationshipElementMetadata( + IAnnotatedRelationshipElementMetadata that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitEntityMetadata(IEntityMetadata that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitCapabilityMetadata(ICapabilityMetadata that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitOperationMetadata(IOperationMetadata that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitSubmodelElementCollectionMetadata(ISubmodelElementCollectionMetadata that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitBasicEventElementMetadata(IBasicEventElementMetadata that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitSubmodelElementListMetadata(ISubmodelElementListMetadata that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitSubmodelMetadata(ISubmodelMetadata that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitAssetAdministrationShellMetadata(IAssetAdministrationShellMetadata that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitReferenceElementValue(IReferenceElementValue that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitBlobValue(IBlobValue that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitFileValue(IFileValue that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitRangeValue(IRangeValue that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitRelationshipElementValue(IRelationshipElementValue that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitBasicEventElementValue(IBasicEventElementValue that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitAnnotatedRelationshipElementValue(IAnnotatedRelationshipElementValue that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitEntityValue(IEntityValue that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitGetAssetAdministrationShellsResult(IGetAssetAdministrationShellsResult that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitGetAssetAdministrationShellsMetadataResult( + IGetAssetAdministrationShellsMetadataResult that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitGetAllAssetAdministrationShellsRecentChangesResult( + IGetAllAssetAdministrationShellsRecentChangesResult that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitGetAssetAdministrationShellDescriptorsResult( + IGetAssetAdministrationShellDescriptorsResult that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitGetConceptDescriptionsResult(IGetConceptDescriptionsResult that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitGetAllConceptDescriptionsRecentChangesResult( + IGetAllConceptDescriptionsRecentChangesResult that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitGetPackageDescriptionsResult(IGetPackageDescriptionsResult that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitGetPathItemsResult(IGetPathItemsResult that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitGetReferencesResult(IGetReferencesResult that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitGetSubmodelDescriptorsResult(IGetSubmodelDescriptorsResult that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitGetSubmodelElementsMetadataResult(IGetSubmodelElementsMetadataResult that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitGetSubmodelElementsResult(IGetSubmodelElementsResult that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitGetSubmodelElementsValueResult(IGetSubmodelElementsValueResult that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitGetAllSubmodelsRecentChangesResult(IGetAllSubmodelsRecentChangesResult that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitGetSubmodelsMetadataResult(IGetSubmodelsMetadataResult that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitGetSubmodelsResult(IGetSubmodelsResult that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitGetSubmodelsValueResult(IGetSubmodelsValueResult that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitClaimAttribute(IClaimAttribute that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitGlobalAttribute(IGlobalAttribute that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitReferenceAttribute(IReferenceAttribute that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitDateTimeAttributeItem(IDateTimeAttributeItem that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitFieldOperand(IFieldOperand that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitStringLiteral(IStringLiteral that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitAttributeOperand(IAttributeOperand that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitNumberLiteral(INumberLiteral that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitHexLiteral(IHexLiteral that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitDateTimeLiteral(IDateTimeLiteral that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitTimeLiteral(ITimeLiteral that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitBooleanLiteral(IBooleanLiteral that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitStringCast(IStringCast that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitNumberCast(INumberCast that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitHexCast(IHexCast that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitBooleanCast(IBooleanCast that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitDateTimeCast(IDateTimeCast that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitTimeCast(ITimeCast that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitDayOfWeek(IDayOfWeek that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitDayOfMonth(IDayOfMonth that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitMonth(IMonth that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitYear(IYear that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitDateTimeAttributeOperand(IDateTimeAttributeOperand that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitEqualComparison(IEqualComparison that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitNotEqualComparison(INotEqualComparison that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitGreaterThanComparison(IGreaterThanComparison that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitGreaterThanOrEqualComparison(IGreaterThanOrEqualComparison that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitLessThanComparison(ILessThanComparison that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitLessThanOrEqualComparison(ILessThanOrEqualComparison that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitContainsComparison(IContainsComparison that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitStartsWithComparison(IStartsWithComparison that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitEndsWithComparison(IEndsWithComparison that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitRegexComparison(IRegexComparison that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitMatchClause(IMatchClause that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitAndExpression(IAndExpression that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitOrExpression(IOrExpression that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitNotExpression(INotExpression that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitQueryFilter(IQueryFilter that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitQuery(IQuery that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/xmlcommon/XmlCommon.java b/src/main/java/aas_core/aas3_2/xmlcommon/XmlCommon.java new file mode 100644 index 00000000..4e889363 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/xmlcommon/XmlCommon.java @@ -0,0 +1,614 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.xmlcommon; + +import aas_core.aas3_2.reporting.Reporting; +import aas_core.aas3_2.types.model.*; +import java.util.Optional; +import java.util.regex.Pattern; +import javax.xml.stream.XMLEventReader; +import javax.xml.stream.XMLStreamConstants; +import javax.xml.stream.XMLStreamException; +import javax.xml.stream.XMLStreamWriter; +import javax.xml.stream.events.XMLEvent; + +/** + * Provide the XML primitives shared by the de/serialization. + * + *

The xmlization reads and writes the elements of our own classes, and the XML-RPC + * de/serialization the elements within a JSON-able value. The skipping of what carries no + * information, the check of the XML namespace and the framing of an element are the same for both, + * and live here. + * + *

Java has no visibility which would show a class to a sibling package and hide it from the user + * of the library, so everything here is public. + */ +public final class XmlCommon { + private XmlCommon() { + // NOTE (mristin): + // The XML primitives are stateless, so there is nothing to + // instantiate. + } + + /** + * The XML namespace in which all the elements of a document reside. + * + *

The elements of the XML-RPC subset, over which a JSON-able value is de/serialized, are the + * one exception: they reside in no namespace at all. + */ + public static final String NAMESPACE = "https://admin-shell.io/aas/3/2"; + + /** + * Read the content of an element which has already been opened. + * + *

{isEmpty} tells whether that element was self-closing. + */ + @FunctionalInterface + public interface ContentReader { + Reporting.Result read(XMLEventReader reader, boolean isEmpty); + } + + /** Read a whole element, opening and closing it. */ + @FunctionalInterface + public interface ElementReader { + Reporting.Result read(XMLEventReader reader); + } + + /** + * Write {@code that} where {@code writer} already is. + * + *

Every value is written through this one shape, so that the writing composes: {@link + * #writeElement} frames it in a start and an end tag, and a class's own {@code + * write...AsSequence} already is one. + * + *

There is deliberately no second shape for a whole element, as there is on the reading side. + * An element differs from a content only in what it writes, never in its shape; the reading needs + * the distinction because a content reader has to be told whether its element was self-closing, + * and a writer has nothing to be told. + * + *

Use sites take a {@code ContentWriter} -- Java's spelling of the contravariance + * -- so that the single writer of an {@link IClass} serves wherever the writer of a more specific + * interface is expected. + */ + @FunctionalInterface + public interface ContentWriter { + void write(T that, XMLStreamWriter writer) throws XMLStreamException; + } + + /** Match a run of the four characters which XML calls whitespace. */ + public static final Pattern WHITESPACE_RUN = Pattern.compile("[ \t\n\r]+"); + + /** + * Read the text of the element which the caller has opened. + * + *

The comments in between are skipped, and the pieces of the text are joined, as a reader is + * free to split it. + */ + public static String readContentAsString(XMLEventReader reader) throws XMLStreamException { + final StringBuilder content = new StringBuilder(); + + while (reader.peek().isCharacters() + || reader.peek().getEventType() == XMLStreamConstants.COMMENT) { + if (reader.peek().isCharacters()) { + content.append(reader.peek().asCharacters().getData()); + } + reader.nextEvent(); + } + + return content.toString(); + } + + /** + * Normalize {@code text} the way {@code whiteSpace="collapse"} prescribes. + * + *

Every atomic XSD type except a string fixes {@code whiteSpace} to {@code collapse}, and a + * schema author can not change it. A tab, a line feed and a carriage return each become a space, + * a run of spaces becomes one space, and the leading and trailing spaces go. + * + *

See: https://www.w3.org/TR/xmlschema-2/#rf-whiteSpace + */ + public static String collapseWhitespace(String text) { + return WHITESPACE_RUN.matcher(text).replaceAll(" ").trim(); + } + + /** Represent a critical error during the deserialization. */ + @SuppressWarnings("serial") + public static class DeserializeException extends RuntimeException { + private final String path; + private final String reason; + + public DeserializeException(String path, String reason) { + super(reason + " at: " + ("".equals(path) ? "the beginning" : path)); + this.path = path; + this.reason = reason; + } + + public Optional getPath() { + return Optional.ofNullable(path); + } + + public Optional getReason() { + return Optional.ofNullable(reason); + } + } + + /** Represent a critical error during the serialization. */ + @SuppressWarnings("serial") + public static class SerializeException extends RuntimeException { + private final String path; + private final String reason; + + public SerializeException(String path, String reason) { + super(reason + " at: " + ("".equals(path) ? "the beginning" : path)); + this.path = path; + this.reason = reason; + } + + public Optional getPath() { + return Optional.ofNullable(path); + } + + public Optional getReason() { + return Optional.ofNullable(reason); + } + } + + /** + * Signal a failure of the serialization, carrying the path to the culprit. + * + *

The path is built as the stack unwinds -- every container prepends the one segment it knows, + * the property its name and the list the index of the item -- which is why this can not be the + * exception which the caller sees already: that one renders its message in its constructor, so + * its path has to be complete by then. The enclosing serializer renders and converts. + * + *

This is thrown across a package boundary, from the XML-RPC writers into the xmlization's, so + * it is public. + */ + @SuppressWarnings("serial") + public static class SerializeFailure extends RuntimeException { + private final Reporting.Error error; + + public SerializeFailure(Reporting.Error error) { + super(error.getCause()); + this.error = error; + } + + public Reporting.Error getError() { + return error; + } + } + + public static XMLEvent currentEvent(XMLEventReader reader) { + try { + return reader.peek(); + } catch (XMLStreamException xmlStreamException) { + throw new DeserializeException( + "", "Failed in method peek because of: " + xmlStreamException.getMessage()); + } + } + + public static String getEventTypeAsString(XMLEvent event) { + switch (event.getEventType()) { + case XMLStreamConstants.START_ELEMENT: + return "Start-Element"; + case XMLStreamConstants.END_ELEMENT: + return "End-Element"; + case XMLStreamConstants.PROCESSING_INSTRUCTION: + return "Processing-Instruction"; + case XMLStreamConstants.CHARACTERS: + return "Characters"; + case XMLStreamConstants.COMMENT: + return "Comment"; + case XMLStreamConstants.SPACE: + return "Space"; + case XMLStreamConstants.START_DOCUMENT: + return "Start-Document"; + case XMLStreamConstants.END_DOCUMENT: + return "End-Document"; + case XMLStreamConstants.ENTITY_REFERENCE: + return "Entity-Reference"; + case XMLStreamConstants.ATTRIBUTE: + return "Attribute"; + case XMLStreamConstants.NOTATION_DECLARATION: + return "Notation-Declaration"; + default: + return "Unknown-Type"; + } + } + + public static void skipWhitespaceAndComments(XMLEventReader reader) { + while (whiteSpaceOrComment(reader)) { + reader.next(); + } + } + + public static boolean whiteSpaceOrComment(XMLEventReader reader) { + final XMLEvent currentEvent = currentEvent(reader); + final boolean isComment = + (currentEvent != null && currentEvent.getEventType() == XMLStreamConstants.COMMENT); + final boolean isWhiteSpace = + (currentEvent != null + && currentEvent.getEventType() == XMLStreamConstants.CHARACTERS + && currentEvent.asCharacters().isWhiteSpace()); + return isComment || isWhiteSpace; + } + + public static boolean isEmptyElement(XMLEventReader reader) { + // Skip the element node and go to the content + try { + reader.nextEvent(); + } catch (XMLStreamException xmlStreamException) { + throw new DeserializeException( + "", "Failed in method isEmptyElement because of: " + xmlStreamException.getMessage()); + } + return currentEvent(reader).isEndElement(); + } + + /** + * Write {@code that.toString()} as XML content. + * + *

This is the {@link ContentWriter} of every {@code boolean}/ {@code long}/{@code + * double}/{@code String}-typed value, be it a property, a list item or a tuple item. + */ + public static void writeStringifiedContent(T that, XMLStreamWriter writer) + throws XMLStreamException { + writer.writeCharacters(that.toString()); + } + + /** + * Write {@code that} as XML content in the lexical form of {@code xs:double}. + * + *

This is the {@link ContentWriter} of every {@code double}-typed value, be it a property, a + * list item or a tuple item. A double can not share {@link #writeStringifiedContent} with the + * other primitives: {@code Double.toString} renders an infinity as {@code Infinity}, where {@code + * xs:double} spells it {@code INF}. Only the two infinities differ -- {@code NaN} is spelled the + * same way in both, and a finite number is rendered by {@code Double.toString} in a form which + * {@code xs:double} accepts. + * + *

See: https://www.w3.org/TR/xmlschema-2/#double + */ + public static void writeDoubleContent(Double that, XMLStreamWriter writer) + throws XMLStreamException { + final String text; + if (that.isInfinite()) { + text = (that > 0) ? "INF" : "-INF"; + } else { + text = that.toString(); + } + + writer.writeCharacters(text); + } + + /** Describe {@code ns} for an error message. */ + private static String describeNamespace(String ns) { + return ns.isEmpty() ? "no namespace" : "the namespace " + ns; + } + + private static boolean invalidNameSpace(XMLEvent event, String ns) { + if (event.isStartElement()) { + return !ns.equals(event.asStartElement().getName().getNamespaceURI()); + } else { + return !ns.equals(event.asEndElement().getName().getNamespaceURI()); + } + } + + /** Check the namespace and extract the element's name. */ + private static Reporting.Result tryElementName(XMLEventReader reader, String ns) { + final XMLEvent currentEvent = currentEvent(reader); + final boolean precondition = currentEvent.isStartElement() || currentEvent.isEndElement(); + if (!precondition) { + throw new IllegalStateException( + "Expected to be at a start or an end element " + + "but got: " + + getEventTypeAsString(currentEvent)); + } + + if (invalidNameSpace(currentEvent, ns)) { + final String namespace = + currentEvent.isStartElement() + ? currentEvent.asStartElement().getName().getNamespaceURI() + : currentEvent.asEndElement().getName().getNamespaceURI(); + final Reporting.Error error = + new Reporting.Error( + "Expected an element within " + + describeNamespace(ns) + + ", but got an element within " + + describeNamespace(namespace)); + return Reporting.Result.failure(error); + } + return Reporting.Result.success( + currentEvent.isStartElement() + ? currentEvent.asStartElement().getName().getLocalPart() + : currentEvent.asEndElement().getName().getLocalPart()); + } + + /** + * Look up the name of the element which {@code reader} is positioned at. + * + *

This is the single primitive answering "we are at an element, and this is its name": {@link + * #readNamedElement} checks that name against the one its container supplied, a dispatcher + * switches on it, and a property loop uses it to select the property. Nothing is consumed, which + * is what lets a dispatcher hand the whole element on to the reader it selected. + */ + private static Reporting.Result peekElementNameInNamespace( + XMLEventReader reader, String ns) { + skipWhitespaceAndComments(reader); + + final XMLEvent currentEvent = currentEvent(reader); + if (currentEvent.isEndDocument()) { + return Reporting.Result.failure( + new Reporting.Error("Expected an XML element, but reached the end-of-file")); + } + + if (!currentEvent.isStartElement()) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected an XML element, but got the node of type " + + getEventTypeAsString(currentEvent) + + " with the value " + + currentEvent)); + } + + return tryElementName(reader, ns); + } + + /** Consume the end tag concluding the element called {@code elementName}. */ + private static Reporting.Result consumeEndElementInNamespace( + XMLEventReader reader, String elementName, String ns) { + skipWhitespaceAndComments(reader); + + final XMLEvent currentEvent = currentEvent(reader); + if (currentEvent.isEndDocument()) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected an XML end element to conclude the element " + + elementName + + ", but got the end-of-file")); + } + + if (!currentEvent.isEndElement()) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected an XML end element to conclude the element " + + elementName + + ", but got the node of type " + + getEventTypeAsString(currentEvent) + + " with the value " + + currentEvent)); + } + + final Reporting.Result tryEndElementName = tryElementName(reader, ns); + if (tryEndElementName.isError()) { + return tryEndElementName.castTo(XMLEvent.class); + } + + if (!elementName.equals(tryEndElementName.getResult())) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected an XML end element to conclude the element " + + elementName + + ", but got the end element with the name " + + tryEndElementName.getResult())); + } + + try { + return Reporting.Result.success(reader.nextEvent()); + } catch (XMLStreamException xmlStreamException) { + throw new DeserializeException( + "", "Failed in method consumeEndElement because of: " + xmlStreamException.getMessage()); + } + } + + /** + * Read a whole element which is expected to be called {@code name} and to reside in {@code ns}, + * and read its content with {@code readContent}. + * + *

The name is data, not a type: an instance reads the XML name of its own class, a list item + * reads {@code "v"} and a tuple item reads {@code "v1"}, {@code "v2"}, ... by position. One + * framer therefore serves them all. + */ + private static Reporting.Result readNamedElementInNamespace( + XMLEventReader reader, String name, String ns, ContentReader readContent) { + final Reporting.Result tryElementName = peekElementNameInNamespace(reader, ns); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + if (!name.equals(tryElementName.getResult())) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected an XML element " + + name + + ", but got an XML element " + + tryElementName.getResult())); + } + + final boolean isEmpty = isEmptyElement(reader); + + final Reporting.Result result = readContent.read(reader, isEmpty); + if (result.isError()) { + return result; + } + + final Reporting.Result endResult = consumeEndElementInNamespace(reader, name, ns); + if (endResult.isError()) { + return Reporting.Result.failure(endResult.getError()); + } + + return result; + } + + /** + * Look up the name of the element in {@link #NAMESPACE} which {@code reader} is positioned at. + * + *

This is the single primitive answering "we are at an element, and this is its name": {@link + * #readNamedElement} checks that name against the one its container supplied, a dispatcher + * switches on it, and a property loop uses it to select the property. Nothing is consumed, which + * is what lets a dispatcher hand the whole element on to the reader it selected. + */ + public static Reporting.Result peekElementName(XMLEventReader reader) { + return peekElementNameInNamespace(reader, NAMESPACE); + } + + /** + * Consume the end tag concluding the element called {@code elementName} in {@link #NAMESPACE}. + */ + public static Reporting.Result consumeEndElement( + XMLEventReader reader, String elementName) { + return consumeEndElementInNamespace(reader, elementName, NAMESPACE); + } + + /** + * Read a whole element in {@link #NAMESPACE} which is expected to be called {@code name}, and + * read its content with {@code readContent}. + */ + public static Reporting.Result readNamedElement( + XMLEventReader reader, String name, ContentReader readContent) { + return readNamedElementInNamespace(reader, name, NAMESPACE, readContent); + } + + /** + * Look up the name of the element in no namespace at all which {@code reader} is positioned at. + */ + public static Reporting.Result peekElementNameInNoNamespace(XMLEventReader reader) { + return peekElementNameInNamespace(reader, ""); + } + + /** + * Consume the end tag concluding the element called {@code elementName} in no namespace at all. + */ + public static Reporting.Result consumeEndElementInNoNamespace( + XMLEventReader reader, String elementName) { + return consumeEndElementInNamespace(reader, elementName, ""); + } + + /** + * Read a whole element in no namespace at all which is expected to be called {@code name}, and + * read its content with {@code readContent}. + */ + public static Reporting.Result readNamedElementInNoNamespace( + XMLEventReader reader, String name, ContentReader readContent) { + return readNamedElementInNamespace(reader, name, "", readContent); + } + + /** + * Read a self-describing element as the content of the property element which {@code reader} is + * already positioned inside. + * + *

This looks like a needless layer over {@code read...FromElement}: the reader sits at the + * very same position in both cases, just before a start element, whether that element is the only + * child of a property element or the next item of a list. The layer exists for the error path + * alone. + * + *

A property wraps its instance in an element of its own, so the failing node is one step + * deeper than the property and the discriminator's name has to be prepended: {@code + * value/property/idShort}. A list item is not wrapped -- the item element *is* the indexed child + * -- so prepending the name there would give {@code annotations/*[1]/property/idShort}, which + * walks one level past the element {@code *[1]} already selects and resolves to nothing. + * + *

The two callers therefore need different segments, which is why the name can not be + * prepended inside {@code read...FromElement}. Unifying them would take a segment carrying a name + * *and* a position ({@code annotations/property[1]}), and that is a change to {@link Reporting}, + * which the verification and the JSON de-serialization share. + */ + public static Reporting.Result readNestedElement( + XMLEventReader reader, boolean isEmpty, ElementReader readInner) { + if (isEmpty) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected an XML element representing an instance, " + + "but encountered a self-closing element")); + } + + final Reporting.Result tryElementName = peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final Reporting.Result result = readInner.read(reader); + if (result.isError()) { + result.getError().prependSegment(new Reporting.NameSegment(tryElementName.getResult())); + } + + return result; + } + + /** + * Write {@code that} as an XML element named {@code name}, its content written by {@code + * writeContent}. + * + *

An element is nothing but a start and an end tag around a content, so there is no writer per + * property kind: only the content writer differs, and the type of the value alone decides which + * one it is. + * + *

{@code withNamespace} declares {@link #NAMESPACE} on the element, which only the outermost + * element does. + */ + public static void writeElement( + String name, + T that, + XMLStreamWriter writer, + boolean withNamespace, + ContentWriter writeContent) { + try { + writer.writeStartElement(name); + if (withNamespace) { + writer.writeNamespace("xmlns", NAMESPACE); + } + writeContent.write(that, writer); + writer.writeEndElement(); + } catch (XMLStreamException exception) { + throw new SerializeFailure(new Reporting.Error(exception.getMessage())); + } + } + + /** + * Write {@code that} as an XML element named {@code name} nested in another element, so that the + * XML namespace is not re-declared. + * + *

This is what an item of a list or of a tuple is written with. It contributes no segment to + * the error path: its container has already contributed the item's index, and the index selects + * this very element (see {@code writeListOf} in the generated writers). + */ + public static void writeElement( + String name, T that, XMLStreamWriter writer, ContentWriter writeContent) { + writeElement(name, that, writer, false, writeContent); + } + + /** + * Write {@code that} as an XML element named {@code name} which resides in no namespace at all. + * + *

{@code undeclareNamespace} tells whether this is the outermost such element. That one + * undeclares the default namespace of the enclosing document, and the elements nested in it + * inherit that and need no declaration of their own. + */ + public static void writeElementInNoNamespace( + String name, + T that, + XMLStreamWriter writer, + boolean undeclareNamespace, + ContentWriter writeContent) { + try { + writer.writeStartElement(name); + if (undeclareNamespace) { + writer.writeNamespace("xmlns", ""); + } + writeContent.write(that, writer); + writer.writeEndElement(); + } catch (XMLStreamException exception) { + throw new SerializeFailure(new Reporting.Error(exception.getMessage())); + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/xmlization/Xmlization.java b/src/main/java/aas_core/aas3_2/xmlization/Xmlization.java new file mode 100644 index 00000000..2e45feff --- /dev/null +++ b/src/main/java/aas_core/aas3_2/xmlization/Xmlization.java @@ -0,0 +1,33382 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.xmlization; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.reporting.Reporting; +import aas_core.aas3_2.stringification.Stringification; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.visitation.*; +import aas_core.aas3_2.xmlcommon.XmlCommon; +import aas_core.aas3_2.xmlrpc.XmlRpc; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ArrayNode; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.ArrayList; +import java.util.Base64; +import java.util.List; +import java.util.Optional; +import java.util.function.Function; +import java.util.regex.Pattern; +import javax.xml.stream.XMLEventReader; +import javax.xml.stream.XMLStreamConstants; +import javax.xml.stream.XMLStreamException; +import javax.xml.stream.XMLStreamWriter; +import javax.xml.stream.events.XMLEvent; + +/** Provide de/serialization of meta-model classes to/from XML. */ +public class Xmlization { + /** The XML namespace of the meta-model */ + public static final String NAMESPACE = XmlCommon.NAMESPACE; + + /** + * Implement the deserialization of meta-model classes from XML. + * + *

The implementation propagates an {@link Reporting.Error} instead of relying on exceptions. + * Under the assumption that incorrect data is much less frequent than correct data, this makes + * the deserialization more efficient. + * + *

However, we do not want to force the client to deal with the {@link Reporting.Error} class + * as this is not intuitive. Therefore we distinguish the implementation, realized in {@link + * _DeserializeImplementation}, and the facade given in {@link Deserialize} class. + */ + private static class _DeserializeImplementation { + private static void skipStartDocument(XMLEventReader reader) { + if (XmlCommon.currentEvent(reader).isStartDocument()) { + reader.next(); + } + } + + /** Convert the text content of an element which has already been opened. */ + @FunctionalInterface + private interface ContentConverter { + T convert(XMLEventReader reader) throws XMLStreamException; + } + + /** + * Drop every whitespace character of {@code text}. + * + *

This is what {@code xs:base64Binary} needs: it allows whitespace between the characters + * and not only around them, so collapsing is not enough -- the decoder accepts none of it. + */ + private static String removeWhitespace(String text) { + return XmlCommon.WHITESPACE_RUN.matcher(text).replaceAll(""); + } + + /** + * Tell whether {@code text} is a lexical form of {@code xs:base64Binary}. + * + *

The whitespace is expected to be gone already. What is left has to match {@code (B64 B64 + * B64 B64)* ((B64 B64 B64 B64) | (B64 B64 B16 '=') | (B64 B04 '=='))?} -- a length which is a + * multiple of four, the alphabet and nothing else, an equals sign only at the very end, and, + * easily missed, a constrained character before the padding, as the bits which the + * padding drops have to be zero. + * + *

The decoders do not agree on any of this. Base64.getDecoder() reads {@code SGk} although + * it is three characters long, where the Go and the Python SDKs refuse it. Hence this check, so + * that every target refuses the same texts. + * + *

See: https://www.w3.org/TR/xmlschema-2/#base64Binary + */ + private static boolean matchesXsBase64Binary(String text) { + if (text.length() % 4 != 0) { + return false; + } + + if (text.isEmpty()) { + return true; + } + + int pads = 0; + if (text.charAt(text.length() - 1) == '=') { + pads = 1; + if (text.charAt(text.length() - 2) == '=') { + pads = 2; + } + } + + for (int i = 0; i < text.length() - pads; i++) { + final char character = text.charAt(i); + final boolean inAlphabet = + (character >= 'A' && character <= 'Z') + || (character >= 'a' && character <= 'z') + || (character >= '0' && character <= '9') + || character == '+' + || character == '/'; + if (!inAlphabet) { + return false; + } + } + + // NOTE (mristin): + // Only these sixteen characters leave the two dropped bits at zero, and + // only these four leave the four dropped bits at zero. + if (pads == 1) { + return "AEIMQUYcgkosw048".indexOf(text.charAt(text.length() - 2)) >= 0; + } + + if (pads == 2) { + return "AQgw".indexOf(text.charAt(text.length() - 3)) >= 0; + } + + return true; + } + + private static Boolean readContentAsBool(XMLEventReader reader) throws XMLStreamException { + final StringBuilder content = new StringBuilder(); + + while (reader.peek().isCharacters() + || reader.peek().getEventType() == XMLStreamConstants.COMMENT) { + if (reader.peek().isCharacters()) { + content.append(reader.peek().asCharacters().getData()); + } + reader.nextEvent(); + } + final String text = XmlCommon.collapseWhitespace(content.toString()); + + // NOTE (mristin): + // ``xs:boolean`` spells the two values in four ways, not two, so ``1`` and + // ``0`` have to be read as well. Boolean.valueOf is of no use here: it + // answers ``false`` to anything which is not ``true``, so it would take + // ``0`` and ``banana`` alike, and silently. + // + // See: https://www.w3.org/TR/xmlschema-2/#boolean + if (text.equals("true") || text.equals("1")) { + return Boolean.TRUE; + } + + if (text.equals("false") || text.equals("0")) { + return Boolean.FALSE; + } + + throw new IllegalStateException("Expected a value as xs:boolean, but got: " + text); + } + + /** + * Match the lexical space of {@code xs:double}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#double + */ + private static final Pattern XS_DOUBLE_PATTERN = + Pattern.compile( + "^((\\+|-)?([0-9]+(\\.[0-9]*)?|\\.[0-9]+)([Ee](\\+|-)?[0-9]+)?" + "|-?INF|NaN)$"); + + private static Double readContentAsDouble(XMLEventReader reader) throws XMLStreamException { + final StringBuilder content = new StringBuilder(); + + while (reader.peek().isCharacters() + || reader.peek().getEventType() == XMLStreamConstants.COMMENT) { + if (reader.peek().isCharacters()) { + content.append(reader.peek().asCharacters().getData()); + } + reader.nextEvent(); + } + + final String text = XmlCommon.collapseWhitespace(content.toString()); + + // NOTE (mristin): + // The two infinities have to be spelled out: Double.valueOf refuses + // ``INF`` and ``-INF``, which is exactly what ``xs:double`` calls them. + // NOTE (mristin): + // ``+INF`` is read although it is written as ``INF``: XSD 1.1 admits it, + // its production being ``(\+|-)?INF``, and being liberal in what we + // accept costs nothing here. + if (text.equals("INF") || text.equals("+INF")) { + return Double.POSITIVE_INFINITY; + } + + if (text.equals("-INF")) { + return Double.NEGATIVE_INFINITY; + } + + // NOTE (mristin): + // Double.valueOf is in the other direction far too permissive: it accepts + // ``Infinity``, a trailing type suffix as in ``1.0d``, a hexadecimal + // significand as in ``0x1p3``, and surrounding whitespace, none of which + // is a valid ``xs:double``. The pattern is therefore checked first. + // + // See: https://www.w3.org/TR/xmlschema-2/#double + if (!XS_DOUBLE_PATTERN.matcher(text).matches()) { + throw new NumberFormatException("Expected a value as xs:double, but got: " + text); + } + + return Double.valueOf(text); + } + + /** Read the whole content of an element into memory. */ + private static byte[] readContentAsBase64(XMLEventReader reader) throws XMLStreamException { + final StringBuilder content = new StringBuilder(); + while (reader.peek().isCharacters() + || reader.peek().getEventType() == XMLStreamConstants.COMMENT) { + if (reader.peek().isCharacters()) { + content.append(reader.peek().asCharacters().getData()); + } + reader.nextEvent(); + } + + // NOTE (mristin): + // ``xs:base64Binary`` allows whitespace *between* the characters, not only + // around them -- its grammar admits a space after every one -- while + // Base64.getDecoder() refuses all of it. So every whitespace character is + // dropped, and not merely collapsed. + // + // See: https://www.w3.org/TR/xmlschema-2/#base64Binary + String encodedData = removeWhitespace(content.toString()); + + if (!matchesXsBase64Binary(encodedData)) { + throw new XMLStreamException( + "Expected a text as base64-encoded bytes, but got: " + encodedData); + } + final byte[] decodedData; + Base64.Decoder decoder = Base64.getDecoder(); + + try { + decodedData = decoder.decode(encodedData); + } catch (IllegalArgumentException exception) { + throw new XMLStreamException( + "Failed to read base64 encoded data: " + exception.getMessage()); + } + + return decodedData; + } + + /** + * Read the text content of an element and convert it with {@code convert}. + * + *

A self-closing element is an error, since there is no text to convert. + */ + private static Reporting.Result readText( + XMLEventReader reader, boolean isEmpty, ContentConverter convert, String typeName) { + if (isEmpty) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected an XML content representing " + + typeName + + ", but encountered a self-closing element")); + } + + if (XmlCommon.currentEvent(reader).isEndDocument()) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected an XML content representing " + + typeName + + ", but reached the end-of-file")); + } + + try { + return Reporting.Result.success(convert.convert(reader)); + } catch (Exception exception) { + return Reporting.Result.failure( + new Reporting.Error( + "The XML content could not be de-serialized as " + + typeName + + ": " + + exception.getMessage())); + } + } + + /** + * Read the text content of an element and convert it with {@code convert}, giving {@code + * whenEmpty} for a self-closing element. + */ + private static Reporting.Result readText( + XMLEventReader reader, + boolean isEmpty, + ContentConverter convert, + String typeName, + T whenEmpty) { + if (isEmpty) { + return Reporting.Result.success(whenEmpty); + } + + return readText(reader, isEmpty, convert, typeName); + } + + /** + * Read the text content of an element and parse it as a literal of the enumeration called + * {@code enumName}. + */ + private static Reporting.Result readEnum( + XMLEventReader reader, + boolean isEmpty, + Function> parseLiteral, + String enumName) { + final Reporting.Result tryText = + readText(reader, isEmpty, XmlCommon::readContentAsString, enumName); + if (tryText.isError()) { + return Reporting.Result.failure(tryText.getError()); + } + + final Optional literal = parseLiteral.apply(tryText.getResult()); + if (!literal.isPresent()) { + return Reporting.Result.failure( + new Reporting.Error( + "The text could not be parsed as a literal of " + + enumName + + ": " + + tryText.getResult())); + } + + return Reporting.Result.success(literal.get()); + } + + /** + * Read the items of a list, each with {@code readItem}. + * + *

Every start element is considered to mark the start of an item. Reading stops as soon as a + * non-start element is encountered. + */ + private static Reporting.Result> readList( + XMLEventReader reader, boolean isEmpty, XmlCommon.ElementReader readItem) { + final List result = new ArrayList<>(); + if (isEmpty) { + return Reporting.Result.success(result); + } + + XmlCommon.skipWhitespaceAndComments(reader); + int index = 0; + if (!XmlCommon.currentEvent(reader).isStartElement()) { + final Reporting.Error error = + new Reporting.Error( + "Expected a start element opening an item of the list, " + + "but got an XML " + + XmlCommon.getEventTypeAsString(XmlCommon.currentEvent(reader))); + return Reporting.Result.failure(error); + } + + while (XmlCommon.currentEvent(reader).isStartElement()) { + final Reporting.Result itemResult = readItem.read(reader); + if (itemResult.isError()) { + itemResult.getError().prependSegment(new Reporting.IndexSegment(index)); + return Reporting.Result.failure(itemResult.getError()); + } + + result.add(itemResult.getResult()); + index++; + XmlCommon.skipWhitespaceAndComments(reader); + } + + return Reporting.Result.success(result); + } + + /** Read a tuple of 2 item(s), each with the corresponding {@code readItemI}. */ + private static Reporting.Result> readTuple2( + XMLEventReader reader, + boolean isEmpty, + XmlCommon.ElementReader readItem1, + XmlCommon.ElementReader readItem2) { + if (isEmpty) { + final Reporting.Error error = + new Reporting.Error("Expected exactly 2 item(s), but got a self-closing element"); + return Reporting.Result.failure(error); + } + + XmlCommon.skipWhitespaceAndComments(reader); + if (!XmlCommon.currentEvent(reader).isStartElement()) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected a start element of the item 0 of the tuple, " + + "but got an XML " + + XmlCommon.getEventTypeAsString(XmlCommon.currentEvent(reader)))); + } + final Reporting.Result item1Result = readItem1.read(reader); + if (item1Result.isError()) { + item1Result.getError().prependSegment(new Reporting.IndexSegment(0)); + return Reporting.Result.failure(item1Result.getError()); + } + + XmlCommon.skipWhitespaceAndComments(reader); + if (!XmlCommon.currentEvent(reader).isStartElement()) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected a start element of the item 1 of the tuple, " + + "but got an XML " + + XmlCommon.getEventTypeAsString(XmlCommon.currentEvent(reader)))); + } + final Reporting.Result item2Result = readItem2.read(reader); + if (item2Result.isError()) { + item2Result.getError().prependSegment(new Reporting.IndexSegment(1)); + return Reporting.Result.failure(item2Result.getError()); + } + + return Reporting.Result.success( + new Tuple2<>(item1Result.getResult(), item2Result.getResult())); + } + + /** + * Check whether the sequence of the properties has ended. + * + *

Only the end tag of the enclosing element concludes a sequence. Reaching the end-of-file + * does not -- that is an error, which {@link #peekElementName} reports when the caller goes on + * to read the next property. + */ + private static boolean atEndOfSequence(XMLEventReader reader) { + XmlCommon.skipWhitespaceAndComments(reader); + return XmlCommon.currentEvent(reader).isEndElement(); + } + + /** Report an element which is not a property of the class {@code className}. */ + private static Reporting.Result unexpectedProperty( + String className, String elementName) { + return Reporting.Result.failure( + new Reporting.Error( + "We expected properties of the class " + + className + + ", " + + "but got an unexpected element " + + "with the name " + + elementName)); + } + + /** Report a property which the sequence of the properties gave more than once. */ + private static Reporting.Error duplicatePropertyError(String elementName) { + return new Reporting.Error("Property " + elementName + " occurred more than once"); + } + + /** + * Report a required property of the class {@code className} which the sequence of the + * properties did not give. + */ + private static Reporting.Result missingRequiredProperty( + String propertyName, String className) { + return Reporting.Result.failure( + new Reporting.Error( + "The required property " + + propertyName + + " has not been given " + + "in the XML representation of an instance of class " + + className)); + } + + /** Read the content of an element holding a JSON-able value. */ + private static Reporting.Result readTextAs_jsonValue( + XMLEventReader reader, boolean isEmpty) { + return XmlRpc.readValueContent(reader, isEmpty); + } + + /** Read the content of an element holding a JSON-able array. */ + private static Reporting.Result readTextAs_jsonArray( + XMLEventReader reader, boolean isEmpty) { + return XmlRpc.readArrayContent(reader, isEmpty); + } + + /** Read the content of an element holding a JSON-able object. */ + private static Reporting.Result readTextAs_jsonObject( + XMLEventReader reader, boolean isEmpty) { + return XmlRpc.readObjectContent(reader, isEmpty); + } + + private static Reporting.Result> readListOf_IReference( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readReferenceFromElement); + } + + private static Reporting.Result readTextAs_string( + XMLEventReader reader, boolean isEmpty) { + return readText(reader, isEmpty, XmlCommon::readContentAsString, "String", ""); + } + + private static Reporting.Result readTextAs_DataTypeDefXsd( + XMLEventReader reader, boolean isEmpty) { + return readEnum(reader, isEmpty, Stringification::dataTypeDefXsdFromString, "DataTypeDefXsd"); + } + + private static Reporting.Result> + readListOf_IEmbeddedDataSpecification(XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readEmbeddedDataSpecificationFromElement); + } + + private static Reporting.Result readTextAs_QualifierKind( + XMLEventReader reader, boolean isEmpty) { + return readEnum(reader, isEmpty, Stringification::qualifierKindFromString, "QualifierKind"); + } + + private static Reporting.Result> readListOf_IExtension( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readExtensionFromElement); + } + + private static Reporting.Result> readListOf_ILangStringNameType( + XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readLangStringNameTypeFromElement); + } + + private static Reporting.Result> readListOf_ILangStringTextType( + XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readLangStringTextTypeFromElement); + } + + private static Reporting.Result readTextAs_AssetKind( + XMLEventReader reader, boolean isEmpty) { + return readEnum(reader, isEmpty, Stringification::assetKindFromString, "AssetKind"); + } + + private static Reporting.Result> readListOf_ISpecificAssetId( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readSpecificAssetIdFromElement); + } + + private static Reporting.Result readTextAs_ModellingKind( + XMLEventReader reader, boolean isEmpty) { + return readEnum(reader, isEmpty, Stringification::modellingKindFromString, "ModellingKind"); + } + + private static Reporting.Result> readListOf_IQualifier( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readQualifierFromElement); + } + + private static Reporting.Result> readListOf_ISubmodelElement( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readISubmodelElementFromElement); + } + + private static Reporting.Result readTextAs_bool( + XMLEventReader reader, boolean isEmpty) { + return readText(reader, isEmpty, _DeserializeImplementation::readContentAsBool, "Boolean"); + } + + private static Reporting.Result readTextAs_AasSubmodelElements( + XMLEventReader reader, boolean isEmpty) { + return readEnum( + reader, isEmpty, Stringification::aasSubmodelElementsFromString, "AasSubmodelElements"); + } + + private static Reporting.Result readTextAs_bytes( + XMLEventReader reader, boolean isEmpty) { + return readText( + reader, + isEmpty, + _DeserializeImplementation::readContentAsBase64, + "base64-encoded bytes", + new byte[0]); + } + + private static Reporting.Result> readListOf_IDataElement( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readIDataElementFromElement); + } + + private static Reporting.Result readTextAs_EntityType( + XMLEventReader reader, boolean isEmpty) { + return readEnum(reader, isEmpty, Stringification::entityTypeFromString, "EntityType"); + } + + private static Reporting.Result readTextAs_Direction( + XMLEventReader reader, boolean isEmpty) { + return readEnum(reader, isEmpty, Stringification::directionFromString, "Direction"); + } + + private static Reporting.Result readTextAs_StateOfEvent( + XMLEventReader reader, boolean isEmpty) { + return readEnum(reader, isEmpty, Stringification::stateOfEventFromString, "StateOfEvent"); + } + + private static Reporting.Result> readListOf_IOperationVariable( + XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readOperationVariableFromElement); + } + + private static Reporting.Result readTextAs_ReferenceTypes( + XMLEventReader reader, boolean isEmpty) { + return readEnum(reader, isEmpty, Stringification::referenceTypesFromString, "ReferenceTypes"); + } + + private static Reporting.Result> readListOf_IKey( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readKeyFromElement); + } + + private static Reporting.Result readTextAs_KeyTypes( + XMLEventReader reader, boolean isEmpty) { + return readEnum(reader, isEmpty, Stringification::keyTypesFromString, "KeyTypes"); + } + + private static Reporting.Result> + readListOf_IAssetAdministrationShell(XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readAssetAdministrationShellFromElement); + } + + private static Reporting.Result> readListOf_ISubmodel( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readSubmodelFromElement); + } + + private static Reporting.Result> readListOf_IConceptDescription( + XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readConceptDescriptionFromElement); + } + + private static Reporting.Result> readListOf_IValueReferencePair( + XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readValueReferencePairFromElement); + } + + private static Reporting.Result> readListOf_ILangStringUom( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readLangStringUomFromElement); + } + + private static Reporting.Result> readListOf_IDefinitionTypeUom( + XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readDefinitionTypeUomFromElement); + } + + private static Reporting.Result> + readListOf_ILangStringPreferredNameTypeIec61360(XMLEventReader reader, boolean isEmpty) { + return readList( + reader, + isEmpty, + _DeserializeImplementation::readLangStringPreferredNameTypeIec61360FromElement); + } + + private static Reporting.Result> + readListOf_ILangStringShortNameTypeIec61360(XMLEventReader reader, boolean isEmpty) { + return readList( + reader, + isEmpty, + _DeserializeImplementation::readLangStringShortNameTypeIec61360FromElement); + } + + private static Reporting.Result readTextAs_DataTypeIec61360( + XMLEventReader reader, boolean isEmpty) { + return readEnum( + reader, isEmpty, Stringification::dataTypeIec61360FromString, "DataTypeIec61360"); + } + + private static Reporting.Result> + readListOf_ILangStringDefinitionTypeIec61360(XMLEventReader reader, boolean isEmpty) { + return readList( + reader, + isEmpty, + _DeserializeImplementation::readLangStringDefinitionTypeIec61360FromElement); + } + + private static Reporting.Result> readListOf_IEndpoint( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readEndpointFromElement); + } + + private static Reporting.Result> readListOf_ISubmodelDescriptor( + XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readSubmodelDescriptorFromElement); + } + + private static Reporting.Result> readListOf_string( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readAtV_string); + } + + private static Reporting.Result> + readListOf_ISecurityAttributeObject(XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readSecurityAttributeObjectFromElement); + } + + private static Reporting.Result readTextAs_SecurityTypeEnum( + XMLEventReader reader, boolean isEmpty) { + return readEnum( + reader, isEmpty, Stringification::securityTypeEnumFromString, "SecurityTypeEnum"); + } + + private static Reporting.Result + readTextAs_ServiceSpecificationProfileEnum(XMLEventReader reader, boolean isEmpty) { + return readEnum( + reader, + isEmpty, + Stringification::serviceSpecificationProfileEnumFromString, + "ServiceSpecificationProfileEnum"); + } + + private static Reporting.Result> + readListOf_ServiceSpecificationProfileEnum(XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readAtV_ServiceSpecificationProfileEnum); + } + + private static Reporting.Result> readListOf_IMessage( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readMessageFromElement); + } + + private static Reporting.Result readTextAs_MessageTypeEnum( + XMLEventReader reader, boolean isEmpty) { + return readEnum( + reader, isEmpty, Stringification::messageTypeEnumFromString, "MessageTypeEnum"); + } + + private static Reporting.Result readTextAs_ExecutionState( + XMLEventReader reader, boolean isEmpty) { + return readEnum(reader, isEmpty, Stringification::executionStateFromString, "ExecutionState"); + } + + private static Reporting.Result> readListOf_IReferable( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readIReferableFromElement); + } + + private static Reporting.Result readTextAs_double( + XMLEventReader reader, boolean isEmpty) { + return readText(reader, isEmpty, _DeserializeImplementation::readContentAsDouble, "Double"); + } + + private static Reporting.Result> readListOf_jsonObject( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readAtV_jsonObject); + } + + private static Reporting.Result> + readListOf_IAssetAdministrationShellMetadata(XMLEventReader reader, boolean isEmpty) { + return readList( + reader, + isEmpty, + _DeserializeImplementation::readAssetAdministrationShellMetadataFromElement); + } + + private static Reporting.Result> + readListOf_IAssetAdministrationShellRecentChange(XMLEventReader reader, boolean isEmpty) { + return readList( + reader, + isEmpty, + _DeserializeImplementation::readAssetAdministrationShellRecentChangeFromElement); + } + + private static Reporting.Result> + readListOf_IAssetAdministrationShellDescriptor(XMLEventReader reader, boolean isEmpty) { + return readList( + reader, + isEmpty, + _DeserializeImplementation::readAssetAdministrationShellDescriptorFromElement); + } + + private static Reporting.Result> + readListOf_IConceptDescriptionRecentChange(XMLEventReader reader, boolean isEmpty) { + return readList( + reader, + isEmpty, + _DeserializeImplementation::readConceptDescriptionRecentChangeFromElement); + } + + private static Reporting.Result> readListOf_IPackageDescription( + XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readPackageDescriptionFromElement); + } + + private static Reporting.Result> + readListOf_ISubmodelElementMetadata(XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readISubmodelElementMetadataFromElement); + } + + private static Reporting.Result> readListOf_ISubmodelRecentChange( + XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readSubmodelRecentChangeFromElement); + } + + private static Reporting.Result> readListOf_ISubmodelMetadata( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readSubmodelMetadataFromElement); + } + + private static Reporting.Result readTextAs_GlobalAttributeKind( + XMLEventReader reader, boolean isEmpty) { + return readEnum( + reader, isEmpty, Stringification::globalAttributeKindFromString, "GlobalAttributeKind"); + } + + private static Reporting.Result + readTextAs_DateTimeGlobalAttributeKind(XMLEventReader reader, boolean isEmpty) { + return readEnum( + reader, + isEmpty, + Stringification::dateTimeGlobalAttributeKindFromString, + "DateTimeGlobalAttributeKind"); + } + + private static Reporting.Result> readTupleOf2_Value_Value( + XMLEventReader reader, boolean isEmpty) { + return readTuple2( + reader, + isEmpty, + _DeserializeImplementation::readValueFromElement, + _DeserializeImplementation::readValueFromElement); + } + + private static Reporting.Result> + readTupleOf2_StringValue_StringValue(XMLEventReader reader, boolean isEmpty) { + return readTuple2( + reader, + isEmpty, + _DeserializeImplementation::readStringValueFromElement, + _DeserializeImplementation::readStringValueFromElement); + } + + private static Reporting.Result> readListOf_MatchExpression( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readMatchExpressionFromElement); + } + + private static Reporting.Result> readListOf_LogicalExpression( + XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readLogicalExpressionFromElement); + } + + private static Reporting.Result readTextAs_QuerySelect( + XMLEventReader reader, boolean isEmpty) { + return readEnum(reader, isEmpty, Stringification::querySelectFromString, "QuerySelect"); + } + + private static Reporting.Result> readListOf_IQueryFilter( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readQueryFilterFromElement); + } + + private static Reporting.Result readAtV_string(XMLEventReader reader) { + return XmlCommon.readNamedElement(reader, "v", _DeserializeImplementation::readTextAs_string); + } + + private static Reporting.Result + readAtV_ServiceSpecificationProfileEnum(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "v", _DeserializeImplementation::readTextAs_ServiceSpecificationProfileEnum); + } + + private static Reporting.Result readAtV_jsonObject( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "v", _DeserializeImplementation::readTextAs_jsonObject); + } + + /** Deserialize an instance of IHasSemantics from an XML element. */ + private static Reporting.Result readIHasSemanticsFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "relationshipElement": + return readRelationshipElementFromElement(reader); + case "annotatedRelationshipElement": + return readAnnotatedRelationshipElementFromElement(reader); + case "annotatedRelationshipElementMetadata": + return readAnnotatedRelationshipElementMetadataFromElement(reader); + case "basicEventElement": + return readBasicEventElementFromElement(reader); + case "basicEventElementMetadata": + return readBasicEventElementMetadataFromElement(reader); + case "blob": + return readBlobFromElement(reader); + case "blobMetadata": + return readBlobMetadataFromElement(reader); + case "capability": + return readCapabilityFromElement(reader); + case "capabilityMetadata": + return readCapabilityMetadataFromElement(reader); + case "entity": + return readEntityFromElement(reader); + case "entityMetadata": + return readEntityMetadataFromElement(reader); + case "extension": + return readExtensionFromElement(reader); + case "file": + return readFileFromElement(reader); + case "fileMetadata": + return readFileMetadataFromElement(reader); + case "multiLanguageProperty": + return readMultiLanguagePropertyFromElement(reader); + case "multiLanguagePropertyMetadata": + return readMultiLanguagePropertyMetadataFromElement(reader); + case "operation": + return readOperationFromElement(reader); + case "operationMetadata": + return readOperationMetadataFromElement(reader); + case "property": + return readPropertyFromElement(reader); + case "propertyMetadata": + return readPropertyMetadataFromElement(reader); + case "qualifier": + return readQualifierFromElement(reader); + case "range": + return readRangeFromElement(reader); + case "rangeMetadata": + return readRangeMetadataFromElement(reader); + case "referenceElement": + return readReferenceElementFromElement(reader); + case "referenceElementMetadata": + return readReferenceElementMetadataFromElement(reader); + case "relationshipElementMetadata": + return readRelationshipElementMetadataFromElement(reader); + case "specificAssetId": + return readSpecificAssetIdFromElement(reader); + case "submodel": + return readSubmodelFromElement(reader); + case "submodelElementCollection": + return readSubmodelElementCollectionFromElement(reader); + case "submodelElementCollectionMetadata": + return readSubmodelElementCollectionMetadataFromElement(reader); + case "submodelElementList": + return readSubmodelElementListFromElement(reader); + case "submodelElementListMetadata": + return readSubmodelElementListMetadataFromElement(reader); + case "submodelMetadata": + return readSubmodelMetadataFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** + * Deserialize an instance of class Extension from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readExtensionFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + String theName = null; + DataTypeDefXsd theValueType = null; + String theValue = null; + List theRefersTo = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "name": + { + if (theName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theName = value.getResult(); + } + break; + } + case "valueType": + { + if (theValueType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_DataTypeDefXsd(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueType = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + case "refersTo": + { + if (theRefersTo != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theRefersTo = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Extension", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theName == null) { + return missingRequiredProperty("name", "Extension"); + } + + return Reporting.Result.success( + new Extension( + theName, + theSemanticId, + theSupplementalSemanticIds, + theValueType, + theValue, + theRefersTo)); + } + + /** Deserialize an instance of class Extension from an XML element. */ + private static Reporting.Result readExtensionFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "extension", _DeserializeImplementation::readExtensionFromSequence); + } + + /** Deserialize an instance of IHasExtensions from an XML element. */ + private static Reporting.Result readIHasExtensionsFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "relationshipElement": + return readRelationshipElementFromElement(reader); + case "annotatedRelationshipElement": + return readAnnotatedRelationshipElementFromElement(reader); + case "annotatedRelationshipElementMetadata": + return readAnnotatedRelationshipElementMetadataFromElement(reader); + case "assetAdministrationShell": + return readAssetAdministrationShellFromElement(reader); + case "assetAdministrationShellMetadata": + return readAssetAdministrationShellMetadataFromElement(reader); + case "basicEventElement": + return readBasicEventElementFromElement(reader); + case "basicEventElementMetadata": + return readBasicEventElementMetadataFromElement(reader); + case "blob": + return readBlobFromElement(reader); + case "blobMetadata": + return readBlobMetadataFromElement(reader); + case "capability": + return readCapabilityFromElement(reader); + case "capabilityMetadata": + return readCapabilityMetadataFromElement(reader); + case "conceptDescription": + return readConceptDescriptionFromElement(reader); + case "entity": + return readEntityFromElement(reader); + case "entityMetadata": + return readEntityMetadataFromElement(reader); + case "file": + return readFileFromElement(reader); + case "fileMetadata": + return readFileMetadataFromElement(reader); + case "multiLanguageProperty": + return readMultiLanguagePropertyFromElement(reader); + case "multiLanguagePropertyMetadata": + return readMultiLanguagePropertyMetadataFromElement(reader); + case "operation": + return readOperationFromElement(reader); + case "operationMetadata": + return readOperationMetadataFromElement(reader); + case "property": + return readPropertyFromElement(reader); + case "propertyMetadata": + return readPropertyMetadataFromElement(reader); + case "range": + return readRangeFromElement(reader); + case "rangeMetadata": + return readRangeMetadataFromElement(reader); + case "referenceElement": + return readReferenceElementFromElement(reader); + case "referenceElementMetadata": + return readReferenceElementMetadataFromElement(reader); + case "relationshipElementMetadata": + return readRelationshipElementMetadataFromElement(reader); + case "submodel": + return readSubmodelFromElement(reader); + case "submodelElementCollection": + return readSubmodelElementCollectionFromElement(reader); + case "submodelElementCollectionMetadata": + return readSubmodelElementCollectionMetadataFromElement(reader); + case "submodelElementList": + return readSubmodelElementListFromElement(reader); + case "submodelElementListMetadata": + return readSubmodelElementListMetadataFromElement(reader); + case "submodelMetadata": + return readSubmodelMetadataFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** Deserialize an instance of IReferable from an XML element. */ + private static Reporting.Result readIReferableFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "relationshipElement": + return readRelationshipElementFromElement(reader); + case "annotatedRelationshipElement": + return readAnnotatedRelationshipElementFromElement(reader); + case "annotatedRelationshipElementMetadata": + return readAnnotatedRelationshipElementMetadataFromElement(reader); + case "assetAdministrationShell": + return readAssetAdministrationShellFromElement(reader); + case "assetAdministrationShellMetadata": + return readAssetAdministrationShellMetadataFromElement(reader); + case "basicEventElement": + return readBasicEventElementFromElement(reader); + case "basicEventElementMetadata": + return readBasicEventElementMetadataFromElement(reader); + case "blob": + return readBlobFromElement(reader); + case "blobMetadata": + return readBlobMetadataFromElement(reader); + case "capability": + return readCapabilityFromElement(reader); + case "capabilityMetadata": + return readCapabilityMetadataFromElement(reader); + case "conceptDescription": + return readConceptDescriptionFromElement(reader); + case "entity": + return readEntityFromElement(reader); + case "entityMetadata": + return readEntityMetadataFromElement(reader); + case "file": + return readFileFromElement(reader); + case "fileMetadata": + return readFileMetadataFromElement(reader); + case "multiLanguageProperty": + return readMultiLanguagePropertyFromElement(reader); + case "multiLanguagePropertyMetadata": + return readMultiLanguagePropertyMetadataFromElement(reader); + case "operation": + return readOperationFromElement(reader); + case "operationMetadata": + return readOperationMetadataFromElement(reader); + case "property": + return readPropertyFromElement(reader); + case "propertyMetadata": + return readPropertyMetadataFromElement(reader); + case "range": + return readRangeFromElement(reader); + case "rangeMetadata": + return readRangeMetadataFromElement(reader); + case "referenceElement": + return readReferenceElementFromElement(reader); + case "referenceElementMetadata": + return readReferenceElementMetadataFromElement(reader); + case "relationshipElementMetadata": + return readRelationshipElementMetadataFromElement(reader); + case "submodel": + return readSubmodelFromElement(reader); + case "submodelElementCollection": + return readSubmodelElementCollectionFromElement(reader); + case "submodelElementCollectionMetadata": + return readSubmodelElementCollectionMetadataFromElement(reader); + case "submodelElementList": + return readSubmodelElementListFromElement(reader); + case "submodelElementListMetadata": + return readSubmodelElementListMetadataFromElement(reader); + case "submodelMetadata": + return readSubmodelMetadataFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** Deserialize an instance of IIdentifiable from an XML element. */ + private static Reporting.Result readIIdentifiableFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "assetAdministrationShell": + return readAssetAdministrationShellFromElement(reader); + case "assetAdministrationShellMetadata": + return readAssetAdministrationShellMetadataFromElement(reader); + case "conceptDescription": + return readConceptDescriptionFromElement(reader); + case "submodel": + return readSubmodelFromElement(reader); + case "submodelMetadata": + return readSubmodelMetadataFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** Deserialize an instance of IHasKind from an XML element. */ + private static Reporting.Result readIHasKindFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "submodel": + return readSubmodelFromElement(reader); + case "submodelMetadata": + return readSubmodelMetadataFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** Deserialize an instance of IHasDataSpecification from an XML element. */ + private static Reporting.Result + readIHasDataSpecificationFromElement(XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "administrativeInformation": + return readAdministrativeInformationFromElement(reader); + case "relationshipElement": + return readRelationshipElementFromElement(reader); + case "annotatedRelationshipElement": + return readAnnotatedRelationshipElementFromElement(reader); + case "annotatedRelationshipElementMetadata": + return readAnnotatedRelationshipElementMetadataFromElement(reader); + case "assetAdministrationShell": + return readAssetAdministrationShellFromElement(reader); + case "assetAdministrationShellMetadata": + return readAssetAdministrationShellMetadataFromElement(reader); + case "basicEventElement": + return readBasicEventElementFromElement(reader); + case "basicEventElementMetadata": + return readBasicEventElementMetadataFromElement(reader); + case "blob": + return readBlobFromElement(reader); + case "blobMetadata": + return readBlobMetadataFromElement(reader); + case "capability": + return readCapabilityFromElement(reader); + case "capabilityMetadata": + return readCapabilityMetadataFromElement(reader); + case "conceptDescription": + return readConceptDescriptionFromElement(reader); + case "entity": + return readEntityFromElement(reader); + case "entityMetadata": + return readEntityMetadataFromElement(reader); + case "file": + return readFileFromElement(reader); + case "fileMetadata": + return readFileMetadataFromElement(reader); + case "multiLanguageProperty": + return readMultiLanguagePropertyFromElement(reader); + case "multiLanguagePropertyMetadata": + return readMultiLanguagePropertyMetadataFromElement(reader); + case "operation": + return readOperationFromElement(reader); + case "operationMetadata": + return readOperationMetadataFromElement(reader); + case "property": + return readPropertyFromElement(reader); + case "propertyMetadata": + return readPropertyMetadataFromElement(reader); + case "range": + return readRangeFromElement(reader); + case "rangeMetadata": + return readRangeMetadataFromElement(reader); + case "referenceElement": + return readReferenceElementFromElement(reader); + case "referenceElementMetadata": + return readReferenceElementMetadataFromElement(reader); + case "relationshipElementMetadata": + return readRelationshipElementMetadataFromElement(reader); + case "submodel": + return readSubmodelFromElement(reader); + case "submodelElementCollection": + return readSubmodelElementCollectionFromElement(reader); + case "submodelElementCollectionMetadata": + return readSubmodelElementCollectionMetadataFromElement(reader); + case "submodelElementList": + return readSubmodelElementListFromElement(reader); + case "submodelElementListMetadata": + return readSubmodelElementListMetadataFromElement(reader); + case "submodelMetadata": + return readSubmodelMetadataFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** + * Deserialize an instance of class AdministrativeInformation from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readAdministrativeInformationFromSequence(XMLEventReader reader, boolean isEmptySequence) { + List theEmbeddedDataSpecifications = null; + String theVersion = null; + String theRevision = null; + IReference theCreator = null; + String theCreatedAt = null; + String theUpdatedAt = null; + String theTemplateId = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "version": + { + if (theVersion != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theVersion = value.getResult(); + } + break; + } + case "revision": + { + if (theRevision != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theRevision = value.getResult(); + } + break; + } + case "creator": + { + if (theCreator != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCreator = value.getResult(); + } + break; + } + case "createdAt": + { + if (theCreatedAt != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCreatedAt = value.getResult(); + } + break; + } + case "updatedAt": + { + if (theUpdatedAt != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theUpdatedAt = value.getResult(); + } + break; + } + case "templateId": + { + if (theTemplateId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theTemplateId = value.getResult(); + } + break; + } + default: + return unexpectedProperty("AdministrativeInformation", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new AdministrativeInformation( + theEmbeddedDataSpecifications, + theVersion, + theRevision, + theCreator, + theCreatedAt, + theUpdatedAt, + theTemplateId)); + } + + /** Deserialize an instance of class AdministrativeInformation from an XML element. */ + private static Reporting.Result + readAdministrativeInformationFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "administrativeInformation", + _DeserializeImplementation::readAdministrativeInformationFromSequence); + } + + /** Deserialize an instance of IQualifiable from an XML element. */ + private static Reporting.Result readIQualifiableFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "relationshipElement": + return readRelationshipElementFromElement(reader); + case "annotatedRelationshipElement": + return readAnnotatedRelationshipElementFromElement(reader); + case "annotatedRelationshipElementMetadata": + return readAnnotatedRelationshipElementMetadataFromElement(reader); + case "basicEventElement": + return readBasicEventElementFromElement(reader); + case "basicEventElementMetadata": + return readBasicEventElementMetadataFromElement(reader); + case "blob": + return readBlobFromElement(reader); + case "blobMetadata": + return readBlobMetadataFromElement(reader); + case "capability": + return readCapabilityFromElement(reader); + case "capabilityMetadata": + return readCapabilityMetadataFromElement(reader); + case "entity": + return readEntityFromElement(reader); + case "entityMetadata": + return readEntityMetadataFromElement(reader); + case "file": + return readFileFromElement(reader); + case "fileMetadata": + return readFileMetadataFromElement(reader); + case "multiLanguageProperty": + return readMultiLanguagePropertyFromElement(reader); + case "multiLanguagePropertyMetadata": + return readMultiLanguagePropertyMetadataFromElement(reader); + case "operation": + return readOperationFromElement(reader); + case "operationMetadata": + return readOperationMetadataFromElement(reader); + case "property": + return readPropertyFromElement(reader); + case "propertyMetadata": + return readPropertyMetadataFromElement(reader); + case "range": + return readRangeFromElement(reader); + case "rangeMetadata": + return readRangeMetadataFromElement(reader); + case "referenceElement": + return readReferenceElementFromElement(reader); + case "referenceElementMetadata": + return readReferenceElementMetadataFromElement(reader); + case "relationshipElementMetadata": + return readRelationshipElementMetadataFromElement(reader); + case "submodel": + return readSubmodelFromElement(reader); + case "submodelElementCollection": + return readSubmodelElementCollectionFromElement(reader); + case "submodelElementCollectionMetadata": + return readSubmodelElementCollectionMetadataFromElement(reader); + case "submodelElementList": + return readSubmodelElementListFromElement(reader); + case "submodelElementListMetadata": + return readSubmodelElementListMetadataFromElement(reader); + case "submodelMetadata": + return readSubmodelMetadataFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** + * Deserialize an instance of class Qualifier from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readQualifierFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + QualifierKind theKind = null; + String theType = null; + DataTypeDefXsd theValueType = null; + String theValue = null; + IReference theValueId = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "kind": + { + if (theKind != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_QualifierKind(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theKind = value.getResult(); + } + break; + } + case "type": + { + if (theType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theType = value.getResult(); + } + break; + } + case "valueType": + { + if (theValueType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_DataTypeDefXsd(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueType = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + case "valueId": + { + if (theValueId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueId = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Qualifier", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theType == null) { + return missingRequiredProperty("type", "Qualifier"); + } + + if (theValueType == null) { + return missingRequiredProperty("valueType", "Qualifier"); + } + + return Reporting.Result.success( + new Qualifier( + theType, + theValueType, + theSemanticId, + theSupplementalSemanticIds, + theKind, + theValue, + theValueId)); + } + + /** Deserialize an instance of class Qualifier from an XML element. */ + private static Reporting.Result readQualifierFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "qualifier", _DeserializeImplementation::readQualifierFromSequence); + } + + /** + * Deserialize an instance of class AssetAdministrationShell from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readAssetAdministrationShellFromSequence(XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IAdministrativeInformation theAdministration = null; + String theId = null; + List theEmbeddedDataSpecifications = null; + IReference theDerivedFrom = null; + IAssetInformation theAssetInformation = null; + List theSubmodels = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "administration": + { + if (theAdministration != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readAdministrativeInformationFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAdministration = value.getResult(); + } + break; + } + case "id": + { + if (theId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theId = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "derivedFrom": + { + if (theDerivedFrom != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDerivedFrom = value.getResult(); + } + break; + } + case "assetInformation": + { + if (theAssetInformation != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readAssetInformationFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAssetInformation = value.getResult(); + } + break; + } + case "submodels": + { + if (theSubmodels != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSubmodels = value.getResult(); + } + break; + } + default: + return unexpectedProperty("AssetAdministrationShell", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theId == null) { + return missingRequiredProperty("id", "AssetAdministrationShell"); + } + + if (theAssetInformation == null) { + return missingRequiredProperty("assetInformation", "AssetAdministrationShell"); + } + + return Reporting.Result.success( + new AssetAdministrationShell( + theId, + theAssetInformation, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theAdministration, + theEmbeddedDataSpecifications, + theDerivedFrom, + theSubmodels)); + } + + /** Deserialize an instance of class AssetAdministrationShell from an XML element. */ + private static Reporting.Result + readAssetAdministrationShellFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "assetAdministrationShell", + _DeserializeImplementation::readAssetAdministrationShellFromSequence); + } + + /** + * Deserialize an instance of class AssetInformation from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readAssetInformationFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + AssetKind theAssetKind = null; + String theGlobalAssetId = null; + List theSpecificAssetIds = null; + String theAssetType = null; + IResource theDefaultThumbnail = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "assetKind": + { + if (theAssetKind != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_AssetKind(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAssetKind = value.getResult(); + } + break; + } + case "globalAssetId": + { + if (theGlobalAssetId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theGlobalAssetId = value.getResult(); + } + break; + } + case "specificAssetIds": + { + if (theSpecificAssetIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISpecificAssetId(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSpecificAssetIds = value.getResult(); + } + break; + } + case "assetType": + { + if (theAssetType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAssetType = value.getResult(); + } + break; + } + case "defaultThumbnail": + { + if (theDefaultThumbnail != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readResourceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDefaultThumbnail = value.getResult(); + } + break; + } + default: + return unexpectedProperty("AssetInformation", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theAssetKind == null) { + return missingRequiredProperty("assetKind", "AssetInformation"); + } + + return Reporting.Result.success( + new AssetInformation( + theAssetKind, + theGlobalAssetId, + theSpecificAssetIds, + theAssetType, + theDefaultThumbnail)); + } + + /** Deserialize an instance of class AssetInformation from an XML element. */ + private static Reporting.Result readAssetInformationFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "assetInformation", _DeserializeImplementation::readAssetInformationFromSequence); + } + + /** + * Deserialize an instance of class Resource from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readResourceFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String thePath = null; + String theContentType = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "path": + { + if (thePath != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePath = value.getResult(); + } + break; + } + case "contentType": + { + if (theContentType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theContentType = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Resource", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePath == null) { + return missingRequiredProperty("path", "Resource"); + } + + return Reporting.Result.success(new Resource(thePath, theContentType)); + } + + /** Deserialize an instance of class Resource from an XML element. */ + private static Reporting.Result readResourceFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "resource", _DeserializeImplementation::readResourceFromSequence); + } + + /** + * Deserialize an instance of class SpecificAssetId from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readSpecificAssetIdFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + String theName = null; + String theValue = null; + IReference theExternalSubjectId = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "name": + { + if (theName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theName = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + case "externalSubjectId": + { + if (theExternalSubjectId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExternalSubjectId = value.getResult(); + } + break; + } + default: + return unexpectedProperty("SpecificAssetId", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theName == null) { + return missingRequiredProperty("name", "SpecificAssetId"); + } + + if (theValue == null) { + return missingRequiredProperty("value", "SpecificAssetId"); + } + + return Reporting.Result.success( + new SpecificAssetId( + theName, theValue, theSemanticId, theSupplementalSemanticIds, theExternalSubjectId)); + } + + /** Deserialize an instance of class SpecificAssetId from an XML element. */ + private static Reporting.Result readSpecificAssetIdFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "specificAssetId", _DeserializeImplementation::readSpecificAssetIdFromSequence); + } + + /** + * Deserialize an instance of class Submodel from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readSubmodelFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IAdministrativeInformation theAdministration = null; + String theId = null; + ModellingKind theKind = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + List theSubmodelElements = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "administration": + { + if (theAdministration != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readAdministrativeInformationFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAdministration = value.getResult(); + } + break; + } + case "id": + { + if (theId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theId = value.getResult(); + } + break; + } + case "kind": + { + if (theKind != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_ModellingKind(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theKind = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "submodelElements": + { + if (theSubmodelElements != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISubmodelElement(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSubmodelElements = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Submodel", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theId == null) { + return missingRequiredProperty("id", "Submodel"); + } + + return Reporting.Result.success( + new Submodel( + theId, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theAdministration, + theKind, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theSubmodelElements)); + } + + /** Deserialize an instance of class Submodel from an XML element. */ + private static Reporting.Result readSubmodelFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "submodel", _DeserializeImplementation::readSubmodelFromSequence); + } + + /** Deserialize an instance of ISubmodelElement from an XML element. */ + private static Reporting.Result readISubmodelElementFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "relationshipElement": + return readRelationshipElementFromElement(reader); + case "annotatedRelationshipElement": + return readAnnotatedRelationshipElementFromElement(reader); + case "basicEventElement": + return readBasicEventElementFromElement(reader); + case "blob": + return readBlobFromElement(reader); + case "capability": + return readCapabilityFromElement(reader); + case "entity": + return readEntityFromElement(reader); + case "file": + return readFileFromElement(reader); + case "multiLanguageProperty": + return readMultiLanguagePropertyFromElement(reader); + case "operation": + return readOperationFromElement(reader); + case "property": + return readPropertyFromElement(reader); + case "range": + return readRangeFromElement(reader); + case "referenceElement": + return readReferenceElementFromElement(reader); + case "submodelElementCollection": + return readSubmodelElementCollectionFromElement(reader); + case "submodelElementList": + return readSubmodelElementListFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** + * Deserialize an instance of class RelationshipElement from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readRelationshipElementFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + IReference theFirst = null; + IReference theSecond = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "first": + { + if (theFirst != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theFirst = value.getResult(); + } + break; + } + case "second": + { + if (theSecond != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSecond = value.getResult(); + } + break; + } + default: + return unexpectedProperty("RelationshipElement", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new RelationshipElement( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theFirst, + theSecond)); + } + + /** Deserialize an instance of IRelationshipElement from an XML element. */ + private static Reporting.Result + readIRelationshipElementFromElement(XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "annotatedRelationshipElement": + return readAnnotatedRelationshipElementFromElement(reader); + case "relationshipElement": + return readRelationshipElementFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** Deserialize an instance of class RelationshipElement from an XML element. */ + private static Reporting.Result + readRelationshipElementFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "relationshipElement", + _DeserializeImplementation::readRelationshipElementFromSequence); + } + + /** + * Deserialize an instance of class SubmodelElementList from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readSubmodelElementListFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + Boolean theOrderRelevant = null; + IReference theSemanticIdListElement = null; + AasSubmodelElements theTypeValueListElement = null; + DataTypeDefXsd theValueTypeListElement = null; + List theValue = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "orderRelevant": + { + if (theOrderRelevant != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_bool(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theOrderRelevant = value.getResult(); + } + break; + } + case "semanticIdListElement": + { + if (theSemanticIdListElement != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticIdListElement = value.getResult(); + } + break; + } + case "typeValueListElement": + { + if (theTypeValueListElement != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_AasSubmodelElements(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theTypeValueListElement = value.getResult(); + } + break; + } + case "valueTypeListElement": + { + if (theValueTypeListElement != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_DataTypeDefXsd(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueTypeListElement = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISubmodelElement(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + default: + return unexpectedProperty("SubmodelElementList", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theTypeValueListElement == null) { + return missingRequiredProperty("typeValueListElement", "SubmodelElementList"); + } + + return Reporting.Result.success( + new SubmodelElementList( + theTypeValueListElement, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theOrderRelevant, + theSemanticIdListElement, + theValueTypeListElement, + theValue)); + } + + /** Deserialize an instance of class SubmodelElementList from an XML element. */ + private static Reporting.Result + readSubmodelElementListFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "submodelElementList", + _DeserializeImplementation::readSubmodelElementListFromSequence); + } + + /** + * Deserialize an instance of class SubmodelElementCollection from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readSubmodelElementCollectionFromSequence(XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + List theValue = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISubmodelElement(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + default: + return unexpectedProperty("SubmodelElementCollection", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new SubmodelElementCollection( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue)); + } + + /** Deserialize an instance of class SubmodelElementCollection from an XML element. */ + private static Reporting.Result + readSubmodelElementCollectionFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "submodelElementCollection", + _DeserializeImplementation::readSubmodelElementCollectionFromSequence); + } + + /** Deserialize an instance of IDataElement from an XML element. */ + private static Reporting.Result readIDataElementFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "blob": + return readBlobFromElement(reader); + case "file": + return readFileFromElement(reader); + case "multiLanguageProperty": + return readMultiLanguagePropertyFromElement(reader); + case "property": + return readPropertyFromElement(reader); + case "range": + return readRangeFromElement(reader); + case "referenceElement": + return readReferenceElementFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** + * Deserialize an instance of class Property from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readPropertyFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + DataTypeDefXsd theValueType = null; + String theValue = null; + IReference theValueId = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "valueType": + { + if (theValueType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_DataTypeDefXsd(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueType = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + case "valueId": + { + if (theValueId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueId = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Property", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theValueType == null) { + return missingRequiredProperty("valueType", "Property"); + } + + return Reporting.Result.success( + new Property( + theValueType, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue, + theValueId)); + } + + /** Deserialize an instance of class Property from an XML element. */ + private static Reporting.Result readPropertyFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "property", _DeserializeImplementation::readPropertyFromSequence); + } + + /** + * Deserialize an instance of class MultiLanguageProperty from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readMultiLanguagePropertyFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + List theValue = null; + IReference theValueId = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + case "valueId": + { + if (theValueId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueId = value.getResult(); + } + break; + } + default: + return unexpectedProperty("MultiLanguageProperty", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new MultiLanguageProperty( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue, + theValueId)); + } + + /** Deserialize an instance of class MultiLanguageProperty from an XML element. */ + private static Reporting.Result + readMultiLanguagePropertyFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "multiLanguageProperty", + _DeserializeImplementation::readMultiLanguagePropertyFromSequence); + } + + /** + * Deserialize an instance of class Range from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readRangeFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + DataTypeDefXsd theValueType = null; + String theMin = null; + String theMax = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "valueType": + { + if (theValueType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_DataTypeDefXsd(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueType = value.getResult(); + } + break; + } + case "min": + { + if (theMin != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMin = value.getResult(); + } + break; + } + case "max": + { + if (theMax != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMax = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Range", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theValueType == null) { + return missingRequiredProperty("valueType", "Range"); + } + + return Reporting.Result.success( + new Range( + theValueType, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theMin, + theMax)); + } + + /** Deserialize an instance of class Range from an XML element. */ + private static Reporting.Result readRangeFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "range", _DeserializeImplementation::readRangeFromSequence); + } + + /** + * Deserialize an instance of class ReferenceElement from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readReferenceElementFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + IReference theValue = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + default: + return unexpectedProperty("ReferenceElement", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new ReferenceElement( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue)); + } + + /** Deserialize an instance of class ReferenceElement from an XML element. */ + private static Reporting.Result readReferenceElementFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "referenceElement", _DeserializeImplementation::readReferenceElementFromSequence); + } + + /** + * Deserialize an instance of class Blob from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readBlobFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + byte[] theValue = null; + String theContentType = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_bytes(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + case "contentType": + { + if (theContentType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theContentType = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Blob", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new Blob( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue, + theContentType)); + } + + /** Deserialize an instance of class Blob from an XML element. */ + private static Reporting.Result readBlobFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "blob", _DeserializeImplementation::readBlobFromSequence); + } + + /** + * Deserialize an instance of class File from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readFileFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + String theValue = null; + String theContentType = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + case "contentType": + { + if (theContentType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theContentType = value.getResult(); + } + break; + } + default: + return unexpectedProperty("File", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new File( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue, + theContentType)); + } + + /** Deserialize an instance of class File from an XML element. */ + private static Reporting.Result readFileFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "file", _DeserializeImplementation::readFileFromSequence); + } + + /** + * Deserialize an instance of class AnnotatedRelationshipElement from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readAnnotatedRelationshipElementFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + IReference theFirst = null; + IReference theSecond = null; + List theAnnotations = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "first": + { + if (theFirst != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theFirst = value.getResult(); + } + break; + } + case "second": + { + if (theSecond != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSecond = value.getResult(); + } + break; + } + case "annotations": + { + if (theAnnotations != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IDataElement(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAnnotations = value.getResult(); + } + break; + } + default: + return unexpectedProperty("AnnotatedRelationshipElement", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new AnnotatedRelationshipElement( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theFirst, + theSecond, + theAnnotations)); + } + + /** Deserialize an instance of class AnnotatedRelationshipElement from an XML element. */ + private static Reporting.Result + readAnnotatedRelationshipElementFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "annotatedRelationshipElement", + _DeserializeImplementation::readAnnotatedRelationshipElementFromSequence); + } + + /** + * Deserialize an instance of class Entity from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readEntityFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + List theStatements = null; + EntityType theEntityType = null; + String theGlobalAssetId = null; + List theSpecificAssetIds = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "statements": + { + if (theStatements != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISubmodelElement(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theStatements = value.getResult(); + } + break; + } + case "entityType": + { + if (theEntityType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_EntityType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEntityType = value.getResult(); + } + break; + } + case "globalAssetId": + { + if (theGlobalAssetId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theGlobalAssetId = value.getResult(); + } + break; + } + case "specificAssetIds": + { + if (theSpecificAssetIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISpecificAssetId(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSpecificAssetIds = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Entity", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new Entity( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theStatements, + theEntityType, + theGlobalAssetId, + theSpecificAssetIds)); + } + + /** Deserialize an instance of class Entity from an XML element. */ + private static Reporting.Result readEntityFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "entity", _DeserializeImplementation::readEntityFromSequence); + } + + /** + * Deserialize an instance of class EventPayload from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readEventPayloadFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IReference theSource = null; + IReference theSourceSemanticId = null; + IReference theObservableReference = null; + IReference theObservableSemanticId = null; + String theTopic = null; + IReference theSubjectId = null; + String theTimeStamp = null; + byte[] thePayload = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "source": + { + if (theSource != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSource = value.getResult(); + } + break; + } + case "sourceSemanticId": + { + if (theSourceSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSourceSemanticId = value.getResult(); + } + break; + } + case "observableReference": + { + if (theObservableReference != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theObservableReference = value.getResult(); + } + break; + } + case "observableSemanticId": + { + if (theObservableSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theObservableSemanticId = value.getResult(); + } + break; + } + case "topic": + { + if (theTopic != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theTopic = value.getResult(); + } + break; + } + case "subjectId": + { + if (theSubjectId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSubjectId = value.getResult(); + } + break; + } + case "timeStamp": + { + if (theTimeStamp != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theTimeStamp = value.getResult(); + } + break; + } + case "payload": + { + if (thePayload != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_bytes(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePayload = value.getResult(); + } + break; + } + default: + return unexpectedProperty("EventPayload", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theSource == null) { + return missingRequiredProperty("source", "EventPayload"); + } + + if (theObservableReference == null) { + return missingRequiredProperty("observableReference", "EventPayload"); + } + + if (theTimeStamp == null) { + return missingRequiredProperty("timeStamp", "EventPayload"); + } + + return Reporting.Result.success( + new EventPayload( + theSource, + theObservableReference, + theTimeStamp, + theSourceSemanticId, + theObservableSemanticId, + theTopic, + theSubjectId, + thePayload)); + } + + /** Deserialize an instance of class EventPayload from an XML element. */ + private static Reporting.Result readEventPayloadFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "eventPayload", _DeserializeImplementation::readEventPayloadFromSequence); + } + + /** Deserialize an instance of IEventElement from an XML element. */ + private static Reporting.Result readIEventElementFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "basicEventElement": + return readBasicEventElementFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** + * Deserialize an instance of class BasicEventElement from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readBasicEventElementFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + IReference theObserved = null; + Direction theDirection = null; + StateOfEvent theState = null; + String theMessageTopic = null; + IReference theMessageBroker = null; + String theLastUpdate = null; + String theMinInterval = null; + String theMaxInterval = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "observed": + { + if (theObserved != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theObserved = value.getResult(); + } + break; + } + case "direction": + { + if (theDirection != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_Direction(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDirection = value.getResult(); + } + break; + } + case "state": + { + if (theState != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_StateOfEvent(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theState = value.getResult(); + } + break; + } + case "messageTopic": + { + if (theMessageTopic != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMessageTopic = value.getResult(); + } + break; + } + case "messageBroker": + { + if (theMessageBroker != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMessageBroker = value.getResult(); + } + break; + } + case "lastUpdate": + { + if (theLastUpdate != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theLastUpdate = value.getResult(); + } + break; + } + case "minInterval": + { + if (theMinInterval != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMinInterval = value.getResult(); + } + break; + } + case "maxInterval": + { + if (theMaxInterval != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMaxInterval = value.getResult(); + } + break; + } + default: + return unexpectedProperty("BasicEventElement", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theObserved == null) { + return missingRequiredProperty("observed", "BasicEventElement"); + } + + if (theDirection == null) { + return missingRequiredProperty("direction", "BasicEventElement"); + } + + if (theState == null) { + return missingRequiredProperty("state", "BasicEventElement"); + } + + return Reporting.Result.success( + new BasicEventElement( + theObserved, + theDirection, + theState, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theMessageTopic, + theMessageBroker, + theLastUpdate, + theMinInterval, + theMaxInterval)); + } + + /** Deserialize an instance of class BasicEventElement from an XML element. */ + private static Reporting.Result readBasicEventElementFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "basicEventElement", + _DeserializeImplementation::readBasicEventElementFromSequence); + } + + /** + * Deserialize an instance of class Operation from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readOperationFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + List theInputVariables = null; + List theOutputVariables = null; + List theInoutputVariables = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "inputVariables": + { + if (theInputVariables != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IOperationVariable(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theInputVariables = value.getResult(); + } + break; + } + case "outputVariables": + { + if (theOutputVariables != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IOperationVariable(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theOutputVariables = value.getResult(); + } + break; + } + case "inoutputVariables": + { + if (theInoutputVariables != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IOperationVariable(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theInoutputVariables = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Operation", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new Operation( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theInputVariables, + theOutputVariables, + theInoutputVariables)); + } + + /** Deserialize an instance of class Operation from an XML element. */ + private static Reporting.Result readOperationFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "operation", _DeserializeImplementation::readOperationFromSequence); + } + + /** + * Deserialize an instance of class OperationVariable from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readOperationVariableFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + ISubmodelElement theValue = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + XmlCommon.readNestedElement( + reader, + isEmptyProperty, + _DeserializeImplementation::readISubmodelElementFromElement); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + default: + return unexpectedProperty("OperationVariable", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theValue == null) { + return missingRequiredProperty("value", "OperationVariable"); + } + + return Reporting.Result.success(new OperationVariable(theValue)); + } + + /** Deserialize an instance of class OperationVariable from an XML element. */ + private static Reporting.Result readOperationVariableFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "operationVariable", + _DeserializeImplementation::readOperationVariableFromSequence); + } + + /** + * Deserialize an instance of class Capability from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readCapabilityFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Capability", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new Capability( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** Deserialize an instance of class Capability from an XML element. */ + private static Reporting.Result readCapabilityFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "capability", _DeserializeImplementation::readCapabilityFromSequence); + } + + /** + * Deserialize an instance of class ConceptDescription from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readConceptDescriptionFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IAdministrativeInformation theAdministration = null; + String theId = null; + List theEmbeddedDataSpecifications = null; + List theIsCaseOf = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "administration": + { + if (theAdministration != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readAdministrativeInformationFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAdministration = value.getResult(); + } + break; + } + case "id": + { + if (theId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theId = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "isCaseOf": + { + if (theIsCaseOf != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIsCaseOf = value.getResult(); + } + break; + } + default: + return unexpectedProperty("ConceptDescription", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theId == null) { + return missingRequiredProperty("id", "ConceptDescription"); + } + + return Reporting.Result.success( + new ConceptDescription( + theId, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theAdministration, + theEmbeddedDataSpecifications, + theIsCaseOf)); + } + + /** Deserialize an instance of class ConceptDescription from an XML element. */ + private static Reporting.Result readConceptDescriptionFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "conceptDescription", + _DeserializeImplementation::readConceptDescriptionFromSequence); + } + + /** + * Deserialize an instance of class Reference from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readReferenceFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + ReferenceTypes theType = null; + IReference theReferredSemanticId = null; + List theKeys = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "type": + { + if (theType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_ReferenceTypes(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theType = value.getResult(); + } + break; + } + case "referredSemanticId": + { + if (theReferredSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theReferredSemanticId = value.getResult(); + } + break; + } + case "keys": + { + if (theKeys != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = readListOf_IKey(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theKeys = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Reference", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theType == null) { + return missingRequiredProperty("type", "Reference"); + } + + if (theKeys == null) { + return missingRequiredProperty("keys", "Reference"); + } + + return Reporting.Result.success(new Reference(theType, theKeys, theReferredSemanticId)); + } + + /** Deserialize an instance of class Reference from an XML element. */ + private static Reporting.Result readReferenceFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "reference", _DeserializeImplementation::readReferenceFromSequence); + } + + /** + * Deserialize an instance of class Key from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readKeyFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + KeyTypes theType = null; + String theValue = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "type": + { + if (theType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_KeyTypes(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theType = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Key", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theType == null) { + return missingRequiredProperty("type", "Key"); + } + + if (theValue == null) { + return missingRequiredProperty("value", "Key"); + } + + return Reporting.Result.success(new Key(theType, theValue)); + } + + /** Deserialize an instance of class Key from an XML element. */ + private static Reporting.Result readKeyFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "key", _DeserializeImplementation::readKeyFromSequence); + } + + /** Deserialize an instance of IAbstractLangString from an XML element. */ + private static Reporting.Result + readIAbstractLangStringFromElement(XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "definitionTypeUom": + return readDefinitionTypeUomFromElement(reader); + case "langStringDefinitionTypeIec61360": + return readLangStringDefinitionTypeIec61360FromElement(reader); + case "langStringNameType": + return readLangStringNameTypeFromElement(reader); + case "langStringPreferredNameTypeIec61360": + return readLangStringPreferredNameTypeIec61360FromElement(reader); + case "langStringShortNameTypeIec61360": + return readLangStringShortNameTypeIec61360FromElement(reader); + case "langStringTextType": + return readLangStringTextTypeFromElement(reader); + case "langStringUom": + return readLangStringUomFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** + * Deserialize an instance of class LangStringNameType from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readLangStringNameTypeFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theLanguage = null; + String theText = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "language": + { + if (theLanguage != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theLanguage = value.getResult(); + } + break; + } + case "text": + { + if (theText != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theText = value.getResult(); + } + break; + } + default: + return unexpectedProperty("LangStringNameType", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language", "LangStringNameType"); + } + + if (theText == null) { + return missingRequiredProperty("text", "LangStringNameType"); + } + + return Reporting.Result.success(new LangStringNameType(theLanguage, theText)); + } + + /** Deserialize an instance of class LangStringNameType from an XML element. */ + private static Reporting.Result readLangStringNameTypeFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "langStringNameType", + _DeserializeImplementation::readLangStringNameTypeFromSequence); + } + + /** + * Deserialize an instance of class LangStringTextType from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readLangStringTextTypeFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theLanguage = null; + String theText = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "language": + { + if (theLanguage != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theLanguage = value.getResult(); + } + break; + } + case "text": + { + if (theText != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theText = value.getResult(); + } + break; + } + default: + return unexpectedProperty("LangStringTextType", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language", "LangStringTextType"); + } + + if (theText == null) { + return missingRequiredProperty("text", "LangStringTextType"); + } + + return Reporting.Result.success(new LangStringTextType(theLanguage, theText)); + } + + /** Deserialize an instance of class LangStringTextType from an XML element. */ + private static Reporting.Result readLangStringTextTypeFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "langStringTextType", + _DeserializeImplementation::readLangStringTextTypeFromSequence); + } + + /** + * Deserialize an instance of class Environment from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readEnvironmentFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theAssetAdministrationShells = null; + List theSubmodels = null; + List theConceptDescriptions = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "assetAdministrationShells": + { + if (theAssetAdministrationShells != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IAssetAdministrationShell(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAssetAdministrationShells = value.getResult(); + } + break; + } + case "submodels": + { + if (theSubmodels != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISubmodel(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSubmodels = value.getResult(); + } + break; + } + case "conceptDescriptions": + { + if (theConceptDescriptions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IConceptDescription(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theConceptDescriptions = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Environment", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new Environment(theAssetAdministrationShells, theSubmodels, theConceptDescriptions)); + } + + /** Deserialize an instance of class Environment from an XML element. */ + private static Reporting.Result readEnvironmentFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "environment", _DeserializeImplementation::readEnvironmentFromSequence); + } + + /** Deserialize an instance of IDataSpecificationContent from an XML element. */ + private static Reporting.Result + readIDataSpecificationContentFromElement(XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "dataSpecificationIec61360": + return readDataSpecificationIec61360FromElement(reader); + case "dataSpecificationUom": + return readDataSpecificationUomFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** + * Deserialize an instance of class EmbeddedDataSpecification from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readEmbeddedDataSpecificationFromSequence(XMLEventReader reader, boolean isEmptySequence) { + IReference theDataSpecification = null; + IDataSpecificationContent theDataSpecificationContent = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "dataSpecification": + { + if (theDataSpecification != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDataSpecification = value.getResult(); + } + break; + } + case "dataSpecificationContent": + { + if (theDataSpecificationContent != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + XmlCommon.readNestedElement( + reader, + isEmptyProperty, + _DeserializeImplementation::readIDataSpecificationContentFromElement); + if (value.isError()) { + valueError = value.getError(); + } else { + theDataSpecificationContent = value.getResult(); + } + break; + } + default: + return unexpectedProperty("EmbeddedDataSpecification", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theDataSpecification == null) { + return missingRequiredProperty("dataSpecification", "EmbeddedDataSpecification"); + } + + if (theDataSpecificationContent == null) { + return missingRequiredProperty("dataSpecificationContent", "EmbeddedDataSpecification"); + } + + return Reporting.Result.success( + new EmbeddedDataSpecification(theDataSpecification, theDataSpecificationContent)); + } + + /** Deserialize an instance of class EmbeddedDataSpecification from an XML element. */ + private static Reporting.Result + readEmbeddedDataSpecificationFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "embeddedDataSpecification", + _DeserializeImplementation::readEmbeddedDataSpecificationFromSequence); + } + + /** + * Deserialize an instance of class LevelType from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readLevelTypeFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + Boolean theMin = null; + Boolean theNom = null; + Boolean theTyp = null; + Boolean theMax = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "min": + { + if (theMin != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_bool(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMin = value.getResult(); + } + break; + } + case "nom": + { + if (theNom != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_bool(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theNom = value.getResult(); + } + break; + } + case "typ": + { + if (theTyp != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_bool(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theTyp = value.getResult(); + } + break; + } + case "max": + { + if (theMax != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_bool(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMax = value.getResult(); + } + break; + } + default: + return unexpectedProperty("LevelType", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theMin == null) { + return missingRequiredProperty("min", "LevelType"); + } + + if (theNom == null) { + return missingRequiredProperty("nom", "LevelType"); + } + + if (theTyp == null) { + return missingRequiredProperty("typ", "LevelType"); + } + + if (theMax == null) { + return missingRequiredProperty("max", "LevelType"); + } + + return Reporting.Result.success(new LevelType(theMin, theNom, theTyp, theMax)); + } + + /** Deserialize an instance of class LevelType from an XML element. */ + private static Reporting.Result readLevelTypeFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "levelType", _DeserializeImplementation::readLevelTypeFromSequence); + } + + /** + * Deserialize an instance of class ValueReferencePair from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readValueReferencePairFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theValue = null; + IReference theValueId = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + case "valueId": + { + if (theValueId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueId = value.getResult(); + } + break; + } + default: + return unexpectedProperty("ValueReferencePair", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theValue == null) { + return missingRequiredProperty("value", "ValueReferencePair"); + } + + return Reporting.Result.success(new ValueReferencePair(theValue, theValueId)); + } + + /** Deserialize an instance of class ValueReferencePair from an XML element. */ + private static Reporting.Result readValueReferencePairFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "valueReferencePair", + _DeserializeImplementation::readValueReferencePairFromSequence); + } + + /** + * Deserialize an instance of class ValueList from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readValueListFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theValueReferencePairs = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "valueReferencePairs": + { + if (theValueReferencePairs != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IValueReferencePair(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueReferencePairs = value.getResult(); + } + break; + } + default: + return unexpectedProperty("ValueList", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theValueReferencePairs == null) { + return missingRequiredProperty("valueReferencePairs", "ValueList"); + } + + return Reporting.Result.success(new ValueList(theValueReferencePairs)); + } + + /** Deserialize an instance of class ValueList from an XML element. */ + private static Reporting.Result readValueListFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "valueList", _DeserializeImplementation::readValueListFromSequence); + } + + /** + * Deserialize an instance of class LangStringPreferredNameTypeIec61360 from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readLangStringPreferredNameTypeIec61360FromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theLanguage = null; + String theText = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "language": + { + if (theLanguage != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theLanguage = value.getResult(); + } + break; + } + case "text": + { + if (theText != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theText = value.getResult(); + } + break; + } + default: + return unexpectedProperty("LangStringPreferredNameTypeIec61360", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language", "LangStringPreferredNameTypeIec61360"); + } + + if (theText == null) { + return missingRequiredProperty("text", "LangStringPreferredNameTypeIec61360"); + } + + return Reporting.Result.success( + new LangStringPreferredNameTypeIec61360(theLanguage, theText)); + } + + /** Deserialize an instance of class LangStringPreferredNameTypeIec61360 from an XML element. */ + private static Reporting.Result + readLangStringPreferredNameTypeIec61360FromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "langStringPreferredNameTypeIec61360", + _DeserializeImplementation::readLangStringPreferredNameTypeIec61360FromSequence); + } + + /** + * Deserialize an instance of class LangStringShortNameTypeIec61360 from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readLangStringShortNameTypeIec61360FromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theLanguage = null; + String theText = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "language": + { + if (theLanguage != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theLanguage = value.getResult(); + } + break; + } + case "text": + { + if (theText != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theText = value.getResult(); + } + break; + } + default: + return unexpectedProperty("LangStringShortNameTypeIec61360", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language", "LangStringShortNameTypeIec61360"); + } + + if (theText == null) { + return missingRequiredProperty("text", "LangStringShortNameTypeIec61360"); + } + + return Reporting.Result.success(new LangStringShortNameTypeIec61360(theLanguage, theText)); + } + + /** Deserialize an instance of class LangStringShortNameTypeIec61360 from an XML element. */ + private static Reporting.Result + readLangStringShortNameTypeIec61360FromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "langStringShortNameTypeIec61360", + _DeserializeImplementation::readLangStringShortNameTypeIec61360FromSequence); + } + + /** + * Deserialize an instance of class LangStringDefinitionTypeIec61360 from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readLangStringDefinitionTypeIec61360FromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theLanguage = null; + String theText = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "language": + { + if (theLanguage != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theLanguage = value.getResult(); + } + break; + } + case "text": + { + if (theText != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theText = value.getResult(); + } + break; + } + default: + return unexpectedProperty("LangStringDefinitionTypeIec61360", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language", "LangStringDefinitionTypeIec61360"); + } + + if (theText == null) { + return missingRequiredProperty("text", "LangStringDefinitionTypeIec61360"); + } + + return Reporting.Result.success(new LangStringDefinitionTypeIec61360(theLanguage, theText)); + } + + /** Deserialize an instance of class LangStringDefinitionTypeIec61360 from an XML element. */ + private static Reporting.Result + readLangStringDefinitionTypeIec61360FromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "langStringDefinitionTypeIec61360", + _DeserializeImplementation::readLangStringDefinitionTypeIec61360FromSequence); + } + + /** + * Deserialize an instance of class LangStringUom from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readLangStringUomFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theLanguage = null; + String theText = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "language": + { + if (theLanguage != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theLanguage = value.getResult(); + } + break; + } + case "text": + { + if (theText != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theText = value.getResult(); + } + break; + } + default: + return unexpectedProperty("LangStringUom", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language", "LangStringUom"); + } + + if (theText == null) { + return missingRequiredProperty("text", "LangStringUom"); + } + + return Reporting.Result.success(new LangStringUom(theLanguage, theText)); + } + + /** Deserialize an instance of class LangStringUom from an XML element. */ + private static Reporting.Result readLangStringUomFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "langStringUom", _DeserializeImplementation::readLangStringUomFromSequence); + } + + /** + * Deserialize an instance of class DefinitionTypeUom from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readDefinitionTypeUomFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theLanguage = null; + String theText = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "language": + { + if (theLanguage != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theLanguage = value.getResult(); + } + break; + } + case "text": + { + if (theText != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theText = value.getResult(); + } + break; + } + default: + return unexpectedProperty("DefinitionTypeUom", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language", "DefinitionTypeUom"); + } + + if (theText == null) { + return missingRequiredProperty("text", "DefinitionTypeUom"); + } + + return Reporting.Result.success(new DefinitionTypeUom(theLanguage, theText)); + } + + /** Deserialize an instance of class DefinitionTypeUom from an XML element. */ + private static Reporting.Result readDefinitionTypeUomFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "definitionTypeUom", + _DeserializeImplementation::readDefinitionTypeUomFromSequence); + } + + /** + * Deserialize an instance of class DataSpecificationUom from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readDataSpecificationUomFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List thePreferredName = null; + String theSymbol = null; + String theSpecificUnitId = null; + List theDefinition = null; + List thePreferredNameQuantity = null; + String theQuantityId = null; + String theClassificationSystem = null; + String theClassificationSystemVersion = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "preferredName": + { + if (thePreferredName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringUom(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePreferredName = value.getResult(); + } + break; + } + case "symbol": + { + if (theSymbol != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSymbol = value.getResult(); + } + break; + } + case "specificUnitId": + { + if (theSpecificUnitId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSpecificUnitId = value.getResult(); + } + break; + } + case "definition": + { + if (theDefinition != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IDefinitionTypeUom(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDefinition = value.getResult(); + } + break; + } + case "preferredNameQuantity": + { + if (thePreferredNameQuantity != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringUom(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePreferredNameQuantity = value.getResult(); + } + break; + } + case "quantityId": + { + if (theQuantityId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQuantityId = value.getResult(); + } + break; + } + case "classificationSystem": + { + if (theClassificationSystem != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theClassificationSystem = value.getResult(); + } + break; + } + case "classificationSystemVersion": + { + if (theClassificationSystemVersion != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theClassificationSystemVersion = value.getResult(); + } + break; + } + default: + return unexpectedProperty("DataSpecificationUom", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePreferredName == null) { + return missingRequiredProperty("preferredName", "DataSpecificationUom"); + } + + if (theSymbol == null) { + return missingRequiredProperty("symbol", "DataSpecificationUom"); + } + + return Reporting.Result.success( + new DataSpecificationUom( + thePreferredName, + theSymbol, + theSpecificUnitId, + theDefinition, + thePreferredNameQuantity, + theQuantityId, + theClassificationSystem, + theClassificationSystemVersion)); + } + + /** Deserialize an instance of class DataSpecificationUom from an XML element. */ + private static Reporting.Result + readDataSpecificationUomFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "dataSpecificationUom", + _DeserializeImplementation::readDataSpecificationUomFromSequence); + } + + /** + * Deserialize an instance of class DataSpecificationIec61360 from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readDataSpecificationIec61360FromSequence(XMLEventReader reader, boolean isEmptySequence) { + List thePreferredName = null; + List theShortName = null; + String theUnit = null; + IReference theUnitId = null; + String theSourceOfDefinition = null; + String theSymbol = null; + DataTypeIec61360 theDataType = null; + List theDefinition = null; + String theValueFormat = null; + IValueList theValueList = null; + String theValue = null; + ILevelType theLevelType = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "preferredName": + { + if (thePreferredName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringPreferredNameTypeIec61360(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePreferredName = value.getResult(); + } + break; + } + case "shortName": + { + if (theShortName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringShortNameTypeIec61360(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theShortName = value.getResult(); + } + break; + } + case "unit": + { + if (theUnit != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theUnit = value.getResult(); + } + break; + } + case "unitId": + { + if (theUnitId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theUnitId = value.getResult(); + } + break; + } + case "sourceOfDefinition": + { + if (theSourceOfDefinition != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSourceOfDefinition = value.getResult(); + } + break; + } + case "symbol": + { + if (theSymbol != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSymbol = value.getResult(); + } + break; + } + case "dataType": + { + if (theDataType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_DataTypeIec61360(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDataType = value.getResult(); + } + break; + } + case "definition": + { + if (theDefinition != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringDefinitionTypeIec61360(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDefinition = value.getResult(); + } + break; + } + case "valueFormat": + { + if (theValueFormat != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueFormat = value.getResult(); + } + break; + } + case "valueList": + { + if (theValueList != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readValueListFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueList = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + case "levelType": + { + if (theLevelType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readLevelTypeFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theLevelType = value.getResult(); + } + break; + } + default: + return unexpectedProperty("DataSpecificationIec61360", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePreferredName == null) { + return missingRequiredProperty("preferredName", "DataSpecificationIec61360"); + } + + return Reporting.Result.success( + new DataSpecificationIec61360( + thePreferredName, + theShortName, + theUnit, + theUnitId, + theSourceOfDefinition, + theSymbol, + theDataType, + theDefinition, + theValueFormat, + theValueList, + theValue, + theLevelType)); + } + + /** Deserialize an instance of class DataSpecificationIec61360 from an XML element. */ + private static Reporting.Result + readDataSpecificationIec61360FromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "dataSpecificationIec61360", + _DeserializeImplementation::readDataSpecificationIec61360FromSequence); + } + + /** Deserialize an instance of IDescriptor from an XML element. */ + private static Reporting.Result readIDescriptorFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "assetAdministrationShellDescriptor": + return readAssetAdministrationShellDescriptorFromElement(reader); + case "submodelDescriptor": + return readSubmodelDescriptorFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** + * Deserialize an instance of class AssetAdministrationShellDescriptor from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readAssetAdministrationShellDescriptorFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theDescription = null; + List theDisplayName = null; + List theExtensions = null; + String theId = null; + IAdministrativeInformation theAdministration = null; + AssetKind theAssetKind = null; + String theAssetType = null; + List theEndpoints = null; + String theGlobalAssetId = null; + String theIdShort = null; + List theSpecificAssetIds = null; + List theSubmodelDescriptors = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "id": + { + if (theId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theId = value.getResult(); + } + break; + } + case "administration": + { + if (theAdministration != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readAdministrativeInformationFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAdministration = value.getResult(); + } + break; + } + case "assetKind": + { + if (theAssetKind != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_AssetKind(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAssetKind = value.getResult(); + } + break; + } + case "assetType": + { + if (theAssetType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAssetType = value.getResult(); + } + break; + } + case "endpoints": + { + if (theEndpoints != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEndpoint(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEndpoints = value.getResult(); + } + break; + } + case "globalAssetId": + { + if (theGlobalAssetId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theGlobalAssetId = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "specificAssetIds": + { + if (theSpecificAssetIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISpecificAssetId(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSpecificAssetIds = value.getResult(); + } + break; + } + case "submodelDescriptors": + { + if (theSubmodelDescriptors != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISubmodelDescriptor(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSubmodelDescriptors = value.getResult(); + } + break; + } + default: + return unexpectedProperty("AssetAdministrationShellDescriptor", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theId == null) { + return missingRequiredProperty("id", "AssetAdministrationShellDescriptor"); + } + + return Reporting.Result.success( + new AssetAdministrationShellDescriptor( + theId, + theDescription, + theDisplayName, + theExtensions, + theAdministration, + theAssetKind, + theAssetType, + theEndpoints, + theGlobalAssetId, + theIdShort, + theSpecificAssetIds, + theSubmodelDescriptors)); + } + + /** Deserialize an instance of class AssetAdministrationShellDescriptor from an XML element. */ + private static Reporting.Result + readAssetAdministrationShellDescriptorFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "assetAdministrationShellDescriptor", + _DeserializeImplementation::readAssetAdministrationShellDescriptorFromSequence); + } + + /** + * Deserialize an instance of class SubmodelDescriptor from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readSubmodelDescriptorFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theDescription = null; + List theDisplayName = null; + List theExtensions = null; + List theEndpoints = null; + String theId = null; + IAdministrativeInformation theAdministration = null; + String theIdShort = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "endpoints": + { + if (theEndpoints != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEndpoint(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEndpoints = value.getResult(); + } + break; + } + case "id": + { + if (theId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theId = value.getResult(); + } + break; + } + case "administration": + { + if (theAdministration != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readAdministrativeInformationFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAdministration = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + default: + return unexpectedProperty("SubmodelDescriptor", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theEndpoints == null) { + return missingRequiredProperty("endpoints", "SubmodelDescriptor"); + } + + if (theId == null) { + return missingRequiredProperty("id", "SubmodelDescriptor"); + } + + return Reporting.Result.success( + new SubmodelDescriptor( + theEndpoints, + theId, + theDescription, + theDisplayName, + theExtensions, + theAdministration, + theIdShort, + theSemanticId, + theSupplementalSemanticIds)); + } + + /** Deserialize an instance of class SubmodelDescriptor from an XML element. */ + private static Reporting.Result readSubmodelDescriptorFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "submodelDescriptor", + _DeserializeImplementation::readSubmodelDescriptorFromSequence); + } + + /** + * Deserialize an instance of class Endpoint from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readEndpointFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IProtocolInformation theProtocolInformation = null; + String theInterface = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "protocolInformation": + { + if (theProtocolInformation != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readProtocolInformationFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theProtocolInformation = value.getResult(); + } + break; + } + case "interface": + { + if (theInterface != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theInterface = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Endpoint", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theProtocolInformation == null) { + return missingRequiredProperty("protocolInformation", "Endpoint"); + } + + if (theInterface == null) { + return missingRequiredProperty("interfacE", "Endpoint"); + } + + return Reporting.Result.success(new Endpoint(theProtocolInformation, theInterface)); + } + + /** Deserialize an instance of class Endpoint from an XML element. */ + private static Reporting.Result readEndpointFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "endpoint", _DeserializeImplementation::readEndpointFromSequence); + } + + /** + * Deserialize an instance of class ProtocolInformation from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readProtocolInformationFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theHref = null; + String theEndpointProtocol = null; + List theEndpointProtocolVersion = null; + String theSubprotocol = null; + String theSubprotocolBody = null; + String theSubprotocolBodyEncoding = null; + List theSecurityAttributes = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "href": + { + if (theHref != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theHref = value.getResult(); + } + break; + } + case "endpointProtocol": + { + if (theEndpointProtocol != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEndpointProtocol = value.getResult(); + } + break; + } + case "endpointProtocolVersion": + { + if (theEndpointProtocolVersion != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEndpointProtocolVersion = value.getResult(); + } + break; + } + case "subprotocol": + { + if (theSubprotocol != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSubprotocol = value.getResult(); + } + break; + } + case "subprotocolBody": + { + if (theSubprotocolBody != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSubprotocolBody = value.getResult(); + } + break; + } + case "subprotocolBodyEncoding": + { + if (theSubprotocolBodyEncoding != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSubprotocolBodyEncoding = value.getResult(); + } + break; + } + case "securityAttributes": + { + if (theSecurityAttributes != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISecurityAttributeObject(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSecurityAttributes = value.getResult(); + } + break; + } + default: + return unexpectedProperty("ProtocolInformation", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theHref == null) { + return missingRequiredProperty("href", "ProtocolInformation"); + } + + return Reporting.Result.success( + new ProtocolInformation( + theHref, + theEndpointProtocol, + theEndpointProtocolVersion, + theSubprotocol, + theSubprotocolBody, + theSubprotocolBodyEncoding, + theSecurityAttributes)); + } + + /** Deserialize an instance of class ProtocolInformation from an XML element. */ + private static Reporting.Result + readProtocolInformationFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "protocolInformation", + _DeserializeImplementation::readProtocolInformationFromSequence); + } + + /** + * Deserialize an instance of class SecurityAttributeObject from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readSecurityAttributeObjectFromSequence(XMLEventReader reader, boolean isEmptySequence) { + SecurityTypeEnum theType = null; + String theKey = null; + String theValue = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "type": + { + if (theType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_SecurityTypeEnum(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theType = value.getResult(); + } + break; + } + case "key": + { + if (theKey != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theKey = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + default: + return unexpectedProperty("SecurityAttributeObject", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theType == null) { + return missingRequiredProperty("type", "SecurityAttributeObject"); + } + + if (theKey == null) { + return missingRequiredProperty("key", "SecurityAttributeObject"); + } + + if (theValue == null) { + return missingRequiredProperty("value", "SecurityAttributeObject"); + } + + return Reporting.Result.success(new SecurityAttributeObject(theType, theKey, theValue)); + } + + /** Deserialize an instance of class SecurityAttributeObject from an XML element. */ + private static Reporting.Result + readSecurityAttributeObjectFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "securityAttributeObject", + _DeserializeImplementation::readSecurityAttributeObjectFromSequence); + } + + /** + * Deserialize an instance of class AssetLink from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readAssetLinkFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theName = null; + String theValue = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "name": + { + if (theName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theName = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + default: + return unexpectedProperty("AssetLink", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theName == null) { + return missingRequiredProperty("name", "AssetLink"); + } + + if (theValue == null) { + return missingRequiredProperty("value", "AssetLink"); + } + + return Reporting.Result.success(new AssetLink(theName, theValue)); + } + + /** Deserialize an instance of class AssetLink from an XML element. */ + private static Reporting.Result readAssetLinkFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "assetLink", _DeserializeImplementation::readAssetLinkFromSequence); + } + + /** + * Deserialize an instance of class ServiceDescription from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readServiceDescriptionFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theProfiles = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "profiles": + { + if (theProfiles != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ServiceSpecificationProfileEnum(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theProfiles = value.getResult(); + } + break; + } + default: + return unexpectedProperty("ServiceDescription", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theProfiles == null) { + return missingRequiredProperty("profiles", "ServiceDescription"); + } + + return Reporting.Result.success(new ServiceDescription(theProfiles)); + } + + /** Deserialize an instance of class ServiceDescription from an XML element. */ + private static Reporting.Result readServiceDescriptionFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "serviceDescription", + _DeserializeImplementation::readServiceDescriptionFromSequence); + } + + /** Deserialize an instance of IRecentChange from an XML element. */ + private static Reporting.Result readIRecentChangeFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "assetAdministrationShellRecentChange": + return readAssetAdministrationShellRecentChangeFromElement(reader); + case "conceptDescriptionRecentChange": + return readConceptDescriptionRecentChangeFromElement(reader); + case "submodelRecentChange": + return readSubmodelRecentChangeFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** + * Deserialize an instance of class AssetAdministrationShellRecentChange from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readAssetAdministrationShellRecentChangeFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theCreatedAt = null; + String theUpdatedAt = null; + String theId = null; + String theGlobalAssetId = null; + List theSpecificAssetIds = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "createdAt": + { + if (theCreatedAt != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCreatedAt = value.getResult(); + } + break; + } + case "updatedAt": + { + if (theUpdatedAt != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theUpdatedAt = value.getResult(); + } + break; + } + case "id": + { + if (theId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theId = value.getResult(); + } + break; + } + case "globalAssetId": + { + if (theGlobalAssetId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theGlobalAssetId = value.getResult(); + } + break; + } + case "specificAssetIds": + { + if (theSpecificAssetIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISpecificAssetId(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSpecificAssetIds = value.getResult(); + } + break; + } + default: + return unexpectedProperty("AssetAdministrationShellRecentChange", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theCreatedAt == null) { + return missingRequiredProperty("createdAt", "AssetAdministrationShellRecentChange"); + } + + if (theUpdatedAt == null) { + return missingRequiredProperty("updatedAt", "AssetAdministrationShellRecentChange"); + } + + if (theId == null) { + return missingRequiredProperty("id", "AssetAdministrationShellRecentChange"); + } + + return Reporting.Result.success( + new AssetAdministrationShellRecentChange( + theCreatedAt, theUpdatedAt, theId, theGlobalAssetId, theSpecificAssetIds)); + } + + /** + * Deserialize an instance of class AssetAdministrationShellRecentChange from an XML element. + */ + private static Reporting.Result + readAssetAdministrationShellRecentChangeFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "assetAdministrationShellRecentChange", + _DeserializeImplementation::readAssetAdministrationShellRecentChangeFromSequence); + } + + /** + * Deserialize an instance of class ConceptDescriptionRecentChange from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readConceptDescriptionRecentChangeFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theCreatedAt = null; + String theUpdatedAt = null; + String theId = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "createdAt": + { + if (theCreatedAt != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCreatedAt = value.getResult(); + } + break; + } + case "updatedAt": + { + if (theUpdatedAt != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theUpdatedAt = value.getResult(); + } + break; + } + case "id": + { + if (theId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theId = value.getResult(); + } + break; + } + default: + return unexpectedProperty("ConceptDescriptionRecentChange", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theCreatedAt == null) { + return missingRequiredProperty("createdAt", "ConceptDescriptionRecentChange"); + } + + if (theUpdatedAt == null) { + return missingRequiredProperty("updatedAt", "ConceptDescriptionRecentChange"); + } + + if (theId == null) { + return missingRequiredProperty("id", "ConceptDescriptionRecentChange"); + } + + return Reporting.Result.success( + new ConceptDescriptionRecentChange(theCreatedAt, theUpdatedAt, theId)); + } + + /** Deserialize an instance of class ConceptDescriptionRecentChange from an XML element. */ + private static Reporting.Result + readConceptDescriptionRecentChangeFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "conceptDescriptionRecentChange", + _DeserializeImplementation::readConceptDescriptionRecentChangeFromSequence); + } + + /** + * Deserialize an instance of class SubmodelRecentChange from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readSubmodelRecentChangeFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theCreatedAt = null; + String theUpdatedAt = null; + String theId = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "createdAt": + { + if (theCreatedAt != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCreatedAt = value.getResult(); + } + break; + } + case "updatedAt": + { + if (theUpdatedAt != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theUpdatedAt = value.getResult(); + } + break; + } + case "id": + { + if (theId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theId = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + default: + return unexpectedProperty("SubmodelRecentChange", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theCreatedAt == null) { + return missingRequiredProperty("createdAt", "SubmodelRecentChange"); + } + + if (theUpdatedAt == null) { + return missingRequiredProperty("updatedAt", "SubmodelRecentChange"); + } + + if (theId == null) { + return missingRequiredProperty("id", "SubmodelRecentChange"); + } + + return Reporting.Result.success( + new SubmodelRecentChange( + theCreatedAt, theUpdatedAt, theId, theSemanticId, theSupplementalSemanticIds)); + } + + /** Deserialize an instance of class SubmodelRecentChange from an XML element. */ + private static Reporting.Result + readSubmodelRecentChangeFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "submodelRecentChange", + _DeserializeImplementation::readSubmodelRecentChangeFromSequence); + } + + /** + * Deserialize an instance of class Result from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readResultFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theMessages = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "messages": + { + if (theMessages != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IMessage(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMessages = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Result", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success(new Result(theMessages)); + } + + /** Deserialize an instance of class Result from an XML element. */ + private static Reporting.Result readResultFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "result", _DeserializeImplementation::readResultFromSequence); + } + + /** + * Deserialize an instance of class Message from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readMessageFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + MessageTypeEnum theMessageType = null; + String theText = null; + String theCode = null; + String theCorrelationId = null; + String theTimestamp = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "messageType": + { + if (theMessageType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_MessageTypeEnum(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMessageType = value.getResult(); + } + break; + } + case "text": + { + if (theText != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theText = value.getResult(); + } + break; + } + case "code": + { + if (theCode != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCode = value.getResult(); + } + break; + } + case "correlationId": + { + if (theCorrelationId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCorrelationId = value.getResult(); + } + break; + } + case "timestamp": + { + if (theTimestamp != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theTimestamp = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Message", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theMessageType == null) { + return missingRequiredProperty("messageType", "Message"); + } + + if (theText == null) { + return missingRequiredProperty("text", "Message"); + } + + return Reporting.Result.success( + new Message(theMessageType, theText, theCode, theCorrelationId, theTimestamp)); + } + + /** Deserialize an instance of class Message from an XML element. */ + private static Reporting.Result readMessageFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "message", _DeserializeImplementation::readMessageFromSequence); + } + + /** + * Deserialize an instance of class OperationRequest from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readOperationRequestFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theInputArguments = null; + List theInoutputArguments = null; + String theClientTimeoutDuration = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "inputArguments": + { + if (theInputArguments != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IOperationVariable(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theInputArguments = value.getResult(); + } + break; + } + case "inoutputArguments": + { + if (theInoutputArguments != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IOperationVariable(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theInoutputArguments = value.getResult(); + } + break; + } + case "clientTimeoutDuration": + { + if (theClientTimeoutDuration != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theClientTimeoutDuration = value.getResult(); + } + break; + } + default: + return unexpectedProperty("OperationRequest", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new OperationRequest(theInputArguments, theInoutputArguments, theClientTimeoutDuration)); + } + + /** Deserialize an instance of class OperationRequest from an XML element. */ + private static Reporting.Result readOperationRequestFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "operationRequest", _DeserializeImplementation::readOperationRequestFromSequence); + } + + /** + * Deserialize an instance of class OperationRequestAsync from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readOperationRequestAsyncFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theInputArguments = null; + List theInoutputArguments = null; + String theClientTimeoutDuration = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "inputArguments": + { + if (theInputArguments != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IOperationVariable(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theInputArguments = value.getResult(); + } + break; + } + case "inoutputArguments": + { + if (theInoutputArguments != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IOperationVariable(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theInoutputArguments = value.getResult(); + } + break; + } + case "clientTimeoutDuration": + { + if (theClientTimeoutDuration != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theClientTimeoutDuration = value.getResult(); + } + break; + } + default: + return unexpectedProperty("OperationRequestAsync", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theClientTimeoutDuration == null) { + return missingRequiredProperty("clientTimeoutDuration", "OperationRequestAsync"); + } + + return Reporting.Result.success( + new OperationRequestAsync( + theClientTimeoutDuration, theInputArguments, theInoutputArguments)); + } + + /** Deserialize an instance of class OperationRequestAsync from an XML element. */ + private static Reporting.Result + readOperationRequestAsyncFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "operationRequestAsync", + _DeserializeImplementation::readOperationRequestAsyncFromSequence); + } + + /** + * Deserialize an instance of class OperationRequestValueOnly from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readOperationRequestValueOnlyFromSequence(XMLEventReader reader, boolean isEmptySequence) { + ObjectNode theInputArguments = null; + ObjectNode theInoutputArguments = null; + String theClientTimeoutDuration = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "inputArguments": + { + if (theInputArguments != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_jsonObject(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theInputArguments = value.getResult(); + } + break; + } + case "inoutputArguments": + { + if (theInoutputArguments != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_jsonObject(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theInoutputArguments = value.getResult(); + } + break; + } + case "clientTimeoutDuration": + { + if (theClientTimeoutDuration != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theClientTimeoutDuration = value.getResult(); + } + break; + } + default: + return unexpectedProperty("OperationRequestValueOnly", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new OperationRequestValueOnly( + theInputArguments, theInoutputArguments, theClientTimeoutDuration)); + } + + /** Deserialize an instance of class OperationRequestValueOnly from an XML element. */ + private static Reporting.Result + readOperationRequestValueOnlyFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "operationRequestValueOnly", + _DeserializeImplementation::readOperationRequestValueOnlyFromSequence); + } + + /** + * Deserialize an instance of class OperationRequestAsyncValueOnly from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readOperationRequestAsyncValueOnlyFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + ObjectNode theInputArguments = null; + ObjectNode theInoutputArguments = null; + String theClientTimeoutDuration = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "inputArguments": + { + if (theInputArguments != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_jsonObject(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theInputArguments = value.getResult(); + } + break; + } + case "inoutputArguments": + { + if (theInoutputArguments != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_jsonObject(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theInoutputArguments = value.getResult(); + } + break; + } + case "clientTimeoutDuration": + { + if (theClientTimeoutDuration != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theClientTimeoutDuration = value.getResult(); + } + break; + } + default: + return unexpectedProperty("OperationRequestAsyncValueOnly", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theClientTimeoutDuration == null) { + return missingRequiredProperty("clientTimeoutDuration", "OperationRequestAsyncValueOnly"); + } + + return Reporting.Result.success( + new OperationRequestAsyncValueOnly( + theClientTimeoutDuration, theInputArguments, theInoutputArguments)); + } + + /** Deserialize an instance of class OperationRequestAsyncValueOnly from an XML element. */ + private static Reporting.Result + readOperationRequestAsyncValueOnlyFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "operationRequestAsyncValueOnly", + _DeserializeImplementation::readOperationRequestAsyncValueOnlyFromSequence); + } + + /** + * Deserialize an instance of class BaseOperationResult from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readBaseOperationResultFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + ExecutionState theExecutionState = null; + List theMessages = null; + Boolean theSuccess = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "executionState": + { + if (theExecutionState != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_ExecutionState(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExecutionState = value.getResult(); + } + break; + } + case "messages": + { + if (theMessages != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IMessage(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMessages = value.getResult(); + } + break; + } + case "success": + { + if (theSuccess != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_bool(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSuccess = value.getResult(); + } + break; + } + default: + return unexpectedProperty("BaseOperationResult", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theExecutionState == null) { + return missingRequiredProperty("executionState", "BaseOperationResult"); + } + + return Reporting.Result.success( + new BaseOperationResult(theExecutionState, theMessages, theSuccess)); + } + + /** Deserialize an instance of class BaseOperationResult from an XML element. */ + private static Reporting.Result + readBaseOperationResultFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "baseOperationResult", + _DeserializeImplementation::readBaseOperationResultFromSequence); + } + + /** + * Deserialize an instance of class OperationResult from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readOperationResultFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + ExecutionState theExecutionState = null; + List theMessages = null; + Boolean theSuccess = null; + List theOutputArguments = null; + List theInoutputArguments = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "executionState": + { + if (theExecutionState != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_ExecutionState(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExecutionState = value.getResult(); + } + break; + } + case "messages": + { + if (theMessages != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IMessage(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMessages = value.getResult(); + } + break; + } + case "success": + { + if (theSuccess != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_bool(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSuccess = value.getResult(); + } + break; + } + case "outputArguments": + { + if (theOutputArguments != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IOperationVariable(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theOutputArguments = value.getResult(); + } + break; + } + case "inoutputArguments": + { + if (theInoutputArguments != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IOperationVariable(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theInoutputArguments = value.getResult(); + } + break; + } + default: + return unexpectedProperty("OperationResult", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theExecutionState == null) { + return missingRequiredProperty("executionState", "OperationResult"); + } + + return Reporting.Result.success( + new OperationResult( + theExecutionState, + theMessages, + theSuccess, + theOutputArguments, + theInoutputArguments)); + } + + /** Deserialize an instance of class OperationResult from an XML element. */ + private static Reporting.Result readOperationResultFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "operationResult", _DeserializeImplementation::readOperationResultFromSequence); + } + + /** + * Deserialize an instance of class OperationResultValueOnly from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readOperationResultValueOnlyFromSequence(XMLEventReader reader, boolean isEmptySequence) { + ExecutionState theExecutionState = null; + List theMessages = null; + Boolean theSuccess = null; + ObjectNode theOutputArguments = null; + ObjectNode theInoutputArguments = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "executionState": + { + if (theExecutionState != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_ExecutionState(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExecutionState = value.getResult(); + } + break; + } + case "messages": + { + if (theMessages != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IMessage(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMessages = value.getResult(); + } + break; + } + case "success": + { + if (theSuccess != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_bool(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSuccess = value.getResult(); + } + break; + } + case "outputArguments": + { + if (theOutputArguments != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_jsonObject(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theOutputArguments = value.getResult(); + } + break; + } + case "inoutputArguments": + { + if (theInoutputArguments != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_jsonObject(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theInoutputArguments = value.getResult(); + } + break; + } + default: + return unexpectedProperty("OperationResultValueOnly", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theExecutionState == null) { + return missingRequiredProperty("executionState", "OperationResultValueOnly"); + } + + return Reporting.Result.success( + new OperationResultValueOnly( + theExecutionState, + theMessages, + theSuccess, + theOutputArguments, + theInoutputArguments)); + } + + /** Deserialize an instance of class OperationResultValueOnly from an XML element. */ + private static Reporting.Result + readOperationResultValueOnlyFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "operationResultValueOnly", + _DeserializeImplementation::readOperationResultValueOnlyFromSequence); + } + + /** + * Deserialize an instance of class OperationHandle from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readOperationHandleFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theHandleId = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "handleId": + { + if (theHandleId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theHandleId = value.getResult(); + } + break; + } + default: + return unexpectedProperty("OperationHandle", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theHandleId == null) { + return missingRequiredProperty("handleId", "OperationHandle"); + } + + return Reporting.Result.success(new OperationHandle(theHandleId)); + } + + /** Deserialize an instance of class OperationHandle from an XML element. */ + private static Reporting.Result readOperationHandleFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "operationHandle", _DeserializeImplementation::readOperationHandleFromSequence); + } + + /** + * Deserialize an instance of class PagedResult from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readPagedResultFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theResult = null; + IPagingMetadata thePagingMetadata = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "result": + { + if (theResult != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReferable(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theResult = value.getResult(); + } + break; + } + case "pagingMetadata": + { + if (thePagingMetadata != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readPagingMetadataFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePagingMetadata = value.getResult(); + } + break; + } + default: + return unexpectedProperty("PagedResult", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("pagingMetadata", "PagedResult"); + } + + return Reporting.Result.success(new PagedResult(thePagingMetadata, theResult)); + } + + /** Deserialize an instance of class PagedResult from an XML element. */ + private static Reporting.Result readPagedResultFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "pagedResult", _DeserializeImplementation::readPagedResultFromSequence); + } + + /** + * Deserialize an instance of class PagingMetadata from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readPagingMetadataFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theCursor = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "cursor": + { + if (theCursor != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCursor = value.getResult(); + } + break; + } + default: + return unexpectedProperty("PagingMetadata", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success(new PagingMetadata(theCursor)); + } + + /** Deserialize an instance of class PagingMetadata from an XML element. */ + private static Reporting.Result readPagingMetadataFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "pagingMetadata", _DeserializeImplementation::readPagingMetadataFromSequence); + } + + /** + * Deserialize an instance of class PackageDescription from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readPackageDescriptionFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String thePackageId = null; + List theAasIds = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "packageId": + { + if (thePackageId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePackageId = value.getResult(); + } + break; + } + case "aasIds": + { + if (theAasIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAasIds = value.getResult(); + } + break; + } + default: + return unexpectedProperty("PackageDescription", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePackageId == null) { + return missingRequiredProperty("packageId", "PackageDescription"); + } + + return Reporting.Result.success(new PackageDescription(thePackageId, theAasIds)); + } + + /** Deserialize an instance of class PackageDescription from an XML element. */ + private static Reporting.Result readPackageDescriptionFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "packageDescription", + _DeserializeImplementation::readPackageDescriptionFromSequence); + } + + /** Deserialize an instance of ISubmodelElementAttributes from an XML element. */ + private static Reporting.Result + readISubmodelElementAttributesFromElement(XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "annotatedRelationshipElementMetadata": + return readAnnotatedRelationshipElementMetadataFromElement(reader); + case "basicEventElementMetadata": + return readBasicEventElementMetadataFromElement(reader); + case "blobMetadata": + return readBlobMetadataFromElement(reader); + case "capabilityMetadata": + return readCapabilityMetadataFromElement(reader); + case "entityMetadata": + return readEntityMetadataFromElement(reader); + case "fileMetadata": + return readFileMetadataFromElement(reader); + case "multiLanguagePropertyMetadata": + return readMultiLanguagePropertyMetadataFromElement(reader); + case "operationMetadata": + return readOperationMetadataFromElement(reader); + case "propertyMetadata": + return readPropertyMetadataFromElement(reader); + case "rangeMetadata": + return readRangeMetadataFromElement(reader); + case "referenceElementMetadata": + return readReferenceElementMetadataFromElement(reader); + case "relationshipElementMetadata": + return readRelationshipElementMetadataFromElement(reader); + case "submodelElementCollectionMetadata": + return readSubmodelElementCollectionMetadataFromElement(reader); + case "submodelElementListMetadata": + return readSubmodelElementListMetadataFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** Deserialize an instance of ISubmodelElementMetadata from an XML element. */ + private static Reporting.Result + readISubmodelElementMetadataFromElement(XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "annotatedRelationshipElementMetadata": + return readAnnotatedRelationshipElementMetadataFromElement(reader); + case "basicEventElementMetadata": + return readBasicEventElementMetadataFromElement(reader); + case "blobMetadata": + return readBlobMetadataFromElement(reader); + case "capabilityMetadata": + return readCapabilityMetadataFromElement(reader); + case "entityMetadata": + return readEntityMetadataFromElement(reader); + case "fileMetadata": + return readFileMetadataFromElement(reader); + case "multiLanguagePropertyMetadata": + return readMultiLanguagePropertyMetadataFromElement(reader); + case "operationMetadata": + return readOperationMetadataFromElement(reader); + case "propertyMetadata": + return readPropertyMetadataFromElement(reader); + case "rangeMetadata": + return readRangeMetadataFromElement(reader); + case "referenceElementMetadata": + return readReferenceElementMetadataFromElement(reader); + case "relationshipElementMetadata": + return readRelationshipElementMetadataFromElement(reader); + case "submodelElementCollectionMetadata": + return readSubmodelElementCollectionMetadataFromElement(reader); + case "submodelElementListMetadata": + return readSubmodelElementListMetadataFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** + * Deserialize an instance of class PropertyMetadata from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readPropertyMetadataFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + DataTypeDefXsd theValueType = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "valueType": + { + if (theValueType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_DataTypeDefXsd(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueType = value.getResult(); + } + break; + } + default: + return unexpectedProperty("PropertyMetadata", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theValueType == null) { + return missingRequiredProperty("valueType", "PropertyMetadata"); + } + + return Reporting.Result.success( + new PropertyMetadata( + theValueType, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** Deserialize an instance of class PropertyMetadata from an XML element. */ + private static Reporting.Result readPropertyMetadataFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "propertyMetadata", _DeserializeImplementation::readPropertyMetadataFromSequence); + } + + /** + * Deserialize an instance of class RangeMetadata from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readRangeMetadataFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + DataTypeDefXsd theValueType = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "valueType": + { + if (theValueType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_DataTypeDefXsd(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueType = value.getResult(); + } + break; + } + default: + return unexpectedProperty("RangeMetadata", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theValueType == null) { + return missingRequiredProperty("valueType", "RangeMetadata"); + } + + return Reporting.Result.success( + new RangeMetadata( + theValueType, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** Deserialize an instance of class RangeMetadata from an XML element. */ + private static Reporting.Result readRangeMetadataFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "rangeMetadata", _DeserializeImplementation::readRangeMetadataFromSequence); + } + + /** + * Deserialize an instance of class BlobMetadata from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readBlobMetadataFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + default: + return unexpectedProperty("BlobMetadata", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new BlobMetadata( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** Deserialize an instance of class BlobMetadata from an XML element. */ + private static Reporting.Result readBlobMetadataFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "blobMetadata", _DeserializeImplementation::readBlobMetadataFromSequence); + } + + /** + * Deserialize an instance of class FileMetadata from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readFileMetadataFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + default: + return unexpectedProperty("FileMetadata", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new FileMetadata( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** Deserialize an instance of class FileMetadata from an XML element. */ + private static Reporting.Result readFileMetadataFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "fileMetadata", _DeserializeImplementation::readFileMetadataFromSequence); + } + + /** + * Deserialize an instance of class MultiLanguagePropertyMetadata from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readMultiLanguagePropertyMetadataFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + default: + return unexpectedProperty("MultiLanguagePropertyMetadata", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new MultiLanguagePropertyMetadata( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** Deserialize an instance of class MultiLanguagePropertyMetadata from an XML element. */ + private static Reporting.Result + readMultiLanguagePropertyMetadataFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "multiLanguagePropertyMetadata", + _DeserializeImplementation::readMultiLanguagePropertyMetadataFromSequence); + } + + /** + * Deserialize an instance of class ReferenceElementMetadata from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readReferenceElementMetadataFromSequence(XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + default: + return unexpectedProperty("ReferenceElementMetadata", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new ReferenceElementMetadata( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** Deserialize an instance of class ReferenceElementMetadata from an XML element. */ + private static Reporting.Result + readReferenceElementMetadataFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "referenceElementMetadata", + _DeserializeImplementation::readReferenceElementMetadataFromSequence); + } + + /** + * Deserialize an instance of class RelationshipElementMetadata from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readRelationshipElementMetadataFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + default: + return unexpectedProperty("RelationshipElementMetadata", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new RelationshipElementMetadata( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** Deserialize an instance of class RelationshipElementMetadata from an XML element. */ + private static Reporting.Result + readRelationshipElementMetadataFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "relationshipElementMetadata", + _DeserializeImplementation::readRelationshipElementMetadataFromSequence); + } + + /** + * Deserialize an instance of class AnnotatedRelationshipElementMetadata from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readAnnotatedRelationshipElementMetadataFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + default: + return unexpectedProperty("AnnotatedRelationshipElementMetadata", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new AnnotatedRelationshipElementMetadata( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** + * Deserialize an instance of class AnnotatedRelationshipElementMetadata from an XML element. + */ + private static Reporting.Result + readAnnotatedRelationshipElementMetadataFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "annotatedRelationshipElementMetadata", + _DeserializeImplementation::readAnnotatedRelationshipElementMetadataFromSequence); + } + + /** + * Deserialize an instance of class EntityMetadata from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readEntityMetadataFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + default: + return unexpectedProperty("EntityMetadata", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new EntityMetadata( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** Deserialize an instance of class EntityMetadata from an XML element. */ + private static Reporting.Result readEntityMetadataFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "entityMetadata", _DeserializeImplementation::readEntityMetadataFromSequence); + } + + /** + * Deserialize an instance of class CapabilityMetadata from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readCapabilityMetadataFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + default: + return unexpectedProperty("CapabilityMetadata", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new CapabilityMetadata( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** Deserialize an instance of class CapabilityMetadata from an XML element. */ + private static Reporting.Result readCapabilityMetadataFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "capabilityMetadata", + _DeserializeImplementation::readCapabilityMetadataFromSequence); + } + + /** + * Deserialize an instance of class OperationMetadata from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readOperationMetadataFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + default: + return unexpectedProperty("OperationMetadata", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new OperationMetadata( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** Deserialize an instance of class OperationMetadata from an XML element. */ + private static Reporting.Result readOperationMetadataFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "operationMetadata", + _DeserializeImplementation::readOperationMetadataFromSequence); + } + + /** + * Deserialize an instance of class SubmodelElementCollectionMetadata from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readSubmodelElementCollectionMetadataFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + default: + return unexpectedProperty("SubmodelElementCollectionMetadata", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new SubmodelElementCollectionMetadata( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** Deserialize an instance of class SubmodelElementCollectionMetadata from an XML element. */ + private static Reporting.Result + readSubmodelElementCollectionMetadataFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "submodelElementCollectionMetadata", + _DeserializeImplementation::readSubmodelElementCollectionMetadataFromSequence); + } + + /** + * Deserialize an instance of class BasicEventElementMetadata from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readBasicEventElementMetadataFromSequence(XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + Direction theDirection = null; + StateOfEvent theState = null; + String theMessageTopic = null; + IReference theMessageBroker = null; + String theLastUpdate = null; + String theMinInterval = null; + String theMaxInterval = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "direction": + { + if (theDirection != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_Direction(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDirection = value.getResult(); + } + break; + } + case "state": + { + if (theState != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_StateOfEvent(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theState = value.getResult(); + } + break; + } + case "messageTopic": + { + if (theMessageTopic != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMessageTopic = value.getResult(); + } + break; + } + case "messageBroker": + { + if (theMessageBroker != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMessageBroker = value.getResult(); + } + break; + } + case "lastUpdate": + { + if (theLastUpdate != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theLastUpdate = value.getResult(); + } + break; + } + case "minInterval": + { + if (theMinInterval != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMinInterval = value.getResult(); + } + break; + } + case "maxInterval": + { + if (theMaxInterval != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMaxInterval = value.getResult(); + } + break; + } + default: + return unexpectedProperty("BasicEventElementMetadata", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theDirection == null) { + return missingRequiredProperty("direction", "BasicEventElementMetadata"); + } + + if (theState == null) { + return missingRequiredProperty("state", "BasicEventElementMetadata"); + } + + return Reporting.Result.success( + new BasicEventElementMetadata( + theDirection, + theState, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theMessageTopic, + theMessageBroker, + theLastUpdate, + theMinInterval, + theMaxInterval)); + } + + /** Deserialize an instance of class BasicEventElementMetadata from an XML element. */ + private static Reporting.Result + readBasicEventElementMetadataFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "basicEventElementMetadata", + _DeserializeImplementation::readBasicEventElementMetadataFromSequence); + } + + /** + * Deserialize an instance of class SubmodelElementListMetadata from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readSubmodelElementListMetadataFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + Boolean theOrderRelevant = null; + IReference theSemanticIdListElement = null; + AasSubmodelElements theTypeValueListElement = null; + DataTypeDefXsd theValueTypeListElement = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "orderRelevant": + { + if (theOrderRelevant != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_bool(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theOrderRelevant = value.getResult(); + } + break; + } + case "semanticIdListElement": + { + if (theSemanticIdListElement != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticIdListElement = value.getResult(); + } + break; + } + case "typeValueListElement": + { + if (theTypeValueListElement != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_AasSubmodelElements(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theTypeValueListElement = value.getResult(); + } + break; + } + case "valueTypeListElement": + { + if (theValueTypeListElement != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_DataTypeDefXsd(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueTypeListElement = value.getResult(); + } + break; + } + default: + return unexpectedProperty("SubmodelElementListMetadata", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theTypeValueListElement == null) { + return missingRequiredProperty("typeValueListElement", "SubmodelElementListMetadata"); + } + + return Reporting.Result.success( + new SubmodelElementListMetadata( + theTypeValueListElement, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theOrderRelevant, + theSemanticIdListElement, + theValueTypeListElement)); + } + + /** Deserialize an instance of class SubmodelElementListMetadata from an XML element. */ + private static Reporting.Result + readSubmodelElementListMetadataFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "submodelElementListMetadata", + _DeserializeImplementation::readSubmodelElementListMetadataFromSequence); + } + + /** + * Deserialize an instance of class SubmodelMetadata from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readSubmodelMetadataFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IAdministrativeInformation theAdministration = null; + String theId = null; + ModellingKind theKind = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "administration": + { + if (theAdministration != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readAdministrativeInformationFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAdministration = value.getResult(); + } + break; + } + case "id": + { + if (theId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theId = value.getResult(); + } + break; + } + case "kind": + { + if (theKind != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_ModellingKind(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theKind = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + default: + return unexpectedProperty("SubmodelMetadata", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theId == null) { + return missingRequiredProperty("id", "SubmodelMetadata"); + } + + return Reporting.Result.success( + new SubmodelMetadata( + theId, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theAdministration, + theKind, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** Deserialize an instance of class SubmodelMetadata from an XML element. */ + private static Reporting.Result readSubmodelMetadataFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "submodelMetadata", _DeserializeImplementation::readSubmodelMetadataFromSequence); + } + + /** + * Deserialize an instance of class AssetAdministrationShellMetadata from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readAssetAdministrationShellMetadataFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IAdministrativeInformation theAdministration = null; + String theId = null; + List theEmbeddedDataSpecifications = null; + IReference theDerivedFrom = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "administration": + { + if (theAdministration != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readAdministrativeInformationFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAdministration = value.getResult(); + } + break; + } + case "id": + { + if (theId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theId = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "derivedFrom": + { + if (theDerivedFrom != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDerivedFrom = value.getResult(); + } + break; + } + default: + return unexpectedProperty("AssetAdministrationShellMetadata", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theId == null) { + return missingRequiredProperty("id", "AssetAdministrationShellMetadata"); + } + + return Reporting.Result.success( + new AssetAdministrationShellMetadata( + theId, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theAdministration, + theEmbeddedDataSpecifications, + theDerivedFrom)); + } + + /** Deserialize an instance of class AssetAdministrationShellMetadata from an XML element. */ + private static Reporting.Result + readAssetAdministrationShellMetadataFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "assetAdministrationShellMetadata", + _DeserializeImplementation::readAssetAdministrationShellMetadataFromSequence); + } + + /** + * Deserialize an instance of class ReferenceElementValue from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readReferenceElementValueFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + ReferenceTypes theType = null; + List theKeys = null; + IReference theReferredSemanticId = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "type": + { + if (theType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_ReferenceTypes(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theType = value.getResult(); + } + break; + } + case "keys": + { + if (theKeys != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = readListOf_IKey(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theKeys = value.getResult(); + } + break; + } + case "referredSemanticId": + { + if (theReferredSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theReferredSemanticId = value.getResult(); + } + break; + } + default: + return unexpectedProperty("ReferenceElementValue", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theType == null) { + return missingRequiredProperty("type", "ReferenceElementValue"); + } + + if (theKeys == null) { + return missingRequiredProperty("keys", "ReferenceElementValue"); + } + + return Reporting.Result.success( + new ReferenceElementValue(theType, theKeys, theReferredSemanticId)); + } + + /** Deserialize an instance of class ReferenceElementValue from an XML element. */ + private static Reporting.Result + readReferenceElementValueFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "referenceElementValue", + _DeserializeImplementation::readReferenceElementValueFromSequence); + } + + /** + * Deserialize an instance of class BlobValue from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readBlobValueFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theContentType = null; + byte[] theValue = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "contentType": + { + if (theContentType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theContentType = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_bytes(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + default: + return unexpectedProperty("BlobValue", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success(new BlobValue(theContentType, theValue)); + } + + /** Deserialize an instance of class BlobValue from an XML element. */ + private static Reporting.Result readBlobValueFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "blobValue", _DeserializeImplementation::readBlobValueFromSequence); + } + + /** + * Deserialize an instance of class FileValue from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readFileValueFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theContentType = null; + String theValue = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "contentType": + { + if (theContentType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theContentType = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + default: + return unexpectedProperty("FileValue", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success(new FileValue(theContentType, theValue)); + } + + /** Deserialize an instance of class FileValue from an XML element. */ + private static Reporting.Result readFileValueFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "fileValue", _DeserializeImplementation::readFileValueFromSequence); + } + + /** + * Deserialize an instance of class RangeValue from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readRangeValueFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + Double theMin = null; + Double theMax = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "min": + { + if (theMin != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_double(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMin = value.getResult(); + } + break; + } + case "max": + { + if (theMax != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_double(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMax = value.getResult(); + } + break; + } + default: + return unexpectedProperty("RangeValue", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theMin == null) { + return missingRequiredProperty("min", "RangeValue"); + } + + if (theMax == null) { + return missingRequiredProperty("max", "RangeValue"); + } + + return Reporting.Result.success(new RangeValue(theMin, theMax)); + } + + /** Deserialize an instance of class RangeValue from an XML element. */ + private static Reporting.Result readRangeValueFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "rangeValue", _DeserializeImplementation::readRangeValueFromSequence); + } + + /** + * Deserialize an instance of class RelationshipElementValue from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readRelationshipElementValueFromSequence(XMLEventReader reader, boolean isEmptySequence) { + IReference theFirst = null; + IReference theSecond = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "first": + { + if (theFirst != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theFirst = value.getResult(); + } + break; + } + case "second": + { + if (theSecond != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSecond = value.getResult(); + } + break; + } + default: + return unexpectedProperty("RelationshipElementValue", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success(new RelationshipElementValue(theFirst, theSecond)); + } + + /** Deserialize an instance of class RelationshipElementValue from an XML element. */ + private static Reporting.Result + readRelationshipElementValueFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "relationshipElementValue", + _DeserializeImplementation::readRelationshipElementValueFromSequence); + } + + /** + * Deserialize an instance of class BasicEventElementValue from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readBasicEventElementValueFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IReference theObserved = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "observed": + { + if (theObserved != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theObserved = value.getResult(); + } + break; + } + default: + return unexpectedProperty("BasicEventElementValue", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theObserved == null) { + return missingRequiredProperty("observed", "BasicEventElementValue"); + } + + return Reporting.Result.success(new BasicEventElementValue(theObserved)); + } + + /** Deserialize an instance of class BasicEventElementValue from an XML element. */ + private static Reporting.Result + readBasicEventElementValueFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "basicEventElementValue", + _DeserializeImplementation::readBasicEventElementValueFromSequence); + } + + /** + * Deserialize an instance of class AnnotatedRelationshipElementValue from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readAnnotatedRelationshipElementValueFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IReference theFirst = null; + IReference theSecond = null; + ObjectNode theAnnotations = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "first": + { + if (theFirst != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theFirst = value.getResult(); + } + break; + } + case "second": + { + if (theSecond != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSecond = value.getResult(); + } + break; + } + case "annotations": + { + if (theAnnotations != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_jsonObject(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAnnotations = value.getResult(); + } + break; + } + default: + return unexpectedProperty("AnnotatedRelationshipElementValue", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new AnnotatedRelationshipElementValue(theFirst, theSecond, theAnnotations)); + } + + /** Deserialize an instance of class AnnotatedRelationshipElementValue from an XML element. */ + private static Reporting.Result + readAnnotatedRelationshipElementValueFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "annotatedRelationshipElementValue", + _DeserializeImplementation::readAnnotatedRelationshipElementValueFromSequence); + } + + /** + * Deserialize an instance of class EntityValue from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readEntityValueFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + EntityType theEntityType = null; + String theGlobalAssetId = null; + List theSpecificAssetIds = null; + ObjectNode theStatements = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "entityType": + { + if (theEntityType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_EntityType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEntityType = value.getResult(); + } + break; + } + case "globalAssetId": + { + if (theGlobalAssetId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theGlobalAssetId = value.getResult(); + } + break; + } + case "specificAssetIds": + { + if (theSpecificAssetIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_jsonObject(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSpecificAssetIds = value.getResult(); + } + break; + } + case "statements": + { + if (theStatements != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_jsonObject(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theStatements = value.getResult(); + } + break; + } + default: + return unexpectedProperty("EntityValue", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new EntityValue(theEntityType, theGlobalAssetId, theSpecificAssetIds, theStatements)); + } + + /** Deserialize an instance of class EntityValue from an XML element. */ + private static Reporting.Result readEntityValueFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "entityValue", _DeserializeImplementation::readEntityValueFromSequence); + } + + /** + * Deserialize an instance of class GetAssetAdministrationShellsResult from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readGetAssetAdministrationShellsResultFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "pagingMetadata": + { + if (thePagingMetadata != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readPagingMetadataFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePagingMetadata = value.getResult(); + } + break; + } + case "result": + { + if (theResult != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IAssetAdministrationShell(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theResult = value.getResult(); + } + break; + } + default: + return unexpectedProperty("GetAssetAdministrationShellsResult", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("pagingMetadata", "GetAssetAdministrationShellsResult"); + } + + return Reporting.Result.success( + new GetAssetAdministrationShellsResult(thePagingMetadata, theResult)); + } + + /** Deserialize an instance of class GetAssetAdministrationShellsResult from an XML element. */ + private static Reporting.Result + readGetAssetAdministrationShellsResultFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "getAssetAdministrationShellsResult", + _DeserializeImplementation::readGetAssetAdministrationShellsResultFromSequence); + } + + /** + * Deserialize an instance of class GetAssetAdministrationShellsMetadataResult from a sequence + * of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readGetAssetAdministrationShellsMetadataResultFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "pagingMetadata": + { + if (thePagingMetadata != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readPagingMetadataFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePagingMetadata = value.getResult(); + } + break; + } + case "result": + { + if (theResult != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IAssetAdministrationShellMetadata(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theResult = value.getResult(); + } + break; + } + default: + return unexpectedProperty("GetAssetAdministrationShellsMetadataResult", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty( + "pagingMetadata", "GetAssetAdministrationShellsMetadataResult"); + } + + return Reporting.Result.success( + new GetAssetAdministrationShellsMetadataResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize an instance of class GetAssetAdministrationShellsMetadataResult from an XML + * element. + */ + private static Reporting.Result + readGetAssetAdministrationShellsMetadataResultFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "getAssetAdministrationShellsMetadataResult", + _DeserializeImplementation::readGetAssetAdministrationShellsMetadataResultFromSequence); + } + + /** + * Deserialize an instance of class GetAllAssetAdministrationShellsRecentChangesResult from a + * sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readGetAllAssetAdministrationShellsRecentChangesResultFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "pagingMetadata": + { + if (thePagingMetadata != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readPagingMetadataFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePagingMetadata = value.getResult(); + } + break; + } + case "result": + { + if (theResult != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IAssetAdministrationShellRecentChange(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theResult = value.getResult(); + } + break; + } + default: + return unexpectedProperty( + "GetAllAssetAdministrationShellsRecentChangesResult", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty( + "pagingMetadata", "GetAllAssetAdministrationShellsRecentChangesResult"); + } + + return Reporting.Result.success( + new GetAllAssetAdministrationShellsRecentChangesResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize an instance of class GetAllAssetAdministrationShellsRecentChangesResult from an + * XML element. + */ + private static Reporting.Result + readGetAllAssetAdministrationShellsRecentChangesResultFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "getAllAssetAdministrationShellsRecentChangesResult", + _DeserializeImplementation + ::readGetAllAssetAdministrationShellsRecentChangesResultFromSequence); + } + + /** + * Deserialize an instance of class GetAssetAdministrationShellDescriptorsResult from a sequence + * of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readGetAssetAdministrationShellDescriptorsResultFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "pagingMetadata": + { + if (thePagingMetadata != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readPagingMetadataFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePagingMetadata = value.getResult(); + } + break; + } + case "result": + { + if (theResult != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IAssetAdministrationShellDescriptor(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theResult = value.getResult(); + } + break; + } + default: + return unexpectedProperty( + "GetAssetAdministrationShellDescriptorsResult", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty( + "pagingMetadata", "GetAssetAdministrationShellDescriptorsResult"); + } + + return Reporting.Result.success( + new GetAssetAdministrationShellDescriptorsResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize an instance of class GetAssetAdministrationShellDescriptorsResult from an XML + * element. + */ + private static Reporting.Result + readGetAssetAdministrationShellDescriptorsResultFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "getAssetAdministrationShellDescriptorsResult", + _DeserializeImplementation::readGetAssetAdministrationShellDescriptorsResultFromSequence); + } + + /** + * Deserialize an instance of class GetConceptDescriptionsResult from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readGetConceptDescriptionsResultFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "pagingMetadata": + { + if (thePagingMetadata != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readPagingMetadataFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePagingMetadata = value.getResult(); + } + break; + } + case "result": + { + if (theResult != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IConceptDescription(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theResult = value.getResult(); + } + break; + } + default: + return unexpectedProperty("GetConceptDescriptionsResult", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("pagingMetadata", "GetConceptDescriptionsResult"); + } + + return Reporting.Result.success( + new GetConceptDescriptionsResult(thePagingMetadata, theResult)); + } + + /** Deserialize an instance of class GetConceptDescriptionsResult from an XML element. */ + private static Reporting.Result + readGetConceptDescriptionsResultFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "getConceptDescriptionsResult", + _DeserializeImplementation::readGetConceptDescriptionsResultFromSequence); + } + + /** + * Deserialize an instance of class GetAllConceptDescriptionsRecentChangesResult from a sequence + * of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readGetAllConceptDescriptionsRecentChangesResultFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "pagingMetadata": + { + if (thePagingMetadata != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readPagingMetadataFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePagingMetadata = value.getResult(); + } + break; + } + case "result": + { + if (theResult != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IConceptDescriptionRecentChange(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theResult = value.getResult(); + } + break; + } + default: + return unexpectedProperty( + "GetAllConceptDescriptionsRecentChangesResult", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty( + "pagingMetadata", "GetAllConceptDescriptionsRecentChangesResult"); + } + + return Reporting.Result.success( + new GetAllConceptDescriptionsRecentChangesResult(thePagingMetadata, theResult)); + } + + /** + * Deserialize an instance of class GetAllConceptDescriptionsRecentChangesResult from an XML + * element. + */ + private static Reporting.Result + readGetAllConceptDescriptionsRecentChangesResultFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "getAllConceptDescriptionsRecentChangesResult", + _DeserializeImplementation::readGetAllConceptDescriptionsRecentChangesResultFromSequence); + } + + /** + * Deserialize an instance of class GetPackageDescriptionsResult from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readGetPackageDescriptionsResultFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "pagingMetadata": + { + if (thePagingMetadata != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readPagingMetadataFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePagingMetadata = value.getResult(); + } + break; + } + case "result": + { + if (theResult != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IPackageDescription(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theResult = value.getResult(); + } + break; + } + default: + return unexpectedProperty("GetPackageDescriptionsResult", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("pagingMetadata", "GetPackageDescriptionsResult"); + } + + return Reporting.Result.success( + new GetPackageDescriptionsResult(thePagingMetadata, theResult)); + } + + /** Deserialize an instance of class GetPackageDescriptionsResult from an XML element. */ + private static Reporting.Result + readGetPackageDescriptionsResultFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "getPackageDescriptionsResult", + _DeserializeImplementation::readGetPackageDescriptionsResultFromSequence); + } + + /** + * Deserialize an instance of class GetPathItemsResult from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readGetPathItemsResultFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "pagingMetadata": + { + if (thePagingMetadata != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readPagingMetadataFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePagingMetadata = value.getResult(); + } + break; + } + case "result": + { + if (theResult != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theResult = value.getResult(); + } + break; + } + default: + return unexpectedProperty("GetPathItemsResult", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("pagingMetadata", "GetPathItemsResult"); + } + + return Reporting.Result.success(new GetPathItemsResult(thePagingMetadata, theResult)); + } + + /** Deserialize an instance of class GetPathItemsResult from an XML element. */ + private static Reporting.Result readGetPathItemsResultFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "getPathItemsResult", + _DeserializeImplementation::readGetPathItemsResultFromSequence); + } + + /** + * Deserialize an instance of class GetReferencesResult from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readGetReferencesResultFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "pagingMetadata": + { + if (thePagingMetadata != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readPagingMetadataFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePagingMetadata = value.getResult(); + } + break; + } + case "result": + { + if (theResult != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theResult = value.getResult(); + } + break; + } + default: + return unexpectedProperty("GetReferencesResult", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("pagingMetadata", "GetReferencesResult"); + } + + return Reporting.Result.success(new GetReferencesResult(thePagingMetadata, theResult)); + } + + /** Deserialize an instance of class GetReferencesResult from an XML element. */ + private static Reporting.Result + readGetReferencesResultFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "getReferencesResult", + _DeserializeImplementation::readGetReferencesResultFromSequence); + } + + /** + * Deserialize an instance of class GetSubmodelDescriptorsResult from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readGetSubmodelDescriptorsResultFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "pagingMetadata": + { + if (thePagingMetadata != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readPagingMetadataFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePagingMetadata = value.getResult(); + } + break; + } + case "result": + { + if (theResult != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISubmodelDescriptor(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theResult = value.getResult(); + } + break; + } + default: + return unexpectedProperty("GetSubmodelDescriptorsResult", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("pagingMetadata", "GetSubmodelDescriptorsResult"); + } + + return Reporting.Result.success( + new GetSubmodelDescriptorsResult(thePagingMetadata, theResult)); + } + + /** Deserialize an instance of class GetSubmodelDescriptorsResult from an XML element. */ + private static Reporting.Result + readGetSubmodelDescriptorsResultFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "getSubmodelDescriptorsResult", + _DeserializeImplementation::readGetSubmodelDescriptorsResultFromSequence); + } + + /** + * Deserialize an instance of class GetSubmodelElementsMetadataResult from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readGetSubmodelElementsMetadataResultFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "pagingMetadata": + { + if (thePagingMetadata != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readPagingMetadataFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePagingMetadata = value.getResult(); + } + break; + } + case "result": + { + if (theResult != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISubmodelElementMetadata(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theResult = value.getResult(); + } + break; + } + default: + return unexpectedProperty("GetSubmodelElementsMetadataResult", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("pagingMetadata", "GetSubmodelElementsMetadataResult"); + } + + return Reporting.Result.success( + new GetSubmodelElementsMetadataResult(thePagingMetadata, theResult)); + } + + /** Deserialize an instance of class GetSubmodelElementsMetadataResult from an XML element. */ + private static Reporting.Result + readGetSubmodelElementsMetadataResultFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "getSubmodelElementsMetadataResult", + _DeserializeImplementation::readGetSubmodelElementsMetadataResultFromSequence); + } + + /** + * Deserialize an instance of class GetSubmodelElementsResult from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readGetSubmodelElementsResultFromSequence(XMLEventReader reader, boolean isEmptySequence) { + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "pagingMetadata": + { + if (thePagingMetadata != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readPagingMetadataFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePagingMetadata = value.getResult(); + } + break; + } + case "result": + { + if (theResult != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISubmodelElement(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theResult = value.getResult(); + } + break; + } + default: + return unexpectedProperty("GetSubmodelElementsResult", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("pagingMetadata", "GetSubmodelElementsResult"); + } + + return Reporting.Result.success(new GetSubmodelElementsResult(thePagingMetadata, theResult)); + } + + /** Deserialize an instance of class GetSubmodelElementsResult from an XML element. */ + private static Reporting.Result + readGetSubmodelElementsResultFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "getSubmodelElementsResult", + _DeserializeImplementation::readGetSubmodelElementsResultFromSequence); + } + + /** + * Deserialize an instance of class GetSubmodelElementsValueResult from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readGetSubmodelElementsValueResultFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "pagingMetadata": + { + if (thePagingMetadata != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readPagingMetadataFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePagingMetadata = value.getResult(); + } + break; + } + case "result": + { + if (theResult != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_jsonObject(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theResult = value.getResult(); + } + break; + } + default: + return unexpectedProperty("GetSubmodelElementsValueResult", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("pagingMetadata", "GetSubmodelElementsValueResult"); + } + + return Reporting.Result.success( + new GetSubmodelElementsValueResult(thePagingMetadata, theResult)); + } + + /** Deserialize an instance of class GetSubmodelElementsValueResult from an XML element. */ + private static Reporting.Result + readGetSubmodelElementsValueResultFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "getSubmodelElementsValueResult", + _DeserializeImplementation::readGetSubmodelElementsValueResultFromSequence); + } + + /** + * Deserialize an instance of class GetAllSubmodelsRecentChangesResult from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readGetAllSubmodelsRecentChangesResultFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "pagingMetadata": + { + if (thePagingMetadata != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readPagingMetadataFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePagingMetadata = value.getResult(); + } + break; + } + case "result": + { + if (theResult != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISubmodelRecentChange(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theResult = value.getResult(); + } + break; + } + default: + return unexpectedProperty("GetAllSubmodelsRecentChangesResult", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("pagingMetadata", "GetAllSubmodelsRecentChangesResult"); + } + + return Reporting.Result.success( + new GetAllSubmodelsRecentChangesResult(thePagingMetadata, theResult)); + } + + /** Deserialize an instance of class GetAllSubmodelsRecentChangesResult from an XML element. */ + private static Reporting.Result + readGetAllSubmodelsRecentChangesResultFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "getAllSubmodelsRecentChangesResult", + _DeserializeImplementation::readGetAllSubmodelsRecentChangesResultFromSequence); + } + + /** + * Deserialize an instance of class GetSubmodelsMetadataResult from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readGetSubmodelsMetadataResultFromSequence(XMLEventReader reader, boolean isEmptySequence) { + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "pagingMetadata": + { + if (thePagingMetadata != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readPagingMetadataFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePagingMetadata = value.getResult(); + } + break; + } + case "result": + { + if (theResult != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISubmodelMetadata(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theResult = value.getResult(); + } + break; + } + default: + return unexpectedProperty("GetSubmodelsMetadataResult", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("pagingMetadata", "GetSubmodelsMetadataResult"); + } + + return Reporting.Result.success(new GetSubmodelsMetadataResult(thePagingMetadata, theResult)); + } + + /** Deserialize an instance of class GetSubmodelsMetadataResult from an XML element. */ + private static Reporting.Result + readGetSubmodelsMetadataResultFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "getSubmodelsMetadataResult", + _DeserializeImplementation::readGetSubmodelsMetadataResultFromSequence); + } + + /** + * Deserialize an instance of class GetSubmodelsResult from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readGetSubmodelsResultFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "pagingMetadata": + { + if (thePagingMetadata != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readPagingMetadataFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePagingMetadata = value.getResult(); + } + break; + } + case "result": + { + if (theResult != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISubmodel(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theResult = value.getResult(); + } + break; + } + default: + return unexpectedProperty("GetSubmodelsResult", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("pagingMetadata", "GetSubmodelsResult"); + } + + return Reporting.Result.success(new GetSubmodelsResult(thePagingMetadata, theResult)); + } + + /** Deserialize an instance of class GetSubmodelsResult from an XML element. */ + private static Reporting.Result readGetSubmodelsResultFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "getSubmodelsResult", + _DeserializeImplementation::readGetSubmodelsResultFromSequence); + } + + /** + * Deserialize an instance of class GetSubmodelsValueResult from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readGetSubmodelsValueResultFromSequence(XMLEventReader reader, boolean isEmptySequence) { + IPagingMetadata thePagingMetadata = null; + List theResult = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "pagingMetadata": + { + if (thePagingMetadata != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readPagingMetadataFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePagingMetadata = value.getResult(); + } + break; + } + case "result": + { + if (theResult != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_jsonObject(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theResult = value.getResult(); + } + break; + } + default: + return unexpectedProperty("GetSubmodelsValueResult", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePagingMetadata == null) { + return missingRequiredProperty("pagingMetadata", "GetSubmodelsValueResult"); + } + + return Reporting.Result.success(new GetSubmodelsValueResult(thePagingMetadata, theResult)); + } + + /** Deserialize an instance of class GetSubmodelsValueResult from an XML element. */ + private static Reporting.Result + readGetSubmodelsValueResultFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "getSubmodelsValueResult", + _DeserializeImplementation::readGetSubmodelsValueResultFromSequence); + } + + /** + * Deserialize an instance of class ClaimAttribute from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readClaimAttributeFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theClaim = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "claim": + { + if (theClaim != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theClaim = value.getResult(); + } + break; + } + default: + return unexpectedProperty("ClaimAttribute", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theClaim == null) { + return missingRequiredProperty("claim", "ClaimAttribute"); + } + + return Reporting.Result.success(new ClaimAttribute(theClaim)); + } + + /** Deserialize an instance of class ClaimAttribute from an XML element. */ + private static Reporting.Result readClaimAttributeFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "claimAttribute", _DeserializeImplementation::readClaimAttributeFromSequence); + } + + /** + * Deserialize an instance of class GlobalAttribute from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readGlobalAttributeFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + GlobalAttributeKind theKind = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "kind": + { + if (theKind != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_GlobalAttributeKind(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theKind = value.getResult(); + } + break; + } + default: + return unexpectedProperty("GlobalAttribute", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theKind == null) { + return missingRequiredProperty("kind", "GlobalAttribute"); + } + + return Reporting.Result.success(new GlobalAttribute(theKind)); + } + + /** Deserialize an instance of class GlobalAttribute from an XML element. */ + private static Reporting.Result readGlobalAttributeFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "globalAttribute", _DeserializeImplementation::readGlobalAttributeFromSequence); + } + + /** + * Deserialize an instance of class ReferenceAttribute from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readReferenceAttributeFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theReference = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "reference": + { + if (theReference != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theReference = value.getResult(); + } + break; + } + default: + return unexpectedProperty("ReferenceAttribute", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theReference == null) { + return missingRequiredProperty("reference", "ReferenceAttribute"); + } + + return Reporting.Result.success(new ReferenceAttribute(theReference)); + } + + /** Deserialize an instance of class ReferenceAttribute from an XML element. */ + private static Reporting.Result readReferenceAttributeFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "referenceAttribute", + _DeserializeImplementation::readReferenceAttributeFromSequence); + } + + /** + * Deserialize an instance of class DateTimeAttributeItem from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readDateTimeAttributeItemFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + DateTimeGlobalAttributeKind theKind = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "kind": + { + if (theKind != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_DateTimeGlobalAttributeKind(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theKind = value.getResult(); + } + break; + } + default: + return unexpectedProperty("DateTimeAttributeItem", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theKind == null) { + return missingRequiredProperty("kind", "DateTimeAttributeItem"); + } + + return Reporting.Result.success(new DateTimeAttributeItem(theKind)); + } + + /** Deserialize an instance of class DateTimeAttributeItem from an XML element. */ + private static Reporting.Result + readDateTimeAttributeItemFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "dateTimeAttributeItem", + _DeserializeImplementation::readDateTimeAttributeItemFromSequence); + } + + /** + * Deserialize an instance of class FieldOperand from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readFieldOperandFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theField = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "field": + { + if (theField != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theField = value.getResult(); + } + break; + } + default: + return unexpectedProperty("FieldOperand", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theField == null) { + return missingRequiredProperty("field", "FieldOperand"); + } + + return Reporting.Result.success(new FieldOperand(theField)); + } + + /** Deserialize an instance of class FieldOperand from an XML element. */ + private static Reporting.Result readFieldOperandFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "fieldOperand", _DeserializeImplementation::readFieldOperandFromSequence); + } + + /** + * Deserialize an instance of class StringLiteral from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readStringLiteralFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theStrVal = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "strVal": + { + if (theStrVal != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theStrVal = value.getResult(); + } + break; + } + default: + return unexpectedProperty("StringLiteral", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theStrVal == null) { + return missingRequiredProperty("strVal", "StringLiteral"); + } + + return Reporting.Result.success(new StringLiteral(theStrVal)); + } + + /** Deserialize an instance of class StringLiteral from an XML element. */ + private static Reporting.Result readStringLiteralFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "stringLiteral", _DeserializeImplementation::readStringLiteralFromSequence); + } + + /** + * Deserialize an instance of class AttributeOperand from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readAttributeOperandFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + AttributeItem theAttribute = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "attribute": + { + if (theAttribute != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + XmlCommon.readNestedElement( + reader, + isEmptyProperty, + _DeserializeImplementation::readAttributeItemFromElement); + if (value.isError()) { + valueError = value.getError(); + } else { + theAttribute = value.getResult(); + } + break; + } + default: + return unexpectedProperty("AttributeOperand", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theAttribute == null) { + return missingRequiredProperty("attribute", "AttributeOperand"); + } + + return Reporting.Result.success(new AttributeOperand(theAttribute)); + } + + /** Deserialize an instance of class AttributeOperand from an XML element. */ + private static Reporting.Result readAttributeOperandFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "attributeOperand", _DeserializeImplementation::readAttributeOperandFromSequence); + } + + /** + * Deserialize an instance of class NumberLiteral from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readNumberLiteralFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + Double theNumVal = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "numVal": + { + if (theNumVal != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_double(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theNumVal = value.getResult(); + } + break; + } + default: + return unexpectedProperty("NumberLiteral", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theNumVal == null) { + return missingRequiredProperty("numVal", "NumberLiteral"); + } + + return Reporting.Result.success(new NumberLiteral(theNumVal)); + } + + /** Deserialize an instance of class NumberLiteral from an XML element. */ + private static Reporting.Result readNumberLiteralFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "numberLiteral", _DeserializeImplementation::readNumberLiteralFromSequence); + } + + /** + * Deserialize an instance of class HexLiteral from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readHexLiteralFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theHexVal = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "hexVal": + { + if (theHexVal != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theHexVal = value.getResult(); + } + break; + } + default: + return unexpectedProperty("HexLiteral", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theHexVal == null) { + return missingRequiredProperty("hexVal", "HexLiteral"); + } + + return Reporting.Result.success(new HexLiteral(theHexVal)); + } + + /** Deserialize an instance of class HexLiteral from an XML element. */ + private static Reporting.Result readHexLiteralFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "hexLiteral", _DeserializeImplementation::readHexLiteralFromSequence); + } + + /** + * Deserialize an instance of class DateTimeLiteral from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readDateTimeLiteralFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theDateTimeVal = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "dateTimeVal": + { + if (theDateTimeVal != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDateTimeVal = value.getResult(); + } + break; + } + default: + return unexpectedProperty("DateTimeLiteral", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theDateTimeVal == null) { + return missingRequiredProperty("dateTimeVal", "DateTimeLiteral"); + } + + return Reporting.Result.success(new DateTimeLiteral(theDateTimeVal)); + } + + /** Deserialize an instance of class DateTimeLiteral from an XML element. */ + private static Reporting.Result readDateTimeLiteralFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "dateTimeLiteral", _DeserializeImplementation::readDateTimeLiteralFromSequence); + } + + /** + * Deserialize an instance of class TimeLiteral from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readTimeLiteralFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theTimeVal = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "timeVal": + { + if (theTimeVal != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theTimeVal = value.getResult(); + } + break; + } + default: + return unexpectedProperty("TimeLiteral", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theTimeVal == null) { + return missingRequiredProperty("timeVal", "TimeLiteral"); + } + + return Reporting.Result.success(new TimeLiteral(theTimeVal)); + } + + /** Deserialize an instance of class TimeLiteral from an XML element. */ + private static Reporting.Result readTimeLiteralFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "timeLiteral", _DeserializeImplementation::readTimeLiteralFromSequence); + } + + /** + * Deserialize an instance of class BooleanLiteral from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readBooleanLiteralFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + Boolean theBoolean = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "boolean": + { + if (theBoolean != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_bool(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theBoolean = value.getResult(); + } + break; + } + default: + return unexpectedProperty("BooleanLiteral", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theBoolean == null) { + return missingRequiredProperty("booleaN", "BooleanLiteral"); + } + + return Reporting.Result.success(new BooleanLiteral(theBoolean)); + } + + /** Deserialize an instance of class BooleanLiteral from an XML element. */ + private static Reporting.Result readBooleanLiteralFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "booleanLiteral", _DeserializeImplementation::readBooleanLiteralFromSequence); + } + + /** + * Deserialize an instance of class StringCast from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readStringCastFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + Value theStrCast = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "strCast": + { + if (theStrCast != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + XmlCommon.readNestedElement( + reader, isEmptyProperty, _DeserializeImplementation::readValueFromElement); + if (value.isError()) { + valueError = value.getError(); + } else { + theStrCast = value.getResult(); + } + break; + } + default: + return unexpectedProperty("StringCast", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theStrCast == null) { + return missingRequiredProperty("strCast", "StringCast"); + } + + return Reporting.Result.success(new StringCast(theStrCast)); + } + + /** Deserialize an instance of class StringCast from an XML element. */ + private static Reporting.Result readStringCastFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "stringCast", _DeserializeImplementation::readStringCastFromSequence); + } + + /** + * Deserialize an instance of class NumberCast from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readNumberCastFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + Value theNumCast = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "numCast": + { + if (theNumCast != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + XmlCommon.readNestedElement( + reader, isEmptyProperty, _DeserializeImplementation::readValueFromElement); + if (value.isError()) { + valueError = value.getError(); + } else { + theNumCast = value.getResult(); + } + break; + } + default: + return unexpectedProperty("NumberCast", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theNumCast == null) { + return missingRequiredProperty("numCast", "NumberCast"); + } + + return Reporting.Result.success(new NumberCast(theNumCast)); + } + + /** Deserialize an instance of class NumberCast from an XML element. */ + private static Reporting.Result readNumberCastFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "numberCast", _DeserializeImplementation::readNumberCastFromSequence); + } + + /** + * Deserialize an instance of class HexCast from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readHexCastFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + Value theHexCast = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "hexCast": + { + if (theHexCast != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + XmlCommon.readNestedElement( + reader, isEmptyProperty, _DeserializeImplementation::readValueFromElement); + if (value.isError()) { + valueError = value.getError(); + } else { + theHexCast = value.getResult(); + } + break; + } + default: + return unexpectedProperty("HexCast", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theHexCast == null) { + return missingRequiredProperty("hexCast", "HexCast"); + } + + return Reporting.Result.success(new HexCast(theHexCast)); + } + + /** Deserialize an instance of class HexCast from an XML element. */ + private static Reporting.Result readHexCastFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "hexCast", _DeserializeImplementation::readHexCastFromSequence); + } + + /** + * Deserialize an instance of class BooleanCast from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readBooleanCastFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + Value theBoolCast = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "boolCast": + { + if (theBoolCast != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + XmlCommon.readNestedElement( + reader, isEmptyProperty, _DeserializeImplementation::readValueFromElement); + if (value.isError()) { + valueError = value.getError(); + } else { + theBoolCast = value.getResult(); + } + break; + } + default: + return unexpectedProperty("BooleanCast", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theBoolCast == null) { + return missingRequiredProperty("boolCast", "BooleanCast"); + } + + return Reporting.Result.success(new BooleanCast(theBoolCast)); + } + + /** Deserialize an instance of class BooleanCast from an XML element. */ + private static Reporting.Result readBooleanCastFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "booleanCast", _DeserializeImplementation::readBooleanCastFromSequence); + } + + /** + * Deserialize an instance of class DateTimeCast from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readDateTimeCastFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + StringValue theDateTimeCast = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "dateTimeCast": + { + if (theDateTimeCast != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + XmlCommon.readNestedElement( + reader, + isEmptyProperty, + _DeserializeImplementation::readStringValueFromElement); + if (value.isError()) { + valueError = value.getError(); + } else { + theDateTimeCast = value.getResult(); + } + break; + } + default: + return unexpectedProperty("DateTimeCast", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theDateTimeCast == null) { + return missingRequiredProperty("dateTimeCast", "DateTimeCast"); + } + + return Reporting.Result.success(new DateTimeCast(theDateTimeCast)); + } + + /** Deserialize an instance of class DateTimeCast from an XML element. */ + private static Reporting.Result readDateTimeCastFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "dateTimeCast", _DeserializeImplementation::readDateTimeCastFromSequence); + } + + /** + * Deserialize an instance of class TimeCast from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readTimeCastFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + TimeCastOperand theTimeCast = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "timeCast": + { + if (theTimeCast != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + XmlCommon.readNestedElement( + reader, + isEmptyProperty, + _DeserializeImplementation::readTimeCastOperandFromElement); + if (value.isError()) { + valueError = value.getError(); + } else { + theTimeCast = value.getResult(); + } + break; + } + default: + return unexpectedProperty("TimeCast", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theTimeCast == null) { + return missingRequiredProperty("timeCast", "TimeCast"); + } + + return Reporting.Result.success(new TimeCast(theTimeCast)); + } + + /** Deserialize an instance of class TimeCast from an XML element. */ + private static Reporting.Result readTimeCastFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "timeCast", _DeserializeImplementation::readTimeCastFromSequence); + } + + /** + * Deserialize an instance of class DayOfWeek from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readDayOfWeekFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + DateTimeOperand theDayOfWeek = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "dayOfWeek": + { + if (theDayOfWeek != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + XmlCommon.readNestedElement( + reader, + isEmptyProperty, + _DeserializeImplementation::readDateTimeOperandFromElement); + if (value.isError()) { + valueError = value.getError(); + } else { + theDayOfWeek = value.getResult(); + } + break; + } + default: + return unexpectedProperty("DayOfWeek", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theDayOfWeek == null) { + return missingRequiredProperty("dayOfWeek", "DayOfWeek"); + } + + return Reporting.Result.success(new DayOfWeek(theDayOfWeek)); + } + + /** Deserialize an instance of class DayOfWeek from an XML element. */ + private static Reporting.Result readDayOfWeekFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "dayOfWeek", _DeserializeImplementation::readDayOfWeekFromSequence); + } + + /** + * Deserialize an instance of class DayOfMonth from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readDayOfMonthFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + DateTimeOperand theDayOfMonth = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "dayOfMonth": + { + if (theDayOfMonth != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + XmlCommon.readNestedElement( + reader, + isEmptyProperty, + _DeserializeImplementation::readDateTimeOperandFromElement); + if (value.isError()) { + valueError = value.getError(); + } else { + theDayOfMonth = value.getResult(); + } + break; + } + default: + return unexpectedProperty("DayOfMonth", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theDayOfMonth == null) { + return missingRequiredProperty("dayOfMonth", "DayOfMonth"); + } + + return Reporting.Result.success(new DayOfMonth(theDayOfMonth)); + } + + /** Deserialize an instance of class DayOfMonth from an XML element. */ + private static Reporting.Result readDayOfMonthFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "dayOfMonth", _DeserializeImplementation::readDayOfMonthFromSequence); + } + + /** + * Deserialize an instance of class Month from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readMonthFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + DateTimeOperand theMonth = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "month": + { + if (theMonth != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + XmlCommon.readNestedElement( + reader, + isEmptyProperty, + _DeserializeImplementation::readDateTimeOperandFromElement); + if (value.isError()) { + valueError = value.getError(); + } else { + theMonth = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Month", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theMonth == null) { + return missingRequiredProperty("month", "Month"); + } + + return Reporting.Result.success(new Month(theMonth)); + } + + /** Deserialize an instance of class Month from an XML element. */ + private static Reporting.Result readMonthFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "month", _DeserializeImplementation::readMonthFromSequence); + } + + /** + * Deserialize an instance of class Year from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readYearFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + DateTimeOperand theYear = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "year": + { + if (theYear != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + XmlCommon.readNestedElement( + reader, + isEmptyProperty, + _DeserializeImplementation::readDateTimeOperandFromElement); + if (value.isError()) { + valueError = value.getError(); + } else { + theYear = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Year", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theYear == null) { + return missingRequiredProperty("year", "Year"); + } + + return Reporting.Result.success(new Year(theYear)); + } + + /** Deserialize an instance of class Year from an XML element. */ + private static Reporting.Result readYearFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "year", _DeserializeImplementation::readYearFromSequence); + } + + /** + * Deserialize an instance of class DateTimeAttributeOperand from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readDateTimeAttributeOperandFromSequence(XMLEventReader reader, boolean isEmptySequence) { + IDateTimeAttributeItem theAttribute = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "attribute": + { + if (theAttribute != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readDateTimeAttributeItemFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAttribute = value.getResult(); + } + break; + } + default: + return unexpectedProperty("DateTimeAttributeOperand", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theAttribute == null) { + return missingRequiredProperty("attribute", "DateTimeAttributeOperand"); + } + + return Reporting.Result.success(new DateTimeAttributeOperand(theAttribute)); + } + + /** Deserialize an instance of class DateTimeAttributeOperand from an XML element. */ + private static Reporting.Result + readDateTimeAttributeOperandFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "dateTimeAttributeOperand", + _DeserializeImplementation::readDateTimeAttributeOperandFromSequence); + } + + /** + * Deserialize an instance of class EqualComparison from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readEqualComparisonFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + Tuple2 theEq = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "eq": + { + if (theEq != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readTupleOf2_Value_Value(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEq = value.getResult(); + } + break; + } + default: + return unexpectedProperty("EqualComparison", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theEq == null) { + return missingRequiredProperty("eq", "EqualComparison"); + } + + return Reporting.Result.success(new EqualComparison(theEq)); + } + + /** Deserialize an instance of class EqualComparison from an XML element. */ + private static Reporting.Result readEqualComparisonFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "equalComparison", _DeserializeImplementation::readEqualComparisonFromSequence); + } + + /** + * Deserialize an instance of class NotEqualComparison from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readNotEqualComparisonFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + Tuple2 theNe = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "ne": + { + if (theNe != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readTupleOf2_Value_Value(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theNe = value.getResult(); + } + break; + } + default: + return unexpectedProperty("NotEqualComparison", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theNe == null) { + return missingRequiredProperty("ne", "NotEqualComparison"); + } + + return Reporting.Result.success(new NotEqualComparison(theNe)); + } + + /** Deserialize an instance of class NotEqualComparison from an XML element. */ + private static Reporting.Result readNotEqualComparisonFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "notEqualComparison", + _DeserializeImplementation::readNotEqualComparisonFromSequence); + } + + /** + * Deserialize an instance of class GreaterThanComparison from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readGreaterThanComparisonFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + Tuple2 theGt = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "gt": + { + if (theGt != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readTupleOf2_Value_Value(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theGt = value.getResult(); + } + break; + } + default: + return unexpectedProperty("GreaterThanComparison", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theGt == null) { + return missingRequiredProperty("gt", "GreaterThanComparison"); + } + + return Reporting.Result.success(new GreaterThanComparison(theGt)); + } + + /** Deserialize an instance of class GreaterThanComparison from an XML element. */ + private static Reporting.Result + readGreaterThanComparisonFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "greaterThanComparison", + _DeserializeImplementation::readGreaterThanComparisonFromSequence); + } + + /** + * Deserialize an instance of class GreaterThanOrEqualComparison from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readGreaterThanOrEqualComparisonFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + Tuple2 theGe = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "ge": + { + if (theGe != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readTupleOf2_Value_Value(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theGe = value.getResult(); + } + break; + } + default: + return unexpectedProperty("GreaterThanOrEqualComparison", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theGe == null) { + return missingRequiredProperty("ge", "GreaterThanOrEqualComparison"); + } + + return Reporting.Result.success(new GreaterThanOrEqualComparison(theGe)); + } + + /** Deserialize an instance of class GreaterThanOrEqualComparison from an XML element. */ + private static Reporting.Result + readGreaterThanOrEqualComparisonFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "greaterThanOrEqualComparison", + _DeserializeImplementation::readGreaterThanOrEqualComparisonFromSequence); + } + + /** + * Deserialize an instance of class LessThanComparison from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readLessThanComparisonFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + Tuple2 theLt = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "lt": + { + if (theLt != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readTupleOf2_Value_Value(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theLt = value.getResult(); + } + break; + } + default: + return unexpectedProperty("LessThanComparison", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theLt == null) { + return missingRequiredProperty("lt", "LessThanComparison"); + } + + return Reporting.Result.success(new LessThanComparison(theLt)); + } + + /** Deserialize an instance of class LessThanComparison from an XML element. */ + private static Reporting.Result readLessThanComparisonFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "lessThanComparison", + _DeserializeImplementation::readLessThanComparisonFromSequence); + } + + /** + * Deserialize an instance of class LessThanOrEqualComparison from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readLessThanOrEqualComparisonFromSequence(XMLEventReader reader, boolean isEmptySequence) { + Tuple2 theLe = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "le": + { + if (theLe != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readTupleOf2_Value_Value(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theLe = value.getResult(); + } + break; + } + default: + return unexpectedProperty("LessThanOrEqualComparison", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theLe == null) { + return missingRequiredProperty("le", "LessThanOrEqualComparison"); + } + + return Reporting.Result.success(new LessThanOrEqualComparison(theLe)); + } + + /** Deserialize an instance of class LessThanOrEqualComparison from an XML element. */ + private static Reporting.Result + readLessThanOrEqualComparisonFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "lessThanOrEqualComparison", + _DeserializeImplementation::readLessThanOrEqualComparisonFromSequence); + } + + /** + * Deserialize an instance of class ContainsComparison from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readContainsComparisonFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + Tuple2 theContains = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "contains": + { + if (theContains != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readTupleOf2_StringValue_StringValue(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theContains = value.getResult(); + } + break; + } + default: + return unexpectedProperty("ContainsComparison", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theContains == null) { + return missingRequiredProperty("contains", "ContainsComparison"); + } + + return Reporting.Result.success(new ContainsComparison(theContains)); + } + + /** Deserialize an instance of class ContainsComparison from an XML element. */ + private static Reporting.Result readContainsComparisonFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "containsComparison", + _DeserializeImplementation::readContainsComparisonFromSequence); + } + + /** + * Deserialize an instance of class StartsWithComparison from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readStartsWithComparisonFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + Tuple2 theStartsWith = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "startsWith": + { + if (theStartsWith != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readTupleOf2_StringValue_StringValue(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theStartsWith = value.getResult(); + } + break; + } + default: + return unexpectedProperty("StartsWithComparison", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theStartsWith == null) { + return missingRequiredProperty("startsWith", "StartsWithComparison"); + } + + return Reporting.Result.success(new StartsWithComparison(theStartsWith)); + } + + /** Deserialize an instance of class StartsWithComparison from an XML element. */ + private static Reporting.Result + readStartsWithComparisonFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "startsWithComparison", + _DeserializeImplementation::readStartsWithComparisonFromSequence); + } + + /** + * Deserialize an instance of class EndsWithComparison from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readEndsWithComparisonFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + Tuple2 theEndsWith = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "endsWith": + { + if (theEndsWith != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readTupleOf2_StringValue_StringValue(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEndsWith = value.getResult(); + } + break; + } + default: + return unexpectedProperty("EndsWithComparison", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theEndsWith == null) { + return missingRequiredProperty("endsWith", "EndsWithComparison"); + } + + return Reporting.Result.success(new EndsWithComparison(theEndsWith)); + } + + /** Deserialize an instance of class EndsWithComparison from an XML element. */ + private static Reporting.Result readEndsWithComparisonFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "endsWithComparison", + _DeserializeImplementation::readEndsWithComparisonFromSequence); + } + + /** + * Deserialize an instance of class RegexComparison from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readRegexComparisonFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + Tuple2 theRegex = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "regex": + { + if (theRegex != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readTupleOf2_StringValue_StringValue(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theRegex = value.getResult(); + } + break; + } + default: + return unexpectedProperty("RegexComparison", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theRegex == null) { + return missingRequiredProperty("regex", "RegexComparison"); + } + + return Reporting.Result.success(new RegexComparison(theRegex)); + } + + /** Deserialize an instance of class RegexComparison from an XML element. */ + private static Reporting.Result readRegexComparisonFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "regexComparison", _DeserializeImplementation::readRegexComparisonFromSequence); + } + + /** + * Deserialize an instance of class MatchClause from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readMatchClauseFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theMatchOperands = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "matchOperands": + { + if (theMatchOperands != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_MatchExpression(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMatchOperands = value.getResult(); + } + break; + } + default: + return unexpectedProperty("MatchClause", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theMatchOperands == null) { + return missingRequiredProperty("matchOperands", "MatchClause"); + } + + return Reporting.Result.success(new MatchClause(theMatchOperands)); + } + + /** Deserialize an instance of class MatchClause from an XML element. */ + private static Reporting.Result readMatchClauseFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "matchClause", _DeserializeImplementation::readMatchClauseFromSequence); + } + + /** + * Deserialize an instance of class AndExpression from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readAndExpressionFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theAndOperands = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "andOperands": + { + if (theAndOperands != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_LogicalExpression(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAndOperands = value.getResult(); + } + break; + } + default: + return unexpectedProperty("AndExpression", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theAndOperands == null) { + return missingRequiredProperty("andOperands", "AndExpression"); + } + + return Reporting.Result.success(new AndExpression(theAndOperands)); + } + + /** Deserialize an instance of class AndExpression from an XML element. */ + private static Reporting.Result readAndExpressionFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "andExpression", _DeserializeImplementation::readAndExpressionFromSequence); + } + + /** + * Deserialize an instance of class OrExpression from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readOrExpressionFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theOrOperands = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "orOperands": + { + if (theOrOperands != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_LogicalExpression(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theOrOperands = value.getResult(); + } + break; + } + default: + return unexpectedProperty("OrExpression", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theOrOperands == null) { + return missingRequiredProperty("orOperands", "OrExpression"); + } + + return Reporting.Result.success(new OrExpression(theOrOperands)); + } + + /** Deserialize an instance of class OrExpression from an XML element. */ + private static Reporting.Result readOrExpressionFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "orExpression", _DeserializeImplementation::readOrExpressionFromSequence); + } + + /** + * Deserialize an instance of class NotExpression from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readNotExpressionFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + LogicalExpression theNotOperand = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "notOperand": + { + if (theNotOperand != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + XmlCommon.readNestedElement( + reader, + isEmptyProperty, + _DeserializeImplementation::readLogicalExpressionFromElement); + if (value.isError()) { + valueError = value.getError(); + } else { + theNotOperand = value.getResult(); + } + break; + } + default: + return unexpectedProperty("NotExpression", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theNotOperand == null) { + return missingRequiredProperty("notOperand", "NotExpression"); + } + + return Reporting.Result.success(new NotExpression(theNotOperand)); + } + + /** Deserialize an instance of class NotExpression from an XML element. */ + private static Reporting.Result readNotExpressionFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "notExpression", _DeserializeImplementation::readNotExpressionFromSequence); + } + + /** + * Deserialize an instance of class QueryFilter from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readQueryFilterFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theFragment = null; + LogicalExpression theCondition = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "fragment": + { + if (theFragment != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theFragment = value.getResult(); + } + break; + } + case "condition": + { + if (theCondition != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + XmlCommon.readNestedElement( + reader, + isEmptyProperty, + _DeserializeImplementation::readLogicalExpressionFromElement); + if (value.isError()) { + valueError = value.getError(); + } else { + theCondition = value.getResult(); + } + break; + } + default: + return unexpectedProperty("QueryFilter", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theFragment == null) { + return missingRequiredProperty("fragment", "QueryFilter"); + } + + if (theCondition == null) { + return missingRequiredProperty("condition", "QueryFilter"); + } + + return Reporting.Result.success(new QueryFilter(theFragment, theCondition)); + } + + /** Deserialize an instance of class QueryFilter from an XML element. */ + private static Reporting.Result readQueryFilterFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "queryFilter", _DeserializeImplementation::readQueryFilterFromSequence); + } + + /** + * Deserialize an instance of class Query from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readQueryFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + QuerySelect theSelect = null; + LogicalExpression theCondition = null; + List theFilters = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "select": + { + if (theSelect != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_QuerySelect(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSelect = value.getResult(); + } + break; + } + case "condition": + { + if (theCondition != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + XmlCommon.readNestedElement( + reader, + isEmptyProperty, + _DeserializeImplementation::readLogicalExpressionFromElement); + if (value.isError()) { + valueError = value.getError(); + } else { + theCondition = value.getResult(); + } + break; + } + case "filters": + { + if (theFilters != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQueryFilter(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theFilters = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Query", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theCondition == null) { + return missingRequiredProperty("condition", "Query"); + } + + return Reporting.Result.success(new Query(theCondition, theSelect, theFilters)); + } + + /** Deserialize an instance of class Query from an XML element. */ + private static Reporting.Result readQueryFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "query", _DeserializeImplementation::readQueryFromSequence); + } + + /** Deserialize an instance of AttributeItem from an XML element. */ + private static Reporting.Result readAttributeItemFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "claimAttribute": + { + final Reporting.Result result = + readClaimAttributeFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(AttributeItem.fromClaimAttribute(result.getResult())); + } + case "globalAttribute": + { + final Reporting.Result result = + readGlobalAttributeFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(AttributeItem.fromGlobalAttribute(result.getResult())); + } + case "referenceAttribute": + { + final Reporting.Result result = + readReferenceAttributeFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + AttributeItem.fromReferenceAttribute(result.getResult())); + } + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** Deserialize an instance of StringValue from an XML element. */ + private static Reporting.Result readStringValueFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "fieldOperand": + { + final Reporting.Result result = + readFieldOperandFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(StringValue.fromFieldOperand(result.getResult())); + } + case "stringLiteral": + { + final Reporting.Result result = + readStringLiteralFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(StringValue.fromStringLiteral(result.getResult())); + } + case "stringCast": + { + final Reporting.Result result = readStringCastFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(StringValue.fromStringCast(result.getResult())); + } + case "attributeOperand": + { + final Reporting.Result result = + readAttributeOperandFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(StringValue.fromAttributeOperand(result.getResult())); + } + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** Deserialize an instance of DateTimeOperand from an XML element. */ + private static Reporting.Result readDateTimeOperandFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "dateTimeLiteral": + { + final Reporting.Result result = + readDateTimeLiteralFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + DateTimeOperand.fromDateTimeLiteral(result.getResult())); + } + case "dateTimeCast": + { + final Reporting.Result result = + readDateTimeCastFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(DateTimeOperand.fromDateTimeCast(result.getResult())); + } + case "dateTimeAttributeOperand": + { + final Reporting.Result result = + readDateTimeAttributeOperandFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + DateTimeOperand.fromDateTimeAttributeOperand(result.getResult())); + } + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** Deserialize an instance of TimeCastOperand from an XML element. */ + private static Reporting.Result readTimeCastOperandFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "fieldOperand": + { + final Reporting.Result result = + readFieldOperandFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(TimeCastOperand.fromFieldOperand(result.getResult())); + } + case "stringLiteral": + { + final Reporting.Result result = + readStringLiteralFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(TimeCastOperand.fromStringLiteral(result.getResult())); + } + case "stringCast": + { + final Reporting.Result result = readStringCastFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(TimeCastOperand.fromStringCast(result.getResult())); + } + case "attributeOperand": + { + final Reporting.Result result = + readAttributeOperandFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + TimeCastOperand.fromAttributeOperand(result.getResult())); + } + case "dateTimeLiteral": + { + final Reporting.Result result = + readDateTimeLiteralFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + TimeCastOperand.fromDateTimeLiteral(result.getResult())); + } + case "dateTimeCast": + { + final Reporting.Result result = + readDateTimeCastFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(TimeCastOperand.fromDateTimeCast(result.getResult())); + } + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** Deserialize an instance of NumericalOperand from an XML element. */ + private static Reporting.Result readNumericalOperandFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "numberLiteral": + { + final Reporting.Result result = + readNumberLiteralFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(NumericalOperand.fromNumberLiteral(result.getResult())); + } + case "numberCast": + { + final Reporting.Result result = readNumberCastFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(NumericalOperand.fromNumberCast(result.getResult())); + } + case "dayOfWeek": + { + final Reporting.Result result = readDayOfWeekFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(NumericalOperand.fromDayOfWeek(result.getResult())); + } + case "dayOfMonth": + { + final Reporting.Result result = readDayOfMonthFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(NumericalOperand.fromDayOfMonth(result.getResult())); + } + case "month": + { + final Reporting.Result result = readMonthFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(NumericalOperand.fromMonth(result.getResult())); + } + case "year": + { + final Reporting.Result result = readYearFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(NumericalOperand.fromYear(result.getResult())); + } + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** Deserialize an instance of HexOperand from an XML element. */ + private static Reporting.Result readHexOperandFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "hexLiteral": + { + final Reporting.Result result = readHexLiteralFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(HexOperand.fromHexLiteral(result.getResult())); + } + case "hexCast": + { + final Reporting.Result result = readHexCastFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(HexOperand.fromHexCast(result.getResult())); + } + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** Deserialize an instance of BoolOperand from an XML element. */ + private static Reporting.Result readBoolOperandFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "booleanLiteral": + { + final Reporting.Result result = + readBooleanLiteralFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(BoolOperand.fromBooleanLiteral(result.getResult())); + } + case "booleanCast": + { + final Reporting.Result result = + readBooleanCastFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(BoolOperand.fromBooleanCast(result.getResult())); + } + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** Deserialize an instance of TimeOperand from an XML element. */ + private static Reporting.Result readTimeOperandFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "timeLiteral": + { + final Reporting.Result result = + readTimeLiteralFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(TimeOperand.fromTimeLiteral(result.getResult())); + } + case "timeCast": + { + final Reporting.Result result = readTimeCastFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(TimeOperand.fromTimeCast(result.getResult())); + } + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** Deserialize an instance of Value from an XML element. */ + private static Reporting.Result readValueFromElement(XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "fieldOperand": + { + final Reporting.Result result = + readFieldOperandFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(Value.fromFieldOperand(result.getResult())); + } + case "stringLiteral": + { + final Reporting.Result result = + readStringLiteralFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(Value.fromStringLiteral(result.getResult())); + } + case "stringCast": + { + final Reporting.Result result = readStringCastFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(Value.fromStringCast(result.getResult())); + } + case "attributeOperand": + { + final Reporting.Result result = + readAttributeOperandFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(Value.fromAttributeOperand(result.getResult())); + } + case "numberLiteral": + { + final Reporting.Result result = + readNumberLiteralFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(Value.fromNumberLiteral(result.getResult())); + } + case "numberCast": + { + final Reporting.Result result = readNumberCastFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(Value.fromNumberCast(result.getResult())); + } + case "dayOfWeek": + { + final Reporting.Result result = readDayOfWeekFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(Value.fromDayOfWeek(result.getResult())); + } + case "dayOfMonth": + { + final Reporting.Result result = readDayOfMonthFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(Value.fromDayOfMonth(result.getResult())); + } + case "month": + { + final Reporting.Result result = readMonthFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(Value.fromMonth(result.getResult())); + } + case "year": + { + final Reporting.Result result = readYearFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(Value.fromYear(result.getResult())); + } + case "hexLiteral": + { + final Reporting.Result result = readHexLiteralFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(Value.fromHexLiteral(result.getResult())); + } + case "hexCast": + { + final Reporting.Result result = readHexCastFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(Value.fromHexCast(result.getResult())); + } + case "booleanLiteral": + { + final Reporting.Result result = + readBooleanLiteralFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(Value.fromBooleanLiteral(result.getResult())); + } + case "booleanCast": + { + final Reporting.Result result = + readBooleanCastFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(Value.fromBooleanCast(result.getResult())); + } + case "dateTimeLiteral": + { + final Reporting.Result result = + readDateTimeLiteralFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(Value.fromDateTimeLiteral(result.getResult())); + } + case "dateTimeCast": + { + final Reporting.Result result = + readDateTimeCastFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(Value.fromDateTimeCast(result.getResult())); + } + case "timeLiteral": + { + final Reporting.Result result = + readTimeLiteralFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(Value.fromTimeLiteral(result.getResult())); + } + case "timeCast": + { + final Reporting.Result result = readTimeCastFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(Value.fromTimeCast(result.getResult())); + } + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** Deserialize an instance of MatchExpression from an XML element. */ + private static Reporting.Result readMatchExpressionFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "matchClause": + { + final Reporting.Result result = + readMatchClauseFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(MatchExpression.fromMatchClause(result.getResult())); + } + case "equalComparison": + { + final Reporting.Result result = + readEqualComparisonFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + MatchExpression.fromEqualComparison(result.getResult())); + } + case "notEqualComparison": + { + final Reporting.Result result = + readNotEqualComparisonFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + MatchExpression.fromNotEqualComparison(result.getResult())); + } + case "greaterThanComparison": + { + final Reporting.Result result = + readGreaterThanComparisonFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + MatchExpression.fromGreaterThanComparison(result.getResult())); + } + case "greaterThanOrEqualComparison": + { + final Reporting.Result result = + readGreaterThanOrEqualComparisonFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + MatchExpression.fromGreaterThanOrEqualComparison(result.getResult())); + } + case "lessThanComparison": + { + final Reporting.Result result = + readLessThanComparisonFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + MatchExpression.fromLessThanComparison(result.getResult())); + } + case "lessThanOrEqualComparison": + { + final Reporting.Result result = + readLessThanOrEqualComparisonFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + MatchExpression.fromLessThanOrEqualComparison(result.getResult())); + } + case "containsComparison": + { + final Reporting.Result result = + readContainsComparisonFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + MatchExpression.fromContainsComparison(result.getResult())); + } + case "startsWithComparison": + { + final Reporting.Result result = + readStartsWithComparisonFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + MatchExpression.fromStartsWithComparison(result.getResult())); + } + case "endsWithComparison": + { + final Reporting.Result result = + readEndsWithComparisonFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + MatchExpression.fromEndsWithComparison(result.getResult())); + } + case "regexComparison": + { + final Reporting.Result result = + readRegexComparisonFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + MatchExpression.fromRegexComparison(result.getResult())); + } + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** Deserialize an instance of LogicalExpression from an XML element. */ + private static Reporting.Result readLogicalExpressionFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "andExpression": + { + final Reporting.Result result = + readAndExpressionFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + LogicalExpression.fromAndExpression(result.getResult())); + } + case "orExpression": + { + final Reporting.Result result = + readOrExpressionFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(LogicalExpression.fromOrExpression(result.getResult())); + } + case "notExpression": + { + final Reporting.Result result = + readNotExpressionFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + LogicalExpression.fromNotExpression(result.getResult())); + } + case "booleanLiteral": + { + final Reporting.Result result = + readBooleanLiteralFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + LogicalExpression.fromBooleanLiteral(result.getResult())); + } + case "matchClause": + { + final Reporting.Result result = + readMatchClauseFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(LogicalExpression.fromMatchClause(result.getResult())); + } + case "equalComparison": + { + final Reporting.Result result = + readEqualComparisonFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + LogicalExpression.fromEqualComparison(result.getResult())); + } + case "notEqualComparison": + { + final Reporting.Result result = + readNotEqualComparisonFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + LogicalExpression.fromNotEqualComparison(result.getResult())); + } + case "greaterThanComparison": + { + final Reporting.Result result = + readGreaterThanComparisonFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + LogicalExpression.fromGreaterThanComparison(result.getResult())); + } + case "greaterThanOrEqualComparison": + { + final Reporting.Result result = + readGreaterThanOrEqualComparisonFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + LogicalExpression.fromGreaterThanOrEqualComparison(result.getResult())); + } + case "lessThanComparison": + { + final Reporting.Result result = + readLessThanComparisonFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + LogicalExpression.fromLessThanComparison(result.getResult())); + } + case "lessThanOrEqualComparison": + { + final Reporting.Result result = + readLessThanOrEqualComparisonFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + LogicalExpression.fromLessThanOrEqualComparison(result.getResult())); + } + case "containsComparison": + { + final Reporting.Result result = + readContainsComparisonFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + LogicalExpression.fromContainsComparison(result.getResult())); + } + case "startsWithComparison": + { + final Reporting.Result result = + readStartsWithComparisonFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + LogicalExpression.fromStartsWithComparison(result.getResult())); + } + case "endsWithComparison": + { + final Reporting.Result result = + readEndsWithComparisonFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + LogicalExpression.fromEndsWithComparison(result.getResult())); + } + case "regexComparison": + { + final Reporting.Result result = + readRegexComparisonFromElement(reader); + if (result.isError()) { + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success( + LogicalExpression.fromRegexComparison(result.getResult())); + } + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + } + + /** Deserialize instances of meta-model classes from XML. */ + /** + * + * + *

+   * Here is an example how to parse an instance of class IHasSemantics:
+   * {@code
+   * XMLEventReader reader = xmlFactory.createXMLEventReader(...some arguments...);
+   * IHasSemantics anInstance = Deserialize.deserializeIHasSemantics(
+   *   reader);
+   * }
+   * 
+ * + *
+   * If the elements live in a namespace, you have to supply it. For example:
+   * {@code
+   * XMLEventReader reader = xmlFactory.createXMLEventReader(...some arguments...);
+   * IHasSemantics anInstance = Deserialize.deserializeIHasSemantics(
+   *   reader,
+   *   "http://www.example.com/5/12");
+   * }
+   * 
+ */ + public static class Deserialize { + /** + * Deserialize an instance of IHasSemantics from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IHasSemantics deserializeIHasSemantics(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIHasSemanticsFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Extension from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Extension deserializeExtension(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readExtensionFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IHasExtensions from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IHasExtensions deserializeIHasExtensions(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIHasExtensionsFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IReferable from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IReferable deserializeIReferable(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIReferableFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IIdentifiable from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IIdentifiable deserializeIIdentifiable(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIIdentifiableFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IHasKind from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IHasKind deserializeIHasKind(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIHasKindFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IHasDataSpecification from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IHasDataSpecification deserializeIHasDataSpecification(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIHasDataSpecificationFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AdministrativeInformation from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static AdministrativeInformation deserializeAdministrativeInformation( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readAdministrativeInformationFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IQualifiable from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IQualifiable deserializeIQualifiable(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIQualifiableFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Qualifier from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Qualifier deserializeQualifier(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readQualifierFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AssetAdministrationShell from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static AssetAdministrationShell deserializeAssetAdministrationShell( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readAssetAdministrationShellFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AssetInformation from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static AssetInformation deserializeAssetInformation(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readAssetInformationFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Resource from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Resource deserializeResource(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readResourceFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SpecificAssetId from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static SpecificAssetId deserializeSpecificAssetId(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readSpecificAssetIdFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Submodel from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Submodel deserializeSubmodel(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readSubmodelFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ISubmodelElement from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static ISubmodelElement deserializeISubmodelElement(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readISubmodelElementFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IRelationshipElement from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IRelationshipElement deserializeIRelationshipElement(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIRelationshipElementFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of RelationshipElement from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static RelationshipElement deserializeRelationshipElement(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readRelationshipElementFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SubmodelElementList from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static SubmodelElementList deserializeSubmodelElementList(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readSubmodelElementListFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SubmodelElementCollection from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static SubmodelElementCollection deserializeSubmodelElementCollection( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readSubmodelElementCollectionFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IDataElement from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IDataElement deserializeIDataElement(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIDataElementFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Property from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Property deserializeProperty(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readPropertyFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of MultiLanguageProperty from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static MultiLanguageProperty deserializeMultiLanguageProperty(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readMultiLanguagePropertyFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Range from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Range deserializeRange(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readRangeFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ReferenceElement from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static ReferenceElement deserializeReferenceElement(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readReferenceElementFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Blob from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Blob deserializeBlob(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readBlobFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of File from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static File deserializeFile(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readFileFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AnnotatedRelationshipElement from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static AnnotatedRelationshipElement deserializeAnnotatedRelationshipElement( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readAnnotatedRelationshipElementFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Entity from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Entity deserializeEntity(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readEntityFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of EventPayload from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static EventPayload deserializeEventPayload(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readEventPayloadFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IEventElement from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IEventElement deserializeIEventElement(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIEventElementFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of BasicEventElement from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static BasicEventElement deserializeBasicEventElement(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readBasicEventElementFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Operation from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Operation deserializeOperation(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readOperationFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OperationVariable from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static OperationVariable deserializeOperationVariable(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readOperationVariableFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Capability from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Capability deserializeCapability(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readCapabilityFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ConceptDescription from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static ConceptDescription deserializeConceptDescription(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readConceptDescriptionFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Reference from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Reference deserializeReference(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readReferenceFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Key from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Key deserializeKey(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readKeyFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IAbstractLangString from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IAbstractLangString deserializeIAbstractLangString(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIAbstractLangStringFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringNameType from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static LangStringNameType deserializeLangStringNameType(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readLangStringNameTypeFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringTextType from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static LangStringTextType deserializeLangStringTextType(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readLangStringTextTypeFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Environment from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Environment deserializeEnvironment(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readEnvironmentFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IDataSpecificationContent from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IDataSpecificationContent deserializeIDataSpecificationContent( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIDataSpecificationContentFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of EmbeddedDataSpecification from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static EmbeddedDataSpecification deserializeEmbeddedDataSpecification( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readEmbeddedDataSpecificationFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LevelType from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static LevelType deserializeLevelType(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readLevelTypeFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ValueReferencePair from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static ValueReferencePair deserializeValueReferencePair(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readValueReferencePairFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ValueList from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static ValueList deserializeValueList(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readValueListFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringPreferredNameTypeIec61360 from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static LangStringPreferredNameTypeIec61360 + deserializeLangStringPreferredNameTypeIec61360(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readLangStringPreferredNameTypeIec61360FromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringShortNameTypeIec61360 from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static LangStringShortNameTypeIec61360 deserializeLangStringShortNameTypeIec61360( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readLangStringShortNameTypeIec61360FromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringDefinitionTypeIec61360 from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static LangStringDefinitionTypeIec61360 deserializeLangStringDefinitionTypeIec61360( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readLangStringDefinitionTypeIec61360FromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringUom from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static LangStringUom deserializeLangStringUom(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readLangStringUomFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DefinitionTypeUom from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static DefinitionTypeUom deserializeDefinitionTypeUom(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readDefinitionTypeUomFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DataSpecificationUom from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static DataSpecificationUom deserializeDataSpecificationUom(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readDataSpecificationUomFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DataSpecificationIec61360 from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static DataSpecificationIec61360 deserializeDataSpecificationIec61360( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readDataSpecificationIec61360FromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IDescriptor from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IDescriptor deserializeIDescriptor(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIDescriptorFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AssetAdministrationShellDescriptor from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static AssetAdministrationShellDescriptor deserializeAssetAdministrationShellDescriptor( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readAssetAdministrationShellDescriptorFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SubmodelDescriptor from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static SubmodelDescriptor deserializeSubmodelDescriptor(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readSubmodelDescriptorFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Endpoint from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Endpoint deserializeEndpoint(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readEndpointFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ProtocolInformation from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static ProtocolInformation deserializeProtocolInformation(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readProtocolInformationFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SecurityAttributeObject from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static SecurityAttributeObject deserializeSecurityAttributeObject( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readSecurityAttributeObjectFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AssetLink from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static AssetLink deserializeAssetLink(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readAssetLinkFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ServiceDescription from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static ServiceDescription deserializeServiceDescription(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readServiceDescriptionFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IRecentChange from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IRecentChange deserializeIRecentChange(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIRecentChangeFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AssetAdministrationShellRecentChange from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static AssetAdministrationShellRecentChange + deserializeAssetAdministrationShellRecentChange(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readAssetAdministrationShellRecentChangeFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ConceptDescriptionRecentChange from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static ConceptDescriptionRecentChange deserializeConceptDescriptionRecentChange( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readConceptDescriptionRecentChangeFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SubmodelRecentChange from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static SubmodelRecentChange deserializeSubmodelRecentChange(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readSubmodelRecentChangeFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Result from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Result deserializeResult(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readResultFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Message from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Message deserializeMessage(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readMessageFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OperationRequest from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static OperationRequest deserializeOperationRequest(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readOperationRequestFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OperationRequestAsync from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static OperationRequestAsync deserializeOperationRequestAsync(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readOperationRequestAsyncFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OperationRequestValueOnly from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static OperationRequestValueOnly deserializeOperationRequestValueOnly( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readOperationRequestValueOnlyFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OperationRequestAsyncValueOnly from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static OperationRequestAsyncValueOnly deserializeOperationRequestAsyncValueOnly( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readOperationRequestAsyncValueOnlyFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of BaseOperationResult from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static BaseOperationResult deserializeBaseOperationResult(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readBaseOperationResultFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OperationResult from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static OperationResult deserializeOperationResult(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readOperationResultFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OperationResultValueOnly from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static OperationResultValueOnly deserializeOperationResultValueOnly( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readOperationResultValueOnlyFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OperationHandle from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static OperationHandle deserializeOperationHandle(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readOperationHandleFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of PagedResult from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static PagedResult deserializePagedResult(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readPagedResultFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of PagingMetadata from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static PagingMetadata deserializePagingMetadata(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readPagingMetadataFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of PackageDescription from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static PackageDescription deserializePackageDescription(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readPackageDescriptionFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ISubmodelElementAttributes from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static ISubmodelElementAttributes deserializeISubmodelElementAttributes( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readISubmodelElementAttributesFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ISubmodelElementMetadata from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static ISubmodelElementMetadata deserializeISubmodelElementMetadata( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readISubmodelElementMetadataFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of PropertyMetadata from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static PropertyMetadata deserializePropertyMetadata(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readPropertyMetadataFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of RangeMetadata from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static RangeMetadata deserializeRangeMetadata(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readRangeMetadataFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of BlobMetadata from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static BlobMetadata deserializeBlobMetadata(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readBlobMetadataFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of FileMetadata from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static FileMetadata deserializeFileMetadata(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readFileMetadataFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of MultiLanguagePropertyMetadata from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static MultiLanguagePropertyMetadata deserializeMultiLanguagePropertyMetadata( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readMultiLanguagePropertyMetadataFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ReferenceElementMetadata from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static ReferenceElementMetadata deserializeReferenceElementMetadata( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readReferenceElementMetadataFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of RelationshipElementMetadata from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static RelationshipElementMetadata deserializeRelationshipElementMetadata( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readRelationshipElementMetadataFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AnnotatedRelationshipElementMetadata from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static AnnotatedRelationshipElementMetadata + deserializeAnnotatedRelationshipElementMetadata(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readAnnotatedRelationshipElementMetadataFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of EntityMetadata from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static EntityMetadata deserializeEntityMetadata(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readEntityMetadataFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of CapabilityMetadata from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static CapabilityMetadata deserializeCapabilityMetadata(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readCapabilityMetadataFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OperationMetadata from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static OperationMetadata deserializeOperationMetadata(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readOperationMetadataFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SubmodelElementCollectionMetadata from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static SubmodelElementCollectionMetadata deserializeSubmodelElementCollectionMetadata( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readSubmodelElementCollectionMetadataFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of BasicEventElementMetadata from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static BasicEventElementMetadata deserializeBasicEventElementMetadata( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readBasicEventElementMetadataFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SubmodelElementListMetadata from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static SubmodelElementListMetadata deserializeSubmodelElementListMetadata( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readSubmodelElementListMetadataFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SubmodelMetadata from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static SubmodelMetadata deserializeSubmodelMetadata(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readSubmodelMetadataFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AssetAdministrationShellMetadata from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static AssetAdministrationShellMetadata deserializeAssetAdministrationShellMetadata( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readAssetAdministrationShellMetadataFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ReferenceElementValue from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static ReferenceElementValue deserializeReferenceElementValue(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readReferenceElementValueFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of BlobValue from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static BlobValue deserializeBlobValue(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readBlobValueFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of FileValue from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static FileValue deserializeFileValue(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readFileValueFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of RangeValue from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static RangeValue deserializeRangeValue(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readRangeValueFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of RelationshipElementValue from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static RelationshipElementValue deserializeRelationshipElementValue( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readRelationshipElementValueFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of BasicEventElementValue from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static BasicEventElementValue deserializeBasicEventElementValue(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readBasicEventElementValueFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AnnotatedRelationshipElementValue from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static AnnotatedRelationshipElementValue deserializeAnnotatedRelationshipElementValue( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readAnnotatedRelationshipElementValueFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of EntityValue from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static EntityValue deserializeEntityValue(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readEntityValueFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetAssetAdministrationShellsResult from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static GetAssetAdministrationShellsResult deserializeGetAssetAdministrationShellsResult( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readGetAssetAdministrationShellsResultFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetAssetAdministrationShellsMetadataResult from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static GetAssetAdministrationShellsMetadataResult + deserializeGetAssetAdministrationShellsMetadataResult(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readGetAssetAdministrationShellsMetadataResultFromElement( + reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetAllAssetAdministrationShellsRecentChangesResult from {@code + * reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static GetAllAssetAdministrationShellsRecentChangesResult + deserializeGetAllAssetAdministrationShellsRecentChangesResult(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation + .readGetAllAssetAdministrationShellsRecentChangesResultFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetAssetAdministrationShellDescriptorsResult from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static GetAssetAdministrationShellDescriptorsResult + deserializeGetAssetAdministrationShellDescriptorsResult(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readGetAssetAdministrationShellDescriptorsResultFromElement( + reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetConceptDescriptionsResult from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static GetConceptDescriptionsResult deserializeGetConceptDescriptionsResult( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readGetConceptDescriptionsResultFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetAllConceptDescriptionsRecentChangesResult from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static GetAllConceptDescriptionsRecentChangesResult + deserializeGetAllConceptDescriptionsRecentChangesResult(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readGetAllConceptDescriptionsRecentChangesResultFromElement( + reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetPackageDescriptionsResult from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static GetPackageDescriptionsResult deserializeGetPackageDescriptionsResult( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readGetPackageDescriptionsResultFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetPathItemsResult from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static GetPathItemsResult deserializeGetPathItemsResult(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readGetPathItemsResultFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetReferencesResult from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static GetReferencesResult deserializeGetReferencesResult(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readGetReferencesResultFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetSubmodelDescriptorsResult from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static GetSubmodelDescriptorsResult deserializeGetSubmodelDescriptorsResult( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readGetSubmodelDescriptorsResultFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetSubmodelElementsMetadataResult from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static GetSubmodelElementsMetadataResult deserializeGetSubmodelElementsMetadataResult( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readGetSubmodelElementsMetadataResultFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetSubmodelElementsResult from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static GetSubmodelElementsResult deserializeGetSubmodelElementsResult( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readGetSubmodelElementsResultFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetSubmodelElementsValueResult from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static GetSubmodelElementsValueResult deserializeGetSubmodelElementsValueResult( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readGetSubmodelElementsValueResultFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetAllSubmodelsRecentChangesResult from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static GetAllSubmodelsRecentChangesResult deserializeGetAllSubmodelsRecentChangesResult( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readGetAllSubmodelsRecentChangesResultFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetSubmodelsMetadataResult from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static GetSubmodelsMetadataResult deserializeGetSubmodelsMetadataResult( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readGetSubmodelsMetadataResultFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetSubmodelsResult from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static GetSubmodelsResult deserializeGetSubmodelsResult(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readGetSubmodelsResultFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GetSubmodelsValueResult from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static GetSubmodelsValueResult deserializeGetSubmodelsValueResult( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readGetSubmodelsValueResultFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ClaimAttribute from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static ClaimAttribute deserializeClaimAttribute(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readClaimAttributeFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GlobalAttribute from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static GlobalAttribute deserializeGlobalAttribute(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readGlobalAttributeFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ReferenceAttribute from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static ReferenceAttribute deserializeReferenceAttribute(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readReferenceAttributeFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DateTimeAttributeItem from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static DateTimeAttributeItem deserializeDateTimeAttributeItem(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readDateTimeAttributeItemFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of FieldOperand from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static FieldOperand deserializeFieldOperand(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readFieldOperandFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of StringLiteral from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static StringLiteral deserializeStringLiteral(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readStringLiteralFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AttributeOperand from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static AttributeOperand deserializeAttributeOperand(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readAttributeOperandFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of NumberLiteral from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static NumberLiteral deserializeNumberLiteral(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readNumberLiteralFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of HexLiteral from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static HexLiteral deserializeHexLiteral(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readHexLiteralFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DateTimeLiteral from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static DateTimeLiteral deserializeDateTimeLiteral(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readDateTimeLiteralFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of TimeLiteral from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static TimeLiteral deserializeTimeLiteral(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readTimeLiteralFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of BooleanLiteral from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static BooleanLiteral deserializeBooleanLiteral(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readBooleanLiteralFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of StringCast from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static StringCast deserializeStringCast(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readStringCastFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of NumberCast from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static NumberCast deserializeNumberCast(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readNumberCastFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of HexCast from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static HexCast deserializeHexCast(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readHexCastFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of BooleanCast from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static BooleanCast deserializeBooleanCast(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readBooleanCastFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DateTimeCast from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static DateTimeCast deserializeDateTimeCast(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readDateTimeCastFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of TimeCast from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static TimeCast deserializeTimeCast(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readTimeCastFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DayOfWeek from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static DayOfWeek deserializeDayOfWeek(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readDayOfWeekFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DayOfMonth from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static DayOfMonth deserializeDayOfMonth(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readDayOfMonthFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Month from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Month deserializeMonth(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readMonthFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Year from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Year deserializeYear(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readYearFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DateTimeAttributeOperand from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static DateTimeAttributeOperand deserializeDateTimeAttributeOperand( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readDateTimeAttributeOperandFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of EqualComparison from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static EqualComparison deserializeEqualComparison(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readEqualComparisonFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of NotEqualComparison from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static NotEqualComparison deserializeNotEqualComparison(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readNotEqualComparisonFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GreaterThanComparison from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static GreaterThanComparison deserializeGreaterThanComparison(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readGreaterThanComparisonFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of GreaterThanOrEqualComparison from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static GreaterThanOrEqualComparison deserializeGreaterThanOrEqualComparison( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readGreaterThanOrEqualComparisonFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LessThanComparison from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static LessThanComparison deserializeLessThanComparison(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readLessThanComparisonFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LessThanOrEqualComparison from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static LessThanOrEqualComparison deserializeLessThanOrEqualComparison( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readLessThanOrEqualComparisonFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ContainsComparison from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static ContainsComparison deserializeContainsComparison(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readContainsComparisonFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of StartsWithComparison from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static StartsWithComparison deserializeStartsWithComparison(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readStartsWithComparisonFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of EndsWithComparison from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static EndsWithComparison deserializeEndsWithComparison(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readEndsWithComparisonFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of RegexComparison from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static RegexComparison deserializeRegexComparison(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readRegexComparisonFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of MatchClause from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static MatchClause deserializeMatchClause(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readMatchClauseFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AndExpression from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static AndExpression deserializeAndExpression(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readAndExpressionFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OrExpression from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static OrExpression deserializeOrExpression(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readOrExpressionFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of NotExpression from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static NotExpression deserializeNotExpression(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readNotExpressionFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of QueryFilter from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static QueryFilter deserializeQueryFilter(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readQueryFilterFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Query from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Query deserializeQuery(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readQueryFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AttributeItem from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static AttributeItem deserializeAttributeItem(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readAttributeItemFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of StringValue from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static StringValue deserializeStringValue(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readStringValueFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DateTimeOperand from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static DateTimeOperand deserializeDateTimeOperand(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readDateTimeOperandFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of TimeCastOperand from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static TimeCastOperand deserializeTimeCastOperand(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readTimeCastOperandFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of NumericalOperand from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static NumericalOperand deserializeNumericalOperand(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readNumericalOperandFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of HexOperand from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static HexOperand deserializeHexOperand(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readHexOperandFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of BoolOperand from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static BoolOperand deserializeBoolOperand(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readBoolOperandFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of TimeOperand from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static TimeOperand deserializeTimeOperand(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readTimeOperandFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Value from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Value deserializeValue(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readValueFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of MatchExpression from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static MatchExpression deserializeMatchExpression(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readMatchExpressionFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LogicalExpression from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static LogicalExpression deserializeLogicalExpression(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readLogicalExpressionFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + } + + /** Serialize recursively the instances as XML elements. */ + static class _VisitorWithWriter extends AbstractVisitorWithContext { + + /** + * Declare the XML namespace on the element which this visitor writes. + * + *

Only the outermost element carries the declaration. The obvious alternative -- a flag + * cleared once the first element has been written -- would be mutable state, and state forces + * every method of this class to be an instance method, which in turn makes every method + * reference to it capture {@code this} and allocate. Pinning the flag in the constructor + * instead costs one visitor per case, allocated once for the whole program, and lets everything + * else here be {@code static}. + */ + private final boolean withNamespace; + + private _VisitorWithWriter(boolean withNamespace) { + this.withNamespace = withNamespace; + } + + /** Write the outermost element, which declares the XML namespace. */ + private static final _VisitorWithWriter ROOT = new _VisitorWithWriter(true); + + /** Write an element nested in another one, which never re-declares the XML namespace. */ + private static final _VisitorWithWriter NESTED = new _VisitorWithWriter(false); + + /** + * Write {@code that} as the XML element of a property called {@code name}. + * + *

This is {@link #writeElement} plus the one thing a property knows which nothing below it + * does: its own name. Prepending it here, once, saves a {@code try} around every one of the + * property writes. + * + *

The path names the getter, and not the XML element: a serialization error is reported on + * an instance, which the caller holds, and not on a document which has not been + * written yet. + */ + private static void writeProperty( + String name, + String getterName, + T that, + XMLStreamWriter writer, + XmlCommon.ContentWriter writeContent) { + try { + XmlCommon.writeElement(name, that, writer, writeContent); + } catch (XmlCommon.SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.NameSegment(getterName)); + throw failure; + } + } + + /** + * Write {@code that} as the XML element of a property called {@code name} if it has been given, + * and write nothing at all otherwise. + * + *

The {@link Optional} is taken apart here, once, instead of at every optional property: + * asking it and then unwrapping it at the call site would call the getter twice, and every call + * allocates an {@link Optional} of its own. + */ + private static void writeOptionalProperty( + String name, + String getterName, + Optional that, + XMLStreamWriter writer, + XmlCommon.ContentWriter writeContent) { + final T value = that.orElse(null); + if (value != null) { + writeProperty(name, getterName, value, writer, writeContent); + } + } + + /** + * Write {@code that} as its own, self-describing XML element. + * + *

Which element that is, is decided by the run-time type of {@code that}, so this one writer + * serves every abstract class, every concrete class with descendants, and the item of a list or + * of a tuple of any class at all. The reading, which has to decide what to construct before it + * has read anything, needs a dispatcher per interface instead. + * + *

An element written from here is nested in another one by construction, so it goes through + * the visitor which does not re-declare the XML namespace. + */ + private static void writeClass(IClass that, XMLStreamWriter writer) { + NESTED.visit(that, writer); + } + + /** + * Write the underlying instance of {@code that} as its own XML element. + * + *

A named union is not itself an {@link IClass}, so it can not be written by {@link + * #writeClass} directly. Dispatching over the common {@code IUnion} instead of the union's + * own type means a single writer for *all* the named unions, not one per union. + * + *

Should a named union ever be allowed to flatten a primitive or an enumeration alternative, + * only this body has to change -- every call site stays the same. + */ + private static void writeUnion(IUnion that, XMLStreamWriter writer) { + writeClass(that.getUnderlying(), writer); + } + + /** + * Write {@code that} as base64-encoded XML content. + * + *

This is the {@link ContentWriter} of every {@code byte[]}-typed value, be it a property, a + * list item or a tuple item. + */ + private static void writeByteArrayContent(byte[] that, XMLStreamWriter writer) + throws XMLStreamException { + writer.writeCharacters(Base64.getEncoder().encodeToString(that)); + } + + /** + * Write the text of {@code that} as XML content. + * + *

This is the {@link ContentWriter} of every enumeration-typed value, be it a property, a + * list item or a tuple item. There is one writer, and not one per enumeration, since a literal + * carries its own text -- see {@link IEnum#literalText()} -- so nothing here is specific to an + * enumeration. + */ + private static void writeEnum(IEnum that, XMLStreamWriter writer) throws XMLStreamException { + writer.writeCharacters(that.literalText()); + } + + /** Write {@code that} as the content of an element holding a JSON-able value. */ + private static void writeJsonValueContent(JsonNode that, XMLStreamWriter writer) { + XmlRpc.writeValueContent(that, writer); + } + + /** Write {@code that} as the content of an element holding a JSON-able array. */ + private static void writeJsonArrayContent(ArrayNode that, XMLStreamWriter writer) { + XmlRpc.writeArrayContent(that, writer); + } + + /** Write {@code that} as the content of an element holding a JSON-able object. */ + private static void writeJsonObjectContent(ObjectNode that, XMLStreamWriter writer) { + XmlRpc.writeObjectContent(that, writer); + } + + private static void writeListOf_IClass(List that, XMLStreamWriter writer) { + int index = 0; + try { + for (IClass item : that) { + writeClass(item, writer); + index++; + } + } catch (XmlCommon.SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.IndexSegment(index)); + throw failure; + } + } + + private static void writeListOf_stringified(List that, XMLStreamWriter writer) { + int index = 0; + try { + for (Object item : that) { + writeAtV_stringified(item, writer); + index++; + } + } catch (XmlCommon.SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.IndexSegment(index)); + throw failure; + } + } + + private static void writeListOf_IEnum(List that, XMLStreamWriter writer) { + int index = 0; + try { + for (IEnum item : that) { + writeAtV_IEnum(item, writer); + index++; + } + } catch (XmlCommon.SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.IndexSegment(index)); + throw failure; + } + } + + private static void writeListOf_jsonObject( + List that, XMLStreamWriter writer) { + int index = 0; + try { + for (ObjectNode item : that) { + writeAtV_jsonObject(item, writer); + index++; + } + } catch (XmlCommon.SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.IndexSegment(index)); + throw failure; + } + } + + private static void writeTupleOf2_IUnion_IUnion( + Tuple2, ? extends IUnion> that, XMLStreamWriter writer) { + int index = 0; + try { + writeUnion(that.item1(), writer); + index = 1; + writeUnion(that.item2(), writer); + } catch (XmlCommon.SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.IndexSegment(index)); + throw failure; + } + } + + private static void writeListOf_IUnion(List> that, XMLStreamWriter writer) { + int index = 0; + try { + for (IUnion item : that) { + writeUnion(item, writer); + index++; + } + } catch (XmlCommon.SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.IndexSegment(index)); + throw failure; + } + } + + private static void writeAtV_stringified(Object that, XMLStreamWriter writer) { + XmlCommon.writeElement("v", that, writer, XmlCommon::writeStringifiedContent); + } + + private static void writeAtV_IEnum(IEnum that, XMLStreamWriter writer) { + XmlCommon.writeElement("v", that, writer, _VisitorWithWriter::writeEnum); + } + + private static void writeAtV_jsonObject(ObjectNode that, XMLStreamWriter writer) { + XmlCommon.writeElement("v", that, writer, _VisitorWithWriter::writeJsonObjectContent); + } + + private static void writeExtensionAsSequence(IExtension that, XMLStreamWriter writer) { + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeProperty( + "name", "getName()", that.getName(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "valueType", + "getValueType()", + that.getValueType(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "value", "getValue()", that.getValue(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "refersTo", + "getRefersTo()", + that.getRefersTo(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitExtension(IExtension that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "extension", that, writer, withNamespace, _VisitorWithWriter::writeExtensionAsSequence); + } + + private static void writeAdministrativeInformationAsSequence( + IAdministrativeInformation that, XMLStreamWriter writer) { + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "version", "getVersion()", that.getVersion(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "revision", + "getRevision()", + that.getRevision(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "creator", + "getCreator()", + that.getCreator(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "createdAt", + "getCreatedAt()", + that.getCreatedAt(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "updatedAt", + "getUpdatedAt()", + that.getUpdatedAt(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "templateId", + "getTemplateId()", + that.getTemplateId(), + writer, + XmlCommon::writeStringifiedContent); + } + + @Override + public void visitAdministrativeInformation( + IAdministrativeInformation that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "administrativeInformation", + that, + writer, + withNamespace, + _VisitorWithWriter::writeAdministrativeInformationAsSequence); + } + + private static void writeQualifierAsSequence(IQualifier that, XMLStreamWriter writer) { + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "kind", "getKind()", that.getKind(), writer, _VisitorWithWriter::writeEnum); + + writeProperty( + "type", "getType()", that.getType(), writer, XmlCommon::writeStringifiedContent); + + writeProperty( + "valueType", + "getValueType()", + that.getValueType(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "value", "getValue()", that.getValue(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "valueId", + "getValueId()", + that.getValueId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + } + + @Override + public void visitQualifier(IQualifier that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "qualifier", that, writer, withNamespace, _VisitorWithWriter::writeQualifierAsSequence); + } + + private static void writeAssetAdministrationShellAsSequence( + IAssetAdministrationShell that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "administration", + "getAdministration()", + that.getAdministration(), + writer, + _VisitorWithWriter::writeAdministrativeInformationAsSequence); + + writeProperty("id", "getId()", that.getId(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "derivedFrom", + "getDerivedFrom()", + that.getDerivedFrom(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeProperty( + "assetInformation", + "getAssetInformation()", + that.getAssetInformation(), + writer, + _VisitorWithWriter::writeAssetInformationAsSequence); + + writeOptionalProperty( + "submodels", + "getSubmodels()", + that.getSubmodels(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitAssetAdministrationShell( + IAssetAdministrationShell that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "assetAdministrationShell", + that, + writer, + withNamespace, + _VisitorWithWriter::writeAssetAdministrationShellAsSequence); + } + + private static void writeAssetInformationAsSequence( + IAssetInformation that, XMLStreamWriter writer) { + writeProperty( + "assetKind", + "getAssetKind()", + that.getAssetKind(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "globalAssetId", + "getGlobalAssetId()", + that.getGlobalAssetId(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "specificAssetIds", + "getSpecificAssetIds()", + that.getSpecificAssetIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "assetType", + "getAssetType()", + that.getAssetType(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "defaultThumbnail", + "getDefaultThumbnail()", + that.getDefaultThumbnail(), + writer, + _VisitorWithWriter::writeResourceAsSequence); + } + + @Override + public void visitAssetInformation(IAssetInformation that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "assetInformation", + that, + writer, + withNamespace, + _VisitorWithWriter::writeAssetInformationAsSequence); + } + + private static void writeResourceAsSequence(IResource that, XMLStreamWriter writer) { + writeProperty( + "path", "getPath()", that.getPath(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "contentType", + "getContentType()", + that.getContentType(), + writer, + XmlCommon::writeStringifiedContent); + } + + @Override + public void visitResource(IResource that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "resource", that, writer, withNamespace, _VisitorWithWriter::writeResourceAsSequence); + } + + private static void writeSpecificAssetIdAsSequence( + ISpecificAssetId that, XMLStreamWriter writer) { + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeProperty( + "name", "getName()", that.getName(), writer, XmlCommon::writeStringifiedContent); + + writeProperty( + "value", "getValue()", that.getValue(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "externalSubjectId", + "getExternalSubjectId()", + that.getExternalSubjectId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + } + + @Override + public void visitSpecificAssetId(ISpecificAssetId that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "specificAssetId", + that, + writer, + withNamespace, + _VisitorWithWriter::writeSpecificAssetIdAsSequence); + } + + private static void writeSubmodelAsSequence(ISubmodel that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "administration", + "getAdministration()", + that.getAdministration(), + writer, + _VisitorWithWriter::writeAdministrativeInformationAsSequence); + + writeProperty("id", "getId()", that.getId(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "kind", "getKind()", that.getKind(), writer, _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "submodelElements", + "getSubmodelElements()", + that.getSubmodelElements(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitSubmodel(ISubmodel that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "submodel", that, writer, withNamespace, _VisitorWithWriter::writeSubmodelAsSequence); + } + + private static void writeRelationshipElementAsSequence( + IRelationshipElement that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "first", + "getFirst()", + that.getFirst(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "second", + "getSecond()", + that.getSecond(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + } + + @Override + public void visitRelationshipElement(IRelationshipElement that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "relationshipElement", + that, + writer, + withNamespace, + _VisitorWithWriter::writeRelationshipElementAsSequence); + } + + private static void writeSubmodelElementListAsSequence( + ISubmodelElementList that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "orderRelevant", + "getOrderRelevant()", + that.getOrderRelevant(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "semanticIdListElement", + "getSemanticIdListElement()", + that.getSemanticIdListElement(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeProperty( + "typeValueListElement", + "getTypeValueListElement()", + that.getTypeValueListElement(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "valueTypeListElement", + "getValueTypeListElement()", + that.getValueTypeListElement(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "value", "getValue()", that.getValue(), writer, _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitSubmodelElementList(ISubmodelElementList that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "submodelElementList", + that, + writer, + withNamespace, + _VisitorWithWriter::writeSubmodelElementListAsSequence); + } + + private static void writeSubmodelElementCollectionAsSequence( + ISubmodelElementCollection that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "value", "getValue()", that.getValue(), writer, _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitSubmodelElementCollection( + ISubmodelElementCollection that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "submodelElementCollection", + that, + writer, + withNamespace, + _VisitorWithWriter::writeSubmodelElementCollectionAsSequence); + } + + private static void writePropertyAsSequence(IProperty that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeProperty( + "valueType", + "getValueType()", + that.getValueType(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "value", "getValue()", that.getValue(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "valueId", + "getValueId()", + that.getValueId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + } + + @Override + public void visitProperty(IProperty that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "property", that, writer, withNamespace, _VisitorWithWriter::writePropertyAsSequence); + } + + private static void writeMultiLanguagePropertyAsSequence( + IMultiLanguageProperty that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "value", "getValue()", that.getValue(), writer, _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "valueId", + "getValueId()", + that.getValueId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + } + + @Override + public void visitMultiLanguageProperty(IMultiLanguageProperty that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "multiLanguageProperty", + that, + writer, + withNamespace, + _VisitorWithWriter::writeMultiLanguagePropertyAsSequence); + } + + private static void writeRangeAsSequence(IRange that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeProperty( + "valueType", + "getValueType()", + that.getValueType(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "min", "getMin()", that.getMin(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "max", "getMax()", that.getMax(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitRange(IRange that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "range", that, writer, withNamespace, _VisitorWithWriter::writeRangeAsSequence); + } + + private static void writeReferenceElementAsSequence( + IReferenceElement that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "value", + "getValue()", + that.getValue(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + } + + @Override + public void visitReferenceElement(IReferenceElement that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "referenceElement", + that, + writer, + withNamespace, + _VisitorWithWriter::writeReferenceElementAsSequence); + } + + private static void writeBlobAsSequence(IBlob that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "value", + "getValue()", + that.getValue(), + writer, + _VisitorWithWriter::writeByteArrayContent); + + writeOptionalProperty( + "contentType", + "getContentType()", + that.getContentType(), + writer, + XmlCommon::writeStringifiedContent); + } + + @Override + public void visitBlob(IBlob that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "blob", that, writer, withNamespace, _VisitorWithWriter::writeBlobAsSequence); + } + + private static void writeFileAsSequence(IFile that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "value", "getValue()", that.getValue(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "contentType", + "getContentType()", + that.getContentType(), + writer, + XmlCommon::writeStringifiedContent); + } + + @Override + public void visitFile(IFile that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "file", that, writer, withNamespace, _VisitorWithWriter::writeFileAsSequence); + } + + private static void writeAnnotatedRelationshipElementAsSequence( + IAnnotatedRelationshipElement that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "first", + "getFirst()", + that.getFirst(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "second", + "getSecond()", + that.getSecond(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "annotations", + "getAnnotations()", + that.getAnnotations(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitAnnotatedRelationshipElement( + IAnnotatedRelationshipElement that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "annotatedRelationshipElement", + that, + writer, + withNamespace, + _VisitorWithWriter::writeAnnotatedRelationshipElementAsSequence); + } + + private static void writeEntityAsSequence(IEntity that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "statements", + "getStatements()", + that.getStatements(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "entityType", + "getEntityType()", + that.getEntityType(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "globalAssetId", + "getGlobalAssetId()", + that.getGlobalAssetId(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "specificAssetIds", + "getSpecificAssetIds()", + that.getSpecificAssetIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitEntity(IEntity that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "entity", that, writer, withNamespace, _VisitorWithWriter::writeEntityAsSequence); + } + + private static void writeEventPayloadAsSequence(IEventPayload that, XMLStreamWriter writer) { + writeProperty( + "source", + "getSource()", + that.getSource(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "sourceSemanticId", + "getSourceSemanticId()", + that.getSourceSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeProperty( + "observableReference", + "getObservableReference()", + that.getObservableReference(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "observableSemanticId", + "getObservableSemanticId()", + that.getObservableSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "topic", "getTopic()", that.getTopic(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "subjectId", + "getSubjectId()", + that.getSubjectId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeProperty( + "timeStamp", + "getTimeStamp()", + that.getTimeStamp(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "payload", + "getPayload()", + that.getPayload(), + writer, + _VisitorWithWriter::writeByteArrayContent); + } + + @Override + public void visitEventPayload(IEventPayload that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "eventPayload", + that, + writer, + withNamespace, + _VisitorWithWriter::writeEventPayloadAsSequence); + } + + private static void writeBasicEventElementAsSequence( + IBasicEventElement that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeProperty( + "observed", + "getObserved()", + that.getObserved(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeProperty( + "direction", + "getDirection()", + that.getDirection(), + writer, + _VisitorWithWriter::writeEnum); + + writeProperty("state", "getState()", that.getState(), writer, _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "messageTopic", + "getMessageTopic()", + that.getMessageTopic(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "messageBroker", + "getMessageBroker()", + that.getMessageBroker(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "lastUpdate", + "getLastUpdate()", + that.getLastUpdate(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "minInterval", + "getMinInterval()", + that.getMinInterval(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "maxInterval", + "getMaxInterval()", + that.getMaxInterval(), + writer, + XmlCommon::writeStringifiedContent); + } + + @Override + public void visitBasicEventElement(IBasicEventElement that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "basicEventElement", + that, + writer, + withNamespace, + _VisitorWithWriter::writeBasicEventElementAsSequence); + } + + private static void writeOperationAsSequence(IOperation that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "inputVariables", + "getInputVariables()", + that.getInputVariables(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "outputVariables", + "getOutputVariables()", + that.getOutputVariables(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "inoutputVariables", + "getInoutputVariables()", + that.getInoutputVariables(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitOperation(IOperation that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "operation", that, writer, withNamespace, _VisitorWithWriter::writeOperationAsSequence); + } + + private static void writeOperationVariableAsSequence( + IOperationVariable that, XMLStreamWriter writer) { + writeProperty("value", "getValue()", that.getValue(), writer, _VisitorWithWriter::writeClass); + } + + @Override + public void visitOperationVariable(IOperationVariable that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "operationVariable", + that, + writer, + withNamespace, + _VisitorWithWriter::writeOperationVariableAsSequence); + } + + private static void writeCapabilityAsSequence(ICapability that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitCapability(ICapability that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "capability", that, writer, withNamespace, _VisitorWithWriter::writeCapabilityAsSequence); + } + + private static void writeConceptDescriptionAsSequence( + IConceptDescription that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "administration", + "getAdministration()", + that.getAdministration(), + writer, + _VisitorWithWriter::writeAdministrativeInformationAsSequence); + + writeProperty("id", "getId()", that.getId(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "isCaseOf", + "getIsCaseOf()", + that.getIsCaseOf(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitConceptDescription(IConceptDescription that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "conceptDescription", + that, + writer, + withNamespace, + _VisitorWithWriter::writeConceptDescriptionAsSequence); + } + + private static void writeReferenceAsSequence(IReference that, XMLStreamWriter writer) { + writeProperty("type", "getType()", that.getType(), writer, _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "referredSemanticId", + "getReferredSemanticId()", + that.getReferredSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeProperty( + "keys", "getKeys()", that.getKeys(), writer, _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitReference(IReference that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "reference", that, writer, withNamespace, _VisitorWithWriter::writeReferenceAsSequence); + } + + private static void writeKeyAsSequence(IKey that, XMLStreamWriter writer) { + writeProperty("type", "getType()", that.getType(), writer, _VisitorWithWriter::writeEnum); + + writeProperty( + "value", "getValue()", that.getValue(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitKey(IKey that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "key", that, writer, withNamespace, _VisitorWithWriter::writeKeyAsSequence); + } + + private static void writeLangStringNameTypeAsSequence( + ILangStringNameType that, XMLStreamWriter writer) { + writeProperty( + "language", + "getLanguage()", + that.getLanguage(), + writer, + XmlCommon::writeStringifiedContent); + + writeProperty( + "text", "getText()", that.getText(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitLangStringNameType(ILangStringNameType that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "langStringNameType", + that, + writer, + withNamespace, + _VisitorWithWriter::writeLangStringNameTypeAsSequence); + } + + private static void writeLangStringTextTypeAsSequence( + ILangStringTextType that, XMLStreamWriter writer) { + writeProperty( + "language", + "getLanguage()", + that.getLanguage(), + writer, + XmlCommon::writeStringifiedContent); + + writeProperty( + "text", "getText()", that.getText(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitLangStringTextType(ILangStringTextType that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "langStringTextType", + that, + writer, + withNamespace, + _VisitorWithWriter::writeLangStringTextTypeAsSequence); + } + + private static void writeEnvironmentAsSequence(IEnvironment that, XMLStreamWriter writer) { + writeOptionalProperty( + "assetAdministrationShells", + "getAssetAdministrationShells()", + that.getAssetAdministrationShells(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "submodels", + "getSubmodels()", + that.getSubmodels(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "conceptDescriptions", + "getConceptDescriptions()", + that.getConceptDescriptions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitEnvironment(IEnvironment that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "environment", + that, + writer, + withNamespace, + _VisitorWithWriter::writeEnvironmentAsSequence); + } + + private static void writeEmbeddedDataSpecificationAsSequence( + IEmbeddedDataSpecification that, XMLStreamWriter writer) { + writeProperty( + "dataSpecification", + "getDataSpecification()", + that.getDataSpecification(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeProperty( + "dataSpecificationContent", + "getDataSpecificationContent()", + that.getDataSpecificationContent(), + writer, + _VisitorWithWriter::writeClass); + } + + @Override + public void visitEmbeddedDataSpecification( + IEmbeddedDataSpecification that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "embeddedDataSpecification", + that, + writer, + withNamespace, + _VisitorWithWriter::writeEmbeddedDataSpecificationAsSequence); + } + + private static void writeLevelTypeAsSequence(ILevelType that, XMLStreamWriter writer) { + writeProperty("min", "getMin()", that.getMin(), writer, XmlCommon::writeStringifiedContent); + + writeProperty("nom", "getNom()", that.getNom(), writer, XmlCommon::writeStringifiedContent); + + writeProperty("typ", "getTyp()", that.getTyp(), writer, XmlCommon::writeStringifiedContent); + + writeProperty("max", "getMax()", that.getMax(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitLevelType(ILevelType that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "levelType", that, writer, withNamespace, _VisitorWithWriter::writeLevelTypeAsSequence); + } + + private static void writeValueReferencePairAsSequence( + IValueReferencePair that, XMLStreamWriter writer) { + writeProperty( + "value", "getValue()", that.getValue(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "valueId", + "getValueId()", + that.getValueId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + } + + @Override + public void visitValueReferencePair(IValueReferencePair that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "valueReferencePair", + that, + writer, + withNamespace, + _VisitorWithWriter::writeValueReferencePairAsSequence); + } + + private static void writeValueListAsSequence(IValueList that, XMLStreamWriter writer) { + writeProperty( + "valueReferencePairs", + "getValueReferencePairs()", + that.getValueReferencePairs(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitValueList(IValueList that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "valueList", that, writer, withNamespace, _VisitorWithWriter::writeValueListAsSequence); + } + + private static void writeLangStringPreferredNameTypeIec61360AsSequence( + ILangStringPreferredNameTypeIec61360 that, XMLStreamWriter writer) { + writeProperty( + "language", + "getLanguage()", + that.getLanguage(), + writer, + XmlCommon::writeStringifiedContent); + + writeProperty( + "text", "getText()", that.getText(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "langStringPreferredNameTypeIec61360", + that, + writer, + withNamespace, + _VisitorWithWriter::writeLangStringPreferredNameTypeIec61360AsSequence); + } + + private static void writeLangStringShortNameTypeIec61360AsSequence( + ILangStringShortNameTypeIec61360 that, XMLStreamWriter writer) { + writeProperty( + "language", + "getLanguage()", + that.getLanguage(), + writer, + XmlCommon::writeStringifiedContent); + + writeProperty( + "text", "getText()", that.getText(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitLangStringShortNameTypeIec61360( + ILangStringShortNameTypeIec61360 that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "langStringShortNameTypeIec61360", + that, + writer, + withNamespace, + _VisitorWithWriter::writeLangStringShortNameTypeIec61360AsSequence); + } + + private static void writeLangStringDefinitionTypeIec61360AsSequence( + ILangStringDefinitionTypeIec61360 that, XMLStreamWriter writer) { + writeProperty( + "language", + "getLanguage()", + that.getLanguage(), + writer, + XmlCommon::writeStringifiedContent); + + writeProperty( + "text", "getText()", that.getText(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "langStringDefinitionTypeIec61360", + that, + writer, + withNamespace, + _VisitorWithWriter::writeLangStringDefinitionTypeIec61360AsSequence); + } + + private static void writeLangStringUomAsSequence(ILangStringUom that, XMLStreamWriter writer) { + writeProperty( + "language", + "getLanguage()", + that.getLanguage(), + writer, + XmlCommon::writeStringifiedContent); + + writeProperty( + "text", "getText()", that.getText(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitLangStringUom(ILangStringUom that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "langStringUom", + that, + writer, + withNamespace, + _VisitorWithWriter::writeLangStringUomAsSequence); + } + + private static void writeDefinitionTypeUomAsSequence( + IDefinitionTypeUom that, XMLStreamWriter writer) { + writeProperty( + "language", + "getLanguage()", + that.getLanguage(), + writer, + XmlCommon::writeStringifiedContent); + + writeProperty( + "text", "getText()", that.getText(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitDefinitionTypeUom(IDefinitionTypeUom that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "definitionTypeUom", + that, + writer, + withNamespace, + _VisitorWithWriter::writeDefinitionTypeUomAsSequence); + } + + private static void writeDataSpecificationUomAsSequence( + IDataSpecificationUom that, XMLStreamWriter writer) { + writeProperty( + "preferredName", + "getPreferredName()", + that.getPreferredName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeProperty( + "symbol", "getSymbol()", that.getSymbol(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "specificUnitId", + "getSpecificUnitId()", + that.getSpecificUnitId(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "definition", + "getDefinition()", + that.getDefinition(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "preferredNameQuantity", + "getPreferredNameQuantity()", + that.getPreferredNameQuantity(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "quantityId", + "getQuantityId()", + that.getQuantityId(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "classificationSystem", + "getClassificationSystem()", + that.getClassificationSystem(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "classificationSystemVersion", + "getClassificationSystemVersion()", + that.getClassificationSystemVersion(), + writer, + XmlCommon::writeStringifiedContent); + } + + @Override + public void visitDataSpecificationUom(IDataSpecificationUom that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "dataSpecificationUom", + that, + writer, + withNamespace, + _VisitorWithWriter::writeDataSpecificationUomAsSequence); + } + + private static void writeDataSpecificationIec61360AsSequence( + IDataSpecificationIec61360 that, XMLStreamWriter writer) { + writeProperty( + "preferredName", + "getPreferredName()", + that.getPreferredName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "shortName", + "getShortName()", + that.getShortName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "unit", "getUnit()", that.getUnit(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "unitId", + "getUnitId()", + that.getUnitId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "sourceOfDefinition", + "getSourceOfDefinition()", + that.getSourceOfDefinition(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "symbol", "getSymbol()", that.getSymbol(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "dataType", "getDataType()", that.getDataType(), writer, _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "definition", + "getDefinition()", + that.getDefinition(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "valueFormat", + "getValueFormat()", + that.getValueFormat(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "valueList", + "getValueList()", + that.getValueList(), + writer, + _VisitorWithWriter::writeValueListAsSequence); + + writeOptionalProperty( + "value", "getValue()", that.getValue(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "levelType", + "getLevelType()", + that.getLevelType(), + writer, + _VisitorWithWriter::writeLevelTypeAsSequence); + } + + @Override + public void visitDataSpecificationIec61360( + IDataSpecificationIec61360 that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "dataSpecificationIec61360", + that, + writer, + withNamespace, + _VisitorWithWriter::writeDataSpecificationIec61360AsSequence); + } + + private static void writeAssetAdministrationShellDescriptorAsSequence( + IAssetAdministrationShellDescriptor that, XMLStreamWriter writer) { + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeProperty("id", "getId()", that.getId(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "administration", + "getAdministration()", + that.getAdministration(), + writer, + _VisitorWithWriter::writeAdministrativeInformationAsSequence); + + writeOptionalProperty( + "assetKind", + "getAssetKind()", + that.getAssetKind(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "assetType", + "getAssetType()", + that.getAssetType(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "endpoints", + "getEndpoints()", + that.getEndpoints(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "globalAssetId", + "getGlobalAssetId()", + that.getGlobalAssetId(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "specificAssetIds", + "getSpecificAssetIds()", + that.getSpecificAssetIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "submodelDescriptors", + "getSubmodelDescriptors()", + that.getSubmodelDescriptors(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitAssetAdministrationShellDescriptor( + IAssetAdministrationShellDescriptor that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "assetAdministrationShellDescriptor", + that, + writer, + withNamespace, + _VisitorWithWriter::writeAssetAdministrationShellDescriptorAsSequence); + } + + private static void writeSubmodelDescriptorAsSequence( + ISubmodelDescriptor that, XMLStreamWriter writer) { + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeProperty( + "endpoints", + "getEndpoints()", + that.getEndpoints(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeProperty("id", "getId()", that.getId(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "administration", + "getAdministration()", + that.getAdministration(), + writer, + _VisitorWithWriter::writeAdministrativeInformationAsSequence); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitSubmodelDescriptor(ISubmodelDescriptor that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "submodelDescriptor", + that, + writer, + withNamespace, + _VisitorWithWriter::writeSubmodelDescriptorAsSequence); + } + + private static void writeEndpointAsSequence(IEndpoint that, XMLStreamWriter writer) { + writeProperty( + "protocolInformation", + "getProtocolInformation()", + that.getProtocolInformation(), + writer, + _VisitorWithWriter::writeProtocolInformationAsSequence); + + writeProperty( + "interface", + "getInterface()", + that.getInterface(), + writer, + XmlCommon::writeStringifiedContent); + } + + @Override + public void visitEndpoint(IEndpoint that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "endpoint", that, writer, withNamespace, _VisitorWithWriter::writeEndpointAsSequence); + } + + private static void writeProtocolInformationAsSequence( + IProtocolInformation that, XMLStreamWriter writer) { + writeProperty( + "href", "getHref()", that.getHref(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "endpointProtocol", + "getEndpointProtocol()", + that.getEndpointProtocol(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "endpointProtocolVersion", + "getEndpointProtocolVersion()", + that.getEndpointProtocolVersion(), + writer, + _VisitorWithWriter::writeListOf_stringified); + + writeOptionalProperty( + "subprotocol", + "getSubprotocol()", + that.getSubprotocol(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "subprotocolBody", + "getSubprotocolBody()", + that.getSubprotocolBody(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "subprotocolBodyEncoding", + "getSubprotocolBodyEncoding()", + that.getSubprotocolBodyEncoding(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "securityAttributes", + "getSecurityAttributes()", + that.getSecurityAttributes(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitProtocolInformation(IProtocolInformation that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "protocolInformation", + that, + writer, + withNamespace, + _VisitorWithWriter::writeProtocolInformationAsSequence); + } + + private static void writeSecurityAttributeObjectAsSequence( + ISecurityAttributeObject that, XMLStreamWriter writer) { + writeProperty("type", "getType()", that.getType(), writer, _VisitorWithWriter::writeEnum); + + writeProperty("key", "getKey()", that.getKey(), writer, XmlCommon::writeStringifiedContent); + + writeProperty( + "value", "getValue()", that.getValue(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitSecurityAttributeObject( + ISecurityAttributeObject that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "securityAttributeObject", + that, + writer, + withNamespace, + _VisitorWithWriter::writeSecurityAttributeObjectAsSequence); + } + + private static void writeAssetLinkAsSequence(IAssetLink that, XMLStreamWriter writer) { + writeProperty( + "name", "getName()", that.getName(), writer, XmlCommon::writeStringifiedContent); + + writeProperty( + "value", "getValue()", that.getValue(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitAssetLink(IAssetLink that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "assetLink", that, writer, withNamespace, _VisitorWithWriter::writeAssetLinkAsSequence); + } + + private static void writeServiceDescriptionAsSequence( + IServiceDescription that, XMLStreamWriter writer) { + writeProperty( + "profiles", + "getProfiles()", + that.getProfiles(), + writer, + _VisitorWithWriter::writeListOf_IEnum); + } + + @Override + public void visitServiceDescription(IServiceDescription that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "serviceDescription", + that, + writer, + withNamespace, + _VisitorWithWriter::writeServiceDescriptionAsSequence); + } + + private static void writeAssetAdministrationShellRecentChangeAsSequence( + IAssetAdministrationShellRecentChange that, XMLStreamWriter writer) { + writeProperty( + "createdAt", + "getCreatedAt()", + that.getCreatedAt(), + writer, + XmlCommon::writeStringifiedContent); + + writeProperty( + "updatedAt", + "getUpdatedAt()", + that.getUpdatedAt(), + writer, + XmlCommon::writeStringifiedContent); + + writeProperty("id", "getId()", that.getId(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "globalAssetId", + "getGlobalAssetId()", + that.getGlobalAssetId(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "specificAssetIds", + "getSpecificAssetIds()", + that.getSpecificAssetIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitAssetAdministrationShellRecentChange( + IAssetAdministrationShellRecentChange that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "assetAdministrationShellRecentChange", + that, + writer, + withNamespace, + _VisitorWithWriter::writeAssetAdministrationShellRecentChangeAsSequence); + } + + private static void writeConceptDescriptionRecentChangeAsSequence( + IConceptDescriptionRecentChange that, XMLStreamWriter writer) { + writeProperty( + "createdAt", + "getCreatedAt()", + that.getCreatedAt(), + writer, + XmlCommon::writeStringifiedContent); + + writeProperty( + "updatedAt", + "getUpdatedAt()", + that.getUpdatedAt(), + writer, + XmlCommon::writeStringifiedContent); + + writeProperty("id", "getId()", that.getId(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitConceptDescriptionRecentChange( + IConceptDescriptionRecentChange that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "conceptDescriptionRecentChange", + that, + writer, + withNamespace, + _VisitorWithWriter::writeConceptDescriptionRecentChangeAsSequence); + } + + private static void writeSubmodelRecentChangeAsSequence( + ISubmodelRecentChange that, XMLStreamWriter writer) { + writeProperty( + "createdAt", + "getCreatedAt()", + that.getCreatedAt(), + writer, + XmlCommon::writeStringifiedContent); + + writeProperty( + "updatedAt", + "getUpdatedAt()", + that.getUpdatedAt(), + writer, + XmlCommon::writeStringifiedContent); + + writeProperty("id", "getId()", that.getId(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitSubmodelRecentChange(ISubmodelRecentChange that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "submodelRecentChange", + that, + writer, + withNamespace, + _VisitorWithWriter::writeSubmodelRecentChangeAsSequence); + } + + private static void writeResultAsSequence(IResult that, XMLStreamWriter writer) { + writeOptionalProperty( + "messages", + "getMessages()", + that.getMessages(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitResult(IResult that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "result", that, writer, withNamespace, _VisitorWithWriter::writeResultAsSequence); + } + + private static void writeMessageAsSequence(IMessage that, XMLStreamWriter writer) { + writeProperty( + "messageType", + "getMessageType()", + that.getMessageType(), + writer, + _VisitorWithWriter::writeEnum); + + writeProperty( + "text", "getText()", that.getText(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "code", "getCode()", that.getCode(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "correlationId", + "getCorrelationId()", + that.getCorrelationId(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "timestamp", + "getTimestamp()", + that.getTimestamp(), + writer, + XmlCommon::writeStringifiedContent); + } + + @Override + public void visitMessage(IMessage that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "message", that, writer, withNamespace, _VisitorWithWriter::writeMessageAsSequence); + } + + private static void writeOperationRequestAsSequence( + IOperationRequest that, XMLStreamWriter writer) { + writeOptionalProperty( + "inputArguments", + "getInputArguments()", + that.getInputArguments(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "inoutputArguments", + "getInoutputArguments()", + that.getInoutputArguments(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "clientTimeoutDuration", + "getClientTimeoutDuration()", + that.getClientTimeoutDuration(), + writer, + XmlCommon::writeStringifiedContent); + } + + @Override + public void visitOperationRequest(IOperationRequest that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "operationRequest", + that, + writer, + withNamespace, + _VisitorWithWriter::writeOperationRequestAsSequence); + } + + private static void writeOperationRequestAsyncAsSequence( + IOperationRequestAsync that, XMLStreamWriter writer) { + writeOptionalProperty( + "inputArguments", + "getInputArguments()", + that.getInputArguments(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "inoutputArguments", + "getInoutputArguments()", + that.getInoutputArguments(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeProperty( + "clientTimeoutDuration", + "getClientTimeoutDuration()", + that.getClientTimeoutDuration(), + writer, + XmlCommon::writeStringifiedContent); + } + + @Override + public void visitOperationRequestAsync(IOperationRequestAsync that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "operationRequestAsync", + that, + writer, + withNamespace, + _VisitorWithWriter::writeOperationRequestAsyncAsSequence); + } + + private static void writeOperationRequestValueOnlyAsSequence( + IOperationRequestValueOnly that, XMLStreamWriter writer) { + writeOptionalProperty( + "inputArguments", + "getInputArguments()", + that.getInputArguments(), + writer, + _VisitorWithWriter::writeJsonObjectContent); + + writeOptionalProperty( + "inoutputArguments", + "getInoutputArguments()", + that.getInoutputArguments(), + writer, + _VisitorWithWriter::writeJsonObjectContent); + + writeOptionalProperty( + "clientTimeoutDuration", + "getClientTimeoutDuration()", + that.getClientTimeoutDuration(), + writer, + XmlCommon::writeStringifiedContent); + } + + @Override + public void visitOperationRequestValueOnly( + IOperationRequestValueOnly that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "operationRequestValueOnly", + that, + writer, + withNamespace, + _VisitorWithWriter::writeOperationRequestValueOnlyAsSequence); + } + + private static void writeOperationRequestAsyncValueOnlyAsSequence( + IOperationRequestAsyncValueOnly that, XMLStreamWriter writer) { + writeOptionalProperty( + "inputArguments", + "getInputArguments()", + that.getInputArguments(), + writer, + _VisitorWithWriter::writeJsonObjectContent); + + writeOptionalProperty( + "inoutputArguments", + "getInoutputArguments()", + that.getInoutputArguments(), + writer, + _VisitorWithWriter::writeJsonObjectContent); + + writeProperty( + "clientTimeoutDuration", + "getClientTimeoutDuration()", + that.getClientTimeoutDuration(), + writer, + XmlCommon::writeStringifiedContent); + } + + @Override + public void visitOperationRequestAsyncValueOnly( + IOperationRequestAsyncValueOnly that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "operationRequestAsyncValueOnly", + that, + writer, + withNamespace, + _VisitorWithWriter::writeOperationRequestAsyncValueOnlyAsSequence); + } + + private static void writeBaseOperationResultAsSequence( + IBaseOperationResult that, XMLStreamWriter writer) { + writeProperty( + "executionState", + "getExecutionState()", + that.getExecutionState(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "messages", + "getMessages()", + that.getMessages(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "success", "getSuccess()", that.getSuccess(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitBaseOperationResult(IBaseOperationResult that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "baseOperationResult", + that, + writer, + withNamespace, + _VisitorWithWriter::writeBaseOperationResultAsSequence); + } + + private static void writeOperationResultAsSequence( + IOperationResult that, XMLStreamWriter writer) { + writeProperty( + "executionState", + "getExecutionState()", + that.getExecutionState(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "messages", + "getMessages()", + that.getMessages(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "success", "getSuccess()", that.getSuccess(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "outputArguments", + "getOutputArguments()", + that.getOutputArguments(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "inoutputArguments", + "getInoutputArguments()", + that.getInoutputArguments(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitOperationResult(IOperationResult that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "operationResult", + that, + writer, + withNamespace, + _VisitorWithWriter::writeOperationResultAsSequence); + } + + private static void writeOperationResultValueOnlyAsSequence( + IOperationResultValueOnly that, XMLStreamWriter writer) { + writeProperty( + "executionState", + "getExecutionState()", + that.getExecutionState(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "messages", + "getMessages()", + that.getMessages(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "success", "getSuccess()", that.getSuccess(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "outputArguments", + "getOutputArguments()", + that.getOutputArguments(), + writer, + _VisitorWithWriter::writeJsonObjectContent); + + writeOptionalProperty( + "inoutputArguments", + "getInoutputArguments()", + that.getInoutputArguments(), + writer, + _VisitorWithWriter::writeJsonObjectContent); + } + + @Override + public void visitOperationResultValueOnly( + IOperationResultValueOnly that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "operationResultValueOnly", + that, + writer, + withNamespace, + _VisitorWithWriter::writeOperationResultValueOnlyAsSequence); + } + + private static void writeOperationHandleAsSequence( + IOperationHandle that, XMLStreamWriter writer) { + writeProperty( + "handleId", + "getHandleId()", + that.getHandleId(), + writer, + XmlCommon::writeStringifiedContent); + } + + @Override + public void visitOperationHandle(IOperationHandle that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "operationHandle", + that, + writer, + withNamespace, + _VisitorWithWriter::writeOperationHandleAsSequence); + } + + private static void writePagedResultAsSequence(IPagedResult that, XMLStreamWriter writer) { + writeOptionalProperty( + "result", + "getResult()", + that.getResult(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeProperty( + "pagingMetadata", + "getPagingMetadata()", + that.getPagingMetadata(), + writer, + _VisitorWithWriter::writePagingMetadataAsSequence); + } + + @Override + public void visitPagedResult(IPagedResult that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "pagedResult", + that, + writer, + withNamespace, + _VisitorWithWriter::writePagedResultAsSequence); + } + + private static void writePagingMetadataAsSequence( + IPagingMetadata that, XMLStreamWriter writer) { + writeOptionalProperty( + "cursor", "getCursor()", that.getCursor(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitPagingMetadata(IPagingMetadata that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "pagingMetadata", + that, + writer, + withNamespace, + _VisitorWithWriter::writePagingMetadataAsSequence); + } + + private static void writePackageDescriptionAsSequence( + IPackageDescription that, XMLStreamWriter writer) { + writeProperty( + "packageId", + "getPackageId()", + that.getPackageId(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "aasIds", + "getAasIds()", + that.getAasIds(), + writer, + _VisitorWithWriter::writeListOf_stringified); + } + + @Override + public void visitPackageDescription(IPackageDescription that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "packageDescription", + that, + writer, + withNamespace, + _VisitorWithWriter::writePackageDescriptionAsSequence); + } + + private static void writePropertyMetadataAsSequence( + IPropertyMetadata that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeProperty( + "valueType", + "getValueType()", + that.getValueType(), + writer, + _VisitorWithWriter::writeEnum); + } + + @Override + public void visitPropertyMetadata(IPropertyMetadata that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "propertyMetadata", + that, + writer, + withNamespace, + _VisitorWithWriter::writePropertyMetadataAsSequence); + } + + private static void writeRangeMetadataAsSequence(IRangeMetadata that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeProperty( + "valueType", + "getValueType()", + that.getValueType(), + writer, + _VisitorWithWriter::writeEnum); + } + + @Override + public void visitRangeMetadata(IRangeMetadata that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "rangeMetadata", + that, + writer, + withNamespace, + _VisitorWithWriter::writeRangeMetadataAsSequence); + } + + private static void writeBlobMetadataAsSequence(IBlobMetadata that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitBlobMetadata(IBlobMetadata that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "blobMetadata", + that, + writer, + withNamespace, + _VisitorWithWriter::writeBlobMetadataAsSequence); + } + + private static void writeFileMetadataAsSequence(IFileMetadata that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitFileMetadata(IFileMetadata that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "fileMetadata", + that, + writer, + withNamespace, + _VisitorWithWriter::writeFileMetadataAsSequence); + } + + private static void writeMultiLanguagePropertyMetadataAsSequence( + IMultiLanguagePropertyMetadata that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitMultiLanguagePropertyMetadata( + IMultiLanguagePropertyMetadata that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "multiLanguagePropertyMetadata", + that, + writer, + withNamespace, + _VisitorWithWriter::writeMultiLanguagePropertyMetadataAsSequence); + } + + private static void writeReferenceElementMetadataAsSequence( + IReferenceElementMetadata that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitReferenceElementMetadata( + IReferenceElementMetadata that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "referenceElementMetadata", + that, + writer, + withNamespace, + _VisitorWithWriter::writeReferenceElementMetadataAsSequence); + } + + private static void writeRelationshipElementMetadataAsSequence( + IRelationshipElementMetadata that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitRelationshipElementMetadata( + IRelationshipElementMetadata that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "relationshipElementMetadata", + that, + writer, + withNamespace, + _VisitorWithWriter::writeRelationshipElementMetadataAsSequence); + } + + private static void writeAnnotatedRelationshipElementMetadataAsSequence( + IAnnotatedRelationshipElementMetadata that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitAnnotatedRelationshipElementMetadata( + IAnnotatedRelationshipElementMetadata that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "annotatedRelationshipElementMetadata", + that, + writer, + withNamespace, + _VisitorWithWriter::writeAnnotatedRelationshipElementMetadataAsSequence); + } + + private static void writeEntityMetadataAsSequence( + IEntityMetadata that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitEntityMetadata(IEntityMetadata that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "entityMetadata", + that, + writer, + withNamespace, + _VisitorWithWriter::writeEntityMetadataAsSequence); + } + + private static void writeCapabilityMetadataAsSequence( + ICapabilityMetadata that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitCapabilityMetadata(ICapabilityMetadata that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "capabilityMetadata", + that, + writer, + withNamespace, + _VisitorWithWriter::writeCapabilityMetadataAsSequence); + } + + private static void writeOperationMetadataAsSequence( + IOperationMetadata that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitOperationMetadata(IOperationMetadata that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "operationMetadata", + that, + writer, + withNamespace, + _VisitorWithWriter::writeOperationMetadataAsSequence); + } + + private static void writeSubmodelElementCollectionMetadataAsSequence( + ISubmodelElementCollectionMetadata that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitSubmodelElementCollectionMetadata( + ISubmodelElementCollectionMetadata that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "submodelElementCollectionMetadata", + that, + writer, + withNamespace, + _VisitorWithWriter::writeSubmodelElementCollectionMetadataAsSequence); + } + + private static void writeBasicEventElementMetadataAsSequence( + IBasicEventElementMetadata that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeProperty( + "direction", + "getDirection()", + that.getDirection(), + writer, + _VisitorWithWriter::writeEnum); + + writeProperty("state", "getState()", that.getState(), writer, _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "messageTopic", + "getMessageTopic()", + that.getMessageTopic(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "messageBroker", + "getMessageBroker()", + that.getMessageBroker(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "lastUpdate", + "getLastUpdate()", + that.getLastUpdate(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "minInterval", + "getMinInterval()", + that.getMinInterval(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "maxInterval", + "getMaxInterval()", + that.getMaxInterval(), + writer, + XmlCommon::writeStringifiedContent); + } + + @Override + public void visitBasicEventElementMetadata( + IBasicEventElementMetadata that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "basicEventElementMetadata", + that, + writer, + withNamespace, + _VisitorWithWriter::writeBasicEventElementMetadataAsSequence); + } + + private static void writeSubmodelElementListMetadataAsSequence( + ISubmodelElementListMetadata that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "orderRelevant", + "getOrderRelevant()", + that.getOrderRelevant(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "semanticIdListElement", + "getSemanticIdListElement()", + that.getSemanticIdListElement(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeProperty( + "typeValueListElement", + "getTypeValueListElement()", + that.getTypeValueListElement(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "valueTypeListElement", + "getValueTypeListElement()", + that.getValueTypeListElement(), + writer, + _VisitorWithWriter::writeEnum); + } + + @Override + public void visitSubmodelElementListMetadata( + ISubmodelElementListMetadata that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "submodelElementListMetadata", + that, + writer, + withNamespace, + _VisitorWithWriter::writeSubmodelElementListMetadataAsSequence); + } + + private static void writeSubmodelMetadataAsSequence( + ISubmodelMetadata that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "administration", + "getAdministration()", + that.getAdministration(), + writer, + _VisitorWithWriter::writeAdministrativeInformationAsSequence); + + writeProperty("id", "getId()", that.getId(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "kind", "getKind()", that.getKind(), writer, _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitSubmodelMetadata(ISubmodelMetadata that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "submodelMetadata", + that, + writer, + withNamespace, + _VisitorWithWriter::writeSubmodelMetadataAsSequence); + } + + private static void writeAssetAdministrationShellMetadataAsSequence( + IAssetAdministrationShellMetadata that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "administration", + "getAdministration()", + that.getAdministration(), + writer, + _VisitorWithWriter::writeAdministrativeInformationAsSequence); + + writeProperty("id", "getId()", that.getId(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "derivedFrom", + "getDerivedFrom()", + that.getDerivedFrom(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + } + + @Override + public void visitAssetAdministrationShellMetadata( + IAssetAdministrationShellMetadata that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "assetAdministrationShellMetadata", + that, + writer, + withNamespace, + _VisitorWithWriter::writeAssetAdministrationShellMetadataAsSequence); + } + + private static void writeReferenceElementValueAsSequence( + IReferenceElementValue that, XMLStreamWriter writer) { + writeProperty("type", "getType()", that.getType(), writer, _VisitorWithWriter::writeEnum); + + writeProperty( + "keys", "getKeys()", that.getKeys(), writer, _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "referredSemanticId", + "getReferredSemanticId()", + that.getReferredSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + } + + @Override + public void visitReferenceElementValue(IReferenceElementValue that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "referenceElementValue", + that, + writer, + withNamespace, + _VisitorWithWriter::writeReferenceElementValueAsSequence); + } + + private static void writeBlobValueAsSequence(IBlobValue that, XMLStreamWriter writer) { + writeOptionalProperty( + "contentType", + "getContentType()", + that.getContentType(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "value", + "getValue()", + that.getValue(), + writer, + _VisitorWithWriter::writeByteArrayContent); + } + + @Override + public void visitBlobValue(IBlobValue that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "blobValue", that, writer, withNamespace, _VisitorWithWriter::writeBlobValueAsSequence); + } + + private static void writeFileValueAsSequence(IFileValue that, XMLStreamWriter writer) { + writeOptionalProperty( + "contentType", + "getContentType()", + that.getContentType(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "value", "getValue()", that.getValue(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitFileValue(IFileValue that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "fileValue", that, writer, withNamespace, _VisitorWithWriter::writeFileValueAsSequence); + } + + private static void writeRangeValueAsSequence(IRangeValue that, XMLStreamWriter writer) { + writeProperty("min", "getMin()", that.getMin(), writer, XmlCommon::writeDoubleContent); + + writeProperty("max", "getMax()", that.getMax(), writer, XmlCommon::writeDoubleContent); + } + + @Override + public void visitRangeValue(IRangeValue that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "rangeValue", that, writer, withNamespace, _VisitorWithWriter::writeRangeValueAsSequence); + } + + private static void writeRelationshipElementValueAsSequence( + IRelationshipElementValue that, XMLStreamWriter writer) { + writeOptionalProperty( + "first", + "getFirst()", + that.getFirst(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "second", + "getSecond()", + that.getSecond(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + } + + @Override + public void visitRelationshipElementValue( + IRelationshipElementValue that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "relationshipElementValue", + that, + writer, + withNamespace, + _VisitorWithWriter::writeRelationshipElementValueAsSequence); + } + + private static void writeBasicEventElementValueAsSequence( + IBasicEventElementValue that, XMLStreamWriter writer) { + writeProperty( + "observed", + "getObserved()", + that.getObserved(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + } + + @Override + public void visitBasicEventElementValue(IBasicEventElementValue that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "basicEventElementValue", + that, + writer, + withNamespace, + _VisitorWithWriter::writeBasicEventElementValueAsSequence); + } + + private static void writeAnnotatedRelationshipElementValueAsSequence( + IAnnotatedRelationshipElementValue that, XMLStreamWriter writer) { + writeOptionalProperty( + "first", + "getFirst()", + that.getFirst(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "second", + "getSecond()", + that.getSecond(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "annotations", + "getAnnotations()", + that.getAnnotations(), + writer, + _VisitorWithWriter::writeJsonObjectContent); + } + + @Override + public void visitAnnotatedRelationshipElementValue( + IAnnotatedRelationshipElementValue that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "annotatedRelationshipElementValue", + that, + writer, + withNamespace, + _VisitorWithWriter::writeAnnotatedRelationshipElementValueAsSequence); + } + + private static void writeEntityValueAsSequence(IEntityValue that, XMLStreamWriter writer) { + writeOptionalProperty( + "entityType", + "getEntityType()", + that.getEntityType(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "globalAssetId", + "getGlobalAssetId()", + that.getGlobalAssetId(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "specificAssetIds", + "getSpecificAssetIds()", + that.getSpecificAssetIds(), + writer, + _VisitorWithWriter::writeListOf_jsonObject); + + writeOptionalProperty( + "statements", + "getStatements()", + that.getStatements(), + writer, + _VisitorWithWriter::writeJsonObjectContent); + } + + @Override + public void visitEntityValue(IEntityValue that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "entityValue", + that, + writer, + withNamespace, + _VisitorWithWriter::writeEntityValueAsSequence); + } + + private static void writeGetAssetAdministrationShellsResultAsSequence( + IGetAssetAdministrationShellsResult that, XMLStreamWriter writer) { + writeProperty( + "pagingMetadata", + "getPagingMetadata()", + that.getPagingMetadata(), + writer, + _VisitorWithWriter::writePagingMetadataAsSequence); + + writeOptionalProperty( + "result", + "getResult()", + that.getResult(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitGetAssetAdministrationShellsResult( + IGetAssetAdministrationShellsResult that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "getAssetAdministrationShellsResult", + that, + writer, + withNamespace, + _VisitorWithWriter::writeGetAssetAdministrationShellsResultAsSequence); + } + + private static void writeGetAssetAdministrationShellsMetadataResultAsSequence( + IGetAssetAdministrationShellsMetadataResult that, XMLStreamWriter writer) { + writeProperty( + "pagingMetadata", + "getPagingMetadata()", + that.getPagingMetadata(), + writer, + _VisitorWithWriter::writePagingMetadataAsSequence); + + writeOptionalProperty( + "result", + "getResult()", + that.getResult(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitGetAssetAdministrationShellsMetadataResult( + IGetAssetAdministrationShellsMetadataResult that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "getAssetAdministrationShellsMetadataResult", + that, + writer, + withNamespace, + _VisitorWithWriter::writeGetAssetAdministrationShellsMetadataResultAsSequence); + } + + private static void writeGetAllAssetAdministrationShellsRecentChangesResultAsSequence( + IGetAllAssetAdministrationShellsRecentChangesResult that, XMLStreamWriter writer) { + writeProperty( + "pagingMetadata", + "getPagingMetadata()", + that.getPagingMetadata(), + writer, + _VisitorWithWriter::writePagingMetadataAsSequence); + + writeOptionalProperty( + "result", + "getResult()", + that.getResult(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitGetAllAssetAdministrationShellsRecentChangesResult( + IGetAllAssetAdministrationShellsRecentChangesResult that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "getAllAssetAdministrationShellsRecentChangesResult", + that, + writer, + withNamespace, + _VisitorWithWriter::writeGetAllAssetAdministrationShellsRecentChangesResultAsSequence); + } + + private static void writeGetAssetAdministrationShellDescriptorsResultAsSequence( + IGetAssetAdministrationShellDescriptorsResult that, XMLStreamWriter writer) { + writeProperty( + "pagingMetadata", + "getPagingMetadata()", + that.getPagingMetadata(), + writer, + _VisitorWithWriter::writePagingMetadataAsSequence); + + writeOptionalProperty( + "result", + "getResult()", + that.getResult(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitGetAssetAdministrationShellDescriptorsResult( + IGetAssetAdministrationShellDescriptorsResult that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "getAssetAdministrationShellDescriptorsResult", + that, + writer, + withNamespace, + _VisitorWithWriter::writeGetAssetAdministrationShellDescriptorsResultAsSequence); + } + + private static void writeGetConceptDescriptionsResultAsSequence( + IGetConceptDescriptionsResult that, XMLStreamWriter writer) { + writeProperty( + "pagingMetadata", + "getPagingMetadata()", + that.getPagingMetadata(), + writer, + _VisitorWithWriter::writePagingMetadataAsSequence); + + writeOptionalProperty( + "result", + "getResult()", + that.getResult(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitGetConceptDescriptionsResult( + IGetConceptDescriptionsResult that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "getConceptDescriptionsResult", + that, + writer, + withNamespace, + _VisitorWithWriter::writeGetConceptDescriptionsResultAsSequence); + } + + private static void writeGetAllConceptDescriptionsRecentChangesResultAsSequence( + IGetAllConceptDescriptionsRecentChangesResult that, XMLStreamWriter writer) { + writeProperty( + "pagingMetadata", + "getPagingMetadata()", + that.getPagingMetadata(), + writer, + _VisitorWithWriter::writePagingMetadataAsSequence); + + writeOptionalProperty( + "result", + "getResult()", + that.getResult(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitGetAllConceptDescriptionsRecentChangesResult( + IGetAllConceptDescriptionsRecentChangesResult that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "getAllConceptDescriptionsRecentChangesResult", + that, + writer, + withNamespace, + _VisitorWithWriter::writeGetAllConceptDescriptionsRecentChangesResultAsSequence); + } + + private static void writeGetPackageDescriptionsResultAsSequence( + IGetPackageDescriptionsResult that, XMLStreamWriter writer) { + writeProperty( + "pagingMetadata", + "getPagingMetadata()", + that.getPagingMetadata(), + writer, + _VisitorWithWriter::writePagingMetadataAsSequence); + + writeOptionalProperty( + "result", + "getResult()", + that.getResult(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitGetPackageDescriptionsResult( + IGetPackageDescriptionsResult that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "getPackageDescriptionsResult", + that, + writer, + withNamespace, + _VisitorWithWriter::writeGetPackageDescriptionsResultAsSequence); + } + + private static void writeGetPathItemsResultAsSequence( + IGetPathItemsResult that, XMLStreamWriter writer) { + writeProperty( + "pagingMetadata", + "getPagingMetadata()", + that.getPagingMetadata(), + writer, + _VisitorWithWriter::writePagingMetadataAsSequence); + + writeOptionalProperty( + "result", + "getResult()", + that.getResult(), + writer, + _VisitorWithWriter::writeListOf_stringified); + } + + @Override + public void visitGetPathItemsResult(IGetPathItemsResult that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "getPathItemsResult", + that, + writer, + withNamespace, + _VisitorWithWriter::writeGetPathItemsResultAsSequence); + } + + private static void writeGetReferencesResultAsSequence( + IGetReferencesResult that, XMLStreamWriter writer) { + writeProperty( + "pagingMetadata", + "getPagingMetadata()", + that.getPagingMetadata(), + writer, + _VisitorWithWriter::writePagingMetadataAsSequence); + + writeOptionalProperty( + "result", + "getResult()", + that.getResult(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitGetReferencesResult(IGetReferencesResult that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "getReferencesResult", + that, + writer, + withNamespace, + _VisitorWithWriter::writeGetReferencesResultAsSequence); + } + + private static void writeGetSubmodelDescriptorsResultAsSequence( + IGetSubmodelDescriptorsResult that, XMLStreamWriter writer) { + writeProperty( + "pagingMetadata", + "getPagingMetadata()", + that.getPagingMetadata(), + writer, + _VisitorWithWriter::writePagingMetadataAsSequence); + + writeOptionalProperty( + "result", + "getResult()", + that.getResult(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitGetSubmodelDescriptorsResult( + IGetSubmodelDescriptorsResult that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "getSubmodelDescriptorsResult", + that, + writer, + withNamespace, + _VisitorWithWriter::writeGetSubmodelDescriptorsResultAsSequence); + } + + private static void writeGetSubmodelElementsMetadataResultAsSequence( + IGetSubmodelElementsMetadataResult that, XMLStreamWriter writer) { + writeProperty( + "pagingMetadata", + "getPagingMetadata()", + that.getPagingMetadata(), + writer, + _VisitorWithWriter::writePagingMetadataAsSequence); + + writeOptionalProperty( + "result", + "getResult()", + that.getResult(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitGetSubmodelElementsMetadataResult( + IGetSubmodelElementsMetadataResult that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "getSubmodelElementsMetadataResult", + that, + writer, + withNamespace, + _VisitorWithWriter::writeGetSubmodelElementsMetadataResultAsSequence); + } + + private static void writeGetSubmodelElementsResultAsSequence( + IGetSubmodelElementsResult that, XMLStreamWriter writer) { + writeProperty( + "pagingMetadata", + "getPagingMetadata()", + that.getPagingMetadata(), + writer, + _VisitorWithWriter::writePagingMetadataAsSequence); + + writeOptionalProperty( + "result", + "getResult()", + that.getResult(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitGetSubmodelElementsResult( + IGetSubmodelElementsResult that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "getSubmodelElementsResult", + that, + writer, + withNamespace, + _VisitorWithWriter::writeGetSubmodelElementsResultAsSequence); + } + + private static void writeGetSubmodelElementsValueResultAsSequence( + IGetSubmodelElementsValueResult that, XMLStreamWriter writer) { + writeProperty( + "pagingMetadata", + "getPagingMetadata()", + that.getPagingMetadata(), + writer, + _VisitorWithWriter::writePagingMetadataAsSequence); + + writeOptionalProperty( + "result", + "getResult()", + that.getResult(), + writer, + _VisitorWithWriter::writeListOf_jsonObject); + } + + @Override + public void visitGetSubmodelElementsValueResult( + IGetSubmodelElementsValueResult that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "getSubmodelElementsValueResult", + that, + writer, + withNamespace, + _VisitorWithWriter::writeGetSubmodelElementsValueResultAsSequence); + } + + private static void writeGetAllSubmodelsRecentChangesResultAsSequence( + IGetAllSubmodelsRecentChangesResult that, XMLStreamWriter writer) { + writeProperty( + "pagingMetadata", + "getPagingMetadata()", + that.getPagingMetadata(), + writer, + _VisitorWithWriter::writePagingMetadataAsSequence); + + writeOptionalProperty( + "result", + "getResult()", + that.getResult(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitGetAllSubmodelsRecentChangesResult( + IGetAllSubmodelsRecentChangesResult that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "getAllSubmodelsRecentChangesResult", + that, + writer, + withNamespace, + _VisitorWithWriter::writeGetAllSubmodelsRecentChangesResultAsSequence); + } + + private static void writeGetSubmodelsMetadataResultAsSequence( + IGetSubmodelsMetadataResult that, XMLStreamWriter writer) { + writeProperty( + "pagingMetadata", + "getPagingMetadata()", + that.getPagingMetadata(), + writer, + _VisitorWithWriter::writePagingMetadataAsSequence); + + writeOptionalProperty( + "result", + "getResult()", + that.getResult(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitGetSubmodelsMetadataResult( + IGetSubmodelsMetadataResult that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "getSubmodelsMetadataResult", + that, + writer, + withNamespace, + _VisitorWithWriter::writeGetSubmodelsMetadataResultAsSequence); + } + + private static void writeGetSubmodelsResultAsSequence( + IGetSubmodelsResult that, XMLStreamWriter writer) { + writeProperty( + "pagingMetadata", + "getPagingMetadata()", + that.getPagingMetadata(), + writer, + _VisitorWithWriter::writePagingMetadataAsSequence); + + writeOptionalProperty( + "result", + "getResult()", + that.getResult(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitGetSubmodelsResult(IGetSubmodelsResult that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "getSubmodelsResult", + that, + writer, + withNamespace, + _VisitorWithWriter::writeGetSubmodelsResultAsSequence); + } + + private static void writeGetSubmodelsValueResultAsSequence( + IGetSubmodelsValueResult that, XMLStreamWriter writer) { + writeProperty( + "pagingMetadata", + "getPagingMetadata()", + that.getPagingMetadata(), + writer, + _VisitorWithWriter::writePagingMetadataAsSequence); + + writeOptionalProperty( + "result", + "getResult()", + that.getResult(), + writer, + _VisitorWithWriter::writeListOf_jsonObject); + } + + @Override + public void visitGetSubmodelsValueResult( + IGetSubmodelsValueResult that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "getSubmodelsValueResult", + that, + writer, + withNamespace, + _VisitorWithWriter::writeGetSubmodelsValueResultAsSequence); + } + + private static void writeClaimAttributeAsSequence( + IClaimAttribute that, XMLStreamWriter writer) { + writeProperty( + "claim", "getClaim()", that.getClaim(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitClaimAttribute(IClaimAttribute that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "claimAttribute", + that, + writer, + withNamespace, + _VisitorWithWriter::writeClaimAttributeAsSequence); + } + + private static void writeGlobalAttributeAsSequence( + IGlobalAttribute that, XMLStreamWriter writer) { + writeProperty("kind", "getKind()", that.getKind(), writer, _VisitorWithWriter::writeEnum); + } + + @Override + public void visitGlobalAttribute(IGlobalAttribute that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "globalAttribute", + that, + writer, + withNamespace, + _VisitorWithWriter::writeGlobalAttributeAsSequence); + } + + private static void writeReferenceAttributeAsSequence( + IReferenceAttribute that, XMLStreamWriter writer) { + writeProperty( + "reference", + "getReference()", + that.getReference(), + writer, + XmlCommon::writeStringifiedContent); + } + + @Override + public void visitReferenceAttribute(IReferenceAttribute that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "referenceAttribute", + that, + writer, + withNamespace, + _VisitorWithWriter::writeReferenceAttributeAsSequence); + } + + private static void writeDateTimeAttributeItemAsSequence( + IDateTimeAttributeItem that, XMLStreamWriter writer) { + writeProperty("kind", "getKind()", that.getKind(), writer, _VisitorWithWriter::writeEnum); + } + + @Override + public void visitDateTimeAttributeItem(IDateTimeAttributeItem that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "dateTimeAttributeItem", + that, + writer, + withNamespace, + _VisitorWithWriter::writeDateTimeAttributeItemAsSequence); + } + + private static void writeFieldOperandAsSequence(IFieldOperand that, XMLStreamWriter writer) { + writeProperty( + "field", "getField()", that.getField(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitFieldOperand(IFieldOperand that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "fieldOperand", + that, + writer, + withNamespace, + _VisitorWithWriter::writeFieldOperandAsSequence); + } + + private static void writeStringLiteralAsSequence(IStringLiteral that, XMLStreamWriter writer) { + writeProperty( + "strVal", "getStrVal()", that.getStrVal(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitStringLiteral(IStringLiteral that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "stringLiteral", + that, + writer, + withNamespace, + _VisitorWithWriter::writeStringLiteralAsSequence); + } + + private static void writeAttributeOperandAsSequence( + IAttributeOperand that, XMLStreamWriter writer) { + writeProperty( + "attribute", + "getAttribute()", + that.getAttribute(), + writer, + _VisitorWithWriter::writeUnion); + } + + @Override + public void visitAttributeOperand(IAttributeOperand that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "attributeOperand", + that, + writer, + withNamespace, + _VisitorWithWriter::writeAttributeOperandAsSequence); + } + + private static void writeNumberLiteralAsSequence(INumberLiteral that, XMLStreamWriter writer) { + writeProperty( + "numVal", "getNumVal()", that.getNumVal(), writer, XmlCommon::writeDoubleContent); + } + + @Override + public void visitNumberLiteral(INumberLiteral that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "numberLiteral", + that, + writer, + withNamespace, + _VisitorWithWriter::writeNumberLiteralAsSequence); + } + + private static void writeHexLiteralAsSequence(IHexLiteral that, XMLStreamWriter writer) { + writeProperty( + "hexVal", "getHexVal()", that.getHexVal(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitHexLiteral(IHexLiteral that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "hexLiteral", that, writer, withNamespace, _VisitorWithWriter::writeHexLiteralAsSequence); + } + + private static void writeDateTimeLiteralAsSequence( + IDateTimeLiteral that, XMLStreamWriter writer) { + writeProperty( + "dateTimeVal", + "getDateTimeVal()", + that.getDateTimeVal(), + writer, + XmlCommon::writeStringifiedContent); + } + + @Override + public void visitDateTimeLiteral(IDateTimeLiteral that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "dateTimeLiteral", + that, + writer, + withNamespace, + _VisitorWithWriter::writeDateTimeLiteralAsSequence); + } + + private static void writeTimeLiteralAsSequence(ITimeLiteral that, XMLStreamWriter writer) { + writeProperty( + "timeVal", "getTimeVal()", that.getTimeVal(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitTimeLiteral(ITimeLiteral that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "timeLiteral", + that, + writer, + withNamespace, + _VisitorWithWriter::writeTimeLiteralAsSequence); + } + + private static void writeBooleanLiteralAsSequence( + IBooleanLiteral that, XMLStreamWriter writer) { + writeProperty( + "boolean", "getBoolean()", that.getBoolean(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitBooleanLiteral(IBooleanLiteral that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "booleanLiteral", + that, + writer, + withNamespace, + _VisitorWithWriter::writeBooleanLiteralAsSequence); + } + + private static void writeStringCastAsSequence(IStringCast that, XMLStreamWriter writer) { + writeProperty( + "strCast", "getStrCast()", that.getStrCast(), writer, _VisitorWithWriter::writeUnion); + } + + @Override + public void visitStringCast(IStringCast that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "stringCast", that, writer, withNamespace, _VisitorWithWriter::writeStringCastAsSequence); + } + + private static void writeNumberCastAsSequence(INumberCast that, XMLStreamWriter writer) { + writeProperty( + "numCast", "getNumCast()", that.getNumCast(), writer, _VisitorWithWriter::writeUnion); + } + + @Override + public void visitNumberCast(INumberCast that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "numberCast", that, writer, withNamespace, _VisitorWithWriter::writeNumberCastAsSequence); + } + + private static void writeHexCastAsSequence(IHexCast that, XMLStreamWriter writer) { + writeProperty( + "hexCast", "getHexCast()", that.getHexCast(), writer, _VisitorWithWriter::writeUnion); + } + + @Override + public void visitHexCast(IHexCast that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "hexCast", that, writer, withNamespace, _VisitorWithWriter::writeHexCastAsSequence); + } + + private static void writeBooleanCastAsSequence(IBooleanCast that, XMLStreamWriter writer) { + writeProperty( + "boolCast", "getBoolCast()", that.getBoolCast(), writer, _VisitorWithWriter::writeUnion); + } + + @Override + public void visitBooleanCast(IBooleanCast that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "booleanCast", + that, + writer, + withNamespace, + _VisitorWithWriter::writeBooleanCastAsSequence); + } + + private static void writeDateTimeCastAsSequence(IDateTimeCast that, XMLStreamWriter writer) { + writeProperty( + "dateTimeCast", + "getDateTimeCast()", + that.getDateTimeCast(), + writer, + _VisitorWithWriter::writeUnion); + } + + @Override + public void visitDateTimeCast(IDateTimeCast that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "dateTimeCast", + that, + writer, + withNamespace, + _VisitorWithWriter::writeDateTimeCastAsSequence); + } + + private static void writeTimeCastAsSequence(ITimeCast that, XMLStreamWriter writer) { + writeProperty( + "timeCast", "getTimeCast()", that.getTimeCast(), writer, _VisitorWithWriter::writeUnion); + } + + @Override + public void visitTimeCast(ITimeCast that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "timeCast", that, writer, withNamespace, _VisitorWithWriter::writeTimeCastAsSequence); + } + + private static void writeDayOfWeekAsSequence(IDayOfWeek that, XMLStreamWriter writer) { + writeProperty( + "dayOfWeek", + "getDayOfWeek()", + that.getDayOfWeek(), + writer, + _VisitorWithWriter::writeUnion); + } + + @Override + public void visitDayOfWeek(IDayOfWeek that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "dayOfWeek", that, writer, withNamespace, _VisitorWithWriter::writeDayOfWeekAsSequence); + } + + private static void writeDayOfMonthAsSequence(IDayOfMonth that, XMLStreamWriter writer) { + writeProperty( + "dayOfMonth", + "getDayOfMonth()", + that.getDayOfMonth(), + writer, + _VisitorWithWriter::writeUnion); + } + + @Override + public void visitDayOfMonth(IDayOfMonth that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "dayOfMonth", that, writer, withNamespace, _VisitorWithWriter::writeDayOfMonthAsSequence); + } + + private static void writeMonthAsSequence(IMonth that, XMLStreamWriter writer) { + writeProperty("month", "getMonth()", that.getMonth(), writer, _VisitorWithWriter::writeUnion); + } + + @Override + public void visitMonth(IMonth that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "month", that, writer, withNamespace, _VisitorWithWriter::writeMonthAsSequence); + } + + private static void writeYearAsSequence(IYear that, XMLStreamWriter writer) { + writeProperty("year", "getYear()", that.getYear(), writer, _VisitorWithWriter::writeUnion); + } + + @Override + public void visitYear(IYear that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "year", that, writer, withNamespace, _VisitorWithWriter::writeYearAsSequence); + } + + private static void writeDateTimeAttributeOperandAsSequence( + IDateTimeAttributeOperand that, XMLStreamWriter writer) { + writeProperty( + "attribute", + "getAttribute()", + that.getAttribute(), + writer, + _VisitorWithWriter::writeDateTimeAttributeItemAsSequence); + } + + @Override + public void visitDateTimeAttributeOperand( + IDateTimeAttributeOperand that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "dateTimeAttributeOperand", + that, + writer, + withNamespace, + _VisitorWithWriter::writeDateTimeAttributeOperandAsSequence); + } + + private static void writeEqualComparisonAsSequence( + IEqualComparison that, XMLStreamWriter writer) { + writeProperty( + "eq", "getEq()", that.getEq(), writer, _VisitorWithWriter::writeTupleOf2_IUnion_IUnion); + } + + @Override + public void visitEqualComparison(IEqualComparison that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "equalComparison", + that, + writer, + withNamespace, + _VisitorWithWriter::writeEqualComparisonAsSequence); + } + + private static void writeNotEqualComparisonAsSequence( + INotEqualComparison that, XMLStreamWriter writer) { + writeProperty( + "ne", "getNe()", that.getNe(), writer, _VisitorWithWriter::writeTupleOf2_IUnion_IUnion); + } + + @Override + public void visitNotEqualComparison(INotEqualComparison that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "notEqualComparison", + that, + writer, + withNamespace, + _VisitorWithWriter::writeNotEqualComparisonAsSequence); + } + + private static void writeGreaterThanComparisonAsSequence( + IGreaterThanComparison that, XMLStreamWriter writer) { + writeProperty( + "gt", "getGt()", that.getGt(), writer, _VisitorWithWriter::writeTupleOf2_IUnion_IUnion); + } + + @Override + public void visitGreaterThanComparison(IGreaterThanComparison that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "greaterThanComparison", + that, + writer, + withNamespace, + _VisitorWithWriter::writeGreaterThanComparisonAsSequence); + } + + private static void writeGreaterThanOrEqualComparisonAsSequence( + IGreaterThanOrEqualComparison that, XMLStreamWriter writer) { + writeProperty( + "ge", "getGe()", that.getGe(), writer, _VisitorWithWriter::writeTupleOf2_IUnion_IUnion); + } + + @Override + public void visitGreaterThanOrEqualComparison( + IGreaterThanOrEqualComparison that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "greaterThanOrEqualComparison", + that, + writer, + withNamespace, + _VisitorWithWriter::writeGreaterThanOrEqualComparisonAsSequence); + } + + private static void writeLessThanComparisonAsSequence( + ILessThanComparison that, XMLStreamWriter writer) { + writeProperty( + "lt", "getLt()", that.getLt(), writer, _VisitorWithWriter::writeTupleOf2_IUnion_IUnion); + } + + @Override + public void visitLessThanComparison(ILessThanComparison that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "lessThanComparison", + that, + writer, + withNamespace, + _VisitorWithWriter::writeLessThanComparisonAsSequence); + } + + private static void writeLessThanOrEqualComparisonAsSequence( + ILessThanOrEqualComparison that, XMLStreamWriter writer) { + writeProperty( + "le", "getLe()", that.getLe(), writer, _VisitorWithWriter::writeTupleOf2_IUnion_IUnion); + } + + @Override + public void visitLessThanOrEqualComparison( + ILessThanOrEqualComparison that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "lessThanOrEqualComparison", + that, + writer, + withNamespace, + _VisitorWithWriter::writeLessThanOrEqualComparisonAsSequence); + } + + private static void writeContainsComparisonAsSequence( + IContainsComparison that, XMLStreamWriter writer) { + writeProperty( + "contains", + "getContains()", + that.getContains(), + writer, + _VisitorWithWriter::writeTupleOf2_IUnion_IUnion); + } + + @Override + public void visitContainsComparison(IContainsComparison that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "containsComparison", + that, + writer, + withNamespace, + _VisitorWithWriter::writeContainsComparisonAsSequence); + } + + private static void writeStartsWithComparisonAsSequence( + IStartsWithComparison that, XMLStreamWriter writer) { + writeProperty( + "startsWith", + "getStartsWith()", + that.getStartsWith(), + writer, + _VisitorWithWriter::writeTupleOf2_IUnion_IUnion); + } + + @Override + public void visitStartsWithComparison(IStartsWithComparison that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "startsWithComparison", + that, + writer, + withNamespace, + _VisitorWithWriter::writeStartsWithComparisonAsSequence); + } + + private static void writeEndsWithComparisonAsSequence( + IEndsWithComparison that, XMLStreamWriter writer) { + writeProperty( + "endsWith", + "getEndsWith()", + that.getEndsWith(), + writer, + _VisitorWithWriter::writeTupleOf2_IUnion_IUnion); + } + + @Override + public void visitEndsWithComparison(IEndsWithComparison that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "endsWithComparison", + that, + writer, + withNamespace, + _VisitorWithWriter::writeEndsWithComparisonAsSequence); + } + + private static void writeRegexComparisonAsSequence( + IRegexComparison that, XMLStreamWriter writer) { + writeProperty( + "regex", + "getRegex()", + that.getRegex(), + writer, + _VisitorWithWriter::writeTupleOf2_IUnion_IUnion); + } + + @Override + public void visitRegexComparison(IRegexComparison that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "regexComparison", + that, + writer, + withNamespace, + _VisitorWithWriter::writeRegexComparisonAsSequence); + } + + private static void writeMatchClauseAsSequence(IMatchClause that, XMLStreamWriter writer) { + writeProperty( + "matchOperands", + "getMatchOperands()", + that.getMatchOperands(), + writer, + _VisitorWithWriter::writeListOf_IUnion); + } + + @Override + public void visitMatchClause(IMatchClause that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "matchClause", + that, + writer, + withNamespace, + _VisitorWithWriter::writeMatchClauseAsSequence); + } + + private static void writeAndExpressionAsSequence(IAndExpression that, XMLStreamWriter writer) { + writeProperty( + "andOperands", + "getAndOperands()", + that.getAndOperands(), + writer, + _VisitorWithWriter::writeListOf_IUnion); + } + + @Override + public void visitAndExpression(IAndExpression that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "andExpression", + that, + writer, + withNamespace, + _VisitorWithWriter::writeAndExpressionAsSequence); + } + + private static void writeOrExpressionAsSequence(IOrExpression that, XMLStreamWriter writer) { + writeProperty( + "orOperands", + "getOrOperands()", + that.getOrOperands(), + writer, + _VisitorWithWriter::writeListOf_IUnion); + } + + @Override + public void visitOrExpression(IOrExpression that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "orExpression", + that, + writer, + withNamespace, + _VisitorWithWriter::writeOrExpressionAsSequence); + } + + private static void writeNotExpressionAsSequence(INotExpression that, XMLStreamWriter writer) { + writeProperty( + "notOperand", + "getNotOperand()", + that.getNotOperand(), + writer, + _VisitorWithWriter::writeUnion); + } + + @Override + public void visitNotExpression(INotExpression that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "notExpression", + that, + writer, + withNamespace, + _VisitorWithWriter::writeNotExpressionAsSequence); + } + + private static void writeQueryFilterAsSequence(IQueryFilter that, XMLStreamWriter writer) { + writeProperty( + "fragment", + "getFragment()", + that.getFragment(), + writer, + XmlCommon::writeStringifiedContent); + + writeProperty( + "condition", + "getCondition()", + that.getCondition(), + writer, + _VisitorWithWriter::writeUnion); + } + + @Override + public void visitQueryFilter(IQueryFilter that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "queryFilter", + that, + writer, + withNamespace, + _VisitorWithWriter::writeQueryFilterAsSequence); + } + + private static void writeQueryAsSequence(IQuery that, XMLStreamWriter writer) { + writeOptionalProperty( + "select", "getSelect()", that.getSelect(), writer, _VisitorWithWriter::writeEnum); + + writeProperty( + "condition", + "getCondition()", + that.getCondition(), + writer, + _VisitorWithWriter::writeUnion); + + writeOptionalProperty( + "filters", + "getFilters()", + that.getFilters(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitQuery(IQuery that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "query", that, writer, withNamespace, _VisitorWithWriter::writeQueryAsSequence); + } + } + + /** Serialize instances of meta-model classes to XML. */ + /** + * + * + *

+   * Here is an example how to serialize an instance of IHasSemantics:
+   * {@code
+   * IClass anInstance = new IHasSemantics(
+   *     ... some constructor arguments ...
+   * );
+   * XMLStreamWriter writer = xmlWriterFactory.createXMLStreamWriter(...some arguments...);
+   * Serialize.to(
+   *   anInstance,
+   *   writer);
+   * }
+   * 
+ */ + public static class Serialize { + /** + * Serialize an instance of the meta-model to XML. + * + *

{@code writer} is flushed exactly once, here at the end. Nothing is flushed in-between, + * which is what lets {@link XMLStreamWriter} buffer, and the single flush at the end is what + * lets a failure of the underlying stream be reported as a {@link XmlCommon.SerializeException} + * from this method -- were it left to the caller, the failure would surface at their own flush, + * after the serialization has long returned. + * + *

The path of a {@link XmlCommon.SerializeException} is rendered as a Java access path, and + * not as the relative XPath the de-serialization reports: the caller invoked this on an + * instance, and not on a document, which has not been written yet. It names the + * getters and the indices leading to the culprit, so that {@code + * getSubmodelElements().get(0).getValue()} can be pasted as it stands. The outermost element is + * deliberately not named, as this method takes any {@link IClass} and the name would say + * nothing the caller does not already know. + */ + public static void to(IClass that, XMLStreamWriter writer) throws XmlCommon.SerializeException { + try { + _VisitorWithWriter.ROOT.visit(that, writer); + writer.flush(); + } catch (XMLStreamException exception) { + throw new XmlCommon.SerializeException("", exception.getMessage()); + } catch (XmlCommon.SerializeFailure failure) { + final Reporting.Error error = failure.getError(); + throw new XmlCommon.SerializeException( + Reporting.generateJavaPath(error.getPathSegments()), error.getCause()); + } + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_2/xmlrpc/XmlRpc.java b/src/main/java/aas_core/aas3_2/xmlrpc/XmlRpc.java new file mode 100644 index 00000000..6662a619 --- /dev/null +++ b/src/main/java/aas_core/aas3_2/xmlrpc/XmlRpc.java @@ -0,0 +1,612 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.xmlrpc; + +import aas_core.aas3_2.reporting.Reporting; +import aas_core.aas3_2.verification.Verification; +import aas_core.aas3_2.xmlcommon.XmlCommon; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ArrayNode; +import com.fasterxml.jackson.databind.node.JsonNodeFactory; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.math.BigInteger; +import java.util.Iterator; +import java.util.regex.Pattern; +import javax.xml.stream.XMLEventReader; +import javax.xml.stream.XMLStreamException; +import javax.xml.stream.XMLStreamWriter; +import javax.xml.stream.events.XMLEvent; + +/** + * De/serialize JSON-able values to and from XML. + * + *

JSON prescribes no XML representation of its own, so a JSON-able value is de/serialized over + * the subset of XML-RPC which covers exactly what such a value can be: {@code }, {@code + * }, {@code }, {@code }, {@code } and {@code }. XML-RPC + * itself knows no null, so we follow the widespread extension, and write a JSON null as an empty + * {@code }. + * + *

Every method reads from or writes to the reader or the writer which the caller passes in, and + * consumes or produces exactly the content of one element. This is what lets the xmlization read a + * JSON-able property from the very same reader it reads the enclosing document with. + */ +public final class XmlRpc { + private XmlRpc() { + // NOTE (mristin): + // The XML-RPC de/serialization is stateless, so there is nothing + // to instantiate. + } + + /** + * Match a numeral of the {@code } lexical space. + * + *

This is the numeric part of the lexical space of {@code xs:double}, and deliberately not its + * three named literals -- {@code INF}, {@code -INF} and {@code NaN} -- since a JSON number can be + * none of them. + */ + private static final Pattern XML_RPC_DOUBLE = + Pattern.compile("^(\\+|-)?([0-9]+(\\.[0-9]*)?|\\.[0-9]+)([Ee](\\+|-)?[0-9]+)?$"); + + /** + * Read the content of an element holding a JSON-able value. + * + *

The content is a single discriminator element -- {@code }, {@code }, {@code + * }, {@code }, {@code } or {@code } -- which says what the value + * is. + */ + public static Reporting.Result readValueContent( + XMLEventReader reader, boolean isEmpty) { + if (isEmpty) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected one of the elements nil, boolean, double, string, array " + + "or struct as the content of the element, but the element was empty")); + } + + final Reporting.Result tryElementName = XmlCommon.peekElementNameInNoNamespace(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String local = tryElementName.getResult(); + final boolean isEmptyDiscriminator = XmlCommon.isEmptyElement(reader); + + final Reporting.Result result = + readXmlRpcDiscriminator(reader, local, isEmptyDiscriminator); + if (result.isError()) { + // NOTE (mristin): + // The discriminator element has been entered, so it is a step of + // the path -- unlike the element which is no discriminator at all, + // which readXmlRpcDiscriminator refuses without a step, as naming it + // in the path as well as in the message would say nothing more. + if (!isUnexpectedDiscriminator(local)) { + result.getError().prependSegment(new Reporting.NameSegment(local)); + } + return result; + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElementInNoNamespace(reader, local); + if (endResult.isError()) { + endResult.getError().prependSegment(new Reporting.NameSegment(local)); + return Reporting.Result.failure(endResult.getError()); + } + + return result; + } + + /** Tell whether {@code local} names no discriminator element at all. */ + private static boolean isUnexpectedDiscriminator(String local) { + switch (local) { + case "nil": + case "boolean": + case "double": + case "string": + case "array": + case "struct": + return false; + default: + return true; + } + } + + /** Read the content of the discriminator element named {@code local}. */ + private static Reporting.Result readXmlRpcDiscriminator( + XMLEventReader reader, String local, boolean isEmpty) { + switch (local) { + case "nil": + return readXmlRpcNil(reader, isEmpty); + case "boolean": + return readXmlRpcBoolean(reader, isEmpty); + case "double": + return readXmlRpcDouble(reader, isEmpty); + case "string": + return readXmlRpcString(reader, isEmpty); + case "array": + { + final Reporting.Result arrayResult = readArrayContent(reader, isEmpty); + return arrayResult.isError() + ? Reporting.Result.failure(arrayResult.getError()) + : Reporting.Result.success(arrayResult.getResult()); + } + case "struct": + { + final Reporting.Result objectResult = readObjectContent(reader, isEmpty); + return objectResult.isError() + ? Reporting.Result.failure(objectResult.getError()) + : Reporting.Result.success(objectResult.getResult()); + } + default: + return Reporting.Result.failure( + new Reporting.Error( + "Expected a discriminator element (one of nil, boolean, double, " + + "string, array or struct), but got: " + + local)); + } + } + + /** + * Read the content of a {@code } element. + * + *

Real XML-RPC tooling writes and expects a strict {@code 1}/{@code 0}, and not the {@code + * true}/{@code false} which {@code xs:boolean} and the rest of this module use. + */ + private static Reporting.Result readXmlRpcBoolean( + XMLEventReader reader, boolean isEmpty) { + final String text = isEmpty ? "" : readXmlRpcCollapsedText(reader); + + if ("1".equals(text)) { + return Reporting.Result.success(JsonNodeFactory.instance.booleanNode(true)); + } + if ("0".equals(text)) { + return Reporting.Result.success(JsonNodeFactory.instance.booleanNode(false)); + } + + return Reporting.Result.failure( + new Reporting.Error( + "Expected \"0\" or \"1\" as the text of a boolean element, " + "but got: " + text)); + } + + /** Read the content of a {@code } element. */ + private static Reporting.Result readXmlRpcDouble( + XMLEventReader reader, boolean isEmpty) { + final String text = isEmpty ? "" : readXmlRpcCollapsedText(reader); + + // NOTE (mristin): + // The lexical form is matched before the text is converted. + // Double.parseDouble reads more than we admit here: a hexadecimal + // literal, a trailing type suffix, and the spellings "Infinity" and + // "NaN". + // + // Mind that the numeral excludes "INF", "-INF" and "NaN" on purpose, + // unlike xs:double, which names all three. A double element carries + // a JSON number, and JSON knows neither an infinity nor a not-a-number, + // so there is no JSON-able value for such a text to read into. + if (!XML_RPC_DOUBLE.matcher(text).matches()) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected a number as the text of a double element, " + "but got: " + text)); + } + + final double value = Double.parseDouble(text); + + // NOTE (mristin): + // A literal too large for a double gives an infinity, which is no + // JSON-able value either, so it is refused rather than rounded. + if (Double.isInfinite(value) || Double.isNaN(value)) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected a number representable as a JSON-able value as the text " + + "of a double element, but got: " + + text)); + } + + // NOTE (mristin): + // A numeral with neither a fraction nor an exponent gives a long node, + // and anything else a double node. Jackson tells the two apart, and so + // does a JSON document, so reading every double element as a double + // node would silently turn the 1 of a document into a 1.0 on the way + // through XML, and back again. + // + // Such an integer has to be a safe integer, exactly as in JSON. We read + // it as a big integer first, so that a numeral beyond a long is refused + // rather than truncated. + if (text.indexOf('.') < 0 && text.indexOf('e') < 0 && text.indexOf('E') < 0) { + final BigInteger integer = new BigInteger(text); + if (!Verification.isSafeInteger(integer)) { + return Reporting.Result.failure( + new Reporting.Error(Verification.jsonAbleIntegerOutsideSafeRangeMessage(integer))); + } + return Reporting.Result.success(JsonNodeFactory.instance.numberNode(integer.longValue())); + } + + return Reporting.Result.success(JsonNodeFactory.instance.numberNode(value)); + } + + /** + * Read the content of a {@code } element. + * + *

{@code xs:string} is {@code preserve} and not {@code collapse}, so a {@code } keeps + * its whitespace, unlike a {@code } or a {@code }. + */ + private static Reporting.Result readXmlRpcString( + XMLEventReader reader, boolean isEmpty) { + if (isEmpty) { + return Reporting.Result.success(JsonNodeFactory.instance.textNode("")); + } + + try { + return Reporting.Result.success( + JsonNodeFactory.instance.textNode(XmlCommon.readContentAsString(reader))); + } catch (XMLStreamException exception) { + return Reporting.Result.failure(new Reporting.Error(exception.getMessage())); + } + } + + /** + * Read the content of a {@code } element as a JSON null. + * + *

XML-RPC itself knows no null, so we follow the widespread extension, and read a JSON null + * from an empty {@code }. + */ + private static Reporting.Result readXmlRpcNil(XMLEventReader reader, boolean isEmpty) { + if (!isEmpty) { + final String text = readXmlRpcCollapsedText(reader); + if (!text.isEmpty()) { + return Reporting.Result.failure( + new Reporting.Error("Expected no text in a nil element, but got: " + text)); + } + } + + return Reporting.Result.success(JsonNodeFactory.instance.nullNode()); + } + + /** + * Read the text of the element which the caller has opened, collapsed. + * + *

{@code whiteSpace} is fixed to {@code collapse} for every atomic XSD type but a string, so a + * pretty-printed document has to be read as well. + */ + private static String readXmlRpcCollapsedText(XMLEventReader reader) { + try { + return XmlCommon.collapseWhitespace(XmlCommon.readContentAsString(reader)); + } catch (XMLStreamException exception) { + return ""; + } + } + + /** + * Read the content of an element holding a JSON-able array. + * + *

The content is a single {@code } element holding a {@code } per item. + */ + public static Reporting.Result readArrayContent( + XMLEventReader reader, boolean isEmpty) { + if (isEmpty) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected a data element as the content of the element, " + + "but the element was empty")); + } + + // NOTE (mristin): + // Only an entered element is a step of the path. Another element in + // its place is refused on the property itself. + final Reporting.Result tryElementName = XmlCommon.peekElementNameInNoNamespace(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + if (!"data".equals(tryElementName.getResult())) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected an XML element data, but got an XML element " + + tryElementName.getResult())); + } + + final Reporting.Result result = + XmlCommon.readNamedElementInNoNamespace(reader, "data", XmlRpc::readXmlRpcData); + if (result.isError()) { + result.getError().prependSegment(new Reporting.NameSegment("data")); + return Reporting.Result.failure(result.getError()); + } + return Reporting.Result.success(result.getResult()); + } + + /** Read the content of the {@code } element of a JSON-able array. */ + private static Reporting.Result readXmlRpcData( + XMLEventReader reader, boolean isEmpty) { + final ArrayNode result = JsonNodeFactory.instance.arrayNode(); + if (isEmpty) { + return Reporting.Result.success(result); + } + + int index = 0; + XmlCommon.skipWhitespaceAndComments(reader); + while (XmlCommon.currentEvent(reader).isStartElement()) { + final Reporting.Result itemResult = + XmlCommon.readNamedElementInNoNamespace(reader, "value", XmlRpc::readValueContent); + if (itemResult.isError()) { + // NOTE (mristin): + // Every item of a element is a element, so the index + // already names the element which was entered, and there is no step + // of its own for it. + itemResult.getError().prependSegment(new Reporting.IndexSegment(index)); + return Reporting.Result.failure(itemResult.getError()); + } + + result.add(itemResult.getResult()); + index++; + XmlCommon.skipWhitespaceAndComments(reader); + } + + return Reporting.Result.success(result); + } + + /** + * Read the content of an element holding a JSON-able object. + * + *

The content is a {@code } per key, each holding a {@code } and a {@code + * }. + */ + public static Reporting.Result readObjectContent( + XMLEventReader reader, boolean isEmpty) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + if (isEmpty) { + return Reporting.Result.success(result); + } + + XmlCommon.skipWhitespaceAndComments(reader); + while (XmlCommon.currentEvent(reader).isStartElement()) { + final Reporting.Result memberResult = + XmlCommon.readNamedElementInNoNamespace( + reader, + "member", + (memberReader, memberIsEmpty) -> + readXmlRpcMember(memberReader, memberIsEmpty, result)); + if (memberResult.isError()) { + return Reporting.Result.failure(memberResult.getError()); + } + + XmlCommon.skipWhitespaceAndComments(reader); + } + + return Reporting.Result.success(result); + } + + /** Read a {@code } element into {@code target}. */ + private static Reporting.Result readXmlRpcMember( + XMLEventReader reader, boolean isEmpty, ObjectNode target) { + if (isEmpty) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected a name and a value element in a member, " + + "but the member element was empty")); + } + + final Reporting.Result nameResult = + XmlCommon.readNamedElementInNoNamespace(reader, "name", XmlRpc::readXmlRpcString); + if (nameResult.isError()) { + return Reporting.Result.failure(nameResult.getError()); + } + final String key = nameResult.getResult().asText(); + + // NOTE (mristin): + // A repeated member name is refused, just as a repeated property element + // is refused elsewhere in this module. Letting the later member win would + // silently accept a document which says two different things about + // the same key. + if (target.has(key)) { + return Reporting.Result.failure( + new Reporting.Error("The member " + key + " occurred more than once")); + } + + final Reporting.Result valueResult = + XmlCommon.readNamedElementInNoNamespace(reader, "value", XmlRpc::readValueContent); + if (valueResult.isError()) { + // NOTE (mristin): + // A holds the key of a member in a child element + // instead of an attribute, so the key segment renders as a predicate + // on that child element, and the element is a step of its own. + valueResult.getError().prependSegment(new Reporting.NameSegment("value")); + valueResult.getError().prependSegment(new Reporting.KeySegment(key)); + return Reporting.Result.failure(valueResult.getError()); + } + + target.set(key, valueResult.getResult()); + return Reporting.Result.success(target); + } + + /** + * Write {@code that} as the content of an element holding a JSON-able value. + * + *

The content is a single discriminator element which says what the value is. + */ + public static void writeValueContent(JsonNode that, XMLStreamWriter writer) { + writeValueContent(that, writer, true); + } + + /** + * Write {@code that} as the content of a {@code } element of this very module, which + * already resides in no namespace. + */ + private static void writeNestedValueContent(JsonNode that, XMLStreamWriter writer) { + writeValueContent(that, writer, false); + } + + private static void writeValueContent( + JsonNode that, XMLStreamWriter writer, boolean undeclareNamespace) { + if (that == null || that.isMissingNode()) { + throw new XmlCommon.SerializeFailure( + new Reporting.Error("Expected a JSON-able value, but got: " + that)); + } + + if (that.isNull()) { + // NOTE (mristin): + // XML-RPC itself knows no null, so we follow the widespread extension, + // and write a JSON null as an empty . + XmlCommon.writeElementInNoNamespace( + "nil", that, writer, undeclareNamespace, (node, aWriter) -> {}); + return; + } + + if (that.isBoolean()) { + // NOTE (mristin): + // Real XML-RPC tooling writes and expects a strict 1/0, and not + // the true/false which xs:boolean and the rest of this module use. + XmlCommon.writeElementInNoNamespace( + "boolean", + that.booleanValue() ? "1" : "0", + writer, + undeclareNamespace, + XmlCommon::writeStringifiedContent); + return; + } + + if (that.isNumber()) { + // NOTE (mristin): + // We check the number exactly as the verification and the JSON + // de/serialization do, and readXmlRpcDouble refuses to read back + // what we refuse here. + final String cause = Verification.checkJsonAbleNumber(that); + if (cause != null) { + throw new XmlCommon.SerializeFailure(new Reporting.Error(cause)); + } + + XmlCommon.writeElementInNoNamespace( + "double", + that, + writer, + undeclareNamespace, + (node, aWriter) -> XmlCommon.writeStringifiedContent(node.asText(), aWriter)); + return; + } + + if (that.isTextual()) { + XmlCommon.writeElementInNoNamespace( + "string", + that.textValue(), + writer, + undeclareNamespace, + XmlCommon::writeStringifiedContent); + return; + } + + if (that.isArray()) { + XmlCommon.writeElementInNoNamespace( + "array", (ArrayNode) that, writer, undeclareNamespace, XmlRpc::writeNestedArrayContent); + return; + } + + if (that.isObject()) { + XmlCommon.writeElementInNoNamespace( + "struct", + (ObjectNode) that, + writer, + undeclareNamespace, + XmlRpc::writeNestedObjectContent); + return; + } + + throw new XmlCommon.SerializeFailure( + new Reporting.Error( + "Expected a JSON-able value (a null, a boolean, a number, a string, " + + "an array or an object), but got: " + + that.getNodeType())); + } + + /** + * Write {@code that} as the content of an element holding a JSON-able array. + * + *

The content is a single {@code } element holding a {@code } per item. + */ + public static void writeArrayContent(ArrayNode that, XMLStreamWriter writer) { + writeArrayContent(that, writer, true); + } + + /** + * Write {@code that} as the content of an {@code } element of this very module, which + * already resides in no namespace. + */ + private static void writeNestedArrayContent(ArrayNode that, XMLStreamWriter writer) { + writeArrayContent(that, writer, false); + } + + private static void writeArrayContent( + ArrayNode that, XMLStreamWriter writer, boolean undeclareNamespace) { + XmlCommon.writeElementInNoNamespace( + "data", + that, + writer, + undeclareNamespace, + (node, aWriter) -> { + int index = 0; + for (JsonNode item : node) { + try { + XmlCommon.writeElement("value", item, aWriter, XmlRpc::writeNestedValueContent); + } catch (XmlCommon.SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.IndexSegment(index)); + throw failure; + } + index++; + } + }); + } + + /** + * Write {@code that} as the content of an element holding a JSON-able object. + * + *

The content is a {@code } per key, each holding a {@code } and a {@code + * }. + */ + public static void writeObjectContent(ObjectNode that, XMLStreamWriter writer) { + writeObjectContent(that, writer, true); + } + + /** + * Write {@code that} as the content of a {@code } element of this very module, which + * already resides in no namespace. + */ + private static void writeNestedObjectContent(ObjectNode that, XMLStreamWriter writer) { + writeObjectContent(that, writer, false); + } + + private static void writeObjectContent( + ObjectNode that, XMLStreamWriter writer, boolean undeclareNamespace) { + final Iterator names = that.fieldNames(); + while (names.hasNext()) { + final String key = names.next(); + // NOTE (mristin): + // The members are siblings, so each of them is an outermost element + // of its own where the enclosing element is not ours. + XmlCommon.writeElementInNoNamespace( + "member", + that.get(key), + writer, + undeclareNamespace, + (value, aWriter) -> { + XmlCommon.writeElement("name", key, aWriter, XmlCommon::writeStringifiedContent); + try { + XmlCommon.writeElement("value", value, aWriter, XmlRpc::writeNestedValueContent); + } catch (XmlCommon.SerializeFailure failure) { + // NOTE (mristin): + // A member of an open JSON object is no property of one of + // our classes, so it gets a key segment and not a name one. + failure.getError().prependSegment(new Reporting.KeySegment(key)); + throw failure; + } + }); + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/Common.java b/src/test/java/Common.java new file mode 100644 index 00000000..bb3be29a --- /dev/null +++ b/src/test/java/Common.java @@ -0,0 +1,153 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.fail; + +import aas_core.aas3_2.reporting.Reporting; +import aas_core.aas3_2.types.model.IClass; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.nio.charset.StandardCharsets; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.List; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Provide common functionality to be re-used across different tests such as reading of environment + * variables. + */ +public class Common { + public static String TEST_DATA_DIR = Paths.get("test_data").toAbsolutePath().toString(); + + public static final String RECORD_MODE_ENVIRONMENT_VARIABLE_NAME = + "AAS_CORE_AAS3_2_TESTS_RECORD_MODE"; + + // NOTE (empwilli): + // It is tedious to record manually all the expected error messages. + // Therefore we include this variable to steer the automatic recording. + // We intentionally inter-twine the recording code with the test code + // to keep them close to each other so that they are easier to maintain. + public static final boolean RECORD_MODE = + System.getenv("AAS_CORE_AAS3_2_TESTS_RECORD_MODE") != null + && (System.getenv(RECORD_MODE_ENVIRONMENT_VARIABLE_NAME).equalsIgnoreCase("true") + || System.getenv(RECORD_MODE_ENVIRONMENT_VARIABLE_NAME).equalsIgnoreCase("on") + || System.getenv(RECORD_MODE_ENVIRONMENT_VARIABLE_NAME).equalsIgnoreCase("1") + || System.getenv(RECORD_MODE_ENVIRONMENT_VARIABLE_NAME).equalsIgnoreCase("yes")); + + @SuppressWarnings("unchecked") + public static T mustFind(IClass container, Class type) { + if (type.isInstance(container)) { + return type.cast(container); + } + for (IClass current : container.descend()) { + if (type.isInstance(current)) { + return type.cast(current); + } + } + throw new IllegalStateException("No instance of " + type.getSimpleName() + " could be found"); + } + + public static List findPaths(Path path, String fileExtension) throws IOException { + if (!Files.isDirectory(path)) { + throw new IllegalArgumentException("Path must be a directory!"); + } + + List result; + try (Stream walk = Files.walk(path)) { + result = + walk.filter(p -> !Files.isDirectory(p)) + .filter(f -> f.toString().endsWith(fileExtension)) + .collect(Collectors.toList()); + } + return result; + } + + public static List findDirs(Path path) throws IOException { + if (!Files.isDirectory(path)) { + throw new IllegalArgumentException("Path must be a directory!"); + } + + List result; + try (Stream children = Files.list(path)) { + result = children.filter(p -> Files.isDirectory(p)).collect(Collectors.toList()); + } + return result; + } + + public static List asList(Iterable iterable) { + return StreamSupport.stream(iterable.spliterator(), false).collect(Collectors.toList()); + } + + public static void assertNoVerificationErrors(List errors, Path path) { + if (!errors.isEmpty()) { + StringBuilder stringBuilder = new StringBuilder(); + stringBuilder + .append("Expected no errors when verifying the instance de-serialized from ") + .append(path.toString()) + .append(", ") + .append("but got ") + .append(errors.size()) + .append(" error(s):") + .append(System.lineSeparator()); + for (Reporting.Error error : errors) { + stringBuilder + .append(Reporting.generateJsonPath(error.getPathSegments())) + .append(": ") + .append(error.getCause()); + } + fail(stringBuilder.toString()); + } + } + + public static void assertEqualsExpectedOrRerecordVerificationErrors( + List errors, Path path) throws IOException { + if (errors.isEmpty()) { + fail("Expected at least one verification error when verifying " + path + ", but got none"); + } + final String got = + errors.stream() + .map( + error -> + Reporting.generateJsonPath(error.getPathSegments()) + ": " + error.getCause()) + .collect(Collectors.joining(";\n")); + final Path errorsPath = Paths.get(path + ".errors"); + if (RECORD_MODE) { + Files.write(errorsPath, got.getBytes(StandardCharsets.UTF_8)); + } else { + if (!Files.exists(errorsPath)) { + throw new FileNotFoundException( + "The file with the recorded errors does not exist: " + + errorsPath + + "; maybe you want to set the environment variable " + + Common.RECORD_MODE_ENVIRONMENT_VARIABLE_NAME); + } + final String expected = String.join("\n", Files.readAllLines(errorsPath)); + assertEquals( + expected, + got, + "The expected verification errors do not match the actual ones for the file " + path); + } + } + + public static String trace(IClass instance) { + return instance.getClass().getName(); + } +} // class Common + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/CommonJson.java b/src/test/java/CommonJson.java new file mode 100644 index 00000000..9c39cc1d --- /dev/null +++ b/src/test/java/CommonJson.java @@ -0,0 +1,100 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.tests; + +import aas_core.aas3_2.jsonization.Jsonization; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import com.fasterxml.jackson.core.JsonParseException; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.node.*; +import java.io.IOException; +import java.nio.file.Path; + +public final class CommonJson { + public static JsonNode readFromFile(Path path) { + final ObjectMapper objectMapper = new ObjectMapper(); + + JsonNode node; + try { + node = objectMapper.readTree(path.toFile()); + } catch (JsonParseException exception) { + throw new IllegalStateException( + "Expected the file to be a valid JSON, but it was not: " + + path + + "; exception was: " + + exception); + } catch (JsonProcessingException exception) { + throw new IllegalStateException( + "Expected the file to be a valid JSON, but it was not: " + + path + + "; exception was: " + + exception); + } catch (IOException exception) { + throw new IllegalStateException( + "Expected the file to be a valid JSON, but it was not: " + + path + + "; exception was: " + + exception); + } + return node; + } + + /** + * Serialize something to a uniform JSON text such that we can use it for comparisons in the + * tests. + */ + public static JsonNode toJson(Object something) { + if (something instanceof Boolean) { + return BooleanNode.valueOf((Boolean) something); + } else if (something instanceof Integer) { + return IntNode.valueOf((Integer) something); + } else if (something instanceof Double) { + return DoubleNode.valueOf((Double) something); + } else if (something instanceof String) { + return TextNode.valueOf((String) something); + } else if (something instanceof byte[]) { + return BinaryNode.valueOf((byte[]) something); + } else if (something instanceof IClass) { + return Jsonization.Serialize.toJsonObject((IClass) something); + } else if (something instanceof JsonNode) { + return (JsonNode) something; + } else { + throw new IllegalArgumentException( + "The conversion of type " + + something.getClass().toString() + + " to a JSON node has not been defined: " + + something.toString()); + } + } + + /** Infer the node kind of the JSON node. */ + // TODO check whether this is really necessary + private static String getNodeKind(JsonNode node) { + if (node.isArray()) { + return "array"; + } else if (node.isObject()) { + return "object"; + } else if (node.isValueNode()) { + return "value"; + } else { + throw new IllegalStateException("Unhandled JsonNode: " + node.getNodeType().toString()); + } + } +} // public final class CommonJson + +// package aas_core.aas3_2.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/CommonJsonization.java b/src/test/java/CommonJsonization.java new file mode 100644 index 00000000..23676d63 --- /dev/null +++ b/src/test/java/CommonJsonization.java @@ -0,0 +1,3029 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.tests; + +import aas_core.aas3_2.jsonization.Jsonization; +import aas_core.aas3_2.types.impl.*; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.nio.file.Path; +import java.nio.file.Paths; + +/** Provide methods to load instances from JSON test data. */ +public final class CommonJsonization { + public static Extension loadMaximalExtension() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Extension", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeExtension(node); + } // public static Extension loadMaximalExtension + + public static Extension loadMinimalExtension() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Extension", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeExtension(node); + } // public static Extension loadMinimalExtension + + public static AdministrativeInformation loadMaximalAdministrativeInformation() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "AdministrativeInformation", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAdministrativeInformation(node); + } // public static AdministrativeInformation loadMaximalAdministrativeInformation + + public static AdministrativeInformation loadMinimalAdministrativeInformation() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "AdministrativeInformation", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAdministrativeInformation(node); + } // public static AdministrativeInformation loadMinimalAdministrativeInformation + + public static Qualifier loadMaximalQualifier() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Qualifier", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeQualifier(node); + } // public static Qualifier loadMaximalQualifier + + public static Qualifier loadMinimalQualifier() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Qualifier", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeQualifier(node); + } // public static Qualifier loadMinimalQualifier + + public static AssetAdministrationShell loadMaximalAssetAdministrationShell() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "AssetAdministrationShell", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAssetAdministrationShell(node); + } // public static AssetAdministrationShell loadMaximalAssetAdministrationShell + + public static AssetAdministrationShell loadMinimalAssetAdministrationShell() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "AssetAdministrationShell", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAssetAdministrationShell(node); + } // public static AssetAdministrationShell loadMinimalAssetAdministrationShell + + public static AssetInformation loadMaximalAssetInformation() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AssetInformation", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAssetInformation(node); + } // public static AssetInformation loadMaximalAssetInformation + + public static AssetInformation loadMinimalAssetInformation() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AssetInformation", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAssetInformation(node); + } // public static AssetInformation loadMinimalAssetInformation + + public static Resource loadMaximalResource() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Resource", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeResource(node); + } // public static Resource loadMaximalResource + + public static Resource loadMinimalResource() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Resource", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeResource(node); + } // public static Resource loadMinimalResource + + public static SpecificAssetId loadMaximalSpecificAssetId() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SpecificAssetId", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSpecificAssetId(node); + } // public static SpecificAssetId loadMaximalSpecificAssetId + + public static SpecificAssetId loadMinimalSpecificAssetId() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SpecificAssetId", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSpecificAssetId(node); + } // public static SpecificAssetId loadMinimalSpecificAssetId + + public static Submodel loadMaximalSubmodel() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Submodel", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodel(node); + } // public static Submodel loadMaximalSubmodel + + public static Submodel loadMinimalSubmodel() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Submodel", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodel(node); + } // public static Submodel loadMinimalSubmodel + + public static RelationshipElement loadMaximalRelationshipElement() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "RelationshipElement", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeRelationshipElement(node); + } // public static RelationshipElement loadMaximalRelationshipElement + + public static RelationshipElement loadMinimalRelationshipElement() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "RelationshipElement", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeRelationshipElement(node); + } // public static RelationshipElement loadMinimalRelationshipElement + + public static SubmodelElementList loadMaximalSubmodelElementList() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelElementList", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodelElementList(node); + } // public static SubmodelElementList loadMaximalSubmodelElementList + + public static SubmodelElementList loadMinimalSubmodelElementList() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelElementList", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodelElementList(node); + } // public static SubmodelElementList loadMinimalSubmodelElementList + + public static SubmodelElementCollection loadMaximalSubmodelElementCollection() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelElementCollection", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodelElementCollection(node); + } // public static SubmodelElementCollection loadMaximalSubmodelElementCollection + + public static SubmodelElementCollection loadMinimalSubmodelElementCollection() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelElementCollection", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodelElementCollection(node); + } // public static SubmodelElementCollection loadMinimalSubmodelElementCollection + + public static Property loadMaximalProperty() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Property", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeProperty(node); + } // public static Property loadMaximalProperty + + public static Property loadMinimalProperty() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Property", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeProperty(node); + } // public static Property loadMinimalProperty + + public static MultiLanguageProperty loadMaximalMultiLanguageProperty() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "MultiLanguageProperty", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeMultiLanguageProperty(node); + } // public static MultiLanguageProperty loadMaximalMultiLanguageProperty + + public static MultiLanguageProperty loadMinimalMultiLanguageProperty() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "MultiLanguageProperty", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeMultiLanguageProperty(node); + } // public static MultiLanguageProperty loadMinimalMultiLanguageProperty + + public static Range loadMaximalRange() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Range", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeRange(node); + } // public static Range loadMaximalRange + + public static Range loadMinimalRange() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Range", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeRange(node); + } // public static Range loadMinimalRange + + public static ReferenceElement loadMaximalReferenceElement() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ReferenceElement", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeReferenceElement(node); + } // public static ReferenceElement loadMaximalReferenceElement + + public static ReferenceElement loadMinimalReferenceElement() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ReferenceElement", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeReferenceElement(node); + } // public static ReferenceElement loadMinimalReferenceElement + + public static Blob loadMaximalBlob() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Blob", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBlob(node); + } // public static Blob loadMaximalBlob + + public static Blob loadMinimalBlob() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Blob", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBlob(node); + } // public static Blob loadMinimalBlob + + public static File loadMaximalFile() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "File", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeFile(node); + } // public static File loadMaximalFile + + public static File loadMinimalFile() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "File", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeFile(node); + } // public static File loadMinimalFile + + public static AnnotatedRelationshipElement loadMaximalAnnotatedRelationshipElement() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "AnnotatedRelationshipElement", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAnnotatedRelationshipElement(node); + } // public static AnnotatedRelationshipElement loadMaximalAnnotatedRelationshipElement + + public static AnnotatedRelationshipElement loadMinimalAnnotatedRelationshipElement() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "AnnotatedRelationshipElement", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAnnotatedRelationshipElement(node); + } // public static AnnotatedRelationshipElement loadMinimalAnnotatedRelationshipElement + + public static Entity loadMaximalEntity() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Entity", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEntity(node); + } // public static Entity loadMaximalEntity + + public static Entity loadMinimalEntity() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Entity", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEntity(node); + } // public static Entity loadMinimalEntity + + public static EventPayload loadMaximalEventPayload() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "EventPayload", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEventPayload(node); + } // public static EventPayload loadMaximalEventPayload + + public static EventPayload loadMinimalEventPayload() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "EventPayload", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEventPayload(node); + } // public static EventPayload loadMinimalEventPayload + + public static BasicEventElement loadMaximalBasicEventElement() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BasicEventElement", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBasicEventElement(node); + } // public static BasicEventElement loadMaximalBasicEventElement + + public static BasicEventElement loadMinimalBasicEventElement() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BasicEventElement", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBasicEventElement(node); + } // public static BasicEventElement loadMinimalBasicEventElement + + public static Operation loadMaximalOperation() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Operation", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperation(node); + } // public static Operation loadMaximalOperation + + public static Operation loadMinimalOperation() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Operation", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperation(node); + } // public static Operation loadMinimalOperation + + public static OperationVariable loadMaximalOperationVariable() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationVariable", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperationVariable(node); + } // public static OperationVariable loadMaximalOperationVariable + + public static OperationVariable loadMinimalOperationVariable() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationVariable", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperationVariable(node); + } // public static OperationVariable loadMinimalOperationVariable + + public static Capability loadMaximalCapability() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Capability", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeCapability(node); + } // public static Capability loadMaximalCapability + + public static Capability loadMinimalCapability() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Capability", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeCapability(node); + } // public static Capability loadMinimalCapability + + public static ConceptDescription loadMaximalConceptDescription() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ConceptDescription", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeConceptDescription(node); + } // public static ConceptDescription loadMaximalConceptDescription + + public static ConceptDescription loadMinimalConceptDescription() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ConceptDescription", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeConceptDescription(node); + } // public static ConceptDescription loadMinimalConceptDescription + + public static Reference loadMaximalReference() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Reference", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeReference(node); + } // public static Reference loadMaximalReference + + public static Reference loadMinimalReference() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Reference", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeReference(node); + } // public static Reference loadMinimalReference + + public static Key loadMaximalKey() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Key", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeKey(node); + } // public static Key loadMaximalKey + + public static Key loadMinimalKey() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Key", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeKey(node); + } // public static Key loadMinimalKey + + public static LangStringNameType loadMaximalLangStringNameType() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LangStringNameType", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringNameType(node); + } // public static LangStringNameType loadMaximalLangStringNameType + + public static LangStringNameType loadMinimalLangStringNameType() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LangStringNameType", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringNameType(node); + } // public static LangStringNameType loadMinimalLangStringNameType + + public static LangStringTextType loadMaximalLangStringTextType() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LangStringTextType", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringTextType(node); + } // public static LangStringTextType loadMaximalLangStringTextType + + public static LangStringTextType loadMinimalLangStringTextType() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LangStringTextType", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringTextType(node); + } // public static LangStringTextType loadMinimalLangStringTextType + + public static Environment loadMaximalEnvironment() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Environment", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEnvironment(node); + } // public static Environment loadMaximalEnvironment + + public static Environment loadMinimalEnvironment() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Environment", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEnvironment(node); + } // public static Environment loadMinimalEnvironment + + public static EmbeddedDataSpecification loadMaximalEmbeddedDataSpecification() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "EmbeddedDataSpecification", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEmbeddedDataSpecification(node); + } // public static EmbeddedDataSpecification loadMaximalEmbeddedDataSpecification + + public static EmbeddedDataSpecification loadMinimalEmbeddedDataSpecification() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "EmbeddedDataSpecification", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEmbeddedDataSpecification(node); + } // public static EmbeddedDataSpecification loadMinimalEmbeddedDataSpecification + + public static LevelType loadMaximalLevelType() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LevelType", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLevelType(node); + } // public static LevelType loadMaximalLevelType + + public static LevelType loadMinimalLevelType() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LevelType", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLevelType(node); + } // public static LevelType loadMinimalLevelType + + public static ValueReferencePair loadMaximalValueReferencePair() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ValueReferencePair", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeValueReferencePair(node); + } // public static ValueReferencePair loadMaximalValueReferencePair + + public static ValueReferencePair loadMinimalValueReferencePair() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ValueReferencePair", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeValueReferencePair(node); + } // public static ValueReferencePair loadMinimalValueReferencePair + + public static ValueList loadMaximalValueList() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ValueList", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeValueList(node); + } // public static ValueList loadMaximalValueList + + public static ValueList loadMinimalValueList() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ValueList", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeValueList(node); + } // public static ValueList loadMinimalValueList + + public static LangStringPreferredNameTypeIec61360 loadMaximalLangStringPreferredNameTypeIec61360() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "LangStringPreferredNameTypeIec61360", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringPreferredNameTypeIec61360(node); + } // public static LangStringPreferredNameTypeIec61360 + + // loadMaximalLangStringPreferredNameTypeIec61360 + + public static LangStringPreferredNameTypeIec61360 loadMinimalLangStringPreferredNameTypeIec61360() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "LangStringPreferredNameTypeIec61360", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringPreferredNameTypeIec61360(node); + } // public static LangStringPreferredNameTypeIec61360 + + // loadMinimalLangStringPreferredNameTypeIec61360 + + public static LangStringShortNameTypeIec61360 loadMaximalLangStringShortNameTypeIec61360() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "LangStringShortNameTypeIec61360", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringShortNameTypeIec61360(node); + } // public static LangStringShortNameTypeIec61360 loadMaximalLangStringShortNameTypeIec61360 + + public static LangStringShortNameTypeIec61360 loadMinimalLangStringShortNameTypeIec61360() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "LangStringShortNameTypeIec61360", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringShortNameTypeIec61360(node); + } // public static LangStringShortNameTypeIec61360 loadMinimalLangStringShortNameTypeIec61360 + + public static LangStringDefinitionTypeIec61360 loadMaximalLangStringDefinitionTypeIec61360() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "LangStringDefinitionTypeIec61360", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringDefinitionTypeIec61360(node); + } // public static LangStringDefinitionTypeIec61360 loadMaximalLangStringDefinitionTypeIec61360 + + public static LangStringDefinitionTypeIec61360 loadMinimalLangStringDefinitionTypeIec61360() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "LangStringDefinitionTypeIec61360", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringDefinitionTypeIec61360(node); + } // public static LangStringDefinitionTypeIec61360 loadMinimalLangStringDefinitionTypeIec61360 + + public static LangStringUom loadMaximalLangStringUom() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LangStringUom", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringUom(node); + } // public static LangStringUom loadMaximalLangStringUom + + public static LangStringUom loadMinimalLangStringUom() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LangStringUom", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringUom(node); + } // public static LangStringUom loadMinimalLangStringUom + + public static DefinitionTypeUom loadMaximalDefinitionTypeUom() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DefinitionTypeUom", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeDefinitionTypeUom(node); + } // public static DefinitionTypeUom loadMaximalDefinitionTypeUom + + public static DefinitionTypeUom loadMinimalDefinitionTypeUom() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DefinitionTypeUom", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeDefinitionTypeUom(node); + } // public static DefinitionTypeUom loadMinimalDefinitionTypeUom + + public static DataSpecificationUom loadMaximalDataSpecificationUom() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DataSpecificationUom", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeDataSpecificationUom(node); + } // public static DataSpecificationUom loadMaximalDataSpecificationUom + + public static DataSpecificationUom loadMinimalDataSpecificationUom() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DataSpecificationUom", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeDataSpecificationUom(node); + } // public static DataSpecificationUom loadMinimalDataSpecificationUom + + public static DataSpecificationIec61360 loadMaximalDataSpecificationIec61360() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "DataSpecificationIec61360", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeDataSpecificationIec61360(node); + } // public static DataSpecificationIec61360 loadMaximalDataSpecificationIec61360 + + public static DataSpecificationIec61360 loadMinimalDataSpecificationIec61360() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "DataSpecificationIec61360", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeDataSpecificationIec61360(node); + } // public static DataSpecificationIec61360 loadMinimalDataSpecificationIec61360 + + public static AssetAdministrationShellDescriptor loadMaximalAssetAdministrationShellDescriptor() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "AssetAdministrationShellDescriptor", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAssetAdministrationShellDescriptor(node); + } // public static AssetAdministrationShellDescriptor + + // loadMaximalAssetAdministrationShellDescriptor + + public static AssetAdministrationShellDescriptor loadMinimalAssetAdministrationShellDescriptor() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "AssetAdministrationShellDescriptor", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAssetAdministrationShellDescriptor(node); + } // public static AssetAdministrationShellDescriptor + + // loadMinimalAssetAdministrationShellDescriptor + + public static SubmodelDescriptor loadMaximalSubmodelDescriptor() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelDescriptor", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodelDescriptor(node); + } // public static SubmodelDescriptor loadMaximalSubmodelDescriptor + + public static SubmodelDescriptor loadMinimalSubmodelDescriptor() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelDescriptor", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodelDescriptor(node); + } // public static SubmodelDescriptor loadMinimalSubmodelDescriptor + + public static Endpoint loadMaximalEndpoint() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Endpoint", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEndpoint(node); + } // public static Endpoint loadMaximalEndpoint + + public static Endpoint loadMinimalEndpoint() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Endpoint", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEndpoint(node); + } // public static Endpoint loadMinimalEndpoint + + public static ProtocolInformation loadMaximalProtocolInformation() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ProtocolInformation", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeProtocolInformation(node); + } // public static ProtocolInformation loadMaximalProtocolInformation + + public static ProtocolInformation loadMinimalProtocolInformation() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ProtocolInformation", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeProtocolInformation(node); + } // public static ProtocolInformation loadMinimalProtocolInformation + + public static SecurityAttributeObject loadMaximalSecurityAttributeObject() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "SecurityAttributeObject", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSecurityAttributeObject(node); + } // public static SecurityAttributeObject loadMaximalSecurityAttributeObject + + public static SecurityAttributeObject loadMinimalSecurityAttributeObject() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "SecurityAttributeObject", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSecurityAttributeObject(node); + } // public static SecurityAttributeObject loadMinimalSecurityAttributeObject + + public static AssetLink loadMaximalAssetLink() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AssetLink", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAssetLink(node); + } // public static AssetLink loadMaximalAssetLink + + public static AssetLink loadMinimalAssetLink() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AssetLink", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAssetLink(node); + } // public static AssetLink loadMinimalAssetLink + + public static ServiceDescription loadMaximalServiceDescription() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ServiceDescription", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeServiceDescription(node); + } // public static ServiceDescription loadMaximalServiceDescription + + public static ServiceDescription loadMinimalServiceDescription() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ServiceDescription", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeServiceDescription(node); + } // public static ServiceDescription loadMinimalServiceDescription + + public static AssetAdministrationShellRecentChange + loadMaximalAssetAdministrationShellRecentChange() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "AssetAdministrationShellRecentChange", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAssetAdministrationShellRecentChange(node); + } // public static AssetAdministrationShellRecentChange + + // loadMaximalAssetAdministrationShellRecentChange + + public static AssetAdministrationShellRecentChange + loadMinimalAssetAdministrationShellRecentChange() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "AssetAdministrationShellRecentChange", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAssetAdministrationShellRecentChange(node); + } // public static AssetAdministrationShellRecentChange + + // loadMinimalAssetAdministrationShellRecentChange + + public static ConceptDescriptionRecentChange loadMaximalConceptDescriptionRecentChange() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "ConceptDescriptionRecentChange", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeConceptDescriptionRecentChange(node); + } // public static ConceptDescriptionRecentChange loadMaximalConceptDescriptionRecentChange + + public static ConceptDescriptionRecentChange loadMinimalConceptDescriptionRecentChange() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "ConceptDescriptionRecentChange", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeConceptDescriptionRecentChange(node); + } // public static ConceptDescriptionRecentChange loadMinimalConceptDescriptionRecentChange + + public static SubmodelRecentChange loadMaximalSubmodelRecentChange() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelRecentChange", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodelRecentChange(node); + } // public static SubmodelRecentChange loadMaximalSubmodelRecentChange + + public static SubmodelRecentChange loadMinimalSubmodelRecentChange() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelRecentChange", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodelRecentChange(node); + } // public static SubmodelRecentChange loadMinimalSubmodelRecentChange + + public static Result loadMaximalResult() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Result", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeResult(node); + } // public static Result loadMaximalResult + + public static Result loadMinimalResult() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Result", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeResult(node); + } // public static Result loadMinimalResult + + public static Message loadMaximalMessage() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Message", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeMessage(node); + } // public static Message loadMaximalMessage + + public static Message loadMinimalMessage() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Message", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeMessage(node); + } // public static Message loadMinimalMessage + + public static OperationRequest loadMaximalOperationRequest() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationRequest", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperationRequest(node); + } // public static OperationRequest loadMaximalOperationRequest + + public static OperationRequest loadMinimalOperationRequest() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationRequest", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperationRequest(node); + } // public static OperationRequest loadMinimalOperationRequest + + public static OperationRequestAsync loadMaximalOperationRequestAsync() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "OperationRequestAsync", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperationRequestAsync(node); + } // public static OperationRequestAsync loadMaximalOperationRequestAsync + + public static OperationRequestAsync loadMinimalOperationRequestAsync() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "OperationRequestAsync", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperationRequestAsync(node); + } // public static OperationRequestAsync loadMinimalOperationRequestAsync + + public static OperationRequestValueOnly loadMaximalOperationRequestValueOnly() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "OperationRequestValueOnly", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperationRequestValueOnly(node); + } // public static OperationRequestValueOnly loadMaximalOperationRequestValueOnly + + public static OperationRequestValueOnly loadMinimalOperationRequestValueOnly() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "OperationRequestValueOnly", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperationRequestValueOnly(node); + } // public static OperationRequestValueOnly loadMinimalOperationRequestValueOnly + + public static OperationRequestAsyncValueOnly loadMaximalOperationRequestAsyncValueOnly() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "OperationRequestAsyncValueOnly", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperationRequestAsyncValueOnly(node); + } // public static OperationRequestAsyncValueOnly loadMaximalOperationRequestAsyncValueOnly + + public static OperationRequestAsyncValueOnly loadMinimalOperationRequestAsyncValueOnly() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "OperationRequestAsyncValueOnly", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperationRequestAsyncValueOnly(node); + } // public static OperationRequestAsyncValueOnly loadMinimalOperationRequestAsyncValueOnly + + public static BaseOperationResult loadMaximalBaseOperationResult() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BaseOperationResult", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBaseOperationResult(node); + } // public static BaseOperationResult loadMaximalBaseOperationResult + + public static BaseOperationResult loadMinimalBaseOperationResult() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BaseOperationResult", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBaseOperationResult(node); + } // public static BaseOperationResult loadMinimalBaseOperationResult + + public static OperationResult loadMaximalOperationResult() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationResult", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperationResult(node); + } // public static OperationResult loadMaximalOperationResult + + public static OperationResult loadMinimalOperationResult() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationResult", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperationResult(node); + } // public static OperationResult loadMinimalOperationResult + + public static OperationResultValueOnly loadMaximalOperationResultValueOnly() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "OperationResultValueOnly", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperationResultValueOnly(node); + } // public static OperationResultValueOnly loadMaximalOperationResultValueOnly + + public static OperationResultValueOnly loadMinimalOperationResultValueOnly() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "OperationResultValueOnly", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperationResultValueOnly(node); + } // public static OperationResultValueOnly loadMinimalOperationResultValueOnly + + public static OperationHandle loadMaximalOperationHandle() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationHandle", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperationHandle(node); + } // public static OperationHandle loadMaximalOperationHandle + + public static OperationHandle loadMinimalOperationHandle() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationHandle", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperationHandle(node); + } // public static OperationHandle loadMinimalOperationHandle + + public static PagedResult loadMaximalPagedResult() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "PagedResult", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializePagedResult(node); + } // public static PagedResult loadMaximalPagedResult + + public static PagedResult loadMinimalPagedResult() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "PagedResult", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializePagedResult(node); + } // public static PagedResult loadMinimalPagedResult + + public static PagingMetadata loadMaximalPagingMetadata() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "PagingMetadata", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializePagingMetadata(node); + } // public static PagingMetadata loadMaximalPagingMetadata + + public static PagingMetadata loadMinimalPagingMetadata() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "PagingMetadata", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializePagingMetadata(node); + } // public static PagingMetadata loadMinimalPagingMetadata + + public static PackageDescription loadMaximalPackageDescription() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "PackageDescription", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializePackageDescription(node); + } // public static PackageDescription loadMaximalPackageDescription + + public static PackageDescription loadMinimalPackageDescription() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "PackageDescription", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializePackageDescription(node); + } // public static PackageDescription loadMinimalPackageDescription + + public static PropertyMetadata loadMaximalPropertyMetadata() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "PropertyMetadata", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializePropertyMetadata(node); + } // public static PropertyMetadata loadMaximalPropertyMetadata + + public static PropertyMetadata loadMinimalPropertyMetadata() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "PropertyMetadata", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializePropertyMetadata(node); + } // public static PropertyMetadata loadMinimalPropertyMetadata + + public static RangeMetadata loadMaximalRangeMetadata() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "RangeMetadata", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeRangeMetadata(node); + } // public static RangeMetadata loadMaximalRangeMetadata + + public static RangeMetadata loadMinimalRangeMetadata() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "RangeMetadata", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeRangeMetadata(node); + } // public static RangeMetadata loadMinimalRangeMetadata + + public static BlobMetadata loadMaximalBlobMetadata() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BlobMetadata", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBlobMetadata(node); + } // public static BlobMetadata loadMaximalBlobMetadata + + public static BlobMetadata loadMinimalBlobMetadata() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BlobMetadata", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBlobMetadata(node); + } // public static BlobMetadata loadMinimalBlobMetadata + + public static FileMetadata loadMaximalFileMetadata() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "FileMetadata", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeFileMetadata(node); + } // public static FileMetadata loadMaximalFileMetadata + + public static FileMetadata loadMinimalFileMetadata() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "FileMetadata", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeFileMetadata(node); + } // public static FileMetadata loadMinimalFileMetadata + + public static MultiLanguagePropertyMetadata loadMaximalMultiLanguagePropertyMetadata() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "MultiLanguagePropertyMetadata", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeMultiLanguagePropertyMetadata(node); + } // public static MultiLanguagePropertyMetadata loadMaximalMultiLanguagePropertyMetadata + + public static MultiLanguagePropertyMetadata loadMinimalMultiLanguagePropertyMetadata() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "MultiLanguagePropertyMetadata", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeMultiLanguagePropertyMetadata(node); + } // public static MultiLanguagePropertyMetadata loadMinimalMultiLanguagePropertyMetadata + + public static ReferenceElementMetadata loadMaximalReferenceElementMetadata() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "ReferenceElementMetadata", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeReferenceElementMetadata(node); + } // public static ReferenceElementMetadata loadMaximalReferenceElementMetadata + + public static ReferenceElementMetadata loadMinimalReferenceElementMetadata() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "ReferenceElementMetadata", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeReferenceElementMetadata(node); + } // public static ReferenceElementMetadata loadMinimalReferenceElementMetadata + + public static RelationshipElementMetadata loadMaximalRelationshipElementMetadata() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "RelationshipElementMetadata", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeRelationshipElementMetadata(node); + } // public static RelationshipElementMetadata loadMaximalRelationshipElementMetadata + + public static RelationshipElementMetadata loadMinimalRelationshipElementMetadata() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "RelationshipElementMetadata", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeRelationshipElementMetadata(node); + } // public static RelationshipElementMetadata loadMinimalRelationshipElementMetadata + + public static AnnotatedRelationshipElementMetadata + loadMaximalAnnotatedRelationshipElementMetadata() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "AnnotatedRelationshipElementMetadata", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAnnotatedRelationshipElementMetadata(node); + } // public static AnnotatedRelationshipElementMetadata + + // loadMaximalAnnotatedRelationshipElementMetadata + + public static AnnotatedRelationshipElementMetadata + loadMinimalAnnotatedRelationshipElementMetadata() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "AnnotatedRelationshipElementMetadata", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAnnotatedRelationshipElementMetadata(node); + } // public static AnnotatedRelationshipElementMetadata + + // loadMinimalAnnotatedRelationshipElementMetadata + + public static EntityMetadata loadMaximalEntityMetadata() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "EntityMetadata", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEntityMetadata(node); + } // public static EntityMetadata loadMaximalEntityMetadata + + public static EntityMetadata loadMinimalEntityMetadata() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "EntityMetadata", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEntityMetadata(node); + } // public static EntityMetadata loadMinimalEntityMetadata + + public static CapabilityMetadata loadMaximalCapabilityMetadata() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "CapabilityMetadata", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeCapabilityMetadata(node); + } // public static CapabilityMetadata loadMaximalCapabilityMetadata + + public static CapabilityMetadata loadMinimalCapabilityMetadata() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "CapabilityMetadata", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeCapabilityMetadata(node); + } // public static CapabilityMetadata loadMinimalCapabilityMetadata + + public static OperationMetadata loadMaximalOperationMetadata() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationMetadata", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperationMetadata(node); + } // public static OperationMetadata loadMaximalOperationMetadata + + public static OperationMetadata loadMinimalOperationMetadata() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationMetadata", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperationMetadata(node); + } // public static OperationMetadata loadMinimalOperationMetadata + + public static SubmodelElementCollectionMetadata loadMaximalSubmodelElementCollectionMetadata() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "SubmodelElementCollectionMetadata", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodelElementCollectionMetadata(node); + } // public static SubmodelElementCollectionMetadata loadMaximalSubmodelElementCollectionMetadata + + public static SubmodelElementCollectionMetadata loadMinimalSubmodelElementCollectionMetadata() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "SubmodelElementCollectionMetadata", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodelElementCollectionMetadata(node); + } // public static SubmodelElementCollectionMetadata loadMinimalSubmodelElementCollectionMetadata + + public static BasicEventElementMetadata loadMaximalBasicEventElementMetadata() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "BasicEventElementMetadata", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBasicEventElementMetadata(node); + } // public static BasicEventElementMetadata loadMaximalBasicEventElementMetadata + + public static BasicEventElementMetadata loadMinimalBasicEventElementMetadata() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "BasicEventElementMetadata", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBasicEventElementMetadata(node); + } // public static BasicEventElementMetadata loadMinimalBasicEventElementMetadata + + public static SubmodelElementListMetadata loadMaximalSubmodelElementListMetadata() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "SubmodelElementListMetadata", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodelElementListMetadata(node); + } // public static SubmodelElementListMetadata loadMaximalSubmodelElementListMetadata + + public static SubmodelElementListMetadata loadMinimalSubmodelElementListMetadata() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "SubmodelElementListMetadata", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodelElementListMetadata(node); + } // public static SubmodelElementListMetadata loadMinimalSubmodelElementListMetadata + + public static SubmodelMetadata loadMaximalSubmodelMetadata() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelMetadata", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodelMetadata(node); + } // public static SubmodelMetadata loadMaximalSubmodelMetadata + + public static SubmodelMetadata loadMinimalSubmodelMetadata() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelMetadata", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodelMetadata(node); + } // public static SubmodelMetadata loadMinimalSubmodelMetadata + + public static AssetAdministrationShellMetadata loadMaximalAssetAdministrationShellMetadata() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "AssetAdministrationShellMetadata", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAssetAdministrationShellMetadata(node); + } // public static AssetAdministrationShellMetadata loadMaximalAssetAdministrationShellMetadata + + public static AssetAdministrationShellMetadata loadMinimalAssetAdministrationShellMetadata() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "AssetAdministrationShellMetadata", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAssetAdministrationShellMetadata(node); + } // public static AssetAdministrationShellMetadata loadMinimalAssetAdministrationShellMetadata + + public static ReferenceElementValue loadMaximalReferenceElementValue() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "ReferenceElementValue", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeReferenceElementValue(node); + } // public static ReferenceElementValue loadMaximalReferenceElementValue + + public static ReferenceElementValue loadMinimalReferenceElementValue() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "ReferenceElementValue", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeReferenceElementValue(node); + } // public static ReferenceElementValue loadMinimalReferenceElementValue + + public static BlobValue loadMaximalBlobValue() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BlobValue", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBlobValue(node); + } // public static BlobValue loadMaximalBlobValue + + public static BlobValue loadMinimalBlobValue() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BlobValue", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBlobValue(node); + } // public static BlobValue loadMinimalBlobValue + + public static FileValue loadMaximalFileValue() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "FileValue", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeFileValue(node); + } // public static FileValue loadMaximalFileValue + + public static FileValue loadMinimalFileValue() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "FileValue", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeFileValue(node); + } // public static FileValue loadMinimalFileValue + + public static RangeValue loadMaximalRangeValue() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "RangeValue", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeRangeValue(node); + } // public static RangeValue loadMaximalRangeValue + + public static RangeValue loadMinimalRangeValue() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "RangeValue", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeRangeValue(node); + } // public static RangeValue loadMinimalRangeValue + + public static RelationshipElementValue loadMaximalRelationshipElementValue() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "RelationshipElementValue", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeRelationshipElementValue(node); + } // public static RelationshipElementValue loadMaximalRelationshipElementValue + + public static RelationshipElementValue loadMinimalRelationshipElementValue() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "RelationshipElementValue", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeRelationshipElementValue(node); + } // public static RelationshipElementValue loadMinimalRelationshipElementValue + + public static BasicEventElementValue loadMaximalBasicEventElementValue() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "BasicEventElementValue", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBasicEventElementValue(node); + } // public static BasicEventElementValue loadMaximalBasicEventElementValue + + public static BasicEventElementValue loadMinimalBasicEventElementValue() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "BasicEventElementValue", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBasicEventElementValue(node); + } // public static BasicEventElementValue loadMinimalBasicEventElementValue + + public static AnnotatedRelationshipElementValue loadMaximalAnnotatedRelationshipElementValue() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "AnnotatedRelationshipElementValue", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAnnotatedRelationshipElementValue(node); + } // public static AnnotatedRelationshipElementValue loadMaximalAnnotatedRelationshipElementValue + + public static AnnotatedRelationshipElementValue loadMinimalAnnotatedRelationshipElementValue() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "AnnotatedRelationshipElementValue", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAnnotatedRelationshipElementValue(node); + } // public static AnnotatedRelationshipElementValue loadMinimalAnnotatedRelationshipElementValue + + public static EntityValue loadMaximalEntityValue() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "EntityValue", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEntityValue(node); + } // public static EntityValue loadMaximalEntityValue + + public static EntityValue loadMinimalEntityValue() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "EntityValue", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEntityValue(node); + } // public static EntityValue loadMinimalEntityValue + + public static GetAssetAdministrationShellsResult loadMaximalGetAssetAdministrationShellsResult() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetAssetAdministrationShellsResult", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetAssetAdministrationShellsResult(node); + } // public static GetAssetAdministrationShellsResult + + // loadMaximalGetAssetAdministrationShellsResult + + public static GetAssetAdministrationShellsResult loadMinimalGetAssetAdministrationShellsResult() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetAssetAdministrationShellsResult", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetAssetAdministrationShellsResult(node); + } // public static GetAssetAdministrationShellsResult + + // loadMinimalGetAssetAdministrationShellsResult + + public static GetAssetAdministrationShellsMetadataResult + loadMaximalGetAssetAdministrationShellsMetadataResult() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetAssetAdministrationShellsMetadataResult", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetAssetAdministrationShellsMetadataResult(node); + } // public static GetAssetAdministrationShellsMetadataResult + + // loadMaximalGetAssetAdministrationShellsMetadataResult + + public static GetAssetAdministrationShellsMetadataResult + loadMinimalGetAssetAdministrationShellsMetadataResult() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetAssetAdministrationShellsMetadataResult", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetAssetAdministrationShellsMetadataResult(node); + } // public static GetAssetAdministrationShellsMetadataResult + + // loadMinimalGetAssetAdministrationShellsMetadataResult + + public static GetAllAssetAdministrationShellsRecentChangesResult + loadMaximalGetAllAssetAdministrationShellsRecentChangesResult() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetAllAssetAdministrationShellsRecentChangesResult", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetAllAssetAdministrationShellsRecentChangesResult( + node); + } // public static GetAllAssetAdministrationShellsRecentChangesResult + + // loadMaximalGetAllAssetAdministrationShellsRecentChangesResult + + public static GetAllAssetAdministrationShellsRecentChangesResult + loadMinimalGetAllAssetAdministrationShellsRecentChangesResult() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetAllAssetAdministrationShellsRecentChangesResult", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetAllAssetAdministrationShellsRecentChangesResult( + node); + } // public static GetAllAssetAdministrationShellsRecentChangesResult + + // loadMinimalGetAllAssetAdministrationShellsRecentChangesResult + + public static GetAssetAdministrationShellDescriptorsResult + loadMaximalGetAssetAdministrationShellDescriptorsResult() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetAssetAdministrationShellDescriptorsResult", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetAssetAdministrationShellDescriptorsResult(node); + } // public static GetAssetAdministrationShellDescriptorsResult + + // loadMaximalGetAssetAdministrationShellDescriptorsResult + + public static GetAssetAdministrationShellDescriptorsResult + loadMinimalGetAssetAdministrationShellDescriptorsResult() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetAssetAdministrationShellDescriptorsResult", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetAssetAdministrationShellDescriptorsResult(node); + } // public static GetAssetAdministrationShellDescriptorsResult + + // loadMinimalGetAssetAdministrationShellDescriptorsResult + + public static GetConceptDescriptionsResult loadMaximalGetConceptDescriptionsResult() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetConceptDescriptionsResult", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetConceptDescriptionsResult(node); + } // public static GetConceptDescriptionsResult loadMaximalGetConceptDescriptionsResult + + public static GetConceptDescriptionsResult loadMinimalGetConceptDescriptionsResult() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetConceptDescriptionsResult", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetConceptDescriptionsResult(node); + } // public static GetConceptDescriptionsResult loadMinimalGetConceptDescriptionsResult + + public static GetAllConceptDescriptionsRecentChangesResult + loadMaximalGetAllConceptDescriptionsRecentChangesResult() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetAllConceptDescriptionsRecentChangesResult", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetAllConceptDescriptionsRecentChangesResult(node); + } // public static GetAllConceptDescriptionsRecentChangesResult + + // loadMaximalGetAllConceptDescriptionsRecentChangesResult + + public static GetAllConceptDescriptionsRecentChangesResult + loadMinimalGetAllConceptDescriptionsRecentChangesResult() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetAllConceptDescriptionsRecentChangesResult", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetAllConceptDescriptionsRecentChangesResult(node); + } // public static GetAllConceptDescriptionsRecentChangesResult + + // loadMinimalGetAllConceptDescriptionsRecentChangesResult + + public static GetPackageDescriptionsResult loadMaximalGetPackageDescriptionsResult() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetPackageDescriptionsResult", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetPackageDescriptionsResult(node); + } // public static GetPackageDescriptionsResult loadMaximalGetPackageDescriptionsResult + + public static GetPackageDescriptionsResult loadMinimalGetPackageDescriptionsResult() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetPackageDescriptionsResult", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetPackageDescriptionsResult(node); + } // public static GetPackageDescriptionsResult loadMinimalGetPackageDescriptionsResult + + public static GetPathItemsResult loadMaximalGetPathItemsResult() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GetPathItemsResult", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetPathItemsResult(node); + } // public static GetPathItemsResult loadMaximalGetPathItemsResult + + public static GetPathItemsResult loadMinimalGetPathItemsResult() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GetPathItemsResult", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetPathItemsResult(node); + } // public static GetPathItemsResult loadMinimalGetPathItemsResult + + public static GetReferencesResult loadMaximalGetReferencesResult() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GetReferencesResult", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetReferencesResult(node); + } // public static GetReferencesResult loadMaximalGetReferencesResult + + public static GetReferencesResult loadMinimalGetReferencesResult() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GetReferencesResult", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetReferencesResult(node); + } // public static GetReferencesResult loadMinimalGetReferencesResult + + public static GetSubmodelDescriptorsResult loadMaximalGetSubmodelDescriptorsResult() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetSubmodelDescriptorsResult", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetSubmodelDescriptorsResult(node); + } // public static GetSubmodelDescriptorsResult loadMaximalGetSubmodelDescriptorsResult + + public static GetSubmodelDescriptorsResult loadMinimalGetSubmodelDescriptorsResult() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetSubmodelDescriptorsResult", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetSubmodelDescriptorsResult(node); + } // public static GetSubmodelDescriptorsResult loadMinimalGetSubmodelDescriptorsResult + + public static GetSubmodelElementsMetadataResult loadMaximalGetSubmodelElementsMetadataResult() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetSubmodelElementsMetadataResult", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetSubmodelElementsMetadataResult(node); + } // public static GetSubmodelElementsMetadataResult loadMaximalGetSubmodelElementsMetadataResult + + public static GetSubmodelElementsMetadataResult loadMinimalGetSubmodelElementsMetadataResult() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetSubmodelElementsMetadataResult", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetSubmodelElementsMetadataResult(node); + } // public static GetSubmodelElementsMetadataResult loadMinimalGetSubmodelElementsMetadataResult + + public static GetSubmodelElementsResult loadMaximalGetSubmodelElementsResult() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "GetSubmodelElementsResult", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetSubmodelElementsResult(node); + } // public static GetSubmodelElementsResult loadMaximalGetSubmodelElementsResult + + public static GetSubmodelElementsResult loadMinimalGetSubmodelElementsResult() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "GetSubmodelElementsResult", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetSubmodelElementsResult(node); + } // public static GetSubmodelElementsResult loadMinimalGetSubmodelElementsResult + + public static GetSubmodelElementsValueResult loadMaximalGetSubmodelElementsValueResult() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetSubmodelElementsValueResult", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetSubmodelElementsValueResult(node); + } // public static GetSubmodelElementsValueResult loadMaximalGetSubmodelElementsValueResult + + public static GetSubmodelElementsValueResult loadMinimalGetSubmodelElementsValueResult() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetSubmodelElementsValueResult", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetSubmodelElementsValueResult(node); + } // public static GetSubmodelElementsValueResult loadMinimalGetSubmodelElementsValueResult + + public static GetAllSubmodelsRecentChangesResult loadMaximalGetAllSubmodelsRecentChangesResult() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetAllSubmodelsRecentChangesResult", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetAllSubmodelsRecentChangesResult(node); + } // public static GetAllSubmodelsRecentChangesResult + + // loadMaximalGetAllSubmodelsRecentChangesResult + + public static GetAllSubmodelsRecentChangesResult loadMinimalGetAllSubmodelsRecentChangesResult() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetAllSubmodelsRecentChangesResult", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetAllSubmodelsRecentChangesResult(node); + } // public static GetAllSubmodelsRecentChangesResult + + // loadMinimalGetAllSubmodelsRecentChangesResult + + public static GetSubmodelsMetadataResult loadMaximalGetSubmodelsMetadataResult() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "GetSubmodelsMetadataResult", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetSubmodelsMetadataResult(node); + } // public static GetSubmodelsMetadataResult loadMaximalGetSubmodelsMetadataResult + + public static GetSubmodelsMetadataResult loadMinimalGetSubmodelsMetadataResult() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "GetSubmodelsMetadataResult", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetSubmodelsMetadataResult(node); + } // public static GetSubmodelsMetadataResult loadMinimalGetSubmodelsMetadataResult + + public static GetSubmodelsResult loadMaximalGetSubmodelsResult() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GetSubmodelsResult", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetSubmodelsResult(node); + } // public static GetSubmodelsResult loadMaximalGetSubmodelsResult + + public static GetSubmodelsResult loadMinimalGetSubmodelsResult() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GetSubmodelsResult", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetSubmodelsResult(node); + } // public static GetSubmodelsResult loadMinimalGetSubmodelsResult + + public static GetSubmodelsValueResult loadMaximalGetSubmodelsValueResult() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "GetSubmodelsValueResult", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetSubmodelsValueResult(node); + } // public static GetSubmodelsValueResult loadMaximalGetSubmodelsValueResult + + public static GetSubmodelsValueResult loadMinimalGetSubmodelsValueResult() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "GetSubmodelsValueResult", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGetSubmodelsValueResult(node); + } // public static GetSubmodelsValueResult loadMinimalGetSubmodelsValueResult + + public static ClaimAttribute loadMaximalClaimAttribute() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ClaimAttribute", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeClaimAttribute(node); + } // public static ClaimAttribute loadMaximalClaimAttribute + + public static ClaimAttribute loadMinimalClaimAttribute() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ClaimAttribute", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeClaimAttribute(node); + } // public static ClaimAttribute loadMinimalClaimAttribute + + public static GlobalAttribute loadMaximalGlobalAttribute() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GlobalAttribute", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGlobalAttribute(node); + } // public static GlobalAttribute loadMaximalGlobalAttribute + + public static GlobalAttribute loadMinimalGlobalAttribute() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GlobalAttribute", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGlobalAttribute(node); + } // public static GlobalAttribute loadMinimalGlobalAttribute + + public static ReferenceAttribute loadMaximalReferenceAttribute() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ReferenceAttribute", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeReferenceAttribute(node); + } // public static ReferenceAttribute loadMaximalReferenceAttribute + + public static ReferenceAttribute loadMinimalReferenceAttribute() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ReferenceAttribute", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeReferenceAttribute(node); + } // public static ReferenceAttribute loadMinimalReferenceAttribute + + public static DateTimeAttributeItem loadMaximalDateTimeAttributeItem() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "DateTimeAttributeItem", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeDateTimeAttributeItem(node); + } // public static DateTimeAttributeItem loadMaximalDateTimeAttributeItem + + public static DateTimeAttributeItem loadMinimalDateTimeAttributeItem() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "DateTimeAttributeItem", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeDateTimeAttributeItem(node); + } // public static DateTimeAttributeItem loadMinimalDateTimeAttributeItem + + public static FieldOperand loadMaximalFieldOperand() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "FieldOperand", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeFieldOperand(node); + } // public static FieldOperand loadMaximalFieldOperand + + public static FieldOperand loadMinimalFieldOperand() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "FieldOperand", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeFieldOperand(node); + } // public static FieldOperand loadMinimalFieldOperand + + public static StringLiteral loadMaximalStringLiteral() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "StringLiteral", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeStringLiteral(node); + } // public static StringLiteral loadMaximalStringLiteral + + public static StringLiteral loadMinimalStringLiteral() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "StringLiteral", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeStringLiteral(node); + } // public static StringLiteral loadMinimalStringLiteral + + public static AttributeOperand loadMaximalAttributeOperand() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AttributeOperand", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAttributeOperand(node); + } // public static AttributeOperand loadMaximalAttributeOperand + + public static AttributeOperand loadMinimalAttributeOperand() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AttributeOperand", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAttributeOperand(node); + } // public static AttributeOperand loadMinimalAttributeOperand + + public static NumberLiteral loadMaximalNumberLiteral() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "NumberLiteral", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeNumberLiteral(node); + } // public static NumberLiteral loadMaximalNumberLiteral + + public static NumberLiteral loadMinimalNumberLiteral() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "NumberLiteral", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeNumberLiteral(node); + } // public static NumberLiteral loadMinimalNumberLiteral + + public static HexLiteral loadMaximalHexLiteral() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "HexLiteral", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeHexLiteral(node); + } // public static HexLiteral loadMaximalHexLiteral + + public static HexLiteral loadMinimalHexLiteral() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "HexLiteral", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeHexLiteral(node); + } // public static HexLiteral loadMinimalHexLiteral + + public static DateTimeLiteral loadMaximalDateTimeLiteral() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DateTimeLiteral", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeDateTimeLiteral(node); + } // public static DateTimeLiteral loadMaximalDateTimeLiteral + + public static DateTimeLiteral loadMinimalDateTimeLiteral() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DateTimeLiteral", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeDateTimeLiteral(node); + } // public static DateTimeLiteral loadMinimalDateTimeLiteral + + public static TimeLiteral loadMaximalTimeLiteral() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "TimeLiteral", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeTimeLiteral(node); + } // public static TimeLiteral loadMaximalTimeLiteral + + public static TimeLiteral loadMinimalTimeLiteral() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "TimeLiteral", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeTimeLiteral(node); + } // public static TimeLiteral loadMinimalTimeLiteral + + public static BooleanLiteral loadMaximalBooleanLiteral() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BooleanLiteral", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBooleanLiteral(node); + } // public static BooleanLiteral loadMaximalBooleanLiteral + + public static BooleanLiteral loadMinimalBooleanLiteral() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BooleanLiteral", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBooleanLiteral(node); + } // public static BooleanLiteral loadMinimalBooleanLiteral + + public static StringCast loadMaximalStringCast() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "StringCast", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeStringCast(node); + } // public static StringCast loadMaximalStringCast + + public static StringCast loadMinimalStringCast() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "StringCast", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeStringCast(node); + } // public static StringCast loadMinimalStringCast + + public static NumberCast loadMaximalNumberCast() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "NumberCast", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeNumberCast(node); + } // public static NumberCast loadMaximalNumberCast + + public static NumberCast loadMinimalNumberCast() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "NumberCast", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeNumberCast(node); + } // public static NumberCast loadMinimalNumberCast + + public static HexCast loadMaximalHexCast() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "HexCast", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeHexCast(node); + } // public static HexCast loadMaximalHexCast + + public static HexCast loadMinimalHexCast() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "HexCast", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeHexCast(node); + } // public static HexCast loadMinimalHexCast + + public static BooleanCast loadMaximalBooleanCast() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BooleanCast", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBooleanCast(node); + } // public static BooleanCast loadMaximalBooleanCast + + public static BooleanCast loadMinimalBooleanCast() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BooleanCast", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBooleanCast(node); + } // public static BooleanCast loadMinimalBooleanCast + + public static DateTimeCast loadMaximalDateTimeCast() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DateTimeCast", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeDateTimeCast(node); + } // public static DateTimeCast loadMaximalDateTimeCast + + public static DateTimeCast loadMinimalDateTimeCast() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DateTimeCast", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeDateTimeCast(node); + } // public static DateTimeCast loadMinimalDateTimeCast + + public static TimeCast loadMaximalTimeCast() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "TimeCast", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeTimeCast(node); + } // public static TimeCast loadMaximalTimeCast + + public static TimeCast loadMinimalTimeCast() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "TimeCast", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeTimeCast(node); + } // public static TimeCast loadMinimalTimeCast + + public static DayOfWeek loadMaximalDayOfWeek() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DayOfWeek", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeDayOfWeek(node); + } // public static DayOfWeek loadMaximalDayOfWeek + + public static DayOfWeek loadMinimalDayOfWeek() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DayOfWeek", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeDayOfWeek(node); + } // public static DayOfWeek loadMinimalDayOfWeek + + public static DayOfMonth loadMaximalDayOfMonth() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DayOfMonth", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeDayOfMonth(node); + } // public static DayOfMonth loadMaximalDayOfMonth + + public static DayOfMonth loadMinimalDayOfMonth() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DayOfMonth", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeDayOfMonth(node); + } // public static DayOfMonth loadMinimalDayOfMonth + + public static Month loadMaximalMonth() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Month", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeMonth(node); + } // public static Month loadMaximalMonth + + public static Month loadMinimalMonth() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Month", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeMonth(node); + } // public static Month loadMinimalMonth + + public static Year loadMaximalYear() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Year", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeYear(node); + } // public static Year loadMaximalYear + + public static Year loadMinimalYear() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Year", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeYear(node); + } // public static Year loadMinimalYear + + public static DateTimeAttributeOperand loadMaximalDateTimeAttributeOperand() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "DateTimeAttributeOperand", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeDateTimeAttributeOperand(node); + } // public static DateTimeAttributeOperand loadMaximalDateTimeAttributeOperand + + public static DateTimeAttributeOperand loadMinimalDateTimeAttributeOperand() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "DateTimeAttributeOperand", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeDateTimeAttributeOperand(node); + } // public static DateTimeAttributeOperand loadMinimalDateTimeAttributeOperand + + public static EqualComparison loadMaximalEqualComparison() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "EqualComparison", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEqualComparison(node); + } // public static EqualComparison loadMaximalEqualComparison + + public static EqualComparison loadMinimalEqualComparison() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "EqualComparison", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEqualComparison(node); + } // public static EqualComparison loadMinimalEqualComparison + + public static NotEqualComparison loadMaximalNotEqualComparison() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "NotEqualComparison", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeNotEqualComparison(node); + } // public static NotEqualComparison loadMaximalNotEqualComparison + + public static NotEqualComparison loadMinimalNotEqualComparison() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "NotEqualComparison", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeNotEqualComparison(node); + } // public static NotEqualComparison loadMinimalNotEqualComparison + + public static GreaterThanComparison loadMaximalGreaterThanComparison() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "GreaterThanComparison", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGreaterThanComparison(node); + } // public static GreaterThanComparison loadMaximalGreaterThanComparison + + public static GreaterThanComparison loadMinimalGreaterThanComparison() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "GreaterThanComparison", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGreaterThanComparison(node); + } // public static GreaterThanComparison loadMinimalGreaterThanComparison + + public static GreaterThanOrEqualComparison loadMaximalGreaterThanOrEqualComparison() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GreaterThanOrEqualComparison", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGreaterThanOrEqualComparison(node); + } // public static GreaterThanOrEqualComparison loadMaximalGreaterThanOrEqualComparison + + public static GreaterThanOrEqualComparison loadMinimalGreaterThanOrEqualComparison() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GreaterThanOrEqualComparison", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeGreaterThanOrEqualComparison(node); + } // public static GreaterThanOrEqualComparison loadMinimalGreaterThanOrEqualComparison + + public static LessThanComparison loadMaximalLessThanComparison() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LessThanComparison", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLessThanComparison(node); + } // public static LessThanComparison loadMaximalLessThanComparison + + public static LessThanComparison loadMinimalLessThanComparison() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LessThanComparison", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLessThanComparison(node); + } // public static LessThanComparison loadMinimalLessThanComparison + + public static LessThanOrEqualComparison loadMaximalLessThanOrEqualComparison() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "LessThanOrEqualComparison", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLessThanOrEqualComparison(node); + } // public static LessThanOrEqualComparison loadMaximalLessThanOrEqualComparison + + public static LessThanOrEqualComparison loadMinimalLessThanOrEqualComparison() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "LessThanOrEqualComparison", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLessThanOrEqualComparison(node); + } // public static LessThanOrEqualComparison loadMinimalLessThanOrEqualComparison + + public static ContainsComparison loadMaximalContainsComparison() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ContainsComparison", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeContainsComparison(node); + } // public static ContainsComparison loadMaximalContainsComparison + + public static ContainsComparison loadMinimalContainsComparison() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ContainsComparison", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeContainsComparison(node); + } // public static ContainsComparison loadMinimalContainsComparison + + public static StartsWithComparison loadMaximalStartsWithComparison() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "StartsWithComparison", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeStartsWithComparison(node); + } // public static StartsWithComparison loadMaximalStartsWithComparison + + public static StartsWithComparison loadMinimalStartsWithComparison() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "StartsWithComparison", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeStartsWithComparison(node); + } // public static StartsWithComparison loadMinimalStartsWithComparison + + public static EndsWithComparison loadMaximalEndsWithComparison() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "EndsWithComparison", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEndsWithComparison(node); + } // public static EndsWithComparison loadMaximalEndsWithComparison + + public static EndsWithComparison loadMinimalEndsWithComparison() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "EndsWithComparison", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEndsWithComparison(node); + } // public static EndsWithComparison loadMinimalEndsWithComparison + + public static RegexComparison loadMaximalRegexComparison() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "RegexComparison", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeRegexComparison(node); + } // public static RegexComparison loadMaximalRegexComparison + + public static RegexComparison loadMinimalRegexComparison() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "RegexComparison", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeRegexComparison(node); + } // public static RegexComparison loadMinimalRegexComparison + + public static MatchClause loadMaximalMatchClause() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "MatchClause", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeMatchClause(node); + } // public static MatchClause loadMaximalMatchClause + + public static MatchClause loadMinimalMatchClause() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "MatchClause", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeMatchClause(node); + } // public static MatchClause loadMinimalMatchClause + + public static AndExpression loadMaximalAndExpression() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AndExpression", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAndExpression(node); + } // public static AndExpression loadMaximalAndExpression + + public static AndExpression loadMinimalAndExpression() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AndExpression", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAndExpression(node); + } // public static AndExpression loadMinimalAndExpression + + public static OrExpression loadMaximalOrExpression() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OrExpression", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOrExpression(node); + } // public static OrExpression loadMaximalOrExpression + + public static OrExpression loadMinimalOrExpression() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OrExpression", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOrExpression(node); + } // public static OrExpression loadMinimalOrExpression + + public static NotExpression loadMaximalNotExpression() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "NotExpression", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeNotExpression(node); + } // public static NotExpression loadMaximalNotExpression + + public static NotExpression loadMinimalNotExpression() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "NotExpression", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeNotExpression(node); + } // public static NotExpression loadMinimalNotExpression + + public static QueryFilter loadMaximalQueryFilter() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "QueryFilter", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeQueryFilter(node); + } // public static QueryFilter loadMaximalQueryFilter + + public static QueryFilter loadMinimalQueryFilter() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "QueryFilter", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeQueryFilter(node); + } // public static QueryFilter loadMinimalQueryFilter + + public static Query loadMaximalQuery() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Query", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeQuery(node); + } // public static Query loadMaximalQuery + + public static Query loadMinimalQuery() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Query", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeQuery(node); + } // public static Query loadMinimalQuery +} // class CommonJsonization + +// package aas_core.aas3_2.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestArithmetic.java b/src/test/java/TestArithmetic.java new file mode 100644 index 00000000..7c239038 --- /dev/null +++ b/src/test/java/TestArithmetic.java @@ -0,0 +1,129 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +import org.junit.jupiter.api.Test; + +/** + * Test the arithmetic operations used in the verification. + * + *

The meta-model is written in Python, so the invariants follow the Python semantics. In + * particular, the remainder of the modulo takes the sign of the divisor in Python ({@code -7 % 3 == + * 2}), while the native Java operator {@code %} gives the remainder with the sign of the dividend + * ({@code -7 % 3 == -1}). The two differ for the operands of different signs. Therefore, the + * verification uses {@link Math#floorMod(long, long)}, which computes the floored remainder as in + * Python, instead of the native operator. + */ +public class TestArithmetic { + @Test + public void testFloorMod0() { + // both operands positive + assertEquals(1L, Math.floorMod(7L, 3L)); + } // public void testFloorMod0 + + @Test + public void testFloorMod1() { + // the remainder takes the sign of the positive divisor + assertEquals(2L, Math.floorMod(-7L, 3L)); + } // public void testFloorMod1 + + @Test + public void testFloorMod2() { + // the remainder takes the sign of the negative divisor + assertEquals(-2L, Math.floorMod(7L, -3L)); + } // public void testFloorMod2 + + @Test + public void testFloorMod3() { + // both operands negative + assertEquals(-1L, Math.floorMod(-7L, -3L)); + } // public void testFloorMod3 + + @Test + public void testFloorMod4() { + // divisible, positive dividend + assertEquals(0L, Math.floorMod(6L, 3L)); + } // public void testFloorMod4 + + @Test + public void testFloorMod5() { + // divisible, negative dividend + assertEquals(0L, Math.floorMod(-6L, 3L)); + } // public void testFloorMod5 + + @Test + public void testFloorMod6() { + // divisible, negative divisor + assertEquals(0L, Math.floorMod(6L, -3L)); + } // public void testFloorMod6 + + @Test + public void testFloorMod7() { + // zero dividend, positive divisor + assertEquals(0L, Math.floorMod(0L, 3L)); + } // public void testFloorMod7 + + @Test + public void testFloorMod8() { + // zero dividend, negative divisor + assertEquals(0L, Math.floorMod(0L, -3L)); + } // public void testFloorMod8 + + @Test + public void testFloorMod9() { + // dividend smaller than the positive divisor + assertEquals(2L, Math.floorMod(2L, 5L)); + } // public void testFloorMod9 + + @Test + public void testFloorMod10() { + // negative dividend smaller than the divisor + assertEquals(3L, Math.floorMod(-2L, 5L)); + } // public void testFloorMod10 + + @Test + public void testFloorMod11() { + // largest 64-bit integer, which is odd, by a positive divisor + assertEquals(1L, Math.floorMod(Long.MAX_VALUE, 2L)); + } // public void testFloorMod11 + + @Test + public void testFloorMod12() { + // largest 64-bit integer by a negative divisor + assertEquals(-1L, Math.floorMod(Long.MAX_VALUE, -2L)); + } // public void testFloorMod12 + + @Test + public void testFloorMod13() { + // smallest 64-bit integer by a positive divisor + assertEquals(1L, Math.floorMod(Long.MIN_VALUE, 3L)); + } // public void testFloorMod13 + + @Test + public void testFloorMod14() { + // smallest 64-bit integer by -1, which overflows with the native operator in some languages + assertEquals(0L, Math.floorMod(Long.MIN_VALUE, -1L)); + } // public void testFloorMod14 + + @Test + public void testFloorMod15() { + // smallest 64-bit integer by the largest one + assertEquals(9223372036854775806L, Math.floorMod(Long.MIN_VALUE, Long.MAX_VALUE)); + } // public void testFloorMod15 +} // class TestArithmetic + +// package aas_core.aas3_2.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestCopying.java b/src/test/java/TestCopying.java new file mode 100644 index 00000000..738596d7 --- /dev/null +++ b/src/test/java/TestCopying.java @@ -0,0 +1,8359 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.tests; + +import static org.junit.jupiter.api.Assertions.assertTrue; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.copying.Copying; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IClass; +import aas_core.aas3_2.visitation.AbstractTransformerWithContext; +import java.io.IOException; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Test; + +public class TestCopying { + private static class _DeepEqualiser extends AbstractTransformerWithContext { + @Override + public Boolean transformExtension(IExtension that, IClass other) { + if (!(other instanceof Extension)) { + return false; + } + + Extension casted = (Extension) other; + + return ((that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && that.getName().equals(casted.getName()) + && that.getValueType().equals(casted.getValueType()) + && that.getValue().equals(casted.getValue()) + && (that.getRefersTo().isPresent() + ? casted.getRefersTo().isPresent() + && deepEqualsListOf_IReference( + that.getRefersTo().get(), casted.getRefersTo().get()) + : !casted.getRefersTo().isPresent())); + } + + @Override + public Boolean transformAdministrativeInformation( + IAdministrativeInformation that, IClass other) { + if (!(other instanceof AdministrativeInformation)) { + return false; + } + + AdministrativeInformation casted = (AdministrativeInformation) other; + + return ((that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && that.getVersion().equals(casted.getVersion()) + && that.getRevision().equals(casted.getRevision()) + && (that.getCreator().isPresent() + ? casted.getCreator().isPresent() + && transform(that.getCreator().get(), casted.getCreator().get()) + : !casted.getCreator().isPresent()) + && that.getCreatedAt().equals(casted.getCreatedAt()) + && that.getUpdatedAt().equals(casted.getUpdatedAt()) + && that.getTemplateId().equals(casted.getTemplateId())); + } + + @Override + public Boolean transformQualifier(IQualifier that, IClass other) { + if (!(other instanceof Qualifier)) { + return false; + } + + Qualifier casted = (Qualifier) other; + + return ((that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && that.getKind().equals(casted.getKind()) + && that.getType().equals(casted.getType()) + && that.getValueType().equals(casted.getValueType()) + && that.getValue().equals(casted.getValue()) + && (that.getValueId().isPresent() + ? casted.getValueId().isPresent() + && transform(that.getValueId().get(), casted.getValueId().get()) + : !casted.getValueId().isPresent())); + } + + @Override + public Boolean transformAssetAdministrationShell(IAssetAdministrationShell that, IClass other) { + if (!(other instanceof AssetAdministrationShell)) { + return false; + } + + AssetAdministrationShell casted = (AssetAdministrationShell) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getAdministration().isPresent() + ? casted.getAdministration().isPresent() + && transform(that.getAdministration().get(), casted.getAdministration().get()) + : !casted.getAdministration().isPresent()) + && that.getId().equals(casted.getId()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getDerivedFrom().isPresent() + ? casted.getDerivedFrom().isPresent() + && transform(that.getDerivedFrom().get(), casted.getDerivedFrom().get()) + : !casted.getDerivedFrom().isPresent()) + && transform(that.getAssetInformation(), casted.getAssetInformation()) + && (that.getSubmodels().isPresent() + ? casted.getSubmodels().isPresent() + && deepEqualsListOf_IReference( + that.getSubmodels().get(), casted.getSubmodels().get()) + : !casted.getSubmodels().isPresent())); + } + + @Override + public Boolean transformAssetInformation(IAssetInformation that, IClass other) { + if (!(other instanceof AssetInformation)) { + return false; + } + + AssetInformation casted = (AssetInformation) other; + + return (that.getAssetKind().equals(casted.getAssetKind()) + && that.getGlobalAssetId().equals(casted.getGlobalAssetId()) + && (that.getSpecificAssetIds().isPresent() + ? casted.getSpecificAssetIds().isPresent() + && deepEqualsListOf_ISpecificAssetId( + that.getSpecificAssetIds().get(), casted.getSpecificAssetIds().get()) + : !casted.getSpecificAssetIds().isPresent()) + && that.getAssetType().equals(casted.getAssetType()) + && (that.getDefaultThumbnail().isPresent() + ? casted.getDefaultThumbnail().isPresent() + && transform(that.getDefaultThumbnail().get(), casted.getDefaultThumbnail().get()) + : !casted.getDefaultThumbnail().isPresent())); + } + + @Override + public Boolean transformResource(IResource that, IClass other) { + if (!(other instanceof Resource)) { + return false; + } + + Resource casted = (Resource) other; + + return (that.getPath().equals(casted.getPath()) + && that.getContentType().equals(casted.getContentType())); + } + + @Override + public Boolean transformSpecificAssetId(ISpecificAssetId that, IClass other) { + if (!(other instanceof SpecificAssetId)) { + return false; + } + + SpecificAssetId casted = (SpecificAssetId) other; + + return ((that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && that.getName().equals(casted.getName()) + && that.getValue().equals(casted.getValue()) + && (that.getExternalSubjectId().isPresent() + ? casted.getExternalSubjectId().isPresent() + && transform( + that.getExternalSubjectId().get(), casted.getExternalSubjectId().get()) + : !casted.getExternalSubjectId().isPresent())); + } + + @Override + public Boolean transformSubmodel(ISubmodel that, IClass other) { + if (!(other instanceof Submodel)) { + return false; + } + + Submodel casted = (Submodel) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getAdministration().isPresent() + ? casted.getAdministration().isPresent() + && transform(that.getAdministration().get(), casted.getAdministration().get()) + : !casted.getAdministration().isPresent()) + && that.getId().equals(casted.getId()) + && that.getKind().equals(casted.getKind()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getSubmodelElements().isPresent() + ? casted.getSubmodelElements().isPresent() + && deepEqualsListOf_ISubmodelElement( + that.getSubmodelElements().get(), casted.getSubmodelElements().get()) + : !casted.getSubmodelElements().isPresent())); + } + + @Override + public Boolean transformRelationshipElement(IRelationshipElement that, IClass other) { + if (!(other instanceof RelationshipElement)) { + return false; + } + + RelationshipElement casted = (RelationshipElement) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getFirst().isPresent() + ? casted.getFirst().isPresent() + && transform(that.getFirst().get(), casted.getFirst().get()) + : !casted.getFirst().isPresent()) + && (that.getSecond().isPresent() + ? casted.getSecond().isPresent() + && transform(that.getSecond().get(), casted.getSecond().get()) + : !casted.getSecond().isPresent())); + } + + @Override + public Boolean transformSubmodelElementList(ISubmodelElementList that, IClass other) { + if (!(other instanceof SubmodelElementList)) { + return false; + } + + SubmodelElementList casted = (SubmodelElementList) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && that.getOrderRelevant().equals(casted.getOrderRelevant()) + && (that.getSemanticIdListElement().isPresent() + ? casted.getSemanticIdListElement().isPresent() + && transform( + that.getSemanticIdListElement().get(), + casted.getSemanticIdListElement().get()) + : !casted.getSemanticIdListElement().isPresent()) + && that.getTypeValueListElement().equals(casted.getTypeValueListElement()) + && that.getValueTypeListElement().equals(casted.getValueTypeListElement()) + && (that.getValue().isPresent() + ? casted.getValue().isPresent() + && deepEqualsListOf_ISubmodelElement( + that.getValue().get(), casted.getValue().get()) + : !casted.getValue().isPresent())); + } + + @Override + public Boolean transformSubmodelElementCollection( + ISubmodelElementCollection that, IClass other) { + if (!(other instanceof SubmodelElementCollection)) { + return false; + } + + SubmodelElementCollection casted = (SubmodelElementCollection) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getValue().isPresent() + ? casted.getValue().isPresent() + && deepEqualsListOf_ISubmodelElement( + that.getValue().get(), casted.getValue().get()) + : !casted.getValue().isPresent())); + } + + @Override + public Boolean transformProperty(IProperty that, IClass other) { + if (!(other instanceof Property)) { + return false; + } + + Property casted = (Property) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && that.getValueType().equals(casted.getValueType()) + && that.getValue().equals(casted.getValue()) + && (that.getValueId().isPresent() + ? casted.getValueId().isPresent() + && transform(that.getValueId().get(), casted.getValueId().get()) + : !casted.getValueId().isPresent())); + } + + @Override + public Boolean transformMultiLanguageProperty(IMultiLanguageProperty that, IClass other) { + if (!(other instanceof MultiLanguageProperty)) { + return false; + } + + MultiLanguageProperty casted = (MultiLanguageProperty) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getValue().isPresent() + ? casted.getValue().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getValue().get(), casted.getValue().get()) + : !casted.getValue().isPresent()) + && (that.getValueId().isPresent() + ? casted.getValueId().isPresent() + && transform(that.getValueId().get(), casted.getValueId().get()) + : !casted.getValueId().isPresent())); + } + + @Override + public Boolean transformRange(IRange that, IClass other) { + if (!(other instanceof Range)) { + return false; + } + + Range casted = (Range) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && that.getValueType().equals(casted.getValueType()) + && that.getMin().equals(casted.getMin()) + && that.getMax().equals(casted.getMax())); + } + + @Override + public Boolean transformReferenceElement(IReferenceElement that, IClass other) { + if (!(other instanceof ReferenceElement)) { + return false; + } + + ReferenceElement casted = (ReferenceElement) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getValue().isPresent() + ? casted.getValue().isPresent() + && transform(that.getValue().get(), casted.getValue().get()) + : !casted.getValue().isPresent())); + } + + @Override + public Boolean transformBlob(IBlob that, IClass other) { + if (!(other instanceof Blob)) { + return false; + } + + Blob casted = (Blob) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getValue().isPresent() + ? casted.getValue().isPresent() + && Arrays.equals(that.getValue().get(), casted.getValue().get()) + : !casted.getValue().isPresent()) + && that.getContentType().equals(casted.getContentType())); + } + + @Override + public Boolean transformFile(IFile that, IClass other) { + if (!(other instanceof File)) { + return false; + } + + File casted = (File) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && that.getValue().equals(casted.getValue()) + && that.getContentType().equals(casted.getContentType())); + } + + @Override + public Boolean transformAnnotatedRelationshipElement( + IAnnotatedRelationshipElement that, IClass other) { + if (!(other instanceof AnnotatedRelationshipElement)) { + return false; + } + + AnnotatedRelationshipElement casted = (AnnotatedRelationshipElement) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getFirst().isPresent() + ? casted.getFirst().isPresent() + && transform(that.getFirst().get(), casted.getFirst().get()) + : !casted.getFirst().isPresent()) + && (that.getSecond().isPresent() + ? casted.getSecond().isPresent() + && transform(that.getSecond().get(), casted.getSecond().get()) + : !casted.getSecond().isPresent()) + && (that.getAnnotations().isPresent() + ? casted.getAnnotations().isPresent() + && deepEqualsListOf_IDataElement( + that.getAnnotations().get(), casted.getAnnotations().get()) + : !casted.getAnnotations().isPresent())); + } + + @Override + public Boolean transformEntity(IEntity that, IClass other) { + if (!(other instanceof Entity)) { + return false; + } + + Entity casted = (Entity) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getStatements().isPresent() + ? casted.getStatements().isPresent() + && deepEqualsListOf_ISubmodelElement( + that.getStatements().get(), casted.getStatements().get()) + : !casted.getStatements().isPresent()) + && that.getEntityType().equals(casted.getEntityType()) + && that.getGlobalAssetId().equals(casted.getGlobalAssetId()) + && (that.getSpecificAssetIds().isPresent() + ? casted.getSpecificAssetIds().isPresent() + && deepEqualsListOf_ISpecificAssetId( + that.getSpecificAssetIds().get(), casted.getSpecificAssetIds().get()) + : !casted.getSpecificAssetIds().isPresent())); + } + + @Override + public Boolean transformEventPayload(IEventPayload that, IClass other) { + if (!(other instanceof EventPayload)) { + return false; + } + + EventPayload casted = (EventPayload) other; + + return (transform(that.getSource(), casted.getSource()) + && (that.getSourceSemanticId().isPresent() + ? casted.getSourceSemanticId().isPresent() + && transform(that.getSourceSemanticId().get(), casted.getSourceSemanticId().get()) + : !casted.getSourceSemanticId().isPresent()) + && transform(that.getObservableReference(), casted.getObservableReference()) + && (that.getObservableSemanticId().isPresent() + ? casted.getObservableSemanticId().isPresent() + && transform( + that.getObservableSemanticId().get(), casted.getObservableSemanticId().get()) + : !casted.getObservableSemanticId().isPresent()) + && that.getTopic().equals(casted.getTopic()) + && (that.getSubjectId().isPresent() + ? casted.getSubjectId().isPresent() + && transform(that.getSubjectId().get(), casted.getSubjectId().get()) + : !casted.getSubjectId().isPresent()) + && that.getTimeStamp().equals(casted.getTimeStamp()) + && (that.getPayload().isPresent() + ? casted.getPayload().isPresent() + && Arrays.equals(that.getPayload().get(), casted.getPayload().get()) + : !casted.getPayload().isPresent())); + } + + @Override + public Boolean transformBasicEventElement(IBasicEventElement that, IClass other) { + if (!(other instanceof BasicEventElement)) { + return false; + } + + BasicEventElement casted = (BasicEventElement) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && transform(that.getObserved(), casted.getObserved()) + && that.getDirection().equals(casted.getDirection()) + && that.getState().equals(casted.getState()) + && that.getMessageTopic().equals(casted.getMessageTopic()) + && (that.getMessageBroker().isPresent() + ? casted.getMessageBroker().isPresent() + && transform(that.getMessageBroker().get(), casted.getMessageBroker().get()) + : !casted.getMessageBroker().isPresent()) + && that.getLastUpdate().equals(casted.getLastUpdate()) + && that.getMinInterval().equals(casted.getMinInterval()) + && that.getMaxInterval().equals(casted.getMaxInterval())); + } + + @Override + public Boolean transformOperation(IOperation that, IClass other) { + if (!(other instanceof Operation)) { + return false; + } + + Operation casted = (Operation) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getInputVariables().isPresent() + ? casted.getInputVariables().isPresent() + && deepEqualsListOf_IOperationVariable( + that.getInputVariables().get(), casted.getInputVariables().get()) + : !casted.getInputVariables().isPresent()) + && (that.getOutputVariables().isPresent() + ? casted.getOutputVariables().isPresent() + && deepEqualsListOf_IOperationVariable( + that.getOutputVariables().get(), casted.getOutputVariables().get()) + : !casted.getOutputVariables().isPresent()) + && (that.getInoutputVariables().isPresent() + ? casted.getInoutputVariables().isPresent() + && deepEqualsListOf_IOperationVariable( + that.getInoutputVariables().get(), casted.getInoutputVariables().get()) + : !casted.getInoutputVariables().isPresent())); + } + + @Override + public Boolean transformOperationVariable(IOperationVariable that, IClass other) { + if (!(other instanceof OperationVariable)) { + return false; + } + + OperationVariable casted = (OperationVariable) other; + + return (transform(that.getValue(), casted.getValue())); + } + + @Override + public Boolean transformCapability(ICapability that, IClass other) { + if (!(other instanceof Capability)) { + return false; + } + + Capability casted = (Capability) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent())); + } + + @Override + public Boolean transformConceptDescription(IConceptDescription that, IClass other) { + if (!(other instanceof ConceptDescription)) { + return false; + } + + ConceptDescription casted = (ConceptDescription) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getAdministration().isPresent() + ? casted.getAdministration().isPresent() + && transform(that.getAdministration().get(), casted.getAdministration().get()) + : !casted.getAdministration().isPresent()) + && that.getId().equals(casted.getId()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getIsCaseOf().isPresent() + ? casted.getIsCaseOf().isPresent() + && deepEqualsListOf_IReference( + that.getIsCaseOf().get(), casted.getIsCaseOf().get()) + : !casted.getIsCaseOf().isPresent())); + } + + @Override + public Boolean transformReference(IReference that, IClass other) { + if (!(other instanceof Reference)) { + return false; + } + + Reference casted = (Reference) other; + + return (that.getType().equals(casted.getType()) + && (that.getReferredSemanticId().isPresent() + ? casted.getReferredSemanticId().isPresent() + && transform( + that.getReferredSemanticId().get(), casted.getReferredSemanticId().get()) + : !casted.getReferredSemanticId().isPresent()) + && deepEqualsListOf_IKey(that.getKeys(), casted.getKeys())); + } + + @Override + public Boolean transformKey(IKey that, IClass other) { + if (!(other instanceof Key)) { + return false; + } + + Key casted = (Key) other; + + return (that.getType().equals(casted.getType()) && that.getValue().equals(casted.getValue())); + } + + @Override + public Boolean transformLangStringNameType(ILangStringNameType that, IClass other) { + if (!(other instanceof LangStringNameType)) { + return false; + } + + LangStringNameType casted = (LangStringNameType) other; + + return (that.getLanguage().equals(casted.getLanguage()) + && that.getText().equals(casted.getText())); + } + + @Override + public Boolean transformLangStringTextType(ILangStringTextType that, IClass other) { + if (!(other instanceof LangStringTextType)) { + return false; + } + + LangStringTextType casted = (LangStringTextType) other; + + return (that.getLanguage().equals(casted.getLanguage()) + && that.getText().equals(casted.getText())); + } + + @Override + public Boolean transformEnvironment(IEnvironment that, IClass other) { + if (!(other instanceof Environment)) { + return false; + } + + Environment casted = (Environment) other; + + return ((that.getAssetAdministrationShells().isPresent() + ? casted.getAssetAdministrationShells().isPresent() + && deepEqualsListOf_IAssetAdministrationShell( + that.getAssetAdministrationShells().get(), + casted.getAssetAdministrationShells().get()) + : !casted.getAssetAdministrationShells().isPresent()) + && (that.getSubmodels().isPresent() + ? casted.getSubmodels().isPresent() + && deepEqualsListOf_ISubmodel( + that.getSubmodels().get(), casted.getSubmodels().get()) + : !casted.getSubmodels().isPresent()) + && (that.getConceptDescriptions().isPresent() + ? casted.getConceptDescriptions().isPresent() + && deepEqualsListOf_IConceptDescription( + that.getConceptDescriptions().get(), casted.getConceptDescriptions().get()) + : !casted.getConceptDescriptions().isPresent())); + } + + @Override + public Boolean transformEmbeddedDataSpecification( + IEmbeddedDataSpecification that, IClass other) { + if (!(other instanceof EmbeddedDataSpecification)) { + return false; + } + + EmbeddedDataSpecification casted = (EmbeddedDataSpecification) other; + + return (transform(that.getDataSpecification(), casted.getDataSpecification()) + && transform(that.getDataSpecificationContent(), casted.getDataSpecificationContent())); + } + + @Override + public Boolean transformLevelType(ILevelType that, IClass other) { + if (!(other instanceof LevelType)) { + return false; + } + + LevelType casted = (LevelType) other; + + return (that.getMin().equals(casted.getMin()) + && that.getNom().equals(casted.getNom()) + && that.getTyp().equals(casted.getTyp()) + && that.getMax().equals(casted.getMax())); + } + + @Override + public Boolean transformValueReferencePair(IValueReferencePair that, IClass other) { + if (!(other instanceof ValueReferencePair)) { + return false; + } + + ValueReferencePair casted = (ValueReferencePair) other; + + return (that.getValue().equals(casted.getValue()) + && (that.getValueId().isPresent() + ? casted.getValueId().isPresent() + && transform(that.getValueId().get(), casted.getValueId().get()) + : !casted.getValueId().isPresent())); + } + + @Override + public Boolean transformValueList(IValueList that, IClass other) { + if (!(other instanceof ValueList)) { + return false; + } + + ValueList casted = (ValueList) other; + + return (deepEqualsListOf_IValueReferencePair( + that.getValueReferencePairs(), casted.getValueReferencePairs())); + } + + @Override + public Boolean transformLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that, IClass other) { + if (!(other instanceof LangStringPreferredNameTypeIec61360)) { + return false; + } + + LangStringPreferredNameTypeIec61360 casted = (LangStringPreferredNameTypeIec61360) other; + + return (that.getLanguage().equals(casted.getLanguage()) + && that.getText().equals(casted.getText())); + } + + @Override + public Boolean transformLangStringShortNameTypeIec61360( + ILangStringShortNameTypeIec61360 that, IClass other) { + if (!(other instanceof LangStringShortNameTypeIec61360)) { + return false; + } + + LangStringShortNameTypeIec61360 casted = (LangStringShortNameTypeIec61360) other; + + return (that.getLanguage().equals(casted.getLanguage()) + && that.getText().equals(casted.getText())); + } + + @Override + public Boolean transformLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that, IClass other) { + if (!(other instanceof LangStringDefinitionTypeIec61360)) { + return false; + } + + LangStringDefinitionTypeIec61360 casted = (LangStringDefinitionTypeIec61360) other; + + return (that.getLanguage().equals(casted.getLanguage()) + && that.getText().equals(casted.getText())); + } + + @Override + public Boolean transformLangStringUom(ILangStringUom that, IClass other) { + if (!(other instanceof LangStringUom)) { + return false; + } + + LangStringUom casted = (LangStringUom) other; + + return (that.getLanguage().equals(casted.getLanguage()) + && that.getText().equals(casted.getText())); + } + + @Override + public Boolean transformDefinitionTypeUom(IDefinitionTypeUom that, IClass other) { + if (!(other instanceof DefinitionTypeUom)) { + return false; + } + + DefinitionTypeUom casted = (DefinitionTypeUom) other; + + return (that.getLanguage().equals(casted.getLanguage()) + && that.getText().equals(casted.getText())); + } + + @Override + public Boolean transformDataSpecificationUom(IDataSpecificationUom that, IClass other) { + if (!(other instanceof DataSpecificationUom)) { + return false; + } + + DataSpecificationUom casted = (DataSpecificationUom) other; + + return (deepEqualsListOf_ILangStringUom(that.getPreferredName(), casted.getPreferredName()) + && that.getSymbol().equals(casted.getSymbol()) + && that.getSpecificUnitId().equals(casted.getSpecificUnitId()) + && (that.getDefinition().isPresent() + ? casted.getDefinition().isPresent() + && deepEqualsListOf_IDefinitionTypeUom( + that.getDefinition().get(), casted.getDefinition().get()) + : !casted.getDefinition().isPresent()) + && (that.getPreferredNameQuantity().isPresent() + ? casted.getPreferredNameQuantity().isPresent() + && deepEqualsListOf_ILangStringUom( + that.getPreferredNameQuantity().get(), + casted.getPreferredNameQuantity().get()) + : !casted.getPreferredNameQuantity().isPresent()) + && that.getQuantityId().equals(casted.getQuantityId()) + && that.getClassificationSystem().equals(casted.getClassificationSystem()) + && that.getClassificationSystemVersion().equals(casted.getClassificationSystemVersion())); + } + + @Override + public Boolean transformDataSpecificationIec61360( + IDataSpecificationIec61360 that, IClass other) { + if (!(other instanceof DataSpecificationIec61360)) { + return false; + } + + DataSpecificationIec61360 casted = (DataSpecificationIec61360) other; + + return (deepEqualsListOf_ILangStringPreferredNameTypeIec61360( + that.getPreferredName(), casted.getPreferredName()) + && (that.getShortName().isPresent() + ? casted.getShortName().isPresent() + && deepEqualsListOf_ILangStringShortNameTypeIec61360( + that.getShortName().get(), casted.getShortName().get()) + : !casted.getShortName().isPresent()) + && that.getUnit().equals(casted.getUnit()) + && (that.getUnitId().isPresent() + ? casted.getUnitId().isPresent() + && transform(that.getUnitId().get(), casted.getUnitId().get()) + : !casted.getUnitId().isPresent()) + && that.getSourceOfDefinition().equals(casted.getSourceOfDefinition()) + && that.getSymbol().equals(casted.getSymbol()) + && that.getDataType().equals(casted.getDataType()) + && (that.getDefinition().isPresent() + ? casted.getDefinition().isPresent() + && deepEqualsListOf_ILangStringDefinitionTypeIec61360( + that.getDefinition().get(), casted.getDefinition().get()) + : !casted.getDefinition().isPresent()) + && that.getValueFormat().equals(casted.getValueFormat()) + && (that.getValueList().isPresent() + ? casted.getValueList().isPresent() + && transform(that.getValueList().get(), casted.getValueList().get()) + : !casted.getValueList().isPresent()) + && that.getValue().equals(casted.getValue()) + && (that.getLevelType().isPresent() + ? casted.getLevelType().isPresent() + && transform(that.getLevelType().get(), casted.getLevelType().get()) + : !casted.getLevelType().isPresent())); + } + + @Override + public Boolean transformAssetAdministrationShellDescriptor( + IAssetAdministrationShellDescriptor that, IClass other) { + if (!(other instanceof AssetAdministrationShellDescriptor)) { + return false; + } + + AssetAdministrationShellDescriptor casted = (AssetAdministrationShellDescriptor) other; + + return ((that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getId().equals(casted.getId()) + && (that.getAdministration().isPresent() + ? casted.getAdministration().isPresent() + && transform(that.getAdministration().get(), casted.getAdministration().get()) + : !casted.getAdministration().isPresent()) + && that.getAssetKind().equals(casted.getAssetKind()) + && that.getAssetType().equals(casted.getAssetType()) + && (that.getEndpoints().isPresent() + ? casted.getEndpoints().isPresent() + && deepEqualsListOf_IEndpoint( + that.getEndpoints().get(), casted.getEndpoints().get()) + : !casted.getEndpoints().isPresent()) + && that.getGlobalAssetId().equals(casted.getGlobalAssetId()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getSpecificAssetIds().isPresent() + ? casted.getSpecificAssetIds().isPresent() + && deepEqualsListOf_ISpecificAssetId( + that.getSpecificAssetIds().get(), casted.getSpecificAssetIds().get()) + : !casted.getSpecificAssetIds().isPresent()) + && (that.getSubmodelDescriptors().isPresent() + ? casted.getSubmodelDescriptors().isPresent() + && deepEqualsListOf_ISubmodelDescriptor( + that.getSubmodelDescriptors().get(), casted.getSubmodelDescriptors().get()) + : !casted.getSubmodelDescriptors().isPresent())); + } + + @Override + public Boolean transformSubmodelDescriptor(ISubmodelDescriptor that, IClass other) { + if (!(other instanceof SubmodelDescriptor)) { + return false; + } + + SubmodelDescriptor casted = (SubmodelDescriptor) other; + + return ((that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && deepEqualsListOf_IEndpoint(that.getEndpoints(), casted.getEndpoints()) + && that.getId().equals(casted.getId()) + && (that.getAdministration().isPresent() + ? casted.getAdministration().isPresent() + && transform(that.getAdministration().get(), casted.getAdministration().get()) + : !casted.getAdministration().isPresent()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent())); + } + + @Override + public Boolean transformEndpoint(IEndpoint that, IClass other) { + if (!(other instanceof Endpoint)) { + return false; + } + + Endpoint casted = (Endpoint) other; + + return (transform(that.getProtocolInformation(), casted.getProtocolInformation()) + && that.getInterface().equals(casted.getInterface())); + } + + @Override + public Boolean transformProtocolInformation(IProtocolInformation that, IClass other) { + if (!(other instanceof ProtocolInformation)) { + return false; + } + + ProtocolInformation casted = (ProtocolInformation) other; + + return (that.getHref().equals(casted.getHref()) + && that.getEndpointProtocol().equals(casted.getEndpointProtocol()) + && that.getEndpointProtocolVersion().equals(casted.getEndpointProtocolVersion()) + && that.getSubprotocol().equals(casted.getSubprotocol()) + && that.getSubprotocolBody().equals(casted.getSubprotocolBody()) + && that.getSubprotocolBodyEncoding().equals(casted.getSubprotocolBodyEncoding()) + && (that.getSecurityAttributes().isPresent() + ? casted.getSecurityAttributes().isPresent() + && deepEqualsListOf_ISecurityAttributeObject( + that.getSecurityAttributes().get(), casted.getSecurityAttributes().get()) + : !casted.getSecurityAttributes().isPresent())); + } + + @Override + public Boolean transformSecurityAttributeObject(ISecurityAttributeObject that, IClass other) { + if (!(other instanceof SecurityAttributeObject)) { + return false; + } + + SecurityAttributeObject casted = (SecurityAttributeObject) other; + + return (that.getType().equals(casted.getType()) + && that.getKey().equals(casted.getKey()) + && that.getValue().equals(casted.getValue())); + } + + @Override + public Boolean transformAssetLink(IAssetLink that, IClass other) { + if (!(other instanceof AssetLink)) { + return false; + } + + AssetLink casted = (AssetLink) other; + + return (that.getName().equals(casted.getName()) && that.getValue().equals(casted.getValue())); + } + + @Override + public Boolean transformServiceDescription(IServiceDescription that, IClass other) { + if (!(other instanceof ServiceDescription)) { + return false; + } + + ServiceDescription casted = (ServiceDescription) other; + + return (that.getProfiles().equals(casted.getProfiles())); + } + + @Override + public Boolean transformAssetAdministrationShellRecentChange( + IAssetAdministrationShellRecentChange that, IClass other) { + if (!(other instanceof AssetAdministrationShellRecentChange)) { + return false; + } + + AssetAdministrationShellRecentChange casted = (AssetAdministrationShellRecentChange) other; + + return (that.getCreatedAt().equals(casted.getCreatedAt()) + && that.getUpdatedAt().equals(casted.getUpdatedAt()) + && that.getId().equals(casted.getId()) + && that.getGlobalAssetId().equals(casted.getGlobalAssetId()) + && (that.getSpecificAssetIds().isPresent() + ? casted.getSpecificAssetIds().isPresent() + && deepEqualsListOf_ISpecificAssetId( + that.getSpecificAssetIds().get(), casted.getSpecificAssetIds().get()) + : !casted.getSpecificAssetIds().isPresent())); + } + + @Override + public Boolean transformConceptDescriptionRecentChange( + IConceptDescriptionRecentChange that, IClass other) { + if (!(other instanceof ConceptDescriptionRecentChange)) { + return false; + } + + ConceptDescriptionRecentChange casted = (ConceptDescriptionRecentChange) other; + + return (that.getCreatedAt().equals(casted.getCreatedAt()) + && that.getUpdatedAt().equals(casted.getUpdatedAt()) + && that.getId().equals(casted.getId())); + } + + @Override + public Boolean transformSubmodelRecentChange(ISubmodelRecentChange that, IClass other) { + if (!(other instanceof SubmodelRecentChange)) { + return false; + } + + SubmodelRecentChange casted = (SubmodelRecentChange) other; + + return (that.getCreatedAt().equals(casted.getCreatedAt()) + && that.getUpdatedAt().equals(casted.getUpdatedAt()) + && that.getId().equals(casted.getId()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent())); + } + + @Override + public Boolean transformResult(IResult that, IClass other) { + if (!(other instanceof Result)) { + return false; + } + + Result casted = (Result) other; + + return ((that.getMessages().isPresent() + ? casted.getMessages().isPresent() + && deepEqualsListOf_IMessage(that.getMessages().get(), casted.getMessages().get()) + : !casted.getMessages().isPresent())); + } + + @Override + public Boolean transformMessage(IMessage that, IClass other) { + if (!(other instanceof Message)) { + return false; + } + + Message casted = (Message) other; + + return (that.getMessageType().equals(casted.getMessageType()) + && that.getText().equals(casted.getText()) + && that.getCode().equals(casted.getCode()) + && that.getCorrelationId().equals(casted.getCorrelationId()) + && that.getTimestamp().equals(casted.getTimestamp())); + } + + @Override + public Boolean transformOperationRequest(IOperationRequest that, IClass other) { + if (!(other instanceof OperationRequest)) { + return false; + } + + OperationRequest casted = (OperationRequest) other; + + return ((that.getInputArguments().isPresent() + ? casted.getInputArguments().isPresent() + && deepEqualsListOf_IOperationVariable( + that.getInputArguments().get(), casted.getInputArguments().get()) + : !casted.getInputArguments().isPresent()) + && (that.getInoutputArguments().isPresent() + ? casted.getInoutputArguments().isPresent() + && deepEqualsListOf_IOperationVariable( + that.getInoutputArguments().get(), casted.getInoutputArguments().get()) + : !casted.getInoutputArguments().isPresent()) + && that.getClientTimeoutDuration().equals(casted.getClientTimeoutDuration())); + } + + @Override + public Boolean transformOperationRequestAsync(IOperationRequestAsync that, IClass other) { + if (!(other instanceof OperationRequestAsync)) { + return false; + } + + OperationRequestAsync casted = (OperationRequestAsync) other; + + return ((that.getInputArguments().isPresent() + ? casted.getInputArguments().isPresent() + && deepEqualsListOf_IOperationVariable( + that.getInputArguments().get(), casted.getInputArguments().get()) + : !casted.getInputArguments().isPresent()) + && (that.getInoutputArguments().isPresent() + ? casted.getInoutputArguments().isPresent() + && deepEqualsListOf_IOperationVariable( + that.getInoutputArguments().get(), casted.getInoutputArguments().get()) + : !casted.getInoutputArguments().isPresent()) + && that.getClientTimeoutDuration().equals(casted.getClientTimeoutDuration())); + } + + @Override + public Boolean transformOperationRequestValueOnly( + IOperationRequestValueOnly that, IClass other) { + if (!(other instanceof OperationRequestValueOnly)) { + return false; + } + + OperationRequestValueOnly casted = (OperationRequestValueOnly) other; + + return (that.getInputArguments().equals(casted.getInputArguments()) + && that.getInoutputArguments().equals(casted.getInoutputArguments()) + && that.getClientTimeoutDuration().equals(casted.getClientTimeoutDuration())); + } + + @Override + public Boolean transformOperationRequestAsyncValueOnly( + IOperationRequestAsyncValueOnly that, IClass other) { + if (!(other instanceof OperationRequestAsyncValueOnly)) { + return false; + } + + OperationRequestAsyncValueOnly casted = (OperationRequestAsyncValueOnly) other; + + return (that.getInputArguments().equals(casted.getInputArguments()) + && that.getInoutputArguments().equals(casted.getInoutputArguments()) + && that.getClientTimeoutDuration().equals(casted.getClientTimeoutDuration())); + } + + @Override + public Boolean transformBaseOperationResult(IBaseOperationResult that, IClass other) { + if (!(other instanceof BaseOperationResult)) { + return false; + } + + BaseOperationResult casted = (BaseOperationResult) other; + + return (that.getExecutionState().equals(casted.getExecutionState()) + && (that.getMessages().isPresent() + ? casted.getMessages().isPresent() + && deepEqualsListOf_IMessage(that.getMessages().get(), casted.getMessages().get()) + : !casted.getMessages().isPresent()) + && that.getSuccess().equals(casted.getSuccess())); + } + + @Override + public Boolean transformOperationResult(IOperationResult that, IClass other) { + if (!(other instanceof OperationResult)) { + return false; + } + + OperationResult casted = (OperationResult) other; + + return (that.getExecutionState().equals(casted.getExecutionState()) + && (that.getMessages().isPresent() + ? casted.getMessages().isPresent() + && deepEqualsListOf_IMessage(that.getMessages().get(), casted.getMessages().get()) + : !casted.getMessages().isPresent()) + && that.getSuccess().equals(casted.getSuccess()) + && (that.getOutputArguments().isPresent() + ? casted.getOutputArguments().isPresent() + && deepEqualsListOf_IOperationVariable( + that.getOutputArguments().get(), casted.getOutputArguments().get()) + : !casted.getOutputArguments().isPresent()) + && (that.getInoutputArguments().isPresent() + ? casted.getInoutputArguments().isPresent() + && deepEqualsListOf_IOperationVariable( + that.getInoutputArguments().get(), casted.getInoutputArguments().get()) + : !casted.getInoutputArguments().isPresent())); + } + + @Override + public Boolean transformOperationResultValueOnly(IOperationResultValueOnly that, IClass other) { + if (!(other instanceof OperationResultValueOnly)) { + return false; + } + + OperationResultValueOnly casted = (OperationResultValueOnly) other; + + return (that.getExecutionState().equals(casted.getExecutionState()) + && (that.getMessages().isPresent() + ? casted.getMessages().isPresent() + && deepEqualsListOf_IMessage(that.getMessages().get(), casted.getMessages().get()) + : !casted.getMessages().isPresent()) + && that.getSuccess().equals(casted.getSuccess()) + && that.getOutputArguments().equals(casted.getOutputArguments()) + && that.getInoutputArguments().equals(casted.getInoutputArguments())); + } + + @Override + public Boolean transformOperationHandle(IOperationHandle that, IClass other) { + if (!(other instanceof OperationHandle)) { + return false; + } + + OperationHandle casted = (OperationHandle) other; + + return (that.getHandleId().equals(casted.getHandleId())); + } + + @Override + public Boolean transformPagedResult(IPagedResult that, IClass other) { + if (!(other instanceof PagedResult)) { + return false; + } + + PagedResult casted = (PagedResult) other; + + return ((that.getResult().isPresent() + ? casted.getResult().isPresent() + && deepEqualsListOf_IReferable(that.getResult().get(), casted.getResult().get()) + : !casted.getResult().isPresent()) + && transform(that.getPagingMetadata(), casted.getPagingMetadata())); + } + + @Override + public Boolean transformPagingMetadata(IPagingMetadata that, IClass other) { + if (!(other instanceof PagingMetadata)) { + return false; + } + + PagingMetadata casted = (PagingMetadata) other; + + return (that.getCursor().equals(casted.getCursor())); + } + + @Override + public Boolean transformPackageDescription(IPackageDescription that, IClass other) { + if (!(other instanceof PackageDescription)) { + return false; + } + + PackageDescription casted = (PackageDescription) other; + + return (that.getPackageId().equals(casted.getPackageId()) + && that.getAasIds().equals(casted.getAasIds())); + } + + @Override + public Boolean transformPropertyMetadata(IPropertyMetadata that, IClass other) { + if (!(other instanceof PropertyMetadata)) { + return false; + } + + PropertyMetadata casted = (PropertyMetadata) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && that.getValueType().equals(casted.getValueType())); + } + + @Override + public Boolean transformRangeMetadata(IRangeMetadata that, IClass other) { + if (!(other instanceof RangeMetadata)) { + return false; + } + + RangeMetadata casted = (RangeMetadata) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && that.getValueType().equals(casted.getValueType())); + } + + @Override + public Boolean transformBlobMetadata(IBlobMetadata that, IClass other) { + if (!(other instanceof BlobMetadata)) { + return false; + } + + BlobMetadata casted = (BlobMetadata) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent())); + } + + @Override + public Boolean transformFileMetadata(IFileMetadata that, IClass other) { + if (!(other instanceof FileMetadata)) { + return false; + } + + FileMetadata casted = (FileMetadata) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent())); + } + + @Override + public Boolean transformMultiLanguagePropertyMetadata( + IMultiLanguagePropertyMetadata that, IClass other) { + if (!(other instanceof MultiLanguagePropertyMetadata)) { + return false; + } + + MultiLanguagePropertyMetadata casted = (MultiLanguagePropertyMetadata) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent())); + } + + @Override + public Boolean transformReferenceElementMetadata(IReferenceElementMetadata that, IClass other) { + if (!(other instanceof ReferenceElementMetadata)) { + return false; + } + + ReferenceElementMetadata casted = (ReferenceElementMetadata) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent())); + } + + @Override + public Boolean transformRelationshipElementMetadata( + IRelationshipElementMetadata that, IClass other) { + if (!(other instanceof RelationshipElementMetadata)) { + return false; + } + + RelationshipElementMetadata casted = (RelationshipElementMetadata) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent())); + } + + @Override + public Boolean transformAnnotatedRelationshipElementMetadata( + IAnnotatedRelationshipElementMetadata that, IClass other) { + if (!(other instanceof AnnotatedRelationshipElementMetadata)) { + return false; + } + + AnnotatedRelationshipElementMetadata casted = (AnnotatedRelationshipElementMetadata) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent())); + } + + @Override + public Boolean transformEntityMetadata(IEntityMetadata that, IClass other) { + if (!(other instanceof EntityMetadata)) { + return false; + } + + EntityMetadata casted = (EntityMetadata) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent())); + } + + @Override + public Boolean transformCapabilityMetadata(ICapabilityMetadata that, IClass other) { + if (!(other instanceof CapabilityMetadata)) { + return false; + } + + CapabilityMetadata casted = (CapabilityMetadata) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent())); + } + + @Override + public Boolean transformOperationMetadata(IOperationMetadata that, IClass other) { + if (!(other instanceof OperationMetadata)) { + return false; + } + + OperationMetadata casted = (OperationMetadata) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent())); + } + + @Override + public Boolean transformSubmodelElementCollectionMetadata( + ISubmodelElementCollectionMetadata that, IClass other) { + if (!(other instanceof SubmodelElementCollectionMetadata)) { + return false; + } + + SubmodelElementCollectionMetadata casted = (SubmodelElementCollectionMetadata) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent())); + } + + @Override + public Boolean transformBasicEventElementMetadata( + IBasicEventElementMetadata that, IClass other) { + if (!(other instanceof BasicEventElementMetadata)) { + return false; + } + + BasicEventElementMetadata casted = (BasicEventElementMetadata) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && that.getDirection().equals(casted.getDirection()) + && that.getState().equals(casted.getState()) + && that.getMessageTopic().equals(casted.getMessageTopic()) + && (that.getMessageBroker().isPresent() + ? casted.getMessageBroker().isPresent() + && transform(that.getMessageBroker().get(), casted.getMessageBroker().get()) + : !casted.getMessageBroker().isPresent()) + && that.getLastUpdate().equals(casted.getLastUpdate()) + && that.getMinInterval().equals(casted.getMinInterval()) + && that.getMaxInterval().equals(casted.getMaxInterval())); + } + + @Override + public Boolean transformSubmodelElementListMetadata( + ISubmodelElementListMetadata that, IClass other) { + if (!(other instanceof SubmodelElementListMetadata)) { + return false; + } + + SubmodelElementListMetadata casted = (SubmodelElementListMetadata) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && that.getOrderRelevant().equals(casted.getOrderRelevant()) + && (that.getSemanticIdListElement().isPresent() + ? casted.getSemanticIdListElement().isPresent() + && transform( + that.getSemanticIdListElement().get(), + casted.getSemanticIdListElement().get()) + : !casted.getSemanticIdListElement().isPresent()) + && that.getTypeValueListElement().equals(casted.getTypeValueListElement()) + && that.getValueTypeListElement().equals(casted.getValueTypeListElement())); + } + + @Override + public Boolean transformSubmodelMetadata(ISubmodelMetadata that, IClass other) { + if (!(other instanceof SubmodelMetadata)) { + return false; + } + + SubmodelMetadata casted = (SubmodelMetadata) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getAdministration().isPresent() + ? casted.getAdministration().isPresent() + && transform(that.getAdministration().get(), casted.getAdministration().get()) + : !casted.getAdministration().isPresent()) + && that.getId().equals(casted.getId()) + && that.getKind().equals(casted.getKind()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent())); + } + + @Override + public Boolean transformAssetAdministrationShellMetadata( + IAssetAdministrationShellMetadata that, IClass other) { + if (!(other instanceof AssetAdministrationShellMetadata)) { + return false; + } + + AssetAdministrationShellMetadata casted = (AssetAdministrationShellMetadata) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getAdministration().isPresent() + ? casted.getAdministration().isPresent() + && transform(that.getAdministration().get(), casted.getAdministration().get()) + : !casted.getAdministration().isPresent()) + && that.getId().equals(casted.getId()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getDerivedFrom().isPresent() + ? casted.getDerivedFrom().isPresent() + && transform(that.getDerivedFrom().get(), casted.getDerivedFrom().get()) + : !casted.getDerivedFrom().isPresent())); + } + + @Override + public Boolean transformReferenceElementValue(IReferenceElementValue that, IClass other) { + if (!(other instanceof ReferenceElementValue)) { + return false; + } + + ReferenceElementValue casted = (ReferenceElementValue) other; + + return (that.getType().equals(casted.getType()) + && deepEqualsListOf_IKey(that.getKeys(), casted.getKeys()) + && (that.getReferredSemanticId().isPresent() + ? casted.getReferredSemanticId().isPresent() + && transform( + that.getReferredSemanticId().get(), casted.getReferredSemanticId().get()) + : !casted.getReferredSemanticId().isPresent())); + } + + @Override + public Boolean transformBlobValue(IBlobValue that, IClass other) { + if (!(other instanceof BlobValue)) { + return false; + } + + BlobValue casted = (BlobValue) other; + + return (that.getContentType().equals(casted.getContentType()) + && (that.getValue().isPresent() + ? casted.getValue().isPresent() + && Arrays.equals(that.getValue().get(), casted.getValue().get()) + : !casted.getValue().isPresent())); + } + + @Override + public Boolean transformFileValue(IFileValue that, IClass other) { + if (!(other instanceof FileValue)) { + return false; + } + + FileValue casted = (FileValue) other; + + return (that.getContentType().equals(casted.getContentType()) + && that.getValue().equals(casted.getValue())); + } + + @Override + public Boolean transformRangeValue(IRangeValue that, IClass other) { + if (!(other instanceof RangeValue)) { + return false; + } + + RangeValue casted = (RangeValue) other; + + return (that.getMin().equals(casted.getMin()) && that.getMax().equals(casted.getMax())); + } + + @Override + public Boolean transformRelationshipElementValue(IRelationshipElementValue that, IClass other) { + if (!(other instanceof RelationshipElementValue)) { + return false; + } + + RelationshipElementValue casted = (RelationshipElementValue) other; + + return ((that.getFirst().isPresent() + ? casted.getFirst().isPresent() + && transform(that.getFirst().get(), casted.getFirst().get()) + : !casted.getFirst().isPresent()) + && (that.getSecond().isPresent() + ? casted.getSecond().isPresent() + && transform(that.getSecond().get(), casted.getSecond().get()) + : !casted.getSecond().isPresent())); + } + + @Override + public Boolean transformBasicEventElementValue(IBasicEventElementValue that, IClass other) { + if (!(other instanceof BasicEventElementValue)) { + return false; + } + + BasicEventElementValue casted = (BasicEventElementValue) other; + + return (transform(that.getObserved(), casted.getObserved())); + } + + @Override + public Boolean transformAnnotatedRelationshipElementValue( + IAnnotatedRelationshipElementValue that, IClass other) { + if (!(other instanceof AnnotatedRelationshipElementValue)) { + return false; + } + + AnnotatedRelationshipElementValue casted = (AnnotatedRelationshipElementValue) other; + + return ((that.getFirst().isPresent() + ? casted.getFirst().isPresent() + && transform(that.getFirst().get(), casted.getFirst().get()) + : !casted.getFirst().isPresent()) + && (that.getSecond().isPresent() + ? casted.getSecond().isPresent() + && transform(that.getSecond().get(), casted.getSecond().get()) + : !casted.getSecond().isPresent()) + && that.getAnnotations().equals(casted.getAnnotations())); + } + + @Override + public Boolean transformEntityValue(IEntityValue that, IClass other) { + if (!(other instanceof EntityValue)) { + return false; + } + + EntityValue casted = (EntityValue) other; + + return (that.getEntityType().equals(casted.getEntityType()) + && that.getGlobalAssetId().equals(casted.getGlobalAssetId()) + && that.getSpecificAssetIds().equals(casted.getSpecificAssetIds()) + && that.getStatements().equals(casted.getStatements())); + } + + @Override + public Boolean transformGetAssetAdministrationShellsResult( + IGetAssetAdministrationShellsResult that, IClass other) { + if (!(other instanceof GetAssetAdministrationShellsResult)) { + return false; + } + + GetAssetAdministrationShellsResult casted = (GetAssetAdministrationShellsResult) other; + + return (transform(that.getPagingMetadata(), casted.getPagingMetadata()) + && (that.getResult().isPresent() + ? casted.getResult().isPresent() + && deepEqualsListOf_IAssetAdministrationShell( + that.getResult().get(), casted.getResult().get()) + : !casted.getResult().isPresent())); + } + + @Override + public Boolean transformGetAssetAdministrationShellsMetadataResult( + IGetAssetAdministrationShellsMetadataResult that, IClass other) { + if (!(other instanceof GetAssetAdministrationShellsMetadataResult)) { + return false; + } + + GetAssetAdministrationShellsMetadataResult casted = + (GetAssetAdministrationShellsMetadataResult) other; + + return (transform(that.getPagingMetadata(), casted.getPagingMetadata()) + && (that.getResult().isPresent() + ? casted.getResult().isPresent() + && deepEqualsListOf_IAssetAdministrationShellMetadata( + that.getResult().get(), casted.getResult().get()) + : !casted.getResult().isPresent())); + } + + @Override + public Boolean transformGetAllAssetAdministrationShellsRecentChangesResult( + IGetAllAssetAdministrationShellsRecentChangesResult that, IClass other) { + if (!(other instanceof GetAllAssetAdministrationShellsRecentChangesResult)) { + return false; + } + + GetAllAssetAdministrationShellsRecentChangesResult casted = + (GetAllAssetAdministrationShellsRecentChangesResult) other; + + return (transform(that.getPagingMetadata(), casted.getPagingMetadata()) + && (that.getResult().isPresent() + ? casted.getResult().isPresent() + && deepEqualsListOf_IAssetAdministrationShellRecentChange( + that.getResult().get(), casted.getResult().get()) + : !casted.getResult().isPresent())); + } + + @Override + public Boolean transformGetAssetAdministrationShellDescriptorsResult( + IGetAssetAdministrationShellDescriptorsResult that, IClass other) { + if (!(other instanceof GetAssetAdministrationShellDescriptorsResult)) { + return false; + } + + GetAssetAdministrationShellDescriptorsResult casted = + (GetAssetAdministrationShellDescriptorsResult) other; + + return (transform(that.getPagingMetadata(), casted.getPagingMetadata()) + && (that.getResult().isPresent() + ? casted.getResult().isPresent() + && deepEqualsListOf_IAssetAdministrationShellDescriptor( + that.getResult().get(), casted.getResult().get()) + : !casted.getResult().isPresent())); + } + + @Override + public Boolean transformGetConceptDescriptionsResult( + IGetConceptDescriptionsResult that, IClass other) { + if (!(other instanceof GetConceptDescriptionsResult)) { + return false; + } + + GetConceptDescriptionsResult casted = (GetConceptDescriptionsResult) other; + + return (transform(that.getPagingMetadata(), casted.getPagingMetadata()) + && (that.getResult().isPresent() + ? casted.getResult().isPresent() + && deepEqualsListOf_IConceptDescription( + that.getResult().get(), casted.getResult().get()) + : !casted.getResult().isPresent())); + } + + @Override + public Boolean transformGetAllConceptDescriptionsRecentChangesResult( + IGetAllConceptDescriptionsRecentChangesResult that, IClass other) { + if (!(other instanceof GetAllConceptDescriptionsRecentChangesResult)) { + return false; + } + + GetAllConceptDescriptionsRecentChangesResult casted = + (GetAllConceptDescriptionsRecentChangesResult) other; + + return (transform(that.getPagingMetadata(), casted.getPagingMetadata()) + && (that.getResult().isPresent() + ? casted.getResult().isPresent() + && deepEqualsListOf_IConceptDescriptionRecentChange( + that.getResult().get(), casted.getResult().get()) + : !casted.getResult().isPresent())); + } + + @Override + public Boolean transformGetPackageDescriptionsResult( + IGetPackageDescriptionsResult that, IClass other) { + if (!(other instanceof GetPackageDescriptionsResult)) { + return false; + } + + GetPackageDescriptionsResult casted = (GetPackageDescriptionsResult) other; + + return (transform(that.getPagingMetadata(), casted.getPagingMetadata()) + && (that.getResult().isPresent() + ? casted.getResult().isPresent() + && deepEqualsListOf_IPackageDescription( + that.getResult().get(), casted.getResult().get()) + : !casted.getResult().isPresent())); + } + + @Override + public Boolean transformGetPathItemsResult(IGetPathItemsResult that, IClass other) { + if (!(other instanceof GetPathItemsResult)) { + return false; + } + + GetPathItemsResult casted = (GetPathItemsResult) other; + + return (transform(that.getPagingMetadata(), casted.getPagingMetadata()) + && that.getResult().equals(casted.getResult())); + } + + @Override + public Boolean transformGetReferencesResult(IGetReferencesResult that, IClass other) { + if (!(other instanceof GetReferencesResult)) { + return false; + } + + GetReferencesResult casted = (GetReferencesResult) other; + + return (transform(that.getPagingMetadata(), casted.getPagingMetadata()) + && (that.getResult().isPresent() + ? casted.getResult().isPresent() + && deepEqualsListOf_IReference(that.getResult().get(), casted.getResult().get()) + : !casted.getResult().isPresent())); + } + + @Override + public Boolean transformGetSubmodelDescriptorsResult( + IGetSubmodelDescriptorsResult that, IClass other) { + if (!(other instanceof GetSubmodelDescriptorsResult)) { + return false; + } + + GetSubmodelDescriptorsResult casted = (GetSubmodelDescriptorsResult) other; + + return (transform(that.getPagingMetadata(), casted.getPagingMetadata()) + && (that.getResult().isPresent() + ? casted.getResult().isPresent() + && deepEqualsListOf_ISubmodelDescriptor( + that.getResult().get(), casted.getResult().get()) + : !casted.getResult().isPresent())); + } + + @Override + public Boolean transformGetSubmodelElementsMetadataResult( + IGetSubmodelElementsMetadataResult that, IClass other) { + if (!(other instanceof GetSubmodelElementsMetadataResult)) { + return false; + } + + GetSubmodelElementsMetadataResult casted = (GetSubmodelElementsMetadataResult) other; + + return (transform(that.getPagingMetadata(), casted.getPagingMetadata()) + && (that.getResult().isPresent() + ? casted.getResult().isPresent() + && deepEqualsListOf_ISubmodelElementMetadata( + that.getResult().get(), casted.getResult().get()) + : !casted.getResult().isPresent())); + } + + @Override + public Boolean transformGetSubmodelElementsResult( + IGetSubmodelElementsResult that, IClass other) { + if (!(other instanceof GetSubmodelElementsResult)) { + return false; + } + + GetSubmodelElementsResult casted = (GetSubmodelElementsResult) other; + + return (transform(that.getPagingMetadata(), casted.getPagingMetadata()) + && (that.getResult().isPresent() + ? casted.getResult().isPresent() + && deepEqualsListOf_ISubmodelElement( + that.getResult().get(), casted.getResult().get()) + : !casted.getResult().isPresent())); + } + + @Override + public Boolean transformGetSubmodelElementsValueResult( + IGetSubmodelElementsValueResult that, IClass other) { + if (!(other instanceof GetSubmodelElementsValueResult)) { + return false; + } + + GetSubmodelElementsValueResult casted = (GetSubmodelElementsValueResult) other; + + return (transform(that.getPagingMetadata(), casted.getPagingMetadata()) + && that.getResult().equals(casted.getResult())); + } + + @Override + public Boolean transformGetAllSubmodelsRecentChangesResult( + IGetAllSubmodelsRecentChangesResult that, IClass other) { + if (!(other instanceof GetAllSubmodelsRecentChangesResult)) { + return false; + } + + GetAllSubmodelsRecentChangesResult casted = (GetAllSubmodelsRecentChangesResult) other; + + return (transform(that.getPagingMetadata(), casted.getPagingMetadata()) + && (that.getResult().isPresent() + ? casted.getResult().isPresent() + && deepEqualsListOf_ISubmodelRecentChange( + that.getResult().get(), casted.getResult().get()) + : !casted.getResult().isPresent())); + } + + @Override + public Boolean transformGetSubmodelsMetadataResult( + IGetSubmodelsMetadataResult that, IClass other) { + if (!(other instanceof GetSubmodelsMetadataResult)) { + return false; + } + + GetSubmodelsMetadataResult casted = (GetSubmodelsMetadataResult) other; + + return (transform(that.getPagingMetadata(), casted.getPagingMetadata()) + && (that.getResult().isPresent() + ? casted.getResult().isPresent() + && deepEqualsListOf_ISubmodelMetadata( + that.getResult().get(), casted.getResult().get()) + : !casted.getResult().isPresent())); + } + + @Override + public Boolean transformGetSubmodelsResult(IGetSubmodelsResult that, IClass other) { + if (!(other instanceof GetSubmodelsResult)) { + return false; + } + + GetSubmodelsResult casted = (GetSubmodelsResult) other; + + return (transform(that.getPagingMetadata(), casted.getPagingMetadata()) + && (that.getResult().isPresent() + ? casted.getResult().isPresent() + && deepEqualsListOf_ISubmodel(that.getResult().get(), casted.getResult().get()) + : !casted.getResult().isPresent())); + } + + @Override + public Boolean transformGetSubmodelsValueResult(IGetSubmodelsValueResult that, IClass other) { + if (!(other instanceof GetSubmodelsValueResult)) { + return false; + } + + GetSubmodelsValueResult casted = (GetSubmodelsValueResult) other; + + return (transform(that.getPagingMetadata(), casted.getPagingMetadata()) + && that.getResult().equals(casted.getResult())); + } + + @Override + public Boolean transformClaimAttribute(IClaimAttribute that, IClass other) { + if (!(other instanceof ClaimAttribute)) { + return false; + } + + ClaimAttribute casted = (ClaimAttribute) other; + + return (that.getClaim().equals(casted.getClaim())); + } + + @Override + public Boolean transformGlobalAttribute(IGlobalAttribute that, IClass other) { + if (!(other instanceof GlobalAttribute)) { + return false; + } + + GlobalAttribute casted = (GlobalAttribute) other; + + return (that.getKind().equals(casted.getKind())); + } + + @Override + public Boolean transformReferenceAttribute(IReferenceAttribute that, IClass other) { + if (!(other instanceof ReferenceAttribute)) { + return false; + } + + ReferenceAttribute casted = (ReferenceAttribute) other; + + return (that.getReference().equals(casted.getReference())); + } + + @Override + public Boolean transformDateTimeAttributeItem(IDateTimeAttributeItem that, IClass other) { + if (!(other instanceof DateTimeAttributeItem)) { + return false; + } + + DateTimeAttributeItem casted = (DateTimeAttributeItem) other; + + return (that.getKind().equals(casted.getKind())); + } + + @Override + public Boolean transformFieldOperand(IFieldOperand that, IClass other) { + if (!(other instanceof FieldOperand)) { + return false; + } + + FieldOperand casted = (FieldOperand) other; + + return (that.getField().equals(casted.getField())); + } + + @Override + public Boolean transformStringLiteral(IStringLiteral that, IClass other) { + if (!(other instanceof StringLiteral)) { + return false; + } + + StringLiteral casted = (StringLiteral) other; + + return (that.getStrVal().equals(casted.getStrVal())); + } + + @Override + public Boolean transformAttributeOperand(IAttributeOperand that, IClass other) { + if (!(other instanceof AttributeOperand)) { + return false; + } + + AttributeOperand casted = (AttributeOperand) other; + + return (transform(that.getAttribute(), casted.getAttribute())); + } + + @Override + public Boolean transformNumberLiteral(INumberLiteral that, IClass other) { + if (!(other instanceof NumberLiteral)) { + return false; + } + + NumberLiteral casted = (NumberLiteral) other; + + return (that.getNumVal().equals(casted.getNumVal())); + } + + @Override + public Boolean transformHexLiteral(IHexLiteral that, IClass other) { + if (!(other instanceof HexLiteral)) { + return false; + } + + HexLiteral casted = (HexLiteral) other; + + return (that.getHexVal().equals(casted.getHexVal())); + } + + @Override + public Boolean transformDateTimeLiteral(IDateTimeLiteral that, IClass other) { + if (!(other instanceof DateTimeLiteral)) { + return false; + } + + DateTimeLiteral casted = (DateTimeLiteral) other; + + return (that.getDateTimeVal().equals(casted.getDateTimeVal())); + } + + @Override + public Boolean transformTimeLiteral(ITimeLiteral that, IClass other) { + if (!(other instanceof TimeLiteral)) { + return false; + } + + TimeLiteral casted = (TimeLiteral) other; + + return (that.getTimeVal().equals(casted.getTimeVal())); + } + + @Override + public Boolean transformBooleanLiteral(IBooleanLiteral that, IClass other) { + if (!(other instanceof BooleanLiteral)) { + return false; + } + + BooleanLiteral casted = (BooleanLiteral) other; + + return (that.getBoolean().equals(casted.getBoolean())); + } + + @Override + public Boolean transformStringCast(IStringCast that, IClass other) { + if (!(other instanceof StringCast)) { + return false; + } + + StringCast casted = (StringCast) other; + + return (transform(that.getStrCast(), casted.getStrCast())); + } + + @Override + public Boolean transformNumberCast(INumberCast that, IClass other) { + if (!(other instanceof NumberCast)) { + return false; + } + + NumberCast casted = (NumberCast) other; + + return (transform(that.getNumCast(), casted.getNumCast())); + } + + @Override + public Boolean transformHexCast(IHexCast that, IClass other) { + if (!(other instanceof HexCast)) { + return false; + } + + HexCast casted = (HexCast) other; + + return (transform(that.getHexCast(), casted.getHexCast())); + } + + @Override + public Boolean transformBooleanCast(IBooleanCast that, IClass other) { + if (!(other instanceof BooleanCast)) { + return false; + } + + BooleanCast casted = (BooleanCast) other; + + return (transform(that.getBoolCast(), casted.getBoolCast())); + } + + @Override + public Boolean transformDateTimeCast(IDateTimeCast that, IClass other) { + if (!(other instanceof DateTimeCast)) { + return false; + } + + DateTimeCast casted = (DateTimeCast) other; + + return (transform(that.getDateTimeCast(), casted.getDateTimeCast())); + } + + @Override + public Boolean transformTimeCast(ITimeCast that, IClass other) { + if (!(other instanceof TimeCast)) { + return false; + } + + TimeCast casted = (TimeCast) other; + + return (transform(that.getTimeCast(), casted.getTimeCast())); + } + + @Override + public Boolean transformDayOfWeek(IDayOfWeek that, IClass other) { + if (!(other instanceof DayOfWeek)) { + return false; + } + + DayOfWeek casted = (DayOfWeek) other; + + return (transform(that.getDayOfWeek(), casted.getDayOfWeek())); + } + + @Override + public Boolean transformDayOfMonth(IDayOfMonth that, IClass other) { + if (!(other instanceof DayOfMonth)) { + return false; + } + + DayOfMonth casted = (DayOfMonth) other; + + return (transform(that.getDayOfMonth(), casted.getDayOfMonth())); + } + + @Override + public Boolean transformMonth(IMonth that, IClass other) { + if (!(other instanceof Month)) { + return false; + } + + Month casted = (Month) other; + + return (transform(that.getMonth(), casted.getMonth())); + } + + @Override + public Boolean transformYear(IYear that, IClass other) { + if (!(other instanceof Year)) { + return false; + } + + Year casted = (Year) other; + + return (transform(that.getYear(), casted.getYear())); + } + + @Override + public Boolean transformDateTimeAttributeOperand(IDateTimeAttributeOperand that, IClass other) { + if (!(other instanceof DateTimeAttributeOperand)) { + return false; + } + + DateTimeAttributeOperand casted = (DateTimeAttributeOperand) other; + + return (transform(that.getAttribute(), casted.getAttribute())); + } + + @Override + public Boolean transformEqualComparison(IEqualComparison that, IClass other) { + if (!(other instanceof EqualComparison)) { + return false; + } + + EqualComparison casted = (EqualComparison) other; + + return (deepEqualsTupleOf2_Value_Value(that.getEq(), casted.getEq())); + } + + @Override + public Boolean transformNotEqualComparison(INotEqualComparison that, IClass other) { + if (!(other instanceof NotEqualComparison)) { + return false; + } + + NotEqualComparison casted = (NotEqualComparison) other; + + return (deepEqualsTupleOf2_Value_Value(that.getNe(), casted.getNe())); + } + + @Override + public Boolean transformGreaterThanComparison(IGreaterThanComparison that, IClass other) { + if (!(other instanceof GreaterThanComparison)) { + return false; + } + + GreaterThanComparison casted = (GreaterThanComparison) other; + + return (deepEqualsTupleOf2_Value_Value(that.getGt(), casted.getGt())); + } + + @Override + public Boolean transformGreaterThanOrEqualComparison( + IGreaterThanOrEqualComparison that, IClass other) { + if (!(other instanceof GreaterThanOrEqualComparison)) { + return false; + } + + GreaterThanOrEqualComparison casted = (GreaterThanOrEqualComparison) other; + + return (deepEqualsTupleOf2_Value_Value(that.getGe(), casted.getGe())); + } + + @Override + public Boolean transformLessThanComparison(ILessThanComparison that, IClass other) { + if (!(other instanceof LessThanComparison)) { + return false; + } + + LessThanComparison casted = (LessThanComparison) other; + + return (deepEqualsTupleOf2_Value_Value(that.getLt(), casted.getLt())); + } + + @Override + public Boolean transformLessThanOrEqualComparison( + ILessThanOrEqualComparison that, IClass other) { + if (!(other instanceof LessThanOrEqualComparison)) { + return false; + } + + LessThanOrEqualComparison casted = (LessThanOrEqualComparison) other; + + return (deepEqualsTupleOf2_Value_Value(that.getLe(), casted.getLe())); + } + + @Override + public Boolean transformContainsComparison(IContainsComparison that, IClass other) { + if (!(other instanceof ContainsComparison)) { + return false; + } + + ContainsComparison casted = (ContainsComparison) other; + + return (deepEqualsTupleOf2_StringValue_StringValue(that.getContains(), casted.getContains())); + } + + @Override + public Boolean transformStartsWithComparison(IStartsWithComparison that, IClass other) { + if (!(other instanceof StartsWithComparison)) { + return false; + } + + StartsWithComparison casted = (StartsWithComparison) other; + + return (deepEqualsTupleOf2_StringValue_StringValue( + that.getStartsWith(), casted.getStartsWith())); + } + + @Override + public Boolean transformEndsWithComparison(IEndsWithComparison that, IClass other) { + if (!(other instanceof EndsWithComparison)) { + return false; + } + + EndsWithComparison casted = (EndsWithComparison) other; + + return (deepEqualsTupleOf2_StringValue_StringValue(that.getEndsWith(), casted.getEndsWith())); + } + + @Override + public Boolean transformRegexComparison(IRegexComparison that, IClass other) { + if (!(other instanceof RegexComparison)) { + return false; + } + + RegexComparison casted = (RegexComparison) other; + + return (deepEqualsTupleOf2_StringValue_StringValue(that.getRegex(), casted.getRegex())); + } + + @Override + public Boolean transformMatchClause(IMatchClause that, IClass other) { + if (!(other instanceof MatchClause)) { + return false; + } + + MatchClause casted = (MatchClause) other; + + return (deepEqualsListOf_MatchExpression(that.getMatchOperands(), casted.getMatchOperands())); + } + + @Override + public Boolean transformAndExpression(IAndExpression that, IClass other) { + if (!(other instanceof AndExpression)) { + return false; + } + + AndExpression casted = (AndExpression) other; + + return (deepEqualsListOf_LogicalExpression(that.getAndOperands(), casted.getAndOperands())); + } + + @Override + public Boolean transformOrExpression(IOrExpression that, IClass other) { + if (!(other instanceof OrExpression)) { + return false; + } + + OrExpression casted = (OrExpression) other; + + return (deepEqualsListOf_LogicalExpression(that.getOrOperands(), casted.getOrOperands())); + } + + @Override + public Boolean transformNotExpression(INotExpression that, IClass other) { + if (!(other instanceof NotExpression)) { + return false; + } + + NotExpression casted = (NotExpression) other; + + return (transform(that.getNotOperand(), casted.getNotOperand())); + } + + @Override + public Boolean transformQueryFilter(IQueryFilter that, IClass other) { + if (!(other instanceof QueryFilter)) { + return false; + } + + QueryFilter casted = (QueryFilter) other; + + return (that.getFragment().equals(casted.getFragment()) + && transform(that.getCondition(), casted.getCondition())); + } + + @Override + public Boolean transformQuery(IQuery that, IClass other) { + if (!(other instanceof Query)) { + return false; + } + + Query casted = (Query) other; + + return (that.getSelect().equals(casted.getSelect()) + && transform(that.getCondition(), casted.getCondition()) + && (that.getFilters().isPresent() + ? casted.getFilters().isPresent() + && deepEqualsListOf_IQueryFilter( + that.getFilters().get(), casted.getFilters().get()) + : !casted.getFilters().isPresent())); + } + + private Boolean transform(IUnion that, IUnion other) { + return transform(that.getUnderlying(), other.getUnderlying()); + } + + private Boolean deepEqualsListOf_IReference(List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IEmbeddedDataSpecification( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IExtension(List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ILangStringNameType( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ILangStringTextType( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ISpecificAssetId( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IQualifier(List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ISubmodelElement( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IDataElement( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IOperationVariable( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IKey(List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IAssetAdministrationShell( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ISubmodel(List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IConceptDescription( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IValueReferencePair( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ILangStringUom( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IDefinitionTypeUom( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ILangStringPreferredNameTypeIec61360( + List that, + List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ILangStringShortNameTypeIec61360( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ILangStringDefinitionTypeIec61360( + List that, + List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IEndpoint(List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ISubmodelDescriptor( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ISecurityAttributeObject( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IMessage(List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IReferable(List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IAssetAdministrationShellMetadata( + List that, + List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IAssetAdministrationShellRecentChange( + List that, + List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IAssetAdministrationShellDescriptor( + List that, + List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IConceptDescriptionRecentChange( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IPackageDescription( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ISubmodelElementMetadata( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ISubmodelRecentChange( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ISubmodelMetadata( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsTupleOf2_Value_Value( + Tuple2 that, Tuple2 other) { + return (transform(that.item1(), other.item1()) && transform(that.item2(), other.item2())); + } + + private Boolean deepEqualsTupleOf2_StringValue_StringValue( + Tuple2 that, Tuple2 other) { + return (transform(that.item1(), other.item1()) && transform(that.item2(), other.item2())); + } + + private Boolean deepEqualsListOf_MatchExpression( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_LogicalExpression( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IQueryFilter( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + } // class _DeepEqualiser + + private static final _DeepEqualiser DeepEqualiserInstance = new _DeepEqualiser(); + + private static Boolean ExtensionShallowEquals(Extension that, Extension other) { + return (that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getName().equals(other.getName()) + && that.getValueType().equals(other.getValueType()) + && that.getValue().equals(other.getValue()) + && that.getRefersTo().equals(other.getRefersTo())); + } + + private static Boolean AdministrativeInformationShallowEquals( + AdministrativeInformation that, AdministrativeInformation other) { + return (that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getVersion().equals(other.getVersion()) + && that.getRevision().equals(other.getRevision()) + && that.getCreator().equals(other.getCreator()) + && that.getCreatedAt().equals(other.getCreatedAt()) + && that.getUpdatedAt().equals(other.getUpdatedAt()) + && that.getTemplateId().equals(other.getTemplateId())); + } + + private static Boolean QualifierShallowEquals(Qualifier that, Qualifier other) { + return (that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getKind().equals(other.getKind()) + && that.getType().equals(other.getType()) + && that.getValueType().equals(other.getValueType()) + && that.getValue().equals(other.getValue()) + && that.getValueId().equals(other.getValueId())); + } + + private static Boolean AssetAdministrationShellShallowEquals( + AssetAdministrationShell that, AssetAdministrationShell other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getAdministration().equals(other.getAdministration()) + && that.getId().equals(other.getId()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getDerivedFrom().equals(other.getDerivedFrom()) + && that.getAssetInformation().equals(other.getAssetInformation()) + && that.getSubmodels().equals(other.getSubmodels())); + } + + private static Boolean AssetInformationShallowEquals( + AssetInformation that, AssetInformation other) { + return (that.getAssetKind().equals(other.getAssetKind()) + && that.getGlobalAssetId().equals(other.getGlobalAssetId()) + && that.getSpecificAssetIds().equals(other.getSpecificAssetIds()) + && that.getAssetType().equals(other.getAssetType()) + && that.getDefaultThumbnail().equals(other.getDefaultThumbnail())); + } + + private static Boolean ResourceShallowEquals(Resource that, Resource other) { + return (that.getPath().equals(other.getPath()) + && that.getContentType().equals(other.getContentType())); + } + + private static Boolean SpecificAssetIdShallowEquals(SpecificAssetId that, SpecificAssetId other) { + return (that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getName().equals(other.getName()) + && that.getValue().equals(other.getValue()) + && that.getExternalSubjectId().equals(other.getExternalSubjectId())); + } + + private static Boolean SubmodelShallowEquals(Submodel that, Submodel other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getAdministration().equals(other.getAdministration()) + && that.getId().equals(other.getId()) + && that.getKind().equals(other.getKind()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getSubmodelElements().equals(other.getSubmodelElements())); + } + + private static Boolean RelationshipElementShallowEquals( + RelationshipElement that, RelationshipElement other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getFirst().equals(other.getFirst()) + && that.getSecond().equals(other.getSecond())); + } + + private static Boolean SubmodelElementListShallowEquals( + SubmodelElementList that, SubmodelElementList other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getOrderRelevant().equals(other.getOrderRelevant()) + && that.getSemanticIdListElement().equals(other.getSemanticIdListElement()) + && that.getTypeValueListElement().equals(other.getTypeValueListElement()) + && that.getValueTypeListElement().equals(other.getValueTypeListElement()) + && that.getValue().equals(other.getValue())); + } + + private static Boolean SubmodelElementCollectionShallowEquals( + SubmodelElementCollection that, SubmodelElementCollection other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getValue().equals(other.getValue())); + } + + private static Boolean PropertyShallowEquals(Property that, Property other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getValueType().equals(other.getValueType()) + && that.getValue().equals(other.getValue()) + && that.getValueId().equals(other.getValueId())); + } + + private static Boolean MultiLanguagePropertyShallowEquals( + MultiLanguageProperty that, MultiLanguageProperty other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getValue().equals(other.getValue()) + && that.getValueId().equals(other.getValueId())); + } + + private static Boolean RangeShallowEquals(Range that, Range other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getValueType().equals(other.getValueType()) + && that.getMin().equals(other.getMin()) + && that.getMax().equals(other.getMax())); + } + + private static Boolean ReferenceElementShallowEquals( + ReferenceElement that, ReferenceElement other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getValue().equals(other.getValue())); + } + + private static Boolean BlobShallowEquals(Blob that, Blob other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getValue().equals(other.getValue()) + && that.getContentType().equals(other.getContentType())); + } + + private static Boolean FileShallowEquals(File that, File other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getValue().equals(other.getValue()) + && that.getContentType().equals(other.getContentType())); + } + + private static Boolean AnnotatedRelationshipElementShallowEquals( + AnnotatedRelationshipElement that, AnnotatedRelationshipElement other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getFirst().equals(other.getFirst()) + && that.getSecond().equals(other.getSecond()) + && that.getAnnotations().equals(other.getAnnotations())); + } + + private static Boolean EntityShallowEquals(Entity that, Entity other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getStatements().equals(other.getStatements()) + && that.getEntityType().equals(other.getEntityType()) + && that.getGlobalAssetId().equals(other.getGlobalAssetId()) + && that.getSpecificAssetIds().equals(other.getSpecificAssetIds())); + } + + private static Boolean EventPayloadShallowEquals(EventPayload that, EventPayload other) { + return (that.getSource().equals(other.getSource()) + && that.getSourceSemanticId().equals(other.getSourceSemanticId()) + && that.getObservableReference().equals(other.getObservableReference()) + && that.getObservableSemanticId().equals(other.getObservableSemanticId()) + && that.getTopic().equals(other.getTopic()) + && that.getSubjectId().equals(other.getSubjectId()) + && that.getTimeStamp().equals(other.getTimeStamp()) + && that.getPayload().equals(other.getPayload())); + } + + private static Boolean BasicEventElementShallowEquals( + BasicEventElement that, BasicEventElement other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getObserved().equals(other.getObserved()) + && that.getDirection().equals(other.getDirection()) + && that.getState().equals(other.getState()) + && that.getMessageTopic().equals(other.getMessageTopic()) + && that.getMessageBroker().equals(other.getMessageBroker()) + && that.getLastUpdate().equals(other.getLastUpdate()) + && that.getMinInterval().equals(other.getMinInterval()) + && that.getMaxInterval().equals(other.getMaxInterval())); + } + + private static Boolean OperationShallowEquals(Operation that, Operation other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getInputVariables().equals(other.getInputVariables()) + && that.getOutputVariables().equals(other.getOutputVariables()) + && that.getInoutputVariables().equals(other.getInoutputVariables())); + } + + private static Boolean OperationVariableShallowEquals( + OperationVariable that, OperationVariable other) { + return that.getValue().equals(other.getValue()); + } + + private static Boolean CapabilityShallowEquals(Capability that, Capability other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications())); + } + + private static Boolean ConceptDescriptionShallowEquals( + ConceptDescription that, ConceptDescription other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getAdministration().equals(other.getAdministration()) + && that.getId().equals(other.getId()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getIsCaseOf().equals(other.getIsCaseOf())); + } + + private static Boolean ReferenceShallowEquals(Reference that, Reference other) { + return (that.getType().equals(other.getType()) + && that.getReferredSemanticId().equals(other.getReferredSemanticId()) + && that.getKeys().equals(other.getKeys())); + } + + private static Boolean KeyShallowEquals(Key that, Key other) { + return (that.getType().equals(other.getType()) && that.getValue().equals(other.getValue())); + } + + private static Boolean LangStringNameTypeShallowEquals( + LangStringNameType that, LangStringNameType other) { + return (that.getLanguage().equals(other.getLanguage()) + && that.getText().equals(other.getText())); + } + + private static Boolean LangStringTextTypeShallowEquals( + LangStringTextType that, LangStringTextType other) { + return (that.getLanguage().equals(other.getLanguage()) + && that.getText().equals(other.getText())); + } + + private static Boolean EnvironmentShallowEquals(Environment that, Environment other) { + return (that.getAssetAdministrationShells().equals(other.getAssetAdministrationShells()) + && that.getSubmodels().equals(other.getSubmodels()) + && that.getConceptDescriptions().equals(other.getConceptDescriptions())); + } + + private static Boolean EmbeddedDataSpecificationShallowEquals( + EmbeddedDataSpecification that, EmbeddedDataSpecification other) { + return (that.getDataSpecification().equals(other.getDataSpecification()) + && that.getDataSpecificationContent().equals(other.getDataSpecificationContent())); + } + + private static Boolean LevelTypeShallowEquals(LevelType that, LevelType other) { + return (that.getMin().equals(other.getMin()) + && that.getNom().equals(other.getNom()) + && that.getTyp().equals(other.getTyp()) + && that.getMax().equals(other.getMax())); + } + + private static Boolean ValueReferencePairShallowEquals( + ValueReferencePair that, ValueReferencePair other) { + return (that.getValue().equals(other.getValue()) + && that.getValueId().equals(other.getValueId())); + } + + private static Boolean ValueListShallowEquals(ValueList that, ValueList other) { + return that.getValueReferencePairs().equals(other.getValueReferencePairs()); + } + + private static Boolean LangStringPreferredNameTypeIec61360ShallowEquals( + LangStringPreferredNameTypeIec61360 that, LangStringPreferredNameTypeIec61360 other) { + return (that.getLanguage().equals(other.getLanguage()) + && that.getText().equals(other.getText())); + } + + private static Boolean LangStringShortNameTypeIec61360ShallowEquals( + LangStringShortNameTypeIec61360 that, LangStringShortNameTypeIec61360 other) { + return (that.getLanguage().equals(other.getLanguage()) + && that.getText().equals(other.getText())); + } + + private static Boolean LangStringDefinitionTypeIec61360ShallowEquals( + LangStringDefinitionTypeIec61360 that, LangStringDefinitionTypeIec61360 other) { + return (that.getLanguage().equals(other.getLanguage()) + && that.getText().equals(other.getText())); + } + + private static Boolean LangStringUomShallowEquals(LangStringUom that, LangStringUom other) { + return (that.getLanguage().equals(other.getLanguage()) + && that.getText().equals(other.getText())); + } + + private static Boolean DefinitionTypeUomShallowEquals( + DefinitionTypeUom that, DefinitionTypeUom other) { + return (that.getLanguage().equals(other.getLanguage()) + && that.getText().equals(other.getText())); + } + + private static Boolean DataSpecificationUomShallowEquals( + DataSpecificationUom that, DataSpecificationUom other) { + return (that.getPreferredName().equals(other.getPreferredName()) + && that.getSymbol().equals(other.getSymbol()) + && that.getSpecificUnitId().equals(other.getSpecificUnitId()) + && that.getDefinition().equals(other.getDefinition()) + && that.getPreferredNameQuantity().equals(other.getPreferredNameQuantity()) + && that.getQuantityId().equals(other.getQuantityId()) + && that.getClassificationSystem().equals(other.getClassificationSystem()) + && that.getClassificationSystemVersion().equals(other.getClassificationSystemVersion())); + } + + private static Boolean DataSpecificationIec61360ShallowEquals( + DataSpecificationIec61360 that, DataSpecificationIec61360 other) { + return (that.getPreferredName().equals(other.getPreferredName()) + && that.getShortName().equals(other.getShortName()) + && that.getUnit().equals(other.getUnit()) + && that.getUnitId().equals(other.getUnitId()) + && that.getSourceOfDefinition().equals(other.getSourceOfDefinition()) + && that.getSymbol().equals(other.getSymbol()) + && that.getDataType().equals(other.getDataType()) + && that.getDefinition().equals(other.getDefinition()) + && that.getValueFormat().equals(other.getValueFormat()) + && that.getValueList().equals(other.getValueList()) + && that.getValue().equals(other.getValue()) + && that.getLevelType().equals(other.getLevelType())); + } + + private static Boolean AssetAdministrationShellDescriptorShallowEquals( + AssetAdministrationShellDescriptor that, AssetAdministrationShellDescriptor other) { + return (that.getDescription().equals(other.getDescription()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getExtensions().equals(other.getExtensions()) + && that.getId().equals(other.getId()) + && that.getAdministration().equals(other.getAdministration()) + && that.getAssetKind().equals(other.getAssetKind()) + && that.getAssetType().equals(other.getAssetType()) + && that.getEndpoints().equals(other.getEndpoints()) + && that.getGlobalAssetId().equals(other.getGlobalAssetId()) + && that.getIdShort().equals(other.getIdShort()) + && that.getSpecificAssetIds().equals(other.getSpecificAssetIds()) + && that.getSubmodelDescriptors().equals(other.getSubmodelDescriptors())); + } + + private static Boolean SubmodelDescriptorShallowEquals( + SubmodelDescriptor that, SubmodelDescriptor other) { + return (that.getDescription().equals(other.getDescription()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getExtensions().equals(other.getExtensions()) + && that.getEndpoints().equals(other.getEndpoints()) + && that.getId().equals(other.getId()) + && that.getAdministration().equals(other.getAdministration()) + && that.getIdShort().equals(other.getIdShort()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds())); + } + + private static Boolean EndpointShallowEquals(Endpoint that, Endpoint other) { + return (that.getProtocolInformation().equals(other.getProtocolInformation()) + && that.getInterface().equals(other.getInterface())); + } + + private static Boolean ProtocolInformationShallowEquals( + ProtocolInformation that, ProtocolInformation other) { + return (that.getHref().equals(other.getHref()) + && that.getEndpointProtocol().equals(other.getEndpointProtocol()) + && that.getEndpointProtocolVersion().equals(other.getEndpointProtocolVersion()) + && that.getSubprotocol().equals(other.getSubprotocol()) + && that.getSubprotocolBody().equals(other.getSubprotocolBody()) + && that.getSubprotocolBodyEncoding().equals(other.getSubprotocolBodyEncoding()) + && that.getSecurityAttributes().equals(other.getSecurityAttributes())); + } + + private static Boolean SecurityAttributeObjectShallowEquals( + SecurityAttributeObject that, SecurityAttributeObject other) { + return (that.getType().equals(other.getType()) + && that.getKey().equals(other.getKey()) + && that.getValue().equals(other.getValue())); + } + + private static Boolean AssetLinkShallowEquals(AssetLink that, AssetLink other) { + return (that.getName().equals(other.getName()) && that.getValue().equals(other.getValue())); + } + + private static Boolean ServiceDescriptionShallowEquals( + ServiceDescription that, ServiceDescription other) { + return that.getProfiles().equals(other.getProfiles()); + } + + private static Boolean AssetAdministrationShellRecentChangeShallowEquals( + AssetAdministrationShellRecentChange that, AssetAdministrationShellRecentChange other) { + return (that.getCreatedAt().equals(other.getCreatedAt()) + && that.getUpdatedAt().equals(other.getUpdatedAt()) + && that.getId().equals(other.getId()) + && that.getGlobalAssetId().equals(other.getGlobalAssetId()) + && that.getSpecificAssetIds().equals(other.getSpecificAssetIds())); + } + + private static Boolean ConceptDescriptionRecentChangeShallowEquals( + ConceptDescriptionRecentChange that, ConceptDescriptionRecentChange other) { + return (that.getCreatedAt().equals(other.getCreatedAt()) + && that.getUpdatedAt().equals(other.getUpdatedAt()) + && that.getId().equals(other.getId())); + } + + private static Boolean SubmodelRecentChangeShallowEquals( + SubmodelRecentChange that, SubmodelRecentChange other) { + return (that.getCreatedAt().equals(other.getCreatedAt()) + && that.getUpdatedAt().equals(other.getUpdatedAt()) + && that.getId().equals(other.getId()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds())); + } + + private static Boolean ResultShallowEquals(Result that, Result other) { + return that.getMessages().equals(other.getMessages()); + } + + private static Boolean MessageShallowEquals(Message that, Message other) { + return (that.getMessageType().equals(other.getMessageType()) + && that.getText().equals(other.getText()) + && that.getCode().equals(other.getCode()) + && that.getCorrelationId().equals(other.getCorrelationId()) + && that.getTimestamp().equals(other.getTimestamp())); + } + + private static Boolean OperationRequestShallowEquals( + OperationRequest that, OperationRequest other) { + return (that.getInputArguments().equals(other.getInputArguments()) + && that.getInoutputArguments().equals(other.getInoutputArguments()) + && that.getClientTimeoutDuration().equals(other.getClientTimeoutDuration())); + } + + private static Boolean OperationRequestAsyncShallowEquals( + OperationRequestAsync that, OperationRequestAsync other) { + return (that.getInputArguments().equals(other.getInputArguments()) + && that.getInoutputArguments().equals(other.getInoutputArguments()) + && that.getClientTimeoutDuration().equals(other.getClientTimeoutDuration())); + } + + private static Boolean OperationRequestValueOnlyShallowEquals( + OperationRequestValueOnly that, OperationRequestValueOnly other) { + return (that.getInputArguments().equals(other.getInputArguments()) + && that.getInoutputArguments().equals(other.getInoutputArguments()) + && that.getClientTimeoutDuration().equals(other.getClientTimeoutDuration())); + } + + private static Boolean OperationRequestAsyncValueOnlyShallowEquals( + OperationRequestAsyncValueOnly that, OperationRequestAsyncValueOnly other) { + return (that.getInputArguments().equals(other.getInputArguments()) + && that.getInoutputArguments().equals(other.getInoutputArguments()) + && that.getClientTimeoutDuration().equals(other.getClientTimeoutDuration())); + } + + private static Boolean BaseOperationResultShallowEquals( + BaseOperationResult that, BaseOperationResult other) { + return (that.getExecutionState().equals(other.getExecutionState()) + && that.getMessages().equals(other.getMessages()) + && that.getSuccess().equals(other.getSuccess())); + } + + private static Boolean OperationResultShallowEquals(OperationResult that, OperationResult other) { + return (that.getExecutionState().equals(other.getExecutionState()) + && that.getMessages().equals(other.getMessages()) + && that.getSuccess().equals(other.getSuccess()) + && that.getOutputArguments().equals(other.getOutputArguments()) + && that.getInoutputArguments().equals(other.getInoutputArguments())); + } + + private static Boolean OperationResultValueOnlyShallowEquals( + OperationResultValueOnly that, OperationResultValueOnly other) { + return (that.getExecutionState().equals(other.getExecutionState()) + && that.getMessages().equals(other.getMessages()) + && that.getSuccess().equals(other.getSuccess()) + && that.getOutputArguments().equals(other.getOutputArguments()) + && that.getInoutputArguments().equals(other.getInoutputArguments())); + } + + private static Boolean OperationHandleShallowEquals(OperationHandle that, OperationHandle other) { + return that.getHandleId().equals(other.getHandleId()); + } + + private static Boolean PagedResultShallowEquals(PagedResult that, PagedResult other) { + return (that.getResult().equals(other.getResult()) + && that.getPagingMetadata().equals(other.getPagingMetadata())); + } + + private static Boolean PagingMetadataShallowEquals(PagingMetadata that, PagingMetadata other) { + return that.getCursor().equals(other.getCursor()); + } + + private static Boolean PackageDescriptionShallowEquals( + PackageDescription that, PackageDescription other) { + return (that.getPackageId().equals(other.getPackageId()) + && that.getAasIds().equals(other.getAasIds())); + } + + private static Boolean PropertyMetadataShallowEquals( + PropertyMetadata that, PropertyMetadata other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getValueType().equals(other.getValueType())); + } + + private static Boolean RangeMetadataShallowEquals(RangeMetadata that, RangeMetadata other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getValueType().equals(other.getValueType())); + } + + private static Boolean BlobMetadataShallowEquals(BlobMetadata that, BlobMetadata other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications())); + } + + private static Boolean FileMetadataShallowEquals(FileMetadata that, FileMetadata other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications())); + } + + private static Boolean MultiLanguagePropertyMetadataShallowEquals( + MultiLanguagePropertyMetadata that, MultiLanguagePropertyMetadata other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications())); + } + + private static Boolean ReferenceElementMetadataShallowEquals( + ReferenceElementMetadata that, ReferenceElementMetadata other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications())); + } + + private static Boolean RelationshipElementMetadataShallowEquals( + RelationshipElementMetadata that, RelationshipElementMetadata other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications())); + } + + private static Boolean AnnotatedRelationshipElementMetadataShallowEquals( + AnnotatedRelationshipElementMetadata that, AnnotatedRelationshipElementMetadata other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications())); + } + + private static Boolean EntityMetadataShallowEquals(EntityMetadata that, EntityMetadata other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications())); + } + + private static Boolean CapabilityMetadataShallowEquals( + CapabilityMetadata that, CapabilityMetadata other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications())); + } + + private static Boolean OperationMetadataShallowEquals( + OperationMetadata that, OperationMetadata other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications())); + } + + private static Boolean SubmodelElementCollectionMetadataShallowEquals( + SubmodelElementCollectionMetadata that, SubmodelElementCollectionMetadata other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications())); + } + + private static Boolean BasicEventElementMetadataShallowEquals( + BasicEventElementMetadata that, BasicEventElementMetadata other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getDirection().equals(other.getDirection()) + && that.getState().equals(other.getState()) + && that.getMessageTopic().equals(other.getMessageTopic()) + && that.getMessageBroker().equals(other.getMessageBroker()) + && that.getLastUpdate().equals(other.getLastUpdate()) + && that.getMinInterval().equals(other.getMinInterval()) + && that.getMaxInterval().equals(other.getMaxInterval())); + } + + private static Boolean SubmodelElementListMetadataShallowEquals( + SubmodelElementListMetadata that, SubmodelElementListMetadata other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getOrderRelevant().equals(other.getOrderRelevant()) + && that.getSemanticIdListElement().equals(other.getSemanticIdListElement()) + && that.getTypeValueListElement().equals(other.getTypeValueListElement()) + && that.getValueTypeListElement().equals(other.getValueTypeListElement())); + } + + private static Boolean SubmodelMetadataShallowEquals( + SubmodelMetadata that, SubmodelMetadata other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getAdministration().equals(other.getAdministration()) + && that.getId().equals(other.getId()) + && that.getKind().equals(other.getKind()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications())); + } + + private static Boolean AssetAdministrationShellMetadataShallowEquals( + AssetAdministrationShellMetadata that, AssetAdministrationShellMetadata other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getAdministration().equals(other.getAdministration()) + && that.getId().equals(other.getId()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getDerivedFrom().equals(other.getDerivedFrom())); + } + + private static Boolean ReferenceElementValueShallowEquals( + ReferenceElementValue that, ReferenceElementValue other) { + return (that.getType().equals(other.getType()) + && that.getKeys().equals(other.getKeys()) + && that.getReferredSemanticId().equals(other.getReferredSemanticId())); + } + + private static Boolean BlobValueShallowEquals(BlobValue that, BlobValue other) { + return (that.getContentType().equals(other.getContentType()) + && that.getValue().equals(other.getValue())); + } + + private static Boolean FileValueShallowEquals(FileValue that, FileValue other) { + return (that.getContentType().equals(other.getContentType()) + && that.getValue().equals(other.getValue())); + } + + private static Boolean RangeValueShallowEquals(RangeValue that, RangeValue other) { + return (that.getMin().equals(other.getMin()) && that.getMax().equals(other.getMax())); + } + + private static Boolean RelationshipElementValueShallowEquals( + RelationshipElementValue that, RelationshipElementValue other) { + return (that.getFirst().equals(other.getFirst()) && that.getSecond().equals(other.getSecond())); + } + + private static Boolean BasicEventElementValueShallowEquals( + BasicEventElementValue that, BasicEventElementValue other) { + return that.getObserved().equals(other.getObserved()); + } + + private static Boolean AnnotatedRelationshipElementValueShallowEquals( + AnnotatedRelationshipElementValue that, AnnotatedRelationshipElementValue other) { + return (that.getFirst().equals(other.getFirst()) + && that.getSecond().equals(other.getSecond()) + && that.getAnnotations().equals(other.getAnnotations())); + } + + private static Boolean EntityValueShallowEquals(EntityValue that, EntityValue other) { + return (that.getEntityType().equals(other.getEntityType()) + && that.getGlobalAssetId().equals(other.getGlobalAssetId()) + && that.getSpecificAssetIds().equals(other.getSpecificAssetIds()) + && that.getStatements().equals(other.getStatements())); + } + + private static Boolean GetAssetAdministrationShellsResultShallowEquals( + GetAssetAdministrationShellsResult that, GetAssetAdministrationShellsResult other) { + return (that.getPagingMetadata().equals(other.getPagingMetadata()) + && that.getResult().equals(other.getResult())); + } + + private static Boolean GetAssetAdministrationShellsMetadataResultShallowEquals( + GetAssetAdministrationShellsMetadataResult that, + GetAssetAdministrationShellsMetadataResult other) { + return (that.getPagingMetadata().equals(other.getPagingMetadata()) + && that.getResult().equals(other.getResult())); + } + + private static Boolean GetAllAssetAdministrationShellsRecentChangesResultShallowEquals( + GetAllAssetAdministrationShellsRecentChangesResult that, + GetAllAssetAdministrationShellsRecentChangesResult other) { + return (that.getPagingMetadata().equals(other.getPagingMetadata()) + && that.getResult().equals(other.getResult())); + } + + private static Boolean GetAssetAdministrationShellDescriptorsResultShallowEquals( + GetAssetAdministrationShellDescriptorsResult that, + GetAssetAdministrationShellDescriptorsResult other) { + return (that.getPagingMetadata().equals(other.getPagingMetadata()) + && that.getResult().equals(other.getResult())); + } + + private static Boolean GetConceptDescriptionsResultShallowEquals( + GetConceptDescriptionsResult that, GetConceptDescriptionsResult other) { + return (that.getPagingMetadata().equals(other.getPagingMetadata()) + && that.getResult().equals(other.getResult())); + } + + private static Boolean GetAllConceptDescriptionsRecentChangesResultShallowEquals( + GetAllConceptDescriptionsRecentChangesResult that, + GetAllConceptDescriptionsRecentChangesResult other) { + return (that.getPagingMetadata().equals(other.getPagingMetadata()) + && that.getResult().equals(other.getResult())); + } + + private static Boolean GetPackageDescriptionsResultShallowEquals( + GetPackageDescriptionsResult that, GetPackageDescriptionsResult other) { + return (that.getPagingMetadata().equals(other.getPagingMetadata()) + && that.getResult().equals(other.getResult())); + } + + private static Boolean GetPathItemsResultShallowEquals( + GetPathItemsResult that, GetPathItemsResult other) { + return (that.getPagingMetadata().equals(other.getPagingMetadata()) + && that.getResult().equals(other.getResult())); + } + + private static Boolean GetReferencesResultShallowEquals( + GetReferencesResult that, GetReferencesResult other) { + return (that.getPagingMetadata().equals(other.getPagingMetadata()) + && that.getResult().equals(other.getResult())); + } + + private static Boolean GetSubmodelDescriptorsResultShallowEquals( + GetSubmodelDescriptorsResult that, GetSubmodelDescriptorsResult other) { + return (that.getPagingMetadata().equals(other.getPagingMetadata()) + && that.getResult().equals(other.getResult())); + } + + private static Boolean GetSubmodelElementsMetadataResultShallowEquals( + GetSubmodelElementsMetadataResult that, GetSubmodelElementsMetadataResult other) { + return (that.getPagingMetadata().equals(other.getPagingMetadata()) + && that.getResult().equals(other.getResult())); + } + + private static Boolean GetSubmodelElementsResultShallowEquals( + GetSubmodelElementsResult that, GetSubmodelElementsResult other) { + return (that.getPagingMetadata().equals(other.getPagingMetadata()) + && that.getResult().equals(other.getResult())); + } + + private static Boolean GetSubmodelElementsValueResultShallowEquals( + GetSubmodelElementsValueResult that, GetSubmodelElementsValueResult other) { + return (that.getPagingMetadata().equals(other.getPagingMetadata()) + && that.getResult().equals(other.getResult())); + } + + private static Boolean GetAllSubmodelsRecentChangesResultShallowEquals( + GetAllSubmodelsRecentChangesResult that, GetAllSubmodelsRecentChangesResult other) { + return (that.getPagingMetadata().equals(other.getPagingMetadata()) + && that.getResult().equals(other.getResult())); + } + + private static Boolean GetSubmodelsMetadataResultShallowEquals( + GetSubmodelsMetadataResult that, GetSubmodelsMetadataResult other) { + return (that.getPagingMetadata().equals(other.getPagingMetadata()) + && that.getResult().equals(other.getResult())); + } + + private static Boolean GetSubmodelsResultShallowEquals( + GetSubmodelsResult that, GetSubmodelsResult other) { + return (that.getPagingMetadata().equals(other.getPagingMetadata()) + && that.getResult().equals(other.getResult())); + } + + private static Boolean GetSubmodelsValueResultShallowEquals( + GetSubmodelsValueResult that, GetSubmodelsValueResult other) { + return (that.getPagingMetadata().equals(other.getPagingMetadata()) + && that.getResult().equals(other.getResult())); + } + + private static Boolean ClaimAttributeShallowEquals(ClaimAttribute that, ClaimAttribute other) { + return that.getClaim().equals(other.getClaim()); + } + + private static Boolean GlobalAttributeShallowEquals(GlobalAttribute that, GlobalAttribute other) { + return that.getKind().equals(other.getKind()); + } + + private static Boolean ReferenceAttributeShallowEquals( + ReferenceAttribute that, ReferenceAttribute other) { + return that.getReference().equals(other.getReference()); + } + + private static Boolean DateTimeAttributeItemShallowEquals( + DateTimeAttributeItem that, DateTimeAttributeItem other) { + return that.getKind().equals(other.getKind()); + } + + private static Boolean FieldOperandShallowEquals(FieldOperand that, FieldOperand other) { + return that.getField().equals(other.getField()); + } + + private static Boolean StringLiteralShallowEquals(StringLiteral that, StringLiteral other) { + return that.getStrVal().equals(other.getStrVal()); + } + + private static Boolean AttributeOperandShallowEquals( + AttributeOperand that, AttributeOperand other) { + return that.getAttribute().equals(other.getAttribute()); + } + + private static Boolean NumberLiteralShallowEquals(NumberLiteral that, NumberLiteral other) { + return that.getNumVal().equals(other.getNumVal()); + } + + private static Boolean HexLiteralShallowEquals(HexLiteral that, HexLiteral other) { + return that.getHexVal().equals(other.getHexVal()); + } + + private static Boolean DateTimeLiteralShallowEquals(DateTimeLiteral that, DateTimeLiteral other) { + return that.getDateTimeVal().equals(other.getDateTimeVal()); + } + + private static Boolean TimeLiteralShallowEquals(TimeLiteral that, TimeLiteral other) { + return that.getTimeVal().equals(other.getTimeVal()); + } + + private static Boolean BooleanLiteralShallowEquals(BooleanLiteral that, BooleanLiteral other) { + return that.getBoolean().equals(other.getBoolean()); + } + + private static Boolean StringCastShallowEquals(StringCast that, StringCast other) { + return that.getStrCast().equals(other.getStrCast()); + } + + private static Boolean NumberCastShallowEquals(NumberCast that, NumberCast other) { + return that.getNumCast().equals(other.getNumCast()); + } + + private static Boolean HexCastShallowEquals(HexCast that, HexCast other) { + return that.getHexCast().equals(other.getHexCast()); + } + + private static Boolean BooleanCastShallowEquals(BooleanCast that, BooleanCast other) { + return that.getBoolCast().equals(other.getBoolCast()); + } + + private static Boolean DateTimeCastShallowEquals(DateTimeCast that, DateTimeCast other) { + return that.getDateTimeCast().equals(other.getDateTimeCast()); + } + + private static Boolean TimeCastShallowEquals(TimeCast that, TimeCast other) { + return that.getTimeCast().equals(other.getTimeCast()); + } + + private static Boolean DayOfWeekShallowEquals(DayOfWeek that, DayOfWeek other) { + return that.getDayOfWeek().equals(other.getDayOfWeek()); + } + + private static Boolean DayOfMonthShallowEquals(DayOfMonth that, DayOfMonth other) { + return that.getDayOfMonth().equals(other.getDayOfMonth()); + } + + private static Boolean MonthShallowEquals(Month that, Month other) { + return that.getMonth().equals(other.getMonth()); + } + + private static Boolean YearShallowEquals(Year that, Year other) { + return that.getYear().equals(other.getYear()); + } + + private static Boolean DateTimeAttributeOperandShallowEquals( + DateTimeAttributeOperand that, DateTimeAttributeOperand other) { + return that.getAttribute().equals(other.getAttribute()); + } + + private static Boolean EqualComparisonShallowEquals(EqualComparison that, EqualComparison other) { + return that.getEq().equals(other.getEq()); + } + + private static Boolean NotEqualComparisonShallowEquals( + NotEqualComparison that, NotEqualComparison other) { + return that.getNe().equals(other.getNe()); + } + + private static Boolean GreaterThanComparisonShallowEquals( + GreaterThanComparison that, GreaterThanComparison other) { + return that.getGt().equals(other.getGt()); + } + + private static Boolean GreaterThanOrEqualComparisonShallowEquals( + GreaterThanOrEqualComparison that, GreaterThanOrEqualComparison other) { + return that.getGe().equals(other.getGe()); + } + + private static Boolean LessThanComparisonShallowEquals( + LessThanComparison that, LessThanComparison other) { + return that.getLt().equals(other.getLt()); + } + + private static Boolean LessThanOrEqualComparisonShallowEquals( + LessThanOrEqualComparison that, LessThanOrEqualComparison other) { + return that.getLe().equals(other.getLe()); + } + + private static Boolean ContainsComparisonShallowEquals( + ContainsComparison that, ContainsComparison other) { + return that.getContains().equals(other.getContains()); + } + + private static Boolean StartsWithComparisonShallowEquals( + StartsWithComparison that, StartsWithComparison other) { + return that.getStartsWith().equals(other.getStartsWith()); + } + + private static Boolean EndsWithComparisonShallowEquals( + EndsWithComparison that, EndsWithComparison other) { + return that.getEndsWith().equals(other.getEndsWith()); + } + + private static Boolean RegexComparisonShallowEquals(RegexComparison that, RegexComparison other) { + return that.getRegex().equals(other.getRegex()); + } + + private static Boolean MatchClauseShallowEquals(MatchClause that, MatchClause other) { + return that.getMatchOperands().equals(other.getMatchOperands()); + } + + private static Boolean AndExpressionShallowEquals(AndExpression that, AndExpression other) { + return that.getAndOperands().equals(other.getAndOperands()); + } + + private static Boolean OrExpressionShallowEquals(OrExpression that, OrExpression other) { + return that.getOrOperands().equals(other.getOrOperands()); + } + + private static Boolean NotExpressionShallowEquals(NotExpression that, NotExpression other) { + return that.getNotOperand().equals(other.getNotOperand()); + } + + private static Boolean QueryFilterShallowEquals(QueryFilter that, QueryFilter other) { + return (that.getFragment().equals(other.getFragment()) + && that.getCondition().equals(other.getCondition())); + } + + private static Boolean QueryShallowEquals(Query that, Query other) { + return (that.getSelect().equals(other.getSelect()) + && that.getCondition().equals(other.getCondition()) + && that.getFilters().equals(other.getFilters())); + } + + private static Boolean ExtensionDeepEquals(Extension that, Extension other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean AdministrativeInformationDeepEquals( + AdministrativeInformation that, AdministrativeInformation other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean QualifierDeepEquals(Qualifier that, Qualifier other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean AssetAdministrationShellDeepEquals( + AssetAdministrationShell that, AssetAdministrationShell other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean AssetInformationDeepEquals(AssetInformation that, AssetInformation other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean ResourceDeepEquals(Resource that, Resource other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean SpecificAssetIdDeepEquals(SpecificAssetId that, SpecificAssetId other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean SubmodelDeepEquals(Submodel that, Submodel other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean RelationshipElementDeepEquals( + RelationshipElement that, RelationshipElement other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean SubmodelElementListDeepEquals( + SubmodelElementList that, SubmodelElementList other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean SubmodelElementCollectionDeepEquals( + SubmodelElementCollection that, SubmodelElementCollection other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean PropertyDeepEquals(Property that, Property other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean MultiLanguagePropertyDeepEquals( + MultiLanguageProperty that, MultiLanguageProperty other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean RangeDeepEquals(Range that, Range other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean ReferenceElementDeepEquals(ReferenceElement that, ReferenceElement other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean BlobDeepEquals(Blob that, Blob other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean FileDeepEquals(File that, File other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean AnnotatedRelationshipElementDeepEquals( + AnnotatedRelationshipElement that, AnnotatedRelationshipElement other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean EntityDeepEquals(Entity that, Entity other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean EventPayloadDeepEquals(EventPayload that, EventPayload other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean BasicEventElementDeepEquals( + BasicEventElement that, BasicEventElement other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean OperationDeepEquals(Operation that, Operation other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean OperationVariableDeepEquals( + OperationVariable that, OperationVariable other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean CapabilityDeepEquals(Capability that, Capability other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean ConceptDescriptionDeepEquals( + ConceptDescription that, ConceptDescription other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean ReferenceDeepEquals(Reference that, Reference other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean KeyDeepEquals(Key that, Key other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean LangStringNameTypeDeepEquals( + LangStringNameType that, LangStringNameType other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean LangStringTextTypeDeepEquals( + LangStringTextType that, LangStringTextType other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean EnvironmentDeepEquals(Environment that, Environment other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean EmbeddedDataSpecificationDeepEquals( + EmbeddedDataSpecification that, EmbeddedDataSpecification other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean LevelTypeDeepEquals(LevelType that, LevelType other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean ValueReferencePairDeepEquals( + ValueReferencePair that, ValueReferencePair other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean ValueListDeepEquals(ValueList that, ValueList other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean LangStringPreferredNameTypeIec61360DeepEquals( + LangStringPreferredNameTypeIec61360 that, LangStringPreferredNameTypeIec61360 other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean LangStringShortNameTypeIec61360DeepEquals( + LangStringShortNameTypeIec61360 that, LangStringShortNameTypeIec61360 other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean LangStringDefinitionTypeIec61360DeepEquals( + LangStringDefinitionTypeIec61360 that, LangStringDefinitionTypeIec61360 other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean LangStringUomDeepEquals(LangStringUom that, LangStringUom other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean DefinitionTypeUomDeepEquals( + DefinitionTypeUom that, DefinitionTypeUom other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean DataSpecificationUomDeepEquals( + DataSpecificationUom that, DataSpecificationUom other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean DataSpecificationIec61360DeepEquals( + DataSpecificationIec61360 that, DataSpecificationIec61360 other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean AssetAdministrationShellDescriptorDeepEquals( + AssetAdministrationShellDescriptor that, AssetAdministrationShellDescriptor other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean SubmodelDescriptorDeepEquals( + SubmodelDescriptor that, SubmodelDescriptor other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean EndpointDeepEquals(Endpoint that, Endpoint other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean ProtocolInformationDeepEquals( + ProtocolInformation that, ProtocolInformation other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean SecurityAttributeObjectDeepEquals( + SecurityAttributeObject that, SecurityAttributeObject other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean AssetLinkDeepEquals(AssetLink that, AssetLink other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean ServiceDescriptionDeepEquals( + ServiceDescription that, ServiceDescription other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean AssetAdministrationShellRecentChangeDeepEquals( + AssetAdministrationShellRecentChange that, AssetAdministrationShellRecentChange other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean ConceptDescriptionRecentChangeDeepEquals( + ConceptDescriptionRecentChange that, ConceptDescriptionRecentChange other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean SubmodelRecentChangeDeepEquals( + SubmodelRecentChange that, SubmodelRecentChange other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean ResultDeepEquals(Result that, Result other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean MessageDeepEquals(Message that, Message other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean OperationRequestDeepEquals(OperationRequest that, OperationRequest other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean OperationRequestAsyncDeepEquals( + OperationRequestAsync that, OperationRequestAsync other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean OperationRequestValueOnlyDeepEquals( + OperationRequestValueOnly that, OperationRequestValueOnly other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean OperationRequestAsyncValueOnlyDeepEquals( + OperationRequestAsyncValueOnly that, OperationRequestAsyncValueOnly other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean BaseOperationResultDeepEquals( + BaseOperationResult that, BaseOperationResult other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean OperationResultDeepEquals(OperationResult that, OperationResult other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean OperationResultValueOnlyDeepEquals( + OperationResultValueOnly that, OperationResultValueOnly other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean OperationHandleDeepEquals(OperationHandle that, OperationHandle other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean PagedResultDeepEquals(PagedResult that, PagedResult other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean PagingMetadataDeepEquals(PagingMetadata that, PagingMetadata other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean PackageDescriptionDeepEquals( + PackageDescription that, PackageDescription other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean PropertyMetadataDeepEquals(PropertyMetadata that, PropertyMetadata other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean RangeMetadataDeepEquals(RangeMetadata that, RangeMetadata other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean BlobMetadataDeepEquals(BlobMetadata that, BlobMetadata other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean FileMetadataDeepEquals(FileMetadata that, FileMetadata other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean MultiLanguagePropertyMetadataDeepEquals( + MultiLanguagePropertyMetadata that, MultiLanguagePropertyMetadata other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean ReferenceElementMetadataDeepEquals( + ReferenceElementMetadata that, ReferenceElementMetadata other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean RelationshipElementMetadataDeepEquals( + RelationshipElementMetadata that, RelationshipElementMetadata other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean AnnotatedRelationshipElementMetadataDeepEquals( + AnnotatedRelationshipElementMetadata that, AnnotatedRelationshipElementMetadata other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean EntityMetadataDeepEquals(EntityMetadata that, EntityMetadata other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean CapabilityMetadataDeepEquals( + CapabilityMetadata that, CapabilityMetadata other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean OperationMetadataDeepEquals( + OperationMetadata that, OperationMetadata other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean SubmodelElementCollectionMetadataDeepEquals( + SubmodelElementCollectionMetadata that, SubmodelElementCollectionMetadata other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean BasicEventElementMetadataDeepEquals( + BasicEventElementMetadata that, BasicEventElementMetadata other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean SubmodelElementListMetadataDeepEquals( + SubmodelElementListMetadata that, SubmodelElementListMetadata other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean SubmodelMetadataDeepEquals(SubmodelMetadata that, SubmodelMetadata other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean AssetAdministrationShellMetadataDeepEquals( + AssetAdministrationShellMetadata that, AssetAdministrationShellMetadata other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean ReferenceElementValueDeepEquals( + ReferenceElementValue that, ReferenceElementValue other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean BlobValueDeepEquals(BlobValue that, BlobValue other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean FileValueDeepEquals(FileValue that, FileValue other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean RangeValueDeepEquals(RangeValue that, RangeValue other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean RelationshipElementValueDeepEquals( + RelationshipElementValue that, RelationshipElementValue other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean BasicEventElementValueDeepEquals( + BasicEventElementValue that, BasicEventElementValue other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean AnnotatedRelationshipElementValueDeepEquals( + AnnotatedRelationshipElementValue that, AnnotatedRelationshipElementValue other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean EntityValueDeepEquals(EntityValue that, EntityValue other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean GetAssetAdministrationShellsResultDeepEquals( + GetAssetAdministrationShellsResult that, GetAssetAdministrationShellsResult other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean GetAssetAdministrationShellsMetadataResultDeepEquals( + GetAssetAdministrationShellsMetadataResult that, + GetAssetAdministrationShellsMetadataResult other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean GetAllAssetAdministrationShellsRecentChangesResultDeepEquals( + GetAllAssetAdministrationShellsRecentChangesResult that, + GetAllAssetAdministrationShellsRecentChangesResult other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean GetAssetAdministrationShellDescriptorsResultDeepEquals( + GetAssetAdministrationShellDescriptorsResult that, + GetAssetAdministrationShellDescriptorsResult other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean GetConceptDescriptionsResultDeepEquals( + GetConceptDescriptionsResult that, GetConceptDescriptionsResult other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean GetAllConceptDescriptionsRecentChangesResultDeepEquals( + GetAllConceptDescriptionsRecentChangesResult that, + GetAllConceptDescriptionsRecentChangesResult other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean GetPackageDescriptionsResultDeepEquals( + GetPackageDescriptionsResult that, GetPackageDescriptionsResult other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean GetPathItemsResultDeepEquals( + GetPathItemsResult that, GetPathItemsResult other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean GetReferencesResultDeepEquals( + GetReferencesResult that, GetReferencesResult other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean GetSubmodelDescriptorsResultDeepEquals( + GetSubmodelDescriptorsResult that, GetSubmodelDescriptorsResult other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean GetSubmodelElementsMetadataResultDeepEquals( + GetSubmodelElementsMetadataResult that, GetSubmodelElementsMetadataResult other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean GetSubmodelElementsResultDeepEquals( + GetSubmodelElementsResult that, GetSubmodelElementsResult other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean GetSubmodelElementsValueResultDeepEquals( + GetSubmodelElementsValueResult that, GetSubmodelElementsValueResult other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean GetAllSubmodelsRecentChangesResultDeepEquals( + GetAllSubmodelsRecentChangesResult that, GetAllSubmodelsRecentChangesResult other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean GetSubmodelsMetadataResultDeepEquals( + GetSubmodelsMetadataResult that, GetSubmodelsMetadataResult other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean GetSubmodelsResultDeepEquals( + GetSubmodelsResult that, GetSubmodelsResult other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean GetSubmodelsValueResultDeepEquals( + GetSubmodelsValueResult that, GetSubmodelsValueResult other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean ClaimAttributeDeepEquals(ClaimAttribute that, ClaimAttribute other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean GlobalAttributeDeepEquals(GlobalAttribute that, GlobalAttribute other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean ReferenceAttributeDeepEquals( + ReferenceAttribute that, ReferenceAttribute other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean DateTimeAttributeItemDeepEquals( + DateTimeAttributeItem that, DateTimeAttributeItem other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean FieldOperandDeepEquals(FieldOperand that, FieldOperand other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean StringLiteralDeepEquals(StringLiteral that, StringLiteral other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean AttributeOperandDeepEquals(AttributeOperand that, AttributeOperand other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean NumberLiteralDeepEquals(NumberLiteral that, NumberLiteral other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean HexLiteralDeepEquals(HexLiteral that, HexLiteral other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean DateTimeLiteralDeepEquals(DateTimeLiteral that, DateTimeLiteral other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean TimeLiteralDeepEquals(TimeLiteral that, TimeLiteral other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean BooleanLiteralDeepEquals(BooleanLiteral that, BooleanLiteral other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean StringCastDeepEquals(StringCast that, StringCast other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean NumberCastDeepEquals(NumberCast that, NumberCast other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean HexCastDeepEquals(HexCast that, HexCast other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean BooleanCastDeepEquals(BooleanCast that, BooleanCast other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean DateTimeCastDeepEquals(DateTimeCast that, DateTimeCast other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean TimeCastDeepEquals(TimeCast that, TimeCast other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean DayOfWeekDeepEquals(DayOfWeek that, DayOfWeek other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean DayOfMonthDeepEquals(DayOfMonth that, DayOfMonth other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean MonthDeepEquals(Month that, Month other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean YearDeepEquals(Year that, Year other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean DateTimeAttributeOperandDeepEquals( + DateTimeAttributeOperand that, DateTimeAttributeOperand other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean EqualComparisonDeepEquals(EqualComparison that, EqualComparison other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean NotEqualComparisonDeepEquals( + NotEqualComparison that, NotEqualComparison other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean GreaterThanComparisonDeepEquals( + GreaterThanComparison that, GreaterThanComparison other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean GreaterThanOrEqualComparisonDeepEquals( + GreaterThanOrEqualComparison that, GreaterThanOrEqualComparison other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean LessThanComparisonDeepEquals( + LessThanComparison that, LessThanComparison other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean LessThanOrEqualComparisonDeepEquals( + LessThanOrEqualComparison that, LessThanOrEqualComparison other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean ContainsComparisonDeepEquals( + ContainsComparison that, ContainsComparison other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean StartsWithComparisonDeepEquals( + StartsWithComparison that, StartsWithComparison other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean EndsWithComparisonDeepEquals( + EndsWithComparison that, EndsWithComparison other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean RegexComparisonDeepEquals(RegexComparison that, RegexComparison other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean MatchClauseDeepEquals(MatchClause that, MatchClause other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean AndExpressionDeepEquals(AndExpression that, AndExpression other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean OrExpressionDeepEquals(OrExpression that, OrExpression other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean NotExpressionDeepEquals(NotExpression that, NotExpression other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean QueryFilterDeepEquals(QueryFilter that, QueryFilter other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean QueryDeepEquals(Query that, Query other) { + return DeepEqualiserInstance.transform(that, other); + } + + @Test + public void testExtensionShallowCopy() throws IOException { + final Extension instance = CommonJsonization.loadMaximalExtension(); + final Extension instanceCopy = Copying.shallow(instance); + + assertTrue(ExtensionShallowEquals(instance, instanceCopy), "Extension"); + } // public void testExtensionShallowCopy + + @Test + public void testExtensionDeepCopy() throws IOException { + final Extension instance = CommonJsonization.loadMaximalExtension(); + final Extension instanceCopy = Copying.deep(instance); + + assertTrue(ExtensionDeepEquals(instance, instanceCopy), "Extension"); + } // public void testExtensionDeepCopy + + @Test + public void testAdministrativeInformationShallowCopy() throws IOException { + final AdministrativeInformation instance = + CommonJsonization.loadMaximalAdministrativeInformation(); + final AdministrativeInformation instanceCopy = Copying.shallow(instance); + + assertTrue( + AdministrativeInformationShallowEquals(instance, instanceCopy), + "AdministrativeInformation"); + } // public void testAdministrativeInformationShallowCopy + + @Test + public void testAdministrativeInformationDeepCopy() throws IOException { + final AdministrativeInformation instance = + CommonJsonization.loadMaximalAdministrativeInformation(); + final AdministrativeInformation instanceCopy = Copying.deep(instance); + + assertTrue( + AdministrativeInformationDeepEquals(instance, instanceCopy), "AdministrativeInformation"); + } // public void testAdministrativeInformationDeepCopy + + @Test + public void testQualifierShallowCopy() throws IOException { + final Qualifier instance = CommonJsonization.loadMaximalQualifier(); + final Qualifier instanceCopy = Copying.shallow(instance); + + assertTrue(QualifierShallowEquals(instance, instanceCopy), "Qualifier"); + } // public void testQualifierShallowCopy + + @Test + public void testQualifierDeepCopy() throws IOException { + final Qualifier instance = CommonJsonization.loadMaximalQualifier(); + final Qualifier instanceCopy = Copying.deep(instance); + + assertTrue(QualifierDeepEquals(instance, instanceCopy), "Qualifier"); + } // public void testQualifierDeepCopy + + @Test + public void testAssetAdministrationShellShallowCopy() throws IOException { + final AssetAdministrationShell instance = + CommonJsonization.loadMaximalAssetAdministrationShell(); + final AssetAdministrationShell instanceCopy = Copying.shallow(instance); + + assertTrue( + AssetAdministrationShellShallowEquals(instance, instanceCopy), "AssetAdministrationShell"); + } // public void testAssetAdministrationShellShallowCopy + + @Test + public void testAssetAdministrationShellDeepCopy() throws IOException { + final AssetAdministrationShell instance = + CommonJsonization.loadMaximalAssetAdministrationShell(); + final AssetAdministrationShell instanceCopy = Copying.deep(instance); + + assertTrue( + AssetAdministrationShellDeepEquals(instance, instanceCopy), "AssetAdministrationShell"); + } // public void testAssetAdministrationShellDeepCopy + + @Test + public void testAssetInformationShallowCopy() throws IOException { + final AssetInformation instance = CommonJsonization.loadMaximalAssetInformation(); + final AssetInformation instanceCopy = Copying.shallow(instance); + + assertTrue(AssetInformationShallowEquals(instance, instanceCopy), "AssetInformation"); + } // public void testAssetInformationShallowCopy + + @Test + public void testAssetInformationDeepCopy() throws IOException { + final AssetInformation instance = CommonJsonization.loadMaximalAssetInformation(); + final AssetInformation instanceCopy = Copying.deep(instance); + + assertTrue(AssetInformationDeepEquals(instance, instanceCopy), "AssetInformation"); + } // public void testAssetInformationDeepCopy + + @Test + public void testResourceShallowCopy() throws IOException { + final Resource instance = CommonJsonization.loadMaximalResource(); + final Resource instanceCopy = Copying.shallow(instance); + + assertTrue(ResourceShallowEquals(instance, instanceCopy), "Resource"); + } // public void testResourceShallowCopy + + @Test + public void testResourceDeepCopy() throws IOException { + final Resource instance = CommonJsonization.loadMaximalResource(); + final Resource instanceCopy = Copying.deep(instance); + + assertTrue(ResourceDeepEquals(instance, instanceCopy), "Resource"); + } // public void testResourceDeepCopy + + @Test + public void testSpecificAssetIdShallowCopy() throws IOException { + final SpecificAssetId instance = CommonJsonization.loadMaximalSpecificAssetId(); + final SpecificAssetId instanceCopy = Copying.shallow(instance); + + assertTrue(SpecificAssetIdShallowEquals(instance, instanceCopy), "SpecificAssetId"); + } // public void testSpecificAssetIdShallowCopy + + @Test + public void testSpecificAssetIdDeepCopy() throws IOException { + final SpecificAssetId instance = CommonJsonization.loadMaximalSpecificAssetId(); + final SpecificAssetId instanceCopy = Copying.deep(instance); + + assertTrue(SpecificAssetIdDeepEquals(instance, instanceCopy), "SpecificAssetId"); + } // public void testSpecificAssetIdDeepCopy + + @Test + public void testSubmodelShallowCopy() throws IOException { + final Submodel instance = CommonJsonization.loadMaximalSubmodel(); + final Submodel instanceCopy = Copying.shallow(instance); + + assertTrue(SubmodelShallowEquals(instance, instanceCopy), "Submodel"); + } // public void testSubmodelShallowCopy + + @Test + public void testSubmodelDeepCopy() throws IOException { + final Submodel instance = CommonJsonization.loadMaximalSubmodel(); + final Submodel instanceCopy = Copying.deep(instance); + + assertTrue(SubmodelDeepEquals(instance, instanceCopy), "Submodel"); + } // public void testSubmodelDeepCopy + + @Test + public void testRelationshipElementShallowCopy() throws IOException { + final RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + final RelationshipElement instanceCopy = Copying.shallow(instance); + + assertTrue(RelationshipElementShallowEquals(instance, instanceCopy), "RelationshipElement"); + } // public void testRelationshipElementShallowCopy + + @Test + public void testRelationshipElementDeepCopy() throws IOException { + final RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + final RelationshipElement instanceCopy = Copying.deep(instance); + + assertTrue(RelationshipElementDeepEquals(instance, instanceCopy), "RelationshipElement"); + } // public void testRelationshipElementDeepCopy + + @Test + public void testSubmodelElementListShallowCopy() throws IOException { + final SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + final SubmodelElementList instanceCopy = Copying.shallow(instance); + + assertTrue(SubmodelElementListShallowEquals(instance, instanceCopy), "SubmodelElementList"); + } // public void testSubmodelElementListShallowCopy + + @Test + public void testSubmodelElementListDeepCopy() throws IOException { + final SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + final SubmodelElementList instanceCopy = Copying.deep(instance); + + assertTrue(SubmodelElementListDeepEquals(instance, instanceCopy), "SubmodelElementList"); + } // public void testSubmodelElementListDeepCopy + + @Test + public void testSubmodelElementCollectionShallowCopy() throws IOException { + final SubmodelElementCollection instance = + CommonJsonization.loadMaximalSubmodelElementCollection(); + final SubmodelElementCollection instanceCopy = Copying.shallow(instance); + + assertTrue( + SubmodelElementCollectionShallowEquals(instance, instanceCopy), + "SubmodelElementCollection"); + } // public void testSubmodelElementCollectionShallowCopy + + @Test + public void testSubmodelElementCollectionDeepCopy() throws IOException { + final SubmodelElementCollection instance = + CommonJsonization.loadMaximalSubmodelElementCollection(); + final SubmodelElementCollection instanceCopy = Copying.deep(instance); + + assertTrue( + SubmodelElementCollectionDeepEquals(instance, instanceCopy), "SubmodelElementCollection"); + } // public void testSubmodelElementCollectionDeepCopy + + @Test + public void testPropertyShallowCopy() throws IOException { + final Property instance = CommonJsonization.loadMaximalProperty(); + final Property instanceCopy = Copying.shallow(instance); + + assertTrue(PropertyShallowEquals(instance, instanceCopy), "Property"); + } // public void testPropertyShallowCopy + + @Test + public void testPropertyDeepCopy() throws IOException { + final Property instance = CommonJsonization.loadMaximalProperty(); + final Property instanceCopy = Copying.deep(instance); + + assertTrue(PropertyDeepEquals(instance, instanceCopy), "Property"); + } // public void testPropertyDeepCopy + + @Test + public void testMultiLanguagePropertyShallowCopy() throws IOException { + final MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + final MultiLanguageProperty instanceCopy = Copying.shallow(instance); + + assertTrue(MultiLanguagePropertyShallowEquals(instance, instanceCopy), "MultiLanguageProperty"); + } // public void testMultiLanguagePropertyShallowCopy + + @Test + public void testMultiLanguagePropertyDeepCopy() throws IOException { + final MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + final MultiLanguageProperty instanceCopy = Copying.deep(instance); + + assertTrue(MultiLanguagePropertyDeepEquals(instance, instanceCopy), "MultiLanguageProperty"); + } // public void testMultiLanguagePropertyDeepCopy + + @Test + public void testRangeShallowCopy() throws IOException { + final Range instance = CommonJsonization.loadMaximalRange(); + final Range instanceCopy = Copying.shallow(instance); + + assertTrue(RangeShallowEquals(instance, instanceCopy), "Range"); + } // public void testRangeShallowCopy + + @Test + public void testRangeDeepCopy() throws IOException { + final Range instance = CommonJsonization.loadMaximalRange(); + final Range instanceCopy = Copying.deep(instance); + + assertTrue(RangeDeepEquals(instance, instanceCopy), "Range"); + } // public void testRangeDeepCopy + + @Test + public void testReferenceElementShallowCopy() throws IOException { + final ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + final ReferenceElement instanceCopy = Copying.shallow(instance); + + assertTrue(ReferenceElementShallowEquals(instance, instanceCopy), "ReferenceElement"); + } // public void testReferenceElementShallowCopy + + @Test + public void testReferenceElementDeepCopy() throws IOException { + final ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + final ReferenceElement instanceCopy = Copying.deep(instance); + + assertTrue(ReferenceElementDeepEquals(instance, instanceCopy), "ReferenceElement"); + } // public void testReferenceElementDeepCopy + + @Test + public void testBlobShallowCopy() throws IOException { + final Blob instance = CommonJsonization.loadMaximalBlob(); + final Blob instanceCopy = Copying.shallow(instance); + + assertTrue(BlobShallowEquals(instance, instanceCopy), "Blob"); + } // public void testBlobShallowCopy + + @Test + public void testBlobDeepCopy() throws IOException { + final Blob instance = CommonJsonization.loadMaximalBlob(); + final Blob instanceCopy = Copying.deep(instance); + + assertTrue(BlobDeepEquals(instance, instanceCopy), "Blob"); + } // public void testBlobDeepCopy + + @Test + public void testFileShallowCopy() throws IOException { + final File instance = CommonJsonization.loadMaximalFile(); + final File instanceCopy = Copying.shallow(instance); + + assertTrue(FileShallowEquals(instance, instanceCopy), "File"); + } // public void testFileShallowCopy + + @Test + public void testFileDeepCopy() throws IOException { + final File instance = CommonJsonization.loadMaximalFile(); + final File instanceCopy = Copying.deep(instance); + + assertTrue(FileDeepEquals(instance, instanceCopy), "File"); + } // public void testFileDeepCopy + + @Test + public void testAnnotatedRelationshipElementShallowCopy() throws IOException { + final AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + final AnnotatedRelationshipElement instanceCopy = Copying.shallow(instance); + + assertTrue( + AnnotatedRelationshipElementShallowEquals(instance, instanceCopy), + "AnnotatedRelationshipElement"); + } // public void testAnnotatedRelationshipElementShallowCopy + + @Test + public void testAnnotatedRelationshipElementDeepCopy() throws IOException { + final AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + final AnnotatedRelationshipElement instanceCopy = Copying.deep(instance); + + assertTrue( + AnnotatedRelationshipElementDeepEquals(instance, instanceCopy), + "AnnotatedRelationshipElement"); + } // public void testAnnotatedRelationshipElementDeepCopy + + @Test + public void testEntityShallowCopy() throws IOException { + final Entity instance = CommonJsonization.loadMaximalEntity(); + final Entity instanceCopy = Copying.shallow(instance); + + assertTrue(EntityShallowEquals(instance, instanceCopy), "Entity"); + } // public void testEntityShallowCopy + + @Test + public void testEntityDeepCopy() throws IOException { + final Entity instance = CommonJsonization.loadMaximalEntity(); + final Entity instanceCopy = Copying.deep(instance); + + assertTrue(EntityDeepEquals(instance, instanceCopy), "Entity"); + } // public void testEntityDeepCopy + + @Test + public void testEventPayloadShallowCopy() throws IOException { + final EventPayload instance = CommonJsonization.loadMaximalEventPayload(); + final EventPayload instanceCopy = Copying.shallow(instance); + + assertTrue(EventPayloadShallowEquals(instance, instanceCopy), "EventPayload"); + } // public void testEventPayloadShallowCopy + + @Test + public void testEventPayloadDeepCopy() throws IOException { + final EventPayload instance = CommonJsonization.loadMaximalEventPayload(); + final EventPayload instanceCopy = Copying.deep(instance); + + assertTrue(EventPayloadDeepEquals(instance, instanceCopy), "EventPayload"); + } // public void testEventPayloadDeepCopy + + @Test + public void testBasicEventElementShallowCopy() throws IOException { + final BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + final BasicEventElement instanceCopy = Copying.shallow(instance); + + assertTrue(BasicEventElementShallowEquals(instance, instanceCopy), "BasicEventElement"); + } // public void testBasicEventElementShallowCopy + + @Test + public void testBasicEventElementDeepCopy() throws IOException { + final BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + final BasicEventElement instanceCopy = Copying.deep(instance); + + assertTrue(BasicEventElementDeepEquals(instance, instanceCopy), "BasicEventElement"); + } // public void testBasicEventElementDeepCopy + + @Test + public void testOperationShallowCopy() throws IOException { + final Operation instance = CommonJsonization.loadMaximalOperation(); + final Operation instanceCopy = Copying.shallow(instance); + + assertTrue(OperationShallowEquals(instance, instanceCopy), "Operation"); + } // public void testOperationShallowCopy + + @Test + public void testOperationDeepCopy() throws IOException { + final Operation instance = CommonJsonization.loadMaximalOperation(); + final Operation instanceCopy = Copying.deep(instance); + + assertTrue(OperationDeepEquals(instance, instanceCopy), "Operation"); + } // public void testOperationDeepCopy + + @Test + public void testOperationVariableShallowCopy() throws IOException { + final OperationVariable instance = CommonJsonization.loadMaximalOperationVariable(); + final OperationVariable instanceCopy = Copying.shallow(instance); + + assertTrue(OperationVariableShallowEquals(instance, instanceCopy), "OperationVariable"); + } // public void testOperationVariableShallowCopy + + @Test + public void testOperationVariableDeepCopy() throws IOException { + final OperationVariable instance = CommonJsonization.loadMaximalOperationVariable(); + final OperationVariable instanceCopy = Copying.deep(instance); + + assertTrue(OperationVariableDeepEquals(instance, instanceCopy), "OperationVariable"); + } // public void testOperationVariableDeepCopy + + @Test + public void testCapabilityShallowCopy() throws IOException { + final Capability instance = CommonJsonization.loadMaximalCapability(); + final Capability instanceCopy = Copying.shallow(instance); + + assertTrue(CapabilityShallowEquals(instance, instanceCopy), "Capability"); + } // public void testCapabilityShallowCopy + + @Test + public void testCapabilityDeepCopy() throws IOException { + final Capability instance = CommonJsonization.loadMaximalCapability(); + final Capability instanceCopy = Copying.deep(instance); + + assertTrue(CapabilityDeepEquals(instance, instanceCopy), "Capability"); + } // public void testCapabilityDeepCopy + + @Test + public void testConceptDescriptionShallowCopy() throws IOException { + final ConceptDescription instance = CommonJsonization.loadMaximalConceptDescription(); + final ConceptDescription instanceCopy = Copying.shallow(instance); + + assertTrue(ConceptDescriptionShallowEquals(instance, instanceCopy), "ConceptDescription"); + } // public void testConceptDescriptionShallowCopy + + @Test + public void testConceptDescriptionDeepCopy() throws IOException { + final ConceptDescription instance = CommonJsonization.loadMaximalConceptDescription(); + final ConceptDescription instanceCopy = Copying.deep(instance); + + assertTrue(ConceptDescriptionDeepEquals(instance, instanceCopy), "ConceptDescription"); + } // public void testConceptDescriptionDeepCopy + + @Test + public void testReferenceShallowCopy() throws IOException { + final Reference instance = CommonJsonization.loadMaximalReference(); + final Reference instanceCopy = Copying.shallow(instance); + + assertTrue(ReferenceShallowEquals(instance, instanceCopy), "Reference"); + } // public void testReferenceShallowCopy + + @Test + public void testReferenceDeepCopy() throws IOException { + final Reference instance = CommonJsonization.loadMaximalReference(); + final Reference instanceCopy = Copying.deep(instance); + + assertTrue(ReferenceDeepEquals(instance, instanceCopy), "Reference"); + } // public void testReferenceDeepCopy + + @Test + public void testKeyShallowCopy() throws IOException { + final Key instance = CommonJsonization.loadMaximalKey(); + final Key instanceCopy = Copying.shallow(instance); + + assertTrue(KeyShallowEquals(instance, instanceCopy), "Key"); + } // public void testKeyShallowCopy + + @Test + public void testKeyDeepCopy() throws IOException { + final Key instance = CommonJsonization.loadMaximalKey(); + final Key instanceCopy = Copying.deep(instance); + + assertTrue(KeyDeepEquals(instance, instanceCopy), "Key"); + } // public void testKeyDeepCopy + + @Test + public void testLangStringNameTypeShallowCopy() throws IOException { + final LangStringNameType instance = CommonJsonization.loadMaximalLangStringNameType(); + final LangStringNameType instanceCopy = Copying.shallow(instance); + + assertTrue(LangStringNameTypeShallowEquals(instance, instanceCopy), "LangStringNameType"); + } // public void testLangStringNameTypeShallowCopy + + @Test + public void testLangStringNameTypeDeepCopy() throws IOException { + final LangStringNameType instance = CommonJsonization.loadMaximalLangStringNameType(); + final LangStringNameType instanceCopy = Copying.deep(instance); + + assertTrue(LangStringNameTypeDeepEquals(instance, instanceCopy), "LangStringNameType"); + } // public void testLangStringNameTypeDeepCopy + + @Test + public void testLangStringTextTypeShallowCopy() throws IOException { + final LangStringTextType instance = CommonJsonization.loadMaximalLangStringTextType(); + final LangStringTextType instanceCopy = Copying.shallow(instance); + + assertTrue(LangStringTextTypeShallowEquals(instance, instanceCopy), "LangStringTextType"); + } // public void testLangStringTextTypeShallowCopy + + @Test + public void testLangStringTextTypeDeepCopy() throws IOException { + final LangStringTextType instance = CommonJsonization.loadMaximalLangStringTextType(); + final LangStringTextType instanceCopy = Copying.deep(instance); + + assertTrue(LangStringTextTypeDeepEquals(instance, instanceCopy), "LangStringTextType"); + } // public void testLangStringTextTypeDeepCopy + + @Test + public void testEnvironmentShallowCopy() throws IOException { + final Environment instance = CommonJsonization.loadMaximalEnvironment(); + final Environment instanceCopy = Copying.shallow(instance); + + assertTrue(EnvironmentShallowEquals(instance, instanceCopy), "Environment"); + } // public void testEnvironmentShallowCopy + + @Test + public void testEnvironmentDeepCopy() throws IOException { + final Environment instance = CommonJsonization.loadMaximalEnvironment(); + final Environment instanceCopy = Copying.deep(instance); + + assertTrue(EnvironmentDeepEquals(instance, instanceCopy), "Environment"); + } // public void testEnvironmentDeepCopy + + @Test + public void testEmbeddedDataSpecificationShallowCopy() throws IOException { + final EmbeddedDataSpecification instance = + CommonJsonization.loadMaximalEmbeddedDataSpecification(); + final EmbeddedDataSpecification instanceCopy = Copying.shallow(instance); + + assertTrue( + EmbeddedDataSpecificationShallowEquals(instance, instanceCopy), + "EmbeddedDataSpecification"); + } // public void testEmbeddedDataSpecificationShallowCopy + + @Test + public void testEmbeddedDataSpecificationDeepCopy() throws IOException { + final EmbeddedDataSpecification instance = + CommonJsonization.loadMaximalEmbeddedDataSpecification(); + final EmbeddedDataSpecification instanceCopy = Copying.deep(instance); + + assertTrue( + EmbeddedDataSpecificationDeepEquals(instance, instanceCopy), "EmbeddedDataSpecification"); + } // public void testEmbeddedDataSpecificationDeepCopy + + @Test + public void testLevelTypeShallowCopy() throws IOException { + final LevelType instance = CommonJsonization.loadMaximalLevelType(); + final LevelType instanceCopy = Copying.shallow(instance); + + assertTrue(LevelTypeShallowEquals(instance, instanceCopy), "LevelType"); + } // public void testLevelTypeShallowCopy + + @Test + public void testLevelTypeDeepCopy() throws IOException { + final LevelType instance = CommonJsonization.loadMaximalLevelType(); + final LevelType instanceCopy = Copying.deep(instance); + + assertTrue(LevelTypeDeepEquals(instance, instanceCopy), "LevelType"); + } // public void testLevelTypeDeepCopy + + @Test + public void testValueReferencePairShallowCopy() throws IOException { + final ValueReferencePair instance = CommonJsonization.loadMaximalValueReferencePair(); + final ValueReferencePair instanceCopy = Copying.shallow(instance); + + assertTrue(ValueReferencePairShallowEquals(instance, instanceCopy), "ValueReferencePair"); + } // public void testValueReferencePairShallowCopy + + @Test + public void testValueReferencePairDeepCopy() throws IOException { + final ValueReferencePair instance = CommonJsonization.loadMaximalValueReferencePair(); + final ValueReferencePair instanceCopy = Copying.deep(instance); + + assertTrue(ValueReferencePairDeepEquals(instance, instanceCopy), "ValueReferencePair"); + } // public void testValueReferencePairDeepCopy + + @Test + public void testValueListShallowCopy() throws IOException { + final ValueList instance = CommonJsonization.loadMaximalValueList(); + final ValueList instanceCopy = Copying.shallow(instance); + + assertTrue(ValueListShallowEquals(instance, instanceCopy), "ValueList"); + } // public void testValueListShallowCopy + + @Test + public void testValueListDeepCopy() throws IOException { + final ValueList instance = CommonJsonization.loadMaximalValueList(); + final ValueList instanceCopy = Copying.deep(instance); + + assertTrue(ValueListDeepEquals(instance, instanceCopy), "ValueList"); + } // public void testValueListDeepCopy + + @Test + public void testLangStringPreferredNameTypeIec61360ShallowCopy() throws IOException { + final LangStringPreferredNameTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringPreferredNameTypeIec61360(); + final LangStringPreferredNameTypeIec61360 instanceCopy = Copying.shallow(instance); + + assertTrue( + LangStringPreferredNameTypeIec61360ShallowEquals(instance, instanceCopy), + "LangStringPreferredNameTypeIec61360"); + } // public void testLangStringPreferredNameTypeIec61360ShallowCopy + + @Test + public void testLangStringPreferredNameTypeIec61360DeepCopy() throws IOException { + final LangStringPreferredNameTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringPreferredNameTypeIec61360(); + final LangStringPreferredNameTypeIec61360 instanceCopy = Copying.deep(instance); + + assertTrue( + LangStringPreferredNameTypeIec61360DeepEquals(instance, instanceCopy), + "LangStringPreferredNameTypeIec61360"); + } // public void testLangStringPreferredNameTypeIec61360DeepCopy + + @Test + public void testLangStringShortNameTypeIec61360ShallowCopy() throws IOException { + final LangStringShortNameTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringShortNameTypeIec61360(); + final LangStringShortNameTypeIec61360 instanceCopy = Copying.shallow(instance); + + assertTrue( + LangStringShortNameTypeIec61360ShallowEquals(instance, instanceCopy), + "LangStringShortNameTypeIec61360"); + } // public void testLangStringShortNameTypeIec61360ShallowCopy + + @Test + public void testLangStringShortNameTypeIec61360DeepCopy() throws IOException { + final LangStringShortNameTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringShortNameTypeIec61360(); + final LangStringShortNameTypeIec61360 instanceCopy = Copying.deep(instance); + + assertTrue( + LangStringShortNameTypeIec61360DeepEquals(instance, instanceCopy), + "LangStringShortNameTypeIec61360"); + } // public void testLangStringShortNameTypeIec61360DeepCopy + + @Test + public void testLangStringDefinitionTypeIec61360ShallowCopy() throws IOException { + final LangStringDefinitionTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringDefinitionTypeIec61360(); + final LangStringDefinitionTypeIec61360 instanceCopy = Copying.shallow(instance); + + assertTrue( + LangStringDefinitionTypeIec61360ShallowEquals(instance, instanceCopy), + "LangStringDefinitionTypeIec61360"); + } // public void testLangStringDefinitionTypeIec61360ShallowCopy + + @Test + public void testLangStringDefinitionTypeIec61360DeepCopy() throws IOException { + final LangStringDefinitionTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringDefinitionTypeIec61360(); + final LangStringDefinitionTypeIec61360 instanceCopy = Copying.deep(instance); + + assertTrue( + LangStringDefinitionTypeIec61360DeepEquals(instance, instanceCopy), + "LangStringDefinitionTypeIec61360"); + } // public void testLangStringDefinitionTypeIec61360DeepCopy + + @Test + public void testLangStringUomShallowCopy() throws IOException { + final LangStringUom instance = CommonJsonization.loadMaximalLangStringUom(); + final LangStringUom instanceCopy = Copying.shallow(instance); + + assertTrue(LangStringUomShallowEquals(instance, instanceCopy), "LangStringUom"); + } // public void testLangStringUomShallowCopy + + @Test + public void testLangStringUomDeepCopy() throws IOException { + final LangStringUom instance = CommonJsonization.loadMaximalLangStringUom(); + final LangStringUom instanceCopy = Copying.deep(instance); + + assertTrue(LangStringUomDeepEquals(instance, instanceCopy), "LangStringUom"); + } // public void testLangStringUomDeepCopy + + @Test + public void testDefinitionTypeUomShallowCopy() throws IOException { + final DefinitionTypeUom instance = CommonJsonization.loadMaximalDefinitionTypeUom(); + final DefinitionTypeUom instanceCopy = Copying.shallow(instance); + + assertTrue(DefinitionTypeUomShallowEquals(instance, instanceCopy), "DefinitionTypeUom"); + } // public void testDefinitionTypeUomShallowCopy + + @Test + public void testDefinitionTypeUomDeepCopy() throws IOException { + final DefinitionTypeUom instance = CommonJsonization.loadMaximalDefinitionTypeUom(); + final DefinitionTypeUom instanceCopy = Copying.deep(instance); + + assertTrue(DefinitionTypeUomDeepEquals(instance, instanceCopy), "DefinitionTypeUom"); + } // public void testDefinitionTypeUomDeepCopy + + @Test + public void testDataSpecificationUomShallowCopy() throws IOException { + final DataSpecificationUom instance = CommonJsonization.loadMaximalDataSpecificationUom(); + final DataSpecificationUom instanceCopy = Copying.shallow(instance); + + assertTrue(DataSpecificationUomShallowEquals(instance, instanceCopy), "DataSpecificationUom"); + } // public void testDataSpecificationUomShallowCopy + + @Test + public void testDataSpecificationUomDeepCopy() throws IOException { + final DataSpecificationUom instance = CommonJsonization.loadMaximalDataSpecificationUom(); + final DataSpecificationUom instanceCopy = Copying.deep(instance); + + assertTrue(DataSpecificationUomDeepEquals(instance, instanceCopy), "DataSpecificationUom"); + } // public void testDataSpecificationUomDeepCopy + + @Test + public void testDataSpecificationIec61360ShallowCopy() throws IOException { + final DataSpecificationIec61360 instance = + CommonJsonization.loadMaximalDataSpecificationIec61360(); + final DataSpecificationIec61360 instanceCopy = Copying.shallow(instance); + + assertTrue( + DataSpecificationIec61360ShallowEquals(instance, instanceCopy), + "DataSpecificationIec61360"); + } // public void testDataSpecificationIec61360ShallowCopy + + @Test + public void testDataSpecificationIec61360DeepCopy() throws IOException { + final DataSpecificationIec61360 instance = + CommonJsonization.loadMaximalDataSpecificationIec61360(); + final DataSpecificationIec61360 instanceCopy = Copying.deep(instance); + + assertTrue( + DataSpecificationIec61360DeepEquals(instance, instanceCopy), "DataSpecificationIec61360"); + } // public void testDataSpecificationIec61360DeepCopy + + @Test + public void testAssetAdministrationShellDescriptorShallowCopy() throws IOException { + final AssetAdministrationShellDescriptor instance = + CommonJsonization.loadMaximalAssetAdministrationShellDescriptor(); + final AssetAdministrationShellDescriptor instanceCopy = Copying.shallow(instance); + + assertTrue( + AssetAdministrationShellDescriptorShallowEquals(instance, instanceCopy), + "AssetAdministrationShellDescriptor"); + } // public void testAssetAdministrationShellDescriptorShallowCopy + + @Test + public void testAssetAdministrationShellDescriptorDeepCopy() throws IOException { + final AssetAdministrationShellDescriptor instance = + CommonJsonization.loadMaximalAssetAdministrationShellDescriptor(); + final AssetAdministrationShellDescriptor instanceCopy = Copying.deep(instance); + + assertTrue( + AssetAdministrationShellDescriptorDeepEquals(instance, instanceCopy), + "AssetAdministrationShellDescriptor"); + } // public void testAssetAdministrationShellDescriptorDeepCopy + + @Test + public void testSubmodelDescriptorShallowCopy() throws IOException { + final SubmodelDescriptor instance = CommonJsonization.loadMaximalSubmodelDescriptor(); + final SubmodelDescriptor instanceCopy = Copying.shallow(instance); + + assertTrue(SubmodelDescriptorShallowEquals(instance, instanceCopy), "SubmodelDescriptor"); + } // public void testSubmodelDescriptorShallowCopy + + @Test + public void testSubmodelDescriptorDeepCopy() throws IOException { + final SubmodelDescriptor instance = CommonJsonization.loadMaximalSubmodelDescriptor(); + final SubmodelDescriptor instanceCopy = Copying.deep(instance); + + assertTrue(SubmodelDescriptorDeepEquals(instance, instanceCopy), "SubmodelDescriptor"); + } // public void testSubmodelDescriptorDeepCopy + + @Test + public void testEndpointShallowCopy() throws IOException { + final Endpoint instance = CommonJsonization.loadMaximalEndpoint(); + final Endpoint instanceCopy = Copying.shallow(instance); + + assertTrue(EndpointShallowEquals(instance, instanceCopy), "Endpoint"); + } // public void testEndpointShallowCopy + + @Test + public void testEndpointDeepCopy() throws IOException { + final Endpoint instance = CommonJsonization.loadMaximalEndpoint(); + final Endpoint instanceCopy = Copying.deep(instance); + + assertTrue(EndpointDeepEquals(instance, instanceCopy), "Endpoint"); + } // public void testEndpointDeepCopy + + @Test + public void testProtocolInformationShallowCopy() throws IOException { + final ProtocolInformation instance = CommonJsonization.loadMaximalProtocolInformation(); + final ProtocolInformation instanceCopy = Copying.shallow(instance); + + assertTrue(ProtocolInformationShallowEquals(instance, instanceCopy), "ProtocolInformation"); + } // public void testProtocolInformationShallowCopy + + @Test + public void testProtocolInformationDeepCopy() throws IOException { + final ProtocolInformation instance = CommonJsonization.loadMaximalProtocolInformation(); + final ProtocolInformation instanceCopy = Copying.deep(instance); + + assertTrue(ProtocolInformationDeepEquals(instance, instanceCopy), "ProtocolInformation"); + } // public void testProtocolInformationDeepCopy + + @Test + public void testSecurityAttributeObjectShallowCopy() throws IOException { + final SecurityAttributeObject instance = CommonJsonization.loadMaximalSecurityAttributeObject(); + final SecurityAttributeObject instanceCopy = Copying.shallow(instance); + + assertTrue( + SecurityAttributeObjectShallowEquals(instance, instanceCopy), "SecurityAttributeObject"); + } // public void testSecurityAttributeObjectShallowCopy + + @Test + public void testSecurityAttributeObjectDeepCopy() throws IOException { + final SecurityAttributeObject instance = CommonJsonization.loadMaximalSecurityAttributeObject(); + final SecurityAttributeObject instanceCopy = Copying.deep(instance); + + assertTrue( + SecurityAttributeObjectDeepEquals(instance, instanceCopy), "SecurityAttributeObject"); + } // public void testSecurityAttributeObjectDeepCopy + + @Test + public void testAssetLinkShallowCopy() throws IOException { + final AssetLink instance = CommonJsonization.loadMaximalAssetLink(); + final AssetLink instanceCopy = Copying.shallow(instance); + + assertTrue(AssetLinkShallowEquals(instance, instanceCopy), "AssetLink"); + } // public void testAssetLinkShallowCopy + + @Test + public void testAssetLinkDeepCopy() throws IOException { + final AssetLink instance = CommonJsonization.loadMaximalAssetLink(); + final AssetLink instanceCopy = Copying.deep(instance); + + assertTrue(AssetLinkDeepEquals(instance, instanceCopy), "AssetLink"); + } // public void testAssetLinkDeepCopy + + @Test + public void testServiceDescriptionShallowCopy() throws IOException { + final ServiceDescription instance = CommonJsonization.loadMaximalServiceDescription(); + final ServiceDescription instanceCopy = Copying.shallow(instance); + + assertTrue(ServiceDescriptionShallowEquals(instance, instanceCopy), "ServiceDescription"); + } // public void testServiceDescriptionShallowCopy + + @Test + public void testServiceDescriptionDeepCopy() throws IOException { + final ServiceDescription instance = CommonJsonization.loadMaximalServiceDescription(); + final ServiceDescription instanceCopy = Copying.deep(instance); + + assertTrue(ServiceDescriptionDeepEquals(instance, instanceCopy), "ServiceDescription"); + } // public void testServiceDescriptionDeepCopy + + @Test + public void testAssetAdministrationShellRecentChangeShallowCopy() throws IOException { + final AssetAdministrationShellRecentChange instance = + CommonJsonization.loadMaximalAssetAdministrationShellRecentChange(); + final AssetAdministrationShellRecentChange instanceCopy = Copying.shallow(instance); + + assertTrue( + AssetAdministrationShellRecentChangeShallowEquals(instance, instanceCopy), + "AssetAdministrationShellRecentChange"); + } // public void testAssetAdministrationShellRecentChangeShallowCopy + + @Test + public void testAssetAdministrationShellRecentChangeDeepCopy() throws IOException { + final AssetAdministrationShellRecentChange instance = + CommonJsonization.loadMaximalAssetAdministrationShellRecentChange(); + final AssetAdministrationShellRecentChange instanceCopy = Copying.deep(instance); + + assertTrue( + AssetAdministrationShellRecentChangeDeepEquals(instance, instanceCopy), + "AssetAdministrationShellRecentChange"); + } // public void testAssetAdministrationShellRecentChangeDeepCopy + + @Test + public void testConceptDescriptionRecentChangeShallowCopy() throws IOException { + final ConceptDescriptionRecentChange instance = + CommonJsonization.loadMaximalConceptDescriptionRecentChange(); + final ConceptDescriptionRecentChange instanceCopy = Copying.shallow(instance); + + assertTrue( + ConceptDescriptionRecentChangeShallowEquals(instance, instanceCopy), + "ConceptDescriptionRecentChange"); + } // public void testConceptDescriptionRecentChangeShallowCopy + + @Test + public void testConceptDescriptionRecentChangeDeepCopy() throws IOException { + final ConceptDescriptionRecentChange instance = + CommonJsonization.loadMaximalConceptDescriptionRecentChange(); + final ConceptDescriptionRecentChange instanceCopy = Copying.deep(instance); + + assertTrue( + ConceptDescriptionRecentChangeDeepEquals(instance, instanceCopy), + "ConceptDescriptionRecentChange"); + } // public void testConceptDescriptionRecentChangeDeepCopy + + @Test + public void testSubmodelRecentChangeShallowCopy() throws IOException { + final SubmodelRecentChange instance = CommonJsonization.loadMaximalSubmodelRecentChange(); + final SubmodelRecentChange instanceCopy = Copying.shallow(instance); + + assertTrue(SubmodelRecentChangeShallowEquals(instance, instanceCopy), "SubmodelRecentChange"); + } // public void testSubmodelRecentChangeShallowCopy + + @Test + public void testSubmodelRecentChangeDeepCopy() throws IOException { + final SubmodelRecentChange instance = CommonJsonization.loadMaximalSubmodelRecentChange(); + final SubmodelRecentChange instanceCopy = Copying.deep(instance); + + assertTrue(SubmodelRecentChangeDeepEquals(instance, instanceCopy), "SubmodelRecentChange"); + } // public void testSubmodelRecentChangeDeepCopy + + @Test + public void testResultShallowCopy() throws IOException { + final Result instance = CommonJsonization.loadMaximalResult(); + final Result instanceCopy = Copying.shallow(instance); + + assertTrue(ResultShallowEquals(instance, instanceCopy), "Result"); + } // public void testResultShallowCopy + + @Test + public void testResultDeepCopy() throws IOException { + final Result instance = CommonJsonization.loadMaximalResult(); + final Result instanceCopy = Copying.deep(instance); + + assertTrue(ResultDeepEquals(instance, instanceCopy), "Result"); + } // public void testResultDeepCopy + + @Test + public void testMessageShallowCopy() throws IOException { + final Message instance = CommonJsonization.loadMaximalMessage(); + final Message instanceCopy = Copying.shallow(instance); + + assertTrue(MessageShallowEquals(instance, instanceCopy), "Message"); + } // public void testMessageShallowCopy + + @Test + public void testMessageDeepCopy() throws IOException { + final Message instance = CommonJsonization.loadMaximalMessage(); + final Message instanceCopy = Copying.deep(instance); + + assertTrue(MessageDeepEquals(instance, instanceCopy), "Message"); + } // public void testMessageDeepCopy + + @Test + public void testOperationRequestShallowCopy() throws IOException { + final OperationRequest instance = CommonJsonization.loadMaximalOperationRequest(); + final OperationRequest instanceCopy = Copying.shallow(instance); + + assertTrue(OperationRequestShallowEquals(instance, instanceCopy), "OperationRequest"); + } // public void testOperationRequestShallowCopy + + @Test + public void testOperationRequestDeepCopy() throws IOException { + final OperationRequest instance = CommonJsonization.loadMaximalOperationRequest(); + final OperationRequest instanceCopy = Copying.deep(instance); + + assertTrue(OperationRequestDeepEquals(instance, instanceCopy), "OperationRequest"); + } // public void testOperationRequestDeepCopy + + @Test + public void testOperationRequestAsyncShallowCopy() throws IOException { + final OperationRequestAsync instance = CommonJsonization.loadMaximalOperationRequestAsync(); + final OperationRequestAsync instanceCopy = Copying.shallow(instance); + + assertTrue(OperationRequestAsyncShallowEquals(instance, instanceCopy), "OperationRequestAsync"); + } // public void testOperationRequestAsyncShallowCopy + + @Test + public void testOperationRequestAsyncDeepCopy() throws IOException { + final OperationRequestAsync instance = CommonJsonization.loadMaximalOperationRequestAsync(); + final OperationRequestAsync instanceCopy = Copying.deep(instance); + + assertTrue(OperationRequestAsyncDeepEquals(instance, instanceCopy), "OperationRequestAsync"); + } // public void testOperationRequestAsyncDeepCopy + + @Test + public void testOperationRequestValueOnlyShallowCopy() throws IOException { + final OperationRequestValueOnly instance = + CommonJsonization.loadMaximalOperationRequestValueOnly(); + final OperationRequestValueOnly instanceCopy = Copying.shallow(instance); + + assertTrue( + OperationRequestValueOnlyShallowEquals(instance, instanceCopy), + "OperationRequestValueOnly"); + } // public void testOperationRequestValueOnlyShallowCopy + + @Test + public void testOperationRequestValueOnlyDeepCopy() throws IOException { + final OperationRequestValueOnly instance = + CommonJsonization.loadMaximalOperationRequestValueOnly(); + final OperationRequestValueOnly instanceCopy = Copying.deep(instance); + + assertTrue( + OperationRequestValueOnlyDeepEquals(instance, instanceCopy), "OperationRequestValueOnly"); + } // public void testOperationRequestValueOnlyDeepCopy + + @Test + public void testOperationRequestAsyncValueOnlyShallowCopy() throws IOException { + final OperationRequestAsyncValueOnly instance = + CommonJsonization.loadMaximalOperationRequestAsyncValueOnly(); + final OperationRequestAsyncValueOnly instanceCopy = Copying.shallow(instance); + + assertTrue( + OperationRequestAsyncValueOnlyShallowEquals(instance, instanceCopy), + "OperationRequestAsyncValueOnly"); + } // public void testOperationRequestAsyncValueOnlyShallowCopy + + @Test + public void testOperationRequestAsyncValueOnlyDeepCopy() throws IOException { + final OperationRequestAsyncValueOnly instance = + CommonJsonization.loadMaximalOperationRequestAsyncValueOnly(); + final OperationRequestAsyncValueOnly instanceCopy = Copying.deep(instance); + + assertTrue( + OperationRequestAsyncValueOnlyDeepEquals(instance, instanceCopy), + "OperationRequestAsyncValueOnly"); + } // public void testOperationRequestAsyncValueOnlyDeepCopy + + @Test + public void testBaseOperationResultShallowCopy() throws IOException { + final BaseOperationResult instance = CommonJsonization.loadMaximalBaseOperationResult(); + final BaseOperationResult instanceCopy = Copying.shallow(instance); + + assertTrue(BaseOperationResultShallowEquals(instance, instanceCopy), "BaseOperationResult"); + } // public void testBaseOperationResultShallowCopy + + @Test + public void testBaseOperationResultDeepCopy() throws IOException { + final BaseOperationResult instance = CommonJsonization.loadMaximalBaseOperationResult(); + final BaseOperationResult instanceCopy = Copying.deep(instance); + + assertTrue(BaseOperationResultDeepEquals(instance, instanceCopy), "BaseOperationResult"); + } // public void testBaseOperationResultDeepCopy + + @Test + public void testOperationResultShallowCopy() throws IOException { + final OperationResult instance = CommonJsonization.loadMaximalOperationResult(); + final OperationResult instanceCopy = Copying.shallow(instance); + + assertTrue(OperationResultShallowEquals(instance, instanceCopy), "OperationResult"); + } // public void testOperationResultShallowCopy + + @Test + public void testOperationResultDeepCopy() throws IOException { + final OperationResult instance = CommonJsonization.loadMaximalOperationResult(); + final OperationResult instanceCopy = Copying.deep(instance); + + assertTrue(OperationResultDeepEquals(instance, instanceCopy), "OperationResult"); + } // public void testOperationResultDeepCopy + + @Test + public void testOperationResultValueOnlyShallowCopy() throws IOException { + final OperationResultValueOnly instance = + CommonJsonization.loadMaximalOperationResultValueOnly(); + final OperationResultValueOnly instanceCopy = Copying.shallow(instance); + + assertTrue( + OperationResultValueOnlyShallowEquals(instance, instanceCopy), "OperationResultValueOnly"); + } // public void testOperationResultValueOnlyShallowCopy + + @Test + public void testOperationResultValueOnlyDeepCopy() throws IOException { + final OperationResultValueOnly instance = + CommonJsonization.loadMaximalOperationResultValueOnly(); + final OperationResultValueOnly instanceCopy = Copying.deep(instance); + + assertTrue( + OperationResultValueOnlyDeepEquals(instance, instanceCopy), "OperationResultValueOnly"); + } // public void testOperationResultValueOnlyDeepCopy + + @Test + public void testOperationHandleShallowCopy() throws IOException { + final OperationHandle instance = CommonJsonization.loadMaximalOperationHandle(); + final OperationHandle instanceCopy = Copying.shallow(instance); + + assertTrue(OperationHandleShallowEquals(instance, instanceCopy), "OperationHandle"); + } // public void testOperationHandleShallowCopy + + @Test + public void testOperationHandleDeepCopy() throws IOException { + final OperationHandle instance = CommonJsonization.loadMaximalOperationHandle(); + final OperationHandle instanceCopy = Copying.deep(instance); + + assertTrue(OperationHandleDeepEquals(instance, instanceCopy), "OperationHandle"); + } // public void testOperationHandleDeepCopy + + @Test + public void testPagedResultShallowCopy() throws IOException { + final PagedResult instance = CommonJsonization.loadMaximalPagedResult(); + final PagedResult instanceCopy = Copying.shallow(instance); + + assertTrue(PagedResultShallowEquals(instance, instanceCopy), "PagedResult"); + } // public void testPagedResultShallowCopy + + @Test + public void testPagedResultDeepCopy() throws IOException { + final PagedResult instance = CommonJsonization.loadMaximalPagedResult(); + final PagedResult instanceCopy = Copying.deep(instance); + + assertTrue(PagedResultDeepEquals(instance, instanceCopy), "PagedResult"); + } // public void testPagedResultDeepCopy + + @Test + public void testPagingMetadataShallowCopy() throws IOException { + final PagingMetadata instance = CommonJsonization.loadMaximalPagingMetadata(); + final PagingMetadata instanceCopy = Copying.shallow(instance); + + assertTrue(PagingMetadataShallowEquals(instance, instanceCopy), "PagingMetadata"); + } // public void testPagingMetadataShallowCopy + + @Test + public void testPagingMetadataDeepCopy() throws IOException { + final PagingMetadata instance = CommonJsonization.loadMaximalPagingMetadata(); + final PagingMetadata instanceCopy = Copying.deep(instance); + + assertTrue(PagingMetadataDeepEquals(instance, instanceCopy), "PagingMetadata"); + } // public void testPagingMetadataDeepCopy + + @Test + public void testPackageDescriptionShallowCopy() throws IOException { + final PackageDescription instance = CommonJsonization.loadMaximalPackageDescription(); + final PackageDescription instanceCopy = Copying.shallow(instance); + + assertTrue(PackageDescriptionShallowEquals(instance, instanceCopy), "PackageDescription"); + } // public void testPackageDescriptionShallowCopy + + @Test + public void testPackageDescriptionDeepCopy() throws IOException { + final PackageDescription instance = CommonJsonization.loadMaximalPackageDescription(); + final PackageDescription instanceCopy = Copying.deep(instance); + + assertTrue(PackageDescriptionDeepEquals(instance, instanceCopy), "PackageDescription"); + } // public void testPackageDescriptionDeepCopy + + @Test + public void testPropertyMetadataShallowCopy() throws IOException { + final PropertyMetadata instance = CommonJsonization.loadMaximalPropertyMetadata(); + final PropertyMetadata instanceCopy = Copying.shallow(instance); + + assertTrue(PropertyMetadataShallowEquals(instance, instanceCopy), "PropertyMetadata"); + } // public void testPropertyMetadataShallowCopy + + @Test + public void testPropertyMetadataDeepCopy() throws IOException { + final PropertyMetadata instance = CommonJsonization.loadMaximalPropertyMetadata(); + final PropertyMetadata instanceCopy = Copying.deep(instance); + + assertTrue(PropertyMetadataDeepEquals(instance, instanceCopy), "PropertyMetadata"); + } // public void testPropertyMetadataDeepCopy + + @Test + public void testRangeMetadataShallowCopy() throws IOException { + final RangeMetadata instance = CommonJsonization.loadMaximalRangeMetadata(); + final RangeMetadata instanceCopy = Copying.shallow(instance); + + assertTrue(RangeMetadataShallowEquals(instance, instanceCopy), "RangeMetadata"); + } // public void testRangeMetadataShallowCopy + + @Test + public void testRangeMetadataDeepCopy() throws IOException { + final RangeMetadata instance = CommonJsonization.loadMaximalRangeMetadata(); + final RangeMetadata instanceCopy = Copying.deep(instance); + + assertTrue(RangeMetadataDeepEquals(instance, instanceCopy), "RangeMetadata"); + } // public void testRangeMetadataDeepCopy + + @Test + public void testBlobMetadataShallowCopy() throws IOException { + final BlobMetadata instance = CommonJsonization.loadMaximalBlobMetadata(); + final BlobMetadata instanceCopy = Copying.shallow(instance); + + assertTrue(BlobMetadataShallowEquals(instance, instanceCopy), "BlobMetadata"); + } // public void testBlobMetadataShallowCopy + + @Test + public void testBlobMetadataDeepCopy() throws IOException { + final BlobMetadata instance = CommonJsonization.loadMaximalBlobMetadata(); + final BlobMetadata instanceCopy = Copying.deep(instance); + + assertTrue(BlobMetadataDeepEquals(instance, instanceCopy), "BlobMetadata"); + } // public void testBlobMetadataDeepCopy + + @Test + public void testFileMetadataShallowCopy() throws IOException { + final FileMetadata instance = CommonJsonization.loadMaximalFileMetadata(); + final FileMetadata instanceCopy = Copying.shallow(instance); + + assertTrue(FileMetadataShallowEquals(instance, instanceCopy), "FileMetadata"); + } // public void testFileMetadataShallowCopy + + @Test + public void testFileMetadataDeepCopy() throws IOException { + final FileMetadata instance = CommonJsonization.loadMaximalFileMetadata(); + final FileMetadata instanceCopy = Copying.deep(instance); + + assertTrue(FileMetadataDeepEquals(instance, instanceCopy), "FileMetadata"); + } // public void testFileMetadataDeepCopy + + @Test + public void testMultiLanguagePropertyMetadataShallowCopy() throws IOException { + final MultiLanguagePropertyMetadata instance = + CommonJsonization.loadMaximalMultiLanguagePropertyMetadata(); + final MultiLanguagePropertyMetadata instanceCopy = Copying.shallow(instance); + + assertTrue( + MultiLanguagePropertyMetadataShallowEquals(instance, instanceCopy), + "MultiLanguagePropertyMetadata"); + } // public void testMultiLanguagePropertyMetadataShallowCopy + + @Test + public void testMultiLanguagePropertyMetadataDeepCopy() throws IOException { + final MultiLanguagePropertyMetadata instance = + CommonJsonization.loadMaximalMultiLanguagePropertyMetadata(); + final MultiLanguagePropertyMetadata instanceCopy = Copying.deep(instance); + + assertTrue( + MultiLanguagePropertyMetadataDeepEquals(instance, instanceCopy), + "MultiLanguagePropertyMetadata"); + } // public void testMultiLanguagePropertyMetadataDeepCopy + + @Test + public void testReferenceElementMetadataShallowCopy() throws IOException { + final ReferenceElementMetadata instance = + CommonJsonization.loadMaximalReferenceElementMetadata(); + final ReferenceElementMetadata instanceCopy = Copying.shallow(instance); + + assertTrue( + ReferenceElementMetadataShallowEquals(instance, instanceCopy), "ReferenceElementMetadata"); + } // public void testReferenceElementMetadataShallowCopy + + @Test + public void testReferenceElementMetadataDeepCopy() throws IOException { + final ReferenceElementMetadata instance = + CommonJsonization.loadMaximalReferenceElementMetadata(); + final ReferenceElementMetadata instanceCopy = Copying.deep(instance); + + assertTrue( + ReferenceElementMetadataDeepEquals(instance, instanceCopy), "ReferenceElementMetadata"); + } // public void testReferenceElementMetadataDeepCopy + + @Test + public void testRelationshipElementMetadataShallowCopy() throws IOException { + final RelationshipElementMetadata instance = + CommonJsonization.loadMaximalRelationshipElementMetadata(); + final RelationshipElementMetadata instanceCopy = Copying.shallow(instance); + + assertTrue( + RelationshipElementMetadataShallowEquals(instance, instanceCopy), + "RelationshipElementMetadata"); + } // public void testRelationshipElementMetadataShallowCopy + + @Test + public void testRelationshipElementMetadataDeepCopy() throws IOException { + final RelationshipElementMetadata instance = + CommonJsonization.loadMaximalRelationshipElementMetadata(); + final RelationshipElementMetadata instanceCopy = Copying.deep(instance); + + assertTrue( + RelationshipElementMetadataDeepEquals(instance, instanceCopy), + "RelationshipElementMetadata"); + } // public void testRelationshipElementMetadataDeepCopy + + @Test + public void testAnnotatedRelationshipElementMetadataShallowCopy() throws IOException { + final AnnotatedRelationshipElementMetadata instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata(); + final AnnotatedRelationshipElementMetadata instanceCopy = Copying.shallow(instance); + + assertTrue( + AnnotatedRelationshipElementMetadataShallowEquals(instance, instanceCopy), + "AnnotatedRelationshipElementMetadata"); + } // public void testAnnotatedRelationshipElementMetadataShallowCopy + + @Test + public void testAnnotatedRelationshipElementMetadataDeepCopy() throws IOException { + final AnnotatedRelationshipElementMetadata instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata(); + final AnnotatedRelationshipElementMetadata instanceCopy = Copying.deep(instance); + + assertTrue( + AnnotatedRelationshipElementMetadataDeepEquals(instance, instanceCopy), + "AnnotatedRelationshipElementMetadata"); + } // public void testAnnotatedRelationshipElementMetadataDeepCopy + + @Test + public void testEntityMetadataShallowCopy() throws IOException { + final EntityMetadata instance = CommonJsonization.loadMaximalEntityMetadata(); + final EntityMetadata instanceCopy = Copying.shallow(instance); + + assertTrue(EntityMetadataShallowEquals(instance, instanceCopy), "EntityMetadata"); + } // public void testEntityMetadataShallowCopy + + @Test + public void testEntityMetadataDeepCopy() throws IOException { + final EntityMetadata instance = CommonJsonization.loadMaximalEntityMetadata(); + final EntityMetadata instanceCopy = Copying.deep(instance); + + assertTrue(EntityMetadataDeepEquals(instance, instanceCopy), "EntityMetadata"); + } // public void testEntityMetadataDeepCopy + + @Test + public void testCapabilityMetadataShallowCopy() throws IOException { + final CapabilityMetadata instance = CommonJsonization.loadMaximalCapabilityMetadata(); + final CapabilityMetadata instanceCopy = Copying.shallow(instance); + + assertTrue(CapabilityMetadataShallowEquals(instance, instanceCopy), "CapabilityMetadata"); + } // public void testCapabilityMetadataShallowCopy + + @Test + public void testCapabilityMetadataDeepCopy() throws IOException { + final CapabilityMetadata instance = CommonJsonization.loadMaximalCapabilityMetadata(); + final CapabilityMetadata instanceCopy = Copying.deep(instance); + + assertTrue(CapabilityMetadataDeepEquals(instance, instanceCopy), "CapabilityMetadata"); + } // public void testCapabilityMetadataDeepCopy + + @Test + public void testOperationMetadataShallowCopy() throws IOException { + final OperationMetadata instance = CommonJsonization.loadMaximalOperationMetadata(); + final OperationMetadata instanceCopy = Copying.shallow(instance); + + assertTrue(OperationMetadataShallowEquals(instance, instanceCopy), "OperationMetadata"); + } // public void testOperationMetadataShallowCopy + + @Test + public void testOperationMetadataDeepCopy() throws IOException { + final OperationMetadata instance = CommonJsonization.loadMaximalOperationMetadata(); + final OperationMetadata instanceCopy = Copying.deep(instance); + + assertTrue(OperationMetadataDeepEquals(instance, instanceCopy), "OperationMetadata"); + } // public void testOperationMetadataDeepCopy + + @Test + public void testSubmodelElementCollectionMetadataShallowCopy() throws IOException { + final SubmodelElementCollectionMetadata instance = + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata(); + final SubmodelElementCollectionMetadata instanceCopy = Copying.shallow(instance); + + assertTrue( + SubmodelElementCollectionMetadataShallowEquals(instance, instanceCopy), + "SubmodelElementCollectionMetadata"); + } // public void testSubmodelElementCollectionMetadataShallowCopy + + @Test + public void testSubmodelElementCollectionMetadataDeepCopy() throws IOException { + final SubmodelElementCollectionMetadata instance = + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata(); + final SubmodelElementCollectionMetadata instanceCopy = Copying.deep(instance); + + assertTrue( + SubmodelElementCollectionMetadataDeepEquals(instance, instanceCopy), + "SubmodelElementCollectionMetadata"); + } // public void testSubmodelElementCollectionMetadataDeepCopy + + @Test + public void testBasicEventElementMetadataShallowCopy() throws IOException { + final BasicEventElementMetadata instance = + CommonJsonization.loadMaximalBasicEventElementMetadata(); + final BasicEventElementMetadata instanceCopy = Copying.shallow(instance); + + assertTrue( + BasicEventElementMetadataShallowEquals(instance, instanceCopy), + "BasicEventElementMetadata"); + } // public void testBasicEventElementMetadataShallowCopy + + @Test + public void testBasicEventElementMetadataDeepCopy() throws IOException { + final BasicEventElementMetadata instance = + CommonJsonization.loadMaximalBasicEventElementMetadata(); + final BasicEventElementMetadata instanceCopy = Copying.deep(instance); + + assertTrue( + BasicEventElementMetadataDeepEquals(instance, instanceCopy), "BasicEventElementMetadata"); + } // public void testBasicEventElementMetadataDeepCopy + + @Test + public void testSubmodelElementListMetadataShallowCopy() throws IOException { + final SubmodelElementListMetadata instance = + CommonJsonization.loadMaximalSubmodelElementListMetadata(); + final SubmodelElementListMetadata instanceCopy = Copying.shallow(instance); + + assertTrue( + SubmodelElementListMetadataShallowEquals(instance, instanceCopy), + "SubmodelElementListMetadata"); + } // public void testSubmodelElementListMetadataShallowCopy + + @Test + public void testSubmodelElementListMetadataDeepCopy() throws IOException { + final SubmodelElementListMetadata instance = + CommonJsonization.loadMaximalSubmodelElementListMetadata(); + final SubmodelElementListMetadata instanceCopy = Copying.deep(instance); + + assertTrue( + SubmodelElementListMetadataDeepEquals(instance, instanceCopy), + "SubmodelElementListMetadata"); + } // public void testSubmodelElementListMetadataDeepCopy + + @Test + public void testSubmodelMetadataShallowCopy() throws IOException { + final SubmodelMetadata instance = CommonJsonization.loadMaximalSubmodelMetadata(); + final SubmodelMetadata instanceCopy = Copying.shallow(instance); + + assertTrue(SubmodelMetadataShallowEquals(instance, instanceCopy), "SubmodelMetadata"); + } // public void testSubmodelMetadataShallowCopy + + @Test + public void testSubmodelMetadataDeepCopy() throws IOException { + final SubmodelMetadata instance = CommonJsonization.loadMaximalSubmodelMetadata(); + final SubmodelMetadata instanceCopy = Copying.deep(instance); + + assertTrue(SubmodelMetadataDeepEquals(instance, instanceCopy), "SubmodelMetadata"); + } // public void testSubmodelMetadataDeepCopy + + @Test + public void testAssetAdministrationShellMetadataShallowCopy() throws IOException { + final AssetAdministrationShellMetadata instance = + CommonJsonization.loadMaximalAssetAdministrationShellMetadata(); + final AssetAdministrationShellMetadata instanceCopy = Copying.shallow(instance); + + assertTrue( + AssetAdministrationShellMetadataShallowEquals(instance, instanceCopy), + "AssetAdministrationShellMetadata"); + } // public void testAssetAdministrationShellMetadataShallowCopy + + @Test + public void testAssetAdministrationShellMetadataDeepCopy() throws IOException { + final AssetAdministrationShellMetadata instance = + CommonJsonization.loadMaximalAssetAdministrationShellMetadata(); + final AssetAdministrationShellMetadata instanceCopy = Copying.deep(instance); + + assertTrue( + AssetAdministrationShellMetadataDeepEquals(instance, instanceCopy), + "AssetAdministrationShellMetadata"); + } // public void testAssetAdministrationShellMetadataDeepCopy + + @Test + public void testReferenceElementValueShallowCopy() throws IOException { + final ReferenceElementValue instance = CommonJsonization.loadMaximalReferenceElementValue(); + final ReferenceElementValue instanceCopy = Copying.shallow(instance); + + assertTrue(ReferenceElementValueShallowEquals(instance, instanceCopy), "ReferenceElementValue"); + } // public void testReferenceElementValueShallowCopy + + @Test + public void testReferenceElementValueDeepCopy() throws IOException { + final ReferenceElementValue instance = CommonJsonization.loadMaximalReferenceElementValue(); + final ReferenceElementValue instanceCopy = Copying.deep(instance); + + assertTrue(ReferenceElementValueDeepEquals(instance, instanceCopy), "ReferenceElementValue"); + } // public void testReferenceElementValueDeepCopy + + @Test + public void testBlobValueShallowCopy() throws IOException { + final BlobValue instance = CommonJsonization.loadMaximalBlobValue(); + final BlobValue instanceCopy = Copying.shallow(instance); + + assertTrue(BlobValueShallowEquals(instance, instanceCopy), "BlobValue"); + } // public void testBlobValueShallowCopy + + @Test + public void testBlobValueDeepCopy() throws IOException { + final BlobValue instance = CommonJsonization.loadMaximalBlobValue(); + final BlobValue instanceCopy = Copying.deep(instance); + + assertTrue(BlobValueDeepEquals(instance, instanceCopy), "BlobValue"); + } // public void testBlobValueDeepCopy + + @Test + public void testFileValueShallowCopy() throws IOException { + final FileValue instance = CommonJsonization.loadMaximalFileValue(); + final FileValue instanceCopy = Copying.shallow(instance); + + assertTrue(FileValueShallowEquals(instance, instanceCopy), "FileValue"); + } // public void testFileValueShallowCopy + + @Test + public void testFileValueDeepCopy() throws IOException { + final FileValue instance = CommonJsonization.loadMaximalFileValue(); + final FileValue instanceCopy = Copying.deep(instance); + + assertTrue(FileValueDeepEquals(instance, instanceCopy), "FileValue"); + } // public void testFileValueDeepCopy + + @Test + public void testRangeValueShallowCopy() throws IOException { + final RangeValue instance = CommonJsonization.loadMaximalRangeValue(); + final RangeValue instanceCopy = Copying.shallow(instance); + + assertTrue(RangeValueShallowEquals(instance, instanceCopy), "RangeValue"); + } // public void testRangeValueShallowCopy + + @Test + public void testRangeValueDeepCopy() throws IOException { + final RangeValue instance = CommonJsonization.loadMaximalRangeValue(); + final RangeValue instanceCopy = Copying.deep(instance); + + assertTrue(RangeValueDeepEquals(instance, instanceCopy), "RangeValue"); + } // public void testRangeValueDeepCopy + + @Test + public void testRelationshipElementValueShallowCopy() throws IOException { + final RelationshipElementValue instance = + CommonJsonization.loadMaximalRelationshipElementValue(); + final RelationshipElementValue instanceCopy = Copying.shallow(instance); + + assertTrue( + RelationshipElementValueShallowEquals(instance, instanceCopy), "RelationshipElementValue"); + } // public void testRelationshipElementValueShallowCopy + + @Test + public void testRelationshipElementValueDeepCopy() throws IOException { + final RelationshipElementValue instance = + CommonJsonization.loadMaximalRelationshipElementValue(); + final RelationshipElementValue instanceCopy = Copying.deep(instance); + + assertTrue( + RelationshipElementValueDeepEquals(instance, instanceCopy), "RelationshipElementValue"); + } // public void testRelationshipElementValueDeepCopy + + @Test + public void testBasicEventElementValueShallowCopy() throws IOException { + final BasicEventElementValue instance = CommonJsonization.loadMaximalBasicEventElementValue(); + final BasicEventElementValue instanceCopy = Copying.shallow(instance); + + assertTrue( + BasicEventElementValueShallowEquals(instance, instanceCopy), "BasicEventElementValue"); + } // public void testBasicEventElementValueShallowCopy + + @Test + public void testBasicEventElementValueDeepCopy() throws IOException { + final BasicEventElementValue instance = CommonJsonization.loadMaximalBasicEventElementValue(); + final BasicEventElementValue instanceCopy = Copying.deep(instance); + + assertTrue(BasicEventElementValueDeepEquals(instance, instanceCopy), "BasicEventElementValue"); + } // public void testBasicEventElementValueDeepCopy + + @Test + public void testAnnotatedRelationshipElementValueShallowCopy() throws IOException { + final AnnotatedRelationshipElementValue instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementValue(); + final AnnotatedRelationshipElementValue instanceCopy = Copying.shallow(instance); + + assertTrue( + AnnotatedRelationshipElementValueShallowEquals(instance, instanceCopy), + "AnnotatedRelationshipElementValue"); + } // public void testAnnotatedRelationshipElementValueShallowCopy + + @Test + public void testAnnotatedRelationshipElementValueDeepCopy() throws IOException { + final AnnotatedRelationshipElementValue instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementValue(); + final AnnotatedRelationshipElementValue instanceCopy = Copying.deep(instance); + + assertTrue( + AnnotatedRelationshipElementValueDeepEquals(instance, instanceCopy), + "AnnotatedRelationshipElementValue"); + } // public void testAnnotatedRelationshipElementValueDeepCopy + + @Test + public void testEntityValueShallowCopy() throws IOException { + final EntityValue instance = CommonJsonization.loadMaximalEntityValue(); + final EntityValue instanceCopy = Copying.shallow(instance); + + assertTrue(EntityValueShallowEquals(instance, instanceCopy), "EntityValue"); + } // public void testEntityValueShallowCopy + + @Test + public void testEntityValueDeepCopy() throws IOException { + final EntityValue instance = CommonJsonization.loadMaximalEntityValue(); + final EntityValue instanceCopy = Copying.deep(instance); + + assertTrue(EntityValueDeepEquals(instance, instanceCopy), "EntityValue"); + } // public void testEntityValueDeepCopy + + @Test + public void testGetAssetAdministrationShellsResultShallowCopy() throws IOException { + final GetAssetAdministrationShellsResult instance = + CommonJsonization.loadMaximalGetAssetAdministrationShellsResult(); + final GetAssetAdministrationShellsResult instanceCopy = Copying.shallow(instance); + + assertTrue( + GetAssetAdministrationShellsResultShallowEquals(instance, instanceCopy), + "GetAssetAdministrationShellsResult"); + } // public void testGetAssetAdministrationShellsResultShallowCopy + + @Test + public void testGetAssetAdministrationShellsResultDeepCopy() throws IOException { + final GetAssetAdministrationShellsResult instance = + CommonJsonization.loadMaximalGetAssetAdministrationShellsResult(); + final GetAssetAdministrationShellsResult instanceCopy = Copying.deep(instance); + + assertTrue( + GetAssetAdministrationShellsResultDeepEquals(instance, instanceCopy), + "GetAssetAdministrationShellsResult"); + } // public void testGetAssetAdministrationShellsResultDeepCopy + + @Test + public void testGetAssetAdministrationShellsMetadataResultShallowCopy() throws IOException { + final GetAssetAdministrationShellsMetadataResult instance = + CommonJsonization.loadMaximalGetAssetAdministrationShellsMetadataResult(); + final GetAssetAdministrationShellsMetadataResult instanceCopy = Copying.shallow(instance); + + assertTrue( + GetAssetAdministrationShellsMetadataResultShallowEquals(instance, instanceCopy), + "GetAssetAdministrationShellsMetadataResult"); + } // public void testGetAssetAdministrationShellsMetadataResultShallowCopy + + @Test + public void testGetAssetAdministrationShellsMetadataResultDeepCopy() throws IOException { + final GetAssetAdministrationShellsMetadataResult instance = + CommonJsonization.loadMaximalGetAssetAdministrationShellsMetadataResult(); + final GetAssetAdministrationShellsMetadataResult instanceCopy = Copying.deep(instance); + + assertTrue( + GetAssetAdministrationShellsMetadataResultDeepEquals(instance, instanceCopy), + "GetAssetAdministrationShellsMetadataResult"); + } // public void testGetAssetAdministrationShellsMetadataResultDeepCopy + + @Test + public void testGetAllAssetAdministrationShellsRecentChangesResultShallowCopy() + throws IOException { + final GetAllAssetAdministrationShellsRecentChangesResult instance = + CommonJsonization.loadMaximalGetAllAssetAdministrationShellsRecentChangesResult(); + final GetAllAssetAdministrationShellsRecentChangesResult instanceCopy = + Copying.shallow(instance); + + assertTrue( + GetAllAssetAdministrationShellsRecentChangesResultShallowEquals(instance, instanceCopy), + "GetAllAssetAdministrationShellsRecentChangesResult"); + } // public void testGetAllAssetAdministrationShellsRecentChangesResultShallowCopy + + @Test + public void testGetAllAssetAdministrationShellsRecentChangesResultDeepCopy() throws IOException { + final GetAllAssetAdministrationShellsRecentChangesResult instance = + CommonJsonization.loadMaximalGetAllAssetAdministrationShellsRecentChangesResult(); + final GetAllAssetAdministrationShellsRecentChangesResult instanceCopy = Copying.deep(instance); + + assertTrue( + GetAllAssetAdministrationShellsRecentChangesResultDeepEquals(instance, instanceCopy), + "GetAllAssetAdministrationShellsRecentChangesResult"); + } // public void testGetAllAssetAdministrationShellsRecentChangesResultDeepCopy + + @Test + public void testGetAssetAdministrationShellDescriptorsResultShallowCopy() throws IOException { + final GetAssetAdministrationShellDescriptorsResult instance = + CommonJsonization.loadMaximalGetAssetAdministrationShellDescriptorsResult(); + final GetAssetAdministrationShellDescriptorsResult instanceCopy = Copying.shallow(instance); + + assertTrue( + GetAssetAdministrationShellDescriptorsResultShallowEquals(instance, instanceCopy), + "GetAssetAdministrationShellDescriptorsResult"); + } // public void testGetAssetAdministrationShellDescriptorsResultShallowCopy + + @Test + public void testGetAssetAdministrationShellDescriptorsResultDeepCopy() throws IOException { + final GetAssetAdministrationShellDescriptorsResult instance = + CommonJsonization.loadMaximalGetAssetAdministrationShellDescriptorsResult(); + final GetAssetAdministrationShellDescriptorsResult instanceCopy = Copying.deep(instance); + + assertTrue( + GetAssetAdministrationShellDescriptorsResultDeepEquals(instance, instanceCopy), + "GetAssetAdministrationShellDescriptorsResult"); + } // public void testGetAssetAdministrationShellDescriptorsResultDeepCopy + + @Test + public void testGetConceptDescriptionsResultShallowCopy() throws IOException { + final GetConceptDescriptionsResult instance = + CommonJsonization.loadMaximalGetConceptDescriptionsResult(); + final GetConceptDescriptionsResult instanceCopy = Copying.shallow(instance); + + assertTrue( + GetConceptDescriptionsResultShallowEquals(instance, instanceCopy), + "GetConceptDescriptionsResult"); + } // public void testGetConceptDescriptionsResultShallowCopy + + @Test + public void testGetConceptDescriptionsResultDeepCopy() throws IOException { + final GetConceptDescriptionsResult instance = + CommonJsonization.loadMaximalGetConceptDescriptionsResult(); + final GetConceptDescriptionsResult instanceCopy = Copying.deep(instance); + + assertTrue( + GetConceptDescriptionsResultDeepEquals(instance, instanceCopy), + "GetConceptDescriptionsResult"); + } // public void testGetConceptDescriptionsResultDeepCopy + + @Test + public void testGetAllConceptDescriptionsRecentChangesResultShallowCopy() throws IOException { + final GetAllConceptDescriptionsRecentChangesResult instance = + CommonJsonization.loadMaximalGetAllConceptDescriptionsRecentChangesResult(); + final GetAllConceptDescriptionsRecentChangesResult instanceCopy = Copying.shallow(instance); + + assertTrue( + GetAllConceptDescriptionsRecentChangesResultShallowEquals(instance, instanceCopy), + "GetAllConceptDescriptionsRecentChangesResult"); + } // public void testGetAllConceptDescriptionsRecentChangesResultShallowCopy + + @Test + public void testGetAllConceptDescriptionsRecentChangesResultDeepCopy() throws IOException { + final GetAllConceptDescriptionsRecentChangesResult instance = + CommonJsonization.loadMaximalGetAllConceptDescriptionsRecentChangesResult(); + final GetAllConceptDescriptionsRecentChangesResult instanceCopy = Copying.deep(instance); + + assertTrue( + GetAllConceptDescriptionsRecentChangesResultDeepEquals(instance, instanceCopy), + "GetAllConceptDescriptionsRecentChangesResult"); + } // public void testGetAllConceptDescriptionsRecentChangesResultDeepCopy + + @Test + public void testGetPackageDescriptionsResultShallowCopy() throws IOException { + final GetPackageDescriptionsResult instance = + CommonJsonization.loadMaximalGetPackageDescriptionsResult(); + final GetPackageDescriptionsResult instanceCopy = Copying.shallow(instance); + + assertTrue( + GetPackageDescriptionsResultShallowEquals(instance, instanceCopy), + "GetPackageDescriptionsResult"); + } // public void testGetPackageDescriptionsResultShallowCopy + + @Test + public void testGetPackageDescriptionsResultDeepCopy() throws IOException { + final GetPackageDescriptionsResult instance = + CommonJsonization.loadMaximalGetPackageDescriptionsResult(); + final GetPackageDescriptionsResult instanceCopy = Copying.deep(instance); + + assertTrue( + GetPackageDescriptionsResultDeepEquals(instance, instanceCopy), + "GetPackageDescriptionsResult"); + } // public void testGetPackageDescriptionsResultDeepCopy + + @Test + public void testGetPathItemsResultShallowCopy() throws IOException { + final GetPathItemsResult instance = CommonJsonization.loadMaximalGetPathItemsResult(); + final GetPathItemsResult instanceCopy = Copying.shallow(instance); + + assertTrue(GetPathItemsResultShallowEquals(instance, instanceCopy), "GetPathItemsResult"); + } // public void testGetPathItemsResultShallowCopy + + @Test + public void testGetPathItemsResultDeepCopy() throws IOException { + final GetPathItemsResult instance = CommonJsonization.loadMaximalGetPathItemsResult(); + final GetPathItemsResult instanceCopy = Copying.deep(instance); + + assertTrue(GetPathItemsResultDeepEquals(instance, instanceCopy), "GetPathItemsResult"); + } // public void testGetPathItemsResultDeepCopy + + @Test + public void testGetReferencesResultShallowCopy() throws IOException { + final GetReferencesResult instance = CommonJsonization.loadMaximalGetReferencesResult(); + final GetReferencesResult instanceCopy = Copying.shallow(instance); + + assertTrue(GetReferencesResultShallowEquals(instance, instanceCopy), "GetReferencesResult"); + } // public void testGetReferencesResultShallowCopy + + @Test + public void testGetReferencesResultDeepCopy() throws IOException { + final GetReferencesResult instance = CommonJsonization.loadMaximalGetReferencesResult(); + final GetReferencesResult instanceCopy = Copying.deep(instance); + + assertTrue(GetReferencesResultDeepEquals(instance, instanceCopy), "GetReferencesResult"); + } // public void testGetReferencesResultDeepCopy + + @Test + public void testGetSubmodelDescriptorsResultShallowCopy() throws IOException { + final GetSubmodelDescriptorsResult instance = + CommonJsonization.loadMaximalGetSubmodelDescriptorsResult(); + final GetSubmodelDescriptorsResult instanceCopy = Copying.shallow(instance); + + assertTrue( + GetSubmodelDescriptorsResultShallowEquals(instance, instanceCopy), + "GetSubmodelDescriptorsResult"); + } // public void testGetSubmodelDescriptorsResultShallowCopy + + @Test + public void testGetSubmodelDescriptorsResultDeepCopy() throws IOException { + final GetSubmodelDescriptorsResult instance = + CommonJsonization.loadMaximalGetSubmodelDescriptorsResult(); + final GetSubmodelDescriptorsResult instanceCopy = Copying.deep(instance); + + assertTrue( + GetSubmodelDescriptorsResultDeepEquals(instance, instanceCopy), + "GetSubmodelDescriptorsResult"); + } // public void testGetSubmodelDescriptorsResultDeepCopy + + @Test + public void testGetSubmodelElementsMetadataResultShallowCopy() throws IOException { + final GetSubmodelElementsMetadataResult instance = + CommonJsonization.loadMaximalGetSubmodelElementsMetadataResult(); + final GetSubmodelElementsMetadataResult instanceCopy = Copying.shallow(instance); + + assertTrue( + GetSubmodelElementsMetadataResultShallowEquals(instance, instanceCopy), + "GetSubmodelElementsMetadataResult"); + } // public void testGetSubmodelElementsMetadataResultShallowCopy + + @Test + public void testGetSubmodelElementsMetadataResultDeepCopy() throws IOException { + final GetSubmodelElementsMetadataResult instance = + CommonJsonization.loadMaximalGetSubmodelElementsMetadataResult(); + final GetSubmodelElementsMetadataResult instanceCopy = Copying.deep(instance); + + assertTrue( + GetSubmodelElementsMetadataResultDeepEquals(instance, instanceCopy), + "GetSubmodelElementsMetadataResult"); + } // public void testGetSubmodelElementsMetadataResultDeepCopy + + @Test + public void testGetSubmodelElementsResultShallowCopy() throws IOException { + final GetSubmodelElementsResult instance = + CommonJsonization.loadMaximalGetSubmodelElementsResult(); + final GetSubmodelElementsResult instanceCopy = Copying.shallow(instance); + + assertTrue( + GetSubmodelElementsResultShallowEquals(instance, instanceCopy), + "GetSubmodelElementsResult"); + } // public void testGetSubmodelElementsResultShallowCopy + + @Test + public void testGetSubmodelElementsResultDeepCopy() throws IOException { + final GetSubmodelElementsResult instance = + CommonJsonization.loadMaximalGetSubmodelElementsResult(); + final GetSubmodelElementsResult instanceCopy = Copying.deep(instance); + + assertTrue( + GetSubmodelElementsResultDeepEquals(instance, instanceCopy), "GetSubmodelElementsResult"); + } // public void testGetSubmodelElementsResultDeepCopy + + @Test + public void testGetSubmodelElementsValueResultShallowCopy() throws IOException { + final GetSubmodelElementsValueResult instance = + CommonJsonization.loadMaximalGetSubmodelElementsValueResult(); + final GetSubmodelElementsValueResult instanceCopy = Copying.shallow(instance); + + assertTrue( + GetSubmodelElementsValueResultShallowEquals(instance, instanceCopy), + "GetSubmodelElementsValueResult"); + } // public void testGetSubmodelElementsValueResultShallowCopy + + @Test + public void testGetSubmodelElementsValueResultDeepCopy() throws IOException { + final GetSubmodelElementsValueResult instance = + CommonJsonization.loadMaximalGetSubmodelElementsValueResult(); + final GetSubmodelElementsValueResult instanceCopy = Copying.deep(instance); + + assertTrue( + GetSubmodelElementsValueResultDeepEquals(instance, instanceCopy), + "GetSubmodelElementsValueResult"); + } // public void testGetSubmodelElementsValueResultDeepCopy + + @Test + public void testGetAllSubmodelsRecentChangesResultShallowCopy() throws IOException { + final GetAllSubmodelsRecentChangesResult instance = + CommonJsonization.loadMaximalGetAllSubmodelsRecentChangesResult(); + final GetAllSubmodelsRecentChangesResult instanceCopy = Copying.shallow(instance); + + assertTrue( + GetAllSubmodelsRecentChangesResultShallowEquals(instance, instanceCopy), + "GetAllSubmodelsRecentChangesResult"); + } // public void testGetAllSubmodelsRecentChangesResultShallowCopy + + @Test + public void testGetAllSubmodelsRecentChangesResultDeepCopy() throws IOException { + final GetAllSubmodelsRecentChangesResult instance = + CommonJsonization.loadMaximalGetAllSubmodelsRecentChangesResult(); + final GetAllSubmodelsRecentChangesResult instanceCopy = Copying.deep(instance); + + assertTrue( + GetAllSubmodelsRecentChangesResultDeepEquals(instance, instanceCopy), + "GetAllSubmodelsRecentChangesResult"); + } // public void testGetAllSubmodelsRecentChangesResultDeepCopy + + @Test + public void testGetSubmodelsMetadataResultShallowCopy() throws IOException { + final GetSubmodelsMetadataResult instance = + CommonJsonization.loadMaximalGetSubmodelsMetadataResult(); + final GetSubmodelsMetadataResult instanceCopy = Copying.shallow(instance); + + assertTrue( + GetSubmodelsMetadataResultShallowEquals(instance, instanceCopy), + "GetSubmodelsMetadataResult"); + } // public void testGetSubmodelsMetadataResultShallowCopy + + @Test + public void testGetSubmodelsMetadataResultDeepCopy() throws IOException { + final GetSubmodelsMetadataResult instance = + CommonJsonization.loadMaximalGetSubmodelsMetadataResult(); + final GetSubmodelsMetadataResult instanceCopy = Copying.deep(instance); + + assertTrue( + GetSubmodelsMetadataResultDeepEquals(instance, instanceCopy), "GetSubmodelsMetadataResult"); + } // public void testGetSubmodelsMetadataResultDeepCopy + + @Test + public void testGetSubmodelsResultShallowCopy() throws IOException { + final GetSubmodelsResult instance = CommonJsonization.loadMaximalGetSubmodelsResult(); + final GetSubmodelsResult instanceCopy = Copying.shallow(instance); + + assertTrue(GetSubmodelsResultShallowEquals(instance, instanceCopy), "GetSubmodelsResult"); + } // public void testGetSubmodelsResultShallowCopy + + @Test + public void testGetSubmodelsResultDeepCopy() throws IOException { + final GetSubmodelsResult instance = CommonJsonization.loadMaximalGetSubmodelsResult(); + final GetSubmodelsResult instanceCopy = Copying.deep(instance); + + assertTrue(GetSubmodelsResultDeepEquals(instance, instanceCopy), "GetSubmodelsResult"); + } // public void testGetSubmodelsResultDeepCopy + + @Test + public void testGetSubmodelsValueResultShallowCopy() throws IOException { + final GetSubmodelsValueResult instance = CommonJsonization.loadMaximalGetSubmodelsValueResult(); + final GetSubmodelsValueResult instanceCopy = Copying.shallow(instance); + + assertTrue( + GetSubmodelsValueResultShallowEquals(instance, instanceCopy), "GetSubmodelsValueResult"); + } // public void testGetSubmodelsValueResultShallowCopy + + @Test + public void testGetSubmodelsValueResultDeepCopy() throws IOException { + final GetSubmodelsValueResult instance = CommonJsonization.loadMaximalGetSubmodelsValueResult(); + final GetSubmodelsValueResult instanceCopy = Copying.deep(instance); + + assertTrue( + GetSubmodelsValueResultDeepEquals(instance, instanceCopy), "GetSubmodelsValueResult"); + } // public void testGetSubmodelsValueResultDeepCopy + + @Test + public void testClaimAttributeShallowCopy() throws IOException { + final ClaimAttribute instance = CommonJsonization.loadMaximalClaimAttribute(); + final ClaimAttribute instanceCopy = Copying.shallow(instance); + + assertTrue(ClaimAttributeShallowEquals(instance, instanceCopy), "ClaimAttribute"); + } // public void testClaimAttributeShallowCopy + + @Test + public void testClaimAttributeDeepCopy() throws IOException { + final ClaimAttribute instance = CommonJsonization.loadMaximalClaimAttribute(); + final ClaimAttribute instanceCopy = Copying.deep(instance); + + assertTrue(ClaimAttributeDeepEquals(instance, instanceCopy), "ClaimAttribute"); + } // public void testClaimAttributeDeepCopy + + @Test + public void testGlobalAttributeShallowCopy() throws IOException { + final GlobalAttribute instance = CommonJsonization.loadMaximalGlobalAttribute(); + final GlobalAttribute instanceCopy = Copying.shallow(instance); + + assertTrue(GlobalAttributeShallowEquals(instance, instanceCopy), "GlobalAttribute"); + } // public void testGlobalAttributeShallowCopy + + @Test + public void testGlobalAttributeDeepCopy() throws IOException { + final GlobalAttribute instance = CommonJsonization.loadMaximalGlobalAttribute(); + final GlobalAttribute instanceCopy = Copying.deep(instance); + + assertTrue(GlobalAttributeDeepEquals(instance, instanceCopy), "GlobalAttribute"); + } // public void testGlobalAttributeDeepCopy + + @Test + public void testReferenceAttributeShallowCopy() throws IOException { + final ReferenceAttribute instance = CommonJsonization.loadMaximalReferenceAttribute(); + final ReferenceAttribute instanceCopy = Copying.shallow(instance); + + assertTrue(ReferenceAttributeShallowEquals(instance, instanceCopy), "ReferenceAttribute"); + } // public void testReferenceAttributeShallowCopy + + @Test + public void testReferenceAttributeDeepCopy() throws IOException { + final ReferenceAttribute instance = CommonJsonization.loadMaximalReferenceAttribute(); + final ReferenceAttribute instanceCopy = Copying.deep(instance); + + assertTrue(ReferenceAttributeDeepEquals(instance, instanceCopy), "ReferenceAttribute"); + } // public void testReferenceAttributeDeepCopy + + @Test + public void testDateTimeAttributeItemShallowCopy() throws IOException { + final DateTimeAttributeItem instance = CommonJsonization.loadMaximalDateTimeAttributeItem(); + final DateTimeAttributeItem instanceCopy = Copying.shallow(instance); + + assertTrue(DateTimeAttributeItemShallowEquals(instance, instanceCopy), "DateTimeAttributeItem"); + } // public void testDateTimeAttributeItemShallowCopy + + @Test + public void testDateTimeAttributeItemDeepCopy() throws IOException { + final DateTimeAttributeItem instance = CommonJsonization.loadMaximalDateTimeAttributeItem(); + final DateTimeAttributeItem instanceCopy = Copying.deep(instance); + + assertTrue(DateTimeAttributeItemDeepEquals(instance, instanceCopy), "DateTimeAttributeItem"); + } // public void testDateTimeAttributeItemDeepCopy + + @Test + public void testFieldOperandShallowCopy() throws IOException { + final FieldOperand instance = CommonJsonization.loadMaximalFieldOperand(); + final FieldOperand instanceCopy = Copying.shallow(instance); + + assertTrue(FieldOperandShallowEquals(instance, instanceCopy), "FieldOperand"); + } // public void testFieldOperandShallowCopy + + @Test + public void testFieldOperandDeepCopy() throws IOException { + final FieldOperand instance = CommonJsonization.loadMaximalFieldOperand(); + final FieldOperand instanceCopy = Copying.deep(instance); + + assertTrue(FieldOperandDeepEquals(instance, instanceCopy), "FieldOperand"); + } // public void testFieldOperandDeepCopy + + @Test + public void testStringLiteralShallowCopy() throws IOException { + final StringLiteral instance = CommonJsonization.loadMaximalStringLiteral(); + final StringLiteral instanceCopy = Copying.shallow(instance); + + assertTrue(StringLiteralShallowEquals(instance, instanceCopy), "StringLiteral"); + } // public void testStringLiteralShallowCopy + + @Test + public void testStringLiteralDeepCopy() throws IOException { + final StringLiteral instance = CommonJsonization.loadMaximalStringLiteral(); + final StringLiteral instanceCopy = Copying.deep(instance); + + assertTrue(StringLiteralDeepEquals(instance, instanceCopy), "StringLiteral"); + } // public void testStringLiteralDeepCopy + + @Test + public void testAttributeOperandShallowCopy() throws IOException { + final AttributeOperand instance = CommonJsonization.loadMaximalAttributeOperand(); + final AttributeOperand instanceCopy = Copying.shallow(instance); + + assertTrue(AttributeOperandShallowEquals(instance, instanceCopy), "AttributeOperand"); + } // public void testAttributeOperandShallowCopy + + @Test + public void testAttributeOperandDeepCopy() throws IOException { + final AttributeOperand instance = CommonJsonization.loadMaximalAttributeOperand(); + final AttributeOperand instanceCopy = Copying.deep(instance); + + assertTrue(AttributeOperandDeepEquals(instance, instanceCopy), "AttributeOperand"); + } // public void testAttributeOperandDeepCopy + + @Test + public void testNumberLiteralShallowCopy() throws IOException { + final NumberLiteral instance = CommonJsonization.loadMaximalNumberLiteral(); + final NumberLiteral instanceCopy = Copying.shallow(instance); + + assertTrue(NumberLiteralShallowEquals(instance, instanceCopy), "NumberLiteral"); + } // public void testNumberLiteralShallowCopy + + @Test + public void testNumberLiteralDeepCopy() throws IOException { + final NumberLiteral instance = CommonJsonization.loadMaximalNumberLiteral(); + final NumberLiteral instanceCopy = Copying.deep(instance); + + assertTrue(NumberLiteralDeepEquals(instance, instanceCopy), "NumberLiteral"); + } // public void testNumberLiteralDeepCopy + + @Test + public void testHexLiteralShallowCopy() throws IOException { + final HexLiteral instance = CommonJsonization.loadMaximalHexLiteral(); + final HexLiteral instanceCopy = Copying.shallow(instance); + + assertTrue(HexLiteralShallowEquals(instance, instanceCopy), "HexLiteral"); + } // public void testHexLiteralShallowCopy + + @Test + public void testHexLiteralDeepCopy() throws IOException { + final HexLiteral instance = CommonJsonization.loadMaximalHexLiteral(); + final HexLiteral instanceCopy = Copying.deep(instance); + + assertTrue(HexLiteralDeepEquals(instance, instanceCopy), "HexLiteral"); + } // public void testHexLiteralDeepCopy + + @Test + public void testDateTimeLiteralShallowCopy() throws IOException { + final DateTimeLiteral instance = CommonJsonization.loadMaximalDateTimeLiteral(); + final DateTimeLiteral instanceCopy = Copying.shallow(instance); + + assertTrue(DateTimeLiteralShallowEquals(instance, instanceCopy), "DateTimeLiteral"); + } // public void testDateTimeLiteralShallowCopy + + @Test + public void testDateTimeLiteralDeepCopy() throws IOException { + final DateTimeLiteral instance = CommonJsonization.loadMaximalDateTimeLiteral(); + final DateTimeLiteral instanceCopy = Copying.deep(instance); + + assertTrue(DateTimeLiteralDeepEquals(instance, instanceCopy), "DateTimeLiteral"); + } // public void testDateTimeLiteralDeepCopy + + @Test + public void testTimeLiteralShallowCopy() throws IOException { + final TimeLiteral instance = CommonJsonization.loadMaximalTimeLiteral(); + final TimeLiteral instanceCopy = Copying.shallow(instance); + + assertTrue(TimeLiteralShallowEquals(instance, instanceCopy), "TimeLiteral"); + } // public void testTimeLiteralShallowCopy + + @Test + public void testTimeLiteralDeepCopy() throws IOException { + final TimeLiteral instance = CommonJsonization.loadMaximalTimeLiteral(); + final TimeLiteral instanceCopy = Copying.deep(instance); + + assertTrue(TimeLiteralDeepEquals(instance, instanceCopy), "TimeLiteral"); + } // public void testTimeLiteralDeepCopy + + @Test + public void testBooleanLiteralShallowCopy() throws IOException { + final BooleanLiteral instance = CommonJsonization.loadMaximalBooleanLiteral(); + final BooleanLiteral instanceCopy = Copying.shallow(instance); + + assertTrue(BooleanLiteralShallowEquals(instance, instanceCopy), "BooleanLiteral"); + } // public void testBooleanLiteralShallowCopy + + @Test + public void testBooleanLiteralDeepCopy() throws IOException { + final BooleanLiteral instance = CommonJsonization.loadMaximalBooleanLiteral(); + final BooleanLiteral instanceCopy = Copying.deep(instance); + + assertTrue(BooleanLiteralDeepEquals(instance, instanceCopy), "BooleanLiteral"); + } // public void testBooleanLiteralDeepCopy + + @Test + public void testStringCastShallowCopy() throws IOException { + final StringCast instance = CommonJsonization.loadMaximalStringCast(); + final StringCast instanceCopy = Copying.shallow(instance); + + assertTrue(StringCastShallowEquals(instance, instanceCopy), "StringCast"); + } // public void testStringCastShallowCopy + + @Test + public void testStringCastDeepCopy() throws IOException { + final StringCast instance = CommonJsonization.loadMaximalStringCast(); + final StringCast instanceCopy = Copying.deep(instance); + + assertTrue(StringCastDeepEquals(instance, instanceCopy), "StringCast"); + } // public void testStringCastDeepCopy + + @Test + public void testNumberCastShallowCopy() throws IOException { + final NumberCast instance = CommonJsonization.loadMaximalNumberCast(); + final NumberCast instanceCopy = Copying.shallow(instance); + + assertTrue(NumberCastShallowEquals(instance, instanceCopy), "NumberCast"); + } // public void testNumberCastShallowCopy + + @Test + public void testNumberCastDeepCopy() throws IOException { + final NumberCast instance = CommonJsonization.loadMaximalNumberCast(); + final NumberCast instanceCopy = Copying.deep(instance); + + assertTrue(NumberCastDeepEquals(instance, instanceCopy), "NumberCast"); + } // public void testNumberCastDeepCopy + + @Test + public void testHexCastShallowCopy() throws IOException { + final HexCast instance = CommonJsonization.loadMaximalHexCast(); + final HexCast instanceCopy = Copying.shallow(instance); + + assertTrue(HexCastShallowEquals(instance, instanceCopy), "HexCast"); + } // public void testHexCastShallowCopy + + @Test + public void testHexCastDeepCopy() throws IOException { + final HexCast instance = CommonJsonization.loadMaximalHexCast(); + final HexCast instanceCopy = Copying.deep(instance); + + assertTrue(HexCastDeepEquals(instance, instanceCopy), "HexCast"); + } // public void testHexCastDeepCopy + + @Test + public void testBooleanCastShallowCopy() throws IOException { + final BooleanCast instance = CommonJsonization.loadMaximalBooleanCast(); + final BooleanCast instanceCopy = Copying.shallow(instance); + + assertTrue(BooleanCastShallowEquals(instance, instanceCopy), "BooleanCast"); + } // public void testBooleanCastShallowCopy + + @Test + public void testBooleanCastDeepCopy() throws IOException { + final BooleanCast instance = CommonJsonization.loadMaximalBooleanCast(); + final BooleanCast instanceCopy = Copying.deep(instance); + + assertTrue(BooleanCastDeepEquals(instance, instanceCopy), "BooleanCast"); + } // public void testBooleanCastDeepCopy + + @Test + public void testDateTimeCastShallowCopy() throws IOException { + final DateTimeCast instance = CommonJsonization.loadMaximalDateTimeCast(); + final DateTimeCast instanceCopy = Copying.shallow(instance); + + assertTrue(DateTimeCastShallowEquals(instance, instanceCopy), "DateTimeCast"); + } // public void testDateTimeCastShallowCopy + + @Test + public void testDateTimeCastDeepCopy() throws IOException { + final DateTimeCast instance = CommonJsonization.loadMaximalDateTimeCast(); + final DateTimeCast instanceCopy = Copying.deep(instance); + + assertTrue(DateTimeCastDeepEquals(instance, instanceCopy), "DateTimeCast"); + } // public void testDateTimeCastDeepCopy + + @Test + public void testTimeCastShallowCopy() throws IOException { + final TimeCast instance = CommonJsonization.loadMaximalTimeCast(); + final TimeCast instanceCopy = Copying.shallow(instance); + + assertTrue(TimeCastShallowEquals(instance, instanceCopy), "TimeCast"); + } // public void testTimeCastShallowCopy + + @Test + public void testTimeCastDeepCopy() throws IOException { + final TimeCast instance = CommonJsonization.loadMaximalTimeCast(); + final TimeCast instanceCopy = Copying.deep(instance); + + assertTrue(TimeCastDeepEquals(instance, instanceCopy), "TimeCast"); + } // public void testTimeCastDeepCopy + + @Test + public void testDayOfWeekShallowCopy() throws IOException { + final DayOfWeek instance = CommonJsonization.loadMaximalDayOfWeek(); + final DayOfWeek instanceCopy = Copying.shallow(instance); + + assertTrue(DayOfWeekShallowEquals(instance, instanceCopy), "DayOfWeek"); + } // public void testDayOfWeekShallowCopy + + @Test + public void testDayOfWeekDeepCopy() throws IOException { + final DayOfWeek instance = CommonJsonization.loadMaximalDayOfWeek(); + final DayOfWeek instanceCopy = Copying.deep(instance); + + assertTrue(DayOfWeekDeepEquals(instance, instanceCopy), "DayOfWeek"); + } // public void testDayOfWeekDeepCopy + + @Test + public void testDayOfMonthShallowCopy() throws IOException { + final DayOfMonth instance = CommonJsonization.loadMaximalDayOfMonth(); + final DayOfMonth instanceCopy = Copying.shallow(instance); + + assertTrue(DayOfMonthShallowEquals(instance, instanceCopy), "DayOfMonth"); + } // public void testDayOfMonthShallowCopy + + @Test + public void testDayOfMonthDeepCopy() throws IOException { + final DayOfMonth instance = CommonJsonization.loadMaximalDayOfMonth(); + final DayOfMonth instanceCopy = Copying.deep(instance); + + assertTrue(DayOfMonthDeepEquals(instance, instanceCopy), "DayOfMonth"); + } // public void testDayOfMonthDeepCopy + + @Test + public void testMonthShallowCopy() throws IOException { + final Month instance = CommonJsonization.loadMaximalMonth(); + final Month instanceCopy = Copying.shallow(instance); + + assertTrue(MonthShallowEquals(instance, instanceCopy), "Month"); + } // public void testMonthShallowCopy + + @Test + public void testMonthDeepCopy() throws IOException { + final Month instance = CommonJsonization.loadMaximalMonth(); + final Month instanceCopy = Copying.deep(instance); + + assertTrue(MonthDeepEquals(instance, instanceCopy), "Month"); + } // public void testMonthDeepCopy + + @Test + public void testYearShallowCopy() throws IOException { + final Year instance = CommonJsonization.loadMaximalYear(); + final Year instanceCopy = Copying.shallow(instance); + + assertTrue(YearShallowEquals(instance, instanceCopy), "Year"); + } // public void testYearShallowCopy + + @Test + public void testYearDeepCopy() throws IOException { + final Year instance = CommonJsonization.loadMaximalYear(); + final Year instanceCopy = Copying.deep(instance); + + assertTrue(YearDeepEquals(instance, instanceCopy), "Year"); + } // public void testYearDeepCopy + + @Test + public void testDateTimeAttributeOperandShallowCopy() throws IOException { + final DateTimeAttributeOperand instance = + CommonJsonization.loadMaximalDateTimeAttributeOperand(); + final DateTimeAttributeOperand instanceCopy = Copying.shallow(instance); + + assertTrue( + DateTimeAttributeOperandShallowEquals(instance, instanceCopy), "DateTimeAttributeOperand"); + } // public void testDateTimeAttributeOperandShallowCopy + + @Test + public void testDateTimeAttributeOperandDeepCopy() throws IOException { + final DateTimeAttributeOperand instance = + CommonJsonization.loadMaximalDateTimeAttributeOperand(); + final DateTimeAttributeOperand instanceCopy = Copying.deep(instance); + + assertTrue( + DateTimeAttributeOperandDeepEquals(instance, instanceCopy), "DateTimeAttributeOperand"); + } // public void testDateTimeAttributeOperandDeepCopy + + @Test + public void testEqualComparisonShallowCopy() throws IOException { + final EqualComparison instance = CommonJsonization.loadMaximalEqualComparison(); + final EqualComparison instanceCopy = Copying.shallow(instance); + + assertTrue(EqualComparisonShallowEquals(instance, instanceCopy), "EqualComparison"); + } // public void testEqualComparisonShallowCopy + + @Test + public void testEqualComparisonDeepCopy() throws IOException { + final EqualComparison instance = CommonJsonization.loadMaximalEqualComparison(); + final EqualComparison instanceCopy = Copying.deep(instance); + + assertTrue(EqualComparisonDeepEquals(instance, instanceCopy), "EqualComparison"); + } // public void testEqualComparisonDeepCopy + + @Test + public void testNotEqualComparisonShallowCopy() throws IOException { + final NotEqualComparison instance = CommonJsonization.loadMaximalNotEqualComparison(); + final NotEqualComparison instanceCopy = Copying.shallow(instance); + + assertTrue(NotEqualComparisonShallowEquals(instance, instanceCopy), "NotEqualComparison"); + } // public void testNotEqualComparisonShallowCopy + + @Test + public void testNotEqualComparisonDeepCopy() throws IOException { + final NotEqualComparison instance = CommonJsonization.loadMaximalNotEqualComparison(); + final NotEqualComparison instanceCopy = Copying.deep(instance); + + assertTrue(NotEqualComparisonDeepEquals(instance, instanceCopy), "NotEqualComparison"); + } // public void testNotEqualComparisonDeepCopy + + @Test + public void testGreaterThanComparisonShallowCopy() throws IOException { + final GreaterThanComparison instance = CommonJsonization.loadMaximalGreaterThanComparison(); + final GreaterThanComparison instanceCopy = Copying.shallow(instance); + + assertTrue(GreaterThanComparisonShallowEquals(instance, instanceCopy), "GreaterThanComparison"); + } // public void testGreaterThanComparisonShallowCopy + + @Test + public void testGreaterThanComparisonDeepCopy() throws IOException { + final GreaterThanComparison instance = CommonJsonization.loadMaximalGreaterThanComparison(); + final GreaterThanComparison instanceCopy = Copying.deep(instance); + + assertTrue(GreaterThanComparisonDeepEquals(instance, instanceCopy), "GreaterThanComparison"); + } // public void testGreaterThanComparisonDeepCopy + + @Test + public void testGreaterThanOrEqualComparisonShallowCopy() throws IOException { + final GreaterThanOrEqualComparison instance = + CommonJsonization.loadMaximalGreaterThanOrEqualComparison(); + final GreaterThanOrEqualComparison instanceCopy = Copying.shallow(instance); + + assertTrue( + GreaterThanOrEqualComparisonShallowEquals(instance, instanceCopy), + "GreaterThanOrEqualComparison"); + } // public void testGreaterThanOrEqualComparisonShallowCopy + + @Test + public void testGreaterThanOrEqualComparisonDeepCopy() throws IOException { + final GreaterThanOrEqualComparison instance = + CommonJsonization.loadMaximalGreaterThanOrEqualComparison(); + final GreaterThanOrEqualComparison instanceCopy = Copying.deep(instance); + + assertTrue( + GreaterThanOrEqualComparisonDeepEquals(instance, instanceCopy), + "GreaterThanOrEqualComparison"); + } // public void testGreaterThanOrEqualComparisonDeepCopy + + @Test + public void testLessThanComparisonShallowCopy() throws IOException { + final LessThanComparison instance = CommonJsonization.loadMaximalLessThanComparison(); + final LessThanComparison instanceCopy = Copying.shallow(instance); + + assertTrue(LessThanComparisonShallowEquals(instance, instanceCopy), "LessThanComparison"); + } // public void testLessThanComparisonShallowCopy + + @Test + public void testLessThanComparisonDeepCopy() throws IOException { + final LessThanComparison instance = CommonJsonization.loadMaximalLessThanComparison(); + final LessThanComparison instanceCopy = Copying.deep(instance); + + assertTrue(LessThanComparisonDeepEquals(instance, instanceCopy), "LessThanComparison"); + } // public void testLessThanComparisonDeepCopy + + @Test + public void testLessThanOrEqualComparisonShallowCopy() throws IOException { + final LessThanOrEqualComparison instance = + CommonJsonization.loadMaximalLessThanOrEqualComparison(); + final LessThanOrEqualComparison instanceCopy = Copying.shallow(instance); + + assertTrue( + LessThanOrEqualComparisonShallowEquals(instance, instanceCopy), + "LessThanOrEqualComparison"); + } // public void testLessThanOrEqualComparisonShallowCopy + + @Test + public void testLessThanOrEqualComparisonDeepCopy() throws IOException { + final LessThanOrEqualComparison instance = + CommonJsonization.loadMaximalLessThanOrEqualComparison(); + final LessThanOrEqualComparison instanceCopy = Copying.deep(instance); + + assertTrue( + LessThanOrEqualComparisonDeepEquals(instance, instanceCopy), "LessThanOrEqualComparison"); + } // public void testLessThanOrEqualComparisonDeepCopy + + @Test + public void testContainsComparisonShallowCopy() throws IOException { + final ContainsComparison instance = CommonJsonization.loadMaximalContainsComparison(); + final ContainsComparison instanceCopy = Copying.shallow(instance); + + assertTrue(ContainsComparisonShallowEquals(instance, instanceCopy), "ContainsComparison"); + } // public void testContainsComparisonShallowCopy + + @Test + public void testContainsComparisonDeepCopy() throws IOException { + final ContainsComparison instance = CommonJsonization.loadMaximalContainsComparison(); + final ContainsComparison instanceCopy = Copying.deep(instance); + + assertTrue(ContainsComparisonDeepEquals(instance, instanceCopy), "ContainsComparison"); + } // public void testContainsComparisonDeepCopy + + @Test + public void testStartsWithComparisonShallowCopy() throws IOException { + final StartsWithComparison instance = CommonJsonization.loadMaximalStartsWithComparison(); + final StartsWithComparison instanceCopy = Copying.shallow(instance); + + assertTrue(StartsWithComparisonShallowEquals(instance, instanceCopy), "StartsWithComparison"); + } // public void testStartsWithComparisonShallowCopy + + @Test + public void testStartsWithComparisonDeepCopy() throws IOException { + final StartsWithComparison instance = CommonJsonization.loadMaximalStartsWithComparison(); + final StartsWithComparison instanceCopy = Copying.deep(instance); + + assertTrue(StartsWithComparisonDeepEquals(instance, instanceCopy), "StartsWithComparison"); + } // public void testStartsWithComparisonDeepCopy + + @Test + public void testEndsWithComparisonShallowCopy() throws IOException { + final EndsWithComparison instance = CommonJsonization.loadMaximalEndsWithComparison(); + final EndsWithComparison instanceCopy = Copying.shallow(instance); + + assertTrue(EndsWithComparisonShallowEquals(instance, instanceCopy), "EndsWithComparison"); + } // public void testEndsWithComparisonShallowCopy + + @Test + public void testEndsWithComparisonDeepCopy() throws IOException { + final EndsWithComparison instance = CommonJsonization.loadMaximalEndsWithComparison(); + final EndsWithComparison instanceCopy = Copying.deep(instance); + + assertTrue(EndsWithComparisonDeepEquals(instance, instanceCopy), "EndsWithComparison"); + } // public void testEndsWithComparisonDeepCopy + + @Test + public void testRegexComparisonShallowCopy() throws IOException { + final RegexComparison instance = CommonJsonization.loadMaximalRegexComparison(); + final RegexComparison instanceCopy = Copying.shallow(instance); + + assertTrue(RegexComparisonShallowEquals(instance, instanceCopy), "RegexComparison"); + } // public void testRegexComparisonShallowCopy + + @Test + public void testRegexComparisonDeepCopy() throws IOException { + final RegexComparison instance = CommonJsonization.loadMaximalRegexComparison(); + final RegexComparison instanceCopy = Copying.deep(instance); + + assertTrue(RegexComparisonDeepEquals(instance, instanceCopy), "RegexComparison"); + } // public void testRegexComparisonDeepCopy + + @Test + public void testMatchClauseShallowCopy() throws IOException { + final MatchClause instance = CommonJsonization.loadMaximalMatchClause(); + final MatchClause instanceCopy = Copying.shallow(instance); + + assertTrue(MatchClauseShallowEquals(instance, instanceCopy), "MatchClause"); + } // public void testMatchClauseShallowCopy + + @Test + public void testMatchClauseDeepCopy() throws IOException { + final MatchClause instance = CommonJsonization.loadMaximalMatchClause(); + final MatchClause instanceCopy = Copying.deep(instance); + + assertTrue(MatchClauseDeepEquals(instance, instanceCopy), "MatchClause"); + } // public void testMatchClauseDeepCopy + + @Test + public void testAndExpressionShallowCopy() throws IOException { + final AndExpression instance = CommonJsonization.loadMaximalAndExpression(); + final AndExpression instanceCopy = Copying.shallow(instance); + + assertTrue(AndExpressionShallowEquals(instance, instanceCopy), "AndExpression"); + } // public void testAndExpressionShallowCopy + + @Test + public void testAndExpressionDeepCopy() throws IOException { + final AndExpression instance = CommonJsonization.loadMaximalAndExpression(); + final AndExpression instanceCopy = Copying.deep(instance); + + assertTrue(AndExpressionDeepEquals(instance, instanceCopy), "AndExpression"); + } // public void testAndExpressionDeepCopy + + @Test + public void testOrExpressionShallowCopy() throws IOException { + final OrExpression instance = CommonJsonization.loadMaximalOrExpression(); + final OrExpression instanceCopy = Copying.shallow(instance); + + assertTrue(OrExpressionShallowEquals(instance, instanceCopy), "OrExpression"); + } // public void testOrExpressionShallowCopy + + @Test + public void testOrExpressionDeepCopy() throws IOException { + final OrExpression instance = CommonJsonization.loadMaximalOrExpression(); + final OrExpression instanceCopy = Copying.deep(instance); + + assertTrue(OrExpressionDeepEquals(instance, instanceCopy), "OrExpression"); + } // public void testOrExpressionDeepCopy + + @Test + public void testNotExpressionShallowCopy() throws IOException { + final NotExpression instance = CommonJsonization.loadMaximalNotExpression(); + final NotExpression instanceCopy = Copying.shallow(instance); + + assertTrue(NotExpressionShallowEquals(instance, instanceCopy), "NotExpression"); + } // public void testNotExpressionShallowCopy + + @Test + public void testNotExpressionDeepCopy() throws IOException { + final NotExpression instance = CommonJsonization.loadMaximalNotExpression(); + final NotExpression instanceCopy = Copying.deep(instance); + + assertTrue(NotExpressionDeepEquals(instance, instanceCopy), "NotExpression"); + } // public void testNotExpressionDeepCopy + + @Test + public void testQueryFilterShallowCopy() throws IOException { + final QueryFilter instance = CommonJsonization.loadMaximalQueryFilter(); + final QueryFilter instanceCopy = Copying.shallow(instance); + + assertTrue(QueryFilterShallowEquals(instance, instanceCopy), "QueryFilter"); + } // public void testQueryFilterShallowCopy + + @Test + public void testQueryFilterDeepCopy() throws IOException { + final QueryFilter instance = CommonJsonization.loadMaximalQueryFilter(); + final QueryFilter instanceCopy = Copying.deep(instance); + + assertTrue(QueryFilterDeepEquals(instance, instanceCopy), "QueryFilter"); + } // public void testQueryFilterDeepCopy + + @Test + public void testQueryShallowCopy() throws IOException { + final Query instance = CommonJsonization.loadMaximalQuery(); + final Query instanceCopy = Copying.shallow(instance); + + assertTrue(QueryShallowEquals(instance, instanceCopy), "Query"); + } // public void testQueryShallowCopy + + @Test + public void testQueryDeepCopy() throws IOException { + final Query instance = CommonJsonization.loadMaximalQuery(); + final Query instanceCopy = Copying.deep(instance); + + assertTrue(QueryDeepEquals(instance, instanceCopy), "Query"); + } // public void testQueryDeepCopy +} // class TestCopying + +// package aas_core.aas3_2.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestDescendAndVisitorThrough.java b/src/test/java/TestDescendAndVisitorThrough.java new file mode 100644 index 00000000..7abaf015 --- /dev/null +++ b/src/test/java/TestDescendAndVisitorThrough.java @@ -0,0 +1,2539 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.tests; + +import static org.junit.jupiter.api.Assertions.*; + +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.IClass; +import aas_core.aas3_2.visitation.VisitorThrough; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.ArrayList; +import java.util.List; +import java.util.stream.Collectors; +import org.junit.jupiter.api.Test; + +public class TestDescendAndVisitorThrough { + private class _TracingVisitorThrough extends VisitorThrough { + public final List log = new ArrayList<>(); + + @Override + public void visit(IClass that) { + log.add(Common.trace(that)); + super.visit(that); + } + } + + private void assertDescendAndVisitorThroughSame(IClass instance) { + final List logFromDescend = new ArrayList<>(); + + for (IClass subInstance : instance.descend()) { + logFromDescend.add(Common.trace(subInstance)); + } + + final _TracingVisitorThrough visitor = new _TracingVisitorThrough(); + visitor.visit(instance); + final List traceFromVisitor = visitor.log; + + assertFalse(traceFromVisitor.isEmpty()); + + assertEquals(Common.trace(instance), traceFromVisitor.get(0)); + + traceFromVisitor.remove(0); + + assertTrue(traceFromVisitor.equals(logFromDescend)); + } + + private void compareOrRerecordTrace(IClass instance, Path expectedPath) throws IOException { + final StringBuilder stringBuilder = new StringBuilder(); + for (IClass descendant : instance.descend()) { + stringBuilder.append(Common.trace(descendant)); + } + + final String got = stringBuilder.toString(); + if (Common.RECORD_MODE) { + Files.createDirectories(expectedPath.getParent()); + Files.write(expectedPath, got.getBytes()); + } else { + if (!Files.exists(expectedPath)) { + throw new FileNotFoundException( + "The file with the recorded value does not exist: " + expectedPath); + } + final String expected = + Files.readAllLines(expectedPath).stream().collect(Collectors.joining("\n")); + assertEquals(expected.replace("\n", ""), got.replace("\n", "")); + } + } + + @Test + public void testDescendOfExtension() throws IOException { + final Extension instance = CommonJsonization.loadMaximalExtension(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Extension", "maximal.json.trace")); + } // public void testDescendOfExtension + + @Test + public void testDescendAgainstVisitorThroughForExtension() throws IOException { + Extension instance = (CommonJsonization.loadMaximalExtension()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForExtension + + @Test + public void testDescendOfAdministrativeInformation() throws IOException { + final AdministrativeInformation instance = + CommonJsonization.loadMaximalAdministrativeInformation(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "AdministrativeInformation", "maximal.json.trace")); + } // public void testDescendOfAdministrativeInformation + + @Test + public void testDescendAgainstVisitorThroughForAdministrativeInformation() throws IOException { + AdministrativeInformation instance = (CommonJsonization.loadMaximalAdministrativeInformation()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForAdministrativeInformation + + @Test + public void testDescendOfQualifier() throws IOException { + final Qualifier instance = CommonJsonization.loadMaximalQualifier(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Qualifier", "maximal.json.trace")); + } // public void testDescendOfQualifier + + @Test + public void testDescendAgainstVisitorThroughForQualifier() throws IOException { + Qualifier instance = (CommonJsonization.loadMaximalQualifier()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForQualifier + + @Test + public void testDescendOfAssetAdministrationShell() throws IOException { + final AssetAdministrationShell instance = + CommonJsonization.loadMaximalAssetAdministrationShell(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "AssetAdministrationShell", "maximal.json.trace")); + } // public void testDescendOfAssetAdministrationShell + + @Test + public void testDescendAgainstVisitorThroughForAssetAdministrationShell() throws IOException { + AssetAdministrationShell instance = (CommonJsonization.loadMaximalAssetAdministrationShell()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForAssetAdministrationShell + + @Test + public void testDescendOfAssetInformation() throws IOException { + final AssetInformation instance = CommonJsonization.loadMaximalAssetInformation(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "AssetInformation", "maximal.json.trace")); + } // public void testDescendOfAssetInformation + + @Test + public void testDescendAgainstVisitorThroughForAssetInformation() throws IOException { + AssetInformation instance = (CommonJsonization.loadMaximalAssetInformation()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForAssetInformation + + @Test + public void testDescendOfResource() throws IOException { + final Resource instance = CommonJsonization.loadMaximalResource(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Resource", "maximal.json.trace")); + } // public void testDescendOfResource + + @Test + public void testDescendAgainstVisitorThroughForResource() throws IOException { + Resource instance = (CommonJsonization.loadMaximalResource()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForResource + + @Test + public void testDescendOfSpecificAssetId() throws IOException { + final SpecificAssetId instance = CommonJsonization.loadMaximalSpecificAssetId(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "SpecificAssetId", "maximal.json.trace")); + } // public void testDescendOfSpecificAssetId + + @Test + public void testDescendAgainstVisitorThroughForSpecificAssetId() throws IOException { + SpecificAssetId instance = (CommonJsonization.loadMaximalSpecificAssetId()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForSpecificAssetId + + @Test + public void testDescendOfSubmodel() throws IOException { + final Submodel instance = CommonJsonization.loadMaximalSubmodel(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Submodel", "maximal.json.trace")); + } // public void testDescendOfSubmodel + + @Test + public void testDescendAgainstVisitorThroughForSubmodel() throws IOException { + Submodel instance = (CommonJsonization.loadMaximalSubmodel()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForSubmodel + + @Test + public void testDescendOfRelationshipElement() throws IOException { + final RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "RelationshipElement", "maximal.json.trace")); + } // public void testDescendOfRelationshipElement + + @Test + public void testDescendAgainstVisitorThroughForRelationshipElement() throws IOException { + RelationshipElement instance = (CommonJsonization.loadMaximalRelationshipElement()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForRelationshipElement + + @Test + public void testDescendOfSubmodelElementList() throws IOException { + final SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "SubmodelElementList", "maximal.json.trace")); + } // public void testDescendOfSubmodelElementList + + @Test + public void testDescendAgainstVisitorThroughForSubmodelElementList() throws IOException { + SubmodelElementList instance = (CommonJsonization.loadMaximalSubmodelElementList()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForSubmodelElementList + + @Test + public void testDescendOfSubmodelElementCollection() throws IOException { + final SubmodelElementCollection instance = + CommonJsonization.loadMaximalSubmodelElementCollection(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "SubmodelElementCollection", "maximal.json.trace")); + } // public void testDescendOfSubmodelElementCollection + + @Test + public void testDescendAgainstVisitorThroughForSubmodelElementCollection() throws IOException { + SubmodelElementCollection instance = (CommonJsonization.loadMaximalSubmodelElementCollection()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForSubmodelElementCollection + + @Test + public void testDescendOfProperty() throws IOException { + final Property instance = CommonJsonization.loadMaximalProperty(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Property", "maximal.json.trace")); + } // public void testDescendOfProperty + + @Test + public void testDescendAgainstVisitorThroughForProperty() throws IOException { + Property instance = (CommonJsonization.loadMaximalProperty()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForProperty + + @Test + public void testDescendOfMultiLanguageProperty() throws IOException { + final MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "MultiLanguageProperty", "maximal.json.trace")); + } // public void testDescendOfMultiLanguageProperty + + @Test + public void testDescendAgainstVisitorThroughForMultiLanguageProperty() throws IOException { + MultiLanguageProperty instance = (CommonJsonization.loadMaximalMultiLanguageProperty()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForMultiLanguageProperty + + @Test + public void testDescendOfRange() throws IOException { + final Range instance = CommonJsonization.loadMaximalRange(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Range", "maximal.json.trace")); + } // public void testDescendOfRange + + @Test + public void testDescendAgainstVisitorThroughForRange() throws IOException { + Range instance = (CommonJsonization.loadMaximalRange()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForRange + + @Test + public void testDescendOfReferenceElement() throws IOException { + final ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "ReferenceElement", "maximal.json.trace")); + } // public void testDescendOfReferenceElement + + @Test + public void testDescendAgainstVisitorThroughForReferenceElement() throws IOException { + ReferenceElement instance = (CommonJsonization.loadMaximalReferenceElement()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForReferenceElement + + @Test + public void testDescendOfBlob() throws IOException { + final Blob instance = CommonJsonization.loadMaximalBlob(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Blob", "maximal.json.trace")); + } // public void testDescendOfBlob + + @Test + public void testDescendAgainstVisitorThroughForBlob() throws IOException { + Blob instance = (CommonJsonization.loadMaximalBlob()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForBlob + + @Test + public void testDescendOfFile() throws IOException { + final File instance = CommonJsonization.loadMaximalFile(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "File", "maximal.json.trace")); + } // public void testDescendOfFile + + @Test + public void testDescendAgainstVisitorThroughForFile() throws IOException { + File instance = (CommonJsonization.loadMaximalFile()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForFile + + @Test + public void testDescendOfAnnotatedRelationshipElement() throws IOException { + final AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "AnnotatedRelationshipElement", "maximal.json.trace")); + } // public void testDescendOfAnnotatedRelationshipElement + + @Test + public void testDescendAgainstVisitorThroughForAnnotatedRelationshipElement() throws IOException { + AnnotatedRelationshipElement instance = + (CommonJsonization.loadMaximalAnnotatedRelationshipElement()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForAnnotatedRelationshipElement + + @Test + public void testDescendOfEntity() throws IOException { + final Entity instance = CommonJsonization.loadMaximalEntity(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Entity", "maximal.json.trace")); + } // public void testDescendOfEntity + + @Test + public void testDescendAgainstVisitorThroughForEntity() throws IOException { + Entity instance = (CommonJsonization.loadMaximalEntity()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForEntity + + @Test + public void testDescendOfEventPayload() throws IOException { + final EventPayload instance = CommonJsonization.loadMaximalEventPayload(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "EventPayload", "maximal.json.trace")); + } // public void testDescendOfEventPayload + + @Test + public void testDescendAgainstVisitorThroughForEventPayload() throws IOException { + EventPayload instance = (CommonJsonization.loadMaximalEventPayload()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForEventPayload + + @Test + public void testDescendOfBasicEventElement() throws IOException { + final BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "BasicEventElement", "maximal.json.trace")); + } // public void testDescendOfBasicEventElement + + @Test + public void testDescendAgainstVisitorThroughForBasicEventElement() throws IOException { + BasicEventElement instance = (CommonJsonization.loadMaximalBasicEventElement()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForBasicEventElement + + @Test + public void testDescendOfOperation() throws IOException { + final Operation instance = CommonJsonization.loadMaximalOperation(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Operation", "maximal.json.trace")); + } // public void testDescendOfOperation + + @Test + public void testDescendAgainstVisitorThroughForOperation() throws IOException { + Operation instance = (CommonJsonization.loadMaximalOperation()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForOperation + + @Test + public void testDescendOfOperationVariable() throws IOException { + final OperationVariable instance = CommonJsonization.loadMaximalOperationVariable(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "OperationVariable", "maximal.json.trace")); + } // public void testDescendOfOperationVariable + + @Test + public void testDescendAgainstVisitorThroughForOperationVariable() throws IOException { + OperationVariable instance = (CommonJsonization.loadMaximalOperationVariable()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForOperationVariable + + @Test + public void testDescendOfCapability() throws IOException { + final Capability instance = CommonJsonization.loadMaximalCapability(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Capability", "maximal.json.trace")); + } // public void testDescendOfCapability + + @Test + public void testDescendAgainstVisitorThroughForCapability() throws IOException { + Capability instance = (CommonJsonization.loadMaximalCapability()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForCapability + + @Test + public void testDescendOfConceptDescription() throws IOException { + final ConceptDescription instance = CommonJsonization.loadMaximalConceptDescription(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "ConceptDescription", "maximal.json.trace")); + } // public void testDescendOfConceptDescription + + @Test + public void testDescendAgainstVisitorThroughForConceptDescription() throws IOException { + ConceptDescription instance = (CommonJsonization.loadMaximalConceptDescription()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForConceptDescription + + @Test + public void testDescendOfReference() throws IOException { + final Reference instance = CommonJsonization.loadMaximalReference(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Reference", "maximal.json.trace")); + } // public void testDescendOfReference + + @Test + public void testDescendAgainstVisitorThroughForReference() throws IOException { + Reference instance = (CommonJsonization.loadMaximalReference()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForReference + + @Test + public void testDescendOfKey() throws IOException { + final Key instance = CommonJsonization.loadMaximalKey(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Key", "maximal.json.trace")); + } // public void testDescendOfKey + + @Test + public void testDescendAgainstVisitorThroughForKey() throws IOException { + Key instance = (CommonJsonization.loadMaximalKey()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForKey + + @Test + public void testDescendOfLangStringNameType() throws IOException { + final LangStringNameType instance = CommonJsonization.loadMaximalLangStringNameType(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "LangStringNameType", "maximal.json.trace")); + } // public void testDescendOfLangStringNameType + + @Test + public void testDescendAgainstVisitorThroughForLangStringNameType() throws IOException { + LangStringNameType instance = (CommonJsonization.loadMaximalLangStringNameType()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForLangStringNameType + + @Test + public void testDescendOfLangStringTextType() throws IOException { + final LangStringTextType instance = CommonJsonization.loadMaximalLangStringTextType(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "LangStringTextType", "maximal.json.trace")); + } // public void testDescendOfLangStringTextType + + @Test + public void testDescendAgainstVisitorThroughForLangStringTextType() throws IOException { + LangStringTextType instance = (CommonJsonization.loadMaximalLangStringTextType()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForLangStringTextType + + @Test + public void testDescendOfEnvironment() throws IOException { + final Environment instance = CommonJsonization.loadMaximalEnvironment(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Environment", "maximal.json.trace")); + } // public void testDescendOfEnvironment + + @Test + public void testDescendAgainstVisitorThroughForEnvironment() throws IOException { + Environment instance = (CommonJsonization.loadMaximalEnvironment()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForEnvironment + + @Test + public void testDescendOfEmbeddedDataSpecification() throws IOException { + final EmbeddedDataSpecification instance = + CommonJsonization.loadMaximalEmbeddedDataSpecification(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "EmbeddedDataSpecification", "maximal.json.trace")); + } // public void testDescendOfEmbeddedDataSpecification + + @Test + public void testDescendAgainstVisitorThroughForEmbeddedDataSpecification() throws IOException { + EmbeddedDataSpecification instance = (CommonJsonization.loadMaximalEmbeddedDataSpecification()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForEmbeddedDataSpecification + + @Test + public void testDescendOfLevelType() throws IOException { + final LevelType instance = CommonJsonization.loadMaximalLevelType(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "LevelType", "maximal.json.trace")); + } // public void testDescendOfLevelType + + @Test + public void testDescendAgainstVisitorThroughForLevelType() throws IOException { + LevelType instance = (CommonJsonization.loadMaximalLevelType()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForLevelType + + @Test + public void testDescendOfValueReferencePair() throws IOException { + final ValueReferencePair instance = CommonJsonization.loadMaximalValueReferencePair(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "ValueReferencePair", "maximal.json.trace")); + } // public void testDescendOfValueReferencePair + + @Test + public void testDescendAgainstVisitorThroughForValueReferencePair() throws IOException { + ValueReferencePair instance = (CommonJsonization.loadMaximalValueReferencePair()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForValueReferencePair + + @Test + public void testDescendOfValueList() throws IOException { + final ValueList instance = CommonJsonization.loadMaximalValueList(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "ValueList", "maximal.json.trace")); + } // public void testDescendOfValueList + + @Test + public void testDescendAgainstVisitorThroughForValueList() throws IOException { + ValueList instance = (CommonJsonization.loadMaximalValueList()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForValueList + + @Test + public void testDescendOfLangStringPreferredNameTypeIec61360() throws IOException { + final LangStringPreferredNameTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringPreferredNameTypeIec61360(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "LangStringPreferredNameTypeIec61360", + "maximal.json.trace")); + } // public void testDescendOfLangStringPreferredNameTypeIec61360 + + @Test + public void testDescendAgainstVisitorThroughForLangStringPreferredNameTypeIec61360() + throws IOException { + LangStringPreferredNameTypeIec61360 instance = + (CommonJsonization.loadMaximalLangStringPreferredNameTypeIec61360()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForLangStringPreferredNameTypeIec61360 + + @Test + public void testDescendOfLangStringShortNameTypeIec61360() throws IOException { + final LangStringShortNameTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringShortNameTypeIec61360(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "LangStringShortNameTypeIec61360", + "maximal.json.trace")); + } // public void testDescendOfLangStringShortNameTypeIec61360 + + @Test + public void testDescendAgainstVisitorThroughForLangStringShortNameTypeIec61360() + throws IOException { + LangStringShortNameTypeIec61360 instance = + (CommonJsonization.loadMaximalLangStringShortNameTypeIec61360()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForLangStringShortNameTypeIec61360 + + @Test + public void testDescendOfLangStringDefinitionTypeIec61360() throws IOException { + final LangStringDefinitionTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringDefinitionTypeIec61360(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "LangStringDefinitionTypeIec61360", + "maximal.json.trace")); + } // public void testDescendOfLangStringDefinitionTypeIec61360 + + @Test + public void testDescendAgainstVisitorThroughForLangStringDefinitionTypeIec61360() + throws IOException { + LangStringDefinitionTypeIec61360 instance = + (CommonJsonization.loadMaximalLangStringDefinitionTypeIec61360()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForLangStringDefinitionTypeIec61360 + + @Test + public void testDescendOfLangStringUom() throws IOException { + final LangStringUom instance = CommonJsonization.loadMaximalLangStringUom(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "LangStringUom", "maximal.json.trace")); + } // public void testDescendOfLangStringUom + + @Test + public void testDescendAgainstVisitorThroughForLangStringUom() throws IOException { + LangStringUom instance = (CommonJsonization.loadMaximalLangStringUom()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForLangStringUom + + @Test + public void testDescendOfDefinitionTypeUom() throws IOException { + final DefinitionTypeUom instance = CommonJsonization.loadMaximalDefinitionTypeUom(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "DefinitionTypeUom", "maximal.json.trace")); + } // public void testDescendOfDefinitionTypeUom + + @Test + public void testDescendAgainstVisitorThroughForDefinitionTypeUom() throws IOException { + DefinitionTypeUom instance = (CommonJsonization.loadMaximalDefinitionTypeUom()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForDefinitionTypeUom + + @Test + public void testDescendOfDataSpecificationUom() throws IOException { + final DataSpecificationUom instance = CommonJsonization.loadMaximalDataSpecificationUom(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "DataSpecificationUom", "maximal.json.trace")); + } // public void testDescendOfDataSpecificationUom + + @Test + public void testDescendAgainstVisitorThroughForDataSpecificationUom() throws IOException { + DataSpecificationUom instance = (CommonJsonization.loadMaximalDataSpecificationUom()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForDataSpecificationUom + + @Test + public void testDescendOfDataSpecificationIec61360() throws IOException { + final DataSpecificationIec61360 instance = + CommonJsonization.loadMaximalDataSpecificationIec61360(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "DataSpecificationIec61360", "maximal.json.trace")); + } // public void testDescendOfDataSpecificationIec61360 + + @Test + public void testDescendAgainstVisitorThroughForDataSpecificationIec61360() throws IOException { + DataSpecificationIec61360 instance = (CommonJsonization.loadMaximalDataSpecificationIec61360()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForDataSpecificationIec61360 + + @Test + public void testDescendOfAssetAdministrationShellDescriptor() throws IOException { + final AssetAdministrationShellDescriptor instance = + CommonJsonization.loadMaximalAssetAdministrationShellDescriptor(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "AssetAdministrationShellDescriptor", + "maximal.json.trace")); + } // public void testDescendOfAssetAdministrationShellDescriptor + + @Test + public void testDescendAgainstVisitorThroughForAssetAdministrationShellDescriptor() + throws IOException { + AssetAdministrationShellDescriptor instance = + (CommonJsonization.loadMaximalAssetAdministrationShellDescriptor()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForAssetAdministrationShellDescriptor + + @Test + public void testDescendOfSubmodelDescriptor() throws IOException { + final SubmodelDescriptor instance = CommonJsonization.loadMaximalSubmodelDescriptor(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "SubmodelDescriptor", "maximal.json.trace")); + } // public void testDescendOfSubmodelDescriptor + + @Test + public void testDescendAgainstVisitorThroughForSubmodelDescriptor() throws IOException { + SubmodelDescriptor instance = (CommonJsonization.loadMaximalSubmodelDescriptor()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForSubmodelDescriptor + + @Test + public void testDescendOfEndpoint() throws IOException { + final Endpoint instance = CommonJsonization.loadMaximalEndpoint(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Endpoint", "maximal.json.trace")); + } // public void testDescendOfEndpoint + + @Test + public void testDescendAgainstVisitorThroughForEndpoint() throws IOException { + Endpoint instance = (CommonJsonization.loadMaximalEndpoint()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForEndpoint + + @Test + public void testDescendOfProtocolInformation() throws IOException { + final ProtocolInformation instance = CommonJsonization.loadMaximalProtocolInformation(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "ProtocolInformation", "maximal.json.trace")); + } // public void testDescendOfProtocolInformation + + @Test + public void testDescendAgainstVisitorThroughForProtocolInformation() throws IOException { + ProtocolInformation instance = (CommonJsonization.loadMaximalProtocolInformation()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForProtocolInformation + + @Test + public void testDescendOfSecurityAttributeObject() throws IOException { + final SecurityAttributeObject instance = CommonJsonization.loadMaximalSecurityAttributeObject(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "SecurityAttributeObject", "maximal.json.trace")); + } // public void testDescendOfSecurityAttributeObject + + @Test + public void testDescendAgainstVisitorThroughForSecurityAttributeObject() throws IOException { + SecurityAttributeObject instance = (CommonJsonization.loadMaximalSecurityAttributeObject()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForSecurityAttributeObject + + @Test + public void testDescendOfAssetLink() throws IOException { + final AssetLink instance = CommonJsonization.loadMaximalAssetLink(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "AssetLink", "maximal.json.trace")); + } // public void testDescendOfAssetLink + + @Test + public void testDescendAgainstVisitorThroughForAssetLink() throws IOException { + AssetLink instance = (CommonJsonization.loadMaximalAssetLink()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForAssetLink + + @Test + public void testDescendOfServiceDescription() throws IOException { + final ServiceDescription instance = CommonJsonization.loadMaximalServiceDescription(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "ServiceDescription", "maximal.json.trace")); + } // public void testDescendOfServiceDescription + + @Test + public void testDescendAgainstVisitorThroughForServiceDescription() throws IOException { + ServiceDescription instance = (CommonJsonization.loadMaximalServiceDescription()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForServiceDescription + + @Test + public void testDescendOfAssetAdministrationShellRecentChange() throws IOException { + final AssetAdministrationShellRecentChange instance = + CommonJsonization.loadMaximalAssetAdministrationShellRecentChange(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "AssetAdministrationShellRecentChange", + "maximal.json.trace")); + } // public void testDescendOfAssetAdministrationShellRecentChange + + @Test + public void testDescendAgainstVisitorThroughForAssetAdministrationShellRecentChange() + throws IOException { + AssetAdministrationShellRecentChange instance = + (CommonJsonization.loadMaximalAssetAdministrationShellRecentChange()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForAssetAdministrationShellRecentChange + + @Test + public void testDescendOfConceptDescriptionRecentChange() throws IOException { + final ConceptDescriptionRecentChange instance = + CommonJsonization.loadMaximalConceptDescriptionRecentChange(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "ConceptDescriptionRecentChange", + "maximal.json.trace")); + } // public void testDescendOfConceptDescriptionRecentChange + + @Test + public void testDescendAgainstVisitorThroughForConceptDescriptionRecentChange() + throws IOException { + ConceptDescriptionRecentChange instance = + (CommonJsonization.loadMaximalConceptDescriptionRecentChange()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForConceptDescriptionRecentChange + + @Test + public void testDescendOfSubmodelRecentChange() throws IOException { + final SubmodelRecentChange instance = CommonJsonization.loadMaximalSubmodelRecentChange(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "SubmodelRecentChange", "maximal.json.trace")); + } // public void testDescendOfSubmodelRecentChange + + @Test + public void testDescendAgainstVisitorThroughForSubmodelRecentChange() throws IOException { + SubmodelRecentChange instance = (CommonJsonization.loadMaximalSubmodelRecentChange()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForSubmodelRecentChange + + @Test + public void testDescendOfResult() throws IOException { + final Result instance = CommonJsonization.loadMaximalResult(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Result", "maximal.json.trace")); + } // public void testDescendOfResult + + @Test + public void testDescendAgainstVisitorThroughForResult() throws IOException { + Result instance = (CommonJsonization.loadMaximalResult()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForResult + + @Test + public void testDescendOfMessage() throws IOException { + final Message instance = CommonJsonization.loadMaximalMessage(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Message", "maximal.json.trace")); + } // public void testDescendOfMessage + + @Test + public void testDescendAgainstVisitorThroughForMessage() throws IOException { + Message instance = (CommonJsonization.loadMaximalMessage()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForMessage + + @Test + public void testDescendOfOperationRequest() throws IOException { + final OperationRequest instance = CommonJsonization.loadMaximalOperationRequest(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "OperationRequest", "maximal.json.trace")); + } // public void testDescendOfOperationRequest + + @Test + public void testDescendAgainstVisitorThroughForOperationRequest() throws IOException { + OperationRequest instance = (CommonJsonization.loadMaximalOperationRequest()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForOperationRequest + + @Test + public void testDescendOfOperationRequestAsync() throws IOException { + final OperationRequestAsync instance = CommonJsonization.loadMaximalOperationRequestAsync(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "OperationRequestAsync", "maximal.json.trace")); + } // public void testDescendOfOperationRequestAsync + + @Test + public void testDescendAgainstVisitorThroughForOperationRequestAsync() throws IOException { + OperationRequestAsync instance = (CommonJsonization.loadMaximalOperationRequestAsync()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForOperationRequestAsync + + @Test + public void testDescendOfOperationRequestValueOnly() throws IOException { + final OperationRequestValueOnly instance = + CommonJsonization.loadMaximalOperationRequestValueOnly(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "OperationRequestValueOnly", "maximal.json.trace")); + } // public void testDescendOfOperationRequestValueOnly + + @Test + public void testDescendAgainstVisitorThroughForOperationRequestValueOnly() throws IOException { + OperationRequestValueOnly instance = (CommonJsonization.loadMaximalOperationRequestValueOnly()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForOperationRequestValueOnly + + @Test + public void testDescendOfOperationRequestAsyncValueOnly() throws IOException { + final OperationRequestAsyncValueOnly instance = + CommonJsonization.loadMaximalOperationRequestAsyncValueOnly(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "OperationRequestAsyncValueOnly", + "maximal.json.trace")); + } // public void testDescendOfOperationRequestAsyncValueOnly + + @Test + public void testDescendAgainstVisitorThroughForOperationRequestAsyncValueOnly() + throws IOException { + OperationRequestAsyncValueOnly instance = + (CommonJsonization.loadMaximalOperationRequestAsyncValueOnly()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForOperationRequestAsyncValueOnly + + @Test + public void testDescendOfBaseOperationResult() throws IOException { + final BaseOperationResult instance = CommonJsonization.loadMaximalBaseOperationResult(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "BaseOperationResult", "maximal.json.trace")); + } // public void testDescendOfBaseOperationResult + + @Test + public void testDescendAgainstVisitorThroughForBaseOperationResult() throws IOException { + BaseOperationResult instance = (CommonJsonization.loadMaximalBaseOperationResult()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForBaseOperationResult + + @Test + public void testDescendOfOperationResult() throws IOException { + final OperationResult instance = CommonJsonization.loadMaximalOperationResult(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "OperationResult", "maximal.json.trace")); + } // public void testDescendOfOperationResult + + @Test + public void testDescendAgainstVisitorThroughForOperationResult() throws IOException { + OperationResult instance = (CommonJsonization.loadMaximalOperationResult()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForOperationResult + + @Test + public void testDescendOfOperationResultValueOnly() throws IOException { + final OperationResultValueOnly instance = + CommonJsonization.loadMaximalOperationResultValueOnly(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "OperationResultValueOnly", "maximal.json.trace")); + } // public void testDescendOfOperationResultValueOnly + + @Test + public void testDescendAgainstVisitorThroughForOperationResultValueOnly() throws IOException { + OperationResultValueOnly instance = (CommonJsonization.loadMaximalOperationResultValueOnly()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForOperationResultValueOnly + + @Test + public void testDescendOfOperationHandle() throws IOException { + final OperationHandle instance = CommonJsonization.loadMaximalOperationHandle(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "OperationHandle", "maximal.json.trace")); + } // public void testDescendOfOperationHandle + + @Test + public void testDescendAgainstVisitorThroughForOperationHandle() throws IOException { + OperationHandle instance = (CommonJsonization.loadMaximalOperationHandle()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForOperationHandle + + @Test + public void testDescendOfPagedResult() throws IOException { + final PagedResult instance = CommonJsonization.loadMaximalPagedResult(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "PagedResult", "maximal.json.trace")); + } // public void testDescendOfPagedResult + + @Test + public void testDescendAgainstVisitorThroughForPagedResult() throws IOException { + PagedResult instance = (CommonJsonization.loadMaximalPagedResult()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForPagedResult + + @Test + public void testDescendOfPagingMetadata() throws IOException { + final PagingMetadata instance = CommonJsonization.loadMaximalPagingMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "PagingMetadata", "maximal.json.trace")); + } // public void testDescendOfPagingMetadata + + @Test + public void testDescendAgainstVisitorThroughForPagingMetadata() throws IOException { + PagingMetadata instance = (CommonJsonization.loadMaximalPagingMetadata()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForPagingMetadata + + @Test + public void testDescendOfPackageDescription() throws IOException { + final PackageDescription instance = CommonJsonization.loadMaximalPackageDescription(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "PackageDescription", "maximal.json.trace")); + } // public void testDescendOfPackageDescription + + @Test + public void testDescendAgainstVisitorThroughForPackageDescription() throws IOException { + PackageDescription instance = (CommonJsonization.loadMaximalPackageDescription()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForPackageDescription + + @Test + public void testDescendOfPropertyMetadata() throws IOException { + final PropertyMetadata instance = CommonJsonization.loadMaximalPropertyMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "PropertyMetadata", "maximal.json.trace")); + } // public void testDescendOfPropertyMetadata + + @Test + public void testDescendAgainstVisitorThroughForPropertyMetadata() throws IOException { + PropertyMetadata instance = (CommonJsonization.loadMaximalPropertyMetadata()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForPropertyMetadata + + @Test + public void testDescendOfRangeMetadata() throws IOException { + final RangeMetadata instance = CommonJsonization.loadMaximalRangeMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "RangeMetadata", "maximal.json.trace")); + } // public void testDescendOfRangeMetadata + + @Test + public void testDescendAgainstVisitorThroughForRangeMetadata() throws IOException { + RangeMetadata instance = (CommonJsonization.loadMaximalRangeMetadata()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForRangeMetadata + + @Test + public void testDescendOfBlobMetadata() throws IOException { + final BlobMetadata instance = CommonJsonization.loadMaximalBlobMetadata(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "BlobMetadata", "maximal.json.trace")); + } // public void testDescendOfBlobMetadata + + @Test + public void testDescendAgainstVisitorThroughForBlobMetadata() throws IOException { + BlobMetadata instance = (CommonJsonization.loadMaximalBlobMetadata()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForBlobMetadata + + @Test + public void testDescendOfFileMetadata() throws IOException { + final FileMetadata instance = CommonJsonization.loadMaximalFileMetadata(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "FileMetadata", "maximal.json.trace")); + } // public void testDescendOfFileMetadata + + @Test + public void testDescendAgainstVisitorThroughForFileMetadata() throws IOException { + FileMetadata instance = (CommonJsonization.loadMaximalFileMetadata()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForFileMetadata + + @Test + public void testDescendOfMultiLanguagePropertyMetadata() throws IOException { + final MultiLanguagePropertyMetadata instance = + CommonJsonization.loadMaximalMultiLanguagePropertyMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "MultiLanguagePropertyMetadata", + "maximal.json.trace")); + } // public void testDescendOfMultiLanguagePropertyMetadata + + @Test + public void testDescendAgainstVisitorThroughForMultiLanguagePropertyMetadata() + throws IOException { + MultiLanguagePropertyMetadata instance = + (CommonJsonization.loadMaximalMultiLanguagePropertyMetadata()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForMultiLanguagePropertyMetadata + + @Test + public void testDescendOfReferenceElementMetadata() throws IOException { + final ReferenceElementMetadata instance = + CommonJsonization.loadMaximalReferenceElementMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "ReferenceElementMetadata", "maximal.json.trace")); + } // public void testDescendOfReferenceElementMetadata + + @Test + public void testDescendAgainstVisitorThroughForReferenceElementMetadata() throws IOException { + ReferenceElementMetadata instance = (CommonJsonization.loadMaximalReferenceElementMetadata()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForReferenceElementMetadata + + @Test + public void testDescendOfRelationshipElementMetadata() throws IOException { + final RelationshipElementMetadata instance = + CommonJsonization.loadMaximalRelationshipElementMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "RelationshipElementMetadata", "maximal.json.trace")); + } // public void testDescendOfRelationshipElementMetadata + + @Test + public void testDescendAgainstVisitorThroughForRelationshipElementMetadata() throws IOException { + RelationshipElementMetadata instance = + (CommonJsonization.loadMaximalRelationshipElementMetadata()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForRelationshipElementMetadata + + @Test + public void testDescendOfAnnotatedRelationshipElementMetadata() throws IOException { + final AnnotatedRelationshipElementMetadata instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "AnnotatedRelationshipElementMetadata", + "maximal.json.trace")); + } // public void testDescendOfAnnotatedRelationshipElementMetadata + + @Test + public void testDescendAgainstVisitorThroughForAnnotatedRelationshipElementMetadata() + throws IOException { + AnnotatedRelationshipElementMetadata instance = + (CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForAnnotatedRelationshipElementMetadata + + @Test + public void testDescendOfEntityMetadata() throws IOException { + final EntityMetadata instance = CommonJsonization.loadMaximalEntityMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "EntityMetadata", "maximal.json.trace")); + } // public void testDescendOfEntityMetadata + + @Test + public void testDescendAgainstVisitorThroughForEntityMetadata() throws IOException { + EntityMetadata instance = (CommonJsonization.loadMaximalEntityMetadata()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForEntityMetadata + + @Test + public void testDescendOfCapabilityMetadata() throws IOException { + final CapabilityMetadata instance = CommonJsonization.loadMaximalCapabilityMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "CapabilityMetadata", "maximal.json.trace")); + } // public void testDescendOfCapabilityMetadata + + @Test + public void testDescendAgainstVisitorThroughForCapabilityMetadata() throws IOException { + CapabilityMetadata instance = (CommonJsonization.loadMaximalCapabilityMetadata()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForCapabilityMetadata + + @Test + public void testDescendOfOperationMetadata() throws IOException { + final OperationMetadata instance = CommonJsonization.loadMaximalOperationMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "OperationMetadata", "maximal.json.trace")); + } // public void testDescendOfOperationMetadata + + @Test + public void testDescendAgainstVisitorThroughForOperationMetadata() throws IOException { + OperationMetadata instance = (CommonJsonization.loadMaximalOperationMetadata()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForOperationMetadata + + @Test + public void testDescendOfSubmodelElementCollectionMetadata() throws IOException { + final SubmodelElementCollectionMetadata instance = + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "SubmodelElementCollectionMetadata", + "maximal.json.trace")); + } // public void testDescendOfSubmodelElementCollectionMetadata + + @Test + public void testDescendAgainstVisitorThroughForSubmodelElementCollectionMetadata() + throws IOException { + SubmodelElementCollectionMetadata instance = + (CommonJsonization.loadMaximalSubmodelElementCollectionMetadata()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForSubmodelElementCollectionMetadata + + @Test + public void testDescendOfBasicEventElementMetadata() throws IOException { + final BasicEventElementMetadata instance = + CommonJsonization.loadMaximalBasicEventElementMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "BasicEventElementMetadata", "maximal.json.trace")); + } // public void testDescendOfBasicEventElementMetadata + + @Test + public void testDescendAgainstVisitorThroughForBasicEventElementMetadata() throws IOException { + BasicEventElementMetadata instance = (CommonJsonization.loadMaximalBasicEventElementMetadata()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForBasicEventElementMetadata + + @Test + public void testDescendOfSubmodelElementListMetadata() throws IOException { + final SubmodelElementListMetadata instance = + CommonJsonization.loadMaximalSubmodelElementListMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "SubmodelElementListMetadata", "maximal.json.trace")); + } // public void testDescendOfSubmodelElementListMetadata + + @Test + public void testDescendAgainstVisitorThroughForSubmodelElementListMetadata() throws IOException { + SubmodelElementListMetadata instance = + (CommonJsonization.loadMaximalSubmodelElementListMetadata()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForSubmodelElementListMetadata + + @Test + public void testDescendOfSubmodelMetadata() throws IOException { + final SubmodelMetadata instance = CommonJsonization.loadMaximalSubmodelMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "SubmodelMetadata", "maximal.json.trace")); + } // public void testDescendOfSubmodelMetadata + + @Test + public void testDescendAgainstVisitorThroughForSubmodelMetadata() throws IOException { + SubmodelMetadata instance = (CommonJsonization.loadMaximalSubmodelMetadata()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForSubmodelMetadata + + @Test + public void testDescendOfAssetAdministrationShellMetadata() throws IOException { + final AssetAdministrationShellMetadata instance = + CommonJsonization.loadMaximalAssetAdministrationShellMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "AssetAdministrationShellMetadata", + "maximal.json.trace")); + } // public void testDescendOfAssetAdministrationShellMetadata + + @Test + public void testDescendAgainstVisitorThroughForAssetAdministrationShellMetadata() + throws IOException { + AssetAdministrationShellMetadata instance = + (CommonJsonization.loadMaximalAssetAdministrationShellMetadata()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForAssetAdministrationShellMetadata + + @Test + public void testDescendOfReferenceElementValue() throws IOException { + final ReferenceElementValue instance = CommonJsonization.loadMaximalReferenceElementValue(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "ReferenceElementValue", "maximal.json.trace")); + } // public void testDescendOfReferenceElementValue + + @Test + public void testDescendAgainstVisitorThroughForReferenceElementValue() throws IOException { + ReferenceElementValue instance = (CommonJsonization.loadMaximalReferenceElementValue()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForReferenceElementValue + + @Test + public void testDescendOfBlobValue() throws IOException { + final BlobValue instance = CommonJsonization.loadMaximalBlobValue(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "BlobValue", "maximal.json.trace")); + } // public void testDescendOfBlobValue + + @Test + public void testDescendAgainstVisitorThroughForBlobValue() throws IOException { + BlobValue instance = (CommonJsonization.loadMaximalBlobValue()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForBlobValue + + @Test + public void testDescendOfFileValue() throws IOException { + final FileValue instance = CommonJsonization.loadMaximalFileValue(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "FileValue", "maximal.json.trace")); + } // public void testDescendOfFileValue + + @Test + public void testDescendAgainstVisitorThroughForFileValue() throws IOException { + FileValue instance = (CommonJsonization.loadMaximalFileValue()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForFileValue + + @Test + public void testDescendOfRangeValue() throws IOException { + final RangeValue instance = CommonJsonization.loadMaximalRangeValue(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "RangeValue", "maximal.json.trace")); + } // public void testDescendOfRangeValue + + @Test + public void testDescendAgainstVisitorThroughForRangeValue() throws IOException { + RangeValue instance = (CommonJsonization.loadMaximalRangeValue()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForRangeValue + + @Test + public void testDescendOfRelationshipElementValue() throws IOException { + final RelationshipElementValue instance = + CommonJsonization.loadMaximalRelationshipElementValue(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "RelationshipElementValue", "maximal.json.trace")); + } // public void testDescendOfRelationshipElementValue + + @Test + public void testDescendAgainstVisitorThroughForRelationshipElementValue() throws IOException { + RelationshipElementValue instance = (CommonJsonization.loadMaximalRelationshipElementValue()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForRelationshipElementValue + + @Test + public void testDescendOfBasicEventElementValue() throws IOException { + final BasicEventElementValue instance = CommonJsonization.loadMaximalBasicEventElementValue(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "BasicEventElementValue", "maximal.json.trace")); + } // public void testDescendOfBasicEventElementValue + + @Test + public void testDescendAgainstVisitorThroughForBasicEventElementValue() throws IOException { + BasicEventElementValue instance = (CommonJsonization.loadMaximalBasicEventElementValue()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForBasicEventElementValue + + @Test + public void testDescendOfAnnotatedRelationshipElementValue() throws IOException { + final AnnotatedRelationshipElementValue instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementValue(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "AnnotatedRelationshipElementValue", + "maximal.json.trace")); + } // public void testDescendOfAnnotatedRelationshipElementValue + + @Test + public void testDescendAgainstVisitorThroughForAnnotatedRelationshipElementValue() + throws IOException { + AnnotatedRelationshipElementValue instance = + (CommonJsonization.loadMaximalAnnotatedRelationshipElementValue()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForAnnotatedRelationshipElementValue + + @Test + public void testDescendOfEntityValue() throws IOException { + final EntityValue instance = CommonJsonization.loadMaximalEntityValue(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "EntityValue", "maximal.json.trace")); + } // public void testDescendOfEntityValue + + @Test + public void testDescendAgainstVisitorThroughForEntityValue() throws IOException { + EntityValue instance = (CommonJsonization.loadMaximalEntityValue()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForEntityValue + + @Test + public void testDescendOfGetAssetAdministrationShellsResult() throws IOException { + final GetAssetAdministrationShellsResult instance = + CommonJsonization.loadMaximalGetAssetAdministrationShellsResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "GetAssetAdministrationShellsResult", + "maximal.json.trace")); + } // public void testDescendOfGetAssetAdministrationShellsResult + + @Test + public void testDescendAgainstVisitorThroughForGetAssetAdministrationShellsResult() + throws IOException { + GetAssetAdministrationShellsResult instance = + (CommonJsonization.loadMaximalGetAssetAdministrationShellsResult()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForGetAssetAdministrationShellsResult + + @Test + public void testDescendOfGetAssetAdministrationShellsMetadataResult() throws IOException { + final GetAssetAdministrationShellsMetadataResult instance = + CommonJsonization.loadMaximalGetAssetAdministrationShellsMetadataResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "GetAssetAdministrationShellsMetadataResult", + "maximal.json.trace")); + } // public void testDescendOfGetAssetAdministrationShellsMetadataResult + + @Test + public void testDescendAgainstVisitorThroughForGetAssetAdministrationShellsMetadataResult() + throws IOException { + GetAssetAdministrationShellsMetadataResult instance = + (CommonJsonization.loadMaximalGetAssetAdministrationShellsMetadataResult()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForGetAssetAdministrationShellsMetadataResult + + @Test + public void testDescendOfGetAllAssetAdministrationShellsRecentChangesResult() throws IOException { + final GetAllAssetAdministrationShellsRecentChangesResult instance = + CommonJsonization.loadMaximalGetAllAssetAdministrationShellsRecentChangesResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "GetAllAssetAdministrationShellsRecentChangesResult", + "maximal.json.trace")); + } // public void testDescendOfGetAllAssetAdministrationShellsRecentChangesResult + + @Test + public void + testDescendAgainstVisitorThroughForGetAllAssetAdministrationShellsRecentChangesResult() + throws IOException { + GetAllAssetAdministrationShellsRecentChangesResult instance = + (CommonJsonization.loadMaximalGetAllAssetAdministrationShellsRecentChangesResult()); + + assertDescendAndVisitorThroughSame(instance); + } // public void + + // testDescendAgainstVisitorThroughForGetAllAssetAdministrationShellsRecentChangesResult + + @Test + public void testDescendOfGetAssetAdministrationShellDescriptorsResult() throws IOException { + final GetAssetAdministrationShellDescriptorsResult instance = + CommonJsonization.loadMaximalGetAssetAdministrationShellDescriptorsResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "GetAssetAdministrationShellDescriptorsResult", + "maximal.json.trace")); + } // public void testDescendOfGetAssetAdministrationShellDescriptorsResult + + @Test + public void testDescendAgainstVisitorThroughForGetAssetAdministrationShellDescriptorsResult() + throws IOException { + GetAssetAdministrationShellDescriptorsResult instance = + (CommonJsonization.loadMaximalGetAssetAdministrationShellDescriptorsResult()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForGetAssetAdministrationShellDescriptorsResult + + @Test + public void testDescendOfGetConceptDescriptionsResult() throws IOException { + final GetConceptDescriptionsResult instance = + CommonJsonization.loadMaximalGetConceptDescriptionsResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "GetConceptDescriptionsResult", "maximal.json.trace")); + } // public void testDescendOfGetConceptDescriptionsResult + + @Test + public void testDescendAgainstVisitorThroughForGetConceptDescriptionsResult() throws IOException { + GetConceptDescriptionsResult instance = + (CommonJsonization.loadMaximalGetConceptDescriptionsResult()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForGetConceptDescriptionsResult + + @Test + public void testDescendOfGetAllConceptDescriptionsRecentChangesResult() throws IOException { + final GetAllConceptDescriptionsRecentChangesResult instance = + CommonJsonization.loadMaximalGetAllConceptDescriptionsRecentChangesResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "GetAllConceptDescriptionsRecentChangesResult", + "maximal.json.trace")); + } // public void testDescendOfGetAllConceptDescriptionsRecentChangesResult + + @Test + public void testDescendAgainstVisitorThroughForGetAllConceptDescriptionsRecentChangesResult() + throws IOException { + GetAllConceptDescriptionsRecentChangesResult instance = + (CommonJsonization.loadMaximalGetAllConceptDescriptionsRecentChangesResult()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForGetAllConceptDescriptionsRecentChangesResult + + @Test + public void testDescendOfGetPackageDescriptionsResult() throws IOException { + final GetPackageDescriptionsResult instance = + CommonJsonization.loadMaximalGetPackageDescriptionsResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "GetPackageDescriptionsResult", "maximal.json.trace")); + } // public void testDescendOfGetPackageDescriptionsResult + + @Test + public void testDescendAgainstVisitorThroughForGetPackageDescriptionsResult() throws IOException { + GetPackageDescriptionsResult instance = + (CommonJsonization.loadMaximalGetPackageDescriptionsResult()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForGetPackageDescriptionsResult + + @Test + public void testDescendOfGetPathItemsResult() throws IOException { + final GetPathItemsResult instance = CommonJsonization.loadMaximalGetPathItemsResult(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "GetPathItemsResult", "maximal.json.trace")); + } // public void testDescendOfGetPathItemsResult + + @Test + public void testDescendAgainstVisitorThroughForGetPathItemsResult() throws IOException { + GetPathItemsResult instance = (CommonJsonization.loadMaximalGetPathItemsResult()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForGetPathItemsResult + + @Test + public void testDescendOfGetReferencesResult() throws IOException { + final GetReferencesResult instance = CommonJsonization.loadMaximalGetReferencesResult(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "GetReferencesResult", "maximal.json.trace")); + } // public void testDescendOfGetReferencesResult + + @Test + public void testDescendAgainstVisitorThroughForGetReferencesResult() throws IOException { + GetReferencesResult instance = (CommonJsonization.loadMaximalGetReferencesResult()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForGetReferencesResult + + @Test + public void testDescendOfGetSubmodelDescriptorsResult() throws IOException { + final GetSubmodelDescriptorsResult instance = + CommonJsonization.loadMaximalGetSubmodelDescriptorsResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "GetSubmodelDescriptorsResult", "maximal.json.trace")); + } // public void testDescendOfGetSubmodelDescriptorsResult + + @Test + public void testDescendAgainstVisitorThroughForGetSubmodelDescriptorsResult() throws IOException { + GetSubmodelDescriptorsResult instance = + (CommonJsonization.loadMaximalGetSubmodelDescriptorsResult()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForGetSubmodelDescriptorsResult + + @Test + public void testDescendOfGetSubmodelElementsMetadataResult() throws IOException { + final GetSubmodelElementsMetadataResult instance = + CommonJsonization.loadMaximalGetSubmodelElementsMetadataResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "GetSubmodelElementsMetadataResult", + "maximal.json.trace")); + } // public void testDescendOfGetSubmodelElementsMetadataResult + + @Test + public void testDescendAgainstVisitorThroughForGetSubmodelElementsMetadataResult() + throws IOException { + GetSubmodelElementsMetadataResult instance = + (CommonJsonization.loadMaximalGetSubmodelElementsMetadataResult()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForGetSubmodelElementsMetadataResult + + @Test + public void testDescendOfGetSubmodelElementsResult() throws IOException { + final GetSubmodelElementsResult instance = + CommonJsonization.loadMaximalGetSubmodelElementsResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "GetSubmodelElementsResult", "maximal.json.trace")); + } // public void testDescendOfGetSubmodelElementsResult + + @Test + public void testDescendAgainstVisitorThroughForGetSubmodelElementsResult() throws IOException { + GetSubmodelElementsResult instance = (CommonJsonization.loadMaximalGetSubmodelElementsResult()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForGetSubmodelElementsResult + + @Test + public void testDescendOfGetSubmodelElementsValueResult() throws IOException { + final GetSubmodelElementsValueResult instance = + CommonJsonization.loadMaximalGetSubmodelElementsValueResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "GetSubmodelElementsValueResult", + "maximal.json.trace")); + } // public void testDescendOfGetSubmodelElementsValueResult + + @Test + public void testDescendAgainstVisitorThroughForGetSubmodelElementsValueResult() + throws IOException { + GetSubmodelElementsValueResult instance = + (CommonJsonization.loadMaximalGetSubmodelElementsValueResult()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForGetSubmodelElementsValueResult + + @Test + public void testDescendOfGetAllSubmodelsRecentChangesResult() throws IOException { + final GetAllSubmodelsRecentChangesResult instance = + CommonJsonization.loadMaximalGetAllSubmodelsRecentChangesResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "GetAllSubmodelsRecentChangesResult", + "maximal.json.trace")); + } // public void testDescendOfGetAllSubmodelsRecentChangesResult + + @Test + public void testDescendAgainstVisitorThroughForGetAllSubmodelsRecentChangesResult() + throws IOException { + GetAllSubmodelsRecentChangesResult instance = + (CommonJsonization.loadMaximalGetAllSubmodelsRecentChangesResult()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForGetAllSubmodelsRecentChangesResult + + @Test + public void testDescendOfGetSubmodelsMetadataResult() throws IOException { + final GetSubmodelsMetadataResult instance = + CommonJsonization.loadMaximalGetSubmodelsMetadataResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "GetSubmodelsMetadataResult", "maximal.json.trace")); + } // public void testDescendOfGetSubmodelsMetadataResult + + @Test + public void testDescendAgainstVisitorThroughForGetSubmodelsMetadataResult() throws IOException { + GetSubmodelsMetadataResult instance = + (CommonJsonization.loadMaximalGetSubmodelsMetadataResult()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForGetSubmodelsMetadataResult + + @Test + public void testDescendOfGetSubmodelsResult() throws IOException { + final GetSubmodelsResult instance = CommonJsonization.loadMaximalGetSubmodelsResult(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "GetSubmodelsResult", "maximal.json.trace")); + } // public void testDescendOfGetSubmodelsResult + + @Test + public void testDescendAgainstVisitorThroughForGetSubmodelsResult() throws IOException { + GetSubmodelsResult instance = (CommonJsonization.loadMaximalGetSubmodelsResult()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForGetSubmodelsResult + + @Test + public void testDescendOfGetSubmodelsValueResult() throws IOException { + final GetSubmodelsValueResult instance = CommonJsonization.loadMaximalGetSubmodelsValueResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "GetSubmodelsValueResult", "maximal.json.trace")); + } // public void testDescendOfGetSubmodelsValueResult + + @Test + public void testDescendAgainstVisitorThroughForGetSubmodelsValueResult() throws IOException { + GetSubmodelsValueResult instance = (CommonJsonization.loadMaximalGetSubmodelsValueResult()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForGetSubmodelsValueResult + + @Test + public void testDescendOfClaimAttribute() throws IOException { + final ClaimAttribute instance = CommonJsonization.loadMaximalClaimAttribute(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "ClaimAttribute", "maximal.json.trace")); + } // public void testDescendOfClaimAttribute + + @Test + public void testDescendAgainstVisitorThroughForClaimAttribute() throws IOException { + ClaimAttribute instance = (CommonJsonization.loadMaximalClaimAttribute()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForClaimAttribute + + @Test + public void testDescendOfGlobalAttribute() throws IOException { + final GlobalAttribute instance = CommonJsonization.loadMaximalGlobalAttribute(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "GlobalAttribute", "maximal.json.trace")); + } // public void testDescendOfGlobalAttribute + + @Test + public void testDescendAgainstVisitorThroughForGlobalAttribute() throws IOException { + GlobalAttribute instance = (CommonJsonization.loadMaximalGlobalAttribute()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForGlobalAttribute + + @Test + public void testDescendOfReferenceAttribute() throws IOException { + final ReferenceAttribute instance = CommonJsonization.loadMaximalReferenceAttribute(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "ReferenceAttribute", "maximal.json.trace")); + } // public void testDescendOfReferenceAttribute + + @Test + public void testDescendAgainstVisitorThroughForReferenceAttribute() throws IOException { + ReferenceAttribute instance = (CommonJsonization.loadMaximalReferenceAttribute()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForReferenceAttribute + + @Test + public void testDescendOfDateTimeAttributeItem() throws IOException { + final DateTimeAttributeItem instance = CommonJsonization.loadMaximalDateTimeAttributeItem(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "DateTimeAttributeItem", "maximal.json.trace")); + } // public void testDescendOfDateTimeAttributeItem + + @Test + public void testDescendAgainstVisitorThroughForDateTimeAttributeItem() throws IOException { + DateTimeAttributeItem instance = (CommonJsonization.loadMaximalDateTimeAttributeItem()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForDateTimeAttributeItem + + @Test + public void testDescendOfFieldOperand() throws IOException { + final FieldOperand instance = CommonJsonization.loadMaximalFieldOperand(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "FieldOperand", "maximal.json.trace")); + } // public void testDescendOfFieldOperand + + @Test + public void testDescendAgainstVisitorThroughForFieldOperand() throws IOException { + FieldOperand instance = (CommonJsonization.loadMaximalFieldOperand()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForFieldOperand + + @Test + public void testDescendOfStringLiteral() throws IOException { + final StringLiteral instance = CommonJsonization.loadMaximalStringLiteral(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "StringLiteral", "maximal.json.trace")); + } // public void testDescendOfStringLiteral + + @Test + public void testDescendAgainstVisitorThroughForStringLiteral() throws IOException { + StringLiteral instance = (CommonJsonization.loadMaximalStringLiteral()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForStringLiteral + + @Test + public void testDescendOfAttributeOperand() throws IOException { + final AttributeOperand instance = CommonJsonization.loadMaximalAttributeOperand(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "AttributeOperand", "maximal.json.trace")); + } // public void testDescendOfAttributeOperand + + @Test + public void testDescendAgainstVisitorThroughForAttributeOperand() throws IOException { + AttributeOperand instance = (CommonJsonization.loadMaximalAttributeOperand()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForAttributeOperand + + @Test + public void testDescendOfNumberLiteral() throws IOException { + final NumberLiteral instance = CommonJsonization.loadMaximalNumberLiteral(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "NumberLiteral", "maximal.json.trace")); + } // public void testDescendOfNumberLiteral + + @Test + public void testDescendAgainstVisitorThroughForNumberLiteral() throws IOException { + NumberLiteral instance = (CommonJsonization.loadMaximalNumberLiteral()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForNumberLiteral + + @Test + public void testDescendOfHexLiteral() throws IOException { + final HexLiteral instance = CommonJsonization.loadMaximalHexLiteral(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "HexLiteral", "maximal.json.trace")); + } // public void testDescendOfHexLiteral + + @Test + public void testDescendAgainstVisitorThroughForHexLiteral() throws IOException { + HexLiteral instance = (CommonJsonization.loadMaximalHexLiteral()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForHexLiteral + + @Test + public void testDescendOfDateTimeLiteral() throws IOException { + final DateTimeLiteral instance = CommonJsonization.loadMaximalDateTimeLiteral(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "DateTimeLiteral", "maximal.json.trace")); + } // public void testDescendOfDateTimeLiteral + + @Test + public void testDescendAgainstVisitorThroughForDateTimeLiteral() throws IOException { + DateTimeLiteral instance = (CommonJsonization.loadMaximalDateTimeLiteral()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForDateTimeLiteral + + @Test + public void testDescendOfTimeLiteral() throws IOException { + final TimeLiteral instance = CommonJsonization.loadMaximalTimeLiteral(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "TimeLiteral", "maximal.json.trace")); + } // public void testDescendOfTimeLiteral + + @Test + public void testDescendAgainstVisitorThroughForTimeLiteral() throws IOException { + TimeLiteral instance = (CommonJsonization.loadMaximalTimeLiteral()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForTimeLiteral + + @Test + public void testDescendOfBooleanLiteral() throws IOException { + final BooleanLiteral instance = CommonJsonization.loadMaximalBooleanLiteral(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "BooleanLiteral", "maximal.json.trace")); + } // public void testDescendOfBooleanLiteral + + @Test + public void testDescendAgainstVisitorThroughForBooleanLiteral() throws IOException { + BooleanLiteral instance = (CommonJsonization.loadMaximalBooleanLiteral()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForBooleanLiteral + + @Test + public void testDescendOfStringCast() throws IOException { + final StringCast instance = CommonJsonization.loadMaximalStringCast(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "StringCast", "maximal.json.trace")); + } // public void testDescendOfStringCast + + @Test + public void testDescendAgainstVisitorThroughForStringCast() throws IOException { + StringCast instance = (CommonJsonization.loadMaximalStringCast()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForStringCast + + @Test + public void testDescendOfNumberCast() throws IOException { + final NumberCast instance = CommonJsonization.loadMaximalNumberCast(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "NumberCast", "maximal.json.trace")); + } // public void testDescendOfNumberCast + + @Test + public void testDescendAgainstVisitorThroughForNumberCast() throws IOException { + NumberCast instance = (CommonJsonization.loadMaximalNumberCast()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForNumberCast + + @Test + public void testDescendOfHexCast() throws IOException { + final HexCast instance = CommonJsonization.loadMaximalHexCast(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "HexCast", "maximal.json.trace")); + } // public void testDescendOfHexCast + + @Test + public void testDescendAgainstVisitorThroughForHexCast() throws IOException { + HexCast instance = (CommonJsonization.loadMaximalHexCast()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForHexCast + + @Test + public void testDescendOfBooleanCast() throws IOException { + final BooleanCast instance = CommonJsonization.loadMaximalBooleanCast(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "BooleanCast", "maximal.json.trace")); + } // public void testDescendOfBooleanCast + + @Test + public void testDescendAgainstVisitorThroughForBooleanCast() throws IOException { + BooleanCast instance = (CommonJsonization.loadMaximalBooleanCast()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForBooleanCast + + @Test + public void testDescendOfDateTimeCast() throws IOException { + final DateTimeCast instance = CommonJsonization.loadMaximalDateTimeCast(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "DateTimeCast", "maximal.json.trace")); + } // public void testDescendOfDateTimeCast + + @Test + public void testDescendAgainstVisitorThroughForDateTimeCast() throws IOException { + DateTimeCast instance = (CommonJsonization.loadMaximalDateTimeCast()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForDateTimeCast + + @Test + public void testDescendOfTimeCast() throws IOException { + final TimeCast instance = CommonJsonization.loadMaximalTimeCast(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "TimeCast", "maximal.json.trace")); + } // public void testDescendOfTimeCast + + @Test + public void testDescendAgainstVisitorThroughForTimeCast() throws IOException { + TimeCast instance = (CommonJsonization.loadMaximalTimeCast()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForTimeCast + + @Test + public void testDescendOfDayOfWeek() throws IOException { + final DayOfWeek instance = CommonJsonization.loadMaximalDayOfWeek(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "DayOfWeek", "maximal.json.trace")); + } // public void testDescendOfDayOfWeek + + @Test + public void testDescendAgainstVisitorThroughForDayOfWeek() throws IOException { + DayOfWeek instance = (CommonJsonization.loadMaximalDayOfWeek()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForDayOfWeek + + @Test + public void testDescendOfDayOfMonth() throws IOException { + final DayOfMonth instance = CommonJsonization.loadMaximalDayOfMonth(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "DayOfMonth", "maximal.json.trace")); + } // public void testDescendOfDayOfMonth + + @Test + public void testDescendAgainstVisitorThroughForDayOfMonth() throws IOException { + DayOfMonth instance = (CommonJsonization.loadMaximalDayOfMonth()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForDayOfMonth + + @Test + public void testDescendOfMonth() throws IOException { + final Month instance = CommonJsonization.loadMaximalMonth(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Month", "maximal.json.trace")); + } // public void testDescendOfMonth + + @Test + public void testDescendAgainstVisitorThroughForMonth() throws IOException { + Month instance = (CommonJsonization.loadMaximalMonth()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForMonth + + @Test + public void testDescendOfYear() throws IOException { + final Year instance = CommonJsonization.loadMaximalYear(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Year", "maximal.json.trace")); + } // public void testDescendOfYear + + @Test + public void testDescendAgainstVisitorThroughForYear() throws IOException { + Year instance = (CommonJsonization.loadMaximalYear()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForYear + + @Test + public void testDescendOfDateTimeAttributeOperand() throws IOException { + final DateTimeAttributeOperand instance = + CommonJsonization.loadMaximalDateTimeAttributeOperand(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "DateTimeAttributeOperand", "maximal.json.trace")); + } // public void testDescendOfDateTimeAttributeOperand + + @Test + public void testDescendAgainstVisitorThroughForDateTimeAttributeOperand() throws IOException { + DateTimeAttributeOperand instance = (CommonJsonization.loadMaximalDateTimeAttributeOperand()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForDateTimeAttributeOperand + + @Test + public void testDescendOfEqualComparison() throws IOException { + final EqualComparison instance = CommonJsonization.loadMaximalEqualComparison(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "EqualComparison", "maximal.json.trace")); + } // public void testDescendOfEqualComparison + + @Test + public void testDescendAgainstVisitorThroughForEqualComparison() throws IOException { + EqualComparison instance = (CommonJsonization.loadMaximalEqualComparison()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForEqualComparison + + @Test + public void testDescendOfNotEqualComparison() throws IOException { + final NotEqualComparison instance = CommonJsonization.loadMaximalNotEqualComparison(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "NotEqualComparison", "maximal.json.trace")); + } // public void testDescendOfNotEqualComparison + + @Test + public void testDescendAgainstVisitorThroughForNotEqualComparison() throws IOException { + NotEqualComparison instance = (CommonJsonization.loadMaximalNotEqualComparison()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForNotEqualComparison + + @Test + public void testDescendOfGreaterThanComparison() throws IOException { + final GreaterThanComparison instance = CommonJsonization.loadMaximalGreaterThanComparison(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "GreaterThanComparison", "maximal.json.trace")); + } // public void testDescendOfGreaterThanComparison + + @Test + public void testDescendAgainstVisitorThroughForGreaterThanComparison() throws IOException { + GreaterThanComparison instance = (CommonJsonization.loadMaximalGreaterThanComparison()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForGreaterThanComparison + + @Test + public void testDescendOfGreaterThanOrEqualComparison() throws IOException { + final GreaterThanOrEqualComparison instance = + CommonJsonization.loadMaximalGreaterThanOrEqualComparison(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "GreaterThanOrEqualComparison", "maximal.json.trace")); + } // public void testDescendOfGreaterThanOrEqualComparison + + @Test + public void testDescendAgainstVisitorThroughForGreaterThanOrEqualComparison() throws IOException { + GreaterThanOrEqualComparison instance = + (CommonJsonization.loadMaximalGreaterThanOrEqualComparison()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForGreaterThanOrEqualComparison + + @Test + public void testDescendOfLessThanComparison() throws IOException { + final LessThanComparison instance = CommonJsonization.loadMaximalLessThanComparison(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "LessThanComparison", "maximal.json.trace")); + } // public void testDescendOfLessThanComparison + + @Test + public void testDescendAgainstVisitorThroughForLessThanComparison() throws IOException { + LessThanComparison instance = (CommonJsonization.loadMaximalLessThanComparison()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForLessThanComparison + + @Test + public void testDescendOfLessThanOrEqualComparison() throws IOException { + final LessThanOrEqualComparison instance = + CommonJsonization.loadMaximalLessThanOrEqualComparison(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "LessThanOrEqualComparison", "maximal.json.trace")); + } // public void testDescendOfLessThanOrEqualComparison + + @Test + public void testDescendAgainstVisitorThroughForLessThanOrEqualComparison() throws IOException { + LessThanOrEqualComparison instance = (CommonJsonization.loadMaximalLessThanOrEqualComparison()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForLessThanOrEqualComparison + + @Test + public void testDescendOfContainsComparison() throws IOException { + final ContainsComparison instance = CommonJsonization.loadMaximalContainsComparison(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "ContainsComparison", "maximal.json.trace")); + } // public void testDescendOfContainsComparison + + @Test + public void testDescendAgainstVisitorThroughForContainsComparison() throws IOException { + ContainsComparison instance = (CommonJsonization.loadMaximalContainsComparison()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForContainsComparison + + @Test + public void testDescendOfStartsWithComparison() throws IOException { + final StartsWithComparison instance = CommonJsonization.loadMaximalStartsWithComparison(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "StartsWithComparison", "maximal.json.trace")); + } // public void testDescendOfStartsWithComparison + + @Test + public void testDescendAgainstVisitorThroughForStartsWithComparison() throws IOException { + StartsWithComparison instance = (CommonJsonization.loadMaximalStartsWithComparison()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForStartsWithComparison + + @Test + public void testDescendOfEndsWithComparison() throws IOException { + final EndsWithComparison instance = CommonJsonization.loadMaximalEndsWithComparison(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "EndsWithComparison", "maximal.json.trace")); + } // public void testDescendOfEndsWithComparison + + @Test + public void testDescendAgainstVisitorThroughForEndsWithComparison() throws IOException { + EndsWithComparison instance = (CommonJsonization.loadMaximalEndsWithComparison()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForEndsWithComparison + + @Test + public void testDescendOfRegexComparison() throws IOException { + final RegexComparison instance = CommonJsonization.loadMaximalRegexComparison(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "RegexComparison", "maximal.json.trace")); + } // public void testDescendOfRegexComparison + + @Test + public void testDescendAgainstVisitorThroughForRegexComparison() throws IOException { + RegexComparison instance = (CommonJsonization.loadMaximalRegexComparison()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForRegexComparison + + @Test + public void testDescendOfMatchClause() throws IOException { + final MatchClause instance = CommonJsonization.loadMaximalMatchClause(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "MatchClause", "maximal.json.trace")); + } // public void testDescendOfMatchClause + + @Test + public void testDescendAgainstVisitorThroughForMatchClause() throws IOException { + MatchClause instance = (CommonJsonization.loadMaximalMatchClause()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForMatchClause + + @Test + public void testDescendOfAndExpression() throws IOException { + final AndExpression instance = CommonJsonization.loadMaximalAndExpression(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "AndExpression", "maximal.json.trace")); + } // public void testDescendOfAndExpression + + @Test + public void testDescendAgainstVisitorThroughForAndExpression() throws IOException { + AndExpression instance = (CommonJsonization.loadMaximalAndExpression()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForAndExpression + + @Test + public void testDescendOfOrExpression() throws IOException { + final OrExpression instance = CommonJsonization.loadMaximalOrExpression(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "OrExpression", "maximal.json.trace")); + } // public void testDescendOfOrExpression + + @Test + public void testDescendAgainstVisitorThroughForOrExpression() throws IOException { + OrExpression instance = (CommonJsonization.loadMaximalOrExpression()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForOrExpression + + @Test + public void testDescendOfNotExpression() throws IOException { + final NotExpression instance = CommonJsonization.loadMaximalNotExpression(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "NotExpression", "maximal.json.trace")); + } // public void testDescendOfNotExpression + + @Test + public void testDescendAgainstVisitorThroughForNotExpression() throws IOException { + NotExpression instance = (CommonJsonization.loadMaximalNotExpression()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForNotExpression + + @Test + public void testDescendOfQueryFilter() throws IOException { + final QueryFilter instance = CommonJsonization.loadMaximalQueryFilter(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "QueryFilter", "maximal.json.trace")); + } // public void testDescendOfQueryFilter + + @Test + public void testDescendAgainstVisitorThroughForQueryFilter() throws IOException { + QueryFilter instance = (CommonJsonization.loadMaximalQueryFilter()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForQueryFilter + + @Test + public void testDescendOfQuery() throws IOException { + final Query instance = CommonJsonization.loadMaximalQuery(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Query", "maximal.json.trace")); + } // public void testDescendOfQuery + + @Test + public void testDescendAgainstVisitorThroughForQuery() throws IOException { + Query instance = (CommonJsonization.loadMaximalQuery()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForQuery +} // class TestDescendAndVisitorThrough + +// package aas_core.aas3_2.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestDescendOnce.java b/src/test/java/TestDescendOnce.java new file mode 100644 index 00000000..d6cd2235 --- /dev/null +++ b/src/test/java/TestDescendOnce.java @@ -0,0 +1,1529 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.IClass; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.stream.Collectors; +import org.junit.jupiter.api.Test; + +public class TestDescendOnce { + private static void compareOrRerecordTrace(IClass instance, Path expectedPath) + throws IOException, FileNotFoundException { + final StringBuilder stringBuilder = new StringBuilder(); + for (IClass descendant : instance.descendOnce()) { + stringBuilder.append(Common.trace(descendant)); + } + + final String got = stringBuilder.toString(); + + if (Common.RECORD_MODE) { + Files.createDirectories(expectedPath.getParent()); + Files.write(expectedPath, got.getBytes()); + } else { + if (!Files.exists(expectedPath)) { + throw new FileNotFoundException( + "The file with the recorded trace does not exist: " + + expectedPath + + "; maybe you want to set the environment variable " + + Common.RECORD_MODE_ENVIRONMENT_VARIABLE_NAME); + } + final String expected = + Files.readAllLines(expectedPath).stream().collect(Collectors.joining("\n")); + assertEquals(expected.replace("\n", ""), got.replace("\n", "")); + } + } + + @Test + public void testExtension() throws IOException { + Extension instance = CommonJsonization.loadMaximalExtension(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Extension", "maximal.json.trace")); + } // public void testExtension + + @Test + public void testAdministrativeInformation() throws IOException { + AdministrativeInformation instance = CommonJsonization.loadMaximalAdministrativeInformation(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "AdministrativeInformation", + "maximal.json.trace")); + } // public void testAdministrativeInformation + + @Test + public void testQualifier() throws IOException { + Qualifier instance = CommonJsonization.loadMaximalQualifier(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Qualifier", "maximal.json.trace")); + } // public void testQualifier + + @Test + public void testAssetAdministrationShell() throws IOException { + AssetAdministrationShell instance = CommonJsonization.loadMaximalAssetAdministrationShell(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "AssetAdministrationShell", "maximal.json.trace")); + } // public void testAssetAdministrationShell + + @Test + public void testAssetInformation() throws IOException { + AssetInformation instance = CommonJsonization.loadMaximalAssetInformation(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "AssetInformation", "maximal.json.trace")); + } // public void testAssetInformation + + @Test + public void testResource() throws IOException { + Resource instance = CommonJsonization.loadMaximalResource(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Resource", "maximal.json.trace")); + } // public void testResource + + @Test + public void testSpecificAssetId() throws IOException { + SpecificAssetId instance = CommonJsonization.loadMaximalSpecificAssetId(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "SpecificAssetId", "maximal.json.trace")); + } // public void testSpecificAssetId + + @Test + public void testSubmodel() throws IOException { + Submodel instance = CommonJsonization.loadMaximalSubmodel(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Submodel", "maximal.json.trace")); + } // public void testSubmodel + + @Test + public void testRelationshipElement() throws IOException { + RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "RelationshipElement", "maximal.json.trace")); + } // public void testRelationshipElement + + @Test + public void testSubmodelElementList() throws IOException { + SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "SubmodelElementList", "maximal.json.trace")); + } // public void testSubmodelElementList + + @Test + public void testSubmodelElementCollection() throws IOException { + SubmodelElementCollection instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "SubmodelElementCollection", + "maximal.json.trace")); + } // public void testSubmodelElementCollection + + @Test + public void testProperty() throws IOException { + Property instance = CommonJsonization.loadMaximalProperty(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Property", "maximal.json.trace")); + } // public void testProperty + + @Test + public void testMultiLanguageProperty() throws IOException { + MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "MultiLanguageProperty", "maximal.json.trace")); + } // public void testMultiLanguageProperty + + @Test + public void testRange() throws IOException { + Range instance = CommonJsonization.loadMaximalRange(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Range", "maximal.json.trace")); + } // public void testRange + + @Test + public void testReferenceElement() throws IOException { + ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "ReferenceElement", "maximal.json.trace")); + } // public void testReferenceElement + + @Test + public void testBlob() throws IOException { + Blob instance = CommonJsonization.loadMaximalBlob(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Blob", "maximal.json.trace")); + } // public void testBlob + + @Test + public void testFile() throws IOException { + File instance = CommonJsonization.loadMaximalFile(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "File", "maximal.json.trace")); + } // public void testFile + + @Test + public void testAnnotatedRelationshipElement() throws IOException { + AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "AnnotatedRelationshipElement", + "maximal.json.trace")); + } // public void testAnnotatedRelationshipElement + + @Test + public void testEntity() throws IOException { + Entity instance = CommonJsonization.loadMaximalEntity(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Entity", "maximal.json.trace")); + } // public void testEntity + + @Test + public void testEventPayload() throws IOException { + EventPayload instance = CommonJsonization.loadMaximalEventPayload(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "EventPayload", "maximal.json.trace")); + } // public void testEventPayload + + @Test + public void testBasicEventElement() throws IOException { + BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "BasicEventElement", "maximal.json.trace")); + } // public void testBasicEventElement + + @Test + public void testOperation() throws IOException { + Operation instance = CommonJsonization.loadMaximalOperation(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Operation", "maximal.json.trace")); + } // public void testOperation + + @Test + public void testOperationVariable() throws IOException { + OperationVariable instance = CommonJsonization.loadMaximalOperationVariable(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "OperationVariable", "maximal.json.trace")); + } // public void testOperationVariable + + @Test + public void testCapability() throws IOException { + Capability instance = CommonJsonization.loadMaximalCapability(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Capability", "maximal.json.trace")); + } // public void testCapability + + @Test + public void testConceptDescription() throws IOException { + ConceptDescription instance = CommonJsonization.loadMaximalConceptDescription(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "ConceptDescription", "maximal.json.trace")); + } // public void testConceptDescription + + @Test + public void testReference() throws IOException { + Reference instance = CommonJsonization.loadMaximalReference(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Reference", "maximal.json.trace")); + } // public void testReference + + @Test + public void testKey() throws IOException { + Key instance = CommonJsonization.loadMaximalKey(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Key", "maximal.json.trace")); + } // public void testKey + + @Test + public void testLangStringNameType() throws IOException { + LangStringNameType instance = CommonJsonization.loadMaximalLangStringNameType(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "LangStringNameType", "maximal.json.trace")); + } // public void testLangStringNameType + + @Test + public void testLangStringTextType() throws IOException { + LangStringTextType instance = CommonJsonization.loadMaximalLangStringTextType(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "LangStringTextType", "maximal.json.trace")); + } // public void testLangStringTextType + + @Test + public void testEnvironment() throws IOException { + Environment instance = CommonJsonization.loadMaximalEnvironment(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Environment", "maximal.json.trace")); + } // public void testEnvironment + + @Test + public void testEmbeddedDataSpecification() throws IOException { + EmbeddedDataSpecification instance = CommonJsonization.loadMaximalEmbeddedDataSpecification(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "EmbeddedDataSpecification", + "maximal.json.trace")); + } // public void testEmbeddedDataSpecification + + @Test + public void testLevelType() throws IOException { + LevelType instance = CommonJsonization.loadMaximalLevelType(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "LevelType", "maximal.json.trace")); + } // public void testLevelType + + @Test + public void testValueReferencePair() throws IOException { + ValueReferencePair instance = CommonJsonization.loadMaximalValueReferencePair(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "ValueReferencePair", "maximal.json.trace")); + } // public void testValueReferencePair + + @Test + public void testValueList() throws IOException { + ValueList instance = CommonJsonization.loadMaximalValueList(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "ValueList", "maximal.json.trace")); + } // public void testValueList + + @Test + public void testLangStringPreferredNameTypeIec61360() throws IOException { + LangStringPreferredNameTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringPreferredNameTypeIec61360(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "LangStringPreferredNameTypeIec61360", + "maximal.json.trace")); + } // public void testLangStringPreferredNameTypeIec61360 + + @Test + public void testLangStringShortNameTypeIec61360() throws IOException { + LangStringShortNameTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringShortNameTypeIec61360(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "LangStringShortNameTypeIec61360", + "maximal.json.trace")); + } // public void testLangStringShortNameTypeIec61360 + + @Test + public void testLangStringDefinitionTypeIec61360() throws IOException { + LangStringDefinitionTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringDefinitionTypeIec61360(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "LangStringDefinitionTypeIec61360", + "maximal.json.trace")); + } // public void testLangStringDefinitionTypeIec61360 + + @Test + public void testLangStringUom() throws IOException { + LangStringUom instance = CommonJsonization.loadMaximalLangStringUom(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "LangStringUom", "maximal.json.trace")); + } // public void testLangStringUom + + @Test + public void testDefinitionTypeUom() throws IOException { + DefinitionTypeUom instance = CommonJsonization.loadMaximalDefinitionTypeUom(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "DefinitionTypeUom", "maximal.json.trace")); + } // public void testDefinitionTypeUom + + @Test + public void testDataSpecificationUom() throws IOException { + DataSpecificationUom instance = CommonJsonization.loadMaximalDataSpecificationUom(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "DataSpecificationUom", "maximal.json.trace")); + } // public void testDataSpecificationUom + + @Test + public void testDataSpecificationIec61360() throws IOException { + DataSpecificationIec61360 instance = CommonJsonization.loadMaximalDataSpecificationIec61360(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "DataSpecificationIec61360", + "maximal.json.trace")); + } // public void testDataSpecificationIec61360 + + @Test + public void testAssetAdministrationShellDescriptor() throws IOException { + AssetAdministrationShellDescriptor instance = + CommonJsonization.loadMaximalAssetAdministrationShellDescriptor(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "AssetAdministrationShellDescriptor", + "maximal.json.trace")); + } // public void testAssetAdministrationShellDescriptor + + @Test + public void testSubmodelDescriptor() throws IOException { + SubmodelDescriptor instance = CommonJsonization.loadMaximalSubmodelDescriptor(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "SubmodelDescriptor", "maximal.json.trace")); + } // public void testSubmodelDescriptor + + @Test + public void testEndpoint() throws IOException { + Endpoint instance = CommonJsonization.loadMaximalEndpoint(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Endpoint", "maximal.json.trace")); + } // public void testEndpoint + + @Test + public void testProtocolInformation() throws IOException { + ProtocolInformation instance = CommonJsonization.loadMaximalProtocolInformation(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "ProtocolInformation", "maximal.json.trace")); + } // public void testProtocolInformation + + @Test + public void testSecurityAttributeObject() throws IOException { + SecurityAttributeObject instance = CommonJsonization.loadMaximalSecurityAttributeObject(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "SecurityAttributeObject", "maximal.json.trace")); + } // public void testSecurityAttributeObject + + @Test + public void testAssetLink() throws IOException { + AssetLink instance = CommonJsonization.loadMaximalAssetLink(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "AssetLink", "maximal.json.trace")); + } // public void testAssetLink + + @Test + public void testServiceDescription() throws IOException { + ServiceDescription instance = CommonJsonization.loadMaximalServiceDescription(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "ServiceDescription", "maximal.json.trace")); + } // public void testServiceDescription + + @Test + public void testAssetAdministrationShellRecentChange() throws IOException { + AssetAdministrationShellRecentChange instance = + CommonJsonization.loadMaximalAssetAdministrationShellRecentChange(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "AssetAdministrationShellRecentChange", + "maximal.json.trace")); + } // public void testAssetAdministrationShellRecentChange + + @Test + public void testConceptDescriptionRecentChange() throws IOException { + ConceptDescriptionRecentChange instance = + CommonJsonization.loadMaximalConceptDescriptionRecentChange(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "ConceptDescriptionRecentChange", + "maximal.json.trace")); + } // public void testConceptDescriptionRecentChange + + @Test + public void testSubmodelRecentChange() throws IOException { + SubmodelRecentChange instance = CommonJsonization.loadMaximalSubmodelRecentChange(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "SubmodelRecentChange", "maximal.json.trace")); + } // public void testSubmodelRecentChange + + @Test + public void testResult() throws IOException { + Result instance = CommonJsonization.loadMaximalResult(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Result", "maximal.json.trace")); + } // public void testResult + + @Test + public void testMessage() throws IOException { + Message instance = CommonJsonization.loadMaximalMessage(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Message", "maximal.json.trace")); + } // public void testMessage + + @Test + public void testOperationRequest() throws IOException { + OperationRequest instance = CommonJsonization.loadMaximalOperationRequest(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "OperationRequest", "maximal.json.trace")); + } // public void testOperationRequest + + @Test + public void testOperationRequestAsync() throws IOException { + OperationRequestAsync instance = CommonJsonization.loadMaximalOperationRequestAsync(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "OperationRequestAsync", "maximal.json.trace")); + } // public void testOperationRequestAsync + + @Test + public void testOperationRequestValueOnly() throws IOException { + OperationRequestValueOnly instance = CommonJsonization.loadMaximalOperationRequestValueOnly(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "OperationRequestValueOnly", + "maximal.json.trace")); + } // public void testOperationRequestValueOnly + + @Test + public void testOperationRequestAsyncValueOnly() throws IOException { + OperationRequestAsyncValueOnly instance = + CommonJsonization.loadMaximalOperationRequestAsyncValueOnly(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "OperationRequestAsyncValueOnly", + "maximal.json.trace")); + } // public void testOperationRequestAsyncValueOnly + + @Test + public void testBaseOperationResult() throws IOException { + BaseOperationResult instance = CommonJsonization.loadMaximalBaseOperationResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "BaseOperationResult", "maximal.json.trace")); + } // public void testBaseOperationResult + + @Test + public void testOperationResult() throws IOException { + OperationResult instance = CommonJsonization.loadMaximalOperationResult(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "OperationResult", "maximal.json.trace")); + } // public void testOperationResult + + @Test + public void testOperationResultValueOnly() throws IOException { + OperationResultValueOnly instance = CommonJsonization.loadMaximalOperationResultValueOnly(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "OperationResultValueOnly", "maximal.json.trace")); + } // public void testOperationResultValueOnly + + @Test + public void testOperationHandle() throws IOException { + OperationHandle instance = CommonJsonization.loadMaximalOperationHandle(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "OperationHandle", "maximal.json.trace")); + } // public void testOperationHandle + + @Test + public void testPagedResult() throws IOException { + PagedResult instance = CommonJsonization.loadMaximalPagedResult(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "PagedResult", "maximal.json.trace")); + } // public void testPagedResult + + @Test + public void testPagingMetadata() throws IOException { + PagingMetadata instance = CommonJsonization.loadMaximalPagingMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "PagingMetadata", "maximal.json.trace")); + } // public void testPagingMetadata + + @Test + public void testPackageDescription() throws IOException { + PackageDescription instance = CommonJsonization.loadMaximalPackageDescription(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "PackageDescription", "maximal.json.trace")); + } // public void testPackageDescription + + @Test + public void testPropertyMetadata() throws IOException { + PropertyMetadata instance = CommonJsonization.loadMaximalPropertyMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "PropertyMetadata", "maximal.json.trace")); + } // public void testPropertyMetadata + + @Test + public void testRangeMetadata() throws IOException { + RangeMetadata instance = CommonJsonization.loadMaximalRangeMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "RangeMetadata", "maximal.json.trace")); + } // public void testRangeMetadata + + @Test + public void testBlobMetadata() throws IOException { + BlobMetadata instance = CommonJsonization.loadMaximalBlobMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "BlobMetadata", "maximal.json.trace")); + } // public void testBlobMetadata + + @Test + public void testFileMetadata() throws IOException { + FileMetadata instance = CommonJsonization.loadMaximalFileMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "FileMetadata", "maximal.json.trace")); + } // public void testFileMetadata + + @Test + public void testMultiLanguagePropertyMetadata() throws IOException { + MultiLanguagePropertyMetadata instance = + CommonJsonization.loadMaximalMultiLanguagePropertyMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "MultiLanguagePropertyMetadata", + "maximal.json.trace")); + } // public void testMultiLanguagePropertyMetadata + + @Test + public void testReferenceElementMetadata() throws IOException { + ReferenceElementMetadata instance = CommonJsonization.loadMaximalReferenceElementMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "ReferenceElementMetadata", "maximal.json.trace")); + } // public void testReferenceElementMetadata + + @Test + public void testRelationshipElementMetadata() throws IOException { + RelationshipElementMetadata instance = + CommonJsonization.loadMaximalRelationshipElementMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "RelationshipElementMetadata", + "maximal.json.trace")); + } // public void testRelationshipElementMetadata + + @Test + public void testAnnotatedRelationshipElementMetadata() throws IOException { + AnnotatedRelationshipElementMetadata instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "AnnotatedRelationshipElementMetadata", + "maximal.json.trace")); + } // public void testAnnotatedRelationshipElementMetadata + + @Test + public void testEntityMetadata() throws IOException { + EntityMetadata instance = CommonJsonization.loadMaximalEntityMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "EntityMetadata", "maximal.json.trace")); + } // public void testEntityMetadata + + @Test + public void testCapabilityMetadata() throws IOException { + CapabilityMetadata instance = CommonJsonization.loadMaximalCapabilityMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "CapabilityMetadata", "maximal.json.trace")); + } // public void testCapabilityMetadata + + @Test + public void testOperationMetadata() throws IOException { + OperationMetadata instance = CommonJsonization.loadMaximalOperationMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "OperationMetadata", "maximal.json.trace")); + } // public void testOperationMetadata + + @Test + public void testSubmodelElementCollectionMetadata() throws IOException { + SubmodelElementCollectionMetadata instance = + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "SubmodelElementCollectionMetadata", + "maximal.json.trace")); + } // public void testSubmodelElementCollectionMetadata + + @Test + public void testBasicEventElementMetadata() throws IOException { + BasicEventElementMetadata instance = CommonJsonization.loadMaximalBasicEventElementMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "BasicEventElementMetadata", + "maximal.json.trace")); + } // public void testBasicEventElementMetadata + + @Test + public void testSubmodelElementListMetadata() throws IOException { + SubmodelElementListMetadata instance = + CommonJsonization.loadMaximalSubmodelElementListMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "SubmodelElementListMetadata", + "maximal.json.trace")); + } // public void testSubmodelElementListMetadata + + @Test + public void testSubmodelMetadata() throws IOException { + SubmodelMetadata instance = CommonJsonization.loadMaximalSubmodelMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "SubmodelMetadata", "maximal.json.trace")); + } // public void testSubmodelMetadata + + @Test + public void testAssetAdministrationShellMetadata() throws IOException { + AssetAdministrationShellMetadata instance = + CommonJsonization.loadMaximalAssetAdministrationShellMetadata(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "AssetAdministrationShellMetadata", + "maximal.json.trace")); + } // public void testAssetAdministrationShellMetadata + + @Test + public void testReferenceElementValue() throws IOException { + ReferenceElementValue instance = CommonJsonization.loadMaximalReferenceElementValue(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "ReferenceElementValue", "maximal.json.trace")); + } // public void testReferenceElementValue + + @Test + public void testBlobValue() throws IOException { + BlobValue instance = CommonJsonization.loadMaximalBlobValue(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "BlobValue", "maximal.json.trace")); + } // public void testBlobValue + + @Test + public void testFileValue() throws IOException { + FileValue instance = CommonJsonization.loadMaximalFileValue(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "FileValue", "maximal.json.trace")); + } // public void testFileValue + + @Test + public void testRangeValue() throws IOException { + RangeValue instance = CommonJsonization.loadMaximalRangeValue(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "RangeValue", "maximal.json.trace")); + } // public void testRangeValue + + @Test + public void testRelationshipElementValue() throws IOException { + RelationshipElementValue instance = CommonJsonization.loadMaximalRelationshipElementValue(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "RelationshipElementValue", "maximal.json.trace")); + } // public void testRelationshipElementValue + + @Test + public void testBasicEventElementValue() throws IOException { + BasicEventElementValue instance = CommonJsonization.loadMaximalBasicEventElementValue(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "BasicEventElementValue", "maximal.json.trace")); + } // public void testBasicEventElementValue + + @Test + public void testAnnotatedRelationshipElementValue() throws IOException { + AnnotatedRelationshipElementValue instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementValue(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "AnnotatedRelationshipElementValue", + "maximal.json.trace")); + } // public void testAnnotatedRelationshipElementValue + + @Test + public void testEntityValue() throws IOException { + EntityValue instance = CommonJsonization.loadMaximalEntityValue(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "EntityValue", "maximal.json.trace")); + } // public void testEntityValue + + @Test + public void testGetAssetAdministrationShellsResult() throws IOException { + GetAssetAdministrationShellsResult instance = + CommonJsonization.loadMaximalGetAssetAdministrationShellsResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "GetAssetAdministrationShellsResult", + "maximal.json.trace")); + } // public void testGetAssetAdministrationShellsResult + + @Test + public void testGetAssetAdministrationShellsMetadataResult() throws IOException { + GetAssetAdministrationShellsMetadataResult instance = + CommonJsonization.loadMaximalGetAssetAdministrationShellsMetadataResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "GetAssetAdministrationShellsMetadataResult", + "maximal.json.trace")); + } // public void testGetAssetAdministrationShellsMetadataResult + + @Test + public void testGetAllAssetAdministrationShellsRecentChangesResult() throws IOException { + GetAllAssetAdministrationShellsRecentChangesResult instance = + CommonJsonization.loadMaximalGetAllAssetAdministrationShellsRecentChangesResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "GetAllAssetAdministrationShellsRecentChangesResult", + "maximal.json.trace")); + } // public void testGetAllAssetAdministrationShellsRecentChangesResult + + @Test + public void testGetAssetAdministrationShellDescriptorsResult() throws IOException { + GetAssetAdministrationShellDescriptorsResult instance = + CommonJsonization.loadMaximalGetAssetAdministrationShellDescriptorsResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "GetAssetAdministrationShellDescriptorsResult", + "maximal.json.trace")); + } // public void testGetAssetAdministrationShellDescriptorsResult + + @Test + public void testGetConceptDescriptionsResult() throws IOException { + GetConceptDescriptionsResult instance = + CommonJsonization.loadMaximalGetConceptDescriptionsResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "GetConceptDescriptionsResult", + "maximal.json.trace")); + } // public void testGetConceptDescriptionsResult + + @Test + public void testGetAllConceptDescriptionsRecentChangesResult() throws IOException { + GetAllConceptDescriptionsRecentChangesResult instance = + CommonJsonization.loadMaximalGetAllConceptDescriptionsRecentChangesResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "GetAllConceptDescriptionsRecentChangesResult", + "maximal.json.trace")); + } // public void testGetAllConceptDescriptionsRecentChangesResult + + @Test + public void testGetPackageDescriptionsResult() throws IOException { + GetPackageDescriptionsResult instance = + CommonJsonization.loadMaximalGetPackageDescriptionsResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "GetPackageDescriptionsResult", + "maximal.json.trace")); + } // public void testGetPackageDescriptionsResult + + @Test + public void testGetPathItemsResult() throws IOException { + GetPathItemsResult instance = CommonJsonization.loadMaximalGetPathItemsResult(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "GetPathItemsResult", "maximal.json.trace")); + } // public void testGetPathItemsResult + + @Test + public void testGetReferencesResult() throws IOException { + GetReferencesResult instance = CommonJsonization.loadMaximalGetReferencesResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "GetReferencesResult", "maximal.json.trace")); + } // public void testGetReferencesResult + + @Test + public void testGetSubmodelDescriptorsResult() throws IOException { + GetSubmodelDescriptorsResult instance = + CommonJsonization.loadMaximalGetSubmodelDescriptorsResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "GetSubmodelDescriptorsResult", + "maximal.json.trace")); + } // public void testGetSubmodelDescriptorsResult + + @Test + public void testGetSubmodelElementsMetadataResult() throws IOException { + GetSubmodelElementsMetadataResult instance = + CommonJsonization.loadMaximalGetSubmodelElementsMetadataResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "GetSubmodelElementsMetadataResult", + "maximal.json.trace")); + } // public void testGetSubmodelElementsMetadataResult + + @Test + public void testGetSubmodelElementsResult() throws IOException { + GetSubmodelElementsResult instance = CommonJsonization.loadMaximalGetSubmodelElementsResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "GetSubmodelElementsResult", + "maximal.json.trace")); + } // public void testGetSubmodelElementsResult + + @Test + public void testGetSubmodelElementsValueResult() throws IOException { + GetSubmodelElementsValueResult instance = + CommonJsonization.loadMaximalGetSubmodelElementsValueResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "GetSubmodelElementsValueResult", + "maximal.json.trace")); + } // public void testGetSubmodelElementsValueResult + + @Test + public void testGetAllSubmodelsRecentChangesResult() throws IOException { + GetAllSubmodelsRecentChangesResult instance = + CommonJsonization.loadMaximalGetAllSubmodelsRecentChangesResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "GetAllSubmodelsRecentChangesResult", + "maximal.json.trace")); + } // public void testGetAllSubmodelsRecentChangesResult + + @Test + public void testGetSubmodelsMetadataResult() throws IOException { + GetSubmodelsMetadataResult instance = CommonJsonization.loadMaximalGetSubmodelsMetadataResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "GetSubmodelsMetadataResult", + "maximal.json.trace")); + } // public void testGetSubmodelsMetadataResult + + @Test + public void testGetSubmodelsResult() throws IOException { + GetSubmodelsResult instance = CommonJsonization.loadMaximalGetSubmodelsResult(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "GetSubmodelsResult", "maximal.json.trace")); + } // public void testGetSubmodelsResult + + @Test + public void testGetSubmodelsValueResult() throws IOException { + GetSubmodelsValueResult instance = CommonJsonization.loadMaximalGetSubmodelsValueResult(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "GetSubmodelsValueResult", "maximal.json.trace")); + } // public void testGetSubmodelsValueResult + + @Test + public void testClaimAttribute() throws IOException { + ClaimAttribute instance = CommonJsonization.loadMaximalClaimAttribute(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "ClaimAttribute", "maximal.json.trace")); + } // public void testClaimAttribute + + @Test + public void testGlobalAttribute() throws IOException { + GlobalAttribute instance = CommonJsonization.loadMaximalGlobalAttribute(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "GlobalAttribute", "maximal.json.trace")); + } // public void testGlobalAttribute + + @Test + public void testReferenceAttribute() throws IOException { + ReferenceAttribute instance = CommonJsonization.loadMaximalReferenceAttribute(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "ReferenceAttribute", "maximal.json.trace")); + } // public void testReferenceAttribute + + @Test + public void testDateTimeAttributeItem() throws IOException { + DateTimeAttributeItem instance = CommonJsonization.loadMaximalDateTimeAttributeItem(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "DateTimeAttributeItem", "maximal.json.trace")); + } // public void testDateTimeAttributeItem + + @Test + public void testFieldOperand() throws IOException { + FieldOperand instance = CommonJsonization.loadMaximalFieldOperand(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "FieldOperand", "maximal.json.trace")); + } // public void testFieldOperand + + @Test + public void testStringLiteral() throws IOException { + StringLiteral instance = CommonJsonization.loadMaximalStringLiteral(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "StringLiteral", "maximal.json.trace")); + } // public void testStringLiteral + + @Test + public void testAttributeOperand() throws IOException { + AttributeOperand instance = CommonJsonization.loadMaximalAttributeOperand(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "AttributeOperand", "maximal.json.trace")); + } // public void testAttributeOperand + + @Test + public void testNumberLiteral() throws IOException { + NumberLiteral instance = CommonJsonization.loadMaximalNumberLiteral(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "NumberLiteral", "maximal.json.trace")); + } // public void testNumberLiteral + + @Test + public void testHexLiteral() throws IOException { + HexLiteral instance = CommonJsonization.loadMaximalHexLiteral(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "HexLiteral", "maximal.json.trace")); + } // public void testHexLiteral + + @Test + public void testDateTimeLiteral() throws IOException { + DateTimeLiteral instance = CommonJsonization.loadMaximalDateTimeLiteral(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "DateTimeLiteral", "maximal.json.trace")); + } // public void testDateTimeLiteral + + @Test + public void testTimeLiteral() throws IOException { + TimeLiteral instance = CommonJsonization.loadMaximalTimeLiteral(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "TimeLiteral", "maximal.json.trace")); + } // public void testTimeLiteral + + @Test + public void testBooleanLiteral() throws IOException { + BooleanLiteral instance = CommonJsonization.loadMaximalBooleanLiteral(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "BooleanLiteral", "maximal.json.trace")); + } // public void testBooleanLiteral + + @Test + public void testStringCast() throws IOException { + StringCast instance = CommonJsonization.loadMaximalStringCast(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "StringCast", "maximal.json.trace")); + } // public void testStringCast + + @Test + public void testNumberCast() throws IOException { + NumberCast instance = CommonJsonization.loadMaximalNumberCast(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "NumberCast", "maximal.json.trace")); + } // public void testNumberCast + + @Test + public void testHexCast() throws IOException { + HexCast instance = CommonJsonization.loadMaximalHexCast(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "HexCast", "maximal.json.trace")); + } // public void testHexCast + + @Test + public void testBooleanCast() throws IOException { + BooleanCast instance = CommonJsonization.loadMaximalBooleanCast(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "BooleanCast", "maximal.json.trace")); + } // public void testBooleanCast + + @Test + public void testDateTimeCast() throws IOException { + DateTimeCast instance = CommonJsonization.loadMaximalDateTimeCast(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "DateTimeCast", "maximal.json.trace")); + } // public void testDateTimeCast + + @Test + public void testTimeCast() throws IOException { + TimeCast instance = CommonJsonization.loadMaximalTimeCast(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "TimeCast", "maximal.json.trace")); + } // public void testTimeCast + + @Test + public void testDayOfWeek() throws IOException { + DayOfWeek instance = CommonJsonization.loadMaximalDayOfWeek(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "DayOfWeek", "maximal.json.trace")); + } // public void testDayOfWeek + + @Test + public void testDayOfMonth() throws IOException { + DayOfMonth instance = CommonJsonization.loadMaximalDayOfMonth(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "DayOfMonth", "maximal.json.trace")); + } // public void testDayOfMonth + + @Test + public void testMonth() throws IOException { + Month instance = CommonJsonization.loadMaximalMonth(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Month", "maximal.json.trace")); + } // public void testMonth + + @Test + public void testYear() throws IOException { + Year instance = CommonJsonization.loadMaximalYear(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Year", "maximal.json.trace")); + } // public void testYear + + @Test + public void testDateTimeAttributeOperand() throws IOException { + DateTimeAttributeOperand instance = CommonJsonization.loadMaximalDateTimeAttributeOperand(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "DateTimeAttributeOperand", "maximal.json.trace")); + } // public void testDateTimeAttributeOperand + + @Test + public void testEqualComparison() throws IOException { + EqualComparison instance = CommonJsonization.loadMaximalEqualComparison(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "EqualComparison", "maximal.json.trace")); + } // public void testEqualComparison + + @Test + public void testNotEqualComparison() throws IOException { + NotEqualComparison instance = CommonJsonization.loadMaximalNotEqualComparison(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "NotEqualComparison", "maximal.json.trace")); + } // public void testNotEqualComparison + + @Test + public void testGreaterThanComparison() throws IOException { + GreaterThanComparison instance = CommonJsonization.loadMaximalGreaterThanComparison(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "GreaterThanComparison", "maximal.json.trace")); + } // public void testGreaterThanComparison + + @Test + public void testGreaterThanOrEqualComparison() throws IOException { + GreaterThanOrEqualComparison instance = + CommonJsonization.loadMaximalGreaterThanOrEqualComparison(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "GreaterThanOrEqualComparison", + "maximal.json.trace")); + } // public void testGreaterThanOrEqualComparison + + @Test + public void testLessThanComparison() throws IOException { + LessThanComparison instance = CommonJsonization.loadMaximalLessThanComparison(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "LessThanComparison", "maximal.json.trace")); + } // public void testLessThanComparison + + @Test + public void testLessThanOrEqualComparison() throws IOException { + LessThanOrEqualComparison instance = CommonJsonization.loadMaximalLessThanOrEqualComparison(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "LessThanOrEqualComparison", + "maximal.json.trace")); + } // public void testLessThanOrEqualComparison + + @Test + public void testContainsComparison() throws IOException { + ContainsComparison instance = CommonJsonization.loadMaximalContainsComparison(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "ContainsComparison", "maximal.json.trace")); + } // public void testContainsComparison + + @Test + public void testStartsWithComparison() throws IOException { + StartsWithComparison instance = CommonJsonization.loadMaximalStartsWithComparison(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "StartsWithComparison", "maximal.json.trace")); + } // public void testStartsWithComparison + + @Test + public void testEndsWithComparison() throws IOException { + EndsWithComparison instance = CommonJsonization.loadMaximalEndsWithComparison(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "EndsWithComparison", "maximal.json.trace")); + } // public void testEndsWithComparison + + @Test + public void testRegexComparison() throws IOException { + RegexComparison instance = CommonJsonization.loadMaximalRegexComparison(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "RegexComparison", "maximal.json.trace")); + } // public void testRegexComparison + + @Test + public void testMatchClause() throws IOException { + MatchClause instance = CommonJsonization.loadMaximalMatchClause(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "MatchClause", "maximal.json.trace")); + } // public void testMatchClause + + @Test + public void testAndExpression() throws IOException { + AndExpression instance = CommonJsonization.loadMaximalAndExpression(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "AndExpression", "maximal.json.trace")); + } // public void testAndExpression + + @Test + public void testOrExpression() throws IOException { + OrExpression instance = CommonJsonization.loadMaximalOrExpression(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "OrExpression", "maximal.json.trace")); + } // public void testOrExpression + + @Test + public void testNotExpression() throws IOException { + NotExpression instance = CommonJsonization.loadMaximalNotExpression(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "NotExpression", "maximal.json.trace")); + } // public void testNotExpression + + @Test + public void testQueryFilter() throws IOException { + QueryFilter instance = CommonJsonization.loadMaximalQueryFilter(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "QueryFilter", "maximal.json.trace")); + } // public void testQueryFilter + + @Test + public void testQuery() throws IOException { + Query instance = CommonJsonization.loadMaximalQuery(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Query", "maximal.json.trace")); + } // public void testQuery +} // class TestDescendOnce + +// package aas_core.aas3_2.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestEnhancing.java b/src/test/java/TestEnhancing.java new file mode 100644 index 00000000..6d6727d4 --- /dev/null +++ b/src/test/java/TestEnhancing.java @@ -0,0 +1,4554 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.tests; + +import static org.junit.jupiter.api.Assertions.*; + +import aas_core.aas3_2.enhancing.Enhancer; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.IClass; +import java.io.IOException; +import java.util.Comparator; +import java.util.HashSet; +import java.util.Optional; +import java.util.Set; +import java.util.concurrent.atomic.AtomicLong; +import java.util.function.Function; +import org.junit.jupiter.api.Test; + +public class TestEnhancing { + public static class _Enhancement { + public final long someCustomId; + + public _Enhancement(long someCustomId) { + this.someCustomId = someCustomId; + } + } + + private Enhancer<_Enhancement> createEnhancer() { + AtomicLong lastCustomId = new AtomicLong(); + + Function> enhancementFactory = + iClass -> Optional.of(new _Enhancement(lastCustomId.incrementAndGet())); + + return new Enhancer<>(enhancementFactory); + } + + @Test + public void testExtension() throws IOException { + final Extension instance = CommonJsonization.loadMaximalExtension(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testExtension + + @Test + public void testAdministrativeInformation() throws IOException { + final AdministrativeInformation instance = + CommonJsonization.loadMaximalAdministrativeInformation(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testAdministrativeInformation + + @Test + public void testQualifier() throws IOException { + final Qualifier instance = CommonJsonization.loadMaximalQualifier(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testQualifier + + @Test + public void testAssetAdministrationShell() throws IOException { + final AssetAdministrationShell instance = + CommonJsonization.loadMaximalAssetAdministrationShell(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testAssetAdministrationShell + + @Test + public void testAssetInformation() throws IOException { + final AssetInformation instance = CommonJsonization.loadMaximalAssetInformation(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testAssetInformation + + @Test + public void testResource() throws IOException { + final Resource instance = CommonJsonization.loadMaximalResource(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testResource + + @Test + public void testSpecificAssetId() throws IOException { + final SpecificAssetId instance = CommonJsonization.loadMaximalSpecificAssetId(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testSpecificAssetId + + @Test + public void testSubmodel() throws IOException { + final Submodel instance = CommonJsonization.loadMaximalSubmodel(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testSubmodel + + @Test + public void testRelationshipElement() throws IOException { + final RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testRelationshipElement + + @Test + public void testSubmodelElementList() throws IOException { + final SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testSubmodelElementList + + @Test + public void testSubmodelElementCollection() throws IOException { + final SubmodelElementCollection instance = + CommonJsonization.loadMaximalSubmodelElementCollection(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testSubmodelElementCollection + + @Test + public void testProperty() throws IOException { + final Property instance = CommonJsonization.loadMaximalProperty(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testProperty + + @Test + public void testMultiLanguageProperty() throws IOException { + final MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testMultiLanguageProperty + + @Test + public void testRange() throws IOException { + final Range instance = CommonJsonization.loadMaximalRange(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testRange + + @Test + public void testReferenceElement() throws IOException { + final ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testReferenceElement + + @Test + public void testBlob() throws IOException { + final Blob instance = CommonJsonization.loadMaximalBlob(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testBlob + + @Test + public void testFile() throws IOException { + final File instance = CommonJsonization.loadMaximalFile(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testFile + + @Test + public void testAnnotatedRelationshipElement() throws IOException { + final AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testAnnotatedRelationshipElement + + @Test + public void testEntity() throws IOException { + final Entity instance = CommonJsonization.loadMaximalEntity(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testEntity + + @Test + public void testEventPayload() throws IOException { + final EventPayload instance = CommonJsonization.loadMaximalEventPayload(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testEventPayload + + @Test + public void testBasicEventElement() throws IOException { + final BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testBasicEventElement + + @Test + public void testOperation() throws IOException { + final Operation instance = CommonJsonization.loadMaximalOperation(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testOperation + + @Test + public void testOperationVariable() throws IOException { + final OperationVariable instance = CommonJsonization.loadMaximalOperationVariable(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testOperationVariable + + @Test + public void testCapability() throws IOException { + final Capability instance = CommonJsonization.loadMaximalCapability(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testCapability + + @Test + public void testConceptDescription() throws IOException { + final ConceptDescription instance = CommonJsonization.loadMaximalConceptDescription(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testConceptDescription + + @Test + public void testReference() throws IOException { + final Reference instance = CommonJsonization.loadMaximalReference(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testReference + + @Test + public void testKey() throws IOException { + final Key instance = CommonJsonization.loadMaximalKey(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testKey + + @Test + public void testLangStringNameType() throws IOException { + final LangStringNameType instance = CommonJsonization.loadMaximalLangStringNameType(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testLangStringNameType + + @Test + public void testLangStringTextType() throws IOException { + final LangStringTextType instance = CommonJsonization.loadMaximalLangStringTextType(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testLangStringTextType + + @Test + public void testEnvironment() throws IOException { + final Environment instance = CommonJsonization.loadMaximalEnvironment(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testEnvironment + + @Test + public void testEmbeddedDataSpecification() throws IOException { + final EmbeddedDataSpecification instance = + CommonJsonization.loadMaximalEmbeddedDataSpecification(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testEmbeddedDataSpecification + + @Test + public void testLevelType() throws IOException { + final LevelType instance = CommonJsonization.loadMaximalLevelType(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testLevelType + + @Test + public void testValueReferencePair() throws IOException { + final ValueReferencePair instance = CommonJsonization.loadMaximalValueReferencePair(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testValueReferencePair + + @Test + public void testValueList() throws IOException { + final ValueList instance = CommonJsonization.loadMaximalValueList(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testValueList + + @Test + public void testLangStringPreferredNameTypeIec61360() throws IOException { + final LangStringPreferredNameTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringPreferredNameTypeIec61360(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testLangStringPreferredNameTypeIec61360 + + @Test + public void testLangStringShortNameTypeIec61360() throws IOException { + final LangStringShortNameTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringShortNameTypeIec61360(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testLangStringShortNameTypeIec61360 + + @Test + public void testLangStringDefinitionTypeIec61360() throws IOException { + final LangStringDefinitionTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringDefinitionTypeIec61360(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testLangStringDefinitionTypeIec61360 + + @Test + public void testLangStringUom() throws IOException { + final LangStringUom instance = CommonJsonization.loadMaximalLangStringUom(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testLangStringUom + + @Test + public void testDefinitionTypeUom() throws IOException { + final DefinitionTypeUom instance = CommonJsonization.loadMaximalDefinitionTypeUom(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testDefinitionTypeUom + + @Test + public void testDataSpecificationUom() throws IOException { + final DataSpecificationUom instance = CommonJsonization.loadMaximalDataSpecificationUom(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testDataSpecificationUom + + @Test + public void testDataSpecificationIec61360() throws IOException { + final DataSpecificationIec61360 instance = + CommonJsonization.loadMaximalDataSpecificationIec61360(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testDataSpecificationIec61360 + + @Test + public void testAssetAdministrationShellDescriptor() throws IOException { + final AssetAdministrationShellDescriptor instance = + CommonJsonization.loadMaximalAssetAdministrationShellDescriptor(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testAssetAdministrationShellDescriptor + + @Test + public void testSubmodelDescriptor() throws IOException { + final SubmodelDescriptor instance = CommonJsonization.loadMaximalSubmodelDescriptor(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testSubmodelDescriptor + + @Test + public void testEndpoint() throws IOException { + final Endpoint instance = CommonJsonization.loadMaximalEndpoint(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testEndpoint + + @Test + public void testProtocolInformation() throws IOException { + final ProtocolInformation instance = CommonJsonization.loadMaximalProtocolInformation(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testProtocolInformation + + @Test + public void testSecurityAttributeObject() throws IOException { + final SecurityAttributeObject instance = CommonJsonization.loadMaximalSecurityAttributeObject(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testSecurityAttributeObject + + @Test + public void testAssetLink() throws IOException { + final AssetLink instance = CommonJsonization.loadMaximalAssetLink(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testAssetLink + + @Test + public void testServiceDescription() throws IOException { + final ServiceDescription instance = CommonJsonization.loadMaximalServiceDescription(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testServiceDescription + + @Test + public void testAssetAdministrationShellRecentChange() throws IOException { + final AssetAdministrationShellRecentChange instance = + CommonJsonization.loadMaximalAssetAdministrationShellRecentChange(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testAssetAdministrationShellRecentChange + + @Test + public void testConceptDescriptionRecentChange() throws IOException { + final ConceptDescriptionRecentChange instance = + CommonJsonization.loadMaximalConceptDescriptionRecentChange(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testConceptDescriptionRecentChange + + @Test + public void testSubmodelRecentChange() throws IOException { + final SubmodelRecentChange instance = CommonJsonization.loadMaximalSubmodelRecentChange(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testSubmodelRecentChange + + @Test + public void testResult() throws IOException { + final Result instance = CommonJsonization.loadMaximalResult(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testResult + + @Test + public void testMessage() throws IOException { + final Message instance = CommonJsonization.loadMaximalMessage(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testMessage + + @Test + public void testOperationRequest() throws IOException { + final OperationRequest instance = CommonJsonization.loadMaximalOperationRequest(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testOperationRequest + + @Test + public void testOperationRequestAsync() throws IOException { + final OperationRequestAsync instance = CommonJsonization.loadMaximalOperationRequestAsync(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testOperationRequestAsync + + @Test + public void testOperationRequestValueOnly() throws IOException { + final OperationRequestValueOnly instance = + CommonJsonization.loadMaximalOperationRequestValueOnly(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testOperationRequestValueOnly + + @Test + public void testOperationRequestAsyncValueOnly() throws IOException { + final OperationRequestAsyncValueOnly instance = + CommonJsonization.loadMaximalOperationRequestAsyncValueOnly(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testOperationRequestAsyncValueOnly + + @Test + public void testBaseOperationResult() throws IOException { + final BaseOperationResult instance = CommonJsonization.loadMaximalBaseOperationResult(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testBaseOperationResult + + @Test + public void testOperationResult() throws IOException { + final OperationResult instance = CommonJsonization.loadMaximalOperationResult(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testOperationResult + + @Test + public void testOperationResultValueOnly() throws IOException { + final OperationResultValueOnly instance = + CommonJsonization.loadMaximalOperationResultValueOnly(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testOperationResultValueOnly + + @Test + public void testOperationHandle() throws IOException { + final OperationHandle instance = CommonJsonization.loadMaximalOperationHandle(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testOperationHandle + + @Test + public void testPagedResult() throws IOException { + final PagedResult instance = CommonJsonization.loadMaximalPagedResult(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testPagedResult + + @Test + public void testPagingMetadata() throws IOException { + final PagingMetadata instance = CommonJsonization.loadMaximalPagingMetadata(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testPagingMetadata + + @Test + public void testPackageDescription() throws IOException { + final PackageDescription instance = CommonJsonization.loadMaximalPackageDescription(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testPackageDescription + + @Test + public void testPropertyMetadata() throws IOException { + final PropertyMetadata instance = CommonJsonization.loadMaximalPropertyMetadata(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testPropertyMetadata + + @Test + public void testRangeMetadata() throws IOException { + final RangeMetadata instance = CommonJsonization.loadMaximalRangeMetadata(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testRangeMetadata + + @Test + public void testBlobMetadata() throws IOException { + final BlobMetadata instance = CommonJsonization.loadMaximalBlobMetadata(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testBlobMetadata + + @Test + public void testFileMetadata() throws IOException { + final FileMetadata instance = CommonJsonization.loadMaximalFileMetadata(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testFileMetadata + + @Test + public void testMultiLanguagePropertyMetadata() throws IOException { + final MultiLanguagePropertyMetadata instance = + CommonJsonization.loadMaximalMultiLanguagePropertyMetadata(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testMultiLanguagePropertyMetadata + + @Test + public void testReferenceElementMetadata() throws IOException { + final ReferenceElementMetadata instance = + CommonJsonization.loadMaximalReferenceElementMetadata(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testReferenceElementMetadata + + @Test + public void testRelationshipElementMetadata() throws IOException { + final RelationshipElementMetadata instance = + CommonJsonization.loadMaximalRelationshipElementMetadata(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testRelationshipElementMetadata + + @Test + public void testAnnotatedRelationshipElementMetadata() throws IOException { + final AnnotatedRelationshipElementMetadata instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testAnnotatedRelationshipElementMetadata + + @Test + public void testEntityMetadata() throws IOException { + final EntityMetadata instance = CommonJsonization.loadMaximalEntityMetadata(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testEntityMetadata + + @Test + public void testCapabilityMetadata() throws IOException { + final CapabilityMetadata instance = CommonJsonization.loadMaximalCapabilityMetadata(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testCapabilityMetadata + + @Test + public void testOperationMetadata() throws IOException { + final OperationMetadata instance = CommonJsonization.loadMaximalOperationMetadata(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testOperationMetadata + + @Test + public void testSubmodelElementCollectionMetadata() throws IOException { + final SubmodelElementCollectionMetadata instance = + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testSubmodelElementCollectionMetadata + + @Test + public void testBasicEventElementMetadata() throws IOException { + final BasicEventElementMetadata instance = + CommonJsonization.loadMaximalBasicEventElementMetadata(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testBasicEventElementMetadata + + @Test + public void testSubmodelElementListMetadata() throws IOException { + final SubmodelElementListMetadata instance = + CommonJsonization.loadMaximalSubmodelElementListMetadata(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testSubmodelElementListMetadata + + @Test + public void testSubmodelMetadata() throws IOException { + final SubmodelMetadata instance = CommonJsonization.loadMaximalSubmodelMetadata(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testSubmodelMetadata + + @Test + public void testAssetAdministrationShellMetadata() throws IOException { + final AssetAdministrationShellMetadata instance = + CommonJsonization.loadMaximalAssetAdministrationShellMetadata(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testAssetAdministrationShellMetadata + + @Test + public void testReferenceElementValue() throws IOException { + final ReferenceElementValue instance = CommonJsonization.loadMaximalReferenceElementValue(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testReferenceElementValue + + @Test + public void testBlobValue() throws IOException { + final BlobValue instance = CommonJsonization.loadMaximalBlobValue(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testBlobValue + + @Test + public void testFileValue() throws IOException { + final FileValue instance = CommonJsonization.loadMaximalFileValue(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testFileValue + + @Test + public void testRangeValue() throws IOException { + final RangeValue instance = CommonJsonization.loadMaximalRangeValue(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testRangeValue + + @Test + public void testRelationshipElementValue() throws IOException { + final RelationshipElementValue instance = + CommonJsonization.loadMaximalRelationshipElementValue(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testRelationshipElementValue + + @Test + public void testBasicEventElementValue() throws IOException { + final BasicEventElementValue instance = CommonJsonization.loadMaximalBasicEventElementValue(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testBasicEventElementValue + + @Test + public void testAnnotatedRelationshipElementValue() throws IOException { + final AnnotatedRelationshipElementValue instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementValue(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testAnnotatedRelationshipElementValue + + @Test + public void testEntityValue() throws IOException { + final EntityValue instance = CommonJsonization.loadMaximalEntityValue(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testEntityValue + + @Test + public void testGetAssetAdministrationShellsResult() throws IOException { + final GetAssetAdministrationShellsResult instance = + CommonJsonization.loadMaximalGetAssetAdministrationShellsResult(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testGetAssetAdministrationShellsResult + + @Test + public void testGetAssetAdministrationShellsMetadataResult() throws IOException { + final GetAssetAdministrationShellsMetadataResult instance = + CommonJsonization.loadMaximalGetAssetAdministrationShellsMetadataResult(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testGetAssetAdministrationShellsMetadataResult + + @Test + public void testGetAllAssetAdministrationShellsRecentChangesResult() throws IOException { + final GetAllAssetAdministrationShellsRecentChangesResult instance = + CommonJsonization.loadMaximalGetAllAssetAdministrationShellsRecentChangesResult(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testGetAllAssetAdministrationShellsRecentChangesResult + + @Test + public void testGetAssetAdministrationShellDescriptorsResult() throws IOException { + final GetAssetAdministrationShellDescriptorsResult instance = + CommonJsonization.loadMaximalGetAssetAdministrationShellDescriptorsResult(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testGetAssetAdministrationShellDescriptorsResult + + @Test + public void testGetConceptDescriptionsResult() throws IOException { + final GetConceptDescriptionsResult instance = + CommonJsonization.loadMaximalGetConceptDescriptionsResult(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testGetConceptDescriptionsResult + + @Test + public void testGetAllConceptDescriptionsRecentChangesResult() throws IOException { + final GetAllConceptDescriptionsRecentChangesResult instance = + CommonJsonization.loadMaximalGetAllConceptDescriptionsRecentChangesResult(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testGetAllConceptDescriptionsRecentChangesResult + + @Test + public void testGetPackageDescriptionsResult() throws IOException { + final GetPackageDescriptionsResult instance = + CommonJsonization.loadMaximalGetPackageDescriptionsResult(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testGetPackageDescriptionsResult + + @Test + public void testGetPathItemsResult() throws IOException { + final GetPathItemsResult instance = CommonJsonization.loadMaximalGetPathItemsResult(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testGetPathItemsResult + + @Test + public void testGetReferencesResult() throws IOException { + final GetReferencesResult instance = CommonJsonization.loadMaximalGetReferencesResult(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testGetReferencesResult + + @Test + public void testGetSubmodelDescriptorsResult() throws IOException { + final GetSubmodelDescriptorsResult instance = + CommonJsonization.loadMaximalGetSubmodelDescriptorsResult(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testGetSubmodelDescriptorsResult + + @Test + public void testGetSubmodelElementsMetadataResult() throws IOException { + final GetSubmodelElementsMetadataResult instance = + CommonJsonization.loadMaximalGetSubmodelElementsMetadataResult(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testGetSubmodelElementsMetadataResult + + @Test + public void testGetSubmodelElementsResult() throws IOException { + final GetSubmodelElementsResult instance = + CommonJsonization.loadMaximalGetSubmodelElementsResult(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testGetSubmodelElementsResult + + @Test + public void testGetSubmodelElementsValueResult() throws IOException { + final GetSubmodelElementsValueResult instance = + CommonJsonization.loadMaximalGetSubmodelElementsValueResult(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testGetSubmodelElementsValueResult + + @Test + public void testGetAllSubmodelsRecentChangesResult() throws IOException { + final GetAllSubmodelsRecentChangesResult instance = + CommonJsonization.loadMaximalGetAllSubmodelsRecentChangesResult(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testGetAllSubmodelsRecentChangesResult + + @Test + public void testGetSubmodelsMetadataResult() throws IOException { + final GetSubmodelsMetadataResult instance = + CommonJsonization.loadMaximalGetSubmodelsMetadataResult(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testGetSubmodelsMetadataResult + + @Test + public void testGetSubmodelsResult() throws IOException { + final GetSubmodelsResult instance = CommonJsonization.loadMaximalGetSubmodelsResult(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testGetSubmodelsResult + + @Test + public void testGetSubmodelsValueResult() throws IOException { + final GetSubmodelsValueResult instance = CommonJsonization.loadMaximalGetSubmodelsValueResult(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testGetSubmodelsValueResult + + @Test + public void testClaimAttribute() throws IOException { + final ClaimAttribute instance = CommonJsonization.loadMaximalClaimAttribute(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testClaimAttribute + + @Test + public void testGlobalAttribute() throws IOException { + final GlobalAttribute instance = CommonJsonization.loadMaximalGlobalAttribute(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testGlobalAttribute + + @Test + public void testReferenceAttribute() throws IOException { + final ReferenceAttribute instance = CommonJsonization.loadMaximalReferenceAttribute(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testReferenceAttribute + + @Test + public void testDateTimeAttributeItem() throws IOException { + final DateTimeAttributeItem instance = CommonJsonization.loadMaximalDateTimeAttributeItem(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testDateTimeAttributeItem + + @Test + public void testFieldOperand() throws IOException { + final FieldOperand instance = CommonJsonization.loadMaximalFieldOperand(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testFieldOperand + + @Test + public void testStringLiteral() throws IOException { + final StringLiteral instance = CommonJsonization.loadMaximalStringLiteral(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testStringLiteral + + @Test + public void testAttributeOperand() throws IOException { + final AttributeOperand instance = CommonJsonization.loadMaximalAttributeOperand(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testAttributeOperand + + @Test + public void testNumberLiteral() throws IOException { + final NumberLiteral instance = CommonJsonization.loadMaximalNumberLiteral(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testNumberLiteral + + @Test + public void testHexLiteral() throws IOException { + final HexLiteral instance = CommonJsonization.loadMaximalHexLiteral(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testHexLiteral + + @Test + public void testDateTimeLiteral() throws IOException { + final DateTimeLiteral instance = CommonJsonization.loadMaximalDateTimeLiteral(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testDateTimeLiteral + + @Test + public void testTimeLiteral() throws IOException { + final TimeLiteral instance = CommonJsonization.loadMaximalTimeLiteral(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testTimeLiteral + + @Test + public void testBooleanLiteral() throws IOException { + final BooleanLiteral instance = CommonJsonization.loadMaximalBooleanLiteral(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testBooleanLiteral + + @Test + public void testStringCast() throws IOException { + final StringCast instance = CommonJsonization.loadMaximalStringCast(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testStringCast + + @Test + public void testNumberCast() throws IOException { + final NumberCast instance = CommonJsonization.loadMaximalNumberCast(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testNumberCast + + @Test + public void testHexCast() throws IOException { + final HexCast instance = CommonJsonization.loadMaximalHexCast(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testHexCast + + @Test + public void testBooleanCast() throws IOException { + final BooleanCast instance = CommonJsonization.loadMaximalBooleanCast(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testBooleanCast + + @Test + public void testDateTimeCast() throws IOException { + final DateTimeCast instance = CommonJsonization.loadMaximalDateTimeCast(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testDateTimeCast + + @Test + public void testTimeCast() throws IOException { + final TimeCast instance = CommonJsonization.loadMaximalTimeCast(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testTimeCast + + @Test + public void testDayOfWeek() throws IOException { + final DayOfWeek instance = CommonJsonization.loadMaximalDayOfWeek(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testDayOfWeek + + @Test + public void testDayOfMonth() throws IOException { + final DayOfMonth instance = CommonJsonization.loadMaximalDayOfMonth(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testDayOfMonth + + @Test + public void testMonth() throws IOException { + final Month instance = CommonJsonization.loadMaximalMonth(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testMonth + + @Test + public void testYear() throws IOException { + final Year instance = CommonJsonization.loadMaximalYear(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testYear + + @Test + public void testDateTimeAttributeOperand() throws IOException { + final DateTimeAttributeOperand instance = + CommonJsonization.loadMaximalDateTimeAttributeOperand(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testDateTimeAttributeOperand + + @Test + public void testEqualComparison() throws IOException { + final EqualComparison instance = CommonJsonization.loadMaximalEqualComparison(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testEqualComparison + + @Test + public void testNotEqualComparison() throws IOException { + final NotEqualComparison instance = CommonJsonization.loadMaximalNotEqualComparison(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testNotEqualComparison + + @Test + public void testGreaterThanComparison() throws IOException { + final GreaterThanComparison instance = CommonJsonization.loadMaximalGreaterThanComparison(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testGreaterThanComparison + + @Test + public void testGreaterThanOrEqualComparison() throws IOException { + final GreaterThanOrEqualComparison instance = + CommonJsonization.loadMaximalGreaterThanOrEqualComparison(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testGreaterThanOrEqualComparison + + @Test + public void testLessThanComparison() throws IOException { + final LessThanComparison instance = CommonJsonization.loadMaximalLessThanComparison(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testLessThanComparison + + @Test + public void testLessThanOrEqualComparison() throws IOException { + final LessThanOrEqualComparison instance = + CommonJsonization.loadMaximalLessThanOrEqualComparison(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testLessThanOrEqualComparison + + @Test + public void testContainsComparison() throws IOException { + final ContainsComparison instance = CommonJsonization.loadMaximalContainsComparison(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testContainsComparison + + @Test + public void testStartsWithComparison() throws IOException { + final StartsWithComparison instance = CommonJsonization.loadMaximalStartsWithComparison(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testStartsWithComparison + + @Test + public void testEndsWithComparison() throws IOException { + final EndsWithComparison instance = CommonJsonization.loadMaximalEndsWithComparison(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testEndsWithComparison + + @Test + public void testRegexComparison() throws IOException { + final RegexComparison instance = CommonJsonization.loadMaximalRegexComparison(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testRegexComparison + + @Test + public void testMatchClause() throws IOException { + final MatchClause instance = CommonJsonization.loadMaximalMatchClause(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testMatchClause + + @Test + public void testAndExpression() throws IOException { + final AndExpression instance = CommonJsonization.loadMaximalAndExpression(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testAndExpression + + @Test + public void testOrExpression() throws IOException { + final OrExpression instance = CommonJsonization.loadMaximalOrExpression(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testOrExpression + + @Test + public void testNotExpression() throws IOException { + final NotExpression instance = CommonJsonization.loadMaximalNotExpression(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testNotExpression + + @Test + public void testQueryFilter() throws IOException { + final QueryFilter instance = CommonJsonization.loadMaximalQueryFilter(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testQueryFilter + + @Test + public void testQuery() throws IOException { + final Query instance = CommonJsonization.loadMaximalQuery(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testQuery +} // class TestEnhancing +// package aas_core.aas3_2.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestJsonizationOfConcreteClasses.java b/src/test/java/TestJsonizationOfConcreteClasses.java new file mode 100644 index 00000000..51e92832 --- /dev/null +++ b/src/test/java/TestJsonizationOfConcreteClasses.java @@ -0,0 +1,12793 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertNull; +import static org.junit.jupiter.api.Assertions.assertTrue; +import static org.junit.jupiter.api.Assertions.fail; + +import aas_core.aas3_2.common.*; +import aas_core.aas3_2.jsonization.Jsonization; +import aas_core.aas3_2.reporting.Reporting; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.types.model.IClass; +import aas_core.aas3_2.verification.Verification; +import aas_core.aas3_2.xmlcommon.XmlCommon; +import aas_core.aas3_2.xmlization.Xmlization; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.node.JsonNodeFactory; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.io.StringWriter; +import java.math.BigInteger; +import java.nio.charset.StandardCharsets; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.stream.Collectors; +import javax.xml.stream.XMLOutputFactory; +import javax.xml.stream.XMLStreamException; +import javax.xml.stream.XMLStreamWriter; +import org.junit.jupiter.api.Test; + +public class TestJsonizationOfConcreteClasses { + private static void assertSerializeDeserializeEqualsOriginal( + JsonNode originalNode, IClass instance, Path path) throws JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + JsonNode serialized = null; + try { + serialized = Jsonization.Serialize.toJsonObject(instance); + } catch (Exception exception) { + fail( + "Expected no exception upon serialization of an instance " + + "de-serialized from " + + path + + ", but got: " + + exception); + } + + if (serialized == null) { + fail("Unexpected null serialization of an instance from " + path); + } + + assertEquals( + objectMapper.readTree(originalNode.toString()), + objectMapper.readTree(serialized.toString())); + } + + private static void assertEqualsExpectedOrRerecordDeserializationException( + Jsonization.DeserializeException exception, Path path) + throws FileNotFoundException, IOException { + if (exception == null) { + fail("Expected a Jsonization exception when de-serializing " + path + ", but got none."); + } else { + final Path exceptionPath = Paths.get(path + ".exception"); + final String got = exception.getMessage(); + if (Common.RECORD_MODE) { + Files.write(exceptionPath, got.getBytes(StandardCharsets.UTF_8)); + } else { + if (!Files.exists(exceptionPath)) { + throw new FileNotFoundException( + "The file with the recorded errors does not exist: " + + exceptionPath + + "; maybe you want to set the environment variable " + + Common.RECORD_MODE_ENVIRONMENT_VARIABLE_NAME); + } + final String expected = + Files.readAllLines(exceptionPath).stream().collect(Collectors.joining("\n")); + assertEquals( + expected, + got, + "The expected exception does not match the actual one for the file " + path); + } + } + } + + @Test + public void testExtensionOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Extension"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Extension instance = Jsonization.Deserialize.deserializeExtension(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testExtensionOk + + @Test + public void testExtensionDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Extension unused = Jsonization.Deserialize.deserializeExtension(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testExtensionDeserializationFromNonObjectFail + + @Test + public void testExtensionDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Extension"); + + if (!Files.exists(clsDir)) { + // No examples of Extension for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Extension var = Jsonization.Deserialize.deserializeExtension(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testExtensionDeserializationFail + + @Test + public void testExtensionVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Extension"); + + if (!Files.exists(clsDir)) { + // No examples of Extension for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Extension instance = Jsonization.Deserialize.deserializeExtension(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testExtensionVerificationFail + + @Test + public void testAdministrativeInformationOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AdministrativeInformation"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final AdministrativeInformation instance = + Jsonization.Deserialize.deserializeAdministrativeInformation(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testAdministrativeInformationOk + + @Test + public void testAdministrativeInformationDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final AdministrativeInformation unused = + Jsonization.Deserialize.deserializeAdministrativeInformation(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testAdministrativeInformationDeserializationFromNonObjectFail + + @Test + public void testAdministrativeInformationDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("AdministrativeInformation"); + + if (!Files.exists(clsDir)) { + // No examples of AdministrativeInformation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final AdministrativeInformation var = + Jsonization.Deserialize.deserializeAdministrativeInformation(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAdministrativeInformationDeserializationFail + + @Test + public void testAdministrativeInformationVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("AdministrativeInformation"); + + if (!Files.exists(clsDir)) { + // No examples of AdministrativeInformation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final AdministrativeInformation instance = + Jsonization.Deserialize.deserializeAdministrativeInformation(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAdministrativeInformationVerificationFail + + @Test + public void testQualifierOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Qualifier"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Qualifier instance = Jsonization.Deserialize.deserializeQualifier(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testQualifierOk + + @Test + public void testQualifierDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Qualifier unused = Jsonization.Deserialize.deserializeQualifier(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testQualifierDeserializationFromNonObjectFail + + @Test + public void testQualifierDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Qualifier"); + + if (!Files.exists(clsDir)) { + // No examples of Qualifier for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Qualifier var = Jsonization.Deserialize.deserializeQualifier(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testQualifierDeserializationFail + + @Test + public void testQualifierVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Qualifier"); + + if (!Files.exists(clsDir)) { + // No examples of Qualifier for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Qualifier instance = Jsonization.Deserialize.deserializeQualifier(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testQualifierVerificationFail + + @Test + public void testAssetAdministrationShellOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AssetAdministrationShell"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final AssetAdministrationShell instance = + Jsonization.Deserialize.deserializeAssetAdministrationShell(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testAssetAdministrationShellOk + + @Test + public void testAssetAdministrationShellDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final AssetAdministrationShell unused = + Jsonization.Deserialize.deserializeAssetAdministrationShell(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testAssetAdministrationShellDeserializationFromNonObjectFail + + @Test + public void testAssetAdministrationShellDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("AssetAdministrationShell"); + + if (!Files.exists(clsDir)) { + // No examples of AssetAdministrationShell for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final AssetAdministrationShell var = + Jsonization.Deserialize.deserializeAssetAdministrationShell(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAssetAdministrationShellDeserializationFail + + @Test + public void testAssetAdministrationShellVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("AssetAdministrationShell"); + + if (!Files.exists(clsDir)) { + // No examples of AssetAdministrationShell for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final AssetAdministrationShell instance = + Jsonization.Deserialize.deserializeAssetAdministrationShell(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAssetAdministrationShellVerificationFail + + @Test + public void testAssetInformationOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AssetInformation"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final AssetInformation instance = Jsonization.Deserialize.deserializeAssetInformation(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testAssetInformationOk + + @Test + public void testAssetInformationDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final AssetInformation unused = Jsonization.Deserialize.deserializeAssetInformation(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testAssetInformationDeserializationFromNonObjectFail + + @Test + public void testAssetInformationDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("AssetInformation"); + + if (!Files.exists(clsDir)) { + // No examples of AssetInformation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final AssetInformation var = Jsonization.Deserialize.deserializeAssetInformation(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAssetInformationDeserializationFail + + @Test + public void testAssetInformationVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("AssetInformation"); + + if (!Files.exists(clsDir)) { + // No examples of AssetInformation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final AssetInformation instance = Jsonization.Deserialize.deserializeAssetInformation(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAssetInformationVerificationFail + + @Test + public void testResourceOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Resource"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Resource instance = Jsonization.Deserialize.deserializeResource(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testResourceOk + + @Test + public void testResourceDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Resource unused = Jsonization.Deserialize.deserializeResource(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testResourceDeserializationFromNonObjectFail + + @Test + public void testResourceDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Resource"); + + if (!Files.exists(clsDir)) { + // No examples of Resource for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Resource var = Jsonization.Deserialize.deserializeResource(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testResourceDeserializationFail + + @Test + public void testResourceVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Resource"); + + if (!Files.exists(clsDir)) { + // No examples of Resource for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Resource instance = Jsonization.Deserialize.deserializeResource(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testResourceVerificationFail + + @Test + public void testSpecificAssetIdOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SpecificAssetId"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final SpecificAssetId instance = Jsonization.Deserialize.deserializeSpecificAssetId(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testSpecificAssetIdOk + + @Test + public void testSpecificAssetIdDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final SpecificAssetId unused = Jsonization.Deserialize.deserializeSpecificAssetId(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testSpecificAssetIdDeserializationFromNonObjectFail + + @Test + public void testSpecificAssetIdDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("SpecificAssetId"); + + if (!Files.exists(clsDir)) { + // No examples of SpecificAssetId for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final SpecificAssetId var = Jsonization.Deserialize.deserializeSpecificAssetId(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSpecificAssetIdDeserializationFail + + @Test + public void testSpecificAssetIdVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("SpecificAssetId"); + + if (!Files.exists(clsDir)) { + // No examples of SpecificAssetId for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final SpecificAssetId instance = Jsonization.Deserialize.deserializeSpecificAssetId(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSpecificAssetIdVerificationFail + + @Test + public void testSubmodelOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Submodel"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Submodel instance = Jsonization.Deserialize.deserializeSubmodel(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testSubmodelOk + + @Test + public void testSubmodelDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Submodel unused = Jsonization.Deserialize.deserializeSubmodel(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testSubmodelDeserializationFromNonObjectFail + + @Test + public void testSubmodelDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Submodel"); + + if (!Files.exists(clsDir)) { + // No examples of Submodel for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Submodel var = Jsonization.Deserialize.deserializeSubmodel(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelDeserializationFail + + @Test + public void testSubmodelVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Submodel"); + + if (!Files.exists(clsDir)) { + // No examples of Submodel for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Submodel instance = Jsonization.Deserialize.deserializeSubmodel(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelVerificationFail + + @Test + public void testRelationshipElementOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "RelationshipElement"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final RelationshipElement instance = + Jsonization.Deserialize.deserializeRelationshipElement(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testRelationshipElementOk + + @Test + public void testRelationshipElementDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final RelationshipElement unused = + Jsonization.Deserialize.deserializeRelationshipElement(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testRelationshipElementDeserializationFromNonObjectFail + + @Test + public void testRelationshipElementDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("RelationshipElement"); + + if (!Files.exists(clsDir)) { + // No examples of RelationshipElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final RelationshipElement var = + Jsonization.Deserialize.deserializeRelationshipElement(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testRelationshipElementDeserializationFail + + @Test + public void testRelationshipElementVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("RelationshipElement"); + + if (!Files.exists(clsDir)) { + // No examples of RelationshipElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final RelationshipElement instance = + Jsonization.Deserialize.deserializeRelationshipElement(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testRelationshipElementVerificationFail + + @Test + public void testSubmodelElementListOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelElementList"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final SubmodelElementList instance = + Jsonization.Deserialize.deserializeSubmodelElementList(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testSubmodelElementListOk + + @Test + public void testSubmodelElementListDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final SubmodelElementList unused = + Jsonization.Deserialize.deserializeSubmodelElementList(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testSubmodelElementListDeserializationFromNonObjectFail + + @Test + public void testSubmodelElementListDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("SubmodelElementList"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementList for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final SubmodelElementList var = + Jsonization.Deserialize.deserializeSubmodelElementList(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelElementListDeserializationFail + + @Test + public void testSubmodelElementListVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("SubmodelElementList"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementList for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final SubmodelElementList instance = + Jsonization.Deserialize.deserializeSubmodelElementList(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelElementListVerificationFail + + @Test + public void testSubmodelElementCollectionOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelElementCollection"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final SubmodelElementCollection instance = + Jsonization.Deserialize.deserializeSubmodelElementCollection(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testSubmodelElementCollectionOk + + @Test + public void testSubmodelElementCollectionDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final SubmodelElementCollection unused = + Jsonization.Deserialize.deserializeSubmodelElementCollection(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testSubmodelElementCollectionDeserializationFromNonObjectFail + + @Test + public void testSubmodelElementCollectionDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("SubmodelElementCollection"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementCollection for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final SubmodelElementCollection var = + Jsonization.Deserialize.deserializeSubmodelElementCollection(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelElementCollectionDeserializationFail + + @Test + public void testSubmodelElementCollectionVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("SubmodelElementCollection"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementCollection for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final SubmodelElementCollection instance = + Jsonization.Deserialize.deserializeSubmodelElementCollection(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelElementCollectionVerificationFail + + @Test + public void testPropertyOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Property"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Property instance = Jsonization.Deserialize.deserializeProperty(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testPropertyOk + + @Test + public void testPropertyDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Property unused = Jsonization.Deserialize.deserializeProperty(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testPropertyDeserializationFromNonObjectFail + + @Test + public void testPropertyDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Property"); + + if (!Files.exists(clsDir)) { + // No examples of Property for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Property var = Jsonization.Deserialize.deserializeProperty(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testPropertyDeserializationFail + + @Test + public void testPropertyVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Property"); + + if (!Files.exists(clsDir)) { + // No examples of Property for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Property instance = Jsonization.Deserialize.deserializeProperty(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testPropertyVerificationFail + + @Test + public void testMultiLanguagePropertyOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "MultiLanguageProperty"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final MultiLanguageProperty instance = + Jsonization.Deserialize.deserializeMultiLanguageProperty(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testMultiLanguagePropertyOk + + @Test + public void testMultiLanguagePropertyDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final MultiLanguageProperty unused = + Jsonization.Deserialize.deserializeMultiLanguageProperty(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testMultiLanguagePropertyDeserializationFromNonObjectFail + + @Test + public void testMultiLanguagePropertyDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("MultiLanguageProperty"); + + if (!Files.exists(clsDir)) { + // No examples of MultiLanguageProperty for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final MultiLanguageProperty var = + Jsonization.Deserialize.deserializeMultiLanguageProperty(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testMultiLanguagePropertyDeserializationFail + + @Test + public void testMultiLanguagePropertyVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("MultiLanguageProperty"); + + if (!Files.exists(clsDir)) { + // No examples of MultiLanguageProperty for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final MultiLanguageProperty instance = + Jsonization.Deserialize.deserializeMultiLanguageProperty(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testMultiLanguagePropertyVerificationFail + + @Test + public void testRangeOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Range"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Range instance = Jsonization.Deserialize.deserializeRange(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testRangeOk + + @Test + public void testRangeDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Range unused = Jsonization.Deserialize.deserializeRange(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testRangeDeserializationFromNonObjectFail + + @Test + public void testRangeDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Range"); + + if (!Files.exists(clsDir)) { + // No examples of Range for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Range var = Jsonization.Deserialize.deserializeRange(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testRangeDeserializationFail + + @Test + public void testRangeVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Range"); + + if (!Files.exists(clsDir)) { + // No examples of Range for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Range instance = Jsonization.Deserialize.deserializeRange(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testRangeVerificationFail + + @Test + public void testReferenceElementOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ReferenceElement"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final ReferenceElement instance = Jsonization.Deserialize.deserializeReferenceElement(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testReferenceElementOk + + @Test + public void testReferenceElementDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final ReferenceElement unused = Jsonization.Deserialize.deserializeReferenceElement(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testReferenceElementDeserializationFromNonObjectFail + + @Test + public void testReferenceElementDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("ReferenceElement"); + + if (!Files.exists(clsDir)) { + // No examples of ReferenceElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final ReferenceElement var = Jsonization.Deserialize.deserializeReferenceElement(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testReferenceElementDeserializationFail + + @Test + public void testReferenceElementVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("ReferenceElement"); + + if (!Files.exists(clsDir)) { + // No examples of ReferenceElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final ReferenceElement instance = Jsonization.Deserialize.deserializeReferenceElement(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testReferenceElementVerificationFail + + @Test + public void testBlobOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Blob"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Blob instance = Jsonization.Deserialize.deserializeBlob(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testBlobOk + + @Test + public void testBlobDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Blob unused = Jsonization.Deserialize.deserializeBlob(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testBlobDeserializationFromNonObjectFail + + @Test + public void testBlobDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Blob"); + + if (!Files.exists(clsDir)) { + // No examples of Blob for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Blob var = Jsonization.Deserialize.deserializeBlob(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBlobDeserializationFail + + @Test + public void testBlobVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Blob"); + + if (!Files.exists(clsDir)) { + // No examples of Blob for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Blob instance = Jsonization.Deserialize.deserializeBlob(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBlobVerificationFail + + @Test + public void testFileOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "File"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final File instance = Jsonization.Deserialize.deserializeFile(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testFileOk + + @Test + public void testFileDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final File unused = Jsonization.Deserialize.deserializeFile(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testFileDeserializationFromNonObjectFail + + @Test + public void testFileDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("File"); + + if (!Files.exists(clsDir)) { + // No examples of File for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final File var = Jsonization.Deserialize.deserializeFile(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testFileDeserializationFail + + @Test + public void testFileVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("File"); + + if (!Files.exists(clsDir)) { + // No examples of File for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final File instance = Jsonization.Deserialize.deserializeFile(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testFileVerificationFail + + @Test + public void testAnnotatedRelationshipElementOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AnnotatedRelationshipElement"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final AnnotatedRelationshipElement instance = + Jsonization.Deserialize.deserializeAnnotatedRelationshipElement(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testAnnotatedRelationshipElementOk + + @Test + public void testAnnotatedRelationshipElementDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final AnnotatedRelationshipElement unused = + Jsonization.Deserialize.deserializeAnnotatedRelationshipElement(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testAnnotatedRelationshipElementDeserializationFromNonObjectFail + + @Test + public void testAnnotatedRelationshipElementDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("AnnotatedRelationshipElement"); + + if (!Files.exists(clsDir)) { + // No examples of AnnotatedRelationshipElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final AnnotatedRelationshipElement var = + Jsonization.Deserialize.deserializeAnnotatedRelationshipElement(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAnnotatedRelationshipElementDeserializationFail + + @Test + public void testAnnotatedRelationshipElementVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("AnnotatedRelationshipElement"); + + if (!Files.exists(clsDir)) { + // No examples of AnnotatedRelationshipElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final AnnotatedRelationshipElement instance = + Jsonization.Deserialize.deserializeAnnotatedRelationshipElement(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAnnotatedRelationshipElementVerificationFail + + @Test + public void testEntityOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Entity"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Entity instance = Jsonization.Deserialize.deserializeEntity(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testEntityOk + + @Test + public void testEntityDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Entity unused = Jsonization.Deserialize.deserializeEntity(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testEntityDeserializationFromNonObjectFail + + @Test + public void testEntityDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Entity"); + + if (!Files.exists(clsDir)) { + // No examples of Entity for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Entity var = Jsonization.Deserialize.deserializeEntity(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEntityDeserializationFail + + @Test + public void testEntityVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Entity"); + + if (!Files.exists(clsDir)) { + // No examples of Entity for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Entity instance = Jsonization.Deserialize.deserializeEntity(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEntityVerificationFail + + @Test + public void testEventPayloadOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "EventPayload"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final EventPayload instance = Jsonization.Deserialize.deserializeEventPayload(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testEventPayloadOk + + @Test + public void testEventPayloadDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final EventPayload unused = Jsonization.Deserialize.deserializeEventPayload(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testEventPayloadDeserializationFromNonObjectFail + + @Test + public void testEventPayloadDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("EventPayload"); + + if (!Files.exists(clsDir)) { + // No examples of EventPayload for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final EventPayload var = Jsonization.Deserialize.deserializeEventPayload(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEventPayloadDeserializationFail + + @Test + public void testEventPayloadVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("EventPayload"); + + if (!Files.exists(clsDir)) { + // No examples of EventPayload for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final EventPayload instance = Jsonization.Deserialize.deserializeEventPayload(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEventPayloadVerificationFail + + @Test + public void testBasicEventElementOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BasicEventElement"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final BasicEventElement instance = Jsonization.Deserialize.deserializeBasicEventElement(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testBasicEventElementOk + + @Test + public void testBasicEventElementDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final BasicEventElement unused = Jsonization.Deserialize.deserializeBasicEventElement(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testBasicEventElementDeserializationFromNonObjectFail + + @Test + public void testBasicEventElementDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("BasicEventElement"); + + if (!Files.exists(clsDir)) { + // No examples of BasicEventElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final BasicEventElement var = Jsonization.Deserialize.deserializeBasicEventElement(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBasicEventElementDeserializationFail + + @Test + public void testBasicEventElementVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("BasicEventElement"); + + if (!Files.exists(clsDir)) { + // No examples of BasicEventElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final BasicEventElement instance = + Jsonization.Deserialize.deserializeBasicEventElement(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBasicEventElementVerificationFail + + @Test + public void testOperationOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Operation"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Operation instance = Jsonization.Deserialize.deserializeOperation(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testOperationOk + + @Test + public void testOperationDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Operation unused = Jsonization.Deserialize.deserializeOperation(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testOperationDeserializationFromNonObjectFail + + @Test + public void testOperationDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Operation"); + + if (!Files.exists(clsDir)) { + // No examples of Operation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Operation var = Jsonization.Deserialize.deserializeOperation(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationDeserializationFail + + @Test + public void testOperationVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Operation"); + + if (!Files.exists(clsDir)) { + // No examples of Operation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Operation instance = Jsonization.Deserialize.deserializeOperation(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationVerificationFail + + @Test + public void testOperationVariableOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationVariable"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final OperationVariable instance = Jsonization.Deserialize.deserializeOperationVariable(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testOperationVariableOk + + @Test + public void testOperationVariableDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final OperationVariable unused = Jsonization.Deserialize.deserializeOperationVariable(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testOperationVariableDeserializationFromNonObjectFail + + @Test + public void testOperationVariableDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("OperationVariable"); + + if (!Files.exists(clsDir)) { + // No examples of OperationVariable for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final OperationVariable var = Jsonization.Deserialize.deserializeOperationVariable(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationVariableDeserializationFail + + @Test + public void testOperationVariableVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("OperationVariable"); + + if (!Files.exists(clsDir)) { + // No examples of OperationVariable for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final OperationVariable instance = + Jsonization.Deserialize.deserializeOperationVariable(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationVariableVerificationFail + + @Test + public void testCapabilityOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Capability"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Capability instance = Jsonization.Deserialize.deserializeCapability(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testCapabilityOk + + @Test + public void testCapabilityDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Capability unused = Jsonization.Deserialize.deserializeCapability(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testCapabilityDeserializationFromNonObjectFail + + @Test + public void testCapabilityDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Capability"); + + if (!Files.exists(clsDir)) { + // No examples of Capability for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Capability var = Jsonization.Deserialize.deserializeCapability(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testCapabilityDeserializationFail + + @Test + public void testCapabilityVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Capability"); + + if (!Files.exists(clsDir)) { + // No examples of Capability for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Capability instance = Jsonization.Deserialize.deserializeCapability(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testCapabilityVerificationFail + + @Test + public void testConceptDescriptionOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ConceptDescription"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final ConceptDescription instance = + Jsonization.Deserialize.deserializeConceptDescription(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testConceptDescriptionOk + + @Test + public void testConceptDescriptionDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final ConceptDescription unused = Jsonization.Deserialize.deserializeConceptDescription(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testConceptDescriptionDeserializationFromNonObjectFail + + @Test + public void testConceptDescriptionDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("ConceptDescription"); + + if (!Files.exists(clsDir)) { + // No examples of ConceptDescription for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final ConceptDescription var = + Jsonization.Deserialize.deserializeConceptDescription(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testConceptDescriptionDeserializationFail + + @Test + public void testConceptDescriptionVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("ConceptDescription"); + + if (!Files.exists(clsDir)) { + // No examples of ConceptDescription for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final ConceptDescription instance = + Jsonization.Deserialize.deserializeConceptDescription(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testConceptDescriptionVerificationFail + + @Test + public void testReferenceOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Reference"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Reference instance = Jsonization.Deserialize.deserializeReference(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testReferenceOk + + @Test + public void testReferenceDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Reference unused = Jsonization.Deserialize.deserializeReference(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testReferenceDeserializationFromNonObjectFail + + @Test + public void testReferenceDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Reference"); + + if (!Files.exists(clsDir)) { + // No examples of Reference for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Reference var = Jsonization.Deserialize.deserializeReference(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testReferenceDeserializationFail + + @Test + public void testReferenceVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Reference"); + + if (!Files.exists(clsDir)) { + // No examples of Reference for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Reference instance = Jsonization.Deserialize.deserializeReference(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testReferenceVerificationFail + + @Test + public void testKeyOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Key"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Key instance = Jsonization.Deserialize.deserializeKey(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testKeyOk + + @Test + public void testKeyDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Key unused = Jsonization.Deserialize.deserializeKey(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testKeyDeserializationFromNonObjectFail + + @Test + public void testKeyDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Key"); + + if (!Files.exists(clsDir)) { + // No examples of Key for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Key var = Jsonization.Deserialize.deserializeKey(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testKeyDeserializationFail + + @Test + public void testKeyVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Key"); + + if (!Files.exists(clsDir)) { + // No examples of Key for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Key instance = Jsonization.Deserialize.deserializeKey(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testKeyVerificationFail + + @Test + public void testLangStringNameTypeOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LangStringNameType"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final LangStringNameType instance = + Jsonization.Deserialize.deserializeLangStringNameType(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testLangStringNameTypeOk + + @Test + public void testLangStringNameTypeDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final LangStringNameType unused = Jsonization.Deserialize.deserializeLangStringNameType(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testLangStringNameTypeDeserializationFromNonObjectFail + + @Test + public void testLangStringNameTypeDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("LangStringNameType"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringNameType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final LangStringNameType var = + Jsonization.Deserialize.deserializeLangStringNameType(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringNameTypeDeserializationFail + + @Test + public void testLangStringNameTypeVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("LangStringNameType"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringNameType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final LangStringNameType instance = + Jsonization.Deserialize.deserializeLangStringNameType(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringNameTypeVerificationFail + + @Test + public void testLangStringTextTypeOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LangStringTextType"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final LangStringTextType instance = + Jsonization.Deserialize.deserializeLangStringTextType(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testLangStringTextTypeOk + + @Test + public void testLangStringTextTypeDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final LangStringTextType unused = Jsonization.Deserialize.deserializeLangStringTextType(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testLangStringTextTypeDeserializationFromNonObjectFail + + @Test + public void testLangStringTextTypeDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("LangStringTextType"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringTextType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final LangStringTextType var = + Jsonization.Deserialize.deserializeLangStringTextType(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringTextTypeDeserializationFail + + @Test + public void testLangStringTextTypeVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("LangStringTextType"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringTextType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final LangStringTextType instance = + Jsonization.Deserialize.deserializeLangStringTextType(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringTextTypeVerificationFail + + @Test + public void testEnvironmentOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Environment"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Environment instance = Jsonization.Deserialize.deserializeEnvironment(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testEnvironmentOk + + @Test + public void testEnvironmentDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Environment unused = Jsonization.Deserialize.deserializeEnvironment(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testEnvironmentDeserializationFromNonObjectFail + + @Test + public void testEnvironmentDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Environment"); + + if (!Files.exists(clsDir)) { + // No examples of Environment for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Environment var = Jsonization.Deserialize.deserializeEnvironment(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEnvironmentDeserializationFail + + @Test + public void testEnvironmentVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Environment"); + + if (!Files.exists(clsDir)) { + // No examples of Environment for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Environment instance = Jsonization.Deserialize.deserializeEnvironment(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEnvironmentVerificationFail + + @Test + public void testEmbeddedDataSpecificationOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "EmbeddedDataSpecification"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final EmbeddedDataSpecification instance = + Jsonization.Deserialize.deserializeEmbeddedDataSpecification(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testEmbeddedDataSpecificationOk + + @Test + public void testEmbeddedDataSpecificationDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final EmbeddedDataSpecification unused = + Jsonization.Deserialize.deserializeEmbeddedDataSpecification(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testEmbeddedDataSpecificationDeserializationFromNonObjectFail + + @Test + public void testEmbeddedDataSpecificationDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("EmbeddedDataSpecification"); + + if (!Files.exists(clsDir)) { + // No examples of EmbeddedDataSpecification for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final EmbeddedDataSpecification var = + Jsonization.Deserialize.deserializeEmbeddedDataSpecification(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEmbeddedDataSpecificationDeserializationFail + + @Test + public void testEmbeddedDataSpecificationVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("EmbeddedDataSpecification"); + + if (!Files.exists(clsDir)) { + // No examples of EmbeddedDataSpecification for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final EmbeddedDataSpecification instance = + Jsonization.Deserialize.deserializeEmbeddedDataSpecification(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEmbeddedDataSpecificationVerificationFail + + @Test + public void testLevelTypeOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LevelType"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final LevelType instance = Jsonization.Deserialize.deserializeLevelType(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testLevelTypeOk + + @Test + public void testLevelTypeDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final LevelType unused = Jsonization.Deserialize.deserializeLevelType(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testLevelTypeDeserializationFromNonObjectFail + + @Test + public void testLevelTypeDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("LevelType"); + + if (!Files.exists(clsDir)) { + // No examples of LevelType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final LevelType var = Jsonization.Deserialize.deserializeLevelType(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLevelTypeDeserializationFail + + @Test + public void testLevelTypeVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("LevelType"); + + if (!Files.exists(clsDir)) { + // No examples of LevelType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final LevelType instance = Jsonization.Deserialize.deserializeLevelType(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLevelTypeVerificationFail + + @Test + public void testValueReferencePairOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ValueReferencePair"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final ValueReferencePair instance = + Jsonization.Deserialize.deserializeValueReferencePair(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testValueReferencePairOk + + @Test + public void testValueReferencePairDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final ValueReferencePair unused = Jsonization.Deserialize.deserializeValueReferencePair(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testValueReferencePairDeserializationFromNonObjectFail + + @Test + public void testValueReferencePairDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("ValueReferencePair"); + + if (!Files.exists(clsDir)) { + // No examples of ValueReferencePair for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final ValueReferencePair var = + Jsonization.Deserialize.deserializeValueReferencePair(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testValueReferencePairDeserializationFail + + @Test + public void testValueReferencePairVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("ValueReferencePair"); + + if (!Files.exists(clsDir)) { + // No examples of ValueReferencePair for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final ValueReferencePair instance = + Jsonization.Deserialize.deserializeValueReferencePair(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testValueReferencePairVerificationFail + + @Test + public void testValueListOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ValueList"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final ValueList instance = Jsonization.Deserialize.deserializeValueList(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testValueListOk + + @Test + public void testValueListDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final ValueList unused = Jsonization.Deserialize.deserializeValueList(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testValueListDeserializationFromNonObjectFail + + @Test + public void testValueListDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("ValueList"); + + if (!Files.exists(clsDir)) { + // No examples of ValueList for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final ValueList var = Jsonization.Deserialize.deserializeValueList(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testValueListDeserializationFail + + @Test + public void testValueListVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("ValueList"); + + if (!Files.exists(clsDir)) { + // No examples of ValueList for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final ValueList instance = Jsonization.Deserialize.deserializeValueList(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testValueListVerificationFail + + @Test + public void testLangStringPreferredNameTypeIec61360Ok() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LangStringPreferredNameTypeIec61360"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final LangStringPreferredNameTypeIec61360 instance = + Jsonization.Deserialize.deserializeLangStringPreferredNameTypeIec61360(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testLangStringPreferredNameTypeIec61360Ok + + @Test + public void testLangStringPreferredNameTypeIec61360DeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final LangStringPreferredNameTypeIec61360 unused = + Jsonization.Deserialize.deserializeLangStringPreferredNameTypeIec61360(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testLangStringPreferredNameTypeIec61360DeserializationFromNonObjectFail + + @Test + public void testLangStringPreferredNameTypeIec61360DeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("LangStringPreferredNameTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringPreferredNameTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final LangStringPreferredNameTypeIec61360 var = + Jsonization.Deserialize.deserializeLangStringPreferredNameTypeIec61360(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringPreferredNameTypeIec61360DeserializationFail + + @Test + public void testLangStringPreferredNameTypeIec61360VerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("LangStringPreferredNameTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringPreferredNameTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final LangStringPreferredNameTypeIec61360 instance = + Jsonization.Deserialize.deserializeLangStringPreferredNameTypeIec61360(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringPreferredNameTypeIec61360VerificationFail + + @Test + public void testLangStringShortNameTypeIec61360Ok() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LangStringShortNameTypeIec61360"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final LangStringShortNameTypeIec61360 instance = + Jsonization.Deserialize.deserializeLangStringShortNameTypeIec61360(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testLangStringShortNameTypeIec61360Ok + + @Test + public void testLangStringShortNameTypeIec61360DeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final LangStringShortNameTypeIec61360 unused = + Jsonization.Deserialize.deserializeLangStringShortNameTypeIec61360(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testLangStringShortNameTypeIec61360DeserializationFromNonObjectFail + + @Test + public void testLangStringShortNameTypeIec61360DeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("LangStringShortNameTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringShortNameTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final LangStringShortNameTypeIec61360 var = + Jsonization.Deserialize.deserializeLangStringShortNameTypeIec61360(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringShortNameTypeIec61360DeserializationFail + + @Test + public void testLangStringShortNameTypeIec61360VerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("LangStringShortNameTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringShortNameTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final LangStringShortNameTypeIec61360 instance = + Jsonization.Deserialize.deserializeLangStringShortNameTypeIec61360(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringShortNameTypeIec61360VerificationFail + + @Test + public void testLangStringDefinitionTypeIec61360Ok() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LangStringDefinitionTypeIec61360"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final LangStringDefinitionTypeIec61360 instance = + Jsonization.Deserialize.deserializeLangStringDefinitionTypeIec61360(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testLangStringDefinitionTypeIec61360Ok + + @Test + public void testLangStringDefinitionTypeIec61360DeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final LangStringDefinitionTypeIec61360 unused = + Jsonization.Deserialize.deserializeLangStringDefinitionTypeIec61360(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testLangStringDefinitionTypeIec61360DeserializationFromNonObjectFail + + @Test + public void testLangStringDefinitionTypeIec61360DeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("LangStringDefinitionTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringDefinitionTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final LangStringDefinitionTypeIec61360 var = + Jsonization.Deserialize.deserializeLangStringDefinitionTypeIec61360(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringDefinitionTypeIec61360DeserializationFail + + @Test + public void testLangStringDefinitionTypeIec61360VerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("LangStringDefinitionTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringDefinitionTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final LangStringDefinitionTypeIec61360 instance = + Jsonization.Deserialize.deserializeLangStringDefinitionTypeIec61360(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringDefinitionTypeIec61360VerificationFail + + @Test + public void testLangStringUomOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LangStringUom"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final LangStringUom instance = Jsonization.Deserialize.deserializeLangStringUom(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testLangStringUomOk + + @Test + public void testLangStringUomDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final LangStringUom unused = Jsonization.Deserialize.deserializeLangStringUom(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testLangStringUomDeserializationFromNonObjectFail + + @Test + public void testLangStringUomDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("LangStringUom"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringUom for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final LangStringUom var = Jsonization.Deserialize.deserializeLangStringUom(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringUomDeserializationFail + + @Test + public void testLangStringUomVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("LangStringUom"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringUom for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final LangStringUom instance = Jsonization.Deserialize.deserializeLangStringUom(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringUomVerificationFail + + @Test + public void testDefinitionTypeUomOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DefinitionTypeUom"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final DefinitionTypeUom instance = Jsonization.Deserialize.deserializeDefinitionTypeUom(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testDefinitionTypeUomOk + + @Test + public void testDefinitionTypeUomDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final DefinitionTypeUom unused = Jsonization.Deserialize.deserializeDefinitionTypeUom(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testDefinitionTypeUomDeserializationFromNonObjectFail + + @Test + public void testDefinitionTypeUomDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("DefinitionTypeUom"); + + if (!Files.exists(clsDir)) { + // No examples of DefinitionTypeUom for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final DefinitionTypeUom var = Jsonization.Deserialize.deserializeDefinitionTypeUom(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testDefinitionTypeUomDeserializationFail + + @Test + public void testDefinitionTypeUomVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("DefinitionTypeUom"); + + if (!Files.exists(clsDir)) { + // No examples of DefinitionTypeUom for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final DefinitionTypeUom instance = + Jsonization.Deserialize.deserializeDefinitionTypeUom(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testDefinitionTypeUomVerificationFail + + @Test + public void testDataSpecificationUomOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DataSpecificationUom"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final DataSpecificationUom instance = + Jsonization.Deserialize.deserializeDataSpecificationUom(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testDataSpecificationUomOk + + @Test + public void testDataSpecificationUomDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final DataSpecificationUom unused = + Jsonization.Deserialize.deserializeDataSpecificationUom(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testDataSpecificationUomDeserializationFromNonObjectFail + + @Test + public void testDataSpecificationUomDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("DataSpecificationUom"); + + if (!Files.exists(clsDir)) { + // No examples of DataSpecificationUom for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final DataSpecificationUom var = + Jsonization.Deserialize.deserializeDataSpecificationUom(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testDataSpecificationUomDeserializationFail + + @Test + public void testDataSpecificationUomVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("DataSpecificationUom"); + + if (!Files.exists(clsDir)) { + // No examples of DataSpecificationUom for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final DataSpecificationUom instance = + Jsonization.Deserialize.deserializeDataSpecificationUom(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testDataSpecificationUomVerificationFail + + @Test + public void testDataSpecificationIec61360Ok() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DataSpecificationIec61360"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final DataSpecificationIec61360 instance = + Jsonization.Deserialize.deserializeDataSpecificationIec61360(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testDataSpecificationIec61360Ok + + @Test + public void testDataSpecificationIec61360DeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final DataSpecificationIec61360 unused = + Jsonization.Deserialize.deserializeDataSpecificationIec61360(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testDataSpecificationIec61360DeserializationFromNonObjectFail + + @Test + public void testDataSpecificationIec61360DeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("DataSpecificationIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of DataSpecificationIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final DataSpecificationIec61360 var = + Jsonization.Deserialize.deserializeDataSpecificationIec61360(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testDataSpecificationIec61360DeserializationFail + + @Test + public void testDataSpecificationIec61360VerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("DataSpecificationIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of DataSpecificationIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final DataSpecificationIec61360 instance = + Jsonization.Deserialize.deserializeDataSpecificationIec61360(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testDataSpecificationIec61360VerificationFail + + @Test + public void testAssetAdministrationShellDescriptorOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AssetAdministrationShellDescriptor"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final AssetAdministrationShellDescriptor instance = + Jsonization.Deserialize.deserializeAssetAdministrationShellDescriptor(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testAssetAdministrationShellDescriptorOk + + @Test + public void testAssetAdministrationShellDescriptorDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final AssetAdministrationShellDescriptor unused = + Jsonization.Deserialize.deserializeAssetAdministrationShellDescriptor(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testAssetAdministrationShellDescriptorDeserializationFromNonObjectFail + + @Test + public void testAssetAdministrationShellDescriptorDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("AssetAdministrationShellDescriptor"); + + if (!Files.exists(clsDir)) { + // No examples of AssetAdministrationShellDescriptor for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final AssetAdministrationShellDescriptor var = + Jsonization.Deserialize.deserializeAssetAdministrationShellDescriptor(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAssetAdministrationShellDescriptorDeserializationFail + + @Test + public void testAssetAdministrationShellDescriptorVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("AssetAdministrationShellDescriptor"); + + if (!Files.exists(clsDir)) { + // No examples of AssetAdministrationShellDescriptor for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final AssetAdministrationShellDescriptor instance = + Jsonization.Deserialize.deserializeAssetAdministrationShellDescriptor(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAssetAdministrationShellDescriptorVerificationFail + + @Test + public void testSubmodelDescriptorOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelDescriptor"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final SubmodelDescriptor instance = + Jsonization.Deserialize.deserializeSubmodelDescriptor(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testSubmodelDescriptorOk + + @Test + public void testSubmodelDescriptorDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final SubmodelDescriptor unused = Jsonization.Deserialize.deserializeSubmodelDescriptor(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testSubmodelDescriptorDeserializationFromNonObjectFail + + @Test + public void testSubmodelDescriptorDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("SubmodelDescriptor"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelDescriptor for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final SubmodelDescriptor var = + Jsonization.Deserialize.deserializeSubmodelDescriptor(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelDescriptorDeserializationFail + + @Test + public void testSubmodelDescriptorVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("SubmodelDescriptor"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelDescriptor for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final SubmodelDescriptor instance = + Jsonization.Deserialize.deserializeSubmodelDescriptor(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelDescriptorVerificationFail + + @Test + public void testEndpointOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Endpoint"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Endpoint instance = Jsonization.Deserialize.deserializeEndpoint(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testEndpointOk + + @Test + public void testEndpointDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Endpoint unused = Jsonization.Deserialize.deserializeEndpoint(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testEndpointDeserializationFromNonObjectFail + + @Test + public void testEndpointDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Endpoint"); + + if (!Files.exists(clsDir)) { + // No examples of Endpoint for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Endpoint var = Jsonization.Deserialize.deserializeEndpoint(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEndpointDeserializationFail + + @Test + public void testEndpointVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Endpoint"); + + if (!Files.exists(clsDir)) { + // No examples of Endpoint for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Endpoint instance = Jsonization.Deserialize.deserializeEndpoint(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEndpointVerificationFail + + @Test + public void testProtocolInformationOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ProtocolInformation"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final ProtocolInformation instance = + Jsonization.Deserialize.deserializeProtocolInformation(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testProtocolInformationOk + + @Test + public void testProtocolInformationDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final ProtocolInformation unused = + Jsonization.Deserialize.deserializeProtocolInformation(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testProtocolInformationDeserializationFromNonObjectFail + + @Test + public void testProtocolInformationDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("ProtocolInformation"); + + if (!Files.exists(clsDir)) { + // No examples of ProtocolInformation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final ProtocolInformation var = + Jsonization.Deserialize.deserializeProtocolInformation(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testProtocolInformationDeserializationFail + + @Test + public void testProtocolInformationVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("ProtocolInformation"); + + if (!Files.exists(clsDir)) { + // No examples of ProtocolInformation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final ProtocolInformation instance = + Jsonization.Deserialize.deserializeProtocolInformation(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testProtocolInformationVerificationFail + + @Test + public void testSecurityAttributeObjectOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SecurityAttributeObject"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final SecurityAttributeObject instance = + Jsonization.Deserialize.deserializeSecurityAttributeObject(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testSecurityAttributeObjectOk + + @Test + public void testSecurityAttributeObjectDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final SecurityAttributeObject unused = + Jsonization.Deserialize.deserializeSecurityAttributeObject(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testSecurityAttributeObjectDeserializationFromNonObjectFail + + @Test + public void testSecurityAttributeObjectDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("SecurityAttributeObject"); + + if (!Files.exists(clsDir)) { + // No examples of SecurityAttributeObject for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final SecurityAttributeObject var = + Jsonization.Deserialize.deserializeSecurityAttributeObject(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSecurityAttributeObjectDeserializationFail + + @Test + public void testSecurityAttributeObjectVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("SecurityAttributeObject"); + + if (!Files.exists(clsDir)) { + // No examples of SecurityAttributeObject for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final SecurityAttributeObject instance = + Jsonization.Deserialize.deserializeSecurityAttributeObject(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSecurityAttributeObjectVerificationFail + + @Test + public void testAssetLinkOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AssetLink"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final AssetLink instance = Jsonization.Deserialize.deserializeAssetLink(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testAssetLinkOk + + @Test + public void testAssetLinkDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final AssetLink unused = Jsonization.Deserialize.deserializeAssetLink(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testAssetLinkDeserializationFromNonObjectFail + + @Test + public void testAssetLinkDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("AssetLink"); + + if (!Files.exists(clsDir)) { + // No examples of AssetLink for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final AssetLink var = Jsonization.Deserialize.deserializeAssetLink(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAssetLinkDeserializationFail + + @Test + public void testAssetLinkVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("AssetLink"); + + if (!Files.exists(clsDir)) { + // No examples of AssetLink for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final AssetLink instance = Jsonization.Deserialize.deserializeAssetLink(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAssetLinkVerificationFail + + @Test + public void testServiceDescriptionOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ServiceDescription"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final ServiceDescription instance = + Jsonization.Deserialize.deserializeServiceDescription(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testServiceDescriptionOk + + @Test + public void testServiceDescriptionDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final ServiceDescription unused = Jsonization.Deserialize.deserializeServiceDescription(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testServiceDescriptionDeserializationFromNonObjectFail + + @Test + public void testServiceDescriptionDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("ServiceDescription"); + + if (!Files.exists(clsDir)) { + // No examples of ServiceDescription for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final ServiceDescription var = + Jsonization.Deserialize.deserializeServiceDescription(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testServiceDescriptionDeserializationFail + + @Test + public void testServiceDescriptionVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("ServiceDescription"); + + if (!Files.exists(clsDir)) { + // No examples of ServiceDescription for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final ServiceDescription instance = + Jsonization.Deserialize.deserializeServiceDescription(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testServiceDescriptionVerificationFail + + @Test + public void testAssetAdministrationShellRecentChangeOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AssetAdministrationShellRecentChange"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final AssetAdministrationShellRecentChange instance = + Jsonization.Deserialize.deserializeAssetAdministrationShellRecentChange(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testAssetAdministrationShellRecentChangeOk + + @Test + public void testAssetAdministrationShellRecentChangeDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final AssetAdministrationShellRecentChange unused = + Jsonization.Deserialize.deserializeAssetAdministrationShellRecentChange(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testAssetAdministrationShellRecentChangeDeserializationFromNonObjectFail + + @Test + public void testAssetAdministrationShellRecentChangeDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("AssetAdministrationShellRecentChange"); + + if (!Files.exists(clsDir)) { + // No examples of AssetAdministrationShellRecentChange for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final AssetAdministrationShellRecentChange var = + Jsonization.Deserialize.deserializeAssetAdministrationShellRecentChange(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAssetAdministrationShellRecentChangeDeserializationFail + + @Test + public void testAssetAdministrationShellRecentChangeVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("AssetAdministrationShellRecentChange"); + + if (!Files.exists(clsDir)) { + // No examples of AssetAdministrationShellRecentChange for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final AssetAdministrationShellRecentChange instance = + Jsonization.Deserialize.deserializeAssetAdministrationShellRecentChange(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAssetAdministrationShellRecentChangeVerificationFail + + @Test + public void testConceptDescriptionRecentChangeOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ConceptDescriptionRecentChange"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final ConceptDescriptionRecentChange instance = + Jsonization.Deserialize.deserializeConceptDescriptionRecentChange(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testConceptDescriptionRecentChangeOk + + @Test + public void testConceptDescriptionRecentChangeDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final ConceptDescriptionRecentChange unused = + Jsonization.Deserialize.deserializeConceptDescriptionRecentChange(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testConceptDescriptionRecentChangeDeserializationFromNonObjectFail + + @Test + public void testConceptDescriptionRecentChangeDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("ConceptDescriptionRecentChange"); + + if (!Files.exists(clsDir)) { + // No examples of ConceptDescriptionRecentChange for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final ConceptDescriptionRecentChange var = + Jsonization.Deserialize.deserializeConceptDescriptionRecentChange(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testConceptDescriptionRecentChangeDeserializationFail + + @Test + public void testConceptDescriptionRecentChangeVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("ConceptDescriptionRecentChange"); + + if (!Files.exists(clsDir)) { + // No examples of ConceptDescriptionRecentChange for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final ConceptDescriptionRecentChange instance = + Jsonization.Deserialize.deserializeConceptDescriptionRecentChange(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testConceptDescriptionRecentChangeVerificationFail + + @Test + public void testSubmodelRecentChangeOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelRecentChange"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final SubmodelRecentChange instance = + Jsonization.Deserialize.deserializeSubmodelRecentChange(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testSubmodelRecentChangeOk + + @Test + public void testSubmodelRecentChangeDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final SubmodelRecentChange unused = + Jsonization.Deserialize.deserializeSubmodelRecentChange(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testSubmodelRecentChangeDeserializationFromNonObjectFail + + @Test + public void testSubmodelRecentChangeDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("SubmodelRecentChange"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelRecentChange for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final SubmodelRecentChange var = + Jsonization.Deserialize.deserializeSubmodelRecentChange(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelRecentChangeDeserializationFail + + @Test + public void testSubmodelRecentChangeVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("SubmodelRecentChange"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelRecentChange for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final SubmodelRecentChange instance = + Jsonization.Deserialize.deserializeSubmodelRecentChange(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelRecentChangeVerificationFail + + @Test + public void testResultOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Result"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Result instance = Jsonization.Deserialize.deserializeResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testResultOk + + @Test + public void testResultDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Result unused = Jsonization.Deserialize.deserializeResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testResultDeserializationFromNonObjectFail + + @Test + public void testResultDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Result"); + + if (!Files.exists(clsDir)) { + // No examples of Result for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Result var = Jsonization.Deserialize.deserializeResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testResultDeserializationFail + + @Test + public void testResultVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Result"); + + if (!Files.exists(clsDir)) { + // No examples of Result for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Result instance = Jsonization.Deserialize.deserializeResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testResultVerificationFail + + @Test + public void testMessageOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Message"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Message instance = Jsonization.Deserialize.deserializeMessage(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testMessageOk + + @Test + public void testMessageDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Message unused = Jsonization.Deserialize.deserializeMessage(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testMessageDeserializationFromNonObjectFail + + @Test + public void testMessageDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Message"); + + if (!Files.exists(clsDir)) { + // No examples of Message for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Message var = Jsonization.Deserialize.deserializeMessage(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testMessageDeserializationFail + + @Test + public void testMessageVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Message"); + + if (!Files.exists(clsDir)) { + // No examples of Message for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Message instance = Jsonization.Deserialize.deserializeMessage(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testMessageVerificationFail + + @Test + public void testOperationRequestOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationRequest"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final OperationRequest instance = Jsonization.Deserialize.deserializeOperationRequest(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testOperationRequestOk + + @Test + public void testOperationRequestDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final OperationRequest unused = Jsonization.Deserialize.deserializeOperationRequest(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testOperationRequestDeserializationFromNonObjectFail + + @Test + public void testOperationRequestDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("OperationRequest"); + + if (!Files.exists(clsDir)) { + // No examples of OperationRequest for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final OperationRequest var = Jsonization.Deserialize.deserializeOperationRequest(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationRequestDeserializationFail + + @Test + public void testOperationRequestVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("OperationRequest"); + + if (!Files.exists(clsDir)) { + // No examples of OperationRequest for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final OperationRequest instance = Jsonization.Deserialize.deserializeOperationRequest(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationRequestVerificationFail + + @Test + public void testOperationRequestAsyncOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationRequestAsync"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final OperationRequestAsync instance = + Jsonization.Deserialize.deserializeOperationRequestAsync(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testOperationRequestAsyncOk + + @Test + public void testOperationRequestAsyncDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final OperationRequestAsync unused = + Jsonization.Deserialize.deserializeOperationRequestAsync(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testOperationRequestAsyncDeserializationFromNonObjectFail + + @Test + public void testOperationRequestAsyncDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("OperationRequestAsync"); + + if (!Files.exists(clsDir)) { + // No examples of OperationRequestAsync for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final OperationRequestAsync var = + Jsonization.Deserialize.deserializeOperationRequestAsync(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationRequestAsyncDeserializationFail + + @Test + public void testOperationRequestAsyncVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("OperationRequestAsync"); + + if (!Files.exists(clsDir)) { + // No examples of OperationRequestAsync for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final OperationRequestAsync instance = + Jsonization.Deserialize.deserializeOperationRequestAsync(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationRequestAsyncVerificationFail + + @Test + public void testOperationRequestValueOnlyOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationRequestValueOnly"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final OperationRequestValueOnly instance = + Jsonization.Deserialize.deserializeOperationRequestValueOnly(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testOperationRequestValueOnlyOk + + @Test + public void testOperationRequestValueOnlyDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final OperationRequestValueOnly unused = + Jsonization.Deserialize.deserializeOperationRequestValueOnly(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testOperationRequestValueOnlyDeserializationFromNonObjectFail + + @Test + public void testOperationRequestValueOnlyDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("OperationRequestValueOnly"); + + if (!Files.exists(clsDir)) { + // No examples of OperationRequestValueOnly for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final OperationRequestValueOnly var = + Jsonization.Deserialize.deserializeOperationRequestValueOnly(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationRequestValueOnlyDeserializationFail + + @Test + public void testOperationRequestValueOnlyVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("OperationRequestValueOnly"); + + if (!Files.exists(clsDir)) { + // No examples of OperationRequestValueOnly for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final OperationRequestValueOnly instance = + Jsonization.Deserialize.deserializeOperationRequestValueOnly(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationRequestValueOnlyVerificationFail + + @Test + public void testOperationRequestAsyncValueOnlyOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationRequestAsyncValueOnly"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final OperationRequestAsyncValueOnly instance = + Jsonization.Deserialize.deserializeOperationRequestAsyncValueOnly(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testOperationRequestAsyncValueOnlyOk + + @Test + public void testOperationRequestAsyncValueOnlyDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final OperationRequestAsyncValueOnly unused = + Jsonization.Deserialize.deserializeOperationRequestAsyncValueOnly(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testOperationRequestAsyncValueOnlyDeserializationFromNonObjectFail + + @Test + public void testOperationRequestAsyncValueOnlyDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("OperationRequestAsyncValueOnly"); + + if (!Files.exists(clsDir)) { + // No examples of OperationRequestAsyncValueOnly for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final OperationRequestAsyncValueOnly var = + Jsonization.Deserialize.deserializeOperationRequestAsyncValueOnly(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationRequestAsyncValueOnlyDeserializationFail + + @Test + public void testOperationRequestAsyncValueOnlyVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("OperationRequestAsyncValueOnly"); + + if (!Files.exists(clsDir)) { + // No examples of OperationRequestAsyncValueOnly for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final OperationRequestAsyncValueOnly instance = + Jsonization.Deserialize.deserializeOperationRequestAsyncValueOnly(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationRequestAsyncValueOnlyVerificationFail + + @Test + public void testBaseOperationResultOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BaseOperationResult"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final BaseOperationResult instance = + Jsonization.Deserialize.deserializeBaseOperationResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testBaseOperationResultOk + + @Test + public void testBaseOperationResultDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final BaseOperationResult unused = + Jsonization.Deserialize.deserializeBaseOperationResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testBaseOperationResultDeserializationFromNonObjectFail + + @Test + public void testBaseOperationResultDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("BaseOperationResult"); + + if (!Files.exists(clsDir)) { + // No examples of BaseOperationResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final BaseOperationResult var = + Jsonization.Deserialize.deserializeBaseOperationResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBaseOperationResultDeserializationFail + + @Test + public void testBaseOperationResultVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("BaseOperationResult"); + + if (!Files.exists(clsDir)) { + // No examples of BaseOperationResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final BaseOperationResult instance = + Jsonization.Deserialize.deserializeBaseOperationResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBaseOperationResultVerificationFail + + @Test + public void testOperationResultOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationResult"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final OperationResult instance = Jsonization.Deserialize.deserializeOperationResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testOperationResultOk + + @Test + public void testOperationResultDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final OperationResult unused = Jsonization.Deserialize.deserializeOperationResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testOperationResultDeserializationFromNonObjectFail + + @Test + public void testOperationResultDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("OperationResult"); + + if (!Files.exists(clsDir)) { + // No examples of OperationResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final OperationResult var = Jsonization.Deserialize.deserializeOperationResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationResultDeserializationFail + + @Test + public void testOperationResultVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("OperationResult"); + + if (!Files.exists(clsDir)) { + // No examples of OperationResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final OperationResult instance = Jsonization.Deserialize.deserializeOperationResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationResultVerificationFail + + @Test + public void testOperationResultValueOnlyOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationResultValueOnly"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final OperationResultValueOnly instance = + Jsonization.Deserialize.deserializeOperationResultValueOnly(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testOperationResultValueOnlyOk + + @Test + public void testOperationResultValueOnlyDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final OperationResultValueOnly unused = + Jsonization.Deserialize.deserializeOperationResultValueOnly(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testOperationResultValueOnlyDeserializationFromNonObjectFail + + @Test + public void testOperationResultValueOnlyDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("OperationResultValueOnly"); + + if (!Files.exists(clsDir)) { + // No examples of OperationResultValueOnly for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final OperationResultValueOnly var = + Jsonization.Deserialize.deserializeOperationResultValueOnly(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationResultValueOnlyDeserializationFail + + @Test + public void testOperationResultValueOnlyVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("OperationResultValueOnly"); + + if (!Files.exists(clsDir)) { + // No examples of OperationResultValueOnly for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final OperationResultValueOnly instance = + Jsonization.Deserialize.deserializeOperationResultValueOnly(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationResultValueOnlyVerificationFail + + @Test + public void testOperationHandleOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationHandle"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final OperationHandle instance = Jsonization.Deserialize.deserializeOperationHandle(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testOperationHandleOk + + @Test + public void testOperationHandleDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final OperationHandle unused = Jsonization.Deserialize.deserializeOperationHandle(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testOperationHandleDeserializationFromNonObjectFail + + @Test + public void testOperationHandleDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("OperationHandle"); + + if (!Files.exists(clsDir)) { + // No examples of OperationHandle for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final OperationHandle var = Jsonization.Deserialize.deserializeOperationHandle(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationHandleDeserializationFail + + @Test + public void testOperationHandleVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("OperationHandle"); + + if (!Files.exists(clsDir)) { + // No examples of OperationHandle for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final OperationHandle instance = Jsonization.Deserialize.deserializeOperationHandle(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationHandleVerificationFail + + @Test + public void testPagedResultOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "PagedResult"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final PagedResult instance = Jsonization.Deserialize.deserializePagedResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testPagedResultOk + + @Test + public void testPagedResultDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final PagedResult unused = Jsonization.Deserialize.deserializePagedResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testPagedResultDeserializationFromNonObjectFail + + @Test + public void testPagedResultDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("PagedResult"); + + if (!Files.exists(clsDir)) { + // No examples of PagedResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final PagedResult var = Jsonization.Deserialize.deserializePagedResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testPagedResultDeserializationFail + + @Test + public void testPagedResultVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("PagedResult"); + + if (!Files.exists(clsDir)) { + // No examples of PagedResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final PagedResult instance = Jsonization.Deserialize.deserializePagedResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testPagedResultVerificationFail + + @Test + public void testPagingMetadataOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "PagingMetadata"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final PagingMetadata instance = Jsonization.Deserialize.deserializePagingMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testPagingMetadataOk + + @Test + public void testPagingMetadataDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final PagingMetadata unused = Jsonization.Deserialize.deserializePagingMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testPagingMetadataDeserializationFromNonObjectFail + + @Test + public void testPagingMetadataDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("PagingMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of PagingMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final PagingMetadata var = Jsonization.Deserialize.deserializePagingMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testPagingMetadataDeserializationFail + + @Test + public void testPagingMetadataVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("PagingMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of PagingMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final PagingMetadata instance = Jsonization.Deserialize.deserializePagingMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testPagingMetadataVerificationFail + + @Test + public void testPackageDescriptionOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "PackageDescription"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final PackageDescription instance = + Jsonization.Deserialize.deserializePackageDescription(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testPackageDescriptionOk + + @Test + public void testPackageDescriptionDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final PackageDescription unused = Jsonization.Deserialize.deserializePackageDescription(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testPackageDescriptionDeserializationFromNonObjectFail + + @Test + public void testPackageDescriptionDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("PackageDescription"); + + if (!Files.exists(clsDir)) { + // No examples of PackageDescription for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final PackageDescription var = + Jsonization.Deserialize.deserializePackageDescription(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testPackageDescriptionDeserializationFail + + @Test + public void testPackageDescriptionVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("PackageDescription"); + + if (!Files.exists(clsDir)) { + // No examples of PackageDescription for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final PackageDescription instance = + Jsonization.Deserialize.deserializePackageDescription(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testPackageDescriptionVerificationFail + + @Test + public void testPropertyMetadataOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "PropertyMetadata"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final PropertyMetadata instance = Jsonization.Deserialize.deserializePropertyMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testPropertyMetadataOk + + @Test + public void testPropertyMetadataDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final PropertyMetadata unused = Jsonization.Deserialize.deserializePropertyMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testPropertyMetadataDeserializationFromNonObjectFail + + @Test + public void testPropertyMetadataDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("PropertyMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of PropertyMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final PropertyMetadata var = Jsonization.Deserialize.deserializePropertyMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testPropertyMetadataDeserializationFail + + @Test + public void testPropertyMetadataVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("PropertyMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of PropertyMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final PropertyMetadata instance = Jsonization.Deserialize.deserializePropertyMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testPropertyMetadataVerificationFail + + @Test + public void testRangeMetadataOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "RangeMetadata"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final RangeMetadata instance = Jsonization.Deserialize.deserializeRangeMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testRangeMetadataOk + + @Test + public void testRangeMetadataDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final RangeMetadata unused = Jsonization.Deserialize.deserializeRangeMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testRangeMetadataDeserializationFromNonObjectFail + + @Test + public void testRangeMetadataDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("RangeMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of RangeMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final RangeMetadata var = Jsonization.Deserialize.deserializeRangeMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testRangeMetadataDeserializationFail + + @Test + public void testRangeMetadataVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("RangeMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of RangeMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final RangeMetadata instance = Jsonization.Deserialize.deserializeRangeMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testRangeMetadataVerificationFail + + @Test + public void testBlobMetadataOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BlobMetadata"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final BlobMetadata instance = Jsonization.Deserialize.deserializeBlobMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testBlobMetadataOk + + @Test + public void testBlobMetadataDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final BlobMetadata unused = Jsonization.Deserialize.deserializeBlobMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testBlobMetadataDeserializationFromNonObjectFail + + @Test + public void testBlobMetadataDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("BlobMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of BlobMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final BlobMetadata var = Jsonization.Deserialize.deserializeBlobMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBlobMetadataDeserializationFail + + @Test + public void testBlobMetadataVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("BlobMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of BlobMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final BlobMetadata instance = Jsonization.Deserialize.deserializeBlobMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBlobMetadataVerificationFail + + @Test + public void testFileMetadataOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "FileMetadata"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final FileMetadata instance = Jsonization.Deserialize.deserializeFileMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testFileMetadataOk + + @Test + public void testFileMetadataDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final FileMetadata unused = Jsonization.Deserialize.deserializeFileMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testFileMetadataDeserializationFromNonObjectFail + + @Test + public void testFileMetadataDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("FileMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of FileMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final FileMetadata var = Jsonization.Deserialize.deserializeFileMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testFileMetadataDeserializationFail + + @Test + public void testFileMetadataVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("FileMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of FileMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final FileMetadata instance = Jsonization.Deserialize.deserializeFileMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testFileMetadataVerificationFail + + @Test + public void testMultiLanguagePropertyMetadataOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "MultiLanguagePropertyMetadata"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final MultiLanguagePropertyMetadata instance = + Jsonization.Deserialize.deserializeMultiLanguagePropertyMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testMultiLanguagePropertyMetadataOk + + @Test + public void testMultiLanguagePropertyMetadataDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final MultiLanguagePropertyMetadata unused = + Jsonization.Deserialize.deserializeMultiLanguagePropertyMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testMultiLanguagePropertyMetadataDeserializationFromNonObjectFail + + @Test + public void testMultiLanguagePropertyMetadataDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("MultiLanguagePropertyMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of MultiLanguagePropertyMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final MultiLanguagePropertyMetadata var = + Jsonization.Deserialize.deserializeMultiLanguagePropertyMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testMultiLanguagePropertyMetadataDeserializationFail + + @Test + public void testMultiLanguagePropertyMetadataVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("MultiLanguagePropertyMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of MultiLanguagePropertyMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final MultiLanguagePropertyMetadata instance = + Jsonization.Deserialize.deserializeMultiLanguagePropertyMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testMultiLanguagePropertyMetadataVerificationFail + + @Test + public void testReferenceElementMetadataOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ReferenceElementMetadata"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final ReferenceElementMetadata instance = + Jsonization.Deserialize.deserializeReferenceElementMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testReferenceElementMetadataOk + + @Test + public void testReferenceElementMetadataDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final ReferenceElementMetadata unused = + Jsonization.Deserialize.deserializeReferenceElementMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testReferenceElementMetadataDeserializationFromNonObjectFail + + @Test + public void testReferenceElementMetadataDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("ReferenceElementMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of ReferenceElementMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final ReferenceElementMetadata var = + Jsonization.Deserialize.deserializeReferenceElementMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testReferenceElementMetadataDeserializationFail + + @Test + public void testReferenceElementMetadataVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("ReferenceElementMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of ReferenceElementMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final ReferenceElementMetadata instance = + Jsonization.Deserialize.deserializeReferenceElementMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testReferenceElementMetadataVerificationFail + + @Test + public void testRelationshipElementMetadataOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "RelationshipElementMetadata"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final RelationshipElementMetadata instance = + Jsonization.Deserialize.deserializeRelationshipElementMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testRelationshipElementMetadataOk + + @Test + public void testRelationshipElementMetadataDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final RelationshipElementMetadata unused = + Jsonization.Deserialize.deserializeRelationshipElementMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testRelationshipElementMetadataDeserializationFromNonObjectFail + + @Test + public void testRelationshipElementMetadataDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("RelationshipElementMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of RelationshipElementMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final RelationshipElementMetadata var = + Jsonization.Deserialize.deserializeRelationshipElementMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testRelationshipElementMetadataDeserializationFail + + @Test + public void testRelationshipElementMetadataVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("RelationshipElementMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of RelationshipElementMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final RelationshipElementMetadata instance = + Jsonization.Deserialize.deserializeRelationshipElementMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testRelationshipElementMetadataVerificationFail + + @Test + public void testAnnotatedRelationshipElementMetadataOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AnnotatedRelationshipElementMetadata"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final AnnotatedRelationshipElementMetadata instance = + Jsonization.Deserialize.deserializeAnnotatedRelationshipElementMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testAnnotatedRelationshipElementMetadataOk + + @Test + public void testAnnotatedRelationshipElementMetadataDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final AnnotatedRelationshipElementMetadata unused = + Jsonization.Deserialize.deserializeAnnotatedRelationshipElementMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testAnnotatedRelationshipElementMetadataDeserializationFromNonObjectFail + + @Test + public void testAnnotatedRelationshipElementMetadataDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("AnnotatedRelationshipElementMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of AnnotatedRelationshipElementMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final AnnotatedRelationshipElementMetadata var = + Jsonization.Deserialize.deserializeAnnotatedRelationshipElementMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAnnotatedRelationshipElementMetadataDeserializationFail + + @Test + public void testAnnotatedRelationshipElementMetadataVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("AnnotatedRelationshipElementMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of AnnotatedRelationshipElementMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final AnnotatedRelationshipElementMetadata instance = + Jsonization.Deserialize.deserializeAnnotatedRelationshipElementMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAnnotatedRelationshipElementMetadataVerificationFail + + @Test + public void testEntityMetadataOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "EntityMetadata"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final EntityMetadata instance = Jsonization.Deserialize.deserializeEntityMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testEntityMetadataOk + + @Test + public void testEntityMetadataDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final EntityMetadata unused = Jsonization.Deserialize.deserializeEntityMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testEntityMetadataDeserializationFromNonObjectFail + + @Test + public void testEntityMetadataDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("EntityMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of EntityMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final EntityMetadata var = Jsonization.Deserialize.deserializeEntityMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEntityMetadataDeserializationFail + + @Test + public void testEntityMetadataVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("EntityMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of EntityMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final EntityMetadata instance = Jsonization.Deserialize.deserializeEntityMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEntityMetadataVerificationFail + + @Test + public void testCapabilityMetadataOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "CapabilityMetadata"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final CapabilityMetadata instance = + Jsonization.Deserialize.deserializeCapabilityMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testCapabilityMetadataOk + + @Test + public void testCapabilityMetadataDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final CapabilityMetadata unused = Jsonization.Deserialize.deserializeCapabilityMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testCapabilityMetadataDeserializationFromNonObjectFail + + @Test + public void testCapabilityMetadataDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("CapabilityMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of CapabilityMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final CapabilityMetadata var = + Jsonization.Deserialize.deserializeCapabilityMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testCapabilityMetadataDeserializationFail + + @Test + public void testCapabilityMetadataVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("CapabilityMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of CapabilityMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final CapabilityMetadata instance = + Jsonization.Deserialize.deserializeCapabilityMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testCapabilityMetadataVerificationFail + + @Test + public void testOperationMetadataOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationMetadata"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final OperationMetadata instance = Jsonization.Deserialize.deserializeOperationMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testOperationMetadataOk + + @Test + public void testOperationMetadataDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final OperationMetadata unused = Jsonization.Deserialize.deserializeOperationMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testOperationMetadataDeserializationFromNonObjectFail + + @Test + public void testOperationMetadataDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("OperationMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of OperationMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final OperationMetadata var = Jsonization.Deserialize.deserializeOperationMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationMetadataDeserializationFail + + @Test + public void testOperationMetadataVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("OperationMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of OperationMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final OperationMetadata instance = + Jsonization.Deserialize.deserializeOperationMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationMetadataVerificationFail + + @Test + public void testSubmodelElementCollectionMetadataOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelElementCollectionMetadata"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final SubmodelElementCollectionMetadata instance = + Jsonization.Deserialize.deserializeSubmodelElementCollectionMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testSubmodelElementCollectionMetadataOk + + @Test + public void testSubmodelElementCollectionMetadataDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final SubmodelElementCollectionMetadata unused = + Jsonization.Deserialize.deserializeSubmodelElementCollectionMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testSubmodelElementCollectionMetadataDeserializationFromNonObjectFail + + @Test + public void testSubmodelElementCollectionMetadataDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("SubmodelElementCollectionMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementCollectionMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final SubmodelElementCollectionMetadata var = + Jsonization.Deserialize.deserializeSubmodelElementCollectionMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelElementCollectionMetadataDeserializationFail + + @Test + public void testSubmodelElementCollectionMetadataVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("SubmodelElementCollectionMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementCollectionMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final SubmodelElementCollectionMetadata instance = + Jsonization.Deserialize.deserializeSubmodelElementCollectionMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelElementCollectionMetadataVerificationFail + + @Test + public void testBasicEventElementMetadataOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BasicEventElementMetadata"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final BasicEventElementMetadata instance = + Jsonization.Deserialize.deserializeBasicEventElementMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testBasicEventElementMetadataOk + + @Test + public void testBasicEventElementMetadataDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final BasicEventElementMetadata unused = + Jsonization.Deserialize.deserializeBasicEventElementMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testBasicEventElementMetadataDeserializationFromNonObjectFail + + @Test + public void testBasicEventElementMetadataDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("BasicEventElementMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of BasicEventElementMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final BasicEventElementMetadata var = + Jsonization.Deserialize.deserializeBasicEventElementMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBasicEventElementMetadataDeserializationFail + + @Test + public void testBasicEventElementMetadataVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("BasicEventElementMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of BasicEventElementMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final BasicEventElementMetadata instance = + Jsonization.Deserialize.deserializeBasicEventElementMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBasicEventElementMetadataVerificationFail + + @Test + public void testSubmodelElementListMetadataOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelElementListMetadata"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final SubmodelElementListMetadata instance = + Jsonization.Deserialize.deserializeSubmodelElementListMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testSubmodelElementListMetadataOk + + @Test + public void testSubmodelElementListMetadataDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final SubmodelElementListMetadata unused = + Jsonization.Deserialize.deserializeSubmodelElementListMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testSubmodelElementListMetadataDeserializationFromNonObjectFail + + @Test + public void testSubmodelElementListMetadataDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("SubmodelElementListMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementListMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final SubmodelElementListMetadata var = + Jsonization.Deserialize.deserializeSubmodelElementListMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelElementListMetadataDeserializationFail + + @Test + public void testSubmodelElementListMetadataVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("SubmodelElementListMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementListMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final SubmodelElementListMetadata instance = + Jsonization.Deserialize.deserializeSubmodelElementListMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelElementListMetadataVerificationFail + + @Test + public void testSubmodelMetadataOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelMetadata"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final SubmodelMetadata instance = Jsonization.Deserialize.deserializeSubmodelMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testSubmodelMetadataOk + + @Test + public void testSubmodelMetadataDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final SubmodelMetadata unused = Jsonization.Deserialize.deserializeSubmodelMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testSubmodelMetadataDeserializationFromNonObjectFail + + @Test + public void testSubmodelMetadataDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("SubmodelMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final SubmodelMetadata var = Jsonization.Deserialize.deserializeSubmodelMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelMetadataDeserializationFail + + @Test + public void testSubmodelMetadataVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("SubmodelMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final SubmodelMetadata instance = Jsonization.Deserialize.deserializeSubmodelMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelMetadataVerificationFail + + @Test + public void testAssetAdministrationShellMetadataOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AssetAdministrationShellMetadata"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final AssetAdministrationShellMetadata instance = + Jsonization.Deserialize.deserializeAssetAdministrationShellMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testAssetAdministrationShellMetadataOk + + @Test + public void testAssetAdministrationShellMetadataDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final AssetAdministrationShellMetadata unused = + Jsonization.Deserialize.deserializeAssetAdministrationShellMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testAssetAdministrationShellMetadataDeserializationFromNonObjectFail + + @Test + public void testAssetAdministrationShellMetadataDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("AssetAdministrationShellMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of AssetAdministrationShellMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final AssetAdministrationShellMetadata var = + Jsonization.Deserialize.deserializeAssetAdministrationShellMetadata(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAssetAdministrationShellMetadataDeserializationFail + + @Test + public void testAssetAdministrationShellMetadataVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("AssetAdministrationShellMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of AssetAdministrationShellMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final AssetAdministrationShellMetadata instance = + Jsonization.Deserialize.deserializeAssetAdministrationShellMetadata(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAssetAdministrationShellMetadataVerificationFail + + @Test + public void testReferenceElementValueOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ReferenceElementValue"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final ReferenceElementValue instance = + Jsonization.Deserialize.deserializeReferenceElementValue(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testReferenceElementValueOk + + @Test + public void testReferenceElementValueDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final ReferenceElementValue unused = + Jsonization.Deserialize.deserializeReferenceElementValue(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testReferenceElementValueDeserializationFromNonObjectFail + + @Test + public void testReferenceElementValueDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("ReferenceElementValue"); + + if (!Files.exists(clsDir)) { + // No examples of ReferenceElementValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final ReferenceElementValue var = + Jsonization.Deserialize.deserializeReferenceElementValue(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testReferenceElementValueDeserializationFail + + @Test + public void testReferenceElementValueVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("ReferenceElementValue"); + + if (!Files.exists(clsDir)) { + // No examples of ReferenceElementValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final ReferenceElementValue instance = + Jsonization.Deserialize.deserializeReferenceElementValue(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testReferenceElementValueVerificationFail + + @Test + public void testBlobValueOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BlobValue"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final BlobValue instance = Jsonization.Deserialize.deserializeBlobValue(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testBlobValueOk + + @Test + public void testBlobValueDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final BlobValue unused = Jsonization.Deserialize.deserializeBlobValue(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testBlobValueDeserializationFromNonObjectFail + + @Test + public void testBlobValueDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("BlobValue"); + + if (!Files.exists(clsDir)) { + // No examples of BlobValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final BlobValue var = Jsonization.Deserialize.deserializeBlobValue(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBlobValueDeserializationFail + + @Test + public void testBlobValueVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("BlobValue"); + + if (!Files.exists(clsDir)) { + // No examples of BlobValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final BlobValue instance = Jsonization.Deserialize.deserializeBlobValue(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBlobValueVerificationFail + + @Test + public void testFileValueOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "FileValue"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final FileValue instance = Jsonization.Deserialize.deserializeFileValue(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testFileValueOk + + @Test + public void testFileValueDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final FileValue unused = Jsonization.Deserialize.deserializeFileValue(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testFileValueDeserializationFromNonObjectFail + + @Test + public void testFileValueDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("FileValue"); + + if (!Files.exists(clsDir)) { + // No examples of FileValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final FileValue var = Jsonization.Deserialize.deserializeFileValue(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testFileValueDeserializationFail + + @Test + public void testFileValueVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("FileValue"); + + if (!Files.exists(clsDir)) { + // No examples of FileValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final FileValue instance = Jsonization.Deserialize.deserializeFileValue(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testFileValueVerificationFail + + @Test + public void testRangeValueOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "RangeValue"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final RangeValue instance = Jsonization.Deserialize.deserializeRangeValue(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testRangeValueOk + + @Test + public void testRangeValueDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final RangeValue unused = Jsonization.Deserialize.deserializeRangeValue(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testRangeValueDeserializationFromNonObjectFail + + @Test + public void testRangeValueDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("RangeValue"); + + if (!Files.exists(clsDir)) { + // No examples of RangeValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final RangeValue var = Jsonization.Deserialize.deserializeRangeValue(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testRangeValueDeserializationFail + + @Test + public void testRangeValueVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("RangeValue"); + + if (!Files.exists(clsDir)) { + // No examples of RangeValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final RangeValue instance = Jsonization.Deserialize.deserializeRangeValue(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testRangeValueVerificationFail + + @Test + public void testRelationshipElementValueOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "RelationshipElementValue"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final RelationshipElementValue instance = + Jsonization.Deserialize.deserializeRelationshipElementValue(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testRelationshipElementValueOk + + @Test + public void testRelationshipElementValueDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final RelationshipElementValue unused = + Jsonization.Deserialize.deserializeRelationshipElementValue(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testRelationshipElementValueDeserializationFromNonObjectFail + + @Test + public void testRelationshipElementValueDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("RelationshipElementValue"); + + if (!Files.exists(clsDir)) { + // No examples of RelationshipElementValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final RelationshipElementValue var = + Jsonization.Deserialize.deserializeRelationshipElementValue(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testRelationshipElementValueDeserializationFail + + @Test + public void testRelationshipElementValueVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("RelationshipElementValue"); + + if (!Files.exists(clsDir)) { + // No examples of RelationshipElementValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final RelationshipElementValue instance = + Jsonization.Deserialize.deserializeRelationshipElementValue(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testRelationshipElementValueVerificationFail + + @Test + public void testBasicEventElementValueOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BasicEventElementValue"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final BasicEventElementValue instance = + Jsonization.Deserialize.deserializeBasicEventElementValue(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testBasicEventElementValueOk + + @Test + public void testBasicEventElementValueDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final BasicEventElementValue unused = + Jsonization.Deserialize.deserializeBasicEventElementValue(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testBasicEventElementValueDeserializationFromNonObjectFail + + @Test + public void testBasicEventElementValueDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("BasicEventElementValue"); + + if (!Files.exists(clsDir)) { + // No examples of BasicEventElementValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final BasicEventElementValue var = + Jsonization.Deserialize.deserializeBasicEventElementValue(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBasicEventElementValueDeserializationFail + + @Test + public void testBasicEventElementValueVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("BasicEventElementValue"); + + if (!Files.exists(clsDir)) { + // No examples of BasicEventElementValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final BasicEventElementValue instance = + Jsonization.Deserialize.deserializeBasicEventElementValue(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBasicEventElementValueVerificationFail + + @Test + public void testAnnotatedRelationshipElementValueOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AnnotatedRelationshipElementValue"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final AnnotatedRelationshipElementValue instance = + Jsonization.Deserialize.deserializeAnnotatedRelationshipElementValue(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testAnnotatedRelationshipElementValueOk + + @Test + public void testAnnotatedRelationshipElementValueDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final AnnotatedRelationshipElementValue unused = + Jsonization.Deserialize.deserializeAnnotatedRelationshipElementValue(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testAnnotatedRelationshipElementValueDeserializationFromNonObjectFail + + @Test + public void testAnnotatedRelationshipElementValueDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("AnnotatedRelationshipElementValue"); + + if (!Files.exists(clsDir)) { + // No examples of AnnotatedRelationshipElementValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final AnnotatedRelationshipElementValue var = + Jsonization.Deserialize.deserializeAnnotatedRelationshipElementValue(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAnnotatedRelationshipElementValueDeserializationFail + + @Test + public void testAnnotatedRelationshipElementValueVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("AnnotatedRelationshipElementValue"); + + if (!Files.exists(clsDir)) { + // No examples of AnnotatedRelationshipElementValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final AnnotatedRelationshipElementValue instance = + Jsonization.Deserialize.deserializeAnnotatedRelationshipElementValue(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAnnotatedRelationshipElementValueVerificationFail + + @Test + public void testEntityValueOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "EntityValue"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final EntityValue instance = Jsonization.Deserialize.deserializeEntityValue(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testEntityValueOk + + @Test + public void testEntityValueDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final EntityValue unused = Jsonization.Deserialize.deserializeEntityValue(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testEntityValueDeserializationFromNonObjectFail + + @Test + public void testEntityValueDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("EntityValue"); + + if (!Files.exists(clsDir)) { + // No examples of EntityValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final EntityValue var = Jsonization.Deserialize.deserializeEntityValue(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEntityValueDeserializationFail + + @Test + public void testEntityValueVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("EntityValue"); + + if (!Files.exists(clsDir)) { + // No examples of EntityValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final EntityValue instance = Jsonization.Deserialize.deserializeEntityValue(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEntityValueVerificationFail + + @Test + public void testGetAssetAdministrationShellsResultOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GetAssetAdministrationShellsResult"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final GetAssetAdministrationShellsResult instance = + Jsonization.Deserialize.deserializeGetAssetAdministrationShellsResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testGetAssetAdministrationShellsResultOk + + @Test + public void testGetAssetAdministrationShellsResultDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final GetAssetAdministrationShellsResult unused = + Jsonization.Deserialize.deserializeGetAssetAdministrationShellsResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testGetAssetAdministrationShellsResultDeserializationFromNonObjectFail + + @Test + public void testGetAssetAdministrationShellsResultDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("GetAssetAdministrationShellsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAssetAdministrationShellsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final GetAssetAdministrationShellsResult var = + Jsonization.Deserialize.deserializeGetAssetAdministrationShellsResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetAssetAdministrationShellsResultDeserializationFail + + @Test + public void testGetAssetAdministrationShellsResultVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("GetAssetAdministrationShellsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAssetAdministrationShellsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final GetAssetAdministrationShellsResult instance = + Jsonization.Deserialize.deserializeGetAssetAdministrationShellsResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetAssetAdministrationShellsResultVerificationFail + + @Test + public void testGetAssetAdministrationShellsMetadataResultOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "GetAssetAdministrationShellsMetadataResult"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final GetAssetAdministrationShellsMetadataResult instance = + Jsonization.Deserialize.deserializeGetAssetAdministrationShellsMetadataResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testGetAssetAdministrationShellsMetadataResultOk + + @Test + public void testGetAssetAdministrationShellsMetadataResultDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final GetAssetAdministrationShellsMetadataResult unused = + Jsonization.Deserialize.deserializeGetAssetAdministrationShellsMetadataResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testGetAssetAdministrationShellsMetadataResultDeserializationFromNonObjectFail + + @Test + public void testGetAssetAdministrationShellsMetadataResultDeserializationFail() + throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("GetAssetAdministrationShellsMetadataResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAssetAdministrationShellsMetadataResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final GetAssetAdministrationShellsMetadataResult var = + Jsonization.Deserialize.deserializeGetAssetAdministrationShellsMetadataResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetAssetAdministrationShellsMetadataResultDeserializationFail + + @Test + public void testGetAssetAdministrationShellsMetadataResultVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("GetAssetAdministrationShellsMetadataResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAssetAdministrationShellsMetadataResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final GetAssetAdministrationShellsMetadataResult instance = + Jsonization.Deserialize.deserializeGetAssetAdministrationShellsMetadataResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetAssetAdministrationShellsMetadataResultVerificationFail + + @Test + public void testGetAllAssetAdministrationShellsRecentChangesResultOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetAllAssetAdministrationShellsRecentChangesResult"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final GetAllAssetAdministrationShellsRecentChangesResult instance = + Jsonization.Deserialize.deserializeGetAllAssetAdministrationShellsRecentChangesResult( + node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testGetAllAssetAdministrationShellsRecentChangesResultOk + + @Test + public void + testGetAllAssetAdministrationShellsRecentChangesResultDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final GetAllAssetAdministrationShellsRecentChangesResult unused = + Jsonization.Deserialize.deserializeGetAllAssetAdministrationShellsRecentChangesResult( + node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void + + // testGetAllAssetAdministrationShellsRecentChangesResultDeserializationFromNonObjectFail + + @Test + public void testGetAllAssetAdministrationShellsRecentChangesResultDeserializationFail() + throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("GetAllAssetAdministrationShellsRecentChangesResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAllAssetAdministrationShellsRecentChangesResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final GetAllAssetAdministrationShellsRecentChangesResult var = + Jsonization.Deserialize.deserializeGetAllAssetAdministrationShellsRecentChangesResult( + node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetAllAssetAdministrationShellsRecentChangesResultDeserializationFail + + @Test + public void testGetAllAssetAdministrationShellsRecentChangesResultVerificationFail() + throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("GetAllAssetAdministrationShellsRecentChangesResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAllAssetAdministrationShellsRecentChangesResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final GetAllAssetAdministrationShellsRecentChangesResult instance = + Jsonization.Deserialize.deserializeGetAllAssetAdministrationShellsRecentChangesResult( + node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetAllAssetAdministrationShellsRecentChangesResultVerificationFail + + @Test + public void testGetAssetAdministrationShellDescriptorsResultOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetAssetAdministrationShellDescriptorsResult"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final GetAssetAdministrationShellDescriptorsResult instance = + Jsonization.Deserialize.deserializeGetAssetAdministrationShellDescriptorsResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testGetAssetAdministrationShellDescriptorsResultOk + + @Test + public void testGetAssetAdministrationShellDescriptorsResultDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final GetAssetAdministrationShellDescriptorsResult unused = + Jsonization.Deserialize.deserializeGetAssetAdministrationShellDescriptorsResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testGetAssetAdministrationShellDescriptorsResultDeserializationFromNonObjectFail + + @Test + public void testGetAssetAdministrationShellDescriptorsResultDeserializationFail() + throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("GetAssetAdministrationShellDescriptorsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAssetAdministrationShellDescriptorsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final GetAssetAdministrationShellDescriptorsResult var = + Jsonization.Deserialize.deserializeGetAssetAdministrationShellDescriptorsResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetAssetAdministrationShellDescriptorsResultDeserializationFail + + @Test + public void testGetAssetAdministrationShellDescriptorsResultVerificationFail() + throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("GetAssetAdministrationShellDescriptorsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAssetAdministrationShellDescriptorsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final GetAssetAdministrationShellDescriptorsResult instance = + Jsonization.Deserialize.deserializeGetAssetAdministrationShellDescriptorsResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetAssetAdministrationShellDescriptorsResultVerificationFail + + @Test + public void testGetConceptDescriptionsResultOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GetConceptDescriptionsResult"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final GetConceptDescriptionsResult instance = + Jsonization.Deserialize.deserializeGetConceptDescriptionsResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testGetConceptDescriptionsResultOk + + @Test + public void testGetConceptDescriptionsResultDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final GetConceptDescriptionsResult unused = + Jsonization.Deserialize.deserializeGetConceptDescriptionsResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testGetConceptDescriptionsResultDeserializationFromNonObjectFail + + @Test + public void testGetConceptDescriptionsResultDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("GetConceptDescriptionsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetConceptDescriptionsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final GetConceptDescriptionsResult var = + Jsonization.Deserialize.deserializeGetConceptDescriptionsResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetConceptDescriptionsResultDeserializationFail + + @Test + public void testGetConceptDescriptionsResultVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("GetConceptDescriptionsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetConceptDescriptionsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final GetConceptDescriptionsResult instance = + Jsonization.Deserialize.deserializeGetConceptDescriptionsResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetConceptDescriptionsResultVerificationFail + + @Test + public void testGetAllConceptDescriptionsRecentChangesResultOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "GetAllConceptDescriptionsRecentChangesResult"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final GetAllConceptDescriptionsRecentChangesResult instance = + Jsonization.Deserialize.deserializeGetAllConceptDescriptionsRecentChangesResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testGetAllConceptDescriptionsRecentChangesResultOk + + @Test + public void testGetAllConceptDescriptionsRecentChangesResultDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final GetAllConceptDescriptionsRecentChangesResult unused = + Jsonization.Deserialize.deserializeGetAllConceptDescriptionsRecentChangesResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testGetAllConceptDescriptionsRecentChangesResultDeserializationFromNonObjectFail + + @Test + public void testGetAllConceptDescriptionsRecentChangesResultDeserializationFail() + throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("GetAllConceptDescriptionsRecentChangesResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAllConceptDescriptionsRecentChangesResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final GetAllConceptDescriptionsRecentChangesResult var = + Jsonization.Deserialize.deserializeGetAllConceptDescriptionsRecentChangesResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetAllConceptDescriptionsRecentChangesResultDeserializationFail + + @Test + public void testGetAllConceptDescriptionsRecentChangesResultVerificationFail() + throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("GetAllConceptDescriptionsRecentChangesResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAllConceptDescriptionsRecentChangesResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final GetAllConceptDescriptionsRecentChangesResult instance = + Jsonization.Deserialize.deserializeGetAllConceptDescriptionsRecentChangesResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetAllConceptDescriptionsRecentChangesResultVerificationFail + + @Test + public void testGetPackageDescriptionsResultOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GetPackageDescriptionsResult"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final GetPackageDescriptionsResult instance = + Jsonization.Deserialize.deserializeGetPackageDescriptionsResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testGetPackageDescriptionsResultOk + + @Test + public void testGetPackageDescriptionsResultDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final GetPackageDescriptionsResult unused = + Jsonization.Deserialize.deserializeGetPackageDescriptionsResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testGetPackageDescriptionsResultDeserializationFromNonObjectFail + + @Test + public void testGetPackageDescriptionsResultDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("GetPackageDescriptionsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetPackageDescriptionsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final GetPackageDescriptionsResult var = + Jsonization.Deserialize.deserializeGetPackageDescriptionsResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetPackageDescriptionsResultDeserializationFail + + @Test + public void testGetPackageDescriptionsResultVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("GetPackageDescriptionsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetPackageDescriptionsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final GetPackageDescriptionsResult instance = + Jsonization.Deserialize.deserializeGetPackageDescriptionsResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetPackageDescriptionsResultVerificationFail + + @Test + public void testGetPathItemsResultOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GetPathItemsResult"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final GetPathItemsResult instance = + Jsonization.Deserialize.deserializeGetPathItemsResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testGetPathItemsResultOk + + @Test + public void testGetPathItemsResultDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final GetPathItemsResult unused = Jsonization.Deserialize.deserializeGetPathItemsResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testGetPathItemsResultDeserializationFromNonObjectFail + + @Test + public void testGetPathItemsResultDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("GetPathItemsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetPathItemsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final GetPathItemsResult var = + Jsonization.Deserialize.deserializeGetPathItemsResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetPathItemsResultDeserializationFail + + @Test + public void testGetPathItemsResultVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("GetPathItemsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetPathItemsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final GetPathItemsResult instance = + Jsonization.Deserialize.deserializeGetPathItemsResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetPathItemsResultVerificationFail + + @Test + public void testGetReferencesResultOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GetReferencesResult"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final GetReferencesResult instance = + Jsonization.Deserialize.deserializeGetReferencesResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testGetReferencesResultOk + + @Test + public void testGetReferencesResultDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final GetReferencesResult unused = + Jsonization.Deserialize.deserializeGetReferencesResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testGetReferencesResultDeserializationFromNonObjectFail + + @Test + public void testGetReferencesResultDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("GetReferencesResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetReferencesResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final GetReferencesResult var = + Jsonization.Deserialize.deserializeGetReferencesResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetReferencesResultDeserializationFail + + @Test + public void testGetReferencesResultVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("GetReferencesResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetReferencesResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final GetReferencesResult instance = + Jsonization.Deserialize.deserializeGetReferencesResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetReferencesResultVerificationFail + + @Test + public void testGetSubmodelDescriptorsResultOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GetSubmodelDescriptorsResult"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final GetSubmodelDescriptorsResult instance = + Jsonization.Deserialize.deserializeGetSubmodelDescriptorsResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testGetSubmodelDescriptorsResultOk + + @Test + public void testGetSubmodelDescriptorsResultDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final GetSubmodelDescriptorsResult unused = + Jsonization.Deserialize.deserializeGetSubmodelDescriptorsResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testGetSubmodelDescriptorsResultDeserializationFromNonObjectFail + + @Test + public void testGetSubmodelDescriptorsResultDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("GetSubmodelDescriptorsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelDescriptorsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final GetSubmodelDescriptorsResult var = + Jsonization.Deserialize.deserializeGetSubmodelDescriptorsResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetSubmodelDescriptorsResultDeserializationFail + + @Test + public void testGetSubmodelDescriptorsResultVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("GetSubmodelDescriptorsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelDescriptorsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final GetSubmodelDescriptorsResult instance = + Jsonization.Deserialize.deserializeGetSubmodelDescriptorsResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetSubmodelDescriptorsResultVerificationFail + + @Test + public void testGetSubmodelElementsMetadataResultOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GetSubmodelElementsMetadataResult"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final GetSubmodelElementsMetadataResult instance = + Jsonization.Deserialize.deserializeGetSubmodelElementsMetadataResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testGetSubmodelElementsMetadataResultOk + + @Test + public void testGetSubmodelElementsMetadataResultDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final GetSubmodelElementsMetadataResult unused = + Jsonization.Deserialize.deserializeGetSubmodelElementsMetadataResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testGetSubmodelElementsMetadataResultDeserializationFromNonObjectFail + + @Test + public void testGetSubmodelElementsMetadataResultDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("GetSubmodelElementsMetadataResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelElementsMetadataResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final GetSubmodelElementsMetadataResult var = + Jsonization.Deserialize.deserializeGetSubmodelElementsMetadataResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetSubmodelElementsMetadataResultDeserializationFail + + @Test + public void testGetSubmodelElementsMetadataResultVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("GetSubmodelElementsMetadataResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelElementsMetadataResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final GetSubmodelElementsMetadataResult instance = + Jsonization.Deserialize.deserializeGetSubmodelElementsMetadataResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetSubmodelElementsMetadataResultVerificationFail + + @Test + public void testGetSubmodelElementsResultOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GetSubmodelElementsResult"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final GetSubmodelElementsResult instance = + Jsonization.Deserialize.deserializeGetSubmodelElementsResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testGetSubmodelElementsResultOk + + @Test + public void testGetSubmodelElementsResultDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final GetSubmodelElementsResult unused = + Jsonization.Deserialize.deserializeGetSubmodelElementsResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testGetSubmodelElementsResultDeserializationFromNonObjectFail + + @Test + public void testGetSubmodelElementsResultDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("GetSubmodelElementsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelElementsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final GetSubmodelElementsResult var = + Jsonization.Deserialize.deserializeGetSubmodelElementsResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetSubmodelElementsResultDeserializationFail + + @Test + public void testGetSubmodelElementsResultVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("GetSubmodelElementsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelElementsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final GetSubmodelElementsResult instance = + Jsonization.Deserialize.deserializeGetSubmodelElementsResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetSubmodelElementsResultVerificationFail + + @Test + public void testGetSubmodelElementsValueResultOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GetSubmodelElementsValueResult"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final GetSubmodelElementsValueResult instance = + Jsonization.Deserialize.deserializeGetSubmodelElementsValueResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testGetSubmodelElementsValueResultOk + + @Test + public void testGetSubmodelElementsValueResultDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final GetSubmodelElementsValueResult unused = + Jsonization.Deserialize.deserializeGetSubmodelElementsValueResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testGetSubmodelElementsValueResultDeserializationFromNonObjectFail + + @Test + public void testGetSubmodelElementsValueResultDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("GetSubmodelElementsValueResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelElementsValueResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final GetSubmodelElementsValueResult var = + Jsonization.Deserialize.deserializeGetSubmodelElementsValueResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetSubmodelElementsValueResultDeserializationFail + + @Test + public void testGetSubmodelElementsValueResultVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("GetSubmodelElementsValueResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelElementsValueResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final GetSubmodelElementsValueResult instance = + Jsonization.Deserialize.deserializeGetSubmodelElementsValueResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetSubmodelElementsValueResultVerificationFail + + @Test + public void testGetAllSubmodelsRecentChangesResultOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GetAllSubmodelsRecentChangesResult"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final GetAllSubmodelsRecentChangesResult instance = + Jsonization.Deserialize.deserializeGetAllSubmodelsRecentChangesResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testGetAllSubmodelsRecentChangesResultOk + + @Test + public void testGetAllSubmodelsRecentChangesResultDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final GetAllSubmodelsRecentChangesResult unused = + Jsonization.Deserialize.deserializeGetAllSubmodelsRecentChangesResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testGetAllSubmodelsRecentChangesResultDeserializationFromNonObjectFail + + @Test + public void testGetAllSubmodelsRecentChangesResultDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("GetAllSubmodelsRecentChangesResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAllSubmodelsRecentChangesResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final GetAllSubmodelsRecentChangesResult var = + Jsonization.Deserialize.deserializeGetAllSubmodelsRecentChangesResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetAllSubmodelsRecentChangesResultDeserializationFail + + @Test + public void testGetAllSubmodelsRecentChangesResultVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("GetAllSubmodelsRecentChangesResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAllSubmodelsRecentChangesResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final GetAllSubmodelsRecentChangesResult instance = + Jsonization.Deserialize.deserializeGetAllSubmodelsRecentChangesResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetAllSubmodelsRecentChangesResultVerificationFail + + @Test + public void testGetSubmodelsMetadataResultOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GetSubmodelsMetadataResult"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final GetSubmodelsMetadataResult instance = + Jsonization.Deserialize.deserializeGetSubmodelsMetadataResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testGetSubmodelsMetadataResultOk + + @Test + public void testGetSubmodelsMetadataResultDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final GetSubmodelsMetadataResult unused = + Jsonization.Deserialize.deserializeGetSubmodelsMetadataResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testGetSubmodelsMetadataResultDeserializationFromNonObjectFail + + @Test + public void testGetSubmodelsMetadataResultDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("GetSubmodelsMetadataResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelsMetadataResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final GetSubmodelsMetadataResult var = + Jsonization.Deserialize.deserializeGetSubmodelsMetadataResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetSubmodelsMetadataResultDeserializationFail + + @Test + public void testGetSubmodelsMetadataResultVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("GetSubmodelsMetadataResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelsMetadataResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final GetSubmodelsMetadataResult instance = + Jsonization.Deserialize.deserializeGetSubmodelsMetadataResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetSubmodelsMetadataResultVerificationFail + + @Test + public void testGetSubmodelsResultOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GetSubmodelsResult"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final GetSubmodelsResult instance = + Jsonization.Deserialize.deserializeGetSubmodelsResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testGetSubmodelsResultOk + + @Test + public void testGetSubmodelsResultDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final GetSubmodelsResult unused = Jsonization.Deserialize.deserializeGetSubmodelsResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testGetSubmodelsResultDeserializationFromNonObjectFail + + @Test + public void testGetSubmodelsResultDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("GetSubmodelsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final GetSubmodelsResult var = + Jsonization.Deserialize.deserializeGetSubmodelsResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetSubmodelsResultDeserializationFail + + @Test + public void testGetSubmodelsResultVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("GetSubmodelsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final GetSubmodelsResult instance = + Jsonization.Deserialize.deserializeGetSubmodelsResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetSubmodelsResultVerificationFail + + @Test + public void testGetSubmodelsValueResultOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GetSubmodelsValueResult"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final GetSubmodelsValueResult instance = + Jsonization.Deserialize.deserializeGetSubmodelsValueResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testGetSubmodelsValueResultOk + + @Test + public void testGetSubmodelsValueResultDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final GetSubmodelsValueResult unused = + Jsonization.Deserialize.deserializeGetSubmodelsValueResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testGetSubmodelsValueResultDeserializationFromNonObjectFail + + @Test + public void testGetSubmodelsValueResultDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("GetSubmodelsValueResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelsValueResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final GetSubmodelsValueResult var = + Jsonization.Deserialize.deserializeGetSubmodelsValueResult(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetSubmodelsValueResultDeserializationFail + + @Test + public void testGetSubmodelsValueResultVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("GetSubmodelsValueResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelsValueResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final GetSubmodelsValueResult instance = + Jsonization.Deserialize.deserializeGetSubmodelsValueResult(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetSubmodelsValueResultVerificationFail + + @Test + public void testClaimAttributeOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ClaimAttribute"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final ClaimAttribute instance = Jsonization.Deserialize.deserializeClaimAttribute(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testClaimAttributeOk + + @Test + public void testClaimAttributeDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final ClaimAttribute unused = Jsonization.Deserialize.deserializeClaimAttribute(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testClaimAttributeDeserializationFromNonObjectFail + + @Test + public void testClaimAttributeDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("ClaimAttribute"); + + if (!Files.exists(clsDir)) { + // No examples of ClaimAttribute for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final ClaimAttribute var = Jsonization.Deserialize.deserializeClaimAttribute(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testClaimAttributeDeserializationFail + + @Test + public void testClaimAttributeVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("ClaimAttribute"); + + if (!Files.exists(clsDir)) { + // No examples of ClaimAttribute for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final ClaimAttribute instance = Jsonization.Deserialize.deserializeClaimAttribute(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testClaimAttributeVerificationFail + + @Test + public void testGlobalAttributeOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GlobalAttribute"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final GlobalAttribute instance = Jsonization.Deserialize.deserializeGlobalAttribute(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testGlobalAttributeOk + + @Test + public void testGlobalAttributeDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final GlobalAttribute unused = Jsonization.Deserialize.deserializeGlobalAttribute(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testGlobalAttributeDeserializationFromNonObjectFail + + @Test + public void testGlobalAttributeDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("GlobalAttribute"); + + if (!Files.exists(clsDir)) { + // No examples of GlobalAttribute for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final GlobalAttribute var = Jsonization.Deserialize.deserializeGlobalAttribute(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGlobalAttributeDeserializationFail + + @Test + public void testGlobalAttributeVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("GlobalAttribute"); + + if (!Files.exists(clsDir)) { + // No examples of GlobalAttribute for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final GlobalAttribute instance = Jsonization.Deserialize.deserializeGlobalAttribute(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGlobalAttributeVerificationFail + + @Test + public void testReferenceAttributeOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ReferenceAttribute"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final ReferenceAttribute instance = + Jsonization.Deserialize.deserializeReferenceAttribute(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testReferenceAttributeOk + + @Test + public void testReferenceAttributeDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final ReferenceAttribute unused = Jsonization.Deserialize.deserializeReferenceAttribute(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testReferenceAttributeDeserializationFromNonObjectFail + + @Test + public void testReferenceAttributeDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("ReferenceAttribute"); + + if (!Files.exists(clsDir)) { + // No examples of ReferenceAttribute for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final ReferenceAttribute var = + Jsonization.Deserialize.deserializeReferenceAttribute(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testReferenceAttributeDeserializationFail + + @Test + public void testReferenceAttributeVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("ReferenceAttribute"); + + if (!Files.exists(clsDir)) { + // No examples of ReferenceAttribute for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final ReferenceAttribute instance = + Jsonization.Deserialize.deserializeReferenceAttribute(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testReferenceAttributeVerificationFail + + @Test + public void testDateTimeAttributeItemOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DateTimeAttributeItem"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final DateTimeAttributeItem instance = + Jsonization.Deserialize.deserializeDateTimeAttributeItem(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testDateTimeAttributeItemOk + + @Test + public void testDateTimeAttributeItemDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final DateTimeAttributeItem unused = + Jsonization.Deserialize.deserializeDateTimeAttributeItem(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testDateTimeAttributeItemDeserializationFromNonObjectFail + + @Test + public void testDateTimeAttributeItemDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("DateTimeAttributeItem"); + + if (!Files.exists(clsDir)) { + // No examples of DateTimeAttributeItem for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final DateTimeAttributeItem var = + Jsonization.Deserialize.deserializeDateTimeAttributeItem(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testDateTimeAttributeItemDeserializationFail + + @Test + public void testDateTimeAttributeItemVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("DateTimeAttributeItem"); + + if (!Files.exists(clsDir)) { + // No examples of DateTimeAttributeItem for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final DateTimeAttributeItem instance = + Jsonization.Deserialize.deserializeDateTimeAttributeItem(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testDateTimeAttributeItemVerificationFail + + @Test + public void testFieldOperandOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "FieldOperand"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final FieldOperand instance = Jsonization.Deserialize.deserializeFieldOperand(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testFieldOperandOk + + @Test + public void testFieldOperandDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final FieldOperand unused = Jsonization.Deserialize.deserializeFieldOperand(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testFieldOperandDeserializationFromNonObjectFail + + @Test + public void testFieldOperandDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("FieldOperand"); + + if (!Files.exists(clsDir)) { + // No examples of FieldOperand for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final FieldOperand var = Jsonization.Deserialize.deserializeFieldOperand(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testFieldOperandDeserializationFail + + @Test + public void testFieldOperandVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("FieldOperand"); + + if (!Files.exists(clsDir)) { + // No examples of FieldOperand for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final FieldOperand instance = Jsonization.Deserialize.deserializeFieldOperand(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testFieldOperandVerificationFail + + @Test + public void testStringLiteralOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "StringLiteral"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final StringLiteral instance = Jsonization.Deserialize.deserializeStringLiteral(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testStringLiteralOk + + @Test + public void testStringLiteralDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final StringLiteral unused = Jsonization.Deserialize.deserializeStringLiteral(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testStringLiteralDeserializationFromNonObjectFail + + @Test + public void testStringLiteralDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("StringLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of StringLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final StringLiteral var = Jsonization.Deserialize.deserializeStringLiteral(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testStringLiteralDeserializationFail + + @Test + public void testStringLiteralVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("StringLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of StringLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final StringLiteral instance = Jsonization.Deserialize.deserializeStringLiteral(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testStringLiteralVerificationFail + + @Test + public void testAttributeOperandOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AttributeOperand"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final AttributeOperand instance = Jsonization.Deserialize.deserializeAttributeOperand(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testAttributeOperandOk + + @Test + public void testAttributeOperandDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final AttributeOperand unused = Jsonization.Deserialize.deserializeAttributeOperand(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testAttributeOperandDeserializationFromNonObjectFail + + @Test + public void testAttributeOperandDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("AttributeOperand"); + + if (!Files.exists(clsDir)) { + // No examples of AttributeOperand for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final AttributeOperand var = Jsonization.Deserialize.deserializeAttributeOperand(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAttributeOperandDeserializationFail + + @Test + public void testAttributeOperandVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("AttributeOperand"); + + if (!Files.exists(clsDir)) { + // No examples of AttributeOperand for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final AttributeOperand instance = Jsonization.Deserialize.deserializeAttributeOperand(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAttributeOperandVerificationFail + + @Test + public void testNumberLiteralOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "NumberLiteral"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final NumberLiteral instance = Jsonization.Deserialize.deserializeNumberLiteral(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testNumberLiteralOk + + @Test + public void testNumberLiteralDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final NumberLiteral unused = Jsonization.Deserialize.deserializeNumberLiteral(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testNumberLiteralDeserializationFromNonObjectFail + + @Test + public void testNumberLiteralDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("NumberLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of NumberLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final NumberLiteral var = Jsonization.Deserialize.deserializeNumberLiteral(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testNumberLiteralDeserializationFail + + @Test + public void testNumberLiteralVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("NumberLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of NumberLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final NumberLiteral instance = Jsonization.Deserialize.deserializeNumberLiteral(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testNumberLiteralVerificationFail + + @Test + public void testHexLiteralOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "HexLiteral"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final HexLiteral instance = Jsonization.Deserialize.deserializeHexLiteral(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testHexLiteralOk + + @Test + public void testHexLiteralDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final HexLiteral unused = Jsonization.Deserialize.deserializeHexLiteral(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testHexLiteralDeserializationFromNonObjectFail + + @Test + public void testHexLiteralDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("HexLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of HexLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final HexLiteral var = Jsonization.Deserialize.deserializeHexLiteral(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testHexLiteralDeserializationFail + + @Test + public void testHexLiteralVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("HexLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of HexLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final HexLiteral instance = Jsonization.Deserialize.deserializeHexLiteral(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testHexLiteralVerificationFail + + @Test + public void testDateTimeLiteralOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DateTimeLiteral"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final DateTimeLiteral instance = Jsonization.Deserialize.deserializeDateTimeLiteral(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testDateTimeLiteralOk + + @Test + public void testDateTimeLiteralDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final DateTimeLiteral unused = Jsonization.Deserialize.deserializeDateTimeLiteral(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testDateTimeLiteralDeserializationFromNonObjectFail + + @Test + public void testDateTimeLiteralDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("DateTimeLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of DateTimeLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final DateTimeLiteral var = Jsonization.Deserialize.deserializeDateTimeLiteral(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testDateTimeLiteralDeserializationFail + + @Test + public void testDateTimeLiteralVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("DateTimeLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of DateTimeLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final DateTimeLiteral instance = Jsonization.Deserialize.deserializeDateTimeLiteral(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testDateTimeLiteralVerificationFail + + @Test + public void testTimeLiteralOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "TimeLiteral"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final TimeLiteral instance = Jsonization.Deserialize.deserializeTimeLiteral(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testTimeLiteralOk + + @Test + public void testTimeLiteralDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final TimeLiteral unused = Jsonization.Deserialize.deserializeTimeLiteral(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testTimeLiteralDeserializationFromNonObjectFail + + @Test + public void testTimeLiteralDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("TimeLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of TimeLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final TimeLiteral var = Jsonization.Deserialize.deserializeTimeLiteral(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testTimeLiteralDeserializationFail + + @Test + public void testTimeLiteralVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("TimeLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of TimeLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final TimeLiteral instance = Jsonization.Deserialize.deserializeTimeLiteral(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testTimeLiteralVerificationFail + + @Test + public void testBooleanLiteralOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BooleanLiteral"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final BooleanLiteral instance = Jsonization.Deserialize.deserializeBooleanLiteral(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testBooleanLiteralOk + + @Test + public void testBooleanLiteralDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final BooleanLiteral unused = Jsonization.Deserialize.deserializeBooleanLiteral(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testBooleanLiteralDeserializationFromNonObjectFail + + @Test + public void testBooleanLiteralDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("BooleanLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of BooleanLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final BooleanLiteral var = Jsonization.Deserialize.deserializeBooleanLiteral(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBooleanLiteralDeserializationFail + + @Test + public void testBooleanLiteralVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("BooleanLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of BooleanLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final BooleanLiteral instance = Jsonization.Deserialize.deserializeBooleanLiteral(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBooleanLiteralVerificationFail + + @Test + public void testStringCastOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "StringCast"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final StringCast instance = Jsonization.Deserialize.deserializeStringCast(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testStringCastOk + + @Test + public void testStringCastDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final StringCast unused = Jsonization.Deserialize.deserializeStringCast(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testStringCastDeserializationFromNonObjectFail + + @Test + public void testStringCastDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("StringCast"); + + if (!Files.exists(clsDir)) { + // No examples of StringCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final StringCast var = Jsonization.Deserialize.deserializeStringCast(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testStringCastDeserializationFail + + @Test + public void testStringCastVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("StringCast"); + + if (!Files.exists(clsDir)) { + // No examples of StringCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final StringCast instance = Jsonization.Deserialize.deserializeStringCast(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testStringCastVerificationFail + + @Test + public void testNumberCastOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "NumberCast"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final NumberCast instance = Jsonization.Deserialize.deserializeNumberCast(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testNumberCastOk + + @Test + public void testNumberCastDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final NumberCast unused = Jsonization.Deserialize.deserializeNumberCast(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testNumberCastDeserializationFromNonObjectFail + + @Test + public void testNumberCastDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("NumberCast"); + + if (!Files.exists(clsDir)) { + // No examples of NumberCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final NumberCast var = Jsonization.Deserialize.deserializeNumberCast(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testNumberCastDeserializationFail + + @Test + public void testNumberCastVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("NumberCast"); + + if (!Files.exists(clsDir)) { + // No examples of NumberCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final NumberCast instance = Jsonization.Deserialize.deserializeNumberCast(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testNumberCastVerificationFail + + @Test + public void testHexCastOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "HexCast"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final HexCast instance = Jsonization.Deserialize.deserializeHexCast(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testHexCastOk + + @Test + public void testHexCastDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final HexCast unused = Jsonization.Deserialize.deserializeHexCast(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testHexCastDeserializationFromNonObjectFail + + @Test + public void testHexCastDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("HexCast"); + + if (!Files.exists(clsDir)) { + // No examples of HexCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final HexCast var = Jsonization.Deserialize.deserializeHexCast(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testHexCastDeserializationFail + + @Test + public void testHexCastVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("HexCast"); + + if (!Files.exists(clsDir)) { + // No examples of HexCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final HexCast instance = Jsonization.Deserialize.deserializeHexCast(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testHexCastVerificationFail + + @Test + public void testBooleanCastOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BooleanCast"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final BooleanCast instance = Jsonization.Deserialize.deserializeBooleanCast(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testBooleanCastOk + + @Test + public void testBooleanCastDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final BooleanCast unused = Jsonization.Deserialize.deserializeBooleanCast(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testBooleanCastDeserializationFromNonObjectFail + + @Test + public void testBooleanCastDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("BooleanCast"); + + if (!Files.exists(clsDir)) { + // No examples of BooleanCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final BooleanCast var = Jsonization.Deserialize.deserializeBooleanCast(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBooleanCastDeserializationFail + + @Test + public void testBooleanCastVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("BooleanCast"); + + if (!Files.exists(clsDir)) { + // No examples of BooleanCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final BooleanCast instance = Jsonization.Deserialize.deserializeBooleanCast(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBooleanCastVerificationFail + + @Test + public void testDateTimeCastOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DateTimeCast"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final DateTimeCast instance = Jsonization.Deserialize.deserializeDateTimeCast(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testDateTimeCastOk + + @Test + public void testDateTimeCastDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final DateTimeCast unused = Jsonization.Deserialize.deserializeDateTimeCast(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testDateTimeCastDeserializationFromNonObjectFail + + @Test + public void testDateTimeCastDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("DateTimeCast"); + + if (!Files.exists(clsDir)) { + // No examples of DateTimeCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final DateTimeCast var = Jsonization.Deserialize.deserializeDateTimeCast(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testDateTimeCastDeserializationFail + + @Test + public void testDateTimeCastVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("DateTimeCast"); + + if (!Files.exists(clsDir)) { + // No examples of DateTimeCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final DateTimeCast instance = Jsonization.Deserialize.deserializeDateTimeCast(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testDateTimeCastVerificationFail + + @Test + public void testTimeCastOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "TimeCast"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final TimeCast instance = Jsonization.Deserialize.deserializeTimeCast(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testTimeCastOk + + @Test + public void testTimeCastDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final TimeCast unused = Jsonization.Deserialize.deserializeTimeCast(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testTimeCastDeserializationFromNonObjectFail + + @Test + public void testTimeCastDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("TimeCast"); + + if (!Files.exists(clsDir)) { + // No examples of TimeCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final TimeCast var = Jsonization.Deserialize.deserializeTimeCast(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testTimeCastDeserializationFail + + @Test + public void testTimeCastVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("TimeCast"); + + if (!Files.exists(clsDir)) { + // No examples of TimeCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final TimeCast instance = Jsonization.Deserialize.deserializeTimeCast(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testTimeCastVerificationFail + + @Test + public void testDayOfWeekOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DayOfWeek"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final DayOfWeek instance = Jsonization.Deserialize.deserializeDayOfWeek(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testDayOfWeekOk + + @Test + public void testDayOfWeekDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final DayOfWeek unused = Jsonization.Deserialize.deserializeDayOfWeek(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testDayOfWeekDeserializationFromNonObjectFail + + @Test + public void testDayOfWeekDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("DayOfWeek"); + + if (!Files.exists(clsDir)) { + // No examples of DayOfWeek for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final DayOfWeek var = Jsonization.Deserialize.deserializeDayOfWeek(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testDayOfWeekDeserializationFail + + @Test + public void testDayOfWeekVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("DayOfWeek"); + + if (!Files.exists(clsDir)) { + // No examples of DayOfWeek for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final DayOfWeek instance = Jsonization.Deserialize.deserializeDayOfWeek(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testDayOfWeekVerificationFail + + @Test + public void testDayOfMonthOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DayOfMonth"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final DayOfMonth instance = Jsonization.Deserialize.deserializeDayOfMonth(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testDayOfMonthOk + + @Test + public void testDayOfMonthDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final DayOfMonth unused = Jsonization.Deserialize.deserializeDayOfMonth(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testDayOfMonthDeserializationFromNonObjectFail + + @Test + public void testDayOfMonthDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("DayOfMonth"); + + if (!Files.exists(clsDir)) { + // No examples of DayOfMonth for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final DayOfMonth var = Jsonization.Deserialize.deserializeDayOfMonth(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testDayOfMonthDeserializationFail + + @Test + public void testDayOfMonthVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("DayOfMonth"); + + if (!Files.exists(clsDir)) { + // No examples of DayOfMonth for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final DayOfMonth instance = Jsonization.Deserialize.deserializeDayOfMonth(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testDayOfMonthVerificationFail + + @Test + public void testMonthOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Month"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Month instance = Jsonization.Deserialize.deserializeMonth(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testMonthOk + + @Test + public void testMonthDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Month unused = Jsonization.Deserialize.deserializeMonth(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testMonthDeserializationFromNonObjectFail + + @Test + public void testMonthDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Month"); + + if (!Files.exists(clsDir)) { + // No examples of Month for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Month var = Jsonization.Deserialize.deserializeMonth(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testMonthDeserializationFail + + @Test + public void testMonthVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Month"); + + if (!Files.exists(clsDir)) { + // No examples of Month for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Month instance = Jsonization.Deserialize.deserializeMonth(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testMonthVerificationFail + + @Test + public void testYearOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Year"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Year instance = Jsonization.Deserialize.deserializeYear(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testYearOk + + @Test + public void testYearDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Year unused = Jsonization.Deserialize.deserializeYear(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testYearDeserializationFromNonObjectFail + + @Test + public void testYearDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Year"); + + if (!Files.exists(clsDir)) { + // No examples of Year for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Year var = Jsonization.Deserialize.deserializeYear(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testYearDeserializationFail + + @Test + public void testYearVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Year"); + + if (!Files.exists(clsDir)) { + // No examples of Year for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Year instance = Jsonization.Deserialize.deserializeYear(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testYearVerificationFail + + @Test + public void testDateTimeAttributeOperandOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DateTimeAttributeOperand"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final DateTimeAttributeOperand instance = + Jsonization.Deserialize.deserializeDateTimeAttributeOperand(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testDateTimeAttributeOperandOk + + @Test + public void testDateTimeAttributeOperandDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final DateTimeAttributeOperand unused = + Jsonization.Deserialize.deserializeDateTimeAttributeOperand(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testDateTimeAttributeOperandDeserializationFromNonObjectFail + + @Test + public void testDateTimeAttributeOperandDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("DateTimeAttributeOperand"); + + if (!Files.exists(clsDir)) { + // No examples of DateTimeAttributeOperand for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final DateTimeAttributeOperand var = + Jsonization.Deserialize.deserializeDateTimeAttributeOperand(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testDateTimeAttributeOperandDeserializationFail + + @Test + public void testDateTimeAttributeOperandVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("DateTimeAttributeOperand"); + + if (!Files.exists(clsDir)) { + // No examples of DateTimeAttributeOperand for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final DateTimeAttributeOperand instance = + Jsonization.Deserialize.deserializeDateTimeAttributeOperand(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testDateTimeAttributeOperandVerificationFail + + @Test + public void testEqualComparisonOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "EqualComparison"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final EqualComparison instance = Jsonization.Deserialize.deserializeEqualComparison(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testEqualComparisonOk + + @Test + public void testEqualComparisonDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final EqualComparison unused = Jsonization.Deserialize.deserializeEqualComparison(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testEqualComparisonDeserializationFromNonObjectFail + + @Test + public void testEqualComparisonDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("EqualComparison"); + + if (!Files.exists(clsDir)) { + // No examples of EqualComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final EqualComparison var = Jsonization.Deserialize.deserializeEqualComparison(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEqualComparisonDeserializationFail + + @Test + public void testEqualComparisonVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("EqualComparison"); + + if (!Files.exists(clsDir)) { + // No examples of EqualComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final EqualComparison instance = Jsonization.Deserialize.deserializeEqualComparison(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEqualComparisonVerificationFail + + @Test + public void testNotEqualComparisonOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "NotEqualComparison"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final NotEqualComparison instance = + Jsonization.Deserialize.deserializeNotEqualComparison(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testNotEqualComparisonOk + + @Test + public void testNotEqualComparisonDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final NotEqualComparison unused = Jsonization.Deserialize.deserializeNotEqualComparison(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testNotEqualComparisonDeserializationFromNonObjectFail + + @Test + public void testNotEqualComparisonDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("NotEqualComparison"); + + if (!Files.exists(clsDir)) { + // No examples of NotEqualComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final NotEqualComparison var = + Jsonization.Deserialize.deserializeNotEqualComparison(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testNotEqualComparisonDeserializationFail + + @Test + public void testNotEqualComparisonVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("NotEqualComparison"); + + if (!Files.exists(clsDir)) { + // No examples of NotEqualComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final NotEqualComparison instance = + Jsonization.Deserialize.deserializeNotEqualComparison(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testNotEqualComparisonVerificationFail + + @Test + public void testGreaterThanComparisonOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GreaterThanComparison"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final GreaterThanComparison instance = + Jsonization.Deserialize.deserializeGreaterThanComparison(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testGreaterThanComparisonOk + + @Test + public void testGreaterThanComparisonDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final GreaterThanComparison unused = + Jsonization.Deserialize.deserializeGreaterThanComparison(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testGreaterThanComparisonDeserializationFromNonObjectFail + + @Test + public void testGreaterThanComparisonDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("GreaterThanComparison"); + + if (!Files.exists(clsDir)) { + // No examples of GreaterThanComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final GreaterThanComparison var = + Jsonization.Deserialize.deserializeGreaterThanComparison(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGreaterThanComparisonDeserializationFail + + @Test + public void testGreaterThanComparisonVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("GreaterThanComparison"); + + if (!Files.exists(clsDir)) { + // No examples of GreaterThanComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final GreaterThanComparison instance = + Jsonization.Deserialize.deserializeGreaterThanComparison(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGreaterThanComparisonVerificationFail + + @Test + public void testGreaterThanOrEqualComparisonOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "GreaterThanOrEqualComparison"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final GreaterThanOrEqualComparison instance = + Jsonization.Deserialize.deserializeGreaterThanOrEqualComparison(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testGreaterThanOrEqualComparisonOk + + @Test + public void testGreaterThanOrEqualComparisonDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final GreaterThanOrEqualComparison unused = + Jsonization.Deserialize.deserializeGreaterThanOrEqualComparison(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testGreaterThanOrEqualComparisonDeserializationFromNonObjectFail + + @Test + public void testGreaterThanOrEqualComparisonDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("GreaterThanOrEqualComparison"); + + if (!Files.exists(clsDir)) { + // No examples of GreaterThanOrEqualComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final GreaterThanOrEqualComparison var = + Jsonization.Deserialize.deserializeGreaterThanOrEqualComparison(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGreaterThanOrEqualComparisonDeserializationFail + + @Test + public void testGreaterThanOrEqualComparisonVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("GreaterThanOrEqualComparison"); + + if (!Files.exists(clsDir)) { + // No examples of GreaterThanOrEqualComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final GreaterThanOrEqualComparison instance = + Jsonization.Deserialize.deserializeGreaterThanOrEqualComparison(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGreaterThanOrEqualComparisonVerificationFail + + @Test + public void testLessThanComparisonOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LessThanComparison"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final LessThanComparison instance = + Jsonization.Deserialize.deserializeLessThanComparison(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testLessThanComparisonOk + + @Test + public void testLessThanComparisonDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final LessThanComparison unused = Jsonization.Deserialize.deserializeLessThanComparison(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testLessThanComparisonDeserializationFromNonObjectFail + + @Test + public void testLessThanComparisonDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("LessThanComparison"); + + if (!Files.exists(clsDir)) { + // No examples of LessThanComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final LessThanComparison var = + Jsonization.Deserialize.deserializeLessThanComparison(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLessThanComparisonDeserializationFail + + @Test + public void testLessThanComparisonVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("LessThanComparison"); + + if (!Files.exists(clsDir)) { + // No examples of LessThanComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final LessThanComparison instance = + Jsonization.Deserialize.deserializeLessThanComparison(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLessThanComparisonVerificationFail + + @Test + public void testLessThanOrEqualComparisonOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LessThanOrEqualComparison"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final LessThanOrEqualComparison instance = + Jsonization.Deserialize.deserializeLessThanOrEqualComparison(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testLessThanOrEqualComparisonOk + + @Test + public void testLessThanOrEqualComparisonDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final LessThanOrEqualComparison unused = + Jsonization.Deserialize.deserializeLessThanOrEqualComparison(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testLessThanOrEqualComparisonDeserializationFromNonObjectFail + + @Test + public void testLessThanOrEqualComparisonDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("LessThanOrEqualComparison"); + + if (!Files.exists(clsDir)) { + // No examples of LessThanOrEqualComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final LessThanOrEqualComparison var = + Jsonization.Deserialize.deserializeLessThanOrEqualComparison(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLessThanOrEqualComparisonDeserializationFail + + @Test + public void testLessThanOrEqualComparisonVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("LessThanOrEqualComparison"); + + if (!Files.exists(clsDir)) { + // No examples of LessThanOrEqualComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final LessThanOrEqualComparison instance = + Jsonization.Deserialize.deserializeLessThanOrEqualComparison(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLessThanOrEqualComparisonVerificationFail + + @Test + public void testContainsComparisonOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ContainsComparison"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final ContainsComparison instance = + Jsonization.Deserialize.deserializeContainsComparison(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testContainsComparisonOk + + @Test + public void testContainsComparisonDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final ContainsComparison unused = Jsonization.Deserialize.deserializeContainsComparison(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testContainsComparisonDeserializationFromNonObjectFail + + @Test + public void testContainsComparisonDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("ContainsComparison"); + + if (!Files.exists(clsDir)) { + // No examples of ContainsComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final ContainsComparison var = + Jsonization.Deserialize.deserializeContainsComparison(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testContainsComparisonDeserializationFail + + @Test + public void testContainsComparisonVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("ContainsComparison"); + + if (!Files.exists(clsDir)) { + // No examples of ContainsComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final ContainsComparison instance = + Jsonization.Deserialize.deserializeContainsComparison(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testContainsComparisonVerificationFail + + @Test + public void testStartsWithComparisonOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "StartsWithComparison"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final StartsWithComparison instance = + Jsonization.Deserialize.deserializeStartsWithComparison(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testStartsWithComparisonOk + + @Test + public void testStartsWithComparisonDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final StartsWithComparison unused = + Jsonization.Deserialize.deserializeStartsWithComparison(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testStartsWithComparisonDeserializationFromNonObjectFail + + @Test + public void testStartsWithComparisonDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("StartsWithComparison"); + + if (!Files.exists(clsDir)) { + // No examples of StartsWithComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final StartsWithComparison var = + Jsonization.Deserialize.deserializeStartsWithComparison(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testStartsWithComparisonDeserializationFail + + @Test + public void testStartsWithComparisonVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("StartsWithComparison"); + + if (!Files.exists(clsDir)) { + // No examples of StartsWithComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final StartsWithComparison instance = + Jsonization.Deserialize.deserializeStartsWithComparison(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testStartsWithComparisonVerificationFail + + @Test + public void testEndsWithComparisonOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "EndsWithComparison"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final EndsWithComparison instance = + Jsonization.Deserialize.deserializeEndsWithComparison(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testEndsWithComparisonOk + + @Test + public void testEndsWithComparisonDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final EndsWithComparison unused = Jsonization.Deserialize.deserializeEndsWithComparison(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testEndsWithComparisonDeserializationFromNonObjectFail + + @Test + public void testEndsWithComparisonDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("EndsWithComparison"); + + if (!Files.exists(clsDir)) { + // No examples of EndsWithComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final EndsWithComparison var = + Jsonization.Deserialize.deserializeEndsWithComparison(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEndsWithComparisonDeserializationFail + + @Test + public void testEndsWithComparisonVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("EndsWithComparison"); + + if (!Files.exists(clsDir)) { + // No examples of EndsWithComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final EndsWithComparison instance = + Jsonization.Deserialize.deserializeEndsWithComparison(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEndsWithComparisonVerificationFail + + @Test + public void testRegexComparisonOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "RegexComparison"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final RegexComparison instance = Jsonization.Deserialize.deserializeRegexComparison(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testRegexComparisonOk + + @Test + public void testRegexComparisonDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final RegexComparison unused = Jsonization.Deserialize.deserializeRegexComparison(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testRegexComparisonDeserializationFromNonObjectFail + + @Test + public void testRegexComparisonDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("RegexComparison"); + + if (!Files.exists(clsDir)) { + // No examples of RegexComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final RegexComparison var = Jsonization.Deserialize.deserializeRegexComparison(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testRegexComparisonDeserializationFail + + @Test + public void testRegexComparisonVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("RegexComparison"); + + if (!Files.exists(clsDir)) { + // No examples of RegexComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final RegexComparison instance = Jsonization.Deserialize.deserializeRegexComparison(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testRegexComparisonVerificationFail + + @Test + public void testMatchClauseOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "MatchClause"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final MatchClause instance = Jsonization.Deserialize.deserializeMatchClause(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testMatchClauseOk + + @Test + public void testMatchClauseDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final MatchClause unused = Jsonization.Deserialize.deserializeMatchClause(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testMatchClauseDeserializationFromNonObjectFail + + @Test + public void testMatchClauseDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("MatchClause"); + + if (!Files.exists(clsDir)) { + // No examples of MatchClause for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final MatchClause var = Jsonization.Deserialize.deserializeMatchClause(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testMatchClauseDeserializationFail + + @Test + public void testMatchClauseVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("MatchClause"); + + if (!Files.exists(clsDir)) { + // No examples of MatchClause for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final MatchClause instance = Jsonization.Deserialize.deserializeMatchClause(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testMatchClauseVerificationFail + + @Test + public void testAndExpressionOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AndExpression"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final AndExpression instance = Jsonization.Deserialize.deserializeAndExpression(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testAndExpressionOk + + @Test + public void testAndExpressionDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final AndExpression unused = Jsonization.Deserialize.deserializeAndExpression(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testAndExpressionDeserializationFromNonObjectFail + + @Test + public void testAndExpressionDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("AndExpression"); + + if (!Files.exists(clsDir)) { + // No examples of AndExpression for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final AndExpression var = Jsonization.Deserialize.deserializeAndExpression(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAndExpressionDeserializationFail + + @Test + public void testAndExpressionVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("AndExpression"); + + if (!Files.exists(clsDir)) { + // No examples of AndExpression for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final AndExpression instance = Jsonization.Deserialize.deserializeAndExpression(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAndExpressionVerificationFail + + @Test + public void testOrExpressionOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OrExpression"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final OrExpression instance = Jsonization.Deserialize.deserializeOrExpression(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testOrExpressionOk + + @Test + public void testOrExpressionDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final OrExpression unused = Jsonization.Deserialize.deserializeOrExpression(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testOrExpressionDeserializationFromNonObjectFail + + @Test + public void testOrExpressionDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("OrExpression"); + + if (!Files.exists(clsDir)) { + // No examples of OrExpression for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final OrExpression var = Jsonization.Deserialize.deserializeOrExpression(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOrExpressionDeserializationFail + + @Test + public void testOrExpressionVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("OrExpression"); + + if (!Files.exists(clsDir)) { + // No examples of OrExpression for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final OrExpression instance = Jsonization.Deserialize.deserializeOrExpression(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOrExpressionVerificationFail + + @Test + public void testNotExpressionOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "NotExpression"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final NotExpression instance = Jsonization.Deserialize.deserializeNotExpression(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testNotExpressionOk + + @Test + public void testNotExpressionDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final NotExpression unused = Jsonization.Deserialize.deserializeNotExpression(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testNotExpressionDeserializationFromNonObjectFail + + @Test + public void testNotExpressionDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("NotExpression"); + + if (!Files.exists(clsDir)) { + // No examples of NotExpression for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final NotExpression var = Jsonization.Deserialize.deserializeNotExpression(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testNotExpressionDeserializationFail + + @Test + public void testNotExpressionVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("NotExpression"); + + if (!Files.exists(clsDir)) { + // No examples of NotExpression for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final NotExpression instance = Jsonization.Deserialize.deserializeNotExpression(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testNotExpressionVerificationFail + + @Test + public void testQueryFilterOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "QueryFilter"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final QueryFilter instance = Jsonization.Deserialize.deserializeQueryFilter(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testQueryFilterOk + + @Test + public void testQueryFilterDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final QueryFilter unused = Jsonization.Deserialize.deserializeQueryFilter(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testQueryFilterDeserializationFromNonObjectFail + + @Test + public void testQueryFilterDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("QueryFilter"); + + if (!Files.exists(clsDir)) { + // No examples of QueryFilter for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final QueryFilter var = Jsonization.Deserialize.deserializeQueryFilter(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testQueryFilterDeserializationFail + + @Test + public void testQueryFilterVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("QueryFilter"); + + if (!Files.exists(clsDir)) { + // No examples of QueryFilter for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final QueryFilter instance = Jsonization.Deserialize.deserializeQueryFilter(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testQueryFilterVerificationFail + + @Test + public void testQueryOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Query"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Query instance = Jsonization.Deserialize.deserializeQuery(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testQueryOk + + @Test + public void testQueryDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Query unused = Jsonization.Deserialize.deserializeQuery(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testQueryDeserializationFromNonObjectFail + + @Test + public void testQueryDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Query"); + + if (!Files.exists(clsDir)) { + // No examples of Query for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Query var = Jsonization.Deserialize.deserializeQuery(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testQueryDeserializationFail + + @Test + public void testQueryVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Query"); + + if (!Files.exists(clsDir)) { + // No examples of Query for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Query instance = Jsonization.Deserialize.deserializeQuery(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testQueryVerificationFail + + private static JsonNode loadTheFirstExpected(String modelType) throws IOException { + final List paths = + Common.findPaths(Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", modelType), ".json"); + + if (paths.isEmpty()) { + fail("Expected at least one recorded example of " + modelType + ", but got none"); + } + + return CommonJson.readFromFile(paths.get(0)); + } + + /** Render the verification errors of {@code instance} as {@code "path: cause"}. */ + private static List verificationErrors(IClass instance) { + final List result = new ArrayList<>(); + for (Reporting.Error error : Verification.verify(instance)) { + result.add(Reporting.generateJsonPath(error.getPathSegments()) + ": " + error.getCause()); + } + return result; + } + + /** + * Serialize {@code instance} to JSON, and give the reason why it failed, or null if it did not. + */ + private static String jsonSerializationFailure(IClass instance) { + try { + Jsonization.Serialize.toJsonObject(instance); + return null; + } catch (Jsonization.SerializeException exception) { + return exception.getReason().orElse(null); + } + } + + /** + * Serialize {@code instance} to XML, and give the reason why it failed, or null if it did not. + */ + private static String xmlSerializationFailure(IClass instance) throws XMLStreamException { + final XMLStreamWriter writer = + XMLOutputFactory.newFactory().createXMLStreamWriter(new StringWriter()); + try { + Xmlization.Serialize.to(instance, writer); + return null; + } catch (XmlCommon.SerializeException exception) { + return exception.getReason().orElse(null); + } + } + + /** + * Assert that neither the verification nor the serializations refuse an integer of {@code + * instance} as outside the safe integer range. + */ + private static void assertNoSafeIntegerError(IClass instance) throws XMLStreamException { + for (String error : verificationErrors(instance)) { + if (error.contains("outside the safe integer range")) { + fail("Expected no safe integer error, but got: " + error); + } + } + + assertNull(jsonSerializationFailure(instance)); + assertNull(xmlSerializationFailure(instance)); + } + + @Test + public void testIsSafeInteger() { + assertTrue(Verification.isSafeInteger(9007199254740991L)); + assertTrue(Verification.isSafeInteger(-9007199254740991L)); + assertFalse(Verification.isSafeInteger(9007199254740992L)); + assertFalse(Verification.isSafeInteger(-9007199254740992L)); + + assertTrue(Verification.isSafeInteger(9007199254740991.0)); + assertTrue(Verification.isSafeInteger(-9007199254740991.0)); + assertFalse(Verification.isSafeInteger(9007199254740992.0)); + assertFalse(Verification.isSafeInteger(-9007199254740992.0)); + + assertTrue(Verification.isSafeInteger(BigInteger.valueOf(9007199254740991L))); + assertTrue(Verification.isSafeInteger(BigInteger.valueOf(-9007199254740991L))); + assertFalse(Verification.isSafeInteger(BigInteger.valueOf(9007199254740992L))); + assertFalse(Verification.isSafeInteger(BigInteger.valueOf(-9007199254740992L))); + assertFalse(Verification.isSafeInteger(BigInteger.ONE.shiftLeft(64))); + assertFalse(Verification.isSafeInteger(BigInteger.ONE.shiftLeft(64).negate())); + } // public void testIsSafeInteger + + @Test + public void testRangeValueMinSerializationNonfinite() throws IOException { + for (double value : + new double[] {Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NaN}) { + final RangeValue instance = + Jsonization.Deserialize.deserializeRangeValue(loadTheFirstExpected("RangeValue")); + + instance.setMin(value); + + try { + Jsonization.Serialize.toJsonObject(instance); + fail("Expected the serialization to fail at " + "getMin()" + ", but it succeeded"); + } catch (Jsonization.SerializeException exception) { + assertEquals("getMin()", exception.getPath().orElse(null)); + } + } + } // public void testRangeValueMinSerializationNonfinite + + @Test + public void testRangeValueMaxSerializationNonfinite() throws IOException { + for (double value : + new double[] {Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NaN}) { + final RangeValue instance = + Jsonization.Deserialize.deserializeRangeValue(loadTheFirstExpected("RangeValue")); + + instance.setMax(value); + + try { + Jsonization.Serialize.toJsonObject(instance); + fail("Expected the serialization to fail at " + "getMax()" + ", but it succeeded"); + } catch (Jsonization.SerializeException exception) { + assertEquals("getMax()", exception.getPath().orElse(null)); + } + } + } // public void testRangeValueMaxSerializationNonfinite + + @Test + public void testNumberLiteralNumValSerializationNonfinite() throws IOException { + for (double value : + new double[] {Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NaN}) { + final NumberLiteral instance = + Jsonization.Deserialize.deserializeNumberLiteral(loadTheFirstExpected("NumberLiteral")); + + instance.setNumVal(value); + + try { + Jsonization.Serialize.toJsonObject(instance); + fail("Expected the serialization to fail at " + "getNumVal()" + ", but it succeeded"); + } catch (Jsonization.SerializeException exception) { + assertEquals("getNumVal()", exception.getPath().orElse(null)); + } + } + } // public void testNumberLiteralNumValSerializationNonfinite + + @Test + public void testJsonValueOutsideTheSafeIntegerRangeFails() { + final JsonNode[] nodes = + new JsonNode[] { + JsonNodeFactory.instance.numberNode(9007199254740992L), + JsonNodeFactory.instance.numberNode(-9007199254740992L), + JsonNodeFactory.instance.numberNode(BigInteger.ONE.shiftLeft(64)) + }; + + for (JsonNode node : nodes) { + final String expected = + "Expected a JSON-able value, but got the integer " + + node + + ", which is outside the safe integer range [-2^53 + 1, 2^53 - 1]"; + + final List got = new ArrayList<>(); + Verification.verifyJsonValue(node).forEach(error -> got.add(error.getCause())); + assertEquals(Arrays.asList(expected), got); + + try { + Jsonization.Deserialize.deserializeJsonValue(node); + fail("Expected the de-serialization of " + node + " to fail, but it succeeded"); + } catch (Jsonization.DeserializeException exception) { + assertEquals(expected, exception.getReason().orElse(null)); + } + + try { + Jsonization.Serialize.jsonValueToJsonNode(node); + fail("Expected the serialization of " + node + " to fail, but it succeeded"); + } catch (Jsonization.SerializeException exception) { + assertEquals(expected, exception.getReason().orElse(null)); + } + } + } // public void testJsonValueOutsideTheSafeIntegerRangeFails + + @Test + public void testJsonValueAtTheSafeIntegerBoundsOk() { + for (long value : new long[] {9007199254740991L, -9007199254740991L}) { + final JsonNode node = JsonNodeFactory.instance.numberNode(value); + + assertEquals(0L, Verification.verifyJsonValue(node).count()); + + assertEquals(node, Jsonization.Deserialize.deserializeJsonValue(node)); + + assertEquals(node, Jsonization.Serialize.jsonValueToJsonNode(node)); + } + } // public void testJsonValueAtTheSafeIntegerBoundsOk +} // class TestJsonizationOfConcreteClasses + +// package aas_core.aas3_2.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestJsonizationOfEnums.java b/src/test/java/TestJsonizationOfEnums.java new file mode 100644 index 00000000..cfe38e7f --- /dev/null +++ b/src/test/java/TestJsonizationOfEnums.java @@ -0,0 +1,288 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +import aas_core.aas3_2.jsonization.Jsonization; +import aas_core.aas3_2.types.enums.*; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.JsonNodeFactory; +import org.junit.jupiter.api.Test; + +public class TestJsonizationOfEnums { + @Test + public void testRoundTripModellingKind() { + final JsonNode node = JsonNodeFactory.instance.textNode("Template"); + + final ModellingKind parsed = Jsonization.Deserialize.deserializeModellingKind(node); + + final JsonNode serialized = Jsonization.Serialize.modellingKindToJsonValue(parsed); + + assertEquals("\"Template\"", serialized.toString()); + } // void testRoundTripModellingKind + + @Test + public void testRoundTripQualifierKind() { + final JsonNode node = JsonNodeFactory.instance.textNode("ValueQualifier"); + + final QualifierKind parsed = Jsonization.Deserialize.deserializeQualifierKind(node); + + final JsonNode serialized = Jsonization.Serialize.qualifierKindToJsonValue(parsed); + + assertEquals("\"ValueQualifier\"", serialized.toString()); + } // void testRoundTripQualifierKind + + @Test + public void testRoundTripAssetKind() { + final JsonNode node = JsonNodeFactory.instance.textNode("Type"); + + final AssetKind parsed = Jsonization.Deserialize.deserializeAssetKind(node); + + final JsonNode serialized = Jsonization.Serialize.assetKindToJsonValue(parsed); + + assertEquals("\"Type\"", serialized.toString()); + } // void testRoundTripAssetKind + + @Test + public void testRoundTripAasSubmodelElements() { + final JsonNode node = JsonNodeFactory.instance.textNode("AnnotatedRelationshipElement"); + + final AasSubmodelElements parsed = Jsonization.Deserialize.deserializeAasSubmodelElements(node); + + final JsonNode serialized = Jsonization.Serialize.aasSubmodelElementsToJsonValue(parsed); + + assertEquals("\"AnnotatedRelationshipElement\"", serialized.toString()); + } // void testRoundTripAasSubmodelElements + + @Test + public void testRoundTripEntityType() { + final JsonNode node = JsonNodeFactory.instance.textNode("CoManagedEntity"); + + final EntityType parsed = Jsonization.Deserialize.deserializeEntityType(node); + + final JsonNode serialized = Jsonization.Serialize.entityTypeToJsonValue(parsed); + + assertEquals("\"CoManagedEntity\"", serialized.toString()); + } // void testRoundTripEntityType + + @Test + public void testRoundTripDirection() { + final JsonNode node = JsonNodeFactory.instance.textNode("input"); + + final Direction parsed = Jsonization.Deserialize.deserializeDirection(node); + + final JsonNode serialized = Jsonization.Serialize.directionToJsonValue(parsed); + + assertEquals("\"input\"", serialized.toString()); + } // void testRoundTripDirection + + @Test + public void testRoundTripStateOfEvent() { + final JsonNode node = JsonNodeFactory.instance.textNode("on"); + + final StateOfEvent parsed = Jsonization.Deserialize.deserializeStateOfEvent(node); + + final JsonNode serialized = Jsonization.Serialize.stateOfEventToJsonValue(parsed); + + assertEquals("\"on\"", serialized.toString()); + } // void testRoundTripStateOfEvent + + @Test + public void testRoundTripReferenceTypes() { + final JsonNode node = JsonNodeFactory.instance.textNode("ExternalReference"); + + final ReferenceTypes parsed = Jsonization.Deserialize.deserializeReferenceTypes(node); + + final JsonNode serialized = Jsonization.Serialize.referenceTypesToJsonValue(parsed); + + assertEquals("\"ExternalReference\"", serialized.toString()); + } // void testRoundTripReferenceTypes + + @Test + public void testRoundTripKeyTypes() { + final JsonNode node = JsonNodeFactory.instance.textNode("AnnotatedRelationshipElement"); + + final KeyTypes parsed = Jsonization.Deserialize.deserializeKeyTypes(node); + + final JsonNode serialized = Jsonization.Serialize.keyTypesToJsonValue(parsed); + + assertEquals("\"AnnotatedRelationshipElement\"", serialized.toString()); + } // void testRoundTripKeyTypes + + @Test + public void testRoundTripDataTypeDefXsd() { + final JsonNode node = JsonNodeFactory.instance.textNode("xs:anyURI"); + + final DataTypeDefXsd parsed = Jsonization.Deserialize.deserializeDataTypeDefXsd(node); + + final JsonNode serialized = Jsonization.Serialize.dataTypeDefXsdToJsonValue(parsed); + + assertEquals("\"xs:anyURI\"", serialized.toString()); + } // void testRoundTripDataTypeDefXsd + + @Test + public void testRoundTripDataTypeIec61360() { + final JsonNode node = JsonNodeFactory.instance.textNode("DATE"); + + final DataTypeIec61360 parsed = Jsonization.Deserialize.deserializeDataTypeIec61360(node); + + final JsonNode serialized = Jsonization.Serialize.dataTypeIec61360ToJsonValue(parsed); + + assertEquals("\"DATE\"", serialized.toString()); + } // void testRoundTripDataTypeIec61360 + + @Test + public void testRoundTripSerializationFormat() { + final JsonNode node = JsonNodeFactory.instance.textNode("application/json"); + + final SerializationFormat parsed = Jsonization.Deserialize.deserializeSerializationFormat(node); + + final JsonNode serialized = Jsonization.Serialize.serializationFormatToJsonValue(parsed); + + assertEquals("\"application/json\"", serialized.toString()); + } // void testRoundTripSerializationFormat + + @Test + public void testRoundTripSecurityTypeEnum() { + final JsonNode node = JsonNodeFactory.instance.textNode("NONE"); + + final SecurityTypeEnum parsed = Jsonization.Deserialize.deserializeSecurityTypeEnum(node); + + final JsonNode serialized = Jsonization.Serialize.securityTypeEnumToJsonValue(parsed); + + assertEquals("\"NONE\"", serialized.toString()); + } // void testRoundTripSecurityTypeEnum + + @Test + public void testRoundTripServiceSpecificationProfileEnum() { + final JsonNode node = + JsonNodeFactory.instance.textNode( + "https://admin-shell.io/aas/API/3/0/AssetAdministrationShellServiceSpecification/SSP-001"); + + final ServiceSpecificationProfileEnum parsed = + Jsonization.Deserialize.deserializeServiceSpecificationProfileEnum(node); + + final JsonNode serialized = + Jsonization.Serialize.serviceSpecificationProfileEnumToJsonValue(parsed); + + assertEquals( + "\"https://admin-shell.io/aas/API/3/0/AssetAdministrationShellServiceSpecification/SSP-001\"", + serialized.toString()); + } // void testRoundTripServiceSpecificationProfileEnum + + @Test + public void testRoundTripStatusCode() { + final JsonNode node = JsonNodeFactory.instance.textNode("Success"); + + final StatusCode parsed = Jsonization.Deserialize.deserializeStatusCode(node); + + final JsonNode serialized = Jsonization.Serialize.statusCodeToJsonValue(parsed); + + assertEquals("\"Success\"", serialized.toString()); + } // void testRoundTripStatusCode + + @Test + public void testRoundTripMessageTypeEnum() { + final JsonNode node = JsonNodeFactory.instance.textNode("Undefined"); + + final MessageTypeEnum parsed = Jsonization.Deserialize.deserializeMessageTypeEnum(node); + + final JsonNode serialized = Jsonization.Serialize.messageTypeEnumToJsonValue(parsed); + + assertEquals("\"Undefined\"", serialized.toString()); + } // void testRoundTripMessageTypeEnum + + @Test + public void testRoundTripExecutionState() { + final JsonNode node = JsonNodeFactory.instance.textNode("Initiated"); + + final ExecutionState parsed = Jsonization.Deserialize.deserializeExecutionState(node); + + final JsonNode serialized = Jsonization.Serialize.executionStateToJsonValue(parsed); + + assertEquals("\"Initiated\"", serialized.toString()); + } // void testRoundTripExecutionState + + @Test + public void testRoundTripLevel() { + final JsonNode node = JsonNodeFactory.instance.textNode("deep"); + + final Level parsed = Jsonization.Deserialize.deserializeLevel(node); + + final JsonNode serialized = Jsonization.Serialize.levelToJsonValue(parsed); + + assertEquals("\"deep\"", serialized.toString()); + } // void testRoundTripLevel + + @Test + public void testRoundTripContent() { + final JsonNode node = JsonNodeFactory.instance.textNode("Normal"); + + final Content parsed = Jsonization.Deserialize.deserializeContent(node); + + final JsonNode serialized = Jsonization.Serialize.contentToJsonValue(parsed); + + assertEquals("\"Normal\"", serialized.toString()); + } // void testRoundTripContent + + @Test + public void testRoundTripExtent() { + final JsonNode node = JsonNodeFactory.instance.textNode("withoutBlobValue"); + + final Extent parsed = Jsonization.Deserialize.deserializeExtent(node); + + final JsonNode serialized = Jsonization.Serialize.extentToJsonValue(parsed); + + assertEquals("\"withoutBlobValue\"", serialized.toString()); + } // void testRoundTripExtent + + @Test + public void testRoundTripGlobalAttributeKind() { + final JsonNode node = JsonNodeFactory.instance.textNode("LOCALNOW"); + + final GlobalAttributeKind parsed = Jsonization.Deserialize.deserializeGlobalAttributeKind(node); + + final JsonNode serialized = Jsonization.Serialize.globalAttributeKindToJsonValue(parsed); + + assertEquals("\"LOCALNOW\"", serialized.toString()); + } // void testRoundTripGlobalAttributeKind + + @Test + public void testRoundTripDateTimeGlobalAttributeKind() { + final JsonNode node = JsonNodeFactory.instance.textNode("LOCALNOW"); + + final DateTimeGlobalAttributeKind parsed = + Jsonization.Deserialize.deserializeDateTimeGlobalAttributeKind(node); + + final JsonNode serialized = + Jsonization.Serialize.dateTimeGlobalAttributeKindToJsonValue(parsed); + + assertEquals("\"LOCALNOW\"", serialized.toString()); + } // void testRoundTripDateTimeGlobalAttributeKind + + @Test + public void testRoundTripQuerySelect() { + final JsonNode node = JsonNodeFactory.instance.textNode("id"); + + final QuerySelect parsed = Jsonization.Deserialize.deserializeQuerySelect(node); + + final JsonNode serialized = Jsonization.Serialize.querySelectToJsonValue(parsed); + + assertEquals("\"id\"", serialized.toString()); + } // void testRoundTripQuerySelect +} // class TestJsonizationOfEnums + +// package aas_core.aas3_2.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestJsonizationOfInterfaces.java b/src/test/java/TestJsonizationOfInterfaces.java new file mode 100644 index 00000000..569bdae6 --- /dev/null +++ b/src/test/java/TestJsonizationOfInterfaces.java @@ -0,0 +1,3626 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +import aas_core.aas3_2.jsonization.Jsonization; +import aas_core.aas3_2.reporting.*; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import java.io.IOException; +import org.junit.jupiter.api.Test; + +public class TestJsonizationOfInterfaces { + @Test + public void testRoundTripIHasSemanticsFromRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromRelationshipElement + + @Test + public void testRoundTripIHasSemanticsFromAnnotatedRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIHasSemanticsFromAnnotatedRelationshipElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AnnotatedRelationshipElementMetadata instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromAnnotatedRelationshipElementMetadata + + @Test + public void testRoundTripIHasSemanticsFromBasicEventElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromBasicEventElement + + @Test + public void testRoundTripIHasSemanticsFromBasicEventElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BasicEventElementMetadata instance = CommonJsonization.loadMaximalBasicEventElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromBasicEventElementMetadata + + @Test + public void testRoundTripIHasSemanticsFromBlob() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Blob instance = CommonJsonization.loadMaximalBlob(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromBlob + + @Test + public void testRoundTripIHasSemanticsFromBlobMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BlobMetadata instance = CommonJsonization.loadMaximalBlobMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromBlobMetadata + + @Test + public void testRoundTripIHasSemanticsFromCapability() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Capability instance = CommonJsonization.loadMaximalCapability(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromCapability + + @Test + public void testRoundTripIHasSemanticsFromCapabilityMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + CapabilityMetadata instance = CommonJsonization.loadMaximalCapabilityMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromCapabilityMetadata + + @Test + public void testRoundTripIHasSemanticsFromEntity() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Entity instance = CommonJsonization.loadMaximalEntity(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromEntity + + @Test + public void testRoundTripIHasSemanticsFromEntityMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + EntityMetadata instance = CommonJsonization.loadMaximalEntityMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromEntityMetadata + + @Test + public void testRoundTripIHasSemanticsFromFile() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + File instance = CommonJsonization.loadMaximalFile(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromFile + + @Test + public void testRoundTripIHasSemanticsFromFileMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + FileMetadata instance = CommonJsonization.loadMaximalFileMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromFileMetadata + + @Test + public void testRoundTripIHasSemanticsFromMultiLanguageProperty() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromMultiLanguageProperty + + @Test + public void testRoundTripIHasSemanticsFromMultiLanguagePropertyMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + MultiLanguagePropertyMetadata instance = + CommonJsonization.loadMaximalMultiLanguagePropertyMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromMultiLanguagePropertyMetadata + + @Test + public void testRoundTripIHasSemanticsFromOperation() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Operation instance = CommonJsonization.loadMaximalOperation(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromOperation + + @Test + public void testRoundTripIHasSemanticsFromOperationMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + OperationMetadata instance = CommonJsonization.loadMaximalOperationMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromOperationMetadata + + @Test + public void testRoundTripIHasSemanticsFromProperty() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Property instance = CommonJsonization.loadMaximalProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromProperty + + @Test + public void testRoundTripIHasSemanticsFromPropertyMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + PropertyMetadata instance = CommonJsonization.loadMaximalPropertyMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromPropertyMetadata + + @Test + public void testRoundTripIHasSemanticsFromRange() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Range instance = CommonJsonization.loadMaximalRange(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromRange + + @Test + public void testRoundTripIHasSemanticsFromRangeMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RangeMetadata instance = CommonJsonization.loadMaximalRangeMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromRangeMetadata + + @Test + public void testRoundTripIHasSemanticsFromReferenceElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromReferenceElement + + @Test + public void testRoundTripIHasSemanticsFromReferenceElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ReferenceElementMetadata instance = CommonJsonization.loadMaximalReferenceElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromReferenceElementMetadata + + @Test + public void testRoundTripIHasSemanticsFromRelationshipElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RelationshipElementMetadata instance = + CommonJsonization.loadMaximalRelationshipElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromRelationshipElementMetadata + + @Test + public void testRoundTripIHasSemanticsFromSubmodel() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Submodel instance = CommonJsonization.loadMaximalSubmodel(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromSubmodel + + @Test + public void testRoundTripIHasSemanticsFromSubmodelElementCollection() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementCollection instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromSubmodelElementCollection + + @Test + public void testRoundTripIHasSemanticsFromSubmodelElementCollectionMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementCollectionMetadata instance = + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromSubmodelElementCollectionMetadata + + @Test + public void testRoundTripIHasSemanticsFromSubmodelElementList() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromSubmodelElementList + + @Test + public void testRoundTripIHasSemanticsFromSubmodelElementListMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementListMetadata instance = + CommonJsonization.loadMaximalSubmodelElementListMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromSubmodelElementListMetadata + + @Test + public void testRoundTripIHasSemanticsFromSubmodelMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelMetadata instance = CommonJsonization.loadMaximalSubmodelMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromSubmodelMetadata + + @Test + public void testRoundTripIHasExtensionsFromRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromRelationshipElement + + @Test + public void testRoundTripIHasExtensionsFromAnnotatedRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIHasExtensionsFromAnnotatedRelationshipElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AnnotatedRelationshipElementMetadata instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromAnnotatedRelationshipElementMetadata + + @Test + public void testRoundTripIHasExtensionsFromAssetAdministrationShell() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AssetAdministrationShell instance = CommonJsonization.loadMaximalAssetAdministrationShell(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromAssetAdministrationShell + + @Test + public void testRoundTripIHasExtensionsFromAssetAdministrationShellMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AssetAdministrationShellMetadata instance = + CommonJsonization.loadMaximalAssetAdministrationShellMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromAssetAdministrationShellMetadata + + @Test + public void testRoundTripIHasExtensionsFromBasicEventElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromBasicEventElement + + @Test + public void testRoundTripIHasExtensionsFromBasicEventElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BasicEventElementMetadata instance = CommonJsonization.loadMaximalBasicEventElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromBasicEventElementMetadata + + @Test + public void testRoundTripIHasExtensionsFromBlob() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Blob instance = CommonJsonization.loadMaximalBlob(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromBlob + + @Test + public void testRoundTripIHasExtensionsFromBlobMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BlobMetadata instance = CommonJsonization.loadMaximalBlobMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromBlobMetadata + + @Test + public void testRoundTripIHasExtensionsFromCapability() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Capability instance = CommonJsonization.loadMaximalCapability(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromCapability + + @Test + public void testRoundTripIHasExtensionsFromCapabilityMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + CapabilityMetadata instance = CommonJsonization.loadMaximalCapabilityMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromCapabilityMetadata + + @Test + public void testRoundTripIHasExtensionsFromConceptDescription() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ConceptDescription instance = CommonJsonization.loadMaximalConceptDescription(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromConceptDescription + + @Test + public void testRoundTripIHasExtensionsFromEntity() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Entity instance = CommonJsonization.loadMaximalEntity(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromEntity + + @Test + public void testRoundTripIHasExtensionsFromEntityMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + EntityMetadata instance = CommonJsonization.loadMaximalEntityMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromEntityMetadata + + @Test + public void testRoundTripIHasExtensionsFromFile() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + File instance = CommonJsonization.loadMaximalFile(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromFile + + @Test + public void testRoundTripIHasExtensionsFromFileMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + FileMetadata instance = CommonJsonization.loadMaximalFileMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromFileMetadata + + @Test + public void testRoundTripIHasExtensionsFromMultiLanguageProperty() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromMultiLanguageProperty + + @Test + public void testRoundTripIHasExtensionsFromMultiLanguagePropertyMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + MultiLanguagePropertyMetadata instance = + CommonJsonization.loadMaximalMultiLanguagePropertyMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromMultiLanguagePropertyMetadata + + @Test + public void testRoundTripIHasExtensionsFromOperation() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Operation instance = CommonJsonization.loadMaximalOperation(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromOperation + + @Test + public void testRoundTripIHasExtensionsFromOperationMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + OperationMetadata instance = CommonJsonization.loadMaximalOperationMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromOperationMetadata + + @Test + public void testRoundTripIHasExtensionsFromProperty() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Property instance = CommonJsonization.loadMaximalProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromProperty + + @Test + public void testRoundTripIHasExtensionsFromPropertyMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + PropertyMetadata instance = CommonJsonization.loadMaximalPropertyMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromPropertyMetadata + + @Test + public void testRoundTripIHasExtensionsFromRange() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Range instance = CommonJsonization.loadMaximalRange(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromRange + + @Test + public void testRoundTripIHasExtensionsFromRangeMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RangeMetadata instance = CommonJsonization.loadMaximalRangeMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromRangeMetadata + + @Test + public void testRoundTripIHasExtensionsFromReferenceElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromReferenceElement + + @Test + public void testRoundTripIHasExtensionsFromReferenceElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ReferenceElementMetadata instance = CommonJsonization.loadMaximalReferenceElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromReferenceElementMetadata + + @Test + public void testRoundTripIHasExtensionsFromRelationshipElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RelationshipElementMetadata instance = + CommonJsonization.loadMaximalRelationshipElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromRelationshipElementMetadata + + @Test + public void testRoundTripIHasExtensionsFromSubmodel() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Submodel instance = CommonJsonization.loadMaximalSubmodel(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromSubmodel + + @Test + public void testRoundTripIHasExtensionsFromSubmodelElementCollection() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementCollection instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromSubmodelElementCollection + + @Test + public void testRoundTripIHasExtensionsFromSubmodelElementCollectionMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementCollectionMetadata instance = + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromSubmodelElementCollectionMetadata + + @Test + public void testRoundTripIHasExtensionsFromSubmodelElementList() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromSubmodelElementList + + @Test + public void testRoundTripIHasExtensionsFromSubmodelElementListMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementListMetadata instance = + CommonJsonization.loadMaximalSubmodelElementListMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromSubmodelElementListMetadata + + @Test + public void testRoundTripIHasExtensionsFromSubmodelMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelMetadata instance = CommonJsonization.loadMaximalSubmodelMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromSubmodelMetadata + + @Test + public void testRoundTripIReferableFromRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromRelationshipElement + + @Test + public void testRoundTripIReferableFromAnnotatedRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIReferableFromAnnotatedRelationshipElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AnnotatedRelationshipElementMetadata instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromAnnotatedRelationshipElementMetadata + + @Test + public void testRoundTripIReferableFromAssetAdministrationShell() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AssetAdministrationShell instance = CommonJsonization.loadMaximalAssetAdministrationShell(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromAssetAdministrationShell + + @Test + public void testRoundTripIReferableFromAssetAdministrationShellMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AssetAdministrationShellMetadata instance = + CommonJsonization.loadMaximalAssetAdministrationShellMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromAssetAdministrationShellMetadata + + @Test + public void testRoundTripIReferableFromBasicEventElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromBasicEventElement + + @Test + public void testRoundTripIReferableFromBasicEventElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BasicEventElementMetadata instance = CommonJsonization.loadMaximalBasicEventElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromBasicEventElementMetadata + + @Test + public void testRoundTripIReferableFromBlob() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Blob instance = CommonJsonization.loadMaximalBlob(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromBlob + + @Test + public void testRoundTripIReferableFromBlobMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BlobMetadata instance = CommonJsonization.loadMaximalBlobMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromBlobMetadata + + @Test + public void testRoundTripIReferableFromCapability() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Capability instance = CommonJsonization.loadMaximalCapability(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromCapability + + @Test + public void testRoundTripIReferableFromCapabilityMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + CapabilityMetadata instance = CommonJsonization.loadMaximalCapabilityMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromCapabilityMetadata + + @Test + public void testRoundTripIReferableFromConceptDescription() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ConceptDescription instance = CommonJsonization.loadMaximalConceptDescription(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromConceptDescription + + @Test + public void testRoundTripIReferableFromEntity() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Entity instance = CommonJsonization.loadMaximalEntity(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromEntity + + @Test + public void testRoundTripIReferableFromEntityMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + EntityMetadata instance = CommonJsonization.loadMaximalEntityMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromEntityMetadata + + @Test + public void testRoundTripIReferableFromFile() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + File instance = CommonJsonization.loadMaximalFile(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromFile + + @Test + public void testRoundTripIReferableFromFileMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + FileMetadata instance = CommonJsonization.loadMaximalFileMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromFileMetadata + + @Test + public void testRoundTripIReferableFromMultiLanguageProperty() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromMultiLanguageProperty + + @Test + public void testRoundTripIReferableFromMultiLanguagePropertyMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + MultiLanguagePropertyMetadata instance = + CommonJsonization.loadMaximalMultiLanguagePropertyMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromMultiLanguagePropertyMetadata + + @Test + public void testRoundTripIReferableFromOperation() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Operation instance = CommonJsonization.loadMaximalOperation(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromOperation + + @Test + public void testRoundTripIReferableFromOperationMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + OperationMetadata instance = CommonJsonization.loadMaximalOperationMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromOperationMetadata + + @Test + public void testRoundTripIReferableFromProperty() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Property instance = CommonJsonization.loadMaximalProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromProperty + + @Test + public void testRoundTripIReferableFromPropertyMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + PropertyMetadata instance = CommonJsonization.loadMaximalPropertyMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromPropertyMetadata + + @Test + public void testRoundTripIReferableFromRange() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Range instance = CommonJsonization.loadMaximalRange(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromRange + + @Test + public void testRoundTripIReferableFromRangeMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RangeMetadata instance = CommonJsonization.loadMaximalRangeMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromRangeMetadata + + @Test + public void testRoundTripIReferableFromReferenceElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromReferenceElement + + @Test + public void testRoundTripIReferableFromReferenceElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ReferenceElementMetadata instance = CommonJsonization.loadMaximalReferenceElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromReferenceElementMetadata + + @Test + public void testRoundTripIReferableFromRelationshipElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RelationshipElementMetadata instance = + CommonJsonization.loadMaximalRelationshipElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromRelationshipElementMetadata + + @Test + public void testRoundTripIReferableFromSubmodel() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Submodel instance = CommonJsonization.loadMaximalSubmodel(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromSubmodel + + @Test + public void testRoundTripIReferableFromSubmodelElementCollection() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementCollection instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromSubmodelElementCollection + + @Test + public void testRoundTripIReferableFromSubmodelElementCollectionMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementCollectionMetadata instance = + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromSubmodelElementCollectionMetadata + + @Test + public void testRoundTripIReferableFromSubmodelElementList() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromSubmodelElementList + + @Test + public void testRoundTripIReferableFromSubmodelElementListMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementListMetadata instance = + CommonJsonization.loadMaximalSubmodelElementListMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromSubmodelElementListMetadata + + @Test + public void testRoundTripIReferableFromSubmodelMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelMetadata instance = CommonJsonization.loadMaximalSubmodelMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromSubmodelMetadata + + @Test + public void testRoundTripIIdentifiableFromAssetAdministrationShell() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AssetAdministrationShell instance = CommonJsonization.loadMaximalAssetAdministrationShell(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IIdentifiable anotherInstance = Jsonization.Deserialize.deserializeIIdentifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIIdentifiableFromAssetAdministrationShell + + @Test + public void testRoundTripIIdentifiableFromAssetAdministrationShellMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AssetAdministrationShellMetadata instance = + CommonJsonization.loadMaximalAssetAdministrationShellMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IIdentifiable anotherInstance = Jsonization.Deserialize.deserializeIIdentifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIIdentifiableFromAssetAdministrationShellMetadata + + @Test + public void testRoundTripIIdentifiableFromConceptDescription() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ConceptDescription instance = CommonJsonization.loadMaximalConceptDescription(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IIdentifiable anotherInstance = Jsonization.Deserialize.deserializeIIdentifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIIdentifiableFromConceptDescription + + @Test + public void testRoundTripIIdentifiableFromSubmodel() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Submodel instance = CommonJsonization.loadMaximalSubmodel(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IIdentifiable anotherInstance = Jsonization.Deserialize.deserializeIIdentifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIIdentifiableFromSubmodel + + @Test + public void testRoundTripIIdentifiableFromSubmodelMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelMetadata instance = CommonJsonization.loadMaximalSubmodelMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IIdentifiable anotherInstance = Jsonization.Deserialize.deserializeIIdentifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIIdentifiableFromSubmodelMetadata + + @Test + public void testRoundTripIHasKindFromSubmodel() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Submodel instance = CommonJsonization.loadMaximalSubmodel(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasKind anotherInstance = Jsonization.Deserialize.deserializeIHasKind(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasKindFromSubmodel + + @Test + public void testRoundTripIHasKindFromSubmodelMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelMetadata instance = CommonJsonization.loadMaximalSubmodelMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasKind anotherInstance = Jsonization.Deserialize.deserializeIHasKind(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasKindFromSubmodelMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromRelationshipElement + + @Test + public void testRoundTripIHasDataSpecificationFromAnnotatedRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIHasDataSpecificationFromAnnotatedRelationshipElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AnnotatedRelationshipElementMetadata instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromAnnotatedRelationshipElementMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromAssetAdministrationShell() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AssetAdministrationShell instance = CommonJsonization.loadMaximalAssetAdministrationShell(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromAssetAdministrationShell + + @Test + public void testRoundTripIHasDataSpecificationFromAssetAdministrationShellMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AssetAdministrationShellMetadata instance = + CommonJsonization.loadMaximalAssetAdministrationShellMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromAssetAdministrationShellMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromBasicEventElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromBasicEventElement + + @Test + public void testRoundTripIHasDataSpecificationFromBasicEventElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BasicEventElementMetadata instance = CommonJsonization.loadMaximalBasicEventElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromBasicEventElementMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromBlob() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Blob instance = CommonJsonization.loadMaximalBlob(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromBlob + + @Test + public void testRoundTripIHasDataSpecificationFromBlobMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BlobMetadata instance = CommonJsonization.loadMaximalBlobMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromBlobMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromCapability() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Capability instance = CommonJsonization.loadMaximalCapability(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromCapability + + @Test + public void testRoundTripIHasDataSpecificationFromCapabilityMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + CapabilityMetadata instance = CommonJsonization.loadMaximalCapabilityMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromCapabilityMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromConceptDescription() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ConceptDescription instance = CommonJsonization.loadMaximalConceptDescription(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromConceptDescription + + @Test + public void testRoundTripIHasDataSpecificationFromEntity() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Entity instance = CommonJsonization.loadMaximalEntity(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromEntity + + @Test + public void testRoundTripIHasDataSpecificationFromEntityMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + EntityMetadata instance = CommonJsonization.loadMaximalEntityMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromEntityMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromFile() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + File instance = CommonJsonization.loadMaximalFile(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromFile + + @Test + public void testRoundTripIHasDataSpecificationFromFileMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + FileMetadata instance = CommonJsonization.loadMaximalFileMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromFileMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromMultiLanguageProperty() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromMultiLanguageProperty + + @Test + public void testRoundTripIHasDataSpecificationFromMultiLanguagePropertyMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + MultiLanguagePropertyMetadata instance = + CommonJsonization.loadMaximalMultiLanguagePropertyMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromMultiLanguagePropertyMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromOperation() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Operation instance = CommonJsonization.loadMaximalOperation(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromOperation + + @Test + public void testRoundTripIHasDataSpecificationFromOperationMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + OperationMetadata instance = CommonJsonization.loadMaximalOperationMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromOperationMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromProperty() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Property instance = CommonJsonization.loadMaximalProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromProperty + + @Test + public void testRoundTripIHasDataSpecificationFromPropertyMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + PropertyMetadata instance = CommonJsonization.loadMaximalPropertyMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromPropertyMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromRange() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Range instance = CommonJsonization.loadMaximalRange(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromRange + + @Test + public void testRoundTripIHasDataSpecificationFromRangeMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RangeMetadata instance = CommonJsonization.loadMaximalRangeMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromRangeMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromReferenceElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromReferenceElement + + @Test + public void testRoundTripIHasDataSpecificationFromReferenceElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ReferenceElementMetadata instance = CommonJsonization.loadMaximalReferenceElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromReferenceElementMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromRelationshipElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RelationshipElementMetadata instance = + CommonJsonization.loadMaximalRelationshipElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromRelationshipElementMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromSubmodel() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Submodel instance = CommonJsonization.loadMaximalSubmodel(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromSubmodel + + @Test + public void testRoundTripIHasDataSpecificationFromSubmodelElementCollection() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementCollection instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromSubmodelElementCollection + + @Test + public void testRoundTripIHasDataSpecificationFromSubmodelElementCollectionMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementCollectionMetadata instance = + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromSubmodelElementCollectionMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromSubmodelElementList() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromSubmodelElementList + + @Test + public void testRoundTripIHasDataSpecificationFromSubmodelElementListMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementListMetadata instance = + CommonJsonization.loadMaximalSubmodelElementListMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromSubmodelElementListMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromSubmodelMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelMetadata instance = CommonJsonization.loadMaximalSubmodelMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromSubmodelMetadata + + @Test + public void testRoundTripIQualifiableFromRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromRelationshipElement + + @Test + public void testRoundTripIQualifiableFromAnnotatedRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIQualifiableFromAnnotatedRelationshipElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AnnotatedRelationshipElementMetadata instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromAnnotatedRelationshipElementMetadata + + @Test + public void testRoundTripIQualifiableFromBasicEventElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromBasicEventElement + + @Test + public void testRoundTripIQualifiableFromBasicEventElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BasicEventElementMetadata instance = CommonJsonization.loadMaximalBasicEventElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromBasicEventElementMetadata + + @Test + public void testRoundTripIQualifiableFromBlob() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Blob instance = CommonJsonization.loadMaximalBlob(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromBlob + + @Test + public void testRoundTripIQualifiableFromBlobMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BlobMetadata instance = CommonJsonization.loadMaximalBlobMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromBlobMetadata + + @Test + public void testRoundTripIQualifiableFromCapability() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Capability instance = CommonJsonization.loadMaximalCapability(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromCapability + + @Test + public void testRoundTripIQualifiableFromCapabilityMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + CapabilityMetadata instance = CommonJsonization.loadMaximalCapabilityMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromCapabilityMetadata + + @Test + public void testRoundTripIQualifiableFromEntity() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Entity instance = CommonJsonization.loadMaximalEntity(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromEntity + + @Test + public void testRoundTripIQualifiableFromEntityMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + EntityMetadata instance = CommonJsonization.loadMaximalEntityMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromEntityMetadata + + @Test + public void testRoundTripIQualifiableFromFile() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + File instance = CommonJsonization.loadMaximalFile(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromFile + + @Test + public void testRoundTripIQualifiableFromFileMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + FileMetadata instance = CommonJsonization.loadMaximalFileMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromFileMetadata + + @Test + public void testRoundTripIQualifiableFromMultiLanguageProperty() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromMultiLanguageProperty + + @Test + public void testRoundTripIQualifiableFromMultiLanguagePropertyMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + MultiLanguagePropertyMetadata instance = + CommonJsonization.loadMaximalMultiLanguagePropertyMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromMultiLanguagePropertyMetadata + + @Test + public void testRoundTripIQualifiableFromOperation() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Operation instance = CommonJsonization.loadMaximalOperation(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromOperation + + @Test + public void testRoundTripIQualifiableFromOperationMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + OperationMetadata instance = CommonJsonization.loadMaximalOperationMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromOperationMetadata + + @Test + public void testRoundTripIQualifiableFromProperty() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Property instance = CommonJsonization.loadMaximalProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromProperty + + @Test + public void testRoundTripIQualifiableFromPropertyMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + PropertyMetadata instance = CommonJsonization.loadMaximalPropertyMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromPropertyMetadata + + @Test + public void testRoundTripIQualifiableFromRange() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Range instance = CommonJsonization.loadMaximalRange(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromRange + + @Test + public void testRoundTripIQualifiableFromRangeMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RangeMetadata instance = CommonJsonization.loadMaximalRangeMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromRangeMetadata + + @Test + public void testRoundTripIQualifiableFromReferenceElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromReferenceElement + + @Test + public void testRoundTripIQualifiableFromReferenceElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ReferenceElementMetadata instance = CommonJsonization.loadMaximalReferenceElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromReferenceElementMetadata + + @Test + public void testRoundTripIQualifiableFromRelationshipElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RelationshipElementMetadata instance = + CommonJsonization.loadMaximalRelationshipElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromRelationshipElementMetadata + + @Test + public void testRoundTripIQualifiableFromSubmodel() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Submodel instance = CommonJsonization.loadMaximalSubmodel(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromSubmodel + + @Test + public void testRoundTripIQualifiableFromSubmodelElementCollection() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementCollection instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromSubmodelElementCollection + + @Test + public void testRoundTripIQualifiableFromSubmodelElementCollectionMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementCollectionMetadata instance = + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromSubmodelElementCollectionMetadata + + @Test + public void testRoundTripIQualifiableFromSubmodelElementList() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromSubmodelElementList + + @Test + public void testRoundTripIQualifiableFromSubmodelElementListMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementListMetadata instance = + CommonJsonization.loadMaximalSubmodelElementListMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromSubmodelElementListMetadata + + @Test + public void testRoundTripIQualifiableFromSubmodelMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelMetadata instance = CommonJsonization.loadMaximalSubmodelMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromSubmodelMetadata + + @Test + public void testRoundTripISubmodelElementFromRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromRelationshipElement + + @Test + public void testRoundTripISubmodelElementFromAnnotatedRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromAnnotatedRelationshipElement + + @Test + public void testRoundTripISubmodelElementFromBasicEventElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromBasicEventElement + + @Test + public void testRoundTripISubmodelElementFromBlob() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Blob instance = CommonJsonization.loadMaximalBlob(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromBlob + + @Test + public void testRoundTripISubmodelElementFromCapability() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Capability instance = CommonJsonization.loadMaximalCapability(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromCapability + + @Test + public void testRoundTripISubmodelElementFromEntity() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Entity instance = CommonJsonization.loadMaximalEntity(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromEntity + + @Test + public void testRoundTripISubmodelElementFromFile() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + File instance = CommonJsonization.loadMaximalFile(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromFile + + @Test + public void testRoundTripISubmodelElementFromMultiLanguageProperty() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromMultiLanguageProperty + + @Test + public void testRoundTripISubmodelElementFromOperation() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Operation instance = CommonJsonization.loadMaximalOperation(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromOperation + + @Test + public void testRoundTripISubmodelElementFromProperty() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Property instance = CommonJsonization.loadMaximalProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromProperty + + @Test + public void testRoundTripISubmodelElementFromRange() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Range instance = CommonJsonization.loadMaximalRange(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromRange + + @Test + public void testRoundTripISubmodelElementFromReferenceElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromReferenceElement + + @Test + public void testRoundTripISubmodelElementFromSubmodelElementCollection() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementCollection instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromSubmodelElementCollection + + @Test + public void testRoundTripISubmodelElementFromSubmodelElementList() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromSubmodelElementList + + @Test + public void testRoundTripIRelationshipElementFromAnnotatedRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IRelationshipElement anotherInstance = + Jsonization.Deserialize.deserializeIRelationshipElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIRelationshipElementFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIRelationshipElementFromRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IRelationshipElement anotherInstance = + Jsonization.Deserialize.deserializeIRelationshipElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIRelationshipElementFromRelationshipElement + + @Test + public void testRoundTripIDataElementFromBlob() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Blob instance = CommonJsonization.loadMaximalBlob(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IDataElement anotherInstance = Jsonization.Deserialize.deserializeIDataElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIDataElementFromBlob + + @Test + public void testRoundTripIDataElementFromFile() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + File instance = CommonJsonization.loadMaximalFile(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IDataElement anotherInstance = Jsonization.Deserialize.deserializeIDataElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIDataElementFromFile + + @Test + public void testRoundTripIDataElementFromMultiLanguageProperty() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IDataElement anotherInstance = Jsonization.Deserialize.deserializeIDataElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIDataElementFromMultiLanguageProperty + + @Test + public void testRoundTripIDataElementFromProperty() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Property instance = CommonJsonization.loadMaximalProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IDataElement anotherInstance = Jsonization.Deserialize.deserializeIDataElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIDataElementFromProperty + + @Test + public void testRoundTripIDataElementFromRange() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Range instance = CommonJsonization.loadMaximalRange(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IDataElement anotherInstance = Jsonization.Deserialize.deserializeIDataElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIDataElementFromRange + + @Test + public void testRoundTripIDataElementFromReferenceElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IDataElement anotherInstance = Jsonization.Deserialize.deserializeIDataElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIDataElementFromReferenceElement + + @Test + public void testRoundTripIEventElementFromBasicEventElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IEventElement anotherInstance = Jsonization.Deserialize.deserializeIEventElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIEventElementFromBasicEventElement + + @Test + public void testRoundTripIDataSpecificationContentFromDataSpecificationIec61360() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + DataSpecificationIec61360 instance = CommonJsonization.loadMaximalDataSpecificationIec61360(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IDataSpecificationContent anotherInstance = + Jsonization.Deserialize.deserializeIDataSpecificationContent(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIDataSpecificationContentFromDataSpecificationIec61360 + + @Test + public void testRoundTripIDataSpecificationContentFromDataSpecificationUom() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + DataSpecificationUom instance = CommonJsonization.loadMaximalDataSpecificationUom(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IDataSpecificationContent anotherInstance = + Jsonization.Deserialize.deserializeIDataSpecificationContent(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIDataSpecificationContentFromDataSpecificationUom + + @Test + public void testRoundTripISubmodelElementAttributesFromAnnotatedRelationshipElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AnnotatedRelationshipElementMetadata instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementAttributes anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementAttributes(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementAttributesFromAnnotatedRelationshipElementMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromBasicEventElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BasicEventElementMetadata instance = CommonJsonization.loadMaximalBasicEventElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementAttributes anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementAttributes(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementAttributesFromBasicEventElementMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromBlobMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BlobMetadata instance = CommonJsonization.loadMaximalBlobMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementAttributes anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementAttributes(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementAttributesFromBlobMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromCapabilityMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + CapabilityMetadata instance = CommonJsonization.loadMaximalCapabilityMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementAttributes anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementAttributes(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementAttributesFromCapabilityMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromEntityMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + EntityMetadata instance = CommonJsonization.loadMaximalEntityMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementAttributes anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementAttributes(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementAttributesFromEntityMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromFileMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + FileMetadata instance = CommonJsonization.loadMaximalFileMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementAttributes anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementAttributes(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementAttributesFromFileMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromMultiLanguagePropertyMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + MultiLanguagePropertyMetadata instance = + CommonJsonization.loadMaximalMultiLanguagePropertyMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementAttributes anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementAttributes(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementAttributesFromMultiLanguagePropertyMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromOperationMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + OperationMetadata instance = CommonJsonization.loadMaximalOperationMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementAttributes anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementAttributes(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementAttributesFromOperationMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromPropertyMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + PropertyMetadata instance = CommonJsonization.loadMaximalPropertyMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementAttributes anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementAttributes(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementAttributesFromPropertyMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromRangeMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RangeMetadata instance = CommonJsonization.loadMaximalRangeMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementAttributes anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementAttributes(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementAttributesFromRangeMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromReferenceElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ReferenceElementMetadata instance = CommonJsonization.loadMaximalReferenceElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementAttributes anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementAttributes(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementAttributesFromReferenceElementMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromRelationshipElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RelationshipElementMetadata instance = + CommonJsonization.loadMaximalRelationshipElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementAttributes anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementAttributes(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementAttributesFromRelationshipElementMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromSubmodelElementCollectionMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementCollectionMetadata instance = + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementAttributes anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementAttributes(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementAttributesFromSubmodelElementCollectionMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromSubmodelElementListMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementListMetadata instance = + CommonJsonization.loadMaximalSubmodelElementListMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementAttributes anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementAttributes(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementAttributesFromSubmodelElementListMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromAnnotatedRelationshipElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AnnotatedRelationshipElementMetadata instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementMetadata anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementMetadata(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementMetadataFromAnnotatedRelationshipElementMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromBasicEventElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BasicEventElementMetadata instance = CommonJsonization.loadMaximalBasicEventElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementMetadata anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementMetadata(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementMetadataFromBasicEventElementMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromBlobMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BlobMetadata instance = CommonJsonization.loadMaximalBlobMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementMetadata anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementMetadata(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementMetadataFromBlobMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromCapabilityMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + CapabilityMetadata instance = CommonJsonization.loadMaximalCapabilityMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementMetadata anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementMetadata(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementMetadataFromCapabilityMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromEntityMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + EntityMetadata instance = CommonJsonization.loadMaximalEntityMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementMetadata anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementMetadata(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementMetadataFromEntityMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromFileMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + FileMetadata instance = CommonJsonization.loadMaximalFileMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementMetadata anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementMetadata(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementMetadataFromFileMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromMultiLanguagePropertyMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + MultiLanguagePropertyMetadata instance = + CommonJsonization.loadMaximalMultiLanguagePropertyMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementMetadata anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementMetadata(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementMetadataFromMultiLanguagePropertyMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromOperationMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + OperationMetadata instance = CommonJsonization.loadMaximalOperationMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementMetadata anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementMetadata(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementMetadataFromOperationMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromPropertyMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + PropertyMetadata instance = CommonJsonization.loadMaximalPropertyMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementMetadata anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementMetadata(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementMetadataFromPropertyMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromRangeMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RangeMetadata instance = CommonJsonization.loadMaximalRangeMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementMetadata anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementMetadata(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementMetadataFromRangeMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromReferenceElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ReferenceElementMetadata instance = CommonJsonization.loadMaximalReferenceElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementMetadata anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementMetadata(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementMetadataFromReferenceElementMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromRelationshipElementMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RelationshipElementMetadata instance = + CommonJsonization.loadMaximalRelationshipElementMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementMetadata anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementMetadata(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementMetadataFromRelationshipElementMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromSubmodelElementCollectionMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementCollectionMetadata instance = + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementMetadata anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementMetadata(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementMetadataFromSubmodelElementCollectionMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromSubmodelElementListMetadata() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementListMetadata instance = + CommonJsonization.loadMaximalSubmodelElementListMetadata(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElementMetadata anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElementMetadata(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementMetadataFromSubmodelElementListMetadata +} // class TestJsonizationOfInterfaces + +// package aas_core.aas3_2.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestOverXOrEmpty.java b/src/test/java/TestOverXOrEmpty.java new file mode 100644 index 00000000..fabb8874 --- /dev/null +++ b/src/test/java/TestOverXOrEmpty.java @@ -0,0 +1,3599 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import java.io.IOException; +import java.util.concurrent.atomic.AtomicInteger; +import org.junit.jupiter.api.Test; + +public class TestOverXOrEmpty { + @Test + public void testExtensionOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (Extension instance : + new Extension[] { + CommonJsonization.loadMinimalExtension(), CommonJsonization.loadMaximalExtension() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testExtensionoverSupplementalSemanticIdsOrEmpty + + @Test + public void testExtensionOverRefersToOrEmpty() throws IOException { + for (Extension instance : + new Extension[] { + CommonJsonization.loadMinimalExtension(), CommonJsonization.loadMaximalExtension() + }) { + int length = instance.getRefersTo().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overRefersToOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testExtensionoverRefersToOrEmpty + + @Test + public void testAdministrativeInformationOverEmbeddedDataSpecificationsOrEmpty() + throws IOException { + for (AdministrativeInformation instance : + new AdministrativeInformation[] { + CommonJsonization.loadMinimalAdministrativeInformation(), + CommonJsonization.loadMaximalAdministrativeInformation() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAdministrativeInformationoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testQualifierOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (Qualifier instance : + new Qualifier[] { + CommonJsonization.loadMinimalQualifier(), CommonJsonization.loadMaximalQualifier() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testQualifieroverSupplementalSemanticIdsOrEmpty + + @Test + public void testAssetAdministrationShellOverExtensionsOrEmpty() throws IOException { + for (AssetAdministrationShell instance : + new AssetAdministrationShell[] { + CommonJsonization.loadMinimalAssetAdministrationShell(), + CommonJsonization.loadMaximalAssetAdministrationShell() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetAdministrationShelloverExtensionsOrEmpty + + @Test + public void testAssetAdministrationShellOverDisplayNameOrEmpty() throws IOException { + for (AssetAdministrationShell instance : + new AssetAdministrationShell[] { + CommonJsonization.loadMinimalAssetAdministrationShell(), + CommonJsonization.loadMaximalAssetAdministrationShell() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetAdministrationShelloverDisplayNameOrEmpty + + @Test + public void testAssetAdministrationShellOverDescriptionOrEmpty() throws IOException { + for (AssetAdministrationShell instance : + new AssetAdministrationShell[] { + CommonJsonization.loadMinimalAssetAdministrationShell(), + CommonJsonization.loadMaximalAssetAdministrationShell() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetAdministrationShelloverDescriptionOrEmpty + + @Test + public void testAssetAdministrationShellOverEmbeddedDataSpecificationsOrEmpty() + throws IOException { + for (AssetAdministrationShell instance : + new AssetAdministrationShell[] { + CommonJsonization.loadMinimalAssetAdministrationShell(), + CommonJsonization.loadMaximalAssetAdministrationShell() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetAdministrationShelloverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testAssetAdministrationShellOverSubmodelsOrEmpty() throws IOException { + for (AssetAdministrationShell instance : + new AssetAdministrationShell[] { + CommonJsonization.loadMinimalAssetAdministrationShell(), + CommonJsonization.loadMaximalAssetAdministrationShell() + }) { + int length = instance.getSubmodels().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSubmodelsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetAdministrationShelloverSubmodelsOrEmpty + + @Test + public void testAssetInformationOverSpecificAssetIdsOrEmpty() throws IOException { + for (AssetInformation instance : + new AssetInformation[] { + CommonJsonization.loadMinimalAssetInformation(), + CommonJsonization.loadMaximalAssetInformation() + }) { + int length = instance.getSpecificAssetIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSpecificAssetIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetInformationoverSpecificAssetIdsOrEmpty + + @Test + public void testSpecificAssetIdOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (SpecificAssetId instance : + new SpecificAssetId[] { + CommonJsonization.loadMinimalSpecificAssetId(), + CommonJsonization.loadMaximalSpecificAssetId() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSpecificAssetIdoverSupplementalSemanticIdsOrEmpty + + @Test + public void testSubmodelOverExtensionsOrEmpty() throws IOException { + for (Submodel instance : + new Submodel[] { + CommonJsonization.loadMinimalSubmodel(), CommonJsonization.loadMaximalSubmodel() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodeloverExtensionsOrEmpty + + @Test + public void testSubmodelOverDisplayNameOrEmpty() throws IOException { + for (Submodel instance : + new Submodel[] { + CommonJsonization.loadMinimalSubmodel(), CommonJsonization.loadMaximalSubmodel() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodeloverDisplayNameOrEmpty + + @Test + public void testSubmodelOverDescriptionOrEmpty() throws IOException { + for (Submodel instance : + new Submodel[] { + CommonJsonization.loadMinimalSubmodel(), CommonJsonization.loadMaximalSubmodel() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodeloverDescriptionOrEmpty + + @Test + public void testSubmodelOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (Submodel instance : + new Submodel[] { + CommonJsonization.loadMinimalSubmodel(), CommonJsonization.loadMaximalSubmodel() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodeloverSupplementalSemanticIdsOrEmpty + + @Test + public void testSubmodelOverQualifiersOrEmpty() throws IOException { + for (Submodel instance : + new Submodel[] { + CommonJsonization.loadMinimalSubmodel(), CommonJsonization.loadMaximalSubmodel() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodeloverQualifiersOrEmpty + + @Test + public void testSubmodelOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (Submodel instance : + new Submodel[] { + CommonJsonization.loadMinimalSubmodel(), CommonJsonization.loadMaximalSubmodel() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodeloverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testSubmodelOverSubmodelElementsOrEmpty() throws IOException { + for (Submodel instance : + new Submodel[] { + CommonJsonization.loadMinimalSubmodel(), CommonJsonization.loadMaximalSubmodel() + }) { + int length = instance.getSubmodelElements().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSubmodelElementsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodeloverSubmodelElementsOrEmpty + + @Test + public void testRelationshipElementOverExtensionsOrEmpty() throws IOException { + for (RelationshipElement instance : + new RelationshipElement[] { + CommonJsonization.loadMinimalRelationshipElement(), + CommonJsonization.loadMaximalRelationshipElement() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRelationshipElementoverExtensionsOrEmpty + + @Test + public void testRelationshipElementOverDisplayNameOrEmpty() throws IOException { + for (RelationshipElement instance : + new RelationshipElement[] { + CommonJsonization.loadMinimalRelationshipElement(), + CommonJsonization.loadMaximalRelationshipElement() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRelationshipElementoverDisplayNameOrEmpty + + @Test + public void testRelationshipElementOverDescriptionOrEmpty() throws IOException { + for (RelationshipElement instance : + new RelationshipElement[] { + CommonJsonization.loadMinimalRelationshipElement(), + CommonJsonization.loadMaximalRelationshipElement() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRelationshipElementoverDescriptionOrEmpty + + @Test + public void testRelationshipElementOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (RelationshipElement instance : + new RelationshipElement[] { + CommonJsonization.loadMinimalRelationshipElement(), + CommonJsonization.loadMaximalRelationshipElement() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRelationshipElementoverSupplementalSemanticIdsOrEmpty + + @Test + public void testRelationshipElementOverQualifiersOrEmpty() throws IOException { + for (RelationshipElement instance : + new RelationshipElement[] { + CommonJsonization.loadMinimalRelationshipElement(), + CommonJsonization.loadMaximalRelationshipElement() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRelationshipElementoverQualifiersOrEmpty + + @Test + public void testRelationshipElementOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (RelationshipElement instance : + new RelationshipElement[] { + CommonJsonization.loadMinimalRelationshipElement(), + CommonJsonization.loadMaximalRelationshipElement() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRelationshipElementoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testSubmodelElementListOverExtensionsOrEmpty() throws IOException { + for (SubmodelElementList instance : + new SubmodelElementList[] { + CommonJsonization.loadMinimalSubmodelElementList(), + CommonJsonization.loadMaximalSubmodelElementList() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementListoverExtensionsOrEmpty + + @Test + public void testSubmodelElementListOverDisplayNameOrEmpty() throws IOException { + for (SubmodelElementList instance : + new SubmodelElementList[] { + CommonJsonization.loadMinimalSubmodelElementList(), + CommonJsonization.loadMaximalSubmodelElementList() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementListoverDisplayNameOrEmpty + + @Test + public void testSubmodelElementListOverDescriptionOrEmpty() throws IOException { + for (SubmodelElementList instance : + new SubmodelElementList[] { + CommonJsonization.loadMinimalSubmodelElementList(), + CommonJsonization.loadMaximalSubmodelElementList() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementListoverDescriptionOrEmpty + + @Test + public void testSubmodelElementListOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (SubmodelElementList instance : + new SubmodelElementList[] { + CommonJsonization.loadMinimalSubmodelElementList(), + CommonJsonization.loadMaximalSubmodelElementList() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementListoverSupplementalSemanticIdsOrEmpty + + @Test + public void testSubmodelElementListOverQualifiersOrEmpty() throws IOException { + for (SubmodelElementList instance : + new SubmodelElementList[] { + CommonJsonization.loadMinimalSubmodelElementList(), + CommonJsonization.loadMaximalSubmodelElementList() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementListoverQualifiersOrEmpty + + @Test + public void testSubmodelElementListOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (SubmodelElementList instance : + new SubmodelElementList[] { + CommonJsonization.loadMinimalSubmodelElementList(), + CommonJsonization.loadMaximalSubmodelElementList() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementListoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testSubmodelElementListOverValueOrEmpty() throws IOException { + for (SubmodelElementList instance : + new SubmodelElementList[] { + CommonJsonization.loadMinimalSubmodelElementList(), + CommonJsonization.loadMaximalSubmodelElementList() + }) { + int length = instance.getValue().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overValueOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementListoverValueOrEmpty + + @Test + public void testSubmodelElementCollectionOverExtensionsOrEmpty() throws IOException { + for (SubmodelElementCollection instance : + new SubmodelElementCollection[] { + CommonJsonization.loadMinimalSubmodelElementCollection(), + CommonJsonization.loadMaximalSubmodelElementCollection() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementCollectionoverExtensionsOrEmpty + + @Test + public void testSubmodelElementCollectionOverDisplayNameOrEmpty() throws IOException { + for (SubmodelElementCollection instance : + new SubmodelElementCollection[] { + CommonJsonization.loadMinimalSubmodelElementCollection(), + CommonJsonization.loadMaximalSubmodelElementCollection() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementCollectionoverDisplayNameOrEmpty + + @Test + public void testSubmodelElementCollectionOverDescriptionOrEmpty() throws IOException { + for (SubmodelElementCollection instance : + new SubmodelElementCollection[] { + CommonJsonization.loadMinimalSubmodelElementCollection(), + CommonJsonization.loadMaximalSubmodelElementCollection() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementCollectionoverDescriptionOrEmpty + + @Test + public void testSubmodelElementCollectionOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (SubmodelElementCollection instance : + new SubmodelElementCollection[] { + CommonJsonization.loadMinimalSubmodelElementCollection(), + CommonJsonization.loadMaximalSubmodelElementCollection() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementCollectionoverSupplementalSemanticIdsOrEmpty + + @Test + public void testSubmodelElementCollectionOverQualifiersOrEmpty() throws IOException { + for (SubmodelElementCollection instance : + new SubmodelElementCollection[] { + CommonJsonization.loadMinimalSubmodelElementCollection(), + CommonJsonization.loadMaximalSubmodelElementCollection() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementCollectionoverQualifiersOrEmpty + + @Test + public void testSubmodelElementCollectionOverEmbeddedDataSpecificationsOrEmpty() + throws IOException { + for (SubmodelElementCollection instance : + new SubmodelElementCollection[] { + CommonJsonization.loadMinimalSubmodelElementCollection(), + CommonJsonization.loadMaximalSubmodelElementCollection() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementCollectionoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testSubmodelElementCollectionOverValueOrEmpty() throws IOException { + for (SubmodelElementCollection instance : + new SubmodelElementCollection[] { + CommonJsonization.loadMinimalSubmodelElementCollection(), + CommonJsonization.loadMaximalSubmodelElementCollection() + }) { + int length = instance.getValue().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overValueOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementCollectionoverValueOrEmpty + + @Test + public void testPropertyOverExtensionsOrEmpty() throws IOException { + for (Property instance : + new Property[] { + CommonJsonization.loadMinimalProperty(), CommonJsonization.loadMaximalProperty() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testPropertyoverExtensionsOrEmpty + + @Test + public void testPropertyOverDisplayNameOrEmpty() throws IOException { + for (Property instance : + new Property[] { + CommonJsonization.loadMinimalProperty(), CommonJsonization.loadMaximalProperty() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testPropertyoverDisplayNameOrEmpty + + @Test + public void testPropertyOverDescriptionOrEmpty() throws IOException { + for (Property instance : + new Property[] { + CommonJsonization.loadMinimalProperty(), CommonJsonization.loadMaximalProperty() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testPropertyoverDescriptionOrEmpty + + @Test + public void testPropertyOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (Property instance : + new Property[] { + CommonJsonization.loadMinimalProperty(), CommonJsonization.loadMaximalProperty() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testPropertyoverSupplementalSemanticIdsOrEmpty + + @Test + public void testPropertyOverQualifiersOrEmpty() throws IOException { + for (Property instance : + new Property[] { + CommonJsonization.loadMinimalProperty(), CommonJsonization.loadMaximalProperty() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testPropertyoverQualifiersOrEmpty + + @Test + public void testPropertyOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (Property instance : + new Property[] { + CommonJsonization.loadMinimalProperty(), CommonJsonization.loadMaximalProperty() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testPropertyoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testMultiLanguagePropertyOverExtensionsOrEmpty() throws IOException { + for (MultiLanguageProperty instance : + new MultiLanguageProperty[] { + CommonJsonization.loadMinimalMultiLanguageProperty(), + CommonJsonization.loadMaximalMultiLanguageProperty() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testMultiLanguagePropertyoverExtensionsOrEmpty + + @Test + public void testMultiLanguagePropertyOverDisplayNameOrEmpty() throws IOException { + for (MultiLanguageProperty instance : + new MultiLanguageProperty[] { + CommonJsonization.loadMinimalMultiLanguageProperty(), + CommonJsonization.loadMaximalMultiLanguageProperty() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testMultiLanguagePropertyoverDisplayNameOrEmpty + + @Test + public void testMultiLanguagePropertyOverDescriptionOrEmpty() throws IOException { + for (MultiLanguageProperty instance : + new MultiLanguageProperty[] { + CommonJsonization.loadMinimalMultiLanguageProperty(), + CommonJsonization.loadMaximalMultiLanguageProperty() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testMultiLanguagePropertyoverDescriptionOrEmpty + + @Test + public void testMultiLanguagePropertyOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (MultiLanguageProperty instance : + new MultiLanguageProperty[] { + CommonJsonization.loadMinimalMultiLanguageProperty(), + CommonJsonization.loadMaximalMultiLanguageProperty() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testMultiLanguagePropertyoverSupplementalSemanticIdsOrEmpty + + @Test + public void testMultiLanguagePropertyOverQualifiersOrEmpty() throws IOException { + for (MultiLanguageProperty instance : + new MultiLanguageProperty[] { + CommonJsonization.loadMinimalMultiLanguageProperty(), + CommonJsonization.loadMaximalMultiLanguageProperty() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testMultiLanguagePropertyoverQualifiersOrEmpty + + @Test + public void testMultiLanguagePropertyOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (MultiLanguageProperty instance : + new MultiLanguageProperty[] { + CommonJsonization.loadMinimalMultiLanguageProperty(), + CommonJsonization.loadMaximalMultiLanguageProperty() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testMultiLanguagePropertyoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testMultiLanguagePropertyOverValueOrEmpty() throws IOException { + for (MultiLanguageProperty instance : + new MultiLanguageProperty[] { + CommonJsonization.loadMinimalMultiLanguageProperty(), + CommonJsonization.loadMaximalMultiLanguageProperty() + }) { + int length = instance.getValue().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overValueOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testMultiLanguagePropertyoverValueOrEmpty + + @Test + public void testRangeOverExtensionsOrEmpty() throws IOException { + for (Range instance : + new Range[] {CommonJsonization.loadMinimalRange(), CommonJsonization.loadMaximalRange()}) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRangeoverExtensionsOrEmpty + + @Test + public void testRangeOverDisplayNameOrEmpty() throws IOException { + for (Range instance : + new Range[] {CommonJsonization.loadMinimalRange(), CommonJsonization.loadMaximalRange()}) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRangeoverDisplayNameOrEmpty + + @Test + public void testRangeOverDescriptionOrEmpty() throws IOException { + for (Range instance : + new Range[] {CommonJsonization.loadMinimalRange(), CommonJsonization.loadMaximalRange()}) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRangeoverDescriptionOrEmpty + + @Test + public void testRangeOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (Range instance : + new Range[] {CommonJsonization.loadMinimalRange(), CommonJsonization.loadMaximalRange()}) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRangeoverSupplementalSemanticIdsOrEmpty + + @Test + public void testRangeOverQualifiersOrEmpty() throws IOException { + for (Range instance : + new Range[] {CommonJsonization.loadMinimalRange(), CommonJsonization.loadMaximalRange()}) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRangeoverQualifiersOrEmpty + + @Test + public void testRangeOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (Range instance : + new Range[] {CommonJsonization.loadMinimalRange(), CommonJsonization.loadMaximalRange()}) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRangeoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testReferenceElementOverExtensionsOrEmpty() throws IOException { + for (ReferenceElement instance : + new ReferenceElement[] { + CommonJsonization.loadMinimalReferenceElement(), + CommonJsonization.loadMaximalReferenceElement() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testReferenceElementoverExtensionsOrEmpty + + @Test + public void testReferenceElementOverDisplayNameOrEmpty() throws IOException { + for (ReferenceElement instance : + new ReferenceElement[] { + CommonJsonization.loadMinimalReferenceElement(), + CommonJsonization.loadMaximalReferenceElement() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testReferenceElementoverDisplayNameOrEmpty + + @Test + public void testReferenceElementOverDescriptionOrEmpty() throws IOException { + for (ReferenceElement instance : + new ReferenceElement[] { + CommonJsonization.loadMinimalReferenceElement(), + CommonJsonization.loadMaximalReferenceElement() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testReferenceElementoverDescriptionOrEmpty + + @Test + public void testReferenceElementOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (ReferenceElement instance : + new ReferenceElement[] { + CommonJsonization.loadMinimalReferenceElement(), + CommonJsonization.loadMaximalReferenceElement() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testReferenceElementoverSupplementalSemanticIdsOrEmpty + + @Test + public void testReferenceElementOverQualifiersOrEmpty() throws IOException { + for (ReferenceElement instance : + new ReferenceElement[] { + CommonJsonization.loadMinimalReferenceElement(), + CommonJsonization.loadMaximalReferenceElement() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testReferenceElementoverQualifiersOrEmpty + + @Test + public void testReferenceElementOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (ReferenceElement instance : + new ReferenceElement[] { + CommonJsonization.loadMinimalReferenceElement(), + CommonJsonization.loadMaximalReferenceElement() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testReferenceElementoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testBlobOverExtensionsOrEmpty() throws IOException { + for (Blob instance : + new Blob[] {CommonJsonization.loadMinimalBlob(), CommonJsonization.loadMaximalBlob()}) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBloboverExtensionsOrEmpty + + @Test + public void testBlobOverDisplayNameOrEmpty() throws IOException { + for (Blob instance : + new Blob[] {CommonJsonization.loadMinimalBlob(), CommonJsonization.loadMaximalBlob()}) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBloboverDisplayNameOrEmpty + + @Test + public void testBlobOverDescriptionOrEmpty() throws IOException { + for (Blob instance : + new Blob[] {CommonJsonization.loadMinimalBlob(), CommonJsonization.loadMaximalBlob()}) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBloboverDescriptionOrEmpty + + @Test + public void testBlobOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (Blob instance : + new Blob[] {CommonJsonization.loadMinimalBlob(), CommonJsonization.loadMaximalBlob()}) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBloboverSupplementalSemanticIdsOrEmpty + + @Test + public void testBlobOverQualifiersOrEmpty() throws IOException { + for (Blob instance : + new Blob[] {CommonJsonization.loadMinimalBlob(), CommonJsonization.loadMaximalBlob()}) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBloboverQualifiersOrEmpty + + @Test + public void testBlobOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (Blob instance : + new Blob[] {CommonJsonization.loadMinimalBlob(), CommonJsonization.loadMaximalBlob()}) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBloboverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testFileOverExtensionsOrEmpty() throws IOException { + for (File instance : + new File[] {CommonJsonization.loadMinimalFile(), CommonJsonization.loadMaximalFile()}) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testFileoverExtensionsOrEmpty + + @Test + public void testFileOverDisplayNameOrEmpty() throws IOException { + for (File instance : + new File[] {CommonJsonization.loadMinimalFile(), CommonJsonization.loadMaximalFile()}) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testFileoverDisplayNameOrEmpty + + @Test + public void testFileOverDescriptionOrEmpty() throws IOException { + for (File instance : + new File[] {CommonJsonization.loadMinimalFile(), CommonJsonization.loadMaximalFile()}) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testFileoverDescriptionOrEmpty + + @Test + public void testFileOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (File instance : + new File[] {CommonJsonization.loadMinimalFile(), CommonJsonization.loadMaximalFile()}) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testFileoverSupplementalSemanticIdsOrEmpty + + @Test + public void testFileOverQualifiersOrEmpty() throws IOException { + for (File instance : + new File[] {CommonJsonization.loadMinimalFile(), CommonJsonization.loadMaximalFile()}) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testFileoverQualifiersOrEmpty + + @Test + public void testFileOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (File instance : + new File[] {CommonJsonization.loadMinimalFile(), CommonJsonization.loadMaximalFile()}) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testFileoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testAnnotatedRelationshipElementOverExtensionsOrEmpty() throws IOException { + for (AnnotatedRelationshipElement instance : + new AnnotatedRelationshipElement[] { + CommonJsonization.loadMinimalAnnotatedRelationshipElement(), + CommonJsonization.loadMaximalAnnotatedRelationshipElement() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAnnotatedRelationshipElementoverExtensionsOrEmpty + + @Test + public void testAnnotatedRelationshipElementOverDisplayNameOrEmpty() throws IOException { + for (AnnotatedRelationshipElement instance : + new AnnotatedRelationshipElement[] { + CommonJsonization.loadMinimalAnnotatedRelationshipElement(), + CommonJsonization.loadMaximalAnnotatedRelationshipElement() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAnnotatedRelationshipElementoverDisplayNameOrEmpty + + @Test + public void testAnnotatedRelationshipElementOverDescriptionOrEmpty() throws IOException { + for (AnnotatedRelationshipElement instance : + new AnnotatedRelationshipElement[] { + CommonJsonization.loadMinimalAnnotatedRelationshipElement(), + CommonJsonization.loadMaximalAnnotatedRelationshipElement() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAnnotatedRelationshipElementoverDescriptionOrEmpty + + @Test + public void testAnnotatedRelationshipElementOverSupplementalSemanticIdsOrEmpty() + throws IOException { + for (AnnotatedRelationshipElement instance : + new AnnotatedRelationshipElement[] { + CommonJsonization.loadMinimalAnnotatedRelationshipElement(), + CommonJsonization.loadMaximalAnnotatedRelationshipElement() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAnnotatedRelationshipElementoverSupplementalSemanticIdsOrEmpty + + @Test + public void testAnnotatedRelationshipElementOverQualifiersOrEmpty() throws IOException { + for (AnnotatedRelationshipElement instance : + new AnnotatedRelationshipElement[] { + CommonJsonization.loadMinimalAnnotatedRelationshipElement(), + CommonJsonization.loadMaximalAnnotatedRelationshipElement() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAnnotatedRelationshipElementoverQualifiersOrEmpty + + @Test + public void testAnnotatedRelationshipElementOverEmbeddedDataSpecificationsOrEmpty() + throws IOException { + for (AnnotatedRelationshipElement instance : + new AnnotatedRelationshipElement[] { + CommonJsonization.loadMinimalAnnotatedRelationshipElement(), + CommonJsonization.loadMaximalAnnotatedRelationshipElement() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAnnotatedRelationshipElementoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testAnnotatedRelationshipElementOverAnnotationsOrEmpty() throws IOException { + for (AnnotatedRelationshipElement instance : + new AnnotatedRelationshipElement[] { + CommonJsonization.loadMinimalAnnotatedRelationshipElement(), + CommonJsonization.loadMaximalAnnotatedRelationshipElement() + }) { + int length = instance.getAnnotations().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overAnnotationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAnnotatedRelationshipElementoverAnnotationsOrEmpty + + @Test + public void testEntityOverExtensionsOrEmpty() throws IOException { + for (Entity instance : + new Entity[] { + CommonJsonization.loadMinimalEntity(), CommonJsonization.loadMaximalEntity() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityoverExtensionsOrEmpty + + @Test + public void testEntityOverDisplayNameOrEmpty() throws IOException { + for (Entity instance : + new Entity[] { + CommonJsonization.loadMinimalEntity(), CommonJsonization.loadMaximalEntity() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityoverDisplayNameOrEmpty + + @Test + public void testEntityOverDescriptionOrEmpty() throws IOException { + for (Entity instance : + new Entity[] { + CommonJsonization.loadMinimalEntity(), CommonJsonization.loadMaximalEntity() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityoverDescriptionOrEmpty + + @Test + public void testEntityOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (Entity instance : + new Entity[] { + CommonJsonization.loadMinimalEntity(), CommonJsonization.loadMaximalEntity() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityoverSupplementalSemanticIdsOrEmpty + + @Test + public void testEntityOverQualifiersOrEmpty() throws IOException { + for (Entity instance : + new Entity[] { + CommonJsonization.loadMinimalEntity(), CommonJsonization.loadMaximalEntity() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityoverQualifiersOrEmpty + + @Test + public void testEntityOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (Entity instance : + new Entity[] { + CommonJsonization.loadMinimalEntity(), CommonJsonization.loadMaximalEntity() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testEntityOverStatementsOrEmpty() throws IOException { + for (Entity instance : + new Entity[] { + CommonJsonization.loadMinimalEntity(), CommonJsonization.loadMaximalEntity() + }) { + int length = instance.getStatements().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overStatementsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityoverStatementsOrEmpty + + @Test + public void testEntityOverSpecificAssetIdsOrEmpty() throws IOException { + for (Entity instance : + new Entity[] { + CommonJsonization.loadMinimalEntity(), CommonJsonization.loadMaximalEntity() + }) { + int length = instance.getSpecificAssetIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSpecificAssetIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityoverSpecificAssetIdsOrEmpty + + @Test + public void testBasicEventElementOverExtensionsOrEmpty() throws IOException { + for (BasicEventElement instance : + new BasicEventElement[] { + CommonJsonization.loadMinimalBasicEventElement(), + CommonJsonization.loadMaximalBasicEventElement() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBasicEventElementoverExtensionsOrEmpty + + @Test + public void testBasicEventElementOverDisplayNameOrEmpty() throws IOException { + for (BasicEventElement instance : + new BasicEventElement[] { + CommonJsonization.loadMinimalBasicEventElement(), + CommonJsonization.loadMaximalBasicEventElement() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBasicEventElementoverDisplayNameOrEmpty + + @Test + public void testBasicEventElementOverDescriptionOrEmpty() throws IOException { + for (BasicEventElement instance : + new BasicEventElement[] { + CommonJsonization.loadMinimalBasicEventElement(), + CommonJsonization.loadMaximalBasicEventElement() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBasicEventElementoverDescriptionOrEmpty + + @Test + public void testBasicEventElementOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (BasicEventElement instance : + new BasicEventElement[] { + CommonJsonization.loadMinimalBasicEventElement(), + CommonJsonization.loadMaximalBasicEventElement() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBasicEventElementoverSupplementalSemanticIdsOrEmpty + + @Test + public void testBasicEventElementOverQualifiersOrEmpty() throws IOException { + for (BasicEventElement instance : + new BasicEventElement[] { + CommonJsonization.loadMinimalBasicEventElement(), + CommonJsonization.loadMaximalBasicEventElement() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBasicEventElementoverQualifiersOrEmpty + + @Test + public void testBasicEventElementOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (BasicEventElement instance : + new BasicEventElement[] { + CommonJsonization.loadMinimalBasicEventElement(), + CommonJsonization.loadMaximalBasicEventElement() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBasicEventElementoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testOperationOverExtensionsOrEmpty() throws IOException { + for (Operation instance : + new Operation[] { + CommonJsonization.loadMinimalOperation(), CommonJsonization.loadMaximalOperation() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationoverExtensionsOrEmpty + + @Test + public void testOperationOverDisplayNameOrEmpty() throws IOException { + for (Operation instance : + new Operation[] { + CommonJsonization.loadMinimalOperation(), CommonJsonization.loadMaximalOperation() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationoverDisplayNameOrEmpty + + @Test + public void testOperationOverDescriptionOrEmpty() throws IOException { + for (Operation instance : + new Operation[] { + CommonJsonization.loadMinimalOperation(), CommonJsonization.loadMaximalOperation() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationoverDescriptionOrEmpty + + @Test + public void testOperationOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (Operation instance : + new Operation[] { + CommonJsonization.loadMinimalOperation(), CommonJsonization.loadMaximalOperation() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationoverSupplementalSemanticIdsOrEmpty + + @Test + public void testOperationOverQualifiersOrEmpty() throws IOException { + for (Operation instance : + new Operation[] { + CommonJsonization.loadMinimalOperation(), CommonJsonization.loadMaximalOperation() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationoverQualifiersOrEmpty + + @Test + public void testOperationOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (Operation instance : + new Operation[] { + CommonJsonization.loadMinimalOperation(), CommonJsonization.loadMaximalOperation() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testOperationOverInputVariablesOrEmpty() throws IOException { + for (Operation instance : + new Operation[] { + CommonJsonization.loadMinimalOperation(), CommonJsonization.loadMaximalOperation() + }) { + int length = instance.getInputVariables().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overInputVariablesOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationoverInputVariablesOrEmpty + + @Test + public void testOperationOverOutputVariablesOrEmpty() throws IOException { + for (Operation instance : + new Operation[] { + CommonJsonization.loadMinimalOperation(), CommonJsonization.loadMaximalOperation() + }) { + int length = instance.getOutputVariables().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overOutputVariablesOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationoverOutputVariablesOrEmpty + + @Test + public void testOperationOverInoutputVariablesOrEmpty() throws IOException { + for (Operation instance : + new Operation[] { + CommonJsonization.loadMinimalOperation(), CommonJsonization.loadMaximalOperation() + }) { + int length = instance.getInoutputVariables().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overInoutputVariablesOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationoverInoutputVariablesOrEmpty + + @Test + public void testCapabilityOverExtensionsOrEmpty() throws IOException { + for (Capability instance : + new Capability[] { + CommonJsonization.loadMinimalCapability(), CommonJsonization.loadMaximalCapability() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testCapabilityoverExtensionsOrEmpty + + @Test + public void testCapabilityOverDisplayNameOrEmpty() throws IOException { + for (Capability instance : + new Capability[] { + CommonJsonization.loadMinimalCapability(), CommonJsonization.loadMaximalCapability() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testCapabilityoverDisplayNameOrEmpty + + @Test + public void testCapabilityOverDescriptionOrEmpty() throws IOException { + for (Capability instance : + new Capability[] { + CommonJsonization.loadMinimalCapability(), CommonJsonization.loadMaximalCapability() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testCapabilityoverDescriptionOrEmpty + + @Test + public void testCapabilityOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (Capability instance : + new Capability[] { + CommonJsonization.loadMinimalCapability(), CommonJsonization.loadMaximalCapability() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testCapabilityoverSupplementalSemanticIdsOrEmpty + + @Test + public void testCapabilityOverQualifiersOrEmpty() throws IOException { + for (Capability instance : + new Capability[] { + CommonJsonization.loadMinimalCapability(), CommonJsonization.loadMaximalCapability() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testCapabilityoverQualifiersOrEmpty + + @Test + public void testCapabilityOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (Capability instance : + new Capability[] { + CommonJsonization.loadMinimalCapability(), CommonJsonization.loadMaximalCapability() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testCapabilityoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testConceptDescriptionOverExtensionsOrEmpty() throws IOException { + for (ConceptDescription instance : + new ConceptDescription[] { + CommonJsonization.loadMinimalConceptDescription(), + CommonJsonization.loadMaximalConceptDescription() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testConceptDescriptionoverExtensionsOrEmpty + + @Test + public void testConceptDescriptionOverDisplayNameOrEmpty() throws IOException { + for (ConceptDescription instance : + new ConceptDescription[] { + CommonJsonization.loadMinimalConceptDescription(), + CommonJsonization.loadMaximalConceptDescription() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testConceptDescriptionoverDisplayNameOrEmpty + + @Test + public void testConceptDescriptionOverDescriptionOrEmpty() throws IOException { + for (ConceptDescription instance : + new ConceptDescription[] { + CommonJsonization.loadMinimalConceptDescription(), + CommonJsonization.loadMaximalConceptDescription() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testConceptDescriptionoverDescriptionOrEmpty + + @Test + public void testConceptDescriptionOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (ConceptDescription instance : + new ConceptDescription[] { + CommonJsonization.loadMinimalConceptDescription(), + CommonJsonization.loadMaximalConceptDescription() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testConceptDescriptionoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testConceptDescriptionOverIsCaseOfOrEmpty() throws IOException { + for (ConceptDescription instance : + new ConceptDescription[] { + CommonJsonization.loadMinimalConceptDescription(), + CommonJsonization.loadMaximalConceptDescription() + }) { + int length = instance.getIsCaseOf().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overIsCaseOfOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testConceptDescriptionoverIsCaseOfOrEmpty + + @Test + public void testEnvironmentOverAssetAdministrationShellsOrEmpty() throws IOException { + for (Environment instance : + new Environment[] { + CommonJsonization.loadMinimalEnvironment(), CommonJsonization.loadMaximalEnvironment() + }) { + int length = instance.getAssetAdministrationShells().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overAssetAdministrationShellsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEnvironmentoverAssetAdministrationShellsOrEmpty + + @Test + public void testEnvironmentOverSubmodelsOrEmpty() throws IOException { + for (Environment instance : + new Environment[] { + CommonJsonization.loadMinimalEnvironment(), CommonJsonization.loadMaximalEnvironment() + }) { + int length = instance.getSubmodels().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSubmodelsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEnvironmentoverSubmodelsOrEmpty + + @Test + public void testEnvironmentOverConceptDescriptionsOrEmpty() throws IOException { + for (Environment instance : + new Environment[] { + CommonJsonization.loadMinimalEnvironment(), CommonJsonization.loadMaximalEnvironment() + }) { + int length = instance.getConceptDescriptions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overConceptDescriptionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEnvironmentoverConceptDescriptionsOrEmpty + + @Test + public void testDataSpecificationUomOverDefinitionOrEmpty() throws IOException { + for (DataSpecificationUom instance : + new DataSpecificationUom[] { + CommonJsonization.loadMinimalDataSpecificationUom(), + CommonJsonization.loadMaximalDataSpecificationUom() + }) { + int length = instance.getDefinition().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDefinitionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testDataSpecificationUomoverDefinitionOrEmpty + + @Test + public void testDataSpecificationUomOverPreferredNameQuantityOrEmpty() throws IOException { + for (DataSpecificationUom instance : + new DataSpecificationUom[] { + CommonJsonization.loadMinimalDataSpecificationUom(), + CommonJsonization.loadMaximalDataSpecificationUom() + }) { + int length = instance.getPreferredNameQuantity().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overPreferredNameQuantityOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testDataSpecificationUomoverPreferredNameQuantityOrEmpty + + @Test + public void testDataSpecificationIec61360OverShortNameOrEmpty() throws IOException { + for (DataSpecificationIec61360 instance : + new DataSpecificationIec61360[] { + CommonJsonization.loadMinimalDataSpecificationIec61360(), + CommonJsonization.loadMaximalDataSpecificationIec61360() + }) { + int length = instance.getShortName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overShortNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testDataSpecificationIec61360overShortNameOrEmpty + + @Test + public void testDataSpecificationIec61360OverDefinitionOrEmpty() throws IOException { + for (DataSpecificationIec61360 instance : + new DataSpecificationIec61360[] { + CommonJsonization.loadMinimalDataSpecificationIec61360(), + CommonJsonization.loadMaximalDataSpecificationIec61360() + }) { + int length = instance.getDefinition().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDefinitionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testDataSpecificationIec61360overDefinitionOrEmpty + + @Test + public void testAssetAdministrationShellDescriptorOverDescriptionOrEmpty() throws IOException { + for (AssetAdministrationShellDescriptor instance : + new AssetAdministrationShellDescriptor[] { + CommonJsonization.loadMinimalAssetAdministrationShellDescriptor(), + CommonJsonization.loadMaximalAssetAdministrationShellDescriptor() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetAdministrationShellDescriptoroverDescriptionOrEmpty + + @Test + public void testAssetAdministrationShellDescriptorOverDisplayNameOrEmpty() throws IOException { + for (AssetAdministrationShellDescriptor instance : + new AssetAdministrationShellDescriptor[] { + CommonJsonization.loadMinimalAssetAdministrationShellDescriptor(), + CommonJsonization.loadMaximalAssetAdministrationShellDescriptor() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetAdministrationShellDescriptoroverDisplayNameOrEmpty + + @Test + public void testAssetAdministrationShellDescriptorOverExtensionsOrEmpty() throws IOException { + for (AssetAdministrationShellDescriptor instance : + new AssetAdministrationShellDescriptor[] { + CommonJsonization.loadMinimalAssetAdministrationShellDescriptor(), + CommonJsonization.loadMaximalAssetAdministrationShellDescriptor() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetAdministrationShellDescriptoroverExtensionsOrEmpty + + @Test + public void testAssetAdministrationShellDescriptorOverEndpointsOrEmpty() throws IOException { + for (AssetAdministrationShellDescriptor instance : + new AssetAdministrationShellDescriptor[] { + CommonJsonization.loadMinimalAssetAdministrationShellDescriptor(), + CommonJsonization.loadMaximalAssetAdministrationShellDescriptor() + }) { + int length = instance.getEndpoints().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEndpointsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetAdministrationShellDescriptoroverEndpointsOrEmpty + + @Test + public void testAssetAdministrationShellDescriptorOverSpecificAssetIdsOrEmpty() + throws IOException { + for (AssetAdministrationShellDescriptor instance : + new AssetAdministrationShellDescriptor[] { + CommonJsonization.loadMinimalAssetAdministrationShellDescriptor(), + CommonJsonization.loadMaximalAssetAdministrationShellDescriptor() + }) { + int length = instance.getSpecificAssetIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSpecificAssetIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetAdministrationShellDescriptoroverSpecificAssetIdsOrEmpty + + @Test + public void testAssetAdministrationShellDescriptorOverSubmodelDescriptorsOrEmpty() + throws IOException { + for (AssetAdministrationShellDescriptor instance : + new AssetAdministrationShellDescriptor[] { + CommonJsonization.loadMinimalAssetAdministrationShellDescriptor(), + CommonJsonization.loadMaximalAssetAdministrationShellDescriptor() + }) { + int length = instance.getSubmodelDescriptors().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSubmodelDescriptorsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetAdministrationShellDescriptoroverSubmodelDescriptorsOrEmpty + + @Test + public void testSubmodelDescriptorOverDescriptionOrEmpty() throws IOException { + for (SubmodelDescriptor instance : + new SubmodelDescriptor[] { + CommonJsonization.loadMinimalSubmodelDescriptor(), + CommonJsonization.loadMaximalSubmodelDescriptor() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelDescriptoroverDescriptionOrEmpty + + @Test + public void testSubmodelDescriptorOverDisplayNameOrEmpty() throws IOException { + for (SubmodelDescriptor instance : + new SubmodelDescriptor[] { + CommonJsonization.loadMinimalSubmodelDescriptor(), + CommonJsonization.loadMaximalSubmodelDescriptor() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelDescriptoroverDisplayNameOrEmpty + + @Test + public void testSubmodelDescriptorOverExtensionsOrEmpty() throws IOException { + for (SubmodelDescriptor instance : + new SubmodelDescriptor[] { + CommonJsonization.loadMinimalSubmodelDescriptor(), + CommonJsonization.loadMaximalSubmodelDescriptor() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelDescriptoroverExtensionsOrEmpty + + @Test + public void testSubmodelDescriptorOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (SubmodelDescriptor instance : + new SubmodelDescriptor[] { + CommonJsonization.loadMinimalSubmodelDescriptor(), + CommonJsonization.loadMaximalSubmodelDescriptor() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelDescriptoroverSupplementalSemanticIdsOrEmpty + + @Test + public void testProtocolInformationOverEndpointProtocolVersionOrEmpty() throws IOException { + for (ProtocolInformation instance : + new ProtocolInformation[] { + CommonJsonization.loadMinimalProtocolInformation(), + CommonJsonization.loadMaximalProtocolInformation() + }) { + int length = instance.getEndpointProtocolVersion().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEndpointProtocolVersionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testProtocolInformationoverEndpointProtocolVersionOrEmpty + + @Test + public void testProtocolInformationOverSecurityAttributesOrEmpty() throws IOException { + for (ProtocolInformation instance : + new ProtocolInformation[] { + CommonJsonization.loadMinimalProtocolInformation(), + CommonJsonization.loadMaximalProtocolInformation() + }) { + int length = instance.getSecurityAttributes().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSecurityAttributesOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testProtocolInformationoverSecurityAttributesOrEmpty + + @Test + public void testAssetAdministrationShellRecentChangeOverSpecificAssetIdsOrEmpty() + throws IOException { + for (AssetAdministrationShellRecentChange instance : + new AssetAdministrationShellRecentChange[] { + CommonJsonization.loadMinimalAssetAdministrationShellRecentChange(), + CommonJsonization.loadMaximalAssetAdministrationShellRecentChange() + }) { + int length = instance.getSpecificAssetIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSpecificAssetIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetAdministrationShellRecentChangeoverSpecificAssetIdsOrEmpty + + @Test + public void testSubmodelRecentChangeOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (SubmodelRecentChange instance : + new SubmodelRecentChange[] { + CommonJsonization.loadMinimalSubmodelRecentChange(), + CommonJsonization.loadMaximalSubmodelRecentChange() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelRecentChangeoverSupplementalSemanticIdsOrEmpty + + @Test + public void testResultOverMessagesOrEmpty() throws IOException { + for (Result instance : + new Result[] { + CommonJsonization.loadMinimalResult(), CommonJsonization.loadMaximalResult() + }) { + int length = instance.getMessages().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overMessagesOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testResultoverMessagesOrEmpty + + @Test + public void testOperationRequestOverInputArgumentsOrEmpty() throws IOException { + for (OperationRequest instance : + new OperationRequest[] { + CommonJsonization.loadMinimalOperationRequest(), + CommonJsonization.loadMaximalOperationRequest() + }) { + int length = instance.getInputArguments().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overInputArgumentsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationRequestoverInputArgumentsOrEmpty + + @Test + public void testOperationRequestOverInoutputArgumentsOrEmpty() throws IOException { + for (OperationRequest instance : + new OperationRequest[] { + CommonJsonization.loadMinimalOperationRequest(), + CommonJsonization.loadMaximalOperationRequest() + }) { + int length = instance.getInoutputArguments().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overInoutputArgumentsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationRequestoverInoutputArgumentsOrEmpty + + @Test + public void testOperationRequestAsyncOverInputArgumentsOrEmpty() throws IOException { + for (OperationRequestAsync instance : + new OperationRequestAsync[] { + CommonJsonization.loadMinimalOperationRequestAsync(), + CommonJsonization.loadMaximalOperationRequestAsync() + }) { + int length = instance.getInputArguments().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overInputArgumentsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationRequestAsyncoverInputArgumentsOrEmpty + + @Test + public void testOperationRequestAsyncOverInoutputArgumentsOrEmpty() throws IOException { + for (OperationRequestAsync instance : + new OperationRequestAsync[] { + CommonJsonization.loadMinimalOperationRequestAsync(), + CommonJsonization.loadMaximalOperationRequestAsync() + }) { + int length = instance.getInoutputArguments().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overInoutputArgumentsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationRequestAsyncoverInoutputArgumentsOrEmpty + + @Test + public void testBaseOperationResultOverMessagesOrEmpty() throws IOException { + for (BaseOperationResult instance : + new BaseOperationResult[] { + CommonJsonization.loadMinimalBaseOperationResult(), + CommonJsonization.loadMaximalBaseOperationResult() + }) { + int length = instance.getMessages().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overMessagesOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBaseOperationResultoverMessagesOrEmpty + + @Test + public void testOperationResultOverMessagesOrEmpty() throws IOException { + for (OperationResult instance : + new OperationResult[] { + CommonJsonization.loadMinimalOperationResult(), + CommonJsonization.loadMaximalOperationResult() + }) { + int length = instance.getMessages().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overMessagesOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationResultoverMessagesOrEmpty + + @Test + public void testOperationResultOverOutputArgumentsOrEmpty() throws IOException { + for (OperationResult instance : + new OperationResult[] { + CommonJsonization.loadMinimalOperationResult(), + CommonJsonization.loadMaximalOperationResult() + }) { + int length = instance.getOutputArguments().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overOutputArgumentsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationResultoverOutputArgumentsOrEmpty + + @Test + public void testOperationResultOverInoutputArgumentsOrEmpty() throws IOException { + for (OperationResult instance : + new OperationResult[] { + CommonJsonization.loadMinimalOperationResult(), + CommonJsonization.loadMaximalOperationResult() + }) { + int length = instance.getInoutputArguments().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overInoutputArgumentsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationResultoverInoutputArgumentsOrEmpty + + @Test + public void testOperationResultValueOnlyOverMessagesOrEmpty() throws IOException { + for (OperationResultValueOnly instance : + new OperationResultValueOnly[] { + CommonJsonization.loadMinimalOperationResultValueOnly(), + CommonJsonization.loadMaximalOperationResultValueOnly() + }) { + int length = instance.getMessages().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overMessagesOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationResultValueOnlyoverMessagesOrEmpty + + @Test + public void testPagedResultOverResultOrEmpty() throws IOException { + for (PagedResult instance : + new PagedResult[] { + CommonJsonization.loadMinimalPagedResult(), CommonJsonization.loadMaximalPagedResult() + }) { + int length = instance.getResult().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overResultOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testPagedResultoverResultOrEmpty + + @Test + public void testPackageDescriptionOverAasIdsOrEmpty() throws IOException { + for (PackageDescription instance : + new PackageDescription[] { + CommonJsonization.loadMinimalPackageDescription(), + CommonJsonization.loadMaximalPackageDescription() + }) { + int length = instance.getAasIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overAasIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testPackageDescriptionoverAasIdsOrEmpty + + @Test + public void testPropertyMetadataOverExtensionsOrEmpty() throws IOException { + for (PropertyMetadata instance : + new PropertyMetadata[] { + CommonJsonization.loadMinimalPropertyMetadata(), + CommonJsonization.loadMaximalPropertyMetadata() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testPropertyMetadataoverExtensionsOrEmpty + + @Test + public void testPropertyMetadataOverDisplayNameOrEmpty() throws IOException { + for (PropertyMetadata instance : + new PropertyMetadata[] { + CommonJsonization.loadMinimalPropertyMetadata(), + CommonJsonization.loadMaximalPropertyMetadata() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testPropertyMetadataoverDisplayNameOrEmpty + + @Test + public void testPropertyMetadataOverDescriptionOrEmpty() throws IOException { + for (PropertyMetadata instance : + new PropertyMetadata[] { + CommonJsonization.loadMinimalPropertyMetadata(), + CommonJsonization.loadMaximalPropertyMetadata() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testPropertyMetadataoverDescriptionOrEmpty + + @Test + public void testPropertyMetadataOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (PropertyMetadata instance : + new PropertyMetadata[] { + CommonJsonization.loadMinimalPropertyMetadata(), + CommonJsonization.loadMaximalPropertyMetadata() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testPropertyMetadataoverSupplementalSemanticIdsOrEmpty + + @Test + public void testPropertyMetadataOverQualifiersOrEmpty() throws IOException { + for (PropertyMetadata instance : + new PropertyMetadata[] { + CommonJsonization.loadMinimalPropertyMetadata(), + CommonJsonization.loadMaximalPropertyMetadata() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testPropertyMetadataoverQualifiersOrEmpty + + @Test + public void testPropertyMetadataOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (PropertyMetadata instance : + new PropertyMetadata[] { + CommonJsonization.loadMinimalPropertyMetadata(), + CommonJsonization.loadMaximalPropertyMetadata() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testPropertyMetadataoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testRangeMetadataOverExtensionsOrEmpty() throws IOException { + for (RangeMetadata instance : + new RangeMetadata[] { + CommonJsonization.loadMinimalRangeMetadata(), CommonJsonization.loadMaximalRangeMetadata() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRangeMetadataoverExtensionsOrEmpty + + @Test + public void testRangeMetadataOverDisplayNameOrEmpty() throws IOException { + for (RangeMetadata instance : + new RangeMetadata[] { + CommonJsonization.loadMinimalRangeMetadata(), CommonJsonization.loadMaximalRangeMetadata() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRangeMetadataoverDisplayNameOrEmpty + + @Test + public void testRangeMetadataOverDescriptionOrEmpty() throws IOException { + for (RangeMetadata instance : + new RangeMetadata[] { + CommonJsonization.loadMinimalRangeMetadata(), CommonJsonization.loadMaximalRangeMetadata() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRangeMetadataoverDescriptionOrEmpty + + @Test + public void testRangeMetadataOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (RangeMetadata instance : + new RangeMetadata[] { + CommonJsonization.loadMinimalRangeMetadata(), CommonJsonization.loadMaximalRangeMetadata() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRangeMetadataoverSupplementalSemanticIdsOrEmpty + + @Test + public void testRangeMetadataOverQualifiersOrEmpty() throws IOException { + for (RangeMetadata instance : + new RangeMetadata[] { + CommonJsonization.loadMinimalRangeMetadata(), CommonJsonization.loadMaximalRangeMetadata() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRangeMetadataoverQualifiersOrEmpty + + @Test + public void testRangeMetadataOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (RangeMetadata instance : + new RangeMetadata[] { + CommonJsonization.loadMinimalRangeMetadata(), CommonJsonization.loadMaximalRangeMetadata() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRangeMetadataoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testBlobMetadataOverExtensionsOrEmpty() throws IOException { + for (BlobMetadata instance : + new BlobMetadata[] { + CommonJsonization.loadMinimalBlobMetadata(), CommonJsonization.loadMaximalBlobMetadata() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBlobMetadataoverExtensionsOrEmpty + + @Test + public void testBlobMetadataOverDisplayNameOrEmpty() throws IOException { + for (BlobMetadata instance : + new BlobMetadata[] { + CommonJsonization.loadMinimalBlobMetadata(), CommonJsonization.loadMaximalBlobMetadata() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBlobMetadataoverDisplayNameOrEmpty + + @Test + public void testBlobMetadataOverDescriptionOrEmpty() throws IOException { + for (BlobMetadata instance : + new BlobMetadata[] { + CommonJsonization.loadMinimalBlobMetadata(), CommonJsonization.loadMaximalBlobMetadata() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBlobMetadataoverDescriptionOrEmpty + + @Test + public void testBlobMetadataOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (BlobMetadata instance : + new BlobMetadata[] { + CommonJsonization.loadMinimalBlobMetadata(), CommonJsonization.loadMaximalBlobMetadata() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBlobMetadataoverSupplementalSemanticIdsOrEmpty + + @Test + public void testBlobMetadataOverQualifiersOrEmpty() throws IOException { + for (BlobMetadata instance : + new BlobMetadata[] { + CommonJsonization.loadMinimalBlobMetadata(), CommonJsonization.loadMaximalBlobMetadata() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBlobMetadataoverQualifiersOrEmpty + + @Test + public void testBlobMetadataOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (BlobMetadata instance : + new BlobMetadata[] { + CommonJsonization.loadMinimalBlobMetadata(), CommonJsonization.loadMaximalBlobMetadata() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBlobMetadataoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testFileMetadataOverExtensionsOrEmpty() throws IOException { + for (FileMetadata instance : + new FileMetadata[] { + CommonJsonization.loadMinimalFileMetadata(), CommonJsonization.loadMaximalFileMetadata() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testFileMetadataoverExtensionsOrEmpty + + @Test + public void testFileMetadataOverDisplayNameOrEmpty() throws IOException { + for (FileMetadata instance : + new FileMetadata[] { + CommonJsonization.loadMinimalFileMetadata(), CommonJsonization.loadMaximalFileMetadata() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testFileMetadataoverDisplayNameOrEmpty + + @Test + public void testFileMetadataOverDescriptionOrEmpty() throws IOException { + for (FileMetadata instance : + new FileMetadata[] { + CommonJsonization.loadMinimalFileMetadata(), CommonJsonization.loadMaximalFileMetadata() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testFileMetadataoverDescriptionOrEmpty + + @Test + public void testFileMetadataOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (FileMetadata instance : + new FileMetadata[] { + CommonJsonization.loadMinimalFileMetadata(), CommonJsonization.loadMaximalFileMetadata() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testFileMetadataoverSupplementalSemanticIdsOrEmpty + + @Test + public void testFileMetadataOverQualifiersOrEmpty() throws IOException { + for (FileMetadata instance : + new FileMetadata[] { + CommonJsonization.loadMinimalFileMetadata(), CommonJsonization.loadMaximalFileMetadata() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testFileMetadataoverQualifiersOrEmpty + + @Test + public void testFileMetadataOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (FileMetadata instance : + new FileMetadata[] { + CommonJsonization.loadMinimalFileMetadata(), CommonJsonization.loadMaximalFileMetadata() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testFileMetadataoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testMultiLanguagePropertyMetadataOverExtensionsOrEmpty() throws IOException { + for (MultiLanguagePropertyMetadata instance : + new MultiLanguagePropertyMetadata[] { + CommonJsonization.loadMinimalMultiLanguagePropertyMetadata(), + CommonJsonization.loadMaximalMultiLanguagePropertyMetadata() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testMultiLanguagePropertyMetadataoverExtensionsOrEmpty + + @Test + public void testMultiLanguagePropertyMetadataOverDisplayNameOrEmpty() throws IOException { + for (MultiLanguagePropertyMetadata instance : + new MultiLanguagePropertyMetadata[] { + CommonJsonization.loadMinimalMultiLanguagePropertyMetadata(), + CommonJsonization.loadMaximalMultiLanguagePropertyMetadata() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testMultiLanguagePropertyMetadataoverDisplayNameOrEmpty + + @Test + public void testMultiLanguagePropertyMetadataOverDescriptionOrEmpty() throws IOException { + for (MultiLanguagePropertyMetadata instance : + new MultiLanguagePropertyMetadata[] { + CommonJsonization.loadMinimalMultiLanguagePropertyMetadata(), + CommonJsonization.loadMaximalMultiLanguagePropertyMetadata() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testMultiLanguagePropertyMetadataoverDescriptionOrEmpty + + @Test + public void testMultiLanguagePropertyMetadataOverSupplementalSemanticIdsOrEmpty() + throws IOException { + for (MultiLanguagePropertyMetadata instance : + new MultiLanguagePropertyMetadata[] { + CommonJsonization.loadMinimalMultiLanguagePropertyMetadata(), + CommonJsonization.loadMaximalMultiLanguagePropertyMetadata() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testMultiLanguagePropertyMetadataoverSupplementalSemanticIdsOrEmpty + + @Test + public void testMultiLanguagePropertyMetadataOverQualifiersOrEmpty() throws IOException { + for (MultiLanguagePropertyMetadata instance : + new MultiLanguagePropertyMetadata[] { + CommonJsonization.loadMinimalMultiLanguagePropertyMetadata(), + CommonJsonization.loadMaximalMultiLanguagePropertyMetadata() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testMultiLanguagePropertyMetadataoverQualifiersOrEmpty + + @Test + public void testMultiLanguagePropertyMetadataOverEmbeddedDataSpecificationsOrEmpty() + throws IOException { + for (MultiLanguagePropertyMetadata instance : + new MultiLanguagePropertyMetadata[] { + CommonJsonization.loadMinimalMultiLanguagePropertyMetadata(), + CommonJsonization.loadMaximalMultiLanguagePropertyMetadata() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testMultiLanguagePropertyMetadataoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testReferenceElementMetadataOverExtensionsOrEmpty() throws IOException { + for (ReferenceElementMetadata instance : + new ReferenceElementMetadata[] { + CommonJsonization.loadMinimalReferenceElementMetadata(), + CommonJsonization.loadMaximalReferenceElementMetadata() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testReferenceElementMetadataoverExtensionsOrEmpty + + @Test + public void testReferenceElementMetadataOverDisplayNameOrEmpty() throws IOException { + for (ReferenceElementMetadata instance : + new ReferenceElementMetadata[] { + CommonJsonization.loadMinimalReferenceElementMetadata(), + CommonJsonization.loadMaximalReferenceElementMetadata() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testReferenceElementMetadataoverDisplayNameOrEmpty + + @Test + public void testReferenceElementMetadataOverDescriptionOrEmpty() throws IOException { + for (ReferenceElementMetadata instance : + new ReferenceElementMetadata[] { + CommonJsonization.loadMinimalReferenceElementMetadata(), + CommonJsonization.loadMaximalReferenceElementMetadata() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testReferenceElementMetadataoverDescriptionOrEmpty + + @Test + public void testReferenceElementMetadataOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (ReferenceElementMetadata instance : + new ReferenceElementMetadata[] { + CommonJsonization.loadMinimalReferenceElementMetadata(), + CommonJsonization.loadMaximalReferenceElementMetadata() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testReferenceElementMetadataoverSupplementalSemanticIdsOrEmpty + + @Test + public void testReferenceElementMetadataOverQualifiersOrEmpty() throws IOException { + for (ReferenceElementMetadata instance : + new ReferenceElementMetadata[] { + CommonJsonization.loadMinimalReferenceElementMetadata(), + CommonJsonization.loadMaximalReferenceElementMetadata() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testReferenceElementMetadataoverQualifiersOrEmpty + + @Test + public void testReferenceElementMetadataOverEmbeddedDataSpecificationsOrEmpty() + throws IOException { + for (ReferenceElementMetadata instance : + new ReferenceElementMetadata[] { + CommonJsonization.loadMinimalReferenceElementMetadata(), + CommonJsonization.loadMaximalReferenceElementMetadata() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testReferenceElementMetadataoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testRelationshipElementMetadataOverExtensionsOrEmpty() throws IOException { + for (RelationshipElementMetadata instance : + new RelationshipElementMetadata[] { + CommonJsonization.loadMinimalRelationshipElementMetadata(), + CommonJsonization.loadMaximalRelationshipElementMetadata() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRelationshipElementMetadataoverExtensionsOrEmpty + + @Test + public void testRelationshipElementMetadataOverDisplayNameOrEmpty() throws IOException { + for (RelationshipElementMetadata instance : + new RelationshipElementMetadata[] { + CommonJsonization.loadMinimalRelationshipElementMetadata(), + CommonJsonization.loadMaximalRelationshipElementMetadata() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRelationshipElementMetadataoverDisplayNameOrEmpty + + @Test + public void testRelationshipElementMetadataOverDescriptionOrEmpty() throws IOException { + for (RelationshipElementMetadata instance : + new RelationshipElementMetadata[] { + CommonJsonization.loadMinimalRelationshipElementMetadata(), + CommonJsonization.loadMaximalRelationshipElementMetadata() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRelationshipElementMetadataoverDescriptionOrEmpty + + @Test + public void testRelationshipElementMetadataOverSupplementalSemanticIdsOrEmpty() + throws IOException { + for (RelationshipElementMetadata instance : + new RelationshipElementMetadata[] { + CommonJsonization.loadMinimalRelationshipElementMetadata(), + CommonJsonization.loadMaximalRelationshipElementMetadata() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRelationshipElementMetadataoverSupplementalSemanticIdsOrEmpty + + @Test + public void testRelationshipElementMetadataOverQualifiersOrEmpty() throws IOException { + for (RelationshipElementMetadata instance : + new RelationshipElementMetadata[] { + CommonJsonization.loadMinimalRelationshipElementMetadata(), + CommonJsonization.loadMaximalRelationshipElementMetadata() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRelationshipElementMetadataoverQualifiersOrEmpty + + @Test + public void testRelationshipElementMetadataOverEmbeddedDataSpecificationsOrEmpty() + throws IOException { + for (RelationshipElementMetadata instance : + new RelationshipElementMetadata[] { + CommonJsonization.loadMinimalRelationshipElementMetadata(), + CommonJsonization.loadMaximalRelationshipElementMetadata() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRelationshipElementMetadataoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testAnnotatedRelationshipElementMetadataOverExtensionsOrEmpty() throws IOException { + for (AnnotatedRelationshipElementMetadata instance : + new AnnotatedRelationshipElementMetadata[] { + CommonJsonization.loadMinimalAnnotatedRelationshipElementMetadata(), + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAnnotatedRelationshipElementMetadataoverExtensionsOrEmpty + + @Test + public void testAnnotatedRelationshipElementMetadataOverDisplayNameOrEmpty() throws IOException { + for (AnnotatedRelationshipElementMetadata instance : + new AnnotatedRelationshipElementMetadata[] { + CommonJsonization.loadMinimalAnnotatedRelationshipElementMetadata(), + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAnnotatedRelationshipElementMetadataoverDisplayNameOrEmpty + + @Test + public void testAnnotatedRelationshipElementMetadataOverDescriptionOrEmpty() throws IOException { + for (AnnotatedRelationshipElementMetadata instance : + new AnnotatedRelationshipElementMetadata[] { + CommonJsonization.loadMinimalAnnotatedRelationshipElementMetadata(), + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAnnotatedRelationshipElementMetadataoverDescriptionOrEmpty + + @Test + public void testAnnotatedRelationshipElementMetadataOverSupplementalSemanticIdsOrEmpty() + throws IOException { + for (AnnotatedRelationshipElementMetadata instance : + new AnnotatedRelationshipElementMetadata[] { + CommonJsonization.loadMinimalAnnotatedRelationshipElementMetadata(), + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAnnotatedRelationshipElementMetadataoverSupplementalSemanticIdsOrEmpty + + @Test + public void testAnnotatedRelationshipElementMetadataOverQualifiersOrEmpty() throws IOException { + for (AnnotatedRelationshipElementMetadata instance : + new AnnotatedRelationshipElementMetadata[] { + CommonJsonization.loadMinimalAnnotatedRelationshipElementMetadata(), + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAnnotatedRelationshipElementMetadataoverQualifiersOrEmpty + + @Test + public void testAnnotatedRelationshipElementMetadataOverEmbeddedDataSpecificationsOrEmpty() + throws IOException { + for (AnnotatedRelationshipElementMetadata instance : + new AnnotatedRelationshipElementMetadata[] { + CommonJsonization.loadMinimalAnnotatedRelationshipElementMetadata(), + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAnnotatedRelationshipElementMetadataoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testEntityMetadataOverExtensionsOrEmpty() throws IOException { + for (EntityMetadata instance : + new EntityMetadata[] { + CommonJsonization.loadMinimalEntityMetadata(), + CommonJsonization.loadMaximalEntityMetadata() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityMetadataoverExtensionsOrEmpty + + @Test + public void testEntityMetadataOverDisplayNameOrEmpty() throws IOException { + for (EntityMetadata instance : + new EntityMetadata[] { + CommonJsonization.loadMinimalEntityMetadata(), + CommonJsonization.loadMaximalEntityMetadata() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityMetadataoverDisplayNameOrEmpty + + @Test + public void testEntityMetadataOverDescriptionOrEmpty() throws IOException { + for (EntityMetadata instance : + new EntityMetadata[] { + CommonJsonization.loadMinimalEntityMetadata(), + CommonJsonization.loadMaximalEntityMetadata() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityMetadataoverDescriptionOrEmpty + + @Test + public void testEntityMetadataOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (EntityMetadata instance : + new EntityMetadata[] { + CommonJsonization.loadMinimalEntityMetadata(), + CommonJsonization.loadMaximalEntityMetadata() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityMetadataoverSupplementalSemanticIdsOrEmpty + + @Test + public void testEntityMetadataOverQualifiersOrEmpty() throws IOException { + for (EntityMetadata instance : + new EntityMetadata[] { + CommonJsonization.loadMinimalEntityMetadata(), + CommonJsonization.loadMaximalEntityMetadata() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityMetadataoverQualifiersOrEmpty + + @Test + public void testEntityMetadataOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (EntityMetadata instance : + new EntityMetadata[] { + CommonJsonization.loadMinimalEntityMetadata(), + CommonJsonization.loadMaximalEntityMetadata() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityMetadataoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testCapabilityMetadataOverExtensionsOrEmpty() throws IOException { + for (CapabilityMetadata instance : + new CapabilityMetadata[] { + CommonJsonization.loadMinimalCapabilityMetadata(), + CommonJsonization.loadMaximalCapabilityMetadata() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testCapabilityMetadataoverExtensionsOrEmpty + + @Test + public void testCapabilityMetadataOverDisplayNameOrEmpty() throws IOException { + for (CapabilityMetadata instance : + new CapabilityMetadata[] { + CommonJsonization.loadMinimalCapabilityMetadata(), + CommonJsonization.loadMaximalCapabilityMetadata() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testCapabilityMetadataoverDisplayNameOrEmpty + + @Test + public void testCapabilityMetadataOverDescriptionOrEmpty() throws IOException { + for (CapabilityMetadata instance : + new CapabilityMetadata[] { + CommonJsonization.loadMinimalCapabilityMetadata(), + CommonJsonization.loadMaximalCapabilityMetadata() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testCapabilityMetadataoverDescriptionOrEmpty + + @Test + public void testCapabilityMetadataOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (CapabilityMetadata instance : + new CapabilityMetadata[] { + CommonJsonization.loadMinimalCapabilityMetadata(), + CommonJsonization.loadMaximalCapabilityMetadata() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testCapabilityMetadataoverSupplementalSemanticIdsOrEmpty + + @Test + public void testCapabilityMetadataOverQualifiersOrEmpty() throws IOException { + for (CapabilityMetadata instance : + new CapabilityMetadata[] { + CommonJsonization.loadMinimalCapabilityMetadata(), + CommonJsonization.loadMaximalCapabilityMetadata() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testCapabilityMetadataoverQualifiersOrEmpty + + @Test + public void testCapabilityMetadataOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (CapabilityMetadata instance : + new CapabilityMetadata[] { + CommonJsonization.loadMinimalCapabilityMetadata(), + CommonJsonization.loadMaximalCapabilityMetadata() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testCapabilityMetadataoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testOperationMetadataOverExtensionsOrEmpty() throws IOException { + for (OperationMetadata instance : + new OperationMetadata[] { + CommonJsonization.loadMinimalOperationMetadata(), + CommonJsonization.loadMaximalOperationMetadata() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationMetadataoverExtensionsOrEmpty + + @Test + public void testOperationMetadataOverDisplayNameOrEmpty() throws IOException { + for (OperationMetadata instance : + new OperationMetadata[] { + CommonJsonization.loadMinimalOperationMetadata(), + CommonJsonization.loadMaximalOperationMetadata() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationMetadataoverDisplayNameOrEmpty + + @Test + public void testOperationMetadataOverDescriptionOrEmpty() throws IOException { + for (OperationMetadata instance : + new OperationMetadata[] { + CommonJsonization.loadMinimalOperationMetadata(), + CommonJsonization.loadMaximalOperationMetadata() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationMetadataoverDescriptionOrEmpty + + @Test + public void testOperationMetadataOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (OperationMetadata instance : + new OperationMetadata[] { + CommonJsonization.loadMinimalOperationMetadata(), + CommonJsonization.loadMaximalOperationMetadata() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationMetadataoverSupplementalSemanticIdsOrEmpty + + @Test + public void testOperationMetadataOverQualifiersOrEmpty() throws IOException { + for (OperationMetadata instance : + new OperationMetadata[] { + CommonJsonization.loadMinimalOperationMetadata(), + CommonJsonization.loadMaximalOperationMetadata() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationMetadataoverQualifiersOrEmpty + + @Test + public void testOperationMetadataOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (OperationMetadata instance : + new OperationMetadata[] { + CommonJsonization.loadMinimalOperationMetadata(), + CommonJsonization.loadMaximalOperationMetadata() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationMetadataoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testSubmodelElementCollectionMetadataOverExtensionsOrEmpty() throws IOException { + for (SubmodelElementCollectionMetadata instance : + new SubmodelElementCollectionMetadata[] { + CommonJsonization.loadMinimalSubmodelElementCollectionMetadata(), + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementCollectionMetadataoverExtensionsOrEmpty + + @Test + public void testSubmodelElementCollectionMetadataOverDisplayNameOrEmpty() throws IOException { + for (SubmodelElementCollectionMetadata instance : + new SubmodelElementCollectionMetadata[] { + CommonJsonization.loadMinimalSubmodelElementCollectionMetadata(), + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementCollectionMetadataoverDisplayNameOrEmpty + + @Test + public void testSubmodelElementCollectionMetadataOverDescriptionOrEmpty() throws IOException { + for (SubmodelElementCollectionMetadata instance : + new SubmodelElementCollectionMetadata[] { + CommonJsonization.loadMinimalSubmodelElementCollectionMetadata(), + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementCollectionMetadataoverDescriptionOrEmpty + + @Test + public void testSubmodelElementCollectionMetadataOverSupplementalSemanticIdsOrEmpty() + throws IOException { + for (SubmodelElementCollectionMetadata instance : + new SubmodelElementCollectionMetadata[] { + CommonJsonization.loadMinimalSubmodelElementCollectionMetadata(), + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementCollectionMetadataoverSupplementalSemanticIdsOrEmpty + + @Test + public void testSubmodelElementCollectionMetadataOverQualifiersOrEmpty() throws IOException { + for (SubmodelElementCollectionMetadata instance : + new SubmodelElementCollectionMetadata[] { + CommonJsonization.loadMinimalSubmodelElementCollectionMetadata(), + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementCollectionMetadataoverQualifiersOrEmpty + + @Test + public void testSubmodelElementCollectionMetadataOverEmbeddedDataSpecificationsOrEmpty() + throws IOException { + for (SubmodelElementCollectionMetadata instance : + new SubmodelElementCollectionMetadata[] { + CommonJsonization.loadMinimalSubmodelElementCollectionMetadata(), + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementCollectionMetadataoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testBasicEventElementMetadataOverExtensionsOrEmpty() throws IOException { + for (BasicEventElementMetadata instance : + new BasicEventElementMetadata[] { + CommonJsonization.loadMinimalBasicEventElementMetadata(), + CommonJsonization.loadMaximalBasicEventElementMetadata() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBasicEventElementMetadataoverExtensionsOrEmpty + + @Test + public void testBasicEventElementMetadataOverDisplayNameOrEmpty() throws IOException { + for (BasicEventElementMetadata instance : + new BasicEventElementMetadata[] { + CommonJsonization.loadMinimalBasicEventElementMetadata(), + CommonJsonization.loadMaximalBasicEventElementMetadata() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBasicEventElementMetadataoverDisplayNameOrEmpty + + @Test + public void testBasicEventElementMetadataOverDescriptionOrEmpty() throws IOException { + for (BasicEventElementMetadata instance : + new BasicEventElementMetadata[] { + CommonJsonization.loadMinimalBasicEventElementMetadata(), + CommonJsonization.loadMaximalBasicEventElementMetadata() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBasicEventElementMetadataoverDescriptionOrEmpty + + @Test + public void testBasicEventElementMetadataOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (BasicEventElementMetadata instance : + new BasicEventElementMetadata[] { + CommonJsonization.loadMinimalBasicEventElementMetadata(), + CommonJsonization.loadMaximalBasicEventElementMetadata() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBasicEventElementMetadataoverSupplementalSemanticIdsOrEmpty + + @Test + public void testBasicEventElementMetadataOverQualifiersOrEmpty() throws IOException { + for (BasicEventElementMetadata instance : + new BasicEventElementMetadata[] { + CommonJsonization.loadMinimalBasicEventElementMetadata(), + CommonJsonization.loadMaximalBasicEventElementMetadata() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBasicEventElementMetadataoverQualifiersOrEmpty + + @Test + public void testBasicEventElementMetadataOverEmbeddedDataSpecificationsOrEmpty() + throws IOException { + for (BasicEventElementMetadata instance : + new BasicEventElementMetadata[] { + CommonJsonization.loadMinimalBasicEventElementMetadata(), + CommonJsonization.loadMaximalBasicEventElementMetadata() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBasicEventElementMetadataoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testSubmodelElementListMetadataOverExtensionsOrEmpty() throws IOException { + for (SubmodelElementListMetadata instance : + new SubmodelElementListMetadata[] { + CommonJsonization.loadMinimalSubmodelElementListMetadata(), + CommonJsonization.loadMaximalSubmodelElementListMetadata() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementListMetadataoverExtensionsOrEmpty + + @Test + public void testSubmodelElementListMetadataOverDisplayNameOrEmpty() throws IOException { + for (SubmodelElementListMetadata instance : + new SubmodelElementListMetadata[] { + CommonJsonization.loadMinimalSubmodelElementListMetadata(), + CommonJsonization.loadMaximalSubmodelElementListMetadata() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementListMetadataoverDisplayNameOrEmpty + + @Test + public void testSubmodelElementListMetadataOverDescriptionOrEmpty() throws IOException { + for (SubmodelElementListMetadata instance : + new SubmodelElementListMetadata[] { + CommonJsonization.loadMinimalSubmodelElementListMetadata(), + CommonJsonization.loadMaximalSubmodelElementListMetadata() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementListMetadataoverDescriptionOrEmpty + + @Test + public void testSubmodelElementListMetadataOverSupplementalSemanticIdsOrEmpty() + throws IOException { + for (SubmodelElementListMetadata instance : + new SubmodelElementListMetadata[] { + CommonJsonization.loadMinimalSubmodelElementListMetadata(), + CommonJsonization.loadMaximalSubmodelElementListMetadata() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementListMetadataoverSupplementalSemanticIdsOrEmpty + + @Test + public void testSubmodelElementListMetadataOverQualifiersOrEmpty() throws IOException { + for (SubmodelElementListMetadata instance : + new SubmodelElementListMetadata[] { + CommonJsonization.loadMinimalSubmodelElementListMetadata(), + CommonJsonization.loadMaximalSubmodelElementListMetadata() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementListMetadataoverQualifiersOrEmpty + + @Test + public void testSubmodelElementListMetadataOverEmbeddedDataSpecificationsOrEmpty() + throws IOException { + for (SubmodelElementListMetadata instance : + new SubmodelElementListMetadata[] { + CommonJsonization.loadMinimalSubmodelElementListMetadata(), + CommonJsonization.loadMaximalSubmodelElementListMetadata() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementListMetadataoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testSubmodelMetadataOverExtensionsOrEmpty() throws IOException { + for (SubmodelMetadata instance : + new SubmodelMetadata[] { + CommonJsonization.loadMinimalSubmodelMetadata(), + CommonJsonization.loadMaximalSubmodelMetadata() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelMetadataoverExtensionsOrEmpty + + @Test + public void testSubmodelMetadataOverDisplayNameOrEmpty() throws IOException { + for (SubmodelMetadata instance : + new SubmodelMetadata[] { + CommonJsonization.loadMinimalSubmodelMetadata(), + CommonJsonization.loadMaximalSubmodelMetadata() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelMetadataoverDisplayNameOrEmpty + + @Test + public void testSubmodelMetadataOverDescriptionOrEmpty() throws IOException { + for (SubmodelMetadata instance : + new SubmodelMetadata[] { + CommonJsonization.loadMinimalSubmodelMetadata(), + CommonJsonization.loadMaximalSubmodelMetadata() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelMetadataoverDescriptionOrEmpty + + @Test + public void testSubmodelMetadataOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (SubmodelMetadata instance : + new SubmodelMetadata[] { + CommonJsonization.loadMinimalSubmodelMetadata(), + CommonJsonization.loadMaximalSubmodelMetadata() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelMetadataoverSupplementalSemanticIdsOrEmpty + + @Test + public void testSubmodelMetadataOverQualifiersOrEmpty() throws IOException { + for (SubmodelMetadata instance : + new SubmodelMetadata[] { + CommonJsonization.loadMinimalSubmodelMetadata(), + CommonJsonization.loadMaximalSubmodelMetadata() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelMetadataoverQualifiersOrEmpty + + @Test + public void testSubmodelMetadataOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (SubmodelMetadata instance : + new SubmodelMetadata[] { + CommonJsonization.loadMinimalSubmodelMetadata(), + CommonJsonization.loadMaximalSubmodelMetadata() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelMetadataoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testAssetAdministrationShellMetadataOverExtensionsOrEmpty() throws IOException { + for (AssetAdministrationShellMetadata instance : + new AssetAdministrationShellMetadata[] { + CommonJsonization.loadMinimalAssetAdministrationShellMetadata(), + CommonJsonization.loadMaximalAssetAdministrationShellMetadata() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetAdministrationShellMetadataoverExtensionsOrEmpty + + @Test + public void testAssetAdministrationShellMetadataOverDisplayNameOrEmpty() throws IOException { + for (AssetAdministrationShellMetadata instance : + new AssetAdministrationShellMetadata[] { + CommonJsonization.loadMinimalAssetAdministrationShellMetadata(), + CommonJsonization.loadMaximalAssetAdministrationShellMetadata() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetAdministrationShellMetadataoverDisplayNameOrEmpty + + @Test + public void testAssetAdministrationShellMetadataOverDescriptionOrEmpty() throws IOException { + for (AssetAdministrationShellMetadata instance : + new AssetAdministrationShellMetadata[] { + CommonJsonization.loadMinimalAssetAdministrationShellMetadata(), + CommonJsonization.loadMaximalAssetAdministrationShellMetadata() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetAdministrationShellMetadataoverDescriptionOrEmpty + + @Test + public void testAssetAdministrationShellMetadataOverEmbeddedDataSpecificationsOrEmpty() + throws IOException { + for (AssetAdministrationShellMetadata instance : + new AssetAdministrationShellMetadata[] { + CommonJsonization.loadMinimalAssetAdministrationShellMetadata(), + CommonJsonization.loadMaximalAssetAdministrationShellMetadata() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetAdministrationShellMetadataoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testEntityValueOverSpecificAssetIdsOrEmpty() throws IOException { + for (EntityValue instance : + new EntityValue[] { + CommonJsonization.loadMinimalEntityValue(), CommonJsonization.loadMaximalEntityValue() + }) { + int length = instance.getSpecificAssetIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSpecificAssetIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityValueoverSpecificAssetIdsOrEmpty + + @Test + public void testGetAssetAdministrationShellsResultOverResultOrEmpty() throws IOException { + for (GetAssetAdministrationShellsResult instance : + new GetAssetAdministrationShellsResult[] { + CommonJsonization.loadMinimalGetAssetAdministrationShellsResult(), + CommonJsonization.loadMaximalGetAssetAdministrationShellsResult() + }) { + int length = instance.getResult().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overResultOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testGetAssetAdministrationShellsResultoverResultOrEmpty + + @Test + public void testGetAssetAdministrationShellsMetadataResultOverResultOrEmpty() throws IOException { + for (GetAssetAdministrationShellsMetadataResult instance : + new GetAssetAdministrationShellsMetadataResult[] { + CommonJsonization.loadMinimalGetAssetAdministrationShellsMetadataResult(), + CommonJsonization.loadMaximalGetAssetAdministrationShellsMetadataResult() + }) { + int length = instance.getResult().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overResultOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testGetAssetAdministrationShellsMetadataResultoverResultOrEmpty + + @Test + public void testGetAllAssetAdministrationShellsRecentChangesResultOverResultOrEmpty() + throws IOException { + for (GetAllAssetAdministrationShellsRecentChangesResult instance : + new GetAllAssetAdministrationShellsRecentChangesResult[] { + CommonJsonization.loadMinimalGetAllAssetAdministrationShellsRecentChangesResult(), + CommonJsonization.loadMaximalGetAllAssetAdministrationShellsRecentChangesResult() + }) { + int length = instance.getResult().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overResultOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testGetAllAssetAdministrationShellsRecentChangesResultoverResultOrEmpty + + @Test + public void testGetAssetAdministrationShellDescriptorsResultOverResultOrEmpty() + throws IOException { + for (GetAssetAdministrationShellDescriptorsResult instance : + new GetAssetAdministrationShellDescriptorsResult[] { + CommonJsonization.loadMinimalGetAssetAdministrationShellDescriptorsResult(), + CommonJsonization.loadMaximalGetAssetAdministrationShellDescriptorsResult() + }) { + int length = instance.getResult().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overResultOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testGetAssetAdministrationShellDescriptorsResultoverResultOrEmpty + + @Test + public void testGetConceptDescriptionsResultOverResultOrEmpty() throws IOException { + for (GetConceptDescriptionsResult instance : + new GetConceptDescriptionsResult[] { + CommonJsonization.loadMinimalGetConceptDescriptionsResult(), + CommonJsonization.loadMaximalGetConceptDescriptionsResult() + }) { + int length = instance.getResult().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overResultOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testGetConceptDescriptionsResultoverResultOrEmpty + + @Test + public void testGetAllConceptDescriptionsRecentChangesResultOverResultOrEmpty() + throws IOException { + for (GetAllConceptDescriptionsRecentChangesResult instance : + new GetAllConceptDescriptionsRecentChangesResult[] { + CommonJsonization.loadMinimalGetAllConceptDescriptionsRecentChangesResult(), + CommonJsonization.loadMaximalGetAllConceptDescriptionsRecentChangesResult() + }) { + int length = instance.getResult().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overResultOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testGetAllConceptDescriptionsRecentChangesResultoverResultOrEmpty + + @Test + public void testGetPackageDescriptionsResultOverResultOrEmpty() throws IOException { + for (GetPackageDescriptionsResult instance : + new GetPackageDescriptionsResult[] { + CommonJsonization.loadMinimalGetPackageDescriptionsResult(), + CommonJsonization.loadMaximalGetPackageDescriptionsResult() + }) { + int length = instance.getResult().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overResultOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testGetPackageDescriptionsResultoverResultOrEmpty + + @Test + public void testGetPathItemsResultOverResultOrEmpty() throws IOException { + for (GetPathItemsResult instance : + new GetPathItemsResult[] { + CommonJsonization.loadMinimalGetPathItemsResult(), + CommonJsonization.loadMaximalGetPathItemsResult() + }) { + int length = instance.getResult().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overResultOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testGetPathItemsResultoverResultOrEmpty + + @Test + public void testGetReferencesResultOverResultOrEmpty() throws IOException { + for (GetReferencesResult instance : + new GetReferencesResult[] { + CommonJsonization.loadMinimalGetReferencesResult(), + CommonJsonization.loadMaximalGetReferencesResult() + }) { + int length = instance.getResult().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overResultOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testGetReferencesResultoverResultOrEmpty + + @Test + public void testGetSubmodelDescriptorsResultOverResultOrEmpty() throws IOException { + for (GetSubmodelDescriptorsResult instance : + new GetSubmodelDescriptorsResult[] { + CommonJsonization.loadMinimalGetSubmodelDescriptorsResult(), + CommonJsonization.loadMaximalGetSubmodelDescriptorsResult() + }) { + int length = instance.getResult().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overResultOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testGetSubmodelDescriptorsResultoverResultOrEmpty + + @Test + public void testGetSubmodelElementsMetadataResultOverResultOrEmpty() throws IOException { + for (GetSubmodelElementsMetadataResult instance : + new GetSubmodelElementsMetadataResult[] { + CommonJsonization.loadMinimalGetSubmodelElementsMetadataResult(), + CommonJsonization.loadMaximalGetSubmodelElementsMetadataResult() + }) { + int length = instance.getResult().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overResultOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testGetSubmodelElementsMetadataResultoverResultOrEmpty + + @Test + public void testGetSubmodelElementsResultOverResultOrEmpty() throws IOException { + for (GetSubmodelElementsResult instance : + new GetSubmodelElementsResult[] { + CommonJsonization.loadMinimalGetSubmodelElementsResult(), + CommonJsonization.loadMaximalGetSubmodelElementsResult() + }) { + int length = instance.getResult().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overResultOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testGetSubmodelElementsResultoverResultOrEmpty + + @Test + public void testGetSubmodelElementsValueResultOverResultOrEmpty() throws IOException { + for (GetSubmodelElementsValueResult instance : + new GetSubmodelElementsValueResult[] { + CommonJsonization.loadMinimalGetSubmodelElementsValueResult(), + CommonJsonization.loadMaximalGetSubmodelElementsValueResult() + }) { + int length = instance.getResult().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overResultOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testGetSubmodelElementsValueResultoverResultOrEmpty + + @Test + public void testGetAllSubmodelsRecentChangesResultOverResultOrEmpty() throws IOException { + for (GetAllSubmodelsRecentChangesResult instance : + new GetAllSubmodelsRecentChangesResult[] { + CommonJsonization.loadMinimalGetAllSubmodelsRecentChangesResult(), + CommonJsonization.loadMaximalGetAllSubmodelsRecentChangesResult() + }) { + int length = instance.getResult().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overResultOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testGetAllSubmodelsRecentChangesResultoverResultOrEmpty + + @Test + public void testGetSubmodelsMetadataResultOverResultOrEmpty() throws IOException { + for (GetSubmodelsMetadataResult instance : + new GetSubmodelsMetadataResult[] { + CommonJsonization.loadMinimalGetSubmodelsMetadataResult(), + CommonJsonization.loadMaximalGetSubmodelsMetadataResult() + }) { + int length = instance.getResult().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overResultOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testGetSubmodelsMetadataResultoverResultOrEmpty + + @Test + public void testGetSubmodelsResultOverResultOrEmpty() throws IOException { + for (GetSubmodelsResult instance : + new GetSubmodelsResult[] { + CommonJsonization.loadMinimalGetSubmodelsResult(), + CommonJsonization.loadMaximalGetSubmodelsResult() + }) { + int length = instance.getResult().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overResultOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testGetSubmodelsResultoverResultOrEmpty + + @Test + public void testGetSubmodelsValueResultOverResultOrEmpty() throws IOException { + for (GetSubmodelsValueResult instance : + new GetSubmodelsValueResult[] { + CommonJsonization.loadMinimalGetSubmodelsValueResult(), + CommonJsonization.loadMaximalGetSubmodelsValueResult() + }) { + int length = instance.getResult().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overResultOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testGetSubmodelsValueResultoverResultOrEmpty + + @Test + public void testQueryOverFiltersOrEmpty() throws IOException { + for (Query instance : + new Query[] {CommonJsonization.loadMinimalQuery(), CommonJsonization.loadMaximalQuery()}) { + int length = instance.getFilters().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overFiltersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testQueryoverFiltersOrEmpty +} // class TestOverXOrEmpty + +// package aas_core.aas3_2.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestParseInt.java b/src/test/java/TestParseInt.java new file mode 100644 index 00000000..e1ee98e2 --- /dev/null +++ b/src/test/java/TestParseInt.java @@ -0,0 +1,174 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; + +import aas_core.aas3_2.common.StringHelpers; +import org.junit.jupiter.api.Test; + +/** + * Test {@code int} as used in the verification. + * + *

The transpiled {@code int} is stricter than the Python {@code int}. It accepts only an + * optional sign followed by the ASCII digits, and only the safe integers, i.e., the integers + * within {@code -(2^53 - 1)} and {@code 2^53 - 1}. Otherwise, it throws. + * + *

The other SDKs test against the very same cases. + */ +public class TestParseInt { + @Test + public void testInt0() { + assertEquals(0L, StringHelpers.parseSafeInt("0")); + } // public void testInt0 + + @Test + public void testInt1() { + assertEquals(0L, StringHelpers.parseSafeInt("-0")); + } // public void testInt1 + + @Test + public void testInt2() { + assertEquals(7L, StringHelpers.parseSafeInt("+7")); + } // public void testInt2 + + @Test + public void testInt3() { + assertEquals(42L, StringHelpers.parseSafeInt("42")); + } // public void testInt3 + + @Test + public void testInt4() { + assertEquals(-42L, StringHelpers.parseSafeInt("-42")); + } // public void testInt4 + + @Test + public void testInt5() { + assertEquals(7L, StringHelpers.parseSafeInt("0007")); + } // public void testInt5 + + @Test + public void testInt6() { + assertEquals(-42L, StringHelpers.parseSafeInt("-0042")); + } // public void testInt6 + + @Test + public void testInt7() { + assertEquals(1L, StringHelpers.parseSafeInt("0000000000000000000000000000001")); + } // public void testInt7 + + @Test + public void testInt8() { + assertEquals(9007199254740991L, StringHelpers.parseSafeInt("9007199254740991")); + } // public void testInt8 + + @Test + public void testInt9() { + assertEquals(-9007199254740991L, StringHelpers.parseSafeInt("-9007199254740991")); + } // public void testInt9 + + @Test + public void testInt10() { + assertEquals(9007199254740991L, StringHelpers.parseSafeInt("+0009007199254740991")); + } // public void testInt10 + + @Test + public void testIntInvalid0() { + assertThrows(IllegalArgumentException.class, () -> StringHelpers.parseSafeInt("")); + } // public void testIntInvalid0 + + @Test + public void testIntInvalid1() { + assertThrows(IllegalArgumentException.class, () -> StringHelpers.parseSafeInt("+")); + } // public void testIntInvalid1 + + @Test + public void testIntInvalid2() { + assertThrows(IllegalArgumentException.class, () -> StringHelpers.parseSafeInt("-")); + } // public void testIntInvalid2 + + @Test + public void testIntInvalid3() { + assertThrows(IllegalArgumentException.class, () -> StringHelpers.parseSafeInt("+-1")); + } // public void testIntInvalid3 + + @Test + public void testIntInvalid4() { + assertThrows(IllegalArgumentException.class, () -> StringHelpers.parseSafeInt(" 1")); + } // public void testIntInvalid4 + + @Test + public void testIntInvalid5() { + assertThrows(IllegalArgumentException.class, () -> StringHelpers.parseSafeInt("1 ")); + } // public void testIntInvalid5 + + @Test + public void testIntInvalid6() { + assertThrows(IllegalArgumentException.class, () -> StringHelpers.parseSafeInt("1_0")); + } // public void testIntInvalid6 + + @Test + public void testIntInvalid7() { + assertThrows(IllegalArgumentException.class, () -> StringHelpers.parseSafeInt("1.0")); + } // public void testIntInvalid7 + + @Test + public void testIntInvalid8() { + assertThrows(IllegalArgumentException.class, () -> StringHelpers.parseSafeInt("1e3")); + } // public void testIntInvalid8 + + @Test + public void testIntInvalid9() { + assertThrows(IllegalArgumentException.class, () -> StringHelpers.parseSafeInt("0x10")); + } // public void testIntInvalid9 + + @Test + public void testIntInvalid10() { + assertThrows(IllegalArgumentException.class, () -> StringHelpers.parseSafeInt("٥")); + } // public void testIntInvalid10 + + @Test + public void testIntInvalid11() { + assertThrows(IllegalArgumentException.class, () -> StringHelpers.parseSafeInt("1")); + } // public void testIntInvalid11 + + @Test + public void testIntInvalid12() { + assertThrows( + IllegalArgumentException.class, () -> StringHelpers.parseSafeInt("9007199254740992")); + } // public void testIntInvalid12 + + @Test + public void testIntInvalid13() { + assertThrows( + IllegalArgumentException.class, () -> StringHelpers.parseSafeInt("-9007199254740992")); + } // public void testIntInvalid13 + + @Test + public void testIntInvalid14() { + assertThrows( + IllegalArgumentException.class, () -> StringHelpers.parseSafeInt("9223372036854775807")); + } // public void testIntInvalid14 + + @Test + public void testIntInvalid15() { + assertThrows( + IllegalArgumentException.class, + () -> StringHelpers.parseSafeInt("999999999999999999999999999999")); + } // public void testIntInvalid15 +} // class TestParseInt + +// package aas_core.aas3_2.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestStringHelpers.java b/src/test/java/TestStringHelpers.java new file mode 100644 index 00000000..9bb750e0 --- /dev/null +++ b/src/test/java/TestStringHelpers.java @@ -0,0 +1,673 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertTrue; + +import aas_core.aas3_2.common.StringHelpers; +import org.junit.jupiter.api.DisplayName; +import org.junit.jupiter.api.Test; + +/** + * Test the operations on strings. + * + *

The operations follow the Python implementation, since Python is the language of the + * meta-model specifications. Hence, they work on the characters (code points) of the strings. The + * expected values have been computed with Python, and all the SDKs test against the very same + * cases. + */ +public class TestStringHelpers { + @Test + @DisplayName("len(\'\') gives 0: empty text") + public void testLenEmptyText() { + assertEquals(0, StringHelpers.len("")); + } + + @Test + @DisplayName("len(\'abc\') gives 3: ASCII text") + public void testLenAsciiText() { + assertEquals(3, StringHelpers.len("abc")); + } + + @Test + @DisplayName("len(\'é-\') gives 2: character of two UTF-8 bytes") + public void testLenCharacterOfTwoUtf8Bytes() { + assertEquals(2, StringHelpers.len("é-")); + } + + @Test + @DisplayName("len(\'😀-\') gives 2: character beyond the Basic Multilingual Plane") + public void testLenCharacterBeyondTheBasicMultilingualPlane() { + assertEquals(2, StringHelpers.len("😀-")); + } + + @Test + @DisplayName("len(\'aé😀b😀\') gives 5: mixed characters") + public void testLenMixedCharacters() { + assertEquals(5, StringHelpers.len("aé😀b😀")); + } + + @Test + @DisplayName("\'abcde\'[1:3] gives \'bc\': start and end") + public void testSliceStartAndEnd() { + assertEquals("bc", StringHelpers.slice("abcde", 1, 3)); + } + + @Test + @DisplayName("\'abcde\'[:2] gives \'ab\': no start") + public void testSliceNoStart() { + assertEquals("ab", StringHelpers.slice("abcde", 0, 2)); + } + + @Test + @DisplayName("\'abcde\'[3:] gives \'de\': no end") + public void testSliceNoEnd() { + assertEquals("de", StringHelpers.slice("abcde", 3)); + } + + @Test + @DisplayName("\'abcde\'[:] gives \'abcde\': neither start nor end") + public void testSliceNeitherStartNorEnd() { + assertEquals("abcde", StringHelpers.slice("abcde", 0)); + } + + @Test + @DisplayName("\'abcde\'[-2:] gives \'de\': negative start counts from the end") + public void testSliceNegativeStartCountsFromTheEnd() { + assertEquals("de", StringHelpers.slice("abcde", -2)); + } + + @Test + @DisplayName("\'abcde\'[:-2] gives \'abc\': negative end counts from the end") + public void testSliceNegativeEndCountsFromTheEnd() { + assertEquals("abc", StringHelpers.slice("abcde", 0, -2)); + } + + @Test + @DisplayName("\'abcde\'[-4:-1] gives \'bcd\': negative start and end") + public void testSliceNegativeStartAndEnd() { + assertEquals("bcd", StringHelpers.slice("abcde", -4, -1)); + } + + @Test + @DisplayName("\'abcde\'[-10:2] gives \'ab\': negative start before the beginning is clamped") + public void testSliceNegativeStartBeforeTheBeginningIsClamped() { + assertEquals("ab", StringHelpers.slice("abcde", -10, 2)); + } + + @Test + @DisplayName("\'abcde\'[2:10] gives \'cde\': end beyond the end is clamped") + public void testSliceEndBeyondTheEndIsClamped() { + assertEquals("cde", StringHelpers.slice("abcde", 2, 10)); + } + + @Test + @DisplayName("\'abcde\'[10:] gives \'\': start beyond the end gives empty") + public void testSliceStartBeyondTheEndGivesEmpty() { + assertEquals("", StringHelpers.slice("abcde", 10)); + } + + @Test + @DisplayName("\'abcde\'[3:1] gives \'\': start after end gives empty") + public void testSliceStartAfterEndGivesEmpty() { + assertEquals("", StringHelpers.slice("abcde", 3, 1)); + } + + @Test + @DisplayName("\'abcde\'[-1:-3] gives \'\': negative start after negative end gives empty") + public void testSliceNegativeStartAfterNegativeEndGivesEmpty() { + assertEquals("", StringHelpers.slice("abcde", -1, -3)); + } + + @Test + @DisplayName("\'abcde\'[5:5] gives \'\': start equal to end gives empty") + public void testSliceStartEqualToEndGivesEmpty() { + assertEquals("", StringHelpers.slice("abcde", 5, 5)); + } + + @Test + @DisplayName("\'\'[0:0] gives \'\': empty text") + public void testSliceEmptyText() { + assertEquals("", StringHelpers.slice("", 0, 0)); + } + + @Test + @DisplayName("\'\'[-1:] gives \'\': negative start on empty text") + public void testSliceNegativeStartOnEmptyText() { + assertEquals("", StringHelpers.slice("", -1)); + } + + @Test + @DisplayName("\'\'[:5] gives \'\': end beyond the end of empty text") + public void testSliceEndBeyondTheEndOfEmptyText() { + assertEquals("", StringHelpers.slice("", 0, 5)); + } + + @Test + @DisplayName("\'é-x\'[1:] gives \'-x\': after a character of two UTF-8 bytes") + public void testSliceAfterACharacterOfTwoUtf8Bytes() { + assertEquals("-x", StringHelpers.slice("é-x", 1)); + } + + @Test + @DisplayName("\'aéb\'[1:2] gives \'é\': character of two UTF-8 bytes") + public void testSliceCharacterOfTwoUtf8Bytes() { + assertEquals("é", StringHelpers.slice("aéb", 1, 2)); + } + + @Test + @DisplayName("\'a😀b\'[1:2] gives \'😀\': character beyond the Basic Multilingual Plane") + public void testSliceCharacterBeyondTheBasicMultilingualPlane() { + assertEquals("😀", StringHelpers.slice("a😀b", 1, 2)); + } + + @Test + @DisplayName("\'😀-x\'[1:] gives \'-x\': after a character beyond the Basic Multilingual Plane") + public void testSliceAfterACharacterBeyondTheBasicMultilingualPlane() { + assertEquals("-x", StringHelpers.slice("😀-x", 1)); + } + + @Test + @DisplayName("\'aé😀b😀\'[-3:-1] gives \'😀b\': negative start on characters beyond ASCII") + public void testSliceNegativeStartOnCharactersBeyondAscii() { + assertEquals("😀b", StringHelpers.slice("aé😀b😀", -3, -1)); + } + + @Test + @DisplayName("\'abcabc\'.find(\'b\') gives 1: found") + public void testFindFound() { + assertEquals(1, StringHelpers.find("abcabc", "b")); + } + + @Test + @DisplayName("\'abcabc\'.find(\'x\') gives -1: not found") + public void testFindNotFound() { + assertEquals(-1, StringHelpers.find("abcabc", "x")); + } + + @Test + @DisplayName("\'abcabc\'.find(\'\') gives 0: empty sub") + public void testFindEmptySub() { + assertEquals(0, StringHelpers.find("abcabc", "")); + } + + @Test + @DisplayName("\'ab\'.find(\'abc\') gives -1: sub longer than text") + public void testFindSubLongerThanText() { + assertEquals(-1, StringHelpers.find("ab", "abc")); + } + + @Test + @DisplayName("\'abcabc\'.find(\'b\', 2) gives 4: found after start") + public void testFindFoundAfterStart() { + assertEquals(4, StringHelpers.find("abcabc", "b", 2)); + } + + @Test + @DisplayName("\'abcabc\'.find(\'b\', 5) gives -1: found only before start") + public void testFindFoundOnlyBeforeStart() { + assertEquals(-1, StringHelpers.find("abcabc", "b", 5)); + } + + @Test + @DisplayName("\'abcabc\'.find(\'c\', -1) gives 5: negative start counts from the end") + public void testFindNegativeStartCountsFromTheEnd() { + assertEquals(5, StringHelpers.find("abcabc", "c", -1)); + } + + @Test + @DisplayName("\'abcabc\'.find(\'a\', -3) gives 3: negative start finds the later occurrence") + public void testFindNegativeStartFindsTheLaterOccurrence() { + assertEquals(3, StringHelpers.find("abcabc", "a", -3)); + } + + @Test + @DisplayName( + "\'abcabc\'.find(\'a\', -10) gives 0: negative start before the beginning is clamped") + public void testFindNegativeStartBeforeTheBeginningIsClamped() { + assertEquals(0, StringHelpers.find("abcabc", "a", -10)); + } + + @Test + @DisplayName("\'abcabc\'.find(\'\', 6) gives 6: empty sub at the end") + public void testFindEmptySubAtTheEnd() { + assertEquals(6, StringHelpers.find("abcabc", "", 6)); + } + + @Test + @DisplayName("\'abcabc\'.find(\'\', 7) gives -1: empty sub beyond the end gives -1") + public void testFindEmptySubBeyondTheEndGives1() { + assertEquals(-1, StringHelpers.find("abcabc", "", 7)); + } + + @Test + @DisplayName("\'abcabc\'.find(\'c\', 10) gives -1: start beyond the end gives -1") + public void testFindStartBeyondTheEndGives1() { + assertEquals(-1, StringHelpers.find("abcabc", "c", 10)); + } + + @Test + @DisplayName("\'\'.find(\'\') gives 0: empty sub in empty text") + public void testFindEmptySubInEmptyText() { + assertEquals(0, StringHelpers.find("", "")); + } + + @Test + @DisplayName("\'\'.find(\'\', 1) gives -1: empty sub beyond the end of empty text gives -1") + public void testFindEmptySubBeyondTheEndOfEmptyTextGives1() { + assertEquals(-1, StringHelpers.find("", "", 1)); + } + + @Test + @DisplayName("\'\'.find(\'x\') gives -1: not found in empty text") + public void testFindNotFoundInEmptyText() { + assertEquals(-1, StringHelpers.find("", "x")); + } + + @Test + @DisplayName("\'é-\'.find(\'-\') gives 1: after a character of two UTF-8 bytes") + public void testFindAfterACharacterOfTwoUtf8Bytes() { + assertEquals(1, StringHelpers.find("é-", "-")); + } + + @Test + @DisplayName("\'😀-\'.find(\'-\') gives 1: after a character beyond the Basic Multilingual Plane") + public void testFindAfterACharacterBeyondTheBasicMultilingualPlane() { + assertEquals(1, StringHelpers.find("😀-", "-")); + } + + @Test + @DisplayName("\'a😀b\'.find(\'😀\') gives 1: character beyond the Basic Multilingual Plane") + public void testFindCharacterBeyondTheBasicMultilingualPlane() { + assertEquals(1, StringHelpers.find("a😀b", "😀")); + } + + @Test + @DisplayName("\'😀a😀a\'.find(\'a\', 2) gives 3: start after a character beyond ASCII") + public void testFindStartAfterACharacterBeyondAscii() { + assertEquals(3, StringHelpers.find("😀a😀a", "a", 2)); + } + + @Test + @DisplayName("\'😀a😀a\'.find(\'😀\', -2) gives 2: negative start on characters beyond ASCII") + public void testFindNegativeStartOnCharactersBeyondAscii() { + assertEquals(2, StringHelpers.find("😀a😀a", "😀", -2)); + } + + @Test + @DisplayName("\'é😀\'.find(\'\', 3) gives -1: start beyond the end of characters beyond ASCII") + public void testFindStartBeyondTheEndOfCharactersBeyondAscii() { + assertEquals(-1, StringHelpers.find("é😀", "", 3)); + } + + @Test + @DisplayName("compare(\'\', \'\') gives 0: empty texts") + public void testCompareEmptyTexts() { + assertEquals(0, Integer.signum(StringHelpers.compareByCodePoints("", ""))); + } + + @Test + @DisplayName("compare(\'abc\', \'abc\') gives 0: equal texts") + public void testCompareEqualTexts() { + assertEquals(0, Integer.signum(StringHelpers.compareByCodePoints("abc", "abc"))); + } + + @Test + @DisplayName("compare(\'\', \'a\') gives -1: empty text before non-empty") + public void testCompareEmptyTextBeforeNonEmpty() { + assertEquals(-1, Integer.signum(StringHelpers.compareByCodePoints("", "a"))); + } + + @Test + @DisplayName("compare(\'ab\', \'abc\') gives -1: prefix before the longer text") + public void testComparePrefixBeforeTheLongerText() { + assertEquals(-1, Integer.signum(StringHelpers.compareByCodePoints("ab", "abc"))); + } + + @Test + @DisplayName("compare(\'abd\', \'abc\') gives 1: first difference decides") + public void testCompareFirstDifferenceDecides() { + assertEquals(1, Integer.signum(StringHelpers.compareByCodePoints("abd", "abc"))); + } + + @Test + @DisplayName("compare(\'B\', \'a\') gives -1: upper case before lower case") + public void testCompareUpperCaseBeforeLowerCase() { + assertEquals(-1, Integer.signum(StringHelpers.compareByCodePoints("B", "a"))); + } + + @Test + @DisplayName("compare(\'é\', \'z\') gives 1: character of two UTF-8 bytes after ASCII") + public void testCompareCharacterOfTwoUtf8BytesAfterAscii() { + assertEquals(1, Integer.signum(StringHelpers.compareByCodePoints("é", "z"))); + } + + @Test + @DisplayName("compare(\'aé😀\', \'aé😀\') gives 0: equal characters beyond ASCII") + public void testCompareEqualCharactersBeyondAscii() { + assertEquals(0, Integer.signum(StringHelpers.compareByCodePoints("aé😀", "aé😀"))); + } + + @Test + @DisplayName( + "compare(\'😀\', \'�\') gives 1: character beyond the Basic Multilingual Plane after U+FFFD") + public void testCompareCharacterBeyondTheBasicMultilingualPlaneAfterUFffd() { + assertEquals(1, Integer.signum(StringHelpers.compareByCodePoints("😀", "�"))); + } + + @Test + @DisplayName( + "compare(\'a\\ue000\', \'a😀\') gives -1: U+E000 before a character beyond the Basic Multilingual Plane") + public void testCompareUE000BeforeACharacterBeyondTheBasicMultilingualPlane() { + assertEquals(-1, Integer.signum(StringHelpers.compareByCodePoints("a", "a😀"))); + } + + @Test + @DisplayName( + "compare(\'😀\', \'😁\') gives -1: characters beyond the Basic Multilingual Plane differing in low surrogates") + public void testCompareCharactersBeyondTheBasicMultilingualPlaneDifferingInLowSurrogates() { + assertEquals(-1, Integer.signum(StringHelpers.compareByCodePoints("😀", "😁"))); + } + + @Test + @DisplayName( + "compare(\'😀\', \'𝄞\') gives 1: characters beyond the Basic Multilingual Plane differing in high surrogates") + public void testCompareCharactersBeyondTheBasicMultilingualPlaneDifferingInHighSurrogates() { + assertEquals(1, Integer.signum(StringHelpers.compareByCodePoints("😀", "𝄞"))); + } + + @Test + @DisplayName("\'000123\'.lstrip(\'0\') gives \'123\': leading zeros") + public void testLstripLeadingZeros() { + assertEquals("123", StringHelpers.lstrip("000123", "0")); + } + + @Test + @DisplayName("\'+-+12\'.lstrip(\'+-\') gives \'12\': any of the characters") + public void testLstripAnyOfTheCharacters() { + assertEquals("12", StringHelpers.lstrip("+-+12", "+-")); + } + + @Test + @DisplayName("\'0102\'.lstrip(\'0\') gives \'102\': only the leading characters") + public void testLstripOnlyTheLeadingCharacters() { + assertEquals("102", StringHelpers.lstrip("0102", "0")); + } + + @Test + @DisplayName("\'\'.lstrip(\'0\') gives \'\': empty text") + public void testLstripEmptyText() { + assertEquals("", StringHelpers.lstrip("", "0")); + } + + @Test + @DisplayName("\'000\'.lstrip(\'0\') gives \'\': all the characters") + public void testLstripAllTheCharacters() { + assertEquals("", StringHelpers.lstrip("000", "0")); + } + + @Test + @DisplayName("\'abc\'.lstrip(\'\') gives \'abc\': empty characters") + public void testLstripEmptyCharacters() { + assertEquals("abc", StringHelpers.lstrip("abc", "")); + } + + @Test + @DisplayName("\'abc\'.lstrip(\'xyz\') gives \'abc\': characters not in the text") + public void testLstripCharactersNotInTheText() { + assertEquals("abc", StringHelpers.lstrip("abc", "xyz")); + } + + @Test + @DisplayName("\'abc\'.lstrip(\'cba\') gives \'\': characters in any order") + public void testLstripCharactersInAnyOrder() { + assertEquals("", StringHelpers.lstrip("abc", "cba")); + } + + @Test + @DisplayName("\'éé-x\'.lstrip(\'-é\') gives \'x\': character of two UTF-8 bytes") + public void testLstripCharacterOfTwoUtf8Bytes() { + assertEquals("x", StringHelpers.lstrip("éé-x", "-é")); + } + + @Test + @DisplayName( + "\'😀😀a😀\'.lstrip(\'😀\') gives \'a😀\': character beyond the Basic Multilingual Plane") + public void testLstripCharacterBeyondTheBasicMultilingualPlane() { + assertEquals("a😀", StringHelpers.lstrip("😀😀a😀", "😀")); + } + + @Test + @DisplayName("\'😁x\'.lstrip(\'😀\') gives \'😁x\': character sharing the high surrogate") + public void testLstripCharacterSharingTheHighSurrogate() { + assertEquals("😁x", StringHelpers.lstrip("😁x", "😀")); + } + + @Test + @DisplayName("\'😀x\'.lstrip(\'\\U00010200😁\') gives \'😀x\': characters sharing the surrogates") + public void testLstripCharactersSharingTheSurrogates() { + assertEquals("😀x", StringHelpers.lstrip("😀x", "𐈀😁")); + } + + @Test + @DisplayName("\'a😀\'.lstrip(\'a\') gives \'😀\': ASCII before a character beyond ASCII") + public void testLstripAsciiBeforeACharacterBeyondAscii() { + assertEquals("😀", StringHelpers.lstrip("a😀", "a")); + } + + @Test + @DisplayName("\'123000\'.rstrip(\'0\') gives \'123\': trailing zeros") + public void testRstripTrailingZeros() { + assertEquals("123", StringHelpers.rstrip("123000", "0")); + } + + @Test + @DisplayName("\'12+-+\'.rstrip(\'+-\') gives \'12\': any of the characters") + public void testRstripAnyOfTheCharacters() { + assertEquals("12", StringHelpers.rstrip("12+-+", "+-")); + } + + @Test + @DisplayName("\'2010\'.rstrip(\'0\') gives \'201\': only the trailing characters") + public void testRstripOnlyTheTrailingCharacters() { + assertEquals("201", StringHelpers.rstrip("2010", "0")); + } + + @Test + @DisplayName("\'\'.rstrip(\'0\') gives \'\': empty text") + public void testRstripEmptyText() { + assertEquals("", StringHelpers.rstrip("", "0")); + } + + @Test + @DisplayName("\'000\'.rstrip(\'0\') gives \'\': all the characters") + public void testRstripAllTheCharacters() { + assertEquals("", StringHelpers.rstrip("000", "0")); + } + + @Test + @DisplayName("\'abc\'.rstrip(\'\') gives \'abc\': empty characters") + public void testRstripEmptyCharacters() { + assertEquals("abc", StringHelpers.rstrip("abc", "")); + } + + @Test + @DisplayName("\'abc\'.rstrip(\'xyz\') gives \'abc\': characters not in the text") + public void testRstripCharactersNotInTheText() { + assertEquals("abc", StringHelpers.rstrip("abc", "xyz")); + } + + @Test + @DisplayName("\'abc\'.rstrip(\'cba\') gives \'\': characters in any order") + public void testRstripCharactersInAnyOrder() { + assertEquals("", StringHelpers.rstrip("abc", "cba")); + } + + @Test + @DisplayName("\'x-éé\'.rstrip(\'-é\') gives \'x\': character of two UTF-8 bytes") + public void testRstripCharacterOfTwoUtf8Bytes() { + assertEquals("x", StringHelpers.rstrip("x-éé", "-é")); + } + + @Test + @DisplayName( + "\'😀a😀😀\'.rstrip(\'😀\') gives \'😀a\': character beyond the Basic Multilingual Plane") + public void testRstripCharacterBeyondTheBasicMultilingualPlane() { + assertEquals("😀a", StringHelpers.rstrip("😀a😀😀", "😀")); + } + + @Test + @DisplayName("\'x😁\'.rstrip(\'😀\') gives \'x😁\': character sharing the high surrogate") + public void testRstripCharacterSharingTheHighSurrogate() { + assertEquals("x😁", StringHelpers.rstrip("x😁", "😀")); + } + + @Test + @DisplayName("\'x😀\'.rstrip(\'\\U00010200😁\') gives \'x😀\': characters sharing the surrogates") + public void testRstripCharactersSharingTheSurrogates() { + assertEquals("x😀", StringHelpers.rstrip("x😀", "𐈀😁")); + } + + @Test + @DisplayName("\'😀a\'.rstrip(\'a\') gives \'😀\': ASCII after a character beyond ASCII") + public void testRstripAsciiAfterACharacterBeyondAscii() { + assertEquals("😀", StringHelpers.rstrip("😀a", "a")); + } + + @Test + @DisplayName("\'abc\'.startswith(\'ab\') gives True: prefix") + public void testStartswithPrefix() { + assertTrue("abc".startsWith("ab")); + } + + @Test + @DisplayName("\'abc\'.startswith(\'bc\') gives False: not a prefix") + public void testStartswithNotAPrefix() { + assertFalse("abc".startsWith("bc")); + } + + @Test + @DisplayName("\'abc\'.startswith(\'\') gives True: empty prefix") + public void testStartswithEmptyPrefix() { + assertTrue("abc".startsWith("")); + } + + @Test + @DisplayName("\'abc\'.startswith(\'abc\') gives True: whole text") + public void testStartswithWholeText() { + assertTrue("abc".startsWith("abc")); + } + + @Test + @DisplayName("\'ab\'.startswith(\'abc\') gives False: prefix longer than text") + public void testStartswithPrefixLongerThanText() { + assertFalse("ab".startsWith("abc")); + } + + @Test + @DisplayName("\'\'.startswith(\'\') gives True: empty prefix of empty text") + public void testStartswithEmptyPrefixOfEmptyText() { + assertTrue("".startsWith("")); + } + + @Test + @DisplayName("\'\'.startswith(\'a\') gives False: non-empty prefix of empty text") + public void testStartswithNonEmptyPrefixOfEmptyText() { + assertFalse("".startsWith("a")); + } + + @Test + @DisplayName("\'éa\'.startswith(\'é\') gives True: character of two UTF-8 bytes") + public void testStartswithCharacterOfTwoUtf8Bytes() { + assertTrue("éa".startsWith("é")); + } + + @Test + @DisplayName( + "\'😀a\'.startswith(\'😀\') gives True: character beyond the Basic Multilingual Plane") + public void testStartswithCharacterBeyondTheBasicMultilingualPlane() { + assertTrue("😀a".startsWith("😀")); + } + + @Test + @DisplayName("\'😁x\'.startswith(\'😀\') gives False: character sharing the high surrogate") + public void testStartswithCharacterSharingTheHighSurrogate() { + assertFalse("😁x".startsWith("😀")); + } + + @Test + @DisplayName("\'abc\'.endswith(\'bc\') gives True: suffix") + public void testEndswithSuffix() { + assertTrue("abc".endsWith("bc")); + } + + @Test + @DisplayName("\'abc\'.endswith(\'ab\') gives False: not a suffix") + public void testEndswithNotASuffix() { + assertFalse("abc".endsWith("ab")); + } + + @Test + @DisplayName("\'abc\'.endswith(\'\') gives True: empty suffix") + public void testEndswithEmptySuffix() { + assertTrue("abc".endsWith("")); + } + + @Test + @DisplayName("\'abc\'.endswith(\'abc\') gives True: whole text") + public void testEndswithWholeText() { + assertTrue("abc".endsWith("abc")); + } + + @Test + @DisplayName("\'bc\'.endswith(\'abc\') gives False: suffix longer than text") + public void testEndswithSuffixLongerThanText() { + assertFalse("bc".endsWith("abc")); + } + + @Test + @DisplayName("\'\'.endswith(\'\') gives True: empty suffix of empty text") + public void testEndswithEmptySuffixOfEmptyText() { + assertTrue("".endsWith("")); + } + + @Test + @DisplayName("\'\'.endswith(\'a\') gives False: non-empty suffix of empty text") + public void testEndswithNonEmptySuffixOfEmptyText() { + assertFalse("".endsWith("a")); + } + + @Test + @DisplayName("\'aé\'.endswith(\'é\') gives True: character of two UTF-8 bytes") + public void testEndswithCharacterOfTwoUtf8Bytes() { + assertTrue("aé".endsWith("é")); + } + + @Test + @DisplayName("\'a😀\'.endswith(\'😀\') gives True: character beyond the Basic Multilingual Plane") + public void testEndswithCharacterBeyondTheBasicMultilingualPlane() { + assertTrue("a😀".endsWith("😀")); + } + + @Test + @DisplayName("\'x😁\'.endswith(\'😀\') gives False: character sharing the high surrogate") + public void testEndswithCharacterSharingTheHighSurrogate() { + assertFalse("x😁".endsWith("😀")); + } +} // class TestStringHelpers + +// package aas_core.aas3_2.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestVerificationOfEnums.java b/src/test/java/TestVerificationOfEnums.java new file mode 100644 index 00000000..7f806936 --- /dev/null +++ b/src/test/java/TestVerificationOfEnums.java @@ -0,0 +1,452 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +import aas_core.aas3_2.reporting.Reporting; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.verification.Verification; +import java.util.List; +import java.util.stream.Collectors; +import org.junit.jupiter.api.Test; + +public class TestVerificationOfEnums { + @Test + public void testModellingKindValid() { + final List errors = + Verification.verifyModellingKind(ModellingKind.TEMPLATE).collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testModellingKindValid + + @Test + public void testModellingKindInvalid() { + final ModellingKind value = null; + final List errors = + Verification.verifyModellingKind(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid ModellingKind: null", errors.get(0).getCause()); + } // void testModellingKindInvalid + + @Test + public void testQualifierKindValid() { + final List errors = + Verification.verifyQualifierKind(QualifierKind.VALUE_QUALIFIER) + .collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testQualifierKindValid + + @Test + public void testQualifierKindInvalid() { + final QualifierKind value = null; + final List errors = + Verification.verifyQualifierKind(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid QualifierKind: null", errors.get(0).getCause()); + } // void testQualifierKindInvalid + + @Test + public void testAssetKindValid() { + final List errors = + Verification.verifyAssetKind(AssetKind.TYPE).collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testAssetKindValid + + @Test + public void testAssetKindInvalid() { + final AssetKind value = null; + final List errors = + Verification.verifyAssetKind(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid AssetKind: null", errors.get(0).getCause()); + } // void testAssetKindInvalid + + @Test + public void testAasSubmodelElementsValid() { + final List errors = + Verification.verifyAasSubmodelElements(AasSubmodelElements.ANNOTATED_RELATIONSHIP_ELEMENT) + .collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testAasSubmodelElementsValid + + @Test + public void testAasSubmodelElementsInvalid() { + final AasSubmodelElements value = null; + final List errors = + Verification.verifyAasSubmodelElements(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid AasSubmodelElements: null", errors.get(0).getCause()); + } // void testAasSubmodelElementsInvalid + + @Test + public void testEntityTypeValid() { + final List errors = + Verification.verifyEntityType(EntityType.CO_MANAGED_ENTITY).collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testEntityTypeValid + + @Test + public void testEntityTypeInvalid() { + final EntityType value = null; + final List errors = + Verification.verifyEntityType(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid EntityType: null", errors.get(0).getCause()); + } // void testEntityTypeInvalid + + @Test + public void testDirectionValid() { + final List errors = + Verification.verifyDirection(Direction.INPUT).collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testDirectionValid + + @Test + public void testDirectionInvalid() { + final Direction value = null; + final List errors = + Verification.verifyDirection(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid Direction: null", errors.get(0).getCause()); + } // void testDirectionInvalid + + @Test + public void testStateOfEventValid() { + final List errors = + Verification.verifyStateOfEvent(StateOfEvent.ON).collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testStateOfEventValid + + @Test + public void testStateOfEventInvalid() { + final StateOfEvent value = null; + final List errors = + Verification.verifyStateOfEvent(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid StateOfEvent: null", errors.get(0).getCause()); + } // void testStateOfEventInvalid + + @Test + public void testReferenceTypesValid() { + final List errors = + Verification.verifyReferenceTypes(ReferenceTypes.EXTERNAL_REFERENCE) + .collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testReferenceTypesValid + + @Test + public void testReferenceTypesInvalid() { + final ReferenceTypes value = null; + final List errors = + Verification.verifyReferenceTypes(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid ReferenceTypes: null", errors.get(0).getCause()); + } // void testReferenceTypesInvalid + + @Test + public void testKeyTypesValid() { + final List errors = + Verification.verifyKeyTypes(KeyTypes.ANNOTATED_RELATIONSHIP_ELEMENT) + .collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testKeyTypesValid + + @Test + public void testKeyTypesInvalid() { + final KeyTypes value = null; + final List errors = + Verification.verifyKeyTypes(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid KeyTypes: null", errors.get(0).getCause()); + } // void testKeyTypesInvalid + + @Test + public void testDataTypeDefXsdValid() { + final List errors = + Verification.verifyDataTypeDefXsd(DataTypeDefXsd.ANY_URI).collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testDataTypeDefXsdValid + + @Test + public void testDataTypeDefXsdInvalid() { + final DataTypeDefXsd value = null; + final List errors = + Verification.verifyDataTypeDefXsd(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid DataTypeDefXsd: null", errors.get(0).getCause()); + } // void testDataTypeDefXsdInvalid + + @Test + public void testDataTypeIec61360Valid() { + final List errors = + Verification.verifyDataTypeIec61360(DataTypeIec61360.DATE).collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testDataTypeIec61360Valid + + @Test + public void testDataTypeIec61360Invalid() { + final DataTypeIec61360 value = null; + final List errors = + Verification.verifyDataTypeIec61360(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid DataTypeIec61360: null", errors.get(0).getCause()); + } // void testDataTypeIec61360Invalid + + @Test + public void testSerializationFormatValid() { + final List errors = + Verification.verifySerializationFormat(SerializationFormat.JSON) + .collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testSerializationFormatValid + + @Test + public void testSerializationFormatInvalid() { + final SerializationFormat value = null; + final List errors = + Verification.verifySerializationFormat(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid SerializationFormat: null", errors.get(0).getCause()); + } // void testSerializationFormatInvalid + + @Test + public void testSecurityTypeEnumValid() { + final List errors = + Verification.verifySecurityTypeEnum(SecurityTypeEnum.NO_SECURITY) + .collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testSecurityTypeEnumValid + + @Test + public void testSecurityTypeEnumInvalid() { + final SecurityTypeEnum value = null; + final List errors = + Verification.verifySecurityTypeEnum(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid SecurityTypeEnum: null", errors.get(0).getCause()); + } // void testSecurityTypeEnumInvalid + + @Test + public void testServiceSpecificationProfileEnumValid() { + final List errors = + Verification.verifyServiceSpecificationProfileEnum( + ServiceSpecificationProfileEnum.AAS_SERVICE_SPECIFICATION_SSP_001_V3_0) + .collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testServiceSpecificationProfileEnumValid + + @Test + public void testServiceSpecificationProfileEnumInvalid() { + final ServiceSpecificationProfileEnum value = null; + final List errors = + Verification.verifyServiceSpecificationProfileEnum(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid ServiceSpecificationProfileEnum: null", errors.get(0).getCause()); + } // void testServiceSpecificationProfileEnumInvalid + + @Test + public void testStatusCodeValid() { + final List errors = + Verification.verifyStatusCode(StatusCode.SUCCESS).collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testStatusCodeValid + + @Test + public void testStatusCodeInvalid() { + final StatusCode value = null; + final List errors = + Verification.verifyStatusCode(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid StatusCode: null", errors.get(0).getCause()); + } // void testStatusCodeInvalid + + @Test + public void testMessageTypeEnumValid() { + final List errors = + Verification.verifyMessageTypeEnum(MessageTypeEnum.UNDEFINED).collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testMessageTypeEnumValid + + @Test + public void testMessageTypeEnumInvalid() { + final MessageTypeEnum value = null; + final List errors = + Verification.verifyMessageTypeEnum(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid MessageTypeEnum: null", errors.get(0).getCause()); + } // void testMessageTypeEnumInvalid + + @Test + public void testExecutionStateValid() { + final List errors = + Verification.verifyExecutionState(ExecutionState.INITIATED).collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testExecutionStateValid + + @Test + public void testExecutionStateInvalid() { + final ExecutionState value = null; + final List errors = + Verification.verifyExecutionState(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid ExecutionState: null", errors.get(0).getCause()); + } // void testExecutionStateInvalid + + @Test + public void testLevelValid() { + final List errors = + Verification.verifyLevel(Level.DEEP).collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testLevelValid + + @Test + public void testLevelInvalid() { + final Level value = null; + final List errors = + Verification.verifyLevel(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid Level: null", errors.get(0).getCause()); + } // void testLevelInvalid + + @Test + public void testContentValid() { + final List errors = + Verification.verifyContent(Content.NORMAL).collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testContentValid + + @Test + public void testContentInvalid() { + final Content value = null; + final List errors = + Verification.verifyContent(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid Content: null", errors.get(0).getCause()); + } // void testContentInvalid + + @Test + public void testExtentValid() { + final List errors = + Verification.verifyExtent(Extent.WITHOUT_BLOB_VALUE).collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testExtentValid + + @Test + public void testExtentInvalid() { + final Extent value = null; + final List errors = + Verification.verifyExtent(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid Extent: null", errors.get(0).getCause()); + } // void testExtentInvalid + + @Test + public void testGlobalAttributeKindValid() { + final List errors = + Verification.verifyGlobalAttributeKind(GlobalAttributeKind.LOCAL_NOW) + .collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testGlobalAttributeKindValid + + @Test + public void testGlobalAttributeKindInvalid() { + final GlobalAttributeKind value = null; + final List errors = + Verification.verifyGlobalAttributeKind(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid GlobalAttributeKind: null", errors.get(0).getCause()); + } // void testGlobalAttributeKindInvalid + + @Test + public void testDateTimeGlobalAttributeKindValid() { + final List errors = + Verification.verifyDateTimeGlobalAttributeKind(DateTimeGlobalAttributeKind.LOCAL_NOW) + .collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testDateTimeGlobalAttributeKindValid + + @Test + public void testDateTimeGlobalAttributeKindInvalid() { + final DateTimeGlobalAttributeKind value = null; + final List errors = + Verification.verifyDateTimeGlobalAttributeKind(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid DateTimeGlobalAttributeKind: null", errors.get(0).getCause()); + } // void testDateTimeGlobalAttributeKindInvalid + + @Test + public void testQuerySelectValid() { + final List errors = + Verification.verifyQuerySelect(QuerySelect.ID).collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testQuerySelectValid + + @Test + public void testQuerySelectInvalid() { + final QuerySelect value = null; + final List errors = + Verification.verifyQuerySelect(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid QuerySelect: null", errors.get(0).getCause()); + } // void testQuerySelectInvalid +} // class TestVerificationOfEnums + +// package aas_core.aas3_2.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestXOrDefault.java b/src/test/java/TestXOrDefault.java new file mode 100644 index 00000000..a9d4d191 --- /dev/null +++ b/src/test/java/TestXOrDefault.java @@ -0,0 +1,245 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +import aas_core.aas3_2.reporting.*; +import aas_core.aas3_2.stringification.Stringification; +import aas_core.aas3_2.types.enums.*; +import aas_core.aas3_2.types.impl.*; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.Optional; +import org.junit.jupiter.api.Test; + +public class TestXOrDefault { + private static void compareOrRerecordValue(Object value, Path expectedPath) throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + JsonNode got = CommonJson.toJson(value); + + if (Common.RECORD_MODE) { + Files.createDirectories(expectedPath.getParent()); + Files.write(expectedPath, got.toString().getBytes()); + } else { + if (!Files.exists(expectedPath)) { + throw new FileNotFoundException( + "The file with the recorded value does not exist: " + + expectedPath + + "; " + + "maybe you want to set the environment variable " + + Common.RECORD_MODE_ENVIRONMENT_VARIABLE_NAME + + "?"); + } + + final JsonNode expected = objectMapper.readTree(expectedPath.toFile()); + assertEquals( + objectMapper.readTree(expected.toString()), objectMapper.readTree(got.toString())); + } + } + + @Test + public void testExtensionValueTypeOrDefaultNonDefault() throws IOException { + Extension instance = CommonJsonization.loadMaximalExtension(); + + final DataTypeDefXsd enumValue = instance.valueTypeOrDefault(); + if (enumValue == null) { + throw new IllegalStateException("Failed to stringify the enum"); + } + + final Optional valueOptional = Stringification.toString(enumValue); + assertEquals(true, valueOptional.isPresent()); + final String value = valueOptional.get(); + + compareOrRerecordValue( + value, + Paths.get( + Common.TEST_DATA_DIR, + "XOrDefault", + "Extension", + "valueTypeOrDefault.non-default.json")); + } // public void testExtensionvalueTypeOrDefaultNonDefault + + @Test + public void testExtensionvalueTypeOrDefaultDefault() throws IOException { + Extension instance = CommonJsonization.loadMinimalExtension(); + + final DataTypeDefXsd enumValue = instance.valueTypeOrDefault(); + if (enumValue == null) { + throw new IllegalStateException("Failed to stringify the enum"); + } + + final Optional valueOptional = Stringification.toString(enumValue); + assertEquals(true, valueOptional.isPresent()); + final String value = valueOptional.get(); + + compareOrRerecordValue( + value, + Paths.get( + Common.TEST_DATA_DIR, "XOrDefault", "Extension", "valueTypeOrDefault.default.json")); + } // public void testExtensionvalueTypeOrDefaultDefault + + @Test + public void testQualifierKindOrDefaultNonDefault() throws IOException { + Qualifier instance = CommonJsonization.loadMaximalQualifier(); + + final QualifierKind enumValue = instance.kindOrDefault(); + if (enumValue == null) { + throw new IllegalStateException("Failed to stringify the enum"); + } + + final Optional valueOptional = Stringification.toString(enumValue); + assertEquals(true, valueOptional.isPresent()); + final String value = valueOptional.get(); + + compareOrRerecordValue( + value, + Paths.get( + Common.TEST_DATA_DIR, "XOrDefault", "Qualifier", "kindOrDefault.non-default.json")); + } // public void testQualifierkindOrDefaultNonDefault + + @Test + public void testQualifierkindOrDefaultDefault() throws IOException { + Qualifier instance = CommonJsonization.loadMinimalQualifier(); + + final QualifierKind enumValue = instance.kindOrDefault(); + if (enumValue == null) { + throw new IllegalStateException("Failed to stringify the enum"); + } + + final Optional valueOptional = Stringification.toString(enumValue); + assertEquals(true, valueOptional.isPresent()); + final String value = valueOptional.get(); + + compareOrRerecordValue( + value, + Paths.get(Common.TEST_DATA_DIR, "XOrDefault", "Qualifier", "kindOrDefault.default.json")); + } // public void testQualifierkindOrDefaultDefault + + @Test + public void testSubmodelKindOrDefaultNonDefault() throws IOException { + Submodel instance = CommonJsonization.loadMaximalSubmodel(); + + final ModellingKind enumValue = instance.kindOrDefault(); + if (enumValue == null) { + throw new IllegalStateException("Failed to stringify the enum"); + } + + final Optional valueOptional = Stringification.toString(enumValue); + assertEquals(true, valueOptional.isPresent()); + final String value = valueOptional.get(); + + compareOrRerecordValue( + value, + Paths.get( + Common.TEST_DATA_DIR, "XOrDefault", "Submodel", "kindOrDefault.non-default.json")); + } // public void testSubmodelkindOrDefaultNonDefault + + @Test + public void testSubmodelkindOrDefaultDefault() throws IOException { + Submodel instance = CommonJsonization.loadMinimalSubmodel(); + + final ModellingKind enumValue = instance.kindOrDefault(); + if (enumValue == null) { + throw new IllegalStateException("Failed to stringify the enum"); + } + + final Optional valueOptional = Stringification.toString(enumValue); + assertEquals(true, valueOptional.isPresent()); + final String value = valueOptional.get(); + + compareOrRerecordValue( + value, + Paths.get(Common.TEST_DATA_DIR, "XOrDefault", "Submodel", "kindOrDefault.default.json")); + } // public void testSubmodelkindOrDefaultDefault + + @Test + public void testSubmodelElementListOrderRelevantOrDefaultNonDefault() throws IOException { + SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + + final Object value = instance.orderRelevantOrDefault(); + + compareOrRerecordValue( + value, + Paths.get( + Common.TEST_DATA_DIR, + "XOrDefault", + "SubmodelElementList", + "orderRelevantOrDefault.non-default.json")); + } // public void testSubmodelElementListorderRelevantOrDefaultNonDefault + + @Test + public void testSubmodelElementListorderRelevantOrDefaultDefault() throws IOException { + SubmodelElementList instance = CommonJsonization.loadMinimalSubmodelElementList(); + + final Object value = instance.orderRelevantOrDefault(); + + compareOrRerecordValue( + value, + Paths.get( + Common.TEST_DATA_DIR, + "XOrDefault", + "SubmodelElementList", + "orderRelevantOrDefault.default.json")); + } // public void testSubmodelElementListorderRelevantOrDefaultDefault + + @Test + public void testSubmodelMetadataKindOrDefaultNonDefault() throws IOException { + SubmodelMetadata instance = CommonJsonization.loadMaximalSubmodelMetadata(); + + final ModellingKind enumValue = instance.kindOrDefault(); + if (enumValue == null) { + throw new IllegalStateException("Failed to stringify the enum"); + } + + final Optional valueOptional = Stringification.toString(enumValue); + assertEquals(true, valueOptional.isPresent()); + final String value = valueOptional.get(); + + compareOrRerecordValue( + value, + Paths.get( + Common.TEST_DATA_DIR, + "XOrDefault", + "SubmodelMetadata", + "kindOrDefault.non-default.json")); + } // public void testSubmodelMetadatakindOrDefaultNonDefault + + @Test + public void testSubmodelMetadatakindOrDefaultDefault() throws IOException { + SubmodelMetadata instance = CommonJsonization.loadMinimalSubmodelMetadata(); + + final ModellingKind enumValue = instance.kindOrDefault(); + if (enumValue == null) { + throw new IllegalStateException("Failed to stringify the enum"); + } + + final Optional valueOptional = Stringification.toString(enumValue); + assertEquals(true, valueOptional.isPresent()); + final String value = valueOptional.get(); + + compareOrRerecordValue( + value, + Paths.get( + Common.TEST_DATA_DIR, "XOrDefault", "SubmodelMetadata", "kindOrDefault.default.json")); + } // public void testSubmodelMetadatakindOrDefaultDefault +} // class TestXOrDefault + +// package aas_core.aas3_2.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestXmlizationOfConcreteClasses.java b/src/test/java/TestXmlizationOfConcreteClasses.java new file mode 100644 index 00000000..1b0c6c8c --- /dev/null +++ b/src/test/java/TestXmlizationOfConcreteClasses.java @@ -0,0 +1,11680 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertTrue; +import static org.junit.jupiter.api.Assertions.fail; + +import aas_core.aas3_2.reporting.Reporting; +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.IClass; +import aas_core.aas3_2.verification.Verification; +import aas_core.aas3_2.xmlcommon.XmlCommon; +import aas_core.aas3_2.xmlization.Xmlization; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.io.StringReader; +import java.io.StringWriter; +import java.nio.charset.StandardCharsets; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import javax.xml.stream.*; +import javax.xml.stream.events.XMLEvent; +import org.junit.jupiter.api.Test; + +public class TestXmlizationOfConcreteClasses { + // An xs:double has several lexical forms, so we compare its values and not + // the text, which is up to the serializer. The elements are given as + // "parent/name" since property names are unique only within a class. + private static final java.util.Set DOUBLE_ELEMENT_NAMES = + new java.util.HashSet<>( + java.util.Arrays.asList( + "numberLiteral/numVal", "rangeValue/max", "rangeValue/min", "value/double")); + + private static double parseDouble(String text) { + switch (text) { + case "INF": + return java.lang.Double.POSITIVE_INFINITY; + case "-INF": + return java.lang.Double.NEGATIVE_INFINITY; + default: + return java.lang.Double.parseDouble(text); + } + } + + private static boolean contentsEqual( + String qualifiedName, String expectedContent, String gotContent) { + if (expectedContent.equals(gotContent)) { + return true; + } + + if (!DOUBLE_ELEMENT_NAMES.contains(qualifiedName)) { + return false; + } + + try { + return java.lang.Double.compare(parseDouble(expectedContent), parseDouble(gotContent)) == 0; + } catch (java.lang.NumberFormatException exception) { + return false; + } + } + + public static Optional checkElementsEqual( + XMLEvent expected, + String expectedContent, + String expectedParent, + Map outputMap, + Map outputParents) { + switch (expected.getEventType()) { + case XMLStreamConstants.START_ELEMENT: + { + final String expectedName = expected.asStartElement().getName().getLocalPart(); + final Optional> got = + outputMap.entrySet().stream() + .filter( + entry -> + entry.getKey().isStartElement() + && entry + .getKey() + .asStartElement() + .getName() + .getLocalPart() + .equals(expectedName) + && outputParents.get(entry.getKey()).equals(expectedParent)) + .filter( + entry -> + contentsEqual( + expectedParent + "/" + expectedName, + expectedContent, + entry.getValue())) + .findAny(); + if (!got.isPresent()) { + final Reporting.Error error = + new Reporting.Error( + "Missing start element " + + expectedName + + " in with content: " + + expectedContent); + return Optional.of(error); + } + outputMap.remove(got.get().getKey()); + return Optional.empty(); + } + case XMLStreamConstants.END_ELEMENT: + { + final String expectedName = expected.asEndElement().getName().getLocalPart(); + final Optional> got = + outputMap.entrySet().stream() + .filter( + entry -> + entry.getKey().isEndElement() + && entry + .getKey() + .asEndElement() + .getName() + .getLocalPart() + .equals(expectedName)) + .findAny(); + if (!got.isPresent()) { + final Reporting.Error error = + new Reporting.Error("Missing end element " + expectedName); + return Optional.of(error); + } + outputMap.remove(got.get().getKey()); + return Optional.empty(); + } + default: + { + throw new IllegalStateException("Unexpected event type in check elements equal."); + } + } + } + + private static String readContent(XMLEventReader reader) throws XMLStreamException { + final StringBuilder content = new StringBuilder(); + while (reader.hasNext() + && reader.peek().isCharacters() + && !reader.peek().asCharacters().isWhiteSpace() + || reader.peek().getEventType() == XMLStreamConstants.COMMENT) { + + if (reader.peek().isCharacters()) { + content.append(reader.peek().asCharacters().getData()); + } + reader.nextEvent(); + } + return content.toString(); + } + + private static Map buildElementsMap( + XMLEventReader reader, Map parents) throws XMLStreamException { + final Map result = new LinkedHashMap<>(); + final java.util.ArrayDeque stack = new java.util.ArrayDeque<>(); + while (reader.hasNext()) { + final XMLEvent current = reader.nextEvent(); + if (current.isStartElement()) { + parents.put(current, stack.isEmpty() ? "" : stack.peek()); + stack.push(current.asStartElement().getName().getLocalPart()); + result.put(current, readContent(reader)); + } else if (current.isEndElement()) { + stack.pop(); + result.put(current, ""); + } + } + return result; + } + + private static void assertSerializeDeserializeEqualsOriginal(IClass instance, Path path) + throws XMLStreamException, IOException { + // Serialize + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlStreamWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlStreamWriter); + + final String outputText = stringOut.toString(); + + // Compare expected == output + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader outputReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final Map outputParents = new java.util.HashMap<>(); + final Map outputMap = buildElementsMap(outputReader, outputParents); + + // check the namespace of the output + for (XMLEvent event : outputMap.keySet()) { + if (event.isStartElement()) { + assertTrue( + Xmlization.NAMESPACE.equals(event.asStartElement().getName().getNamespaceURI()) + || event.asStartElement().getName().getNamespaceURI().isEmpty(), + "Unexpected namespace of " + event.asStartElement().getName()); + } + if (event.isEndElement()) { + assertTrue( + Xmlization.NAMESPACE.equals(event.asEndElement().getName().getNamespaceURI()) + || event.asEndElement().getName().getNamespaceURI().isEmpty(), + "Unexpected namespace of " + event.asEndElement().getName()); + } + } + + final XMLEventReader expectedReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + final Map expectedParents = new java.util.HashMap<>(); + final Map expectedMap = buildElementsMap(expectedReader, expectedParents); + + if (expectedMap.size() != outputMap.size()) { + fail( + "Mismatch in element size expected " + + expectedMap.size() + + " but got " + + outputMap.size()); + } + + expectedMap.forEach( + (xmlEvent, content) -> { + final Optional inequalityError = + checkElementsEqual( + xmlEvent, content, expectedParents.get(xmlEvent), outputMap, outputParents); + inequalityError.ifPresent( + error -> + fail( + "The original XML from " + + path + + " is unequal the serialized XML: " + + error.getCause())); + }); + } + + private static void assertEqualsExpectedOrRerecordDeserializationException( + XmlCommon.DeserializeException exception, Path path) throws IOException { + if (exception == null) { + fail("Expected a Xmlization exception when de-serializing " + path + ", but got none."); + } else { + final Path exceptionPath = Paths.get(path + ".exception"); + final String got = exception.getMessage(); + if (Common.RECORD_MODE) { + Files.write(exceptionPath, got.getBytes(StandardCharsets.UTF_8)); + } else { + if (!Files.exists(exceptionPath)) { + throw new FileNotFoundException( + "The file with the recorded exception does not exist: " + + exceptionPath + + "; maybe you want to set the environment variable" + + Common.RECORD_MODE_ENVIRONMENT_VARIABLE_NAME + + "?"); + } + + final String expected = String.join("\n", Files.readAllLines(exceptionPath)); + assertEquals( + expected.replace("\n", ""), + got.replace("\n", ""), + "The expected exception does not match the actual one for the file " + path); + } + } + } + + @Test + public void testExtensionOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "extension"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Extension instance = Xmlization.Deserialize.deserializeExtension(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testExtensionOk + + @Test + public void testExtensionDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("extension"); + + if (!Files.exists(clsDir)) { + // No examples of Extension for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeExtension(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testExtensionDeserializationFail + + @Test + public void testExtensionVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("extension"); + + if (!Files.exists(clsDir)) { + // No examples of Extension for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Extension instance = Xmlization.Deserialize.deserializeExtension(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testExtensionVerificationFail + + @Test + public void testAdministrativeInformationOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "administrativeInformation"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AdministrativeInformation instance = + Xmlization.Deserialize.deserializeAdministrativeInformation(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testAdministrativeInformationOk + + @Test + public void testAdministrativeInformationDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("administrativeInformation"); + + if (!Files.exists(clsDir)) { + // No examples of AdministrativeInformation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeAdministrativeInformation(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAdministrativeInformationDeserializationFail + + @Test + public void testAdministrativeInformationVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("administrativeInformation"); + + if (!Files.exists(clsDir)) { + // No examples of AdministrativeInformation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AdministrativeInformation instance = + Xmlization.Deserialize.deserializeAdministrativeInformation(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAdministrativeInformationVerificationFail + + @Test + public void testQualifierOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "qualifier"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Qualifier instance = Xmlization.Deserialize.deserializeQualifier(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testQualifierOk + + @Test + public void testQualifierDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("qualifier"); + + if (!Files.exists(clsDir)) { + // No examples of Qualifier for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeQualifier(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testQualifierDeserializationFail + + @Test + public void testQualifierVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("qualifier"); + + if (!Files.exists(clsDir)) { + // No examples of Qualifier for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Qualifier instance = Xmlization.Deserialize.deserializeQualifier(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testQualifierVerificationFail + + @Test + public void testAssetAdministrationShellOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "assetAdministrationShell"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AssetAdministrationShell instance = + Xmlization.Deserialize.deserializeAssetAdministrationShell(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testAssetAdministrationShellOk + + @Test + public void testAssetAdministrationShellDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("assetAdministrationShell"); + + if (!Files.exists(clsDir)) { + // No examples of AssetAdministrationShell for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeAssetAdministrationShell(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAssetAdministrationShellDeserializationFail + + @Test + public void testAssetAdministrationShellVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("assetAdministrationShell"); + + if (!Files.exists(clsDir)) { + // No examples of AssetAdministrationShell for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AssetAdministrationShell instance = + Xmlization.Deserialize.deserializeAssetAdministrationShell(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAssetAdministrationShellVerificationFail + + @Test + public void testAssetInformationOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "assetInformation"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AssetInformation instance = + Xmlization.Deserialize.deserializeAssetInformation(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testAssetInformationOk + + @Test + public void testAssetInformationDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("assetInformation"); + + if (!Files.exists(clsDir)) { + // No examples of AssetInformation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeAssetInformation(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAssetInformationDeserializationFail + + @Test + public void testAssetInformationVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("assetInformation"); + + if (!Files.exists(clsDir)) { + // No examples of AssetInformation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AssetInformation instance = + Xmlization.Deserialize.deserializeAssetInformation(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAssetInformationVerificationFail + + @Test + public void testResourceOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "resource"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Resource instance = Xmlization.Deserialize.deserializeResource(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testResourceOk + + @Test + public void testResourceDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("resource"); + + if (!Files.exists(clsDir)) { + // No examples of Resource for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeResource(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testResourceDeserializationFail + + @Test + public void testResourceVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("resource"); + + if (!Files.exists(clsDir)) { + // No examples of Resource for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Resource instance = Xmlization.Deserialize.deserializeResource(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testResourceVerificationFail + + @Test + public void testSpecificAssetIdOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "specificAssetId"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SpecificAssetId instance = Xmlization.Deserialize.deserializeSpecificAssetId(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testSpecificAssetIdOk + + @Test + public void testSpecificAssetIdDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("specificAssetId"); + + if (!Files.exists(clsDir)) { + // No examples of SpecificAssetId for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeSpecificAssetId(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSpecificAssetIdDeserializationFail + + @Test + public void testSpecificAssetIdVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("specificAssetId"); + + if (!Files.exists(clsDir)) { + // No examples of SpecificAssetId for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SpecificAssetId instance = + Xmlization.Deserialize.deserializeSpecificAssetId(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSpecificAssetIdVerificationFail + + @Test + public void testSubmodelOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "submodel"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Submodel instance = Xmlization.Deserialize.deserializeSubmodel(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testSubmodelOk + + @Test + public void testSubmodelDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("submodel"); + + if (!Files.exists(clsDir)) { + // No examples of Submodel for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeSubmodel(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelDeserializationFail + + @Test + public void testSubmodelVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("submodel"); + + if (!Files.exists(clsDir)) { + // No examples of Submodel for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Submodel instance = Xmlization.Deserialize.deserializeSubmodel(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelVerificationFail + + @Test + public void testRelationshipElementOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "relationshipElement"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final RelationshipElement instance = + Xmlization.Deserialize.deserializeRelationshipElement(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testRelationshipElementOk + + @Test + public void testRelationshipElementDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("relationshipElement"); + + if (!Files.exists(clsDir)) { + // No examples of RelationshipElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeRelationshipElement(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testRelationshipElementDeserializationFail + + @Test + public void testRelationshipElementVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("relationshipElement"); + + if (!Files.exists(clsDir)) { + // No examples of RelationshipElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final RelationshipElement instance = + Xmlization.Deserialize.deserializeRelationshipElement(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testRelationshipElementVerificationFail + + @Test + public void testSubmodelElementListOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "submodelElementList"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SubmodelElementList instance = + Xmlization.Deserialize.deserializeSubmodelElementList(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testSubmodelElementListOk + + @Test + public void testSubmodelElementListDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("submodelElementList"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementList for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeSubmodelElementList(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelElementListDeserializationFail + + @Test + public void testSubmodelElementListVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("submodelElementList"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementList for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SubmodelElementList instance = + Xmlization.Deserialize.deserializeSubmodelElementList(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelElementListVerificationFail + + @Test + public void testSubmodelElementCollectionOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "submodelElementCollection"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SubmodelElementCollection instance = + Xmlization.Deserialize.deserializeSubmodelElementCollection(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testSubmodelElementCollectionOk + + @Test + public void testSubmodelElementCollectionDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("submodelElementCollection"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementCollection for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeSubmodelElementCollection(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelElementCollectionDeserializationFail + + @Test + public void testSubmodelElementCollectionVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("submodelElementCollection"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementCollection for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SubmodelElementCollection instance = + Xmlization.Deserialize.deserializeSubmodelElementCollection(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelElementCollectionVerificationFail + + @Test + public void testPropertyOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "property"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Property instance = Xmlization.Deserialize.deserializeProperty(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testPropertyOk + + @Test + public void testPropertyDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("property"); + + if (!Files.exists(clsDir)) { + // No examples of Property for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeProperty(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testPropertyDeserializationFail + + @Test + public void testPropertyVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("property"); + + if (!Files.exists(clsDir)) { + // No examples of Property for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Property instance = Xmlization.Deserialize.deserializeProperty(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testPropertyVerificationFail + + @Test + public void testMultiLanguagePropertyOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "multiLanguageProperty"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final MultiLanguageProperty instance = + Xmlization.Deserialize.deserializeMultiLanguageProperty(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testMultiLanguagePropertyOk + + @Test + public void testMultiLanguagePropertyDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("multiLanguageProperty"); + + if (!Files.exists(clsDir)) { + // No examples of MultiLanguageProperty for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeMultiLanguageProperty(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testMultiLanguagePropertyDeserializationFail + + @Test + public void testMultiLanguagePropertyVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("multiLanguageProperty"); + + if (!Files.exists(clsDir)) { + // No examples of MultiLanguageProperty for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final MultiLanguageProperty instance = + Xmlization.Deserialize.deserializeMultiLanguageProperty(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testMultiLanguagePropertyVerificationFail + + @Test + public void testRangeOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "range"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Range instance = Xmlization.Deserialize.deserializeRange(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testRangeOk + + @Test + public void testRangeDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("range"); + + if (!Files.exists(clsDir)) { + // No examples of Range for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeRange(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testRangeDeserializationFail + + @Test + public void testRangeVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("range"); + + if (!Files.exists(clsDir)) { + // No examples of Range for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Range instance = Xmlization.Deserialize.deserializeRange(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testRangeVerificationFail + + @Test + public void testReferenceElementOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "referenceElement"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ReferenceElement instance = + Xmlization.Deserialize.deserializeReferenceElement(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testReferenceElementOk + + @Test + public void testReferenceElementDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("referenceElement"); + + if (!Files.exists(clsDir)) { + // No examples of ReferenceElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeReferenceElement(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testReferenceElementDeserializationFail + + @Test + public void testReferenceElementVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("referenceElement"); + + if (!Files.exists(clsDir)) { + // No examples of ReferenceElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ReferenceElement instance = + Xmlization.Deserialize.deserializeReferenceElement(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testReferenceElementVerificationFail + + @Test + public void testBlobOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "blob"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Blob instance = Xmlization.Deserialize.deserializeBlob(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testBlobOk + + @Test + public void testBlobDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("blob"); + + if (!Files.exists(clsDir)) { + // No examples of Blob for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeBlob(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBlobDeserializationFail + + @Test + public void testBlobVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("blob"); + + if (!Files.exists(clsDir)) { + // No examples of Blob for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Blob instance = Xmlization.Deserialize.deserializeBlob(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBlobVerificationFail + + @Test + public void testFileOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "file"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final File instance = Xmlization.Deserialize.deserializeFile(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testFileOk + + @Test + public void testFileDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("file"); + + if (!Files.exists(clsDir)) { + // No examples of File for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeFile(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testFileDeserializationFail + + @Test + public void testFileVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("file"); + + if (!Files.exists(clsDir)) { + // No examples of File for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final File instance = Xmlization.Deserialize.deserializeFile(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testFileVerificationFail + + @Test + public void testAnnotatedRelationshipElementOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "annotatedRelationshipElement"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AnnotatedRelationshipElement instance = + Xmlization.Deserialize.deserializeAnnotatedRelationshipElement(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testAnnotatedRelationshipElementOk + + @Test + public void testAnnotatedRelationshipElementDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("annotatedRelationshipElement"); + + if (!Files.exists(clsDir)) { + // No examples of AnnotatedRelationshipElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeAnnotatedRelationshipElement(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAnnotatedRelationshipElementDeserializationFail + + @Test + public void testAnnotatedRelationshipElementVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("annotatedRelationshipElement"); + + if (!Files.exists(clsDir)) { + // No examples of AnnotatedRelationshipElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AnnotatedRelationshipElement instance = + Xmlization.Deserialize.deserializeAnnotatedRelationshipElement(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAnnotatedRelationshipElementVerificationFail + + @Test + public void testEntityOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "entity"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Entity instance = Xmlization.Deserialize.deserializeEntity(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testEntityOk + + @Test + public void testEntityDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("entity"); + + if (!Files.exists(clsDir)) { + // No examples of Entity for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeEntity(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEntityDeserializationFail + + @Test + public void testEntityVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("entity"); + + if (!Files.exists(clsDir)) { + // No examples of Entity for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Entity instance = Xmlization.Deserialize.deserializeEntity(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEntityVerificationFail + + @Test + public void testEventPayloadOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "eventPayload"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final EventPayload instance = Xmlization.Deserialize.deserializeEventPayload(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testEventPayloadOk + + @Test + public void testEventPayloadDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("eventPayload"); + + if (!Files.exists(clsDir)) { + // No examples of EventPayload for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeEventPayload(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEventPayloadDeserializationFail + + @Test + public void testEventPayloadVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("eventPayload"); + + if (!Files.exists(clsDir)) { + // No examples of EventPayload for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final EventPayload instance = Xmlization.Deserialize.deserializeEventPayload(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEventPayloadVerificationFail + + @Test + public void testBasicEventElementOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "basicEventElement"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final BasicEventElement instance = + Xmlization.Deserialize.deserializeBasicEventElement(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testBasicEventElementOk + + @Test + public void testBasicEventElementDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("basicEventElement"); + + if (!Files.exists(clsDir)) { + // No examples of BasicEventElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeBasicEventElement(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBasicEventElementDeserializationFail + + @Test + public void testBasicEventElementVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("basicEventElement"); + + if (!Files.exists(clsDir)) { + // No examples of BasicEventElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final BasicEventElement instance = + Xmlization.Deserialize.deserializeBasicEventElement(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBasicEventElementVerificationFail + + @Test + public void testOperationOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "operation"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Operation instance = Xmlization.Deserialize.deserializeOperation(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testOperationOk + + @Test + public void testOperationDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("operation"); + + if (!Files.exists(clsDir)) { + // No examples of Operation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeOperation(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationDeserializationFail + + @Test + public void testOperationVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("operation"); + + if (!Files.exists(clsDir)) { + // No examples of Operation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Operation instance = Xmlization.Deserialize.deserializeOperation(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationVerificationFail + + @Test + public void testOperationVariableOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "operationVariable"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OperationVariable instance = + Xmlization.Deserialize.deserializeOperationVariable(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testOperationVariableOk + + @Test + public void testOperationVariableDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("operationVariable"); + + if (!Files.exists(clsDir)) { + // No examples of OperationVariable for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeOperationVariable(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationVariableDeserializationFail + + @Test + public void testOperationVariableVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("operationVariable"); + + if (!Files.exists(clsDir)) { + // No examples of OperationVariable for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OperationVariable instance = + Xmlization.Deserialize.deserializeOperationVariable(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationVariableVerificationFail + + @Test + public void testCapabilityOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "capability"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Capability instance = Xmlization.Deserialize.deserializeCapability(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testCapabilityOk + + @Test + public void testCapabilityDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("capability"); + + if (!Files.exists(clsDir)) { + // No examples of Capability for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeCapability(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testCapabilityDeserializationFail + + @Test + public void testCapabilityVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("capability"); + + if (!Files.exists(clsDir)) { + // No examples of Capability for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Capability instance = Xmlization.Deserialize.deserializeCapability(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testCapabilityVerificationFail + + @Test + public void testConceptDescriptionOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "conceptDescription"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ConceptDescription instance = + Xmlization.Deserialize.deserializeConceptDescription(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testConceptDescriptionOk + + @Test + public void testConceptDescriptionDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("conceptDescription"); + + if (!Files.exists(clsDir)) { + // No examples of ConceptDescription for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeConceptDescription(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testConceptDescriptionDeserializationFail + + @Test + public void testConceptDescriptionVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("conceptDescription"); + + if (!Files.exists(clsDir)) { + // No examples of ConceptDescription for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ConceptDescription instance = + Xmlization.Deserialize.deserializeConceptDescription(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testConceptDescriptionVerificationFail + + @Test + public void testReferenceOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "reference"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Reference instance = Xmlization.Deserialize.deserializeReference(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testReferenceOk + + @Test + public void testReferenceDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("reference"); + + if (!Files.exists(clsDir)) { + // No examples of Reference for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeReference(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testReferenceDeserializationFail + + @Test + public void testReferenceVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("reference"); + + if (!Files.exists(clsDir)) { + // No examples of Reference for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Reference instance = Xmlization.Deserialize.deserializeReference(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testReferenceVerificationFail + + @Test + public void testKeyOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "key"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Key instance = Xmlization.Deserialize.deserializeKey(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testKeyOk + + @Test + public void testKeyDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("key"); + + if (!Files.exists(clsDir)) { + // No examples of Key for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeKey(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testKeyDeserializationFail + + @Test + public void testKeyVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("key"); + + if (!Files.exists(clsDir)) { + // No examples of Key for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Key instance = Xmlization.Deserialize.deserializeKey(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testKeyVerificationFail + + @Test + public void testLangStringNameTypeOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "langStringNameType"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringNameType instance = + Xmlization.Deserialize.deserializeLangStringNameType(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testLangStringNameTypeOk + + @Test + public void testLangStringNameTypeDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("langStringNameType"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringNameType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeLangStringNameType(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringNameTypeDeserializationFail + + @Test + public void testLangStringNameTypeVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("langStringNameType"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringNameType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringNameType instance = + Xmlization.Deserialize.deserializeLangStringNameType(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringNameTypeVerificationFail + + @Test + public void testLangStringTextTypeOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "langStringTextType"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringTextType instance = + Xmlization.Deserialize.deserializeLangStringTextType(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testLangStringTextTypeOk + + @Test + public void testLangStringTextTypeDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("langStringTextType"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringTextType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeLangStringTextType(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringTextTypeDeserializationFail + + @Test + public void testLangStringTextTypeVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("langStringTextType"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringTextType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringTextType instance = + Xmlization.Deserialize.deserializeLangStringTextType(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringTextTypeVerificationFail + + @Test + public void testEnvironmentOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "environment"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Environment instance = Xmlization.Deserialize.deserializeEnvironment(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testEnvironmentOk + + @Test + public void testEnvironmentDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("environment"); + + if (!Files.exists(clsDir)) { + // No examples of Environment for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeEnvironment(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEnvironmentDeserializationFail + + @Test + public void testEnvironmentVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("environment"); + + if (!Files.exists(clsDir)) { + // No examples of Environment for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Environment instance = Xmlization.Deserialize.deserializeEnvironment(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEnvironmentVerificationFail + + @Test + public void testEmbeddedDataSpecificationOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "embeddedDataSpecification"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final EmbeddedDataSpecification instance = + Xmlization.Deserialize.deserializeEmbeddedDataSpecification(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testEmbeddedDataSpecificationOk + + @Test + public void testEmbeddedDataSpecificationDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("embeddedDataSpecification"); + + if (!Files.exists(clsDir)) { + // No examples of EmbeddedDataSpecification for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeEmbeddedDataSpecification(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEmbeddedDataSpecificationDeserializationFail + + @Test + public void testEmbeddedDataSpecificationVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("embeddedDataSpecification"); + + if (!Files.exists(clsDir)) { + // No examples of EmbeddedDataSpecification for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final EmbeddedDataSpecification instance = + Xmlization.Deserialize.deserializeEmbeddedDataSpecification(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEmbeddedDataSpecificationVerificationFail + + @Test + public void testLevelTypeOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "levelType"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LevelType instance = Xmlization.Deserialize.deserializeLevelType(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testLevelTypeOk + + @Test + public void testLevelTypeDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("levelType"); + + if (!Files.exists(clsDir)) { + // No examples of LevelType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeLevelType(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLevelTypeDeserializationFail + + @Test + public void testLevelTypeVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("levelType"); + + if (!Files.exists(clsDir)) { + // No examples of LevelType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LevelType instance = Xmlization.Deserialize.deserializeLevelType(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLevelTypeVerificationFail + + @Test + public void testValueReferencePairOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "valueReferencePair"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ValueReferencePair instance = + Xmlization.Deserialize.deserializeValueReferencePair(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testValueReferencePairOk + + @Test + public void testValueReferencePairDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("valueReferencePair"); + + if (!Files.exists(clsDir)) { + // No examples of ValueReferencePair for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeValueReferencePair(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testValueReferencePairDeserializationFail + + @Test + public void testValueReferencePairVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("valueReferencePair"); + + if (!Files.exists(clsDir)) { + // No examples of ValueReferencePair for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ValueReferencePair instance = + Xmlization.Deserialize.deserializeValueReferencePair(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testValueReferencePairVerificationFail + + @Test + public void testValueListOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "valueList"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ValueList instance = Xmlization.Deserialize.deserializeValueList(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testValueListOk + + @Test + public void testValueListDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("valueList"); + + if (!Files.exists(clsDir)) { + // No examples of ValueList for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeValueList(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testValueListDeserializationFail + + @Test + public void testValueListVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("valueList"); + + if (!Files.exists(clsDir)) { + // No examples of ValueList for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ValueList instance = Xmlization.Deserialize.deserializeValueList(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testValueListVerificationFail + + @Test + public void testLangStringPreferredNameTypeIec61360Ok() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "langStringPreferredNameTypeIec61360"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringPreferredNameTypeIec61360 instance = + Xmlization.Deserialize.deserializeLangStringPreferredNameTypeIec61360(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testLangStringPreferredNameTypeIec61360Ok + + @Test + public void testLangStringPreferredNameTypeIec61360DeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("langStringPreferredNameTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringPreferredNameTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeLangStringPreferredNameTypeIec61360(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringPreferredNameTypeIec61360DeserializationFail + + @Test + public void testLangStringPreferredNameTypeIec61360VerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("langStringPreferredNameTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringPreferredNameTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringPreferredNameTypeIec61360 instance = + Xmlization.Deserialize.deserializeLangStringPreferredNameTypeIec61360(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringPreferredNameTypeIec61360VerificationFail + + @Test + public void testLangStringShortNameTypeIec61360Ok() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "langStringShortNameTypeIec61360"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringShortNameTypeIec61360 instance = + Xmlization.Deserialize.deserializeLangStringShortNameTypeIec61360(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testLangStringShortNameTypeIec61360Ok + + @Test + public void testLangStringShortNameTypeIec61360DeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("langStringShortNameTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringShortNameTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeLangStringShortNameTypeIec61360(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringShortNameTypeIec61360DeserializationFail + + @Test + public void testLangStringShortNameTypeIec61360VerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("langStringShortNameTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringShortNameTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringShortNameTypeIec61360 instance = + Xmlization.Deserialize.deserializeLangStringShortNameTypeIec61360(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringShortNameTypeIec61360VerificationFail + + @Test + public void testLangStringDefinitionTypeIec61360Ok() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "langStringDefinitionTypeIec61360"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringDefinitionTypeIec61360 instance = + Xmlization.Deserialize.deserializeLangStringDefinitionTypeIec61360(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testLangStringDefinitionTypeIec61360Ok + + @Test + public void testLangStringDefinitionTypeIec61360DeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("langStringDefinitionTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringDefinitionTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeLangStringDefinitionTypeIec61360(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringDefinitionTypeIec61360DeserializationFail + + @Test + public void testLangStringDefinitionTypeIec61360VerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("langStringDefinitionTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringDefinitionTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringDefinitionTypeIec61360 instance = + Xmlization.Deserialize.deserializeLangStringDefinitionTypeIec61360(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringDefinitionTypeIec61360VerificationFail + + @Test + public void testLangStringUomOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "langStringUom"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringUom instance = Xmlization.Deserialize.deserializeLangStringUom(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testLangStringUomOk + + @Test + public void testLangStringUomDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("langStringUom"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringUom for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeLangStringUom(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringUomDeserializationFail + + @Test + public void testLangStringUomVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("langStringUom"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringUom for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringUom instance = Xmlization.Deserialize.deserializeLangStringUom(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringUomVerificationFail + + @Test + public void testDefinitionTypeUomOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "definitionTypeUom"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final DefinitionTypeUom instance = + Xmlization.Deserialize.deserializeDefinitionTypeUom(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testDefinitionTypeUomOk + + @Test + public void testDefinitionTypeUomDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("definitionTypeUom"); + + if (!Files.exists(clsDir)) { + // No examples of DefinitionTypeUom for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeDefinitionTypeUom(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testDefinitionTypeUomDeserializationFail + + @Test + public void testDefinitionTypeUomVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("definitionTypeUom"); + + if (!Files.exists(clsDir)) { + // No examples of DefinitionTypeUom for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final DefinitionTypeUom instance = + Xmlization.Deserialize.deserializeDefinitionTypeUom(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testDefinitionTypeUomVerificationFail + + @Test + public void testDataSpecificationUomOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "dataSpecificationUom"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final DataSpecificationUom instance = + Xmlization.Deserialize.deserializeDataSpecificationUom(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testDataSpecificationUomOk + + @Test + public void testDataSpecificationUomDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("dataSpecificationUom"); + + if (!Files.exists(clsDir)) { + // No examples of DataSpecificationUom for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeDataSpecificationUom(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testDataSpecificationUomDeserializationFail + + @Test + public void testDataSpecificationUomVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("dataSpecificationUom"); + + if (!Files.exists(clsDir)) { + // No examples of DataSpecificationUom for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final DataSpecificationUom instance = + Xmlization.Deserialize.deserializeDataSpecificationUom(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testDataSpecificationUomVerificationFail + + @Test + public void testDataSpecificationIec61360Ok() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "dataSpecificationIec61360"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final DataSpecificationIec61360 instance = + Xmlization.Deserialize.deserializeDataSpecificationIec61360(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testDataSpecificationIec61360Ok + + @Test + public void testDataSpecificationIec61360DeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("dataSpecificationIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of DataSpecificationIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeDataSpecificationIec61360(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testDataSpecificationIec61360DeserializationFail + + @Test + public void testDataSpecificationIec61360VerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("dataSpecificationIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of DataSpecificationIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final DataSpecificationIec61360 instance = + Xmlization.Deserialize.deserializeDataSpecificationIec61360(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testDataSpecificationIec61360VerificationFail + + @Test + public void testAssetAdministrationShellDescriptorOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "assetAdministrationShellDescriptor"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AssetAdministrationShellDescriptor instance = + Xmlization.Deserialize.deserializeAssetAdministrationShellDescriptor(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testAssetAdministrationShellDescriptorOk + + @Test + public void testAssetAdministrationShellDescriptorDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("assetAdministrationShellDescriptor"); + + if (!Files.exists(clsDir)) { + // No examples of AssetAdministrationShellDescriptor for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeAssetAdministrationShellDescriptor(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAssetAdministrationShellDescriptorDeserializationFail + + @Test + public void testAssetAdministrationShellDescriptorVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("assetAdministrationShellDescriptor"); + + if (!Files.exists(clsDir)) { + // No examples of AssetAdministrationShellDescriptor for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AssetAdministrationShellDescriptor instance = + Xmlization.Deserialize.deserializeAssetAdministrationShellDescriptor(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAssetAdministrationShellDescriptorVerificationFail + + @Test + public void testSubmodelDescriptorOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "submodelDescriptor"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SubmodelDescriptor instance = + Xmlization.Deserialize.deserializeSubmodelDescriptor(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testSubmodelDescriptorOk + + @Test + public void testSubmodelDescriptorDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("submodelDescriptor"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelDescriptor for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeSubmodelDescriptor(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelDescriptorDeserializationFail + + @Test + public void testSubmodelDescriptorVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("submodelDescriptor"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelDescriptor for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SubmodelDescriptor instance = + Xmlization.Deserialize.deserializeSubmodelDescriptor(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelDescriptorVerificationFail + + @Test + public void testEndpointOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "endpoint"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Endpoint instance = Xmlization.Deserialize.deserializeEndpoint(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testEndpointOk + + @Test + public void testEndpointDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("endpoint"); + + if (!Files.exists(clsDir)) { + // No examples of Endpoint for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeEndpoint(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEndpointDeserializationFail + + @Test + public void testEndpointVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("endpoint"); + + if (!Files.exists(clsDir)) { + // No examples of Endpoint for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Endpoint instance = Xmlization.Deserialize.deserializeEndpoint(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEndpointVerificationFail + + @Test + public void testProtocolInformationOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "protocolInformation"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ProtocolInformation instance = + Xmlization.Deserialize.deserializeProtocolInformation(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testProtocolInformationOk + + @Test + public void testProtocolInformationDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("protocolInformation"); + + if (!Files.exists(clsDir)) { + // No examples of ProtocolInformation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeProtocolInformation(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testProtocolInformationDeserializationFail + + @Test + public void testProtocolInformationVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("protocolInformation"); + + if (!Files.exists(clsDir)) { + // No examples of ProtocolInformation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ProtocolInformation instance = + Xmlization.Deserialize.deserializeProtocolInformation(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testProtocolInformationVerificationFail + + @Test + public void testSecurityAttributeObjectOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "securityAttributeObject"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SecurityAttributeObject instance = + Xmlization.Deserialize.deserializeSecurityAttributeObject(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testSecurityAttributeObjectOk + + @Test + public void testSecurityAttributeObjectDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("securityAttributeObject"); + + if (!Files.exists(clsDir)) { + // No examples of SecurityAttributeObject for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeSecurityAttributeObject(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSecurityAttributeObjectDeserializationFail + + @Test + public void testSecurityAttributeObjectVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("securityAttributeObject"); + + if (!Files.exists(clsDir)) { + // No examples of SecurityAttributeObject for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SecurityAttributeObject instance = + Xmlization.Deserialize.deserializeSecurityAttributeObject(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSecurityAttributeObjectVerificationFail + + @Test + public void testAssetLinkOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "assetLink"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AssetLink instance = Xmlization.Deserialize.deserializeAssetLink(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testAssetLinkOk + + @Test + public void testAssetLinkDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("assetLink"); + + if (!Files.exists(clsDir)) { + // No examples of AssetLink for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeAssetLink(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAssetLinkDeserializationFail + + @Test + public void testAssetLinkVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("assetLink"); + + if (!Files.exists(clsDir)) { + // No examples of AssetLink for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AssetLink instance = Xmlization.Deserialize.deserializeAssetLink(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAssetLinkVerificationFail + + @Test + public void testServiceDescriptionOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "serviceDescription"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ServiceDescription instance = + Xmlization.Deserialize.deserializeServiceDescription(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testServiceDescriptionOk + + @Test + public void testServiceDescriptionDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("serviceDescription"); + + if (!Files.exists(clsDir)) { + // No examples of ServiceDescription for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeServiceDescription(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testServiceDescriptionDeserializationFail + + @Test + public void testServiceDescriptionVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("serviceDescription"); + + if (!Files.exists(clsDir)) { + // No examples of ServiceDescription for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ServiceDescription instance = + Xmlization.Deserialize.deserializeServiceDescription(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testServiceDescriptionVerificationFail + + @Test + public void testAssetAdministrationShellRecentChangeOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "assetAdministrationShellRecentChange"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AssetAdministrationShellRecentChange instance = + Xmlization.Deserialize.deserializeAssetAdministrationShellRecentChange(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testAssetAdministrationShellRecentChangeOk + + @Test + public void testAssetAdministrationShellRecentChangeDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("assetAdministrationShellRecentChange"); + + if (!Files.exists(clsDir)) { + // No examples of AssetAdministrationShellRecentChange for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeAssetAdministrationShellRecentChange(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAssetAdministrationShellRecentChangeDeserializationFail + + @Test + public void testAssetAdministrationShellRecentChangeVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("assetAdministrationShellRecentChange"); + + if (!Files.exists(clsDir)) { + // No examples of AssetAdministrationShellRecentChange for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AssetAdministrationShellRecentChange instance = + Xmlization.Deserialize.deserializeAssetAdministrationShellRecentChange(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAssetAdministrationShellRecentChangeVerificationFail + + @Test + public void testConceptDescriptionRecentChangeOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "conceptDescriptionRecentChange"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ConceptDescriptionRecentChange instance = + Xmlization.Deserialize.deserializeConceptDescriptionRecentChange(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testConceptDescriptionRecentChangeOk + + @Test + public void testConceptDescriptionRecentChangeDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("conceptDescriptionRecentChange"); + + if (!Files.exists(clsDir)) { + // No examples of ConceptDescriptionRecentChange for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeConceptDescriptionRecentChange(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testConceptDescriptionRecentChangeDeserializationFail + + @Test + public void testConceptDescriptionRecentChangeVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("conceptDescriptionRecentChange"); + + if (!Files.exists(clsDir)) { + // No examples of ConceptDescriptionRecentChange for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ConceptDescriptionRecentChange instance = + Xmlization.Deserialize.deserializeConceptDescriptionRecentChange(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testConceptDescriptionRecentChangeVerificationFail + + @Test + public void testSubmodelRecentChangeOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "submodelRecentChange"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SubmodelRecentChange instance = + Xmlization.Deserialize.deserializeSubmodelRecentChange(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testSubmodelRecentChangeOk + + @Test + public void testSubmodelRecentChangeDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("submodelRecentChange"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelRecentChange for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeSubmodelRecentChange(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelRecentChangeDeserializationFail + + @Test + public void testSubmodelRecentChangeVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("submodelRecentChange"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelRecentChange for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SubmodelRecentChange instance = + Xmlization.Deserialize.deserializeSubmodelRecentChange(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelRecentChangeVerificationFail + + @Test + public void testResultOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "result"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Result instance = Xmlization.Deserialize.deserializeResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testResultOk + + @Test + public void testResultDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("result"); + + if (!Files.exists(clsDir)) { + // No examples of Result for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeResult(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testResultDeserializationFail + + @Test + public void testResultVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("result"); + + if (!Files.exists(clsDir)) { + // No examples of Result for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Result instance = Xmlization.Deserialize.deserializeResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testResultVerificationFail + + @Test + public void testMessageOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "message"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Message instance = Xmlization.Deserialize.deserializeMessage(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testMessageOk + + @Test + public void testMessageDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("message"); + + if (!Files.exists(clsDir)) { + // No examples of Message for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeMessage(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testMessageDeserializationFail + + @Test + public void testMessageVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("message"); + + if (!Files.exists(clsDir)) { + // No examples of Message for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Message instance = Xmlization.Deserialize.deserializeMessage(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testMessageVerificationFail + + @Test + public void testOperationRequestOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "operationRequest"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OperationRequest instance = + Xmlization.Deserialize.deserializeOperationRequest(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testOperationRequestOk + + @Test + public void testOperationRequestDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("operationRequest"); + + if (!Files.exists(clsDir)) { + // No examples of OperationRequest for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeOperationRequest(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationRequestDeserializationFail + + @Test + public void testOperationRequestVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("operationRequest"); + + if (!Files.exists(clsDir)) { + // No examples of OperationRequest for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OperationRequest instance = + Xmlization.Deserialize.deserializeOperationRequest(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationRequestVerificationFail + + @Test + public void testOperationRequestAsyncOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "operationRequestAsync"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OperationRequestAsync instance = + Xmlization.Deserialize.deserializeOperationRequestAsync(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testOperationRequestAsyncOk + + @Test + public void testOperationRequestAsyncDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("operationRequestAsync"); + + if (!Files.exists(clsDir)) { + // No examples of OperationRequestAsync for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeOperationRequestAsync(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationRequestAsyncDeserializationFail + + @Test + public void testOperationRequestAsyncVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("operationRequestAsync"); + + if (!Files.exists(clsDir)) { + // No examples of OperationRequestAsync for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OperationRequestAsync instance = + Xmlization.Deserialize.deserializeOperationRequestAsync(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationRequestAsyncVerificationFail + + @Test + public void testOperationRequestValueOnlyOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "operationRequestValueOnly"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OperationRequestValueOnly instance = + Xmlization.Deserialize.deserializeOperationRequestValueOnly(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testOperationRequestValueOnlyOk + + @Test + public void testOperationRequestValueOnlyDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("operationRequestValueOnly"); + + if (!Files.exists(clsDir)) { + // No examples of OperationRequestValueOnly for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeOperationRequestValueOnly(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationRequestValueOnlyDeserializationFail + + @Test + public void testOperationRequestValueOnlyVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("operationRequestValueOnly"); + + if (!Files.exists(clsDir)) { + // No examples of OperationRequestValueOnly for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OperationRequestValueOnly instance = + Xmlization.Deserialize.deserializeOperationRequestValueOnly(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationRequestValueOnlyVerificationFail + + @Test + public void testOperationRequestAsyncValueOnlyOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "operationRequestAsyncValueOnly"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OperationRequestAsyncValueOnly instance = + Xmlization.Deserialize.deserializeOperationRequestAsyncValueOnly(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testOperationRequestAsyncValueOnlyOk + + @Test + public void testOperationRequestAsyncValueOnlyDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("operationRequestAsyncValueOnly"); + + if (!Files.exists(clsDir)) { + // No examples of OperationRequestAsyncValueOnly for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeOperationRequestAsyncValueOnly(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationRequestAsyncValueOnlyDeserializationFail + + @Test + public void testOperationRequestAsyncValueOnlyVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("operationRequestAsyncValueOnly"); + + if (!Files.exists(clsDir)) { + // No examples of OperationRequestAsyncValueOnly for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OperationRequestAsyncValueOnly instance = + Xmlization.Deserialize.deserializeOperationRequestAsyncValueOnly(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationRequestAsyncValueOnlyVerificationFail + + @Test + public void testBaseOperationResultOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "baseOperationResult"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final BaseOperationResult instance = + Xmlization.Deserialize.deserializeBaseOperationResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testBaseOperationResultOk + + @Test + public void testBaseOperationResultDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("baseOperationResult"); + + if (!Files.exists(clsDir)) { + // No examples of BaseOperationResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeBaseOperationResult(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBaseOperationResultDeserializationFail + + @Test + public void testBaseOperationResultVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("baseOperationResult"); + + if (!Files.exists(clsDir)) { + // No examples of BaseOperationResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final BaseOperationResult instance = + Xmlization.Deserialize.deserializeBaseOperationResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBaseOperationResultVerificationFail + + @Test + public void testOperationResultOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "operationResult"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OperationResult instance = Xmlization.Deserialize.deserializeOperationResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testOperationResultOk + + @Test + public void testOperationResultDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("operationResult"); + + if (!Files.exists(clsDir)) { + // No examples of OperationResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeOperationResult(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationResultDeserializationFail + + @Test + public void testOperationResultVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("operationResult"); + + if (!Files.exists(clsDir)) { + // No examples of OperationResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OperationResult instance = + Xmlization.Deserialize.deserializeOperationResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationResultVerificationFail + + @Test + public void testOperationResultValueOnlyOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "operationResultValueOnly"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OperationResultValueOnly instance = + Xmlization.Deserialize.deserializeOperationResultValueOnly(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testOperationResultValueOnlyOk + + @Test + public void testOperationResultValueOnlyDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("operationResultValueOnly"); + + if (!Files.exists(clsDir)) { + // No examples of OperationResultValueOnly for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeOperationResultValueOnly(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationResultValueOnlyDeserializationFail + + @Test + public void testOperationResultValueOnlyVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("operationResultValueOnly"); + + if (!Files.exists(clsDir)) { + // No examples of OperationResultValueOnly for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OperationResultValueOnly instance = + Xmlization.Deserialize.deserializeOperationResultValueOnly(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationResultValueOnlyVerificationFail + + @Test + public void testOperationHandleOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "operationHandle"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OperationHandle instance = Xmlization.Deserialize.deserializeOperationHandle(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testOperationHandleOk + + @Test + public void testOperationHandleDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("operationHandle"); + + if (!Files.exists(clsDir)) { + // No examples of OperationHandle for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeOperationHandle(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationHandleDeserializationFail + + @Test + public void testOperationHandleVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("operationHandle"); + + if (!Files.exists(clsDir)) { + // No examples of OperationHandle for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OperationHandle instance = + Xmlization.Deserialize.deserializeOperationHandle(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationHandleVerificationFail + + @Test + public void testPagedResultOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "pagedResult"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final PagedResult instance = Xmlization.Deserialize.deserializePagedResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testPagedResultOk + + @Test + public void testPagedResultDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("pagedResult"); + + if (!Files.exists(clsDir)) { + // No examples of PagedResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializePagedResult(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testPagedResultDeserializationFail + + @Test + public void testPagedResultVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("pagedResult"); + + if (!Files.exists(clsDir)) { + // No examples of PagedResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final PagedResult instance = Xmlization.Deserialize.deserializePagedResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testPagedResultVerificationFail + + @Test + public void testPagingMetadataOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "pagingMetadata"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final PagingMetadata instance = Xmlization.Deserialize.deserializePagingMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testPagingMetadataOk + + @Test + public void testPagingMetadataDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("pagingMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of PagingMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializePagingMetadata(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testPagingMetadataDeserializationFail + + @Test + public void testPagingMetadataVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("pagingMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of PagingMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final PagingMetadata instance = Xmlization.Deserialize.deserializePagingMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testPagingMetadataVerificationFail + + @Test + public void testPackageDescriptionOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "packageDescription"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final PackageDescription instance = + Xmlization.Deserialize.deserializePackageDescription(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testPackageDescriptionOk + + @Test + public void testPackageDescriptionDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("packageDescription"); + + if (!Files.exists(clsDir)) { + // No examples of PackageDescription for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializePackageDescription(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testPackageDescriptionDeserializationFail + + @Test + public void testPackageDescriptionVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("packageDescription"); + + if (!Files.exists(clsDir)) { + // No examples of PackageDescription for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final PackageDescription instance = + Xmlization.Deserialize.deserializePackageDescription(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testPackageDescriptionVerificationFail + + @Test + public void testPropertyMetadataOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "propertyMetadata"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final PropertyMetadata instance = + Xmlization.Deserialize.deserializePropertyMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testPropertyMetadataOk + + @Test + public void testPropertyMetadataDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("propertyMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of PropertyMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializePropertyMetadata(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testPropertyMetadataDeserializationFail + + @Test + public void testPropertyMetadataVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("propertyMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of PropertyMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final PropertyMetadata instance = + Xmlization.Deserialize.deserializePropertyMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testPropertyMetadataVerificationFail + + @Test + public void testRangeMetadataOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "rangeMetadata"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final RangeMetadata instance = Xmlization.Deserialize.deserializeRangeMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testRangeMetadataOk + + @Test + public void testRangeMetadataDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("rangeMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of RangeMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeRangeMetadata(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testRangeMetadataDeserializationFail + + @Test + public void testRangeMetadataVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("rangeMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of RangeMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final RangeMetadata instance = Xmlization.Deserialize.deserializeRangeMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testRangeMetadataVerificationFail + + @Test + public void testBlobMetadataOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "blobMetadata"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final BlobMetadata instance = Xmlization.Deserialize.deserializeBlobMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testBlobMetadataOk + + @Test + public void testBlobMetadataDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("blobMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of BlobMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeBlobMetadata(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBlobMetadataDeserializationFail + + @Test + public void testBlobMetadataVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("blobMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of BlobMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final BlobMetadata instance = Xmlization.Deserialize.deserializeBlobMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBlobMetadataVerificationFail + + @Test + public void testFileMetadataOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "fileMetadata"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final FileMetadata instance = Xmlization.Deserialize.deserializeFileMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testFileMetadataOk + + @Test + public void testFileMetadataDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("fileMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of FileMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeFileMetadata(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testFileMetadataDeserializationFail + + @Test + public void testFileMetadataVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("fileMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of FileMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final FileMetadata instance = Xmlization.Deserialize.deserializeFileMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testFileMetadataVerificationFail + + @Test + public void testMultiLanguagePropertyMetadataOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "multiLanguagePropertyMetadata"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final MultiLanguagePropertyMetadata instance = + Xmlization.Deserialize.deserializeMultiLanguagePropertyMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testMultiLanguagePropertyMetadataOk + + @Test + public void testMultiLanguagePropertyMetadataDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("multiLanguagePropertyMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of MultiLanguagePropertyMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeMultiLanguagePropertyMetadata(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testMultiLanguagePropertyMetadataDeserializationFail + + @Test + public void testMultiLanguagePropertyMetadataVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("multiLanguagePropertyMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of MultiLanguagePropertyMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final MultiLanguagePropertyMetadata instance = + Xmlization.Deserialize.deserializeMultiLanguagePropertyMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testMultiLanguagePropertyMetadataVerificationFail + + @Test + public void testReferenceElementMetadataOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "referenceElementMetadata"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ReferenceElementMetadata instance = + Xmlization.Deserialize.deserializeReferenceElementMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testReferenceElementMetadataOk + + @Test + public void testReferenceElementMetadataDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("referenceElementMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of ReferenceElementMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeReferenceElementMetadata(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testReferenceElementMetadataDeserializationFail + + @Test + public void testReferenceElementMetadataVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("referenceElementMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of ReferenceElementMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ReferenceElementMetadata instance = + Xmlization.Deserialize.deserializeReferenceElementMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testReferenceElementMetadataVerificationFail + + @Test + public void testRelationshipElementMetadataOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "relationshipElementMetadata"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final RelationshipElementMetadata instance = + Xmlization.Deserialize.deserializeRelationshipElementMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testRelationshipElementMetadataOk + + @Test + public void testRelationshipElementMetadataDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("relationshipElementMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of RelationshipElementMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeRelationshipElementMetadata(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testRelationshipElementMetadataDeserializationFail + + @Test + public void testRelationshipElementMetadataVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("relationshipElementMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of RelationshipElementMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final RelationshipElementMetadata instance = + Xmlization.Deserialize.deserializeRelationshipElementMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testRelationshipElementMetadataVerificationFail + + @Test + public void testAnnotatedRelationshipElementMetadataOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "annotatedRelationshipElementMetadata"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AnnotatedRelationshipElementMetadata instance = + Xmlization.Deserialize.deserializeAnnotatedRelationshipElementMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testAnnotatedRelationshipElementMetadataOk + + @Test + public void testAnnotatedRelationshipElementMetadataDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("annotatedRelationshipElementMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of AnnotatedRelationshipElementMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeAnnotatedRelationshipElementMetadata(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAnnotatedRelationshipElementMetadataDeserializationFail + + @Test + public void testAnnotatedRelationshipElementMetadataVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("annotatedRelationshipElementMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of AnnotatedRelationshipElementMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AnnotatedRelationshipElementMetadata instance = + Xmlization.Deserialize.deserializeAnnotatedRelationshipElementMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAnnotatedRelationshipElementMetadataVerificationFail + + @Test + public void testEntityMetadataOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "entityMetadata"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final EntityMetadata instance = Xmlization.Deserialize.deserializeEntityMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testEntityMetadataOk + + @Test + public void testEntityMetadataDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("entityMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of EntityMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeEntityMetadata(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEntityMetadataDeserializationFail + + @Test + public void testEntityMetadataVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("entityMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of EntityMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final EntityMetadata instance = Xmlization.Deserialize.deserializeEntityMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEntityMetadataVerificationFail + + @Test + public void testCapabilityMetadataOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "capabilityMetadata"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final CapabilityMetadata instance = + Xmlization.Deserialize.deserializeCapabilityMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testCapabilityMetadataOk + + @Test + public void testCapabilityMetadataDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("capabilityMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of CapabilityMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeCapabilityMetadata(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testCapabilityMetadataDeserializationFail + + @Test + public void testCapabilityMetadataVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("capabilityMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of CapabilityMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final CapabilityMetadata instance = + Xmlization.Deserialize.deserializeCapabilityMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testCapabilityMetadataVerificationFail + + @Test + public void testOperationMetadataOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "operationMetadata"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OperationMetadata instance = + Xmlization.Deserialize.deserializeOperationMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testOperationMetadataOk + + @Test + public void testOperationMetadataDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("operationMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of OperationMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeOperationMetadata(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationMetadataDeserializationFail + + @Test + public void testOperationMetadataVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("operationMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of OperationMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OperationMetadata instance = + Xmlization.Deserialize.deserializeOperationMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationMetadataVerificationFail + + @Test + public void testSubmodelElementCollectionMetadataOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "submodelElementCollectionMetadata"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SubmodelElementCollectionMetadata instance = + Xmlization.Deserialize.deserializeSubmodelElementCollectionMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testSubmodelElementCollectionMetadataOk + + @Test + public void testSubmodelElementCollectionMetadataDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("submodelElementCollectionMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementCollectionMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeSubmodelElementCollectionMetadata(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelElementCollectionMetadataDeserializationFail + + @Test + public void testSubmodelElementCollectionMetadataVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("submodelElementCollectionMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementCollectionMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SubmodelElementCollectionMetadata instance = + Xmlization.Deserialize.deserializeSubmodelElementCollectionMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelElementCollectionMetadataVerificationFail + + @Test + public void testBasicEventElementMetadataOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "basicEventElementMetadata"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final BasicEventElementMetadata instance = + Xmlization.Deserialize.deserializeBasicEventElementMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testBasicEventElementMetadataOk + + @Test + public void testBasicEventElementMetadataDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("basicEventElementMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of BasicEventElementMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeBasicEventElementMetadata(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBasicEventElementMetadataDeserializationFail + + @Test + public void testBasicEventElementMetadataVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("basicEventElementMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of BasicEventElementMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final BasicEventElementMetadata instance = + Xmlization.Deserialize.deserializeBasicEventElementMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBasicEventElementMetadataVerificationFail + + @Test + public void testSubmodelElementListMetadataOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "submodelElementListMetadata"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SubmodelElementListMetadata instance = + Xmlization.Deserialize.deserializeSubmodelElementListMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testSubmodelElementListMetadataOk + + @Test + public void testSubmodelElementListMetadataDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("submodelElementListMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementListMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeSubmodelElementListMetadata(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelElementListMetadataDeserializationFail + + @Test + public void testSubmodelElementListMetadataVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("submodelElementListMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementListMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SubmodelElementListMetadata instance = + Xmlization.Deserialize.deserializeSubmodelElementListMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelElementListMetadataVerificationFail + + @Test + public void testSubmodelMetadataOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "submodelMetadata"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SubmodelMetadata instance = + Xmlization.Deserialize.deserializeSubmodelMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testSubmodelMetadataOk + + @Test + public void testSubmodelMetadataDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("submodelMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeSubmodelMetadata(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelMetadataDeserializationFail + + @Test + public void testSubmodelMetadataVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("submodelMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SubmodelMetadata instance = + Xmlization.Deserialize.deserializeSubmodelMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelMetadataVerificationFail + + @Test + public void testAssetAdministrationShellMetadataOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "assetAdministrationShellMetadata"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AssetAdministrationShellMetadata instance = + Xmlization.Deserialize.deserializeAssetAdministrationShellMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testAssetAdministrationShellMetadataOk + + @Test + public void testAssetAdministrationShellMetadataDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("assetAdministrationShellMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of AssetAdministrationShellMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeAssetAdministrationShellMetadata(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAssetAdministrationShellMetadataDeserializationFail + + @Test + public void testAssetAdministrationShellMetadataVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("assetAdministrationShellMetadata"); + + if (!Files.exists(clsDir)) { + // No examples of AssetAdministrationShellMetadata for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AssetAdministrationShellMetadata instance = + Xmlization.Deserialize.deserializeAssetAdministrationShellMetadata(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAssetAdministrationShellMetadataVerificationFail + + @Test + public void testReferenceElementValueOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "referenceElementValue"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ReferenceElementValue instance = + Xmlization.Deserialize.deserializeReferenceElementValue(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testReferenceElementValueOk + + @Test + public void testReferenceElementValueDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("referenceElementValue"); + + if (!Files.exists(clsDir)) { + // No examples of ReferenceElementValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeReferenceElementValue(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testReferenceElementValueDeserializationFail + + @Test + public void testReferenceElementValueVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("referenceElementValue"); + + if (!Files.exists(clsDir)) { + // No examples of ReferenceElementValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ReferenceElementValue instance = + Xmlization.Deserialize.deserializeReferenceElementValue(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testReferenceElementValueVerificationFail + + @Test + public void testBlobValueOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "blobValue"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final BlobValue instance = Xmlization.Deserialize.deserializeBlobValue(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testBlobValueOk + + @Test + public void testBlobValueDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("blobValue"); + + if (!Files.exists(clsDir)) { + // No examples of BlobValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeBlobValue(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBlobValueDeserializationFail + + @Test + public void testBlobValueVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("blobValue"); + + if (!Files.exists(clsDir)) { + // No examples of BlobValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final BlobValue instance = Xmlization.Deserialize.deserializeBlobValue(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBlobValueVerificationFail + + @Test + public void testFileValueOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "fileValue"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final FileValue instance = Xmlization.Deserialize.deserializeFileValue(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testFileValueOk + + @Test + public void testFileValueDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("fileValue"); + + if (!Files.exists(clsDir)) { + // No examples of FileValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeFileValue(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testFileValueDeserializationFail + + @Test + public void testFileValueVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("fileValue"); + + if (!Files.exists(clsDir)) { + // No examples of FileValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final FileValue instance = Xmlization.Deserialize.deserializeFileValue(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testFileValueVerificationFail + + @Test + public void testRangeValueOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "rangeValue"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final RangeValue instance = Xmlization.Deserialize.deserializeRangeValue(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testRangeValueOk + + @Test + public void testRangeValueDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("rangeValue"); + + if (!Files.exists(clsDir)) { + // No examples of RangeValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeRangeValue(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testRangeValueDeserializationFail + + @Test + public void testRangeValueVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("rangeValue"); + + if (!Files.exists(clsDir)) { + // No examples of RangeValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final RangeValue instance = Xmlization.Deserialize.deserializeRangeValue(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testRangeValueVerificationFail + + @Test + public void testRelationshipElementValueOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "relationshipElementValue"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final RelationshipElementValue instance = + Xmlization.Deserialize.deserializeRelationshipElementValue(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testRelationshipElementValueOk + + @Test + public void testRelationshipElementValueDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("relationshipElementValue"); + + if (!Files.exists(clsDir)) { + // No examples of RelationshipElementValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeRelationshipElementValue(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testRelationshipElementValueDeserializationFail + + @Test + public void testRelationshipElementValueVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("relationshipElementValue"); + + if (!Files.exists(clsDir)) { + // No examples of RelationshipElementValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final RelationshipElementValue instance = + Xmlization.Deserialize.deserializeRelationshipElementValue(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testRelationshipElementValueVerificationFail + + @Test + public void testBasicEventElementValueOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "basicEventElementValue"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final BasicEventElementValue instance = + Xmlization.Deserialize.deserializeBasicEventElementValue(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testBasicEventElementValueOk + + @Test + public void testBasicEventElementValueDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("basicEventElementValue"); + + if (!Files.exists(clsDir)) { + // No examples of BasicEventElementValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeBasicEventElementValue(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBasicEventElementValueDeserializationFail + + @Test + public void testBasicEventElementValueVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("basicEventElementValue"); + + if (!Files.exists(clsDir)) { + // No examples of BasicEventElementValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final BasicEventElementValue instance = + Xmlization.Deserialize.deserializeBasicEventElementValue(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBasicEventElementValueVerificationFail + + @Test + public void testAnnotatedRelationshipElementValueOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "annotatedRelationshipElementValue"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AnnotatedRelationshipElementValue instance = + Xmlization.Deserialize.deserializeAnnotatedRelationshipElementValue(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testAnnotatedRelationshipElementValueOk + + @Test + public void testAnnotatedRelationshipElementValueDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("annotatedRelationshipElementValue"); + + if (!Files.exists(clsDir)) { + // No examples of AnnotatedRelationshipElementValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeAnnotatedRelationshipElementValue(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAnnotatedRelationshipElementValueDeserializationFail + + @Test + public void testAnnotatedRelationshipElementValueVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("annotatedRelationshipElementValue"); + + if (!Files.exists(clsDir)) { + // No examples of AnnotatedRelationshipElementValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AnnotatedRelationshipElementValue instance = + Xmlization.Deserialize.deserializeAnnotatedRelationshipElementValue(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAnnotatedRelationshipElementValueVerificationFail + + @Test + public void testEntityValueOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "entityValue"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final EntityValue instance = Xmlization.Deserialize.deserializeEntityValue(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testEntityValueOk + + @Test + public void testEntityValueDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("entityValue"); + + if (!Files.exists(clsDir)) { + // No examples of EntityValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeEntityValue(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEntityValueDeserializationFail + + @Test + public void testEntityValueVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("entityValue"); + + if (!Files.exists(clsDir)) { + // No examples of EntityValue for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final EntityValue instance = Xmlization.Deserialize.deserializeEntityValue(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEntityValueVerificationFail + + @Test + public void testGetAssetAdministrationShellsResultOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "getAssetAdministrationShellsResult"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetAssetAdministrationShellsResult instance = + Xmlization.Deserialize.deserializeGetAssetAdministrationShellsResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testGetAssetAdministrationShellsResultOk + + @Test + public void testGetAssetAdministrationShellsResultDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("getAssetAdministrationShellsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAssetAdministrationShellsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeGetAssetAdministrationShellsResult(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetAssetAdministrationShellsResultDeserializationFail + + @Test + public void testGetAssetAdministrationShellsResultVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("getAssetAdministrationShellsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAssetAdministrationShellsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetAssetAdministrationShellsResult instance = + Xmlization.Deserialize.deserializeGetAssetAdministrationShellsResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetAssetAdministrationShellsResultVerificationFail + + @Test + public void testGetAssetAdministrationShellsMetadataResultOk() + throws IOException, XMLStreamException { + final Path searchPath = + Paths.get( + Common.TEST_DATA_DIR, "Xml", "Expected", "getAssetAdministrationShellsMetadataResult"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetAssetAdministrationShellsMetadataResult instance = + Xmlization.Deserialize.deserializeGetAssetAdministrationShellsMetadataResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testGetAssetAdministrationShellsMetadataResultOk + + @Test + public void testGetAssetAdministrationShellsMetadataResultDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("getAssetAdministrationShellsMetadataResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAssetAdministrationShellsMetadataResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeGetAssetAdministrationShellsMetadataResult(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetAssetAdministrationShellsMetadataResultDeserializationFail + + @Test + public void testGetAssetAdministrationShellsMetadataResultVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("getAssetAdministrationShellsMetadataResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAssetAdministrationShellsMetadataResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetAssetAdministrationShellsMetadataResult instance = + Xmlization.Deserialize.deserializeGetAssetAdministrationShellsMetadataResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetAssetAdministrationShellsMetadataResultVerificationFail + + @Test + public void testGetAllAssetAdministrationShellsRecentChangesResultOk() + throws IOException, XMLStreamException { + final Path searchPath = + Paths.get( + Common.TEST_DATA_DIR, + "Xml", + "Expected", + "getAllAssetAdministrationShellsRecentChangesResult"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetAllAssetAdministrationShellsRecentChangesResult instance = + Xmlization.Deserialize.deserializeGetAllAssetAdministrationShellsRecentChangesResult( + xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testGetAllAssetAdministrationShellsRecentChangesResultOk + + @Test + public void testGetAllAssetAdministrationShellsRecentChangesResultDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("getAllAssetAdministrationShellsRecentChangesResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAllAssetAdministrationShellsRecentChangesResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeGetAllAssetAdministrationShellsRecentChangesResult( + xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetAllAssetAdministrationShellsRecentChangesResultDeserializationFail + + @Test + public void testGetAllAssetAdministrationShellsRecentChangesResultVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("getAllAssetAdministrationShellsRecentChangesResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAllAssetAdministrationShellsRecentChangesResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetAllAssetAdministrationShellsRecentChangesResult instance = + Xmlization.Deserialize.deserializeGetAllAssetAdministrationShellsRecentChangesResult( + xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetAllAssetAdministrationShellsRecentChangesResultVerificationFail + + @Test + public void testGetAssetAdministrationShellDescriptorsResultOk() + throws IOException, XMLStreamException { + final Path searchPath = + Paths.get( + Common.TEST_DATA_DIR, + "Xml", + "Expected", + "getAssetAdministrationShellDescriptorsResult"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetAssetAdministrationShellDescriptorsResult instance = + Xmlization.Deserialize.deserializeGetAssetAdministrationShellDescriptorsResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testGetAssetAdministrationShellDescriptorsResultOk + + @Test + public void testGetAssetAdministrationShellDescriptorsResultDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("getAssetAdministrationShellDescriptorsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAssetAdministrationShellDescriptorsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeGetAssetAdministrationShellDescriptorsResult(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetAssetAdministrationShellDescriptorsResultDeserializationFail + + @Test + public void testGetAssetAdministrationShellDescriptorsResultVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("getAssetAdministrationShellDescriptorsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAssetAdministrationShellDescriptorsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetAssetAdministrationShellDescriptorsResult instance = + Xmlization.Deserialize.deserializeGetAssetAdministrationShellDescriptorsResult( + xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetAssetAdministrationShellDescriptorsResultVerificationFail + + @Test + public void testGetConceptDescriptionsResultOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "getConceptDescriptionsResult"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetConceptDescriptionsResult instance = + Xmlization.Deserialize.deserializeGetConceptDescriptionsResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testGetConceptDescriptionsResultOk + + @Test + public void testGetConceptDescriptionsResultDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("getConceptDescriptionsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetConceptDescriptionsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeGetConceptDescriptionsResult(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetConceptDescriptionsResultDeserializationFail + + @Test + public void testGetConceptDescriptionsResultVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("getConceptDescriptionsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetConceptDescriptionsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetConceptDescriptionsResult instance = + Xmlization.Deserialize.deserializeGetConceptDescriptionsResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetConceptDescriptionsResultVerificationFail + + @Test + public void testGetAllConceptDescriptionsRecentChangesResultOk() + throws IOException, XMLStreamException { + final Path searchPath = + Paths.get( + Common.TEST_DATA_DIR, + "Xml", + "Expected", + "getAllConceptDescriptionsRecentChangesResult"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetAllConceptDescriptionsRecentChangesResult instance = + Xmlization.Deserialize.deserializeGetAllConceptDescriptionsRecentChangesResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testGetAllConceptDescriptionsRecentChangesResultOk + + @Test + public void testGetAllConceptDescriptionsRecentChangesResultDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("getAllConceptDescriptionsRecentChangesResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAllConceptDescriptionsRecentChangesResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeGetAllConceptDescriptionsRecentChangesResult(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetAllConceptDescriptionsRecentChangesResultDeserializationFail + + @Test + public void testGetAllConceptDescriptionsRecentChangesResultVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("getAllConceptDescriptionsRecentChangesResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAllConceptDescriptionsRecentChangesResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetAllConceptDescriptionsRecentChangesResult instance = + Xmlization.Deserialize.deserializeGetAllConceptDescriptionsRecentChangesResult( + xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetAllConceptDescriptionsRecentChangesResultVerificationFail + + @Test + public void testGetPackageDescriptionsResultOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "getPackageDescriptionsResult"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetPackageDescriptionsResult instance = + Xmlization.Deserialize.deserializeGetPackageDescriptionsResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testGetPackageDescriptionsResultOk + + @Test + public void testGetPackageDescriptionsResultDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("getPackageDescriptionsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetPackageDescriptionsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeGetPackageDescriptionsResult(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetPackageDescriptionsResultDeserializationFail + + @Test + public void testGetPackageDescriptionsResultVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("getPackageDescriptionsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetPackageDescriptionsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetPackageDescriptionsResult instance = + Xmlization.Deserialize.deserializeGetPackageDescriptionsResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetPackageDescriptionsResultVerificationFail + + @Test + public void testGetPathItemsResultOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "getPathItemsResult"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetPathItemsResult instance = + Xmlization.Deserialize.deserializeGetPathItemsResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testGetPathItemsResultOk + + @Test + public void testGetPathItemsResultDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("getPathItemsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetPathItemsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeGetPathItemsResult(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetPathItemsResultDeserializationFail + + @Test + public void testGetPathItemsResultVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("getPathItemsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetPathItemsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetPathItemsResult instance = + Xmlization.Deserialize.deserializeGetPathItemsResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetPathItemsResultVerificationFail + + @Test + public void testGetReferencesResultOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "getReferencesResult"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetReferencesResult instance = + Xmlization.Deserialize.deserializeGetReferencesResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testGetReferencesResultOk + + @Test + public void testGetReferencesResultDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("getReferencesResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetReferencesResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeGetReferencesResult(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetReferencesResultDeserializationFail + + @Test + public void testGetReferencesResultVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("getReferencesResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetReferencesResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetReferencesResult instance = + Xmlization.Deserialize.deserializeGetReferencesResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetReferencesResultVerificationFail + + @Test + public void testGetSubmodelDescriptorsResultOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "getSubmodelDescriptorsResult"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetSubmodelDescriptorsResult instance = + Xmlization.Deserialize.deserializeGetSubmodelDescriptorsResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testGetSubmodelDescriptorsResultOk + + @Test + public void testGetSubmodelDescriptorsResultDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("getSubmodelDescriptorsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelDescriptorsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeGetSubmodelDescriptorsResult(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetSubmodelDescriptorsResultDeserializationFail + + @Test + public void testGetSubmodelDescriptorsResultVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("getSubmodelDescriptorsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelDescriptorsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetSubmodelDescriptorsResult instance = + Xmlization.Deserialize.deserializeGetSubmodelDescriptorsResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetSubmodelDescriptorsResultVerificationFail + + @Test + public void testGetSubmodelElementsMetadataResultOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "getSubmodelElementsMetadataResult"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetSubmodelElementsMetadataResult instance = + Xmlization.Deserialize.deserializeGetSubmodelElementsMetadataResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testGetSubmodelElementsMetadataResultOk + + @Test + public void testGetSubmodelElementsMetadataResultDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("getSubmodelElementsMetadataResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelElementsMetadataResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeGetSubmodelElementsMetadataResult(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetSubmodelElementsMetadataResultDeserializationFail + + @Test + public void testGetSubmodelElementsMetadataResultVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("getSubmodelElementsMetadataResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelElementsMetadataResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetSubmodelElementsMetadataResult instance = + Xmlization.Deserialize.deserializeGetSubmodelElementsMetadataResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetSubmodelElementsMetadataResultVerificationFail + + @Test + public void testGetSubmodelElementsResultOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "getSubmodelElementsResult"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetSubmodelElementsResult instance = + Xmlization.Deserialize.deserializeGetSubmodelElementsResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testGetSubmodelElementsResultOk + + @Test + public void testGetSubmodelElementsResultDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("getSubmodelElementsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelElementsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeGetSubmodelElementsResult(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetSubmodelElementsResultDeserializationFail + + @Test + public void testGetSubmodelElementsResultVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("getSubmodelElementsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelElementsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetSubmodelElementsResult instance = + Xmlization.Deserialize.deserializeGetSubmodelElementsResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetSubmodelElementsResultVerificationFail + + @Test + public void testGetSubmodelElementsValueResultOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "getSubmodelElementsValueResult"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetSubmodelElementsValueResult instance = + Xmlization.Deserialize.deserializeGetSubmodelElementsValueResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testGetSubmodelElementsValueResultOk + + @Test + public void testGetSubmodelElementsValueResultDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("getSubmodelElementsValueResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelElementsValueResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeGetSubmodelElementsValueResult(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetSubmodelElementsValueResultDeserializationFail + + @Test + public void testGetSubmodelElementsValueResultVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("getSubmodelElementsValueResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelElementsValueResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetSubmodelElementsValueResult instance = + Xmlization.Deserialize.deserializeGetSubmodelElementsValueResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetSubmodelElementsValueResultVerificationFail + + @Test + public void testGetAllSubmodelsRecentChangesResultOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "getAllSubmodelsRecentChangesResult"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetAllSubmodelsRecentChangesResult instance = + Xmlization.Deserialize.deserializeGetAllSubmodelsRecentChangesResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testGetAllSubmodelsRecentChangesResultOk + + @Test + public void testGetAllSubmodelsRecentChangesResultDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("getAllSubmodelsRecentChangesResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAllSubmodelsRecentChangesResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeGetAllSubmodelsRecentChangesResult(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetAllSubmodelsRecentChangesResultDeserializationFail + + @Test + public void testGetAllSubmodelsRecentChangesResultVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("getAllSubmodelsRecentChangesResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetAllSubmodelsRecentChangesResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetAllSubmodelsRecentChangesResult instance = + Xmlization.Deserialize.deserializeGetAllSubmodelsRecentChangesResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetAllSubmodelsRecentChangesResultVerificationFail + + @Test + public void testGetSubmodelsMetadataResultOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "getSubmodelsMetadataResult"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetSubmodelsMetadataResult instance = + Xmlization.Deserialize.deserializeGetSubmodelsMetadataResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testGetSubmodelsMetadataResultOk + + @Test + public void testGetSubmodelsMetadataResultDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("getSubmodelsMetadataResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelsMetadataResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeGetSubmodelsMetadataResult(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetSubmodelsMetadataResultDeserializationFail + + @Test + public void testGetSubmodelsMetadataResultVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("getSubmodelsMetadataResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelsMetadataResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetSubmodelsMetadataResult instance = + Xmlization.Deserialize.deserializeGetSubmodelsMetadataResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetSubmodelsMetadataResultVerificationFail + + @Test + public void testGetSubmodelsResultOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "getSubmodelsResult"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetSubmodelsResult instance = + Xmlization.Deserialize.deserializeGetSubmodelsResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testGetSubmodelsResultOk + + @Test + public void testGetSubmodelsResultDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("getSubmodelsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeGetSubmodelsResult(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetSubmodelsResultDeserializationFail + + @Test + public void testGetSubmodelsResultVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("getSubmodelsResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelsResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetSubmodelsResult instance = + Xmlization.Deserialize.deserializeGetSubmodelsResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetSubmodelsResultVerificationFail + + @Test + public void testGetSubmodelsValueResultOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "getSubmodelsValueResult"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetSubmodelsValueResult instance = + Xmlization.Deserialize.deserializeGetSubmodelsValueResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testGetSubmodelsValueResultOk + + @Test + public void testGetSubmodelsValueResultDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("getSubmodelsValueResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelsValueResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeGetSubmodelsValueResult(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGetSubmodelsValueResultDeserializationFail + + @Test + public void testGetSubmodelsValueResultVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("getSubmodelsValueResult"); + + if (!Files.exists(clsDir)) { + // No examples of GetSubmodelsValueResult for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GetSubmodelsValueResult instance = + Xmlization.Deserialize.deserializeGetSubmodelsValueResult(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGetSubmodelsValueResultVerificationFail + + @Test + public void testClaimAttributeOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "claimAttribute"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ClaimAttribute instance = Xmlization.Deserialize.deserializeClaimAttribute(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testClaimAttributeOk + + @Test + public void testClaimAttributeDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("claimAttribute"); + + if (!Files.exists(clsDir)) { + // No examples of ClaimAttribute for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeClaimAttribute(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testClaimAttributeDeserializationFail + + @Test + public void testClaimAttributeVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("claimAttribute"); + + if (!Files.exists(clsDir)) { + // No examples of ClaimAttribute for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ClaimAttribute instance = Xmlization.Deserialize.deserializeClaimAttribute(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testClaimAttributeVerificationFail + + @Test + public void testGlobalAttributeOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "globalAttribute"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GlobalAttribute instance = Xmlization.Deserialize.deserializeGlobalAttribute(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testGlobalAttributeOk + + @Test + public void testGlobalAttributeDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("globalAttribute"); + + if (!Files.exists(clsDir)) { + // No examples of GlobalAttribute for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeGlobalAttribute(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGlobalAttributeDeserializationFail + + @Test + public void testGlobalAttributeVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("globalAttribute"); + + if (!Files.exists(clsDir)) { + // No examples of GlobalAttribute for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GlobalAttribute instance = + Xmlization.Deserialize.deserializeGlobalAttribute(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGlobalAttributeVerificationFail + + @Test + public void testReferenceAttributeOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "referenceAttribute"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ReferenceAttribute instance = + Xmlization.Deserialize.deserializeReferenceAttribute(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testReferenceAttributeOk + + @Test + public void testReferenceAttributeDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("referenceAttribute"); + + if (!Files.exists(clsDir)) { + // No examples of ReferenceAttribute for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeReferenceAttribute(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testReferenceAttributeDeserializationFail + + @Test + public void testReferenceAttributeVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("referenceAttribute"); + + if (!Files.exists(clsDir)) { + // No examples of ReferenceAttribute for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ReferenceAttribute instance = + Xmlization.Deserialize.deserializeReferenceAttribute(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testReferenceAttributeVerificationFail + + @Test + public void testDateTimeAttributeItemOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "dateTimeAttributeItem"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final DateTimeAttributeItem instance = + Xmlization.Deserialize.deserializeDateTimeAttributeItem(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testDateTimeAttributeItemOk + + @Test + public void testDateTimeAttributeItemDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("dateTimeAttributeItem"); + + if (!Files.exists(clsDir)) { + // No examples of DateTimeAttributeItem for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeDateTimeAttributeItem(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testDateTimeAttributeItemDeserializationFail + + @Test + public void testDateTimeAttributeItemVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("dateTimeAttributeItem"); + + if (!Files.exists(clsDir)) { + // No examples of DateTimeAttributeItem for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final DateTimeAttributeItem instance = + Xmlization.Deserialize.deserializeDateTimeAttributeItem(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testDateTimeAttributeItemVerificationFail + + @Test + public void testFieldOperandOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "fieldOperand"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final FieldOperand instance = Xmlization.Deserialize.deserializeFieldOperand(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testFieldOperandOk + + @Test + public void testFieldOperandDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("fieldOperand"); + + if (!Files.exists(clsDir)) { + // No examples of FieldOperand for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeFieldOperand(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testFieldOperandDeserializationFail + + @Test + public void testFieldOperandVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("fieldOperand"); + + if (!Files.exists(clsDir)) { + // No examples of FieldOperand for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final FieldOperand instance = Xmlization.Deserialize.deserializeFieldOperand(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testFieldOperandVerificationFail + + @Test + public void testStringLiteralOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "stringLiteral"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final StringLiteral instance = Xmlization.Deserialize.deserializeStringLiteral(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testStringLiteralOk + + @Test + public void testStringLiteralDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("stringLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of StringLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeStringLiteral(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testStringLiteralDeserializationFail + + @Test + public void testStringLiteralVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("stringLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of StringLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final StringLiteral instance = Xmlization.Deserialize.deserializeStringLiteral(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testStringLiteralVerificationFail + + @Test + public void testAttributeOperandOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "attributeOperand"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AttributeOperand instance = + Xmlization.Deserialize.deserializeAttributeOperand(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testAttributeOperandOk + + @Test + public void testAttributeOperandDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("attributeOperand"); + + if (!Files.exists(clsDir)) { + // No examples of AttributeOperand for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeAttributeOperand(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAttributeOperandDeserializationFail + + @Test + public void testAttributeOperandVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("attributeOperand"); + + if (!Files.exists(clsDir)) { + // No examples of AttributeOperand for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AttributeOperand instance = + Xmlization.Deserialize.deserializeAttributeOperand(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAttributeOperandVerificationFail + + @Test + public void testNumberLiteralOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "numberLiteral"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final NumberLiteral instance = Xmlization.Deserialize.deserializeNumberLiteral(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testNumberLiteralOk + + @Test + public void testNumberLiteralDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("numberLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of NumberLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeNumberLiteral(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testNumberLiteralDeserializationFail + + @Test + public void testNumberLiteralVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("numberLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of NumberLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final NumberLiteral instance = Xmlization.Deserialize.deserializeNumberLiteral(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testNumberLiteralVerificationFail + + @Test + public void testHexLiteralOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "hexLiteral"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final HexLiteral instance = Xmlization.Deserialize.deserializeHexLiteral(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testHexLiteralOk + + @Test + public void testHexLiteralDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("hexLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of HexLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeHexLiteral(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testHexLiteralDeserializationFail + + @Test + public void testHexLiteralVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("hexLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of HexLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final HexLiteral instance = Xmlization.Deserialize.deserializeHexLiteral(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testHexLiteralVerificationFail + + @Test + public void testDateTimeLiteralOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "dateTimeLiteral"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final DateTimeLiteral instance = Xmlization.Deserialize.deserializeDateTimeLiteral(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testDateTimeLiteralOk + + @Test + public void testDateTimeLiteralDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("dateTimeLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of DateTimeLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeDateTimeLiteral(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testDateTimeLiteralDeserializationFail + + @Test + public void testDateTimeLiteralVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("dateTimeLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of DateTimeLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final DateTimeLiteral instance = + Xmlization.Deserialize.deserializeDateTimeLiteral(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testDateTimeLiteralVerificationFail + + @Test + public void testTimeLiteralOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "timeLiteral"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final TimeLiteral instance = Xmlization.Deserialize.deserializeTimeLiteral(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testTimeLiteralOk + + @Test + public void testTimeLiteralDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("timeLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of TimeLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeTimeLiteral(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testTimeLiteralDeserializationFail + + @Test + public void testTimeLiteralVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("timeLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of TimeLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final TimeLiteral instance = Xmlization.Deserialize.deserializeTimeLiteral(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testTimeLiteralVerificationFail + + @Test + public void testBooleanLiteralOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "booleanLiteral"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final BooleanLiteral instance = Xmlization.Deserialize.deserializeBooleanLiteral(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testBooleanLiteralOk + + @Test + public void testBooleanLiteralDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("booleanLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of BooleanLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeBooleanLiteral(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBooleanLiteralDeserializationFail + + @Test + public void testBooleanLiteralVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("booleanLiteral"); + + if (!Files.exists(clsDir)) { + // No examples of BooleanLiteral for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final BooleanLiteral instance = Xmlization.Deserialize.deserializeBooleanLiteral(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBooleanLiteralVerificationFail + + @Test + public void testStringCastOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "stringCast"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final StringCast instance = Xmlization.Deserialize.deserializeStringCast(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testStringCastOk + + @Test + public void testStringCastDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("stringCast"); + + if (!Files.exists(clsDir)) { + // No examples of StringCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeStringCast(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testStringCastDeserializationFail + + @Test + public void testStringCastVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("stringCast"); + + if (!Files.exists(clsDir)) { + // No examples of StringCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final StringCast instance = Xmlization.Deserialize.deserializeStringCast(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testStringCastVerificationFail + + @Test + public void testNumberCastOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "numberCast"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final NumberCast instance = Xmlization.Deserialize.deserializeNumberCast(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testNumberCastOk + + @Test + public void testNumberCastDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("numberCast"); + + if (!Files.exists(clsDir)) { + // No examples of NumberCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeNumberCast(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testNumberCastDeserializationFail + + @Test + public void testNumberCastVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("numberCast"); + + if (!Files.exists(clsDir)) { + // No examples of NumberCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final NumberCast instance = Xmlization.Deserialize.deserializeNumberCast(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testNumberCastVerificationFail + + @Test + public void testHexCastOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "hexCast"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final HexCast instance = Xmlization.Deserialize.deserializeHexCast(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testHexCastOk + + @Test + public void testHexCastDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("hexCast"); + + if (!Files.exists(clsDir)) { + // No examples of HexCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeHexCast(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testHexCastDeserializationFail + + @Test + public void testHexCastVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("hexCast"); + + if (!Files.exists(clsDir)) { + // No examples of HexCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final HexCast instance = Xmlization.Deserialize.deserializeHexCast(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testHexCastVerificationFail + + @Test + public void testBooleanCastOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "booleanCast"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final BooleanCast instance = Xmlization.Deserialize.deserializeBooleanCast(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testBooleanCastOk + + @Test + public void testBooleanCastDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("booleanCast"); + + if (!Files.exists(clsDir)) { + // No examples of BooleanCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeBooleanCast(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBooleanCastDeserializationFail + + @Test + public void testBooleanCastVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("booleanCast"); + + if (!Files.exists(clsDir)) { + // No examples of BooleanCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final BooleanCast instance = Xmlization.Deserialize.deserializeBooleanCast(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBooleanCastVerificationFail + + @Test + public void testDateTimeCastOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "dateTimeCast"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final DateTimeCast instance = Xmlization.Deserialize.deserializeDateTimeCast(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testDateTimeCastOk + + @Test + public void testDateTimeCastDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("dateTimeCast"); + + if (!Files.exists(clsDir)) { + // No examples of DateTimeCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeDateTimeCast(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testDateTimeCastDeserializationFail + + @Test + public void testDateTimeCastVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("dateTimeCast"); + + if (!Files.exists(clsDir)) { + // No examples of DateTimeCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final DateTimeCast instance = Xmlization.Deserialize.deserializeDateTimeCast(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testDateTimeCastVerificationFail + + @Test + public void testTimeCastOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "timeCast"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final TimeCast instance = Xmlization.Deserialize.deserializeTimeCast(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testTimeCastOk + + @Test + public void testTimeCastDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("timeCast"); + + if (!Files.exists(clsDir)) { + // No examples of TimeCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeTimeCast(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testTimeCastDeserializationFail + + @Test + public void testTimeCastVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("timeCast"); + + if (!Files.exists(clsDir)) { + // No examples of TimeCast for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final TimeCast instance = Xmlization.Deserialize.deserializeTimeCast(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testTimeCastVerificationFail + + @Test + public void testDayOfWeekOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "dayOfWeek"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final DayOfWeek instance = Xmlization.Deserialize.deserializeDayOfWeek(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testDayOfWeekOk + + @Test + public void testDayOfWeekDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("dayOfWeek"); + + if (!Files.exists(clsDir)) { + // No examples of DayOfWeek for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeDayOfWeek(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testDayOfWeekDeserializationFail + + @Test + public void testDayOfWeekVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("dayOfWeek"); + + if (!Files.exists(clsDir)) { + // No examples of DayOfWeek for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final DayOfWeek instance = Xmlization.Deserialize.deserializeDayOfWeek(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testDayOfWeekVerificationFail + + @Test + public void testDayOfMonthOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "dayOfMonth"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final DayOfMonth instance = Xmlization.Deserialize.deserializeDayOfMonth(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testDayOfMonthOk + + @Test + public void testDayOfMonthDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("dayOfMonth"); + + if (!Files.exists(clsDir)) { + // No examples of DayOfMonth for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeDayOfMonth(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testDayOfMonthDeserializationFail + + @Test + public void testDayOfMonthVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("dayOfMonth"); + + if (!Files.exists(clsDir)) { + // No examples of DayOfMonth for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final DayOfMonth instance = Xmlization.Deserialize.deserializeDayOfMonth(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testDayOfMonthVerificationFail + + @Test + public void testMonthOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "month"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Month instance = Xmlization.Deserialize.deserializeMonth(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testMonthOk + + @Test + public void testMonthDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("month"); + + if (!Files.exists(clsDir)) { + // No examples of Month for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeMonth(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testMonthDeserializationFail + + @Test + public void testMonthVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("month"); + + if (!Files.exists(clsDir)) { + // No examples of Month for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Month instance = Xmlization.Deserialize.deserializeMonth(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testMonthVerificationFail + + @Test + public void testYearOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "year"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Year instance = Xmlization.Deserialize.deserializeYear(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testYearOk + + @Test + public void testYearDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("year"); + + if (!Files.exists(clsDir)) { + // No examples of Year for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeYear(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testYearDeserializationFail + + @Test + public void testYearVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("year"); + + if (!Files.exists(clsDir)) { + // No examples of Year for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Year instance = Xmlization.Deserialize.deserializeYear(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testYearVerificationFail + + @Test + public void testDateTimeAttributeOperandOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "dateTimeAttributeOperand"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final DateTimeAttributeOperand instance = + Xmlization.Deserialize.deserializeDateTimeAttributeOperand(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testDateTimeAttributeOperandOk + + @Test + public void testDateTimeAttributeOperandDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("dateTimeAttributeOperand"); + + if (!Files.exists(clsDir)) { + // No examples of DateTimeAttributeOperand for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeDateTimeAttributeOperand(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testDateTimeAttributeOperandDeserializationFail + + @Test + public void testDateTimeAttributeOperandVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("dateTimeAttributeOperand"); + + if (!Files.exists(clsDir)) { + // No examples of DateTimeAttributeOperand for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final DateTimeAttributeOperand instance = + Xmlization.Deserialize.deserializeDateTimeAttributeOperand(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testDateTimeAttributeOperandVerificationFail + + @Test + public void testEqualComparisonOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "equalComparison"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final EqualComparison instance = Xmlization.Deserialize.deserializeEqualComparison(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testEqualComparisonOk + + @Test + public void testEqualComparisonDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("equalComparison"); + + if (!Files.exists(clsDir)) { + // No examples of EqualComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeEqualComparison(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEqualComparisonDeserializationFail + + @Test + public void testEqualComparisonVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("equalComparison"); + + if (!Files.exists(clsDir)) { + // No examples of EqualComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final EqualComparison instance = + Xmlization.Deserialize.deserializeEqualComparison(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEqualComparisonVerificationFail + + @Test + public void testNotEqualComparisonOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "notEqualComparison"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final NotEqualComparison instance = + Xmlization.Deserialize.deserializeNotEqualComparison(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testNotEqualComparisonOk + + @Test + public void testNotEqualComparisonDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("notEqualComparison"); + + if (!Files.exists(clsDir)) { + // No examples of NotEqualComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeNotEqualComparison(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testNotEqualComparisonDeserializationFail + + @Test + public void testNotEqualComparisonVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("notEqualComparison"); + + if (!Files.exists(clsDir)) { + // No examples of NotEqualComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final NotEqualComparison instance = + Xmlization.Deserialize.deserializeNotEqualComparison(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testNotEqualComparisonVerificationFail + + @Test + public void testGreaterThanComparisonOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "greaterThanComparison"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GreaterThanComparison instance = + Xmlization.Deserialize.deserializeGreaterThanComparison(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testGreaterThanComparisonOk + + @Test + public void testGreaterThanComparisonDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("greaterThanComparison"); + + if (!Files.exists(clsDir)) { + // No examples of GreaterThanComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeGreaterThanComparison(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGreaterThanComparisonDeserializationFail + + @Test + public void testGreaterThanComparisonVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("greaterThanComparison"); + + if (!Files.exists(clsDir)) { + // No examples of GreaterThanComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GreaterThanComparison instance = + Xmlization.Deserialize.deserializeGreaterThanComparison(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGreaterThanComparisonVerificationFail + + @Test + public void testGreaterThanOrEqualComparisonOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "greaterThanOrEqualComparison"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GreaterThanOrEqualComparison instance = + Xmlization.Deserialize.deserializeGreaterThanOrEqualComparison(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testGreaterThanOrEqualComparisonOk + + @Test + public void testGreaterThanOrEqualComparisonDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("greaterThanOrEqualComparison"); + + if (!Files.exists(clsDir)) { + // No examples of GreaterThanOrEqualComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeGreaterThanOrEqualComparison(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testGreaterThanOrEqualComparisonDeserializationFail + + @Test + public void testGreaterThanOrEqualComparisonVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("greaterThanOrEqualComparison"); + + if (!Files.exists(clsDir)) { + // No examples of GreaterThanOrEqualComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final GreaterThanOrEqualComparison instance = + Xmlization.Deserialize.deserializeGreaterThanOrEqualComparison(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testGreaterThanOrEqualComparisonVerificationFail + + @Test + public void testLessThanComparisonOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "lessThanComparison"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LessThanComparison instance = + Xmlization.Deserialize.deserializeLessThanComparison(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testLessThanComparisonOk + + @Test + public void testLessThanComparisonDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("lessThanComparison"); + + if (!Files.exists(clsDir)) { + // No examples of LessThanComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeLessThanComparison(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLessThanComparisonDeserializationFail + + @Test + public void testLessThanComparisonVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("lessThanComparison"); + + if (!Files.exists(clsDir)) { + // No examples of LessThanComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LessThanComparison instance = + Xmlization.Deserialize.deserializeLessThanComparison(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLessThanComparisonVerificationFail + + @Test + public void testLessThanOrEqualComparisonOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "lessThanOrEqualComparison"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LessThanOrEqualComparison instance = + Xmlization.Deserialize.deserializeLessThanOrEqualComparison(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testLessThanOrEqualComparisonOk + + @Test + public void testLessThanOrEqualComparisonDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("lessThanOrEqualComparison"); + + if (!Files.exists(clsDir)) { + // No examples of LessThanOrEqualComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeLessThanOrEqualComparison(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLessThanOrEqualComparisonDeserializationFail + + @Test + public void testLessThanOrEqualComparisonVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("lessThanOrEqualComparison"); + + if (!Files.exists(clsDir)) { + // No examples of LessThanOrEqualComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LessThanOrEqualComparison instance = + Xmlization.Deserialize.deserializeLessThanOrEqualComparison(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLessThanOrEqualComparisonVerificationFail + + @Test + public void testContainsComparisonOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "containsComparison"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ContainsComparison instance = + Xmlization.Deserialize.deserializeContainsComparison(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testContainsComparisonOk + + @Test + public void testContainsComparisonDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("containsComparison"); + + if (!Files.exists(clsDir)) { + // No examples of ContainsComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeContainsComparison(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testContainsComparisonDeserializationFail + + @Test + public void testContainsComparisonVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("containsComparison"); + + if (!Files.exists(clsDir)) { + // No examples of ContainsComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ContainsComparison instance = + Xmlization.Deserialize.deserializeContainsComparison(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testContainsComparisonVerificationFail + + @Test + public void testStartsWithComparisonOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "startsWithComparison"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final StartsWithComparison instance = + Xmlization.Deserialize.deserializeStartsWithComparison(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testStartsWithComparisonOk + + @Test + public void testStartsWithComparisonDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("startsWithComparison"); + + if (!Files.exists(clsDir)) { + // No examples of StartsWithComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeStartsWithComparison(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testStartsWithComparisonDeserializationFail + + @Test + public void testStartsWithComparisonVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("startsWithComparison"); + + if (!Files.exists(clsDir)) { + // No examples of StartsWithComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final StartsWithComparison instance = + Xmlization.Deserialize.deserializeStartsWithComparison(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testStartsWithComparisonVerificationFail + + @Test + public void testEndsWithComparisonOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "endsWithComparison"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final EndsWithComparison instance = + Xmlization.Deserialize.deserializeEndsWithComparison(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testEndsWithComparisonOk + + @Test + public void testEndsWithComparisonDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("endsWithComparison"); + + if (!Files.exists(clsDir)) { + // No examples of EndsWithComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeEndsWithComparison(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEndsWithComparisonDeserializationFail + + @Test + public void testEndsWithComparisonVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("endsWithComparison"); + + if (!Files.exists(clsDir)) { + // No examples of EndsWithComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final EndsWithComparison instance = + Xmlization.Deserialize.deserializeEndsWithComparison(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEndsWithComparisonVerificationFail + + @Test + public void testRegexComparisonOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "regexComparison"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final RegexComparison instance = Xmlization.Deserialize.deserializeRegexComparison(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testRegexComparisonOk + + @Test + public void testRegexComparisonDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("regexComparison"); + + if (!Files.exists(clsDir)) { + // No examples of RegexComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeRegexComparison(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testRegexComparisonDeserializationFail + + @Test + public void testRegexComparisonVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("regexComparison"); + + if (!Files.exists(clsDir)) { + // No examples of RegexComparison for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final RegexComparison instance = + Xmlization.Deserialize.deserializeRegexComparison(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testRegexComparisonVerificationFail + + @Test + public void testMatchClauseOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "matchClause"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final MatchClause instance = Xmlization.Deserialize.deserializeMatchClause(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testMatchClauseOk + + @Test + public void testMatchClauseDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("matchClause"); + + if (!Files.exists(clsDir)) { + // No examples of MatchClause for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeMatchClause(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testMatchClauseDeserializationFail + + @Test + public void testMatchClauseVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("matchClause"); + + if (!Files.exists(clsDir)) { + // No examples of MatchClause for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final MatchClause instance = Xmlization.Deserialize.deserializeMatchClause(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testMatchClauseVerificationFail + + @Test + public void testAndExpressionOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "andExpression"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AndExpression instance = Xmlization.Deserialize.deserializeAndExpression(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testAndExpressionOk + + @Test + public void testAndExpressionDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("andExpression"); + + if (!Files.exists(clsDir)) { + // No examples of AndExpression for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeAndExpression(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAndExpressionDeserializationFail + + @Test + public void testAndExpressionVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("andExpression"); + + if (!Files.exists(clsDir)) { + // No examples of AndExpression for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AndExpression instance = Xmlization.Deserialize.deserializeAndExpression(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAndExpressionVerificationFail + + @Test + public void testOrExpressionOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "orExpression"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OrExpression instance = Xmlization.Deserialize.deserializeOrExpression(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testOrExpressionOk + + @Test + public void testOrExpressionDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("orExpression"); + + if (!Files.exists(clsDir)) { + // No examples of OrExpression for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeOrExpression(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOrExpressionDeserializationFail + + @Test + public void testOrExpressionVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("orExpression"); + + if (!Files.exists(clsDir)) { + // No examples of OrExpression for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OrExpression instance = Xmlization.Deserialize.deserializeOrExpression(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOrExpressionVerificationFail + + @Test + public void testNotExpressionOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "notExpression"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final NotExpression instance = Xmlization.Deserialize.deserializeNotExpression(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testNotExpressionOk + + @Test + public void testNotExpressionDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("notExpression"); + + if (!Files.exists(clsDir)) { + // No examples of NotExpression for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeNotExpression(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testNotExpressionDeserializationFail + + @Test + public void testNotExpressionVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("notExpression"); + + if (!Files.exists(clsDir)) { + // No examples of NotExpression for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final NotExpression instance = Xmlization.Deserialize.deserializeNotExpression(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testNotExpressionVerificationFail + + @Test + public void testQueryFilterOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "queryFilter"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final QueryFilter instance = Xmlization.Deserialize.deserializeQueryFilter(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testQueryFilterOk + + @Test + public void testQueryFilterDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("queryFilter"); + + if (!Files.exists(clsDir)) { + // No examples of QueryFilter for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeQueryFilter(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testQueryFilterDeserializationFail + + @Test + public void testQueryFilterVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("queryFilter"); + + if (!Files.exists(clsDir)) { + // No examples of QueryFilter for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final QueryFilter instance = Xmlization.Deserialize.deserializeQueryFilter(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testQueryFilterVerificationFail + + @Test + public void testQueryOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "query"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Query instance = Xmlization.Deserialize.deserializeQuery(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testQueryOk + + @Test + public void testQueryDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("query"); + + if (!Files.exists(clsDir)) { + // No examples of Query for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeQuery(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testQueryDeserializationFail + + @Test + public void testQueryVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("query"); + + if (!Files.exists(clsDir)) { + // No examples of Query for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Query instance = Xmlization.Deserialize.deserializeQuery(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testQueryVerificationFail + + @Test + public void testDuplicatePropertyFails() throws IOException, XMLStreamException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "extension", "minimal.xml"); + + final String text = new String(Files.readAllBytes(path), StandardCharsets.UTF_8); + + // We cut the element of the property out of the recorded example and put it + // in a second time, just before the closing tag of the instance. + final int start = text.indexOf(""); + + final String property; + if (start >= 0) { + final int end = text.indexOf("", start); + property = text.substring(start, end + 7); + } else { + // The element is written self-closing in the example, an empty list being + // the usual reason. We write that very element out ourselves. + property = ""; + } + + final int insertionIndex = text.lastIndexOf(""); + + if (insertionIndex < 0) { + throw new IllegalStateException( + "We expect the recorded example to contain the closing tag " + + "" + + ", but it does not: " + + path); + } + + final String brokenText = + text.substring(0, insertionIndex) + property + text.substring(insertionIndex); + + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(brokenText)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeExtension(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + if (exception == null) { + fail("Expected an exception when the property " + "name" + " is given twice, but got none"); + } + } // public void testDuplicatePropertyFails + + /** + * Read the first recorded example of LevelType with the content of the element {@code xmlName} + * replaced by {@code text}. + */ + private static LevelType readWith(String xmlName, String text) + throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "levelType"); + final List paths = Common.findPaths(searchPath, ".xml"); + + if (paths.isEmpty()) { + fail("Expected at least one recorded example of levelType, but got none"); + } + + final String original = new String(Files.readAllBytes(paths.get(0)), StandardCharsets.UTF_8); + + final int start = original.indexOf("<" + xmlName + ">") + xmlName.length() + 2; + final int end = original.indexOf(""); + + final String patched = original.substring(0, start) + text + original.substring(end); + + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(patched)); + + return Xmlization.Deserialize.deserializeLevelType(xmlReader); + } + + @Test + public void testMinReadFrom1() throws IOException, XMLStreamException { + final LevelType instance = readWith("min", "1"); + + assertEquals(true, instance.getMin()); + } // public void testMinReadFrom1 + + @Test + public void testMinReadFrom0() throws IOException, XMLStreamException { + final LevelType instance = readWith("min", "0"); + + assertEquals(false, instance.getMin()); + } // public void testMinReadFrom0 + + @Test + public void testMinReadFromTrue() throws IOException, XMLStreamException { + final LevelType instance = readWith("min", "true"); + + assertEquals(true, instance.getMin()); + } // public void testMinReadFromTrue + + @Test + public void testMinReadFromFalse() throws IOException, XMLStreamException { + final LevelType instance = readWith("min", "false"); + + assertEquals(false, instance.getMin()); + } // public void testMinReadFromFalse +} // class TestXmlizationOfConcreteClasses + +// package aas_core.aas3_2.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestXmlizationOfInterfaces.java b/src/test/java/TestXmlizationOfInterfaces.java new file mode 100644 index 00000000..1d21399e --- /dev/null +++ b/src/test/java/TestXmlizationOfInterfaces.java @@ -0,0 +1,6710 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.2-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_2.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +import aas_core.aas3_2.types.impl.*; +import aas_core.aas3_2.types.model.*; +import aas_core.aas3_2.xmlization.Xmlization; +import java.io.IOException; +import java.io.StringReader; +import java.io.StringWriter; +import javax.xml.stream.*; +import org.junit.jupiter.api.Test; + +public class TestXmlizationOfInterfaces { + @Test + public void testRoundTripIHasSemanticsFromRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromRelationshipElement + + @Test + public void testRoundTripIHasSemanticsFromAnnotatedRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIHasSemanticsFromAnnotatedRelationshipElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromAnnotatedRelationshipElementMetadata + + @Test + public void testRoundTripIHasSemanticsFromBasicEventElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalBasicEventElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromBasicEventElement + + @Test + public void testRoundTripIHasSemanticsFromBasicEventElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalBasicEventElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromBasicEventElementMetadata + + @Test + public void testRoundTripIHasSemanticsFromBlob() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalBlob(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromBlob + + @Test + public void testRoundTripIHasSemanticsFromBlobMetadata() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalBlobMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromBlobMetadata + + @Test + public void testRoundTripIHasSemanticsFromCapability() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalCapability(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromCapability + + @Test + public void testRoundTripIHasSemanticsFromCapabilityMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalCapabilityMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromCapabilityMetadata + + @Test + public void testRoundTripIHasSemanticsFromEntity() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalEntity(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromEntity + + @Test + public void testRoundTripIHasSemanticsFromEntityMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalEntityMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromEntityMetadata + + @Test + public void testRoundTripIHasSemanticsFromFile() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalFile(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromFile + + @Test + public void testRoundTripIHasSemanticsFromFileMetadata() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalFileMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromFileMetadata + + @Test + public void testRoundTripIHasSemanticsFromMultiLanguageProperty() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromMultiLanguageProperty + + @Test + public void testRoundTripIHasSemanticsFromMultiLanguagePropertyMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalMultiLanguagePropertyMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromMultiLanguagePropertyMetadata + + @Test + public void testRoundTripIHasSemanticsFromOperation() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalOperation(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromOperation + + @Test + public void testRoundTripIHasSemanticsFromOperationMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalOperationMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromOperationMetadata + + @Test + public void testRoundTripIHasSemanticsFromProperty() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromProperty + + @Test + public void testRoundTripIHasSemanticsFromPropertyMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalPropertyMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromPropertyMetadata + + @Test + public void testRoundTripIHasSemanticsFromRange() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalRange(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromRange + + @Test + public void testRoundTripIHasSemanticsFromRangeMetadata() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalRangeMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromRangeMetadata + + @Test + public void testRoundTripIHasSemanticsFromReferenceElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalReferenceElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromReferenceElement + + @Test + public void testRoundTripIHasSemanticsFromReferenceElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalReferenceElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromReferenceElementMetadata + + @Test + public void testRoundTripIHasSemanticsFromRelationshipElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalRelationshipElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromRelationshipElementMetadata + + @Test + public void testRoundTripIHasSemanticsFromSubmodel() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalSubmodel(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromSubmodel + + @Test + public void testRoundTripIHasSemanticsFromSubmodelElementCollection() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromSubmodelElementCollection + + @Test + public void testRoundTripIHasSemanticsFromSubmodelElementCollectionMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalSubmodelElementCollectionMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromSubmodelElementCollectionMetadata + + @Test + public void testRoundTripIHasSemanticsFromSubmodelElementList() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalSubmodelElementList(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromSubmodelElementList + + @Test + public void testRoundTripIHasSemanticsFromSubmodelElementListMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalSubmodelElementListMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromSubmodelElementListMetadata + + @Test + public void testRoundTripIHasSemanticsFromSubmodelMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalSubmodelMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromSubmodelMetadata + + @Test + public void testRoundTripIHasExtensionsFromRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromRelationshipElement + + @Test + public void testRoundTripIHasExtensionsFromAnnotatedRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIHasExtensionsFromAnnotatedRelationshipElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromAnnotatedRelationshipElementMetadata + + @Test + public void testRoundTripIHasExtensionsFromAssetAdministrationShell() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalAssetAdministrationShell(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromAssetAdministrationShell + + @Test + public void testRoundTripIHasExtensionsFromAssetAdministrationShellMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalAssetAdministrationShellMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromAssetAdministrationShellMetadata + + @Test + public void testRoundTripIHasExtensionsFromBasicEventElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalBasicEventElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromBasicEventElement + + @Test + public void testRoundTripIHasExtensionsFromBasicEventElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalBasicEventElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromBasicEventElementMetadata + + @Test + public void testRoundTripIHasExtensionsFromBlob() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalBlob(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromBlob + + @Test + public void testRoundTripIHasExtensionsFromBlobMetadata() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalBlobMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromBlobMetadata + + @Test + public void testRoundTripIHasExtensionsFromCapability() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalCapability(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromCapability + + @Test + public void testRoundTripIHasExtensionsFromCapabilityMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalCapabilityMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromCapabilityMetadata + + @Test + public void testRoundTripIHasExtensionsFromConceptDescription() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalConceptDescription(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromConceptDescription + + @Test + public void testRoundTripIHasExtensionsFromEntity() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalEntity(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromEntity + + @Test + public void testRoundTripIHasExtensionsFromEntityMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalEntityMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromEntityMetadata + + @Test + public void testRoundTripIHasExtensionsFromFile() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalFile(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromFile + + @Test + public void testRoundTripIHasExtensionsFromFileMetadata() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalFileMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromFileMetadata + + @Test + public void testRoundTripIHasExtensionsFromMultiLanguageProperty() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromMultiLanguageProperty + + @Test + public void testRoundTripIHasExtensionsFromMultiLanguagePropertyMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalMultiLanguagePropertyMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromMultiLanguagePropertyMetadata + + @Test + public void testRoundTripIHasExtensionsFromOperation() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalOperation(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromOperation + + @Test + public void testRoundTripIHasExtensionsFromOperationMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalOperationMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromOperationMetadata + + @Test + public void testRoundTripIHasExtensionsFromProperty() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromProperty + + @Test + public void testRoundTripIHasExtensionsFromPropertyMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalPropertyMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromPropertyMetadata + + @Test + public void testRoundTripIHasExtensionsFromRange() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalRange(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromRange + + @Test + public void testRoundTripIHasExtensionsFromRangeMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalRangeMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromRangeMetadata + + @Test + public void testRoundTripIHasExtensionsFromReferenceElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalReferenceElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromReferenceElement + + @Test + public void testRoundTripIHasExtensionsFromReferenceElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalReferenceElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromReferenceElementMetadata + + @Test + public void testRoundTripIHasExtensionsFromRelationshipElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalRelationshipElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromRelationshipElementMetadata + + @Test + public void testRoundTripIHasExtensionsFromSubmodel() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalSubmodel(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromSubmodel + + @Test + public void testRoundTripIHasExtensionsFromSubmodelElementCollection() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromSubmodelElementCollection + + @Test + public void testRoundTripIHasExtensionsFromSubmodelElementCollectionMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromSubmodelElementCollectionMetadata + + @Test + public void testRoundTripIHasExtensionsFromSubmodelElementList() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalSubmodelElementList(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromSubmodelElementList + + @Test + public void testRoundTripIHasExtensionsFromSubmodelElementListMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalSubmodelElementListMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromSubmodelElementListMetadata + + @Test + public void testRoundTripIHasExtensionsFromSubmodelMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalSubmodelMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromSubmodelMetadata + + @Test + public void testRoundTripIReferableFromRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromRelationshipElement + + @Test + public void testRoundTripIReferableFromAnnotatedRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIReferableFromAnnotatedRelationshipElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromAnnotatedRelationshipElementMetadata + + @Test + public void testRoundTripIReferableFromAssetAdministrationShell() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalAssetAdministrationShell(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromAssetAdministrationShell + + @Test + public void testRoundTripIReferableFromAssetAdministrationShellMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalAssetAdministrationShellMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromAssetAdministrationShellMetadata + + @Test + public void testRoundTripIReferableFromBasicEventElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalBasicEventElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromBasicEventElement + + @Test + public void testRoundTripIReferableFromBasicEventElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalBasicEventElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromBasicEventElementMetadata + + @Test + public void testRoundTripIReferableFromBlob() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalBlob(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromBlob + + @Test + public void testRoundTripIReferableFromBlobMetadata() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalBlobMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromBlobMetadata + + @Test + public void testRoundTripIReferableFromCapability() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalCapability(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromCapability + + @Test + public void testRoundTripIReferableFromCapabilityMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalCapabilityMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromCapabilityMetadata + + @Test + public void testRoundTripIReferableFromConceptDescription() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalConceptDescription(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromConceptDescription + + @Test + public void testRoundTripIReferableFromEntity() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalEntity(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromEntity + + @Test + public void testRoundTripIReferableFromEntityMetadata() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalEntityMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromEntityMetadata + + @Test + public void testRoundTripIReferableFromFile() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalFile(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromFile + + @Test + public void testRoundTripIReferableFromFileMetadata() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalFileMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromFileMetadata + + @Test + public void testRoundTripIReferableFromMultiLanguageProperty() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromMultiLanguageProperty + + @Test + public void testRoundTripIReferableFromMultiLanguagePropertyMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalMultiLanguagePropertyMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromMultiLanguagePropertyMetadata + + @Test + public void testRoundTripIReferableFromOperation() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalOperation(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromOperation + + @Test + public void testRoundTripIReferableFromOperationMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalOperationMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromOperationMetadata + + @Test + public void testRoundTripIReferableFromProperty() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromProperty + + @Test + public void testRoundTripIReferableFromPropertyMetadata() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalPropertyMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromPropertyMetadata + + @Test + public void testRoundTripIReferableFromRange() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalRange(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromRange + + @Test + public void testRoundTripIReferableFromRangeMetadata() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalRangeMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromRangeMetadata + + @Test + public void testRoundTripIReferableFromReferenceElement() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalReferenceElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromReferenceElement + + @Test + public void testRoundTripIReferableFromReferenceElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalReferenceElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromReferenceElementMetadata + + @Test + public void testRoundTripIReferableFromRelationshipElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalRelationshipElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromRelationshipElementMetadata + + @Test + public void testRoundTripIReferableFromSubmodel() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalSubmodel(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromSubmodel + + @Test + public void testRoundTripIReferableFromSubmodelElementCollection() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromSubmodelElementCollection + + @Test + public void testRoundTripIReferableFromSubmodelElementCollectionMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalSubmodelElementCollectionMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromSubmodelElementCollectionMetadata + + @Test + public void testRoundTripIReferableFromSubmodelElementList() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalSubmodelElementList(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromSubmodelElementList + + @Test + public void testRoundTripIReferableFromSubmodelElementListMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalSubmodelElementListMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromSubmodelElementListMetadata + + @Test + public void testRoundTripIReferableFromSubmodelMetadata() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalSubmodelMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromSubmodelMetadata + + @Test + public void testRoundTripIIdentifiableFromAssetAdministrationShell() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IIdentifiable instance = CommonJsonization.loadMaximalAssetAdministrationShell(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IIdentifiable anotherInstance = + Xmlization.Deserialize.deserializeIIdentifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIIdentifiableFromAssetAdministrationShell + + @Test + public void testRoundTripIIdentifiableFromAssetAdministrationShellMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IIdentifiable instance = CommonJsonization.loadMaximalAssetAdministrationShellMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IIdentifiable anotherInstance = + Xmlization.Deserialize.deserializeIIdentifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIIdentifiableFromAssetAdministrationShellMetadata + + @Test + public void testRoundTripIIdentifiableFromConceptDescription() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IIdentifiable instance = CommonJsonization.loadMaximalConceptDescription(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IIdentifiable anotherInstance = + Xmlization.Deserialize.deserializeIIdentifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIIdentifiableFromConceptDescription + + @Test + public void testRoundTripIIdentifiableFromSubmodel() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IIdentifiable instance = CommonJsonization.loadMaximalSubmodel(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IIdentifiable anotherInstance = + Xmlization.Deserialize.deserializeIIdentifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIIdentifiableFromSubmodel + + @Test + public void testRoundTripIIdentifiableFromSubmodelMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IIdentifiable instance = CommonJsonization.loadMaximalSubmodelMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IIdentifiable anotherInstance = + Xmlization.Deserialize.deserializeIIdentifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIIdentifiableFromSubmodelMetadata + + @Test + public void testRoundTripIHasKindFromSubmodel() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasKind instance = CommonJsonization.loadMaximalSubmodel(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasKind anotherInstance = Xmlization.Deserialize.deserializeIHasKind(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasKindFromSubmodel + + @Test + public void testRoundTripIHasKindFromSubmodelMetadata() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasKind instance = CommonJsonization.loadMaximalSubmodelMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasKind anotherInstance = Xmlization.Deserialize.deserializeIHasKind(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasKindFromSubmodelMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromRelationshipElement + + @Test + public void testRoundTripIHasDataSpecificationFromAnnotatedRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIHasDataSpecificationFromAnnotatedRelationshipElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromAnnotatedRelationshipElementMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromAssetAdministrationShell() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalAssetAdministrationShell(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromAssetAdministrationShell + + @Test + public void testRoundTripIHasDataSpecificationFromAssetAdministrationShellMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = + CommonJsonization.loadMaximalAssetAdministrationShellMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromAssetAdministrationShellMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromBasicEventElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalBasicEventElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromBasicEventElement + + @Test + public void testRoundTripIHasDataSpecificationFromBasicEventElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalBasicEventElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromBasicEventElementMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromBlob() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalBlob(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromBlob + + @Test + public void testRoundTripIHasDataSpecificationFromBlobMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalBlobMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromBlobMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromCapability() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalCapability(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromCapability + + @Test + public void testRoundTripIHasDataSpecificationFromCapabilityMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalCapabilityMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromCapabilityMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromConceptDescription() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalConceptDescription(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromConceptDescription + + @Test + public void testRoundTripIHasDataSpecificationFromEntity() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalEntity(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromEntity + + @Test + public void testRoundTripIHasDataSpecificationFromEntityMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalEntityMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromEntityMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromFile() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalFile(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromFile + + @Test + public void testRoundTripIHasDataSpecificationFromFileMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalFileMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromFileMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromMultiLanguageProperty() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromMultiLanguageProperty + + @Test + public void testRoundTripIHasDataSpecificationFromMultiLanguagePropertyMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = + CommonJsonization.loadMaximalMultiLanguagePropertyMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromMultiLanguagePropertyMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromOperation() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalOperation(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromOperation + + @Test + public void testRoundTripIHasDataSpecificationFromOperationMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalOperationMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromOperationMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromProperty() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromProperty + + @Test + public void testRoundTripIHasDataSpecificationFromPropertyMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalPropertyMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromPropertyMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromRange() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalRange(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromRange + + @Test + public void testRoundTripIHasDataSpecificationFromRangeMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalRangeMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromRangeMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromReferenceElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalReferenceElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromReferenceElement + + @Test + public void testRoundTripIHasDataSpecificationFromReferenceElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalReferenceElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromReferenceElementMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromRelationshipElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = + CommonJsonization.loadMaximalRelationshipElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromRelationshipElementMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromSubmodel() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalSubmodel(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromSubmodel + + @Test + public void testRoundTripIHasDataSpecificationFromSubmodelElementCollection() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromSubmodelElementCollection + + @Test + public void testRoundTripIHasDataSpecificationFromSubmodelElementCollectionMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromSubmodelElementCollectionMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromSubmodelElementList() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalSubmodelElementList(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromSubmodelElementList + + @Test + public void testRoundTripIHasDataSpecificationFromSubmodelElementListMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = + CommonJsonization.loadMaximalSubmodelElementListMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromSubmodelElementListMetadata + + @Test + public void testRoundTripIHasDataSpecificationFromSubmodelMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalSubmodelMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromSubmodelMetadata + + @Test + public void testRoundTripIQualifiableFromRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromRelationshipElement + + @Test + public void testRoundTripIQualifiableFromAnnotatedRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIQualifiableFromAnnotatedRelationshipElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromAnnotatedRelationshipElementMetadata + + @Test + public void testRoundTripIQualifiableFromBasicEventElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalBasicEventElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromBasicEventElement + + @Test + public void testRoundTripIQualifiableFromBasicEventElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalBasicEventElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromBasicEventElementMetadata + + @Test + public void testRoundTripIQualifiableFromBlob() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalBlob(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromBlob + + @Test + public void testRoundTripIQualifiableFromBlobMetadata() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalBlobMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromBlobMetadata + + @Test + public void testRoundTripIQualifiableFromCapability() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalCapability(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromCapability + + @Test + public void testRoundTripIQualifiableFromCapabilityMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalCapabilityMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromCapabilityMetadata + + @Test + public void testRoundTripIQualifiableFromEntity() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalEntity(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromEntity + + @Test + public void testRoundTripIQualifiableFromEntityMetadata() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalEntityMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromEntityMetadata + + @Test + public void testRoundTripIQualifiableFromFile() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalFile(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromFile + + @Test + public void testRoundTripIQualifiableFromFileMetadata() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalFileMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromFileMetadata + + @Test + public void testRoundTripIQualifiableFromMultiLanguageProperty() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromMultiLanguageProperty + + @Test + public void testRoundTripIQualifiableFromMultiLanguagePropertyMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalMultiLanguagePropertyMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromMultiLanguagePropertyMetadata + + @Test + public void testRoundTripIQualifiableFromOperation() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalOperation(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromOperation + + @Test + public void testRoundTripIQualifiableFromOperationMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalOperationMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromOperationMetadata + + @Test + public void testRoundTripIQualifiableFromProperty() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromProperty + + @Test + public void testRoundTripIQualifiableFromPropertyMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalPropertyMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromPropertyMetadata + + @Test + public void testRoundTripIQualifiableFromRange() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalRange(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromRange + + @Test + public void testRoundTripIQualifiableFromRangeMetadata() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalRangeMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromRangeMetadata + + @Test + public void testRoundTripIQualifiableFromReferenceElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalReferenceElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromReferenceElement + + @Test + public void testRoundTripIQualifiableFromReferenceElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalReferenceElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromReferenceElementMetadata + + @Test + public void testRoundTripIQualifiableFromRelationshipElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalRelationshipElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromRelationshipElementMetadata + + @Test + public void testRoundTripIQualifiableFromSubmodel() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalSubmodel(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromSubmodel + + @Test + public void testRoundTripIQualifiableFromSubmodelElementCollection() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromSubmodelElementCollection + + @Test + public void testRoundTripIQualifiableFromSubmodelElementCollectionMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalSubmodelElementCollectionMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromSubmodelElementCollectionMetadata + + @Test + public void testRoundTripIQualifiableFromSubmodelElementList() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalSubmodelElementList(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromSubmodelElementList + + @Test + public void testRoundTripIQualifiableFromSubmodelElementListMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalSubmodelElementListMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromSubmodelElementListMetadata + + @Test + public void testRoundTripIQualifiableFromSubmodelMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalSubmodelMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromSubmodelMetadata + + @Test + public void testRoundTripISubmodelElementFromRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromRelationshipElement + + @Test + public void testRoundTripISubmodelElementFromAnnotatedRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromAnnotatedRelationshipElement + + @Test + public void testRoundTripISubmodelElementFromBasicEventElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalBasicEventElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromBasicEventElement + + @Test + public void testRoundTripISubmodelElementFromBlob() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalBlob(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromBlob + + @Test + public void testRoundTripISubmodelElementFromCapability() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalCapability(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromCapability + + @Test + public void testRoundTripISubmodelElementFromEntity() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalEntity(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromEntity + + @Test + public void testRoundTripISubmodelElementFromFile() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalFile(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromFile + + @Test + public void testRoundTripISubmodelElementFromMultiLanguageProperty() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromMultiLanguageProperty + + @Test + public void testRoundTripISubmodelElementFromOperation() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalOperation(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromOperation + + @Test + public void testRoundTripISubmodelElementFromProperty() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromProperty + + @Test + public void testRoundTripISubmodelElementFromRange() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalRange(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromRange + + @Test + public void testRoundTripISubmodelElementFromReferenceElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalReferenceElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromReferenceElement + + @Test + public void testRoundTripISubmodelElementFromSubmodelElementCollection() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromSubmodelElementCollection + + @Test + public void testRoundTripISubmodelElementFromSubmodelElementList() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalSubmodelElementList(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromSubmodelElementList + + @Test + public void testRoundTripIRelationshipElementFromAnnotatedRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IRelationshipElement anotherInstance = + Xmlization.Deserialize.deserializeIRelationshipElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIRelationshipElementFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIRelationshipElementFromRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IRelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IRelationshipElement anotherInstance = + Xmlization.Deserialize.deserializeIRelationshipElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIRelationshipElementFromRelationshipElement + + @Test + public void testRoundTripIDataElementFromBlob() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IDataElement instance = CommonJsonization.loadMaximalBlob(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IDataElement anotherInstance = Xmlization.Deserialize.deserializeIDataElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIDataElementFromBlob + + @Test + public void testRoundTripIDataElementFromFile() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IDataElement instance = CommonJsonization.loadMaximalFile(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IDataElement anotherInstance = Xmlization.Deserialize.deserializeIDataElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIDataElementFromFile + + @Test + public void testRoundTripIDataElementFromMultiLanguageProperty() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IDataElement instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IDataElement anotherInstance = Xmlization.Deserialize.deserializeIDataElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIDataElementFromMultiLanguageProperty + + @Test + public void testRoundTripIDataElementFromProperty() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IDataElement instance = CommonJsonization.loadMaximalProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IDataElement anotherInstance = Xmlization.Deserialize.deserializeIDataElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIDataElementFromProperty + + @Test + public void testRoundTripIDataElementFromRange() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IDataElement instance = CommonJsonization.loadMaximalRange(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IDataElement anotherInstance = Xmlization.Deserialize.deserializeIDataElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIDataElementFromRange + + @Test + public void testRoundTripIDataElementFromReferenceElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IDataElement instance = CommonJsonization.loadMaximalReferenceElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IDataElement anotherInstance = Xmlization.Deserialize.deserializeIDataElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIDataElementFromReferenceElement + + @Test + public void testRoundTripIEventElementFromBasicEventElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IEventElement anotherInstance = + Xmlization.Deserialize.deserializeIEventElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIEventElementFromBasicEventElement + + @Test + public void testRoundTripIDataSpecificationContentFromDataSpecificationIec61360() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IDataSpecificationContent instance = + CommonJsonization.loadMaximalDataSpecificationIec61360(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IDataSpecificationContent anotherInstance = + Xmlization.Deserialize.deserializeIDataSpecificationContent(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIDataSpecificationContentFromDataSpecificationIec61360 + + @Test + public void testRoundTripIDataSpecificationContentFromDataSpecificationUom() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IDataSpecificationContent instance = CommonJsonization.loadMaximalDataSpecificationUom(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IDataSpecificationContent anotherInstance = + Xmlization.Deserialize.deserializeIDataSpecificationContent(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIDataSpecificationContentFromDataSpecificationUom + + @Test + public void testRoundTripISubmodelElementAttributesFromAnnotatedRelationshipElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementAttributes instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementAttributes anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementAttributes(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementAttributesFromAnnotatedRelationshipElementMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromBasicEventElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementAttributes instance = + CommonJsonization.loadMaximalBasicEventElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementAttributes anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementAttributes(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementAttributesFromBasicEventElementMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromBlobMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementAttributes instance = CommonJsonization.loadMaximalBlobMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementAttributes anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementAttributes(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementAttributesFromBlobMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromCapabilityMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementAttributes instance = CommonJsonization.loadMaximalCapabilityMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementAttributes anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementAttributes(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementAttributesFromCapabilityMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromEntityMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementAttributes instance = CommonJsonization.loadMaximalEntityMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementAttributes anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementAttributes(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementAttributesFromEntityMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromFileMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementAttributes instance = CommonJsonization.loadMaximalFileMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementAttributes anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementAttributes(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementAttributesFromFileMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromMultiLanguagePropertyMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementAttributes instance = + CommonJsonization.loadMaximalMultiLanguagePropertyMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementAttributes anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementAttributes(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementAttributesFromMultiLanguagePropertyMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromOperationMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementAttributes instance = CommonJsonization.loadMaximalOperationMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementAttributes anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementAttributes(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementAttributesFromOperationMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromPropertyMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementAttributes instance = CommonJsonization.loadMaximalPropertyMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementAttributes anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementAttributes(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementAttributesFromPropertyMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromRangeMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementAttributes instance = CommonJsonization.loadMaximalRangeMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementAttributes anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementAttributes(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementAttributesFromRangeMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromReferenceElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementAttributes instance = + CommonJsonization.loadMaximalReferenceElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementAttributes anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementAttributes(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementAttributesFromReferenceElementMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromRelationshipElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementAttributes instance = + CommonJsonization.loadMaximalRelationshipElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementAttributes anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementAttributes(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementAttributesFromRelationshipElementMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromSubmodelElementCollectionMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementAttributes instance = + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementAttributes anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementAttributes(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementAttributesFromSubmodelElementCollectionMetadata + + @Test + public void testRoundTripISubmodelElementAttributesFromSubmodelElementListMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementAttributes instance = + CommonJsonization.loadMaximalSubmodelElementListMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementAttributes anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementAttributes(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementAttributesFromSubmodelElementListMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromAnnotatedRelationshipElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementMetadata instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementMetadata anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementMetadata(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementMetadataFromAnnotatedRelationshipElementMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromBasicEventElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementMetadata instance = + CommonJsonization.loadMaximalBasicEventElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementMetadata anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementMetadata(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementMetadataFromBasicEventElementMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromBlobMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementMetadata instance = CommonJsonization.loadMaximalBlobMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementMetadata anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementMetadata(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementMetadataFromBlobMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromCapabilityMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementMetadata instance = CommonJsonization.loadMaximalCapabilityMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementMetadata anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementMetadata(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementMetadataFromCapabilityMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromEntityMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementMetadata instance = CommonJsonization.loadMaximalEntityMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementMetadata anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementMetadata(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementMetadataFromEntityMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromFileMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementMetadata instance = CommonJsonization.loadMaximalFileMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementMetadata anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementMetadata(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementMetadataFromFileMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromMultiLanguagePropertyMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementMetadata instance = + CommonJsonization.loadMaximalMultiLanguagePropertyMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementMetadata anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementMetadata(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementMetadataFromMultiLanguagePropertyMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromOperationMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementMetadata instance = CommonJsonization.loadMaximalOperationMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementMetadata anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementMetadata(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementMetadataFromOperationMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromPropertyMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementMetadata instance = CommonJsonization.loadMaximalPropertyMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementMetadata anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementMetadata(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementMetadataFromPropertyMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromRangeMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementMetadata instance = CommonJsonization.loadMaximalRangeMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementMetadata anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementMetadata(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementMetadataFromRangeMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromReferenceElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementMetadata instance = + CommonJsonization.loadMaximalReferenceElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementMetadata anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementMetadata(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementMetadataFromReferenceElementMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromRelationshipElementMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementMetadata instance = + CommonJsonization.loadMaximalRelationshipElementMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementMetadata anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementMetadata(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementMetadataFromRelationshipElementMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromSubmodelElementCollectionMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementMetadata instance = + CommonJsonization.loadMaximalSubmodelElementCollectionMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementMetadata anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementMetadata(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementMetadataFromSubmodelElementCollectionMetadata + + @Test + public void testRoundTripISubmodelElementMetadataFromSubmodelElementListMetadata() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElementMetadata instance = + CommonJsonization.loadMaximalSubmodelElementListMetadata(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElementMetadata anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElementMetadata(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementMetadataFromSubmodelElementListMetadata +} // class TestXmlizationOfInterfaces + +// package aas_core.aas3_2.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/test_data/Descend/AdministrativeInformation/maximal.json.trace b/test_data/Descend/AdministrativeInformation/maximal.json.trace new file mode 100644 index 00000000..03c15579 --- /dev/null +++ b/test_data/Descend/AdministrativeInformation/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/AndExpression/maximal.json.trace b/test_data/Descend/AndExpression/maximal.json.trace new file mode 100644 index 00000000..1a5e0eb0 --- /dev/null +++ b/test_data/Descend/AndExpression/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.ContainsComparisonaas_core.aas3_2.types.impl.FieldOperandaas_core.aas3_2.types.impl.FieldOperandaas_core.aas3_2.types.impl.NotEqualComparisonaas_core.aas3_2.types.impl.StringLiteralaas_core.aas3_2.types.impl.StringLiteral \ No newline at end of file diff --git a/test_data/Descend/AnnotatedRelationshipElement/maximal.json.trace b/test_data/Descend/AnnotatedRelationshipElement/maximal.json.trace new file mode 100644 index 00000000..d6be0ed2 --- /dev/null +++ b/test_data/Descend/AnnotatedRelationshipElement/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Blobaas_core.aas3_2.types.impl.File \ No newline at end of file diff --git a/test_data/Descend/AnnotatedRelationshipElementMetadata/maximal.json.trace b/test_data/Descend/AnnotatedRelationshipElementMetadata/maximal.json.trace new file mode 100644 index 00000000..7e854a8b --- /dev/null +++ b/test_data/Descend/AnnotatedRelationshipElementMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/AnnotatedRelationshipElementValue/maximal.json.trace b/test_data/Descend/AnnotatedRelationshipElementValue/maximal.json.trace new file mode 100644 index 00000000..2a0ca1c6 --- /dev/null +++ b/test_data/Descend/AnnotatedRelationshipElementValue/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/AssetAdministrationShell/maximal.json.trace b/test_data/Descend/AssetAdministrationShell/maximal.json.trace new file mode 100644 index 00000000..be97eae1 --- /dev/null +++ b/test_data/Descend/AssetAdministrationShell/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.AdministrativeInformationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.AssetInformationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/AssetAdministrationShellDescriptor/maximal.json.trace b/test_data/Descend/AssetAdministrationShellDescriptor/maximal.json.trace new file mode 100644 index 00000000..ef24fd20 --- /dev/null +++ b/test_data/Descend/AssetAdministrationShellDescriptor/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.AdministrativeInformationaas_core.aas3_2.types.impl.Endpointaas_core.aas3_2.types.impl.ProtocolInformationaas_core.aas3_2.types.impl.Endpointaas_core.aas3_2.types.impl.ProtocolInformationaas_core.aas3_2.types.impl.Endpointaas_core.aas3_2.types.impl.ProtocolInformationaas_core.aas3_2.types.impl.SpecificAssetIdaas_core.aas3_2.types.impl.SpecificAssetIdaas_core.aas3_2.types.impl.SpecificAssetIdaas_core.aas3_2.types.impl.SubmodelDescriptoraas_core.aas3_2.types.impl.Endpointaas_core.aas3_2.types.impl.ProtocolInformationaas_core.aas3_2.types.impl.Endpointaas_core.aas3_2.types.impl.ProtocolInformation \ No newline at end of file diff --git a/test_data/Descend/AssetAdministrationShellMetadata/maximal.json.trace b/test_data/Descend/AssetAdministrationShellMetadata/maximal.json.trace new file mode 100644 index 00000000..eab64eb0 --- /dev/null +++ b/test_data/Descend/AssetAdministrationShellMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.AdministrativeInformationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/AssetAdministrationShellRecentChange/maximal.json.trace b/test_data/Descend/AssetAdministrationShellRecentChange/maximal.json.trace new file mode 100644 index 00000000..bb52c992 --- /dev/null +++ b/test_data/Descend/AssetAdministrationShellRecentChange/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.SpecificAssetIdaas_core.aas3_2.types.impl.SpecificAssetIdaas_core.aas3_2.types.impl.SpecificAssetId \ No newline at end of file diff --git a/test_data/Descend/AssetInformation/maximal.json.trace b/test_data/Descend/AssetInformation/maximal.json.trace new file mode 100644 index 00000000..016881bb --- /dev/null +++ b/test_data/Descend/AssetInformation/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.SpecificAssetIdaas_core.aas3_2.types.impl.SpecificAssetIdaas_core.aas3_2.types.impl.SpecificAssetIdaas_core.aas3_2.types.impl.Resource \ No newline at end of file diff --git a/test_data/Descend/AssetLink/maximal.json.trace b/test_data/Descend/AssetLink/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/AttributeOperand/maximal.json.trace b/test_data/Descend/AttributeOperand/maximal.json.trace new file mode 100644 index 00000000..a86673a2 --- /dev/null +++ b/test_data/Descend/AttributeOperand/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.ClaimAttribute \ No newline at end of file diff --git a/test_data/Descend/BaseOperationResult/maximal.json.trace b/test_data/Descend/BaseOperationResult/maximal.json.trace new file mode 100644 index 00000000..df7383ca --- /dev/null +++ b/test_data/Descend/BaseOperationResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Messageaas_core.aas3_2.types.impl.Message \ No newline at end of file diff --git a/test_data/Descend/BasicEventElement/maximal.json.trace b/test_data/Descend/BasicEventElement/maximal.json.trace new file mode 100644 index 00000000..54c13bad --- /dev/null +++ b/test_data/Descend/BasicEventElement/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/BasicEventElementMetadata/maximal.json.trace b/test_data/Descend/BasicEventElementMetadata/maximal.json.trace new file mode 100644 index 00000000..3b6234c4 --- /dev/null +++ b/test_data/Descend/BasicEventElementMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/BasicEventElementValue/maximal.json.trace b/test_data/Descend/BasicEventElementValue/maximal.json.trace new file mode 100644 index 00000000..19451cfa --- /dev/null +++ b/test_data/Descend/BasicEventElementValue/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/Blob/maximal.json.trace b/test_data/Descend/Blob/maximal.json.trace new file mode 100644 index 00000000..7e854a8b --- /dev/null +++ b/test_data/Descend/Blob/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/BlobMetadata/maximal.json.trace b/test_data/Descend/BlobMetadata/maximal.json.trace new file mode 100644 index 00000000..7e854a8b --- /dev/null +++ b/test_data/Descend/BlobMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/BlobValue/maximal.json.trace b/test_data/Descend/BlobValue/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/BooleanCast/maximal.json.trace b/test_data/Descend/BooleanCast/maximal.json.trace new file mode 100644 index 00000000..d39507bd --- /dev/null +++ b/test_data/Descend/BooleanCast/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.StringLiteral \ No newline at end of file diff --git a/test_data/Descend/BooleanLiteral/maximal.json.trace b/test_data/Descend/BooleanLiteral/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/Capability/maximal.json.trace b/test_data/Descend/Capability/maximal.json.trace new file mode 100644 index 00000000..7e854a8b --- /dev/null +++ b/test_data/Descend/Capability/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/CapabilityMetadata/maximal.json.trace b/test_data/Descend/CapabilityMetadata/maximal.json.trace new file mode 100644 index 00000000..7e854a8b --- /dev/null +++ b/test_data/Descend/CapabilityMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/ClaimAttribute/maximal.json.trace b/test_data/Descend/ClaimAttribute/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/ConceptDescription/maximal.json.trace b/test_data/Descend/ConceptDescription/maximal.json.trace new file mode 100644 index 00000000..df747d6c --- /dev/null +++ b/test_data/Descend/ConceptDescription/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.AdministrativeInformationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringDefinitionTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringDefinitionTypeIec61360aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/ConceptDescriptionRecentChange/maximal.json.trace b/test_data/Descend/ConceptDescriptionRecentChange/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/ContainsComparison/maximal.json.trace b/test_data/Descend/ContainsComparison/maximal.json.trace new file mode 100644 index 00000000..bcc3b1f5 --- /dev/null +++ b/test_data/Descend/ContainsComparison/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.AttributeOperandaas_core.aas3_2.types.impl.ClaimAttributeaas_core.aas3_2.types.impl.FieldOperand \ No newline at end of file diff --git a/test_data/Descend/DataSpecificationIec61360/maximal.json.trace b/test_data/Descend/DataSpecificationIec61360/maximal.json.trace new file mode 100644 index 00000000..ee952fc7 --- /dev/null +++ b/test_data/Descend/DataSpecificationIec61360/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringShortNameTypeIec61360aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.LangStringDefinitionTypeIec61360aas_core.aas3_2.types.impl.LevelType \ No newline at end of file diff --git a/test_data/Descend/DataSpecificationUom/maximal.json.trace b/test_data/Descend/DataSpecificationUom/maximal.json.trace new file mode 100644 index 00000000..695a5a8f --- /dev/null +++ b/test_data/Descend/DataSpecificationUom/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.LangStringUomaas_core.aas3_2.types.impl.DefinitionTypeUomaas_core.aas3_2.types.impl.LangStringUomaas_core.aas3_2.types.impl.LangStringUomaas_core.aas3_2.types.impl.LangStringUom \ No newline at end of file diff --git a/test_data/Descend/DateTimeAttributeItem/maximal.json.trace b/test_data/Descend/DateTimeAttributeItem/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/DateTimeAttributeOperand/maximal.json.trace b/test_data/Descend/DateTimeAttributeOperand/maximal.json.trace new file mode 100644 index 00000000..799840b5 --- /dev/null +++ b/test_data/Descend/DateTimeAttributeOperand/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.DateTimeAttributeItem \ No newline at end of file diff --git a/test_data/Descend/DateTimeCast/maximal.json.trace b/test_data/Descend/DateTimeCast/maximal.json.trace new file mode 100644 index 00000000..d39507bd --- /dev/null +++ b/test_data/Descend/DateTimeCast/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.StringLiteral \ No newline at end of file diff --git a/test_data/Descend/DateTimeLiteral/maximal.json.trace b/test_data/Descend/DateTimeLiteral/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/DayOfMonth/maximal.json.trace b/test_data/Descend/DayOfMonth/maximal.json.trace new file mode 100644 index 00000000..fcd977cd --- /dev/null +++ b/test_data/Descend/DayOfMonth/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.DateTimeAttributeOperandaas_core.aas3_2.types.impl.DateTimeAttributeItem \ No newline at end of file diff --git a/test_data/Descend/DayOfWeek/maximal.json.trace b/test_data/Descend/DayOfWeek/maximal.json.trace new file mode 100644 index 00000000..add71184 --- /dev/null +++ b/test_data/Descend/DayOfWeek/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.DateTimeLiteral \ No newline at end of file diff --git a/test_data/Descend/DefinitionTypeUom/maximal.json.trace b/test_data/Descend/DefinitionTypeUom/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/EmbeddedDataSpecification/maximal.json.trace b/test_data/Descend/EmbeddedDataSpecification/maximal.json.trace new file mode 100644 index 00000000..26ba21c7 --- /dev/null +++ b/test_data/Descend/EmbeddedDataSpecification/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/Endpoint/maximal.json.trace b/test_data/Descend/Endpoint/maximal.json.trace new file mode 100644 index 00000000..e0e38a47 --- /dev/null +++ b/test_data/Descend/Endpoint/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.ProtocolInformation \ No newline at end of file diff --git a/test_data/Descend/EndsWithComparison/maximal.json.trace b/test_data/Descend/EndsWithComparison/maximal.json.trace new file mode 100644 index 00000000..aff0d86a --- /dev/null +++ b/test_data/Descend/EndsWithComparison/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.AttributeOperandaas_core.aas3_2.types.impl.ReferenceAttributeaas_core.aas3_2.types.impl.FieldOperand \ No newline at end of file diff --git a/test_data/Descend/Entity/maximal.json.trace b/test_data/Descend/Entity/maximal.json.trace new file mode 100644 index 00000000..1049c1b0 --- /dev/null +++ b/test_data/Descend/Entity/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.RelationshipElementaas_core.aas3_2.types.impl.SpecificAssetIdaas_core.aas3_2.types.impl.SpecificAssetIdaas_core.aas3_2.types.impl.SpecificAssetId \ No newline at end of file diff --git a/test_data/Descend/EntityMetadata/maximal.json.trace b/test_data/Descend/EntityMetadata/maximal.json.trace new file mode 100644 index 00000000..7e854a8b --- /dev/null +++ b/test_data/Descend/EntityMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/EntityValue/maximal.json.trace b/test_data/Descend/EntityValue/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/Environment/maximal.json.trace b/test_data/Descend/Environment/maximal.json.trace new file mode 100644 index 00000000..b54014d5 --- /dev/null +++ b/test_data/Descend/Environment/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.AssetAdministrationShellaas_core.aas3_2.types.impl.AssetInformationaas_core.aas3_2.types.impl.AssetAdministrationShellaas_core.aas3_2.types.impl.AssetInformationaas_core.aas3_2.types.impl.Submodelaas_core.aas3_2.types.impl.ConceptDescription \ No newline at end of file diff --git a/test_data/Descend/EqualComparison/maximal.json.trace b/test_data/Descend/EqualComparison/maximal.json.trace new file mode 100644 index 00000000..faebf960 --- /dev/null +++ b/test_data/Descend/EqualComparison/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.DateTimeLiteralaas_core.aas3_2.types.impl.DateTimeLiteral \ No newline at end of file diff --git a/test_data/Descend/EventPayload/maximal.json.trace b/test_data/Descend/EventPayload/maximal.json.trace new file mode 100644 index 00000000..128a632e --- /dev/null +++ b/test_data/Descend/EventPayload/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/Extension/maximal.json.trace b/test_data/Descend/Extension/maximal.json.trace new file mode 100644 index 00000000..818cab85 --- /dev/null +++ b/test_data/Descend/Extension/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/FieldOperand/maximal.json.trace b/test_data/Descend/FieldOperand/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/File/maximal.json.trace b/test_data/Descend/File/maximal.json.trace new file mode 100644 index 00000000..7e854a8b --- /dev/null +++ b/test_data/Descend/File/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/FileMetadata/maximal.json.trace b/test_data/Descend/FileMetadata/maximal.json.trace new file mode 100644 index 00000000..7e854a8b --- /dev/null +++ b/test_data/Descend/FileMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/FileValue/maximal.json.trace b/test_data/Descend/FileValue/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/GetAllAssetAdministrationShellsRecentChangesResult/maximal.json.trace b/test_data/Descend/GetAllAssetAdministrationShellsRecentChangesResult/maximal.json.trace new file mode 100644 index 00000000..cfda541a --- /dev/null +++ b/test_data/Descend/GetAllAssetAdministrationShellsRecentChangesResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.AssetAdministrationShellRecentChangeaas_core.aas3_2.types.impl.AssetAdministrationShellRecentChange \ No newline at end of file diff --git a/test_data/Descend/GetAllConceptDescriptionsRecentChangesResult/maximal.json.trace b/test_data/Descend/GetAllConceptDescriptionsRecentChangesResult/maximal.json.trace new file mode 100644 index 00000000..67489fc2 --- /dev/null +++ b/test_data/Descend/GetAllConceptDescriptionsRecentChangesResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.ConceptDescriptionRecentChangeaas_core.aas3_2.types.impl.ConceptDescriptionRecentChange \ No newline at end of file diff --git a/test_data/Descend/GetAllSubmodelsRecentChangesResult/maximal.json.trace b/test_data/Descend/GetAllSubmodelsRecentChangesResult/maximal.json.trace new file mode 100644 index 00000000..d7a8507e --- /dev/null +++ b/test_data/Descend/GetAllSubmodelsRecentChangesResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.SubmodelRecentChangeaas_core.aas3_2.types.impl.SubmodelRecentChange \ No newline at end of file diff --git a/test_data/Descend/GetAssetAdministrationShellDescriptorsResult/maximal.json.trace b/test_data/Descend/GetAssetAdministrationShellDescriptorsResult/maximal.json.trace new file mode 100644 index 00000000..2ef2aefd --- /dev/null +++ b/test_data/Descend/GetAssetAdministrationShellDescriptorsResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.AssetAdministrationShellDescriptoraas_core.aas3_2.types.impl.AssetAdministrationShellDescriptor \ No newline at end of file diff --git a/test_data/Descend/GetAssetAdministrationShellsMetadataResult/maximal.json.trace b/test_data/Descend/GetAssetAdministrationShellsMetadataResult/maximal.json.trace new file mode 100644 index 00000000..6af4f0fa --- /dev/null +++ b/test_data/Descend/GetAssetAdministrationShellsMetadataResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.AssetAdministrationShellMetadataaas_core.aas3_2.types.impl.AssetAdministrationShellMetadata \ No newline at end of file diff --git a/test_data/Descend/GetAssetAdministrationShellsResult/maximal.json.trace b/test_data/Descend/GetAssetAdministrationShellsResult/maximal.json.trace new file mode 100644 index 00000000..a7e3e9da --- /dev/null +++ b/test_data/Descend/GetAssetAdministrationShellsResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.AssetAdministrationShellaas_core.aas3_2.types.impl.AssetInformationaas_core.aas3_2.types.impl.AssetAdministrationShellaas_core.aas3_2.types.impl.AssetInformation \ No newline at end of file diff --git a/test_data/Descend/GetConceptDescriptionsResult/maximal.json.trace b/test_data/Descend/GetConceptDescriptionsResult/maximal.json.trace new file mode 100644 index 00000000..5983490e --- /dev/null +++ b/test_data/Descend/GetConceptDescriptionsResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.ConceptDescriptionaas_core.aas3_2.types.impl.ConceptDescription \ No newline at end of file diff --git a/test_data/Descend/GetPackageDescriptionsResult/maximal.json.trace b/test_data/Descend/GetPackageDescriptionsResult/maximal.json.trace new file mode 100644 index 00000000..1a754d1e --- /dev/null +++ b/test_data/Descend/GetPackageDescriptionsResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.PackageDescriptionaas_core.aas3_2.types.impl.PackageDescription \ No newline at end of file diff --git a/test_data/Descend/GetPathItemsResult/maximal.json.trace b/test_data/Descend/GetPathItemsResult/maximal.json.trace new file mode 100644 index 00000000..5d80fa7a --- /dev/null +++ b/test_data/Descend/GetPathItemsResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadata \ No newline at end of file diff --git a/test_data/Descend/GetReferencesResult/maximal.json.trace b/test_data/Descend/GetReferencesResult/maximal.json.trace new file mode 100644 index 00000000..2d8aa40f --- /dev/null +++ b/test_data/Descend/GetReferencesResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/GetSubmodelDescriptorsResult/maximal.json.trace b/test_data/Descend/GetSubmodelDescriptorsResult/maximal.json.trace new file mode 100644 index 00000000..a5132fce --- /dev/null +++ b/test_data/Descend/GetSubmodelDescriptorsResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.SubmodelDescriptoraas_core.aas3_2.types.impl.Endpointaas_core.aas3_2.types.impl.ProtocolInformationaas_core.aas3_2.types.impl.SubmodelDescriptoraas_core.aas3_2.types.impl.Endpointaas_core.aas3_2.types.impl.ProtocolInformationaas_core.aas3_2.types.impl.Endpointaas_core.aas3_2.types.impl.ProtocolInformation \ No newline at end of file diff --git a/test_data/Descend/GetSubmodelElementsMetadataResult/maximal.json.trace b/test_data/Descend/GetSubmodelElementsMetadataResult/maximal.json.trace new file mode 100644 index 00000000..bce0ba60 --- /dev/null +++ b/test_data/Descend/GetSubmodelElementsMetadataResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.EntityMetadataaas_core.aas3_2.types.impl.MultiLanguagePropertyMetadata \ No newline at end of file diff --git a/test_data/Descend/GetSubmodelElementsResult/maximal.json.trace b/test_data/Descend/GetSubmodelElementsResult/maximal.json.trace new file mode 100644 index 00000000..046ad5ad --- /dev/null +++ b/test_data/Descend/GetSubmodelElementsResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.Capabilityaas_core.aas3_2.types.impl.File \ No newline at end of file diff --git a/test_data/Descend/GetSubmodelElementsValueResult/maximal.json.trace b/test_data/Descend/GetSubmodelElementsValueResult/maximal.json.trace new file mode 100644 index 00000000..5d80fa7a --- /dev/null +++ b/test_data/Descend/GetSubmodelElementsValueResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadata \ No newline at end of file diff --git a/test_data/Descend/GetSubmodelsMetadataResult/maximal.json.trace b/test_data/Descend/GetSubmodelsMetadataResult/maximal.json.trace new file mode 100644 index 00000000..343b178c --- /dev/null +++ b/test_data/Descend/GetSubmodelsMetadataResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.SubmodelMetadataaas_core.aas3_2.types.impl.SubmodelMetadata \ No newline at end of file diff --git a/test_data/Descend/GetSubmodelsResult/maximal.json.trace b/test_data/Descend/GetSubmodelsResult/maximal.json.trace new file mode 100644 index 00000000..2c2c840a --- /dev/null +++ b/test_data/Descend/GetSubmodelsResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.Submodelaas_core.aas3_2.types.impl.Submodel \ No newline at end of file diff --git a/test_data/Descend/GetSubmodelsValueResult/maximal.json.trace b/test_data/Descend/GetSubmodelsValueResult/maximal.json.trace new file mode 100644 index 00000000..5d80fa7a --- /dev/null +++ b/test_data/Descend/GetSubmodelsValueResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadata \ No newline at end of file diff --git a/test_data/Descend/GlobalAttribute/maximal.json.trace b/test_data/Descend/GlobalAttribute/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/GreaterThanComparison/maximal.json.trace b/test_data/Descend/GreaterThanComparison/maximal.json.trace new file mode 100644 index 00000000..e21332b9 --- /dev/null +++ b/test_data/Descend/GreaterThanComparison/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.HexLiteralaas_core.aas3_2.types.impl.HexLiteral \ No newline at end of file diff --git a/test_data/Descend/GreaterThanOrEqualComparison/maximal.json.trace b/test_data/Descend/GreaterThanOrEqualComparison/maximal.json.trace new file mode 100644 index 00000000..e21332b9 --- /dev/null +++ b/test_data/Descend/GreaterThanOrEqualComparison/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.HexLiteralaas_core.aas3_2.types.impl.HexLiteral \ No newline at end of file diff --git a/test_data/Descend/HexCast/maximal.json.trace b/test_data/Descend/HexCast/maximal.json.trace new file mode 100644 index 00000000..7cafbf04 --- /dev/null +++ b/test_data/Descend/HexCast/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.FieldOperand \ No newline at end of file diff --git a/test_data/Descend/HexLiteral/maximal.json.trace b/test_data/Descend/HexLiteral/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/Key/maximal.json.trace b/test_data/Descend/Key/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/LangStringDefinitionTypeIec61360/maximal.json.trace b/test_data/Descend/LangStringDefinitionTypeIec61360/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/LangStringNameType/maximal.json.trace b/test_data/Descend/LangStringNameType/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/LangStringPreferredNameTypeIec61360/maximal.json.trace b/test_data/Descend/LangStringPreferredNameTypeIec61360/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/LangStringShortNameTypeIec61360/maximal.json.trace b/test_data/Descend/LangStringShortNameTypeIec61360/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/LangStringTextType/maximal.json.trace b/test_data/Descend/LangStringTextType/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/LangStringUom/maximal.json.trace b/test_data/Descend/LangStringUom/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/LessThanComparison/maximal.json.trace b/test_data/Descend/LessThanComparison/maximal.json.trace new file mode 100644 index 00000000..e21332b9 --- /dev/null +++ b/test_data/Descend/LessThanComparison/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.HexLiteralaas_core.aas3_2.types.impl.HexLiteral \ No newline at end of file diff --git a/test_data/Descend/LessThanOrEqualComparison/maximal.json.trace b/test_data/Descend/LessThanOrEqualComparison/maximal.json.trace new file mode 100644 index 00000000..e21332b9 --- /dev/null +++ b/test_data/Descend/LessThanOrEqualComparison/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.HexLiteralaas_core.aas3_2.types.impl.HexLiteral \ No newline at end of file diff --git a/test_data/Descend/LevelType/maximal.json.trace b/test_data/Descend/LevelType/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/MatchClause/maximal.json.trace b/test_data/Descend/MatchClause/maximal.json.trace new file mode 100644 index 00000000..48cac8e6 --- /dev/null +++ b/test_data/Descend/MatchClause/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.EqualComparisonaas_core.aas3_2.types.impl.StringLiteralaas_core.aas3_2.types.impl.StringLiteralaas_core.aas3_2.types.impl.RegexComparisonaas_core.aas3_2.types.impl.AttributeOperandaas_core.aas3_2.types.impl.ClaimAttributeaas_core.aas3_2.types.impl.StringLiteralaas_core.aas3_2.types.impl.GreaterThanComparisonaas_core.aas3_2.types.impl.StringLiteralaas_core.aas3_2.types.impl.StringLiteral \ No newline at end of file diff --git a/test_data/Descend/Message/maximal.json.trace b/test_data/Descend/Message/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/Month/maximal.json.trace b/test_data/Descend/Month/maximal.json.trace new file mode 100644 index 00000000..fcd977cd --- /dev/null +++ b/test_data/Descend/Month/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.DateTimeAttributeOperandaas_core.aas3_2.types.impl.DateTimeAttributeItem \ No newline at end of file diff --git a/test_data/Descend/MultiLanguageProperty/maximal.json.trace b/test_data/Descend/MultiLanguageProperty/maximal.json.trace new file mode 100644 index 00000000..7714b8ba --- /dev/null +++ b/test_data/Descend/MultiLanguageProperty/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/MultiLanguagePropertyMetadata/maximal.json.trace b/test_data/Descend/MultiLanguagePropertyMetadata/maximal.json.trace new file mode 100644 index 00000000..7e854a8b --- /dev/null +++ b/test_data/Descend/MultiLanguagePropertyMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/NotEqualComparison/maximal.json.trace b/test_data/Descend/NotEqualComparison/maximal.json.trace new file mode 100644 index 00000000..faebf960 --- /dev/null +++ b/test_data/Descend/NotEqualComparison/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.DateTimeLiteralaas_core.aas3_2.types.impl.DateTimeLiteral \ No newline at end of file diff --git a/test_data/Descend/NotExpression/maximal.json.trace b/test_data/Descend/NotExpression/maximal.json.trace new file mode 100644 index 00000000..30b0561d --- /dev/null +++ b/test_data/Descend/NotExpression/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.LessThanComparisonaas_core.aas3_2.types.impl.DateTimeLiteralaas_core.aas3_2.types.impl.DateTimeLiteral \ No newline at end of file diff --git a/test_data/Descend/NumberCast/maximal.json.trace b/test_data/Descend/NumberCast/maximal.json.trace new file mode 100644 index 00000000..fcbf06c4 --- /dev/null +++ b/test_data/Descend/NumberCast/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.TimeLiteral \ No newline at end of file diff --git a/test_data/Descend/NumberLiteral/maximal.json.trace b/test_data/Descend/NumberLiteral/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/Operation/maximal.json.trace b/test_data/Descend/Operation/maximal.json.trace new file mode 100644 index 00000000..99cc0f91 --- /dev/null +++ b/test_data/Descend/Operation/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.Entityaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.Operationaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.Operationaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.SubmodelElementListaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Propertyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.Capabilityaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.Capability \ No newline at end of file diff --git a/test_data/Descend/OperationHandle/maximal.json.trace b/test_data/Descend/OperationHandle/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/OperationMetadata/maximal.json.trace b/test_data/Descend/OperationMetadata/maximal.json.trace new file mode 100644 index 00000000..7e854a8b --- /dev/null +++ b/test_data/Descend/OperationMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/OperationRequest/maximal.json.trace b/test_data/Descend/OperationRequest/maximal.json.trace new file mode 100644 index 00000000..d50e1fbc --- /dev/null +++ b/test_data/Descend/OperationRequest/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.Rangeaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.Fileaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.Blobaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.SubmodelElementCollection \ No newline at end of file diff --git a/test_data/Descend/OperationRequestAsync/maximal.json.trace b/test_data/Descend/OperationRequestAsync/maximal.json.trace new file mode 100644 index 00000000..d50e1fbc --- /dev/null +++ b/test_data/Descend/OperationRequestAsync/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.Rangeaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.Fileaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.Blobaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.SubmodelElementCollection \ No newline at end of file diff --git a/test_data/Descend/OperationRequestAsyncValueOnly/maximal.json.trace b/test_data/Descend/OperationRequestAsyncValueOnly/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/OperationRequestValueOnly/maximal.json.trace b/test_data/Descend/OperationRequestValueOnly/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/OperationResult/maximal.json.trace b/test_data/Descend/OperationResult/maximal.json.trace new file mode 100644 index 00000000..394f0744 --- /dev/null +++ b/test_data/Descend/OperationResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Messageaas_core.aas3_2.types.impl.Messageaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.Rangeaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.Entityaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.Fileaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.SubmodelElementCollection \ No newline at end of file diff --git a/test_data/Descend/OperationResultValueOnly/maximal.json.trace b/test_data/Descend/OperationResultValueOnly/maximal.json.trace new file mode 100644 index 00000000..df7383ca --- /dev/null +++ b/test_data/Descend/OperationResultValueOnly/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Messageaas_core.aas3_2.types.impl.Message \ No newline at end of file diff --git a/test_data/Descend/OperationVariable/maximal.json.trace b/test_data/Descend/OperationVariable/maximal.json.trace new file mode 100644 index 00000000..5b428f6a --- /dev/null +++ b/test_data/Descend/OperationVariable/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.SubmodelElementList \ No newline at end of file diff --git a/test_data/Descend/OrExpression/maximal.json.trace b/test_data/Descend/OrExpression/maximal.json.trace new file mode 100644 index 00000000..3d8a679f --- /dev/null +++ b/test_data/Descend/OrExpression/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.LessThanOrEqualComparisonaas_core.aas3_2.types.impl.HexLiteralaas_core.aas3_2.types.impl.HexLiteralaas_core.aas3_2.types.impl.LessThanOrEqualComparisonaas_core.aas3_2.types.impl.HexLiteralaas_core.aas3_2.types.impl.HexLiteral \ No newline at end of file diff --git a/test_data/Descend/PackageDescription/maximal.json.trace b/test_data/Descend/PackageDescription/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/PagedResult/maximal.json.trace b/test_data/Descend/PagedResult/maximal.json.trace new file mode 100644 index 00000000..7d2fd8df --- /dev/null +++ b/test_data/Descend/PagedResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.AnnotatedRelationshipElementMetadataaas_core.aas3_2.types.impl.AnnotatedRelationshipElementaas_core.aas3_2.types.impl.PagingMetadata \ No newline at end of file diff --git a/test_data/Descend/PagingMetadata/maximal.json.trace b/test_data/Descend/PagingMetadata/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/Property/maximal.json.trace b/test_data/Descend/Property/maximal.json.trace new file mode 100644 index 00000000..3b6234c4 --- /dev/null +++ b/test_data/Descend/Property/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/PropertyMetadata/maximal.json.trace b/test_data/Descend/PropertyMetadata/maximal.json.trace new file mode 100644 index 00000000..7e854a8b --- /dev/null +++ b/test_data/Descend/PropertyMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/ProtocolInformation/maximal.json.trace b/test_data/Descend/ProtocolInformation/maximal.json.trace new file mode 100644 index 00000000..db49fa55 --- /dev/null +++ b/test_data/Descend/ProtocolInformation/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.SecurityAttributeObjectaas_core.aas3_2.types.impl.SecurityAttributeObjectaas_core.aas3_2.types.impl.SecurityAttributeObject \ No newline at end of file diff --git a/test_data/Descend/Qualifier/maximal.json.trace b/test_data/Descend/Qualifier/maximal.json.trace new file mode 100644 index 00000000..f27ff37b --- /dev/null +++ b/test_data/Descend/Qualifier/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/Query/maximal.json.trace b/test_data/Descend/Query/maximal.json.trace new file mode 100644 index 00000000..186e1961 --- /dev/null +++ b/test_data/Descend/Query/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.GreaterThanOrEqualComparisonaas_core.aas3_2.types.impl.HexLiteralaas_core.aas3_2.types.impl.HexLiteralaas_core.aas3_2.types.impl.QueryFilteraas_core.aas3_2.types.impl.RegexComparisonaas_core.aas3_2.types.impl.AttributeOperandaas_core.aas3_2.types.impl.GlobalAttributeaas_core.aas3_2.types.impl.AttributeOperandaas_core.aas3_2.types.impl.ClaimAttributeaas_core.aas3_2.types.impl.QueryFilteraas_core.aas3_2.types.impl.RegexComparisonaas_core.aas3_2.types.impl.StringLiteralaas_core.aas3_2.types.impl.StringLiteralaas_core.aas3_2.types.impl.QueryFilteraas_core.aas3_2.types.impl.GreaterThanComparisonaas_core.aas3_2.types.impl.HexLiteralaas_core.aas3_2.types.impl.HexLiteral \ No newline at end of file diff --git a/test_data/Descend/QueryFilter/maximal.json.trace b/test_data/Descend/QueryFilter/maximal.json.trace new file mode 100644 index 00000000..eedeff1c --- /dev/null +++ b/test_data/Descend/QueryFilter/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.GreaterThanOrEqualComparisonaas_core.aas3_2.types.impl.HexLiteralaas_core.aas3_2.types.impl.HexLiteral \ No newline at end of file diff --git a/test_data/Descend/Range/maximal.json.trace b/test_data/Descend/Range/maximal.json.trace new file mode 100644 index 00000000..7e854a8b --- /dev/null +++ b/test_data/Descend/Range/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/RangeMetadata/maximal.json.trace b/test_data/Descend/RangeMetadata/maximal.json.trace new file mode 100644 index 00000000..7e854a8b --- /dev/null +++ b/test_data/Descend/RangeMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/RangeValue/maximal.json.trace b/test_data/Descend/RangeValue/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/Reference/maximal.json.trace b/test_data/Descend/Reference/maximal.json.trace new file mode 100644 index 00000000..8f61178e --- /dev/null +++ b/test_data/Descend/Reference/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/ReferenceAttribute/maximal.json.trace b/test_data/Descend/ReferenceAttribute/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/ReferenceElement/maximal.json.trace b/test_data/Descend/ReferenceElement/maximal.json.trace new file mode 100644 index 00000000..3b6234c4 --- /dev/null +++ b/test_data/Descend/ReferenceElement/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/ReferenceElementMetadata/maximal.json.trace b/test_data/Descend/ReferenceElementMetadata/maximal.json.trace new file mode 100644 index 00000000..7e854a8b --- /dev/null +++ b/test_data/Descend/ReferenceElementMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/ReferenceElementValue/maximal.json.trace b/test_data/Descend/ReferenceElementValue/maximal.json.trace new file mode 100644 index 00000000..fddc0fbb --- /dev/null +++ b/test_data/Descend/ReferenceElementValue/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/RegexComparison/maximal.json.trace b/test_data/Descend/RegexComparison/maximal.json.trace new file mode 100644 index 00000000..5eaeb58f --- /dev/null +++ b/test_data/Descend/RegexComparison/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.StringLiteralaas_core.aas3_2.types.impl.AttributeOperandaas_core.aas3_2.types.impl.ClaimAttribute \ No newline at end of file diff --git a/test_data/Descend/RelationshipElement/maximal.json.trace b/test_data/Descend/RelationshipElement/maximal.json.trace new file mode 100644 index 00000000..b7209cb0 --- /dev/null +++ b/test_data/Descend/RelationshipElement/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/RelationshipElementMetadata/maximal.json.trace b/test_data/Descend/RelationshipElementMetadata/maximal.json.trace new file mode 100644 index 00000000..7e854a8b --- /dev/null +++ b/test_data/Descend/RelationshipElementMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/RelationshipElementValue/maximal.json.trace b/test_data/Descend/RelationshipElementValue/maximal.json.trace new file mode 100644 index 00000000..2a0ca1c6 --- /dev/null +++ b/test_data/Descend/RelationshipElementValue/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/Resource/maximal.json.trace b/test_data/Descend/Resource/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/Result/maximal.json.trace b/test_data/Descend/Result/maximal.json.trace new file mode 100644 index 00000000..df7383ca --- /dev/null +++ b/test_data/Descend/Result/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Messageaas_core.aas3_2.types.impl.Message \ No newline at end of file diff --git a/test_data/Descend/SecurityAttributeObject/maximal.json.trace b/test_data/Descend/SecurityAttributeObject/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/ServiceDescription/maximal.json.trace b/test_data/Descend/ServiceDescription/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/SpecificAssetId/maximal.json.trace b/test_data/Descend/SpecificAssetId/maximal.json.trace new file mode 100644 index 00000000..f27ff37b --- /dev/null +++ b/test_data/Descend/SpecificAssetId/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/StartsWithComparison/maximal.json.trace b/test_data/Descend/StartsWithComparison/maximal.json.trace new file mode 100644 index 00000000..bcc3b1f5 --- /dev/null +++ b/test_data/Descend/StartsWithComparison/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.AttributeOperandaas_core.aas3_2.types.impl.ClaimAttributeaas_core.aas3_2.types.impl.FieldOperand \ No newline at end of file diff --git a/test_data/Descend/StringCast/maximal.json.trace b/test_data/Descend/StringCast/maximal.json.trace new file mode 100644 index 00000000..2512f629 --- /dev/null +++ b/test_data/Descend/StringCast/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.AttributeOperandaas_core.aas3_2.types.impl.GlobalAttribute \ No newline at end of file diff --git a/test_data/Descend/StringLiteral/maximal.json.trace b/test_data/Descend/StringLiteral/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/Submodel/maximal.json.trace b/test_data/Descend/Submodel/maximal.json.trace new file mode 100644 index 00000000..4c8dcaa1 --- /dev/null +++ b/test_data/Descend/Submodel/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.AdministrativeInformationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.Propertyaas_core.aas3_2.types.impl.AnnotatedRelationshipElement \ No newline at end of file diff --git a/test_data/Descend/SubmodelDescriptor/maximal.json.trace b/test_data/Descend/SubmodelDescriptor/maximal.json.trace new file mode 100644 index 00000000..b0001d52 --- /dev/null +++ b/test_data/Descend/SubmodelDescriptor/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Endpointaas_core.aas3_2.types.impl.ProtocolInformationaas_core.aas3_2.types.impl.Endpointaas_core.aas3_2.types.impl.ProtocolInformationaas_core.aas3_2.types.impl.Endpointaas_core.aas3_2.types.impl.ProtocolInformationaas_core.aas3_2.types.impl.AdministrativeInformationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/SubmodelElementCollection/maximal.json.trace b/test_data/Descend/SubmodelElementCollection/maximal.json.trace new file mode 100644 index 00000000..662040ad --- /dev/null +++ b/test_data/Descend/SubmodelElementCollection/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.Operationaas_core.aas3_2.types.impl.BasicEventElementaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/SubmodelElementCollectionMetadata/maximal.json.trace b/test_data/Descend/SubmodelElementCollectionMetadata/maximal.json.trace new file mode 100644 index 00000000..7e854a8b --- /dev/null +++ b/test_data/Descend/SubmodelElementCollectionMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/SubmodelElementList/maximal.json.trace b/test_data/Descend/SubmodelElementList/maximal.json.trace new file mode 100644 index 00000000..0e340407 --- /dev/null +++ b/test_data/Descend/SubmodelElementList/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Propertyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Propertyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/SubmodelElementListMetadata/maximal.json.trace b/test_data/Descend/SubmodelElementListMetadata/maximal.json.trace new file mode 100644 index 00000000..3b6234c4 --- /dev/null +++ b/test_data/Descend/SubmodelElementListMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/SubmodelMetadata/maximal.json.trace b/test_data/Descend/SubmodelMetadata/maximal.json.trace new file mode 100644 index 00000000..d9e69daf --- /dev/null +++ b/test_data/Descend/SubmodelMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.AdministrativeInformationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.DataSpecificationIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/SubmodelRecentChange/maximal.json.trace b/test_data/Descend/SubmodelRecentChange/maximal.json.trace new file mode 100644 index 00000000..eab90b07 --- /dev/null +++ b/test_data/Descend/SubmodelRecentChange/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/TimeCast/maximal.json.trace b/test_data/Descend/TimeCast/maximal.json.trace new file mode 100644 index 00000000..d39507bd --- /dev/null +++ b/test_data/Descend/TimeCast/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.StringLiteral \ No newline at end of file diff --git a/test_data/Descend/TimeLiteral/maximal.json.trace b/test_data/Descend/TimeLiteral/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/ValueList/maximal.json.trace b/test_data/Descend/ValueList/maximal.json.trace new file mode 100644 index 00000000..040c7ec5 --- /dev/null +++ b/test_data/Descend/ValueList/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.ValueReferencePair \ No newline at end of file diff --git a/test_data/Descend/ValueReferencePair/maximal.json.trace b/test_data/Descend/ValueReferencePair/maximal.json.trace new file mode 100644 index 00000000..19451cfa --- /dev/null +++ b/test_data/Descend/ValueReferencePair/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/Year/maximal.json.trace b/test_data/Descend/Year/maximal.json.trace new file mode 100644 index 00000000..add71184 --- /dev/null +++ b/test_data/Descend/Year/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.DateTimeLiteral \ No newline at end of file diff --git a/test_data/DescendOnce/AdministrativeInformation/maximal.json.trace b/test_data/DescendOnce/AdministrativeInformation/maximal.json.trace new file mode 100644 index 00000000..759a85a1 --- /dev/null +++ b/test_data/DescendOnce/AdministrativeInformation/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/AndExpression/maximal.json.trace b/test_data/DescendOnce/AndExpression/maximal.json.trace new file mode 100644 index 00000000..0600fabd --- /dev/null +++ b/test_data/DescendOnce/AndExpression/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.ContainsComparisonaas_core.aas3_2.types.impl.NotEqualComparison \ No newline at end of file diff --git a/test_data/DescendOnce/AnnotatedRelationshipElement/maximal.json.trace b/test_data/DescendOnce/AnnotatedRelationshipElement/maximal.json.trace new file mode 100644 index 00000000..3319ca15 --- /dev/null +++ b/test_data/DescendOnce/AnnotatedRelationshipElement/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Blobaas_core.aas3_2.types.impl.File \ No newline at end of file diff --git a/test_data/DescendOnce/AnnotatedRelationshipElementMetadata/maximal.json.trace b/test_data/DescendOnce/AnnotatedRelationshipElementMetadata/maximal.json.trace new file mode 100644 index 00000000..9e6d6c1b --- /dev/null +++ b/test_data/DescendOnce/AnnotatedRelationshipElementMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecification \ No newline at end of file diff --git a/test_data/DescendOnce/AnnotatedRelationshipElementValue/maximal.json.trace b/test_data/DescendOnce/AnnotatedRelationshipElementValue/maximal.json.trace new file mode 100644 index 00000000..32006cc4 --- /dev/null +++ b/test_data/DescendOnce/AnnotatedRelationshipElementValue/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/AssetAdministrationShell/maximal.json.trace b/test_data/DescendOnce/AssetAdministrationShell/maximal.json.trace new file mode 100644 index 00000000..d30249c4 --- /dev/null +++ b/test_data/DescendOnce/AssetAdministrationShell/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.AdministrativeInformationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.AssetInformationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/AssetAdministrationShellDescriptor/maximal.json.trace b/test_data/DescendOnce/AssetAdministrationShellDescriptor/maximal.json.trace new file mode 100644 index 00000000..203dd5e0 --- /dev/null +++ b/test_data/DescendOnce/AssetAdministrationShellDescriptor/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.AdministrativeInformationaas_core.aas3_2.types.impl.Endpointaas_core.aas3_2.types.impl.Endpointaas_core.aas3_2.types.impl.Endpointaas_core.aas3_2.types.impl.SpecificAssetIdaas_core.aas3_2.types.impl.SpecificAssetIdaas_core.aas3_2.types.impl.SpecificAssetIdaas_core.aas3_2.types.impl.SubmodelDescriptor \ No newline at end of file diff --git a/test_data/DescendOnce/AssetAdministrationShellMetadata/maximal.json.trace b/test_data/DescendOnce/AssetAdministrationShellMetadata/maximal.json.trace new file mode 100644 index 00000000..491608bd --- /dev/null +++ b/test_data/DescendOnce/AssetAdministrationShellMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.AdministrativeInformationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/AssetAdministrationShellRecentChange/maximal.json.trace b/test_data/DescendOnce/AssetAdministrationShellRecentChange/maximal.json.trace new file mode 100644 index 00000000..bb52c992 --- /dev/null +++ b/test_data/DescendOnce/AssetAdministrationShellRecentChange/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.SpecificAssetIdaas_core.aas3_2.types.impl.SpecificAssetIdaas_core.aas3_2.types.impl.SpecificAssetId \ No newline at end of file diff --git a/test_data/DescendOnce/AssetInformation/maximal.json.trace b/test_data/DescendOnce/AssetInformation/maximal.json.trace new file mode 100644 index 00000000..016881bb --- /dev/null +++ b/test_data/DescendOnce/AssetInformation/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.SpecificAssetIdaas_core.aas3_2.types.impl.SpecificAssetIdaas_core.aas3_2.types.impl.SpecificAssetIdaas_core.aas3_2.types.impl.Resource \ No newline at end of file diff --git a/test_data/DescendOnce/AssetLink/maximal.json.trace b/test_data/DescendOnce/AssetLink/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/AttributeOperand/maximal.json.trace b/test_data/DescendOnce/AttributeOperand/maximal.json.trace new file mode 100644 index 00000000..a86673a2 --- /dev/null +++ b/test_data/DescendOnce/AttributeOperand/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.ClaimAttribute \ No newline at end of file diff --git a/test_data/DescendOnce/BaseOperationResult/maximal.json.trace b/test_data/DescendOnce/BaseOperationResult/maximal.json.trace new file mode 100644 index 00000000..df7383ca --- /dev/null +++ b/test_data/DescendOnce/BaseOperationResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Messageaas_core.aas3_2.types.impl.Message \ No newline at end of file diff --git a/test_data/DescendOnce/BasicEventElement/maximal.json.trace b/test_data/DescendOnce/BasicEventElement/maximal.json.trace new file mode 100644 index 00000000..97f10773 --- /dev/null +++ b/test_data/DescendOnce/BasicEventElement/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/BasicEventElementMetadata/maximal.json.trace b/test_data/DescendOnce/BasicEventElementMetadata/maximal.json.trace new file mode 100644 index 00000000..1f514b68 --- /dev/null +++ b/test_data/DescendOnce/BasicEventElementMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/BasicEventElementValue/maximal.json.trace b/test_data/DescendOnce/BasicEventElementValue/maximal.json.trace new file mode 100644 index 00000000..4eb830b8 --- /dev/null +++ b/test_data/DescendOnce/BasicEventElementValue/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/Blob/maximal.json.trace b/test_data/DescendOnce/Blob/maximal.json.trace new file mode 100644 index 00000000..9e6d6c1b --- /dev/null +++ b/test_data/DescendOnce/Blob/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecification \ No newline at end of file diff --git a/test_data/DescendOnce/BlobMetadata/maximal.json.trace b/test_data/DescendOnce/BlobMetadata/maximal.json.trace new file mode 100644 index 00000000..9e6d6c1b --- /dev/null +++ b/test_data/DescendOnce/BlobMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecification \ No newline at end of file diff --git a/test_data/DescendOnce/BlobValue/maximal.json.trace b/test_data/DescendOnce/BlobValue/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/BooleanCast/maximal.json.trace b/test_data/DescendOnce/BooleanCast/maximal.json.trace new file mode 100644 index 00000000..d39507bd --- /dev/null +++ b/test_data/DescendOnce/BooleanCast/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.StringLiteral \ No newline at end of file diff --git a/test_data/DescendOnce/BooleanLiteral/maximal.json.trace b/test_data/DescendOnce/BooleanLiteral/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/Capability/maximal.json.trace b/test_data/DescendOnce/Capability/maximal.json.trace new file mode 100644 index 00000000..9e6d6c1b --- /dev/null +++ b/test_data/DescendOnce/Capability/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecification \ No newline at end of file diff --git a/test_data/DescendOnce/CapabilityMetadata/maximal.json.trace b/test_data/DescendOnce/CapabilityMetadata/maximal.json.trace new file mode 100644 index 00000000..9e6d6c1b --- /dev/null +++ b/test_data/DescendOnce/CapabilityMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecification \ No newline at end of file diff --git a/test_data/DescendOnce/ClaimAttribute/maximal.json.trace b/test_data/DescendOnce/ClaimAttribute/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/ConceptDescription/maximal.json.trace b/test_data/DescendOnce/ConceptDescription/maximal.json.trace new file mode 100644 index 00000000..491608bd --- /dev/null +++ b/test_data/DescendOnce/ConceptDescription/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.AdministrativeInformationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/ConceptDescriptionRecentChange/maximal.json.trace b/test_data/DescendOnce/ConceptDescriptionRecentChange/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/ContainsComparison/maximal.json.trace b/test_data/DescendOnce/ContainsComparison/maximal.json.trace new file mode 100644 index 00000000..7ea1671b --- /dev/null +++ b/test_data/DescendOnce/ContainsComparison/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.AttributeOperandaas_core.aas3_2.types.impl.FieldOperand \ No newline at end of file diff --git a/test_data/DescendOnce/DataSpecificationIec61360/maximal.json.trace b/test_data/DescendOnce/DataSpecificationIec61360/maximal.json.trace new file mode 100644 index 00000000..270fe654 --- /dev/null +++ b/test_data/DescendOnce/DataSpecificationIec61360/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_2.types.impl.LangStringShortNameTypeIec61360aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.LangStringDefinitionTypeIec61360aas_core.aas3_2.types.impl.LevelType \ No newline at end of file diff --git a/test_data/DescendOnce/DataSpecificationUom/maximal.json.trace b/test_data/DescendOnce/DataSpecificationUom/maximal.json.trace new file mode 100644 index 00000000..695a5a8f --- /dev/null +++ b/test_data/DescendOnce/DataSpecificationUom/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.LangStringUomaas_core.aas3_2.types.impl.DefinitionTypeUomaas_core.aas3_2.types.impl.LangStringUomaas_core.aas3_2.types.impl.LangStringUomaas_core.aas3_2.types.impl.LangStringUom \ No newline at end of file diff --git a/test_data/DescendOnce/DateTimeAttributeItem/maximal.json.trace b/test_data/DescendOnce/DateTimeAttributeItem/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/DateTimeAttributeOperand/maximal.json.trace b/test_data/DescendOnce/DateTimeAttributeOperand/maximal.json.trace new file mode 100644 index 00000000..799840b5 --- /dev/null +++ b/test_data/DescendOnce/DateTimeAttributeOperand/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.DateTimeAttributeItem \ No newline at end of file diff --git a/test_data/DescendOnce/DateTimeCast/maximal.json.trace b/test_data/DescendOnce/DateTimeCast/maximal.json.trace new file mode 100644 index 00000000..d39507bd --- /dev/null +++ b/test_data/DescendOnce/DateTimeCast/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.StringLiteral \ No newline at end of file diff --git a/test_data/DescendOnce/DateTimeLiteral/maximal.json.trace b/test_data/DescendOnce/DateTimeLiteral/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/DayOfMonth/maximal.json.trace b/test_data/DescendOnce/DayOfMonth/maximal.json.trace new file mode 100644 index 00000000..8e2ee6cb --- /dev/null +++ b/test_data/DescendOnce/DayOfMonth/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.DateTimeAttributeOperand \ No newline at end of file diff --git a/test_data/DescendOnce/DayOfWeek/maximal.json.trace b/test_data/DescendOnce/DayOfWeek/maximal.json.trace new file mode 100644 index 00000000..add71184 --- /dev/null +++ b/test_data/DescendOnce/DayOfWeek/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.DateTimeLiteral \ No newline at end of file diff --git a/test_data/DescendOnce/DefinitionTypeUom/maximal.json.trace b/test_data/DescendOnce/DefinitionTypeUom/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/EmbeddedDataSpecification/maximal.json.trace b/test_data/DescendOnce/EmbeddedDataSpecification/maximal.json.trace new file mode 100644 index 00000000..31ac6e15 --- /dev/null +++ b/test_data/DescendOnce/EmbeddedDataSpecification/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.DataSpecificationIec61360 \ No newline at end of file diff --git a/test_data/DescendOnce/Endpoint/maximal.json.trace b/test_data/DescendOnce/Endpoint/maximal.json.trace new file mode 100644 index 00000000..e0e38a47 --- /dev/null +++ b/test_data/DescendOnce/Endpoint/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.ProtocolInformation \ No newline at end of file diff --git a/test_data/DescendOnce/EndsWithComparison/maximal.json.trace b/test_data/DescendOnce/EndsWithComparison/maximal.json.trace new file mode 100644 index 00000000..7ea1671b --- /dev/null +++ b/test_data/DescendOnce/EndsWithComparison/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.AttributeOperandaas_core.aas3_2.types.impl.FieldOperand \ No newline at end of file diff --git a/test_data/DescendOnce/Entity/maximal.json.trace b/test_data/DescendOnce/Entity/maximal.json.trace new file mode 100644 index 00000000..eabbe472 --- /dev/null +++ b/test_data/DescendOnce/Entity/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.RelationshipElementaas_core.aas3_2.types.impl.SpecificAssetIdaas_core.aas3_2.types.impl.SpecificAssetIdaas_core.aas3_2.types.impl.SpecificAssetId \ No newline at end of file diff --git a/test_data/DescendOnce/EntityMetadata/maximal.json.trace b/test_data/DescendOnce/EntityMetadata/maximal.json.trace new file mode 100644 index 00000000..9e6d6c1b --- /dev/null +++ b/test_data/DescendOnce/EntityMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecification \ No newline at end of file diff --git a/test_data/DescendOnce/EntityValue/maximal.json.trace b/test_data/DescendOnce/EntityValue/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/Environment/maximal.json.trace b/test_data/DescendOnce/Environment/maximal.json.trace new file mode 100644 index 00000000..df3812ee --- /dev/null +++ b/test_data/DescendOnce/Environment/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.AssetAdministrationShellaas_core.aas3_2.types.impl.AssetAdministrationShellaas_core.aas3_2.types.impl.Submodelaas_core.aas3_2.types.impl.ConceptDescription \ No newline at end of file diff --git a/test_data/DescendOnce/EqualComparison/maximal.json.trace b/test_data/DescendOnce/EqualComparison/maximal.json.trace new file mode 100644 index 00000000..faebf960 --- /dev/null +++ b/test_data/DescendOnce/EqualComparison/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.DateTimeLiteralaas_core.aas3_2.types.impl.DateTimeLiteral \ No newline at end of file diff --git a/test_data/DescendOnce/EventPayload/maximal.json.trace b/test_data/DescendOnce/EventPayload/maximal.json.trace new file mode 100644 index 00000000..10e76cd4 --- /dev/null +++ b/test_data/DescendOnce/EventPayload/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/Extension/maximal.json.trace b/test_data/DescendOnce/Extension/maximal.json.trace new file mode 100644 index 00000000..76adaa97 --- /dev/null +++ b/test_data/DescendOnce/Extension/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/FieldOperand/maximal.json.trace b/test_data/DescendOnce/FieldOperand/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/File/maximal.json.trace b/test_data/DescendOnce/File/maximal.json.trace new file mode 100644 index 00000000..9e6d6c1b --- /dev/null +++ b/test_data/DescendOnce/File/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecification \ No newline at end of file diff --git a/test_data/DescendOnce/FileMetadata/maximal.json.trace b/test_data/DescendOnce/FileMetadata/maximal.json.trace new file mode 100644 index 00000000..9e6d6c1b --- /dev/null +++ b/test_data/DescendOnce/FileMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecification \ No newline at end of file diff --git a/test_data/DescendOnce/FileValue/maximal.json.trace b/test_data/DescendOnce/FileValue/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/GetAllAssetAdministrationShellsRecentChangesResult/maximal.json.trace b/test_data/DescendOnce/GetAllAssetAdministrationShellsRecentChangesResult/maximal.json.trace new file mode 100644 index 00000000..cfda541a --- /dev/null +++ b/test_data/DescendOnce/GetAllAssetAdministrationShellsRecentChangesResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.AssetAdministrationShellRecentChangeaas_core.aas3_2.types.impl.AssetAdministrationShellRecentChange \ No newline at end of file diff --git a/test_data/DescendOnce/GetAllConceptDescriptionsRecentChangesResult/maximal.json.trace b/test_data/DescendOnce/GetAllConceptDescriptionsRecentChangesResult/maximal.json.trace new file mode 100644 index 00000000..67489fc2 --- /dev/null +++ b/test_data/DescendOnce/GetAllConceptDescriptionsRecentChangesResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.ConceptDescriptionRecentChangeaas_core.aas3_2.types.impl.ConceptDescriptionRecentChange \ No newline at end of file diff --git a/test_data/DescendOnce/GetAllSubmodelsRecentChangesResult/maximal.json.trace b/test_data/DescendOnce/GetAllSubmodelsRecentChangesResult/maximal.json.trace new file mode 100644 index 00000000..d7a8507e --- /dev/null +++ b/test_data/DescendOnce/GetAllSubmodelsRecentChangesResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.SubmodelRecentChangeaas_core.aas3_2.types.impl.SubmodelRecentChange \ No newline at end of file diff --git a/test_data/DescendOnce/GetAssetAdministrationShellDescriptorsResult/maximal.json.trace b/test_data/DescendOnce/GetAssetAdministrationShellDescriptorsResult/maximal.json.trace new file mode 100644 index 00000000..2ef2aefd --- /dev/null +++ b/test_data/DescendOnce/GetAssetAdministrationShellDescriptorsResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.AssetAdministrationShellDescriptoraas_core.aas3_2.types.impl.AssetAdministrationShellDescriptor \ No newline at end of file diff --git a/test_data/DescendOnce/GetAssetAdministrationShellsMetadataResult/maximal.json.trace b/test_data/DescendOnce/GetAssetAdministrationShellsMetadataResult/maximal.json.trace new file mode 100644 index 00000000..6af4f0fa --- /dev/null +++ b/test_data/DescendOnce/GetAssetAdministrationShellsMetadataResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.AssetAdministrationShellMetadataaas_core.aas3_2.types.impl.AssetAdministrationShellMetadata \ No newline at end of file diff --git a/test_data/DescendOnce/GetAssetAdministrationShellsResult/maximal.json.trace b/test_data/DescendOnce/GetAssetAdministrationShellsResult/maximal.json.trace new file mode 100644 index 00000000..7f33745b --- /dev/null +++ b/test_data/DescendOnce/GetAssetAdministrationShellsResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.AssetAdministrationShellaas_core.aas3_2.types.impl.AssetAdministrationShell \ No newline at end of file diff --git a/test_data/DescendOnce/GetConceptDescriptionsResult/maximal.json.trace b/test_data/DescendOnce/GetConceptDescriptionsResult/maximal.json.trace new file mode 100644 index 00000000..5983490e --- /dev/null +++ b/test_data/DescendOnce/GetConceptDescriptionsResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.ConceptDescriptionaas_core.aas3_2.types.impl.ConceptDescription \ No newline at end of file diff --git a/test_data/DescendOnce/GetPackageDescriptionsResult/maximal.json.trace b/test_data/DescendOnce/GetPackageDescriptionsResult/maximal.json.trace new file mode 100644 index 00000000..1a754d1e --- /dev/null +++ b/test_data/DescendOnce/GetPackageDescriptionsResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.PackageDescriptionaas_core.aas3_2.types.impl.PackageDescription \ No newline at end of file diff --git a/test_data/DescendOnce/GetPathItemsResult/maximal.json.trace b/test_data/DescendOnce/GetPathItemsResult/maximal.json.trace new file mode 100644 index 00000000..5d80fa7a --- /dev/null +++ b/test_data/DescendOnce/GetPathItemsResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadata \ No newline at end of file diff --git a/test_data/DescendOnce/GetReferencesResult/maximal.json.trace b/test_data/DescendOnce/GetReferencesResult/maximal.json.trace new file mode 100644 index 00000000..74bbccb1 --- /dev/null +++ b/test_data/DescendOnce/GetReferencesResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/GetSubmodelDescriptorsResult/maximal.json.trace b/test_data/DescendOnce/GetSubmodelDescriptorsResult/maximal.json.trace new file mode 100644 index 00000000..a9a7ee63 --- /dev/null +++ b/test_data/DescendOnce/GetSubmodelDescriptorsResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.SubmodelDescriptoraas_core.aas3_2.types.impl.SubmodelDescriptor \ No newline at end of file diff --git a/test_data/DescendOnce/GetSubmodelElementsMetadataResult/maximal.json.trace b/test_data/DescendOnce/GetSubmodelElementsMetadataResult/maximal.json.trace new file mode 100644 index 00000000..bce0ba60 --- /dev/null +++ b/test_data/DescendOnce/GetSubmodelElementsMetadataResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.EntityMetadataaas_core.aas3_2.types.impl.MultiLanguagePropertyMetadata \ No newline at end of file diff --git a/test_data/DescendOnce/GetSubmodelElementsResult/maximal.json.trace b/test_data/DescendOnce/GetSubmodelElementsResult/maximal.json.trace new file mode 100644 index 00000000..046ad5ad --- /dev/null +++ b/test_data/DescendOnce/GetSubmodelElementsResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.Capabilityaas_core.aas3_2.types.impl.File \ No newline at end of file diff --git a/test_data/DescendOnce/GetSubmodelElementsValueResult/maximal.json.trace b/test_data/DescendOnce/GetSubmodelElementsValueResult/maximal.json.trace new file mode 100644 index 00000000..5d80fa7a --- /dev/null +++ b/test_data/DescendOnce/GetSubmodelElementsValueResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadata \ No newline at end of file diff --git a/test_data/DescendOnce/GetSubmodelsMetadataResult/maximal.json.trace b/test_data/DescendOnce/GetSubmodelsMetadataResult/maximal.json.trace new file mode 100644 index 00000000..343b178c --- /dev/null +++ b/test_data/DescendOnce/GetSubmodelsMetadataResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.SubmodelMetadataaas_core.aas3_2.types.impl.SubmodelMetadata \ No newline at end of file diff --git a/test_data/DescendOnce/GetSubmodelsResult/maximal.json.trace b/test_data/DescendOnce/GetSubmodelsResult/maximal.json.trace new file mode 100644 index 00000000..2c2c840a --- /dev/null +++ b/test_data/DescendOnce/GetSubmodelsResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadataaas_core.aas3_2.types.impl.Submodelaas_core.aas3_2.types.impl.Submodel \ No newline at end of file diff --git a/test_data/DescendOnce/GetSubmodelsValueResult/maximal.json.trace b/test_data/DescendOnce/GetSubmodelsValueResult/maximal.json.trace new file mode 100644 index 00000000..5d80fa7a --- /dev/null +++ b/test_data/DescendOnce/GetSubmodelsValueResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.PagingMetadata \ No newline at end of file diff --git a/test_data/DescendOnce/GlobalAttribute/maximal.json.trace b/test_data/DescendOnce/GlobalAttribute/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/GreaterThanComparison/maximal.json.trace b/test_data/DescendOnce/GreaterThanComparison/maximal.json.trace new file mode 100644 index 00000000..e21332b9 --- /dev/null +++ b/test_data/DescendOnce/GreaterThanComparison/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.HexLiteralaas_core.aas3_2.types.impl.HexLiteral \ No newline at end of file diff --git a/test_data/DescendOnce/GreaterThanOrEqualComparison/maximal.json.trace b/test_data/DescendOnce/GreaterThanOrEqualComparison/maximal.json.trace new file mode 100644 index 00000000..e21332b9 --- /dev/null +++ b/test_data/DescendOnce/GreaterThanOrEqualComparison/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.HexLiteralaas_core.aas3_2.types.impl.HexLiteral \ No newline at end of file diff --git a/test_data/DescendOnce/HexCast/maximal.json.trace b/test_data/DescendOnce/HexCast/maximal.json.trace new file mode 100644 index 00000000..7cafbf04 --- /dev/null +++ b/test_data/DescendOnce/HexCast/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.FieldOperand \ No newline at end of file diff --git a/test_data/DescendOnce/HexLiteral/maximal.json.trace b/test_data/DescendOnce/HexLiteral/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/Key/maximal.json.trace b/test_data/DescendOnce/Key/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/LangStringDefinitionTypeIec61360/maximal.json.trace b/test_data/DescendOnce/LangStringDefinitionTypeIec61360/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/LangStringNameType/maximal.json.trace b/test_data/DescendOnce/LangStringNameType/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/LangStringPreferredNameTypeIec61360/maximal.json.trace b/test_data/DescendOnce/LangStringPreferredNameTypeIec61360/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/LangStringShortNameTypeIec61360/maximal.json.trace b/test_data/DescendOnce/LangStringShortNameTypeIec61360/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/LangStringTextType/maximal.json.trace b/test_data/DescendOnce/LangStringTextType/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/LangStringUom/maximal.json.trace b/test_data/DescendOnce/LangStringUom/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/LessThanComparison/maximal.json.trace b/test_data/DescendOnce/LessThanComparison/maximal.json.trace new file mode 100644 index 00000000..e21332b9 --- /dev/null +++ b/test_data/DescendOnce/LessThanComparison/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.HexLiteralaas_core.aas3_2.types.impl.HexLiteral \ No newline at end of file diff --git a/test_data/DescendOnce/LessThanOrEqualComparison/maximal.json.trace b/test_data/DescendOnce/LessThanOrEqualComparison/maximal.json.trace new file mode 100644 index 00000000..e21332b9 --- /dev/null +++ b/test_data/DescendOnce/LessThanOrEqualComparison/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.HexLiteralaas_core.aas3_2.types.impl.HexLiteral \ No newline at end of file diff --git a/test_data/DescendOnce/LevelType/maximal.json.trace b/test_data/DescendOnce/LevelType/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/MatchClause/maximal.json.trace b/test_data/DescendOnce/MatchClause/maximal.json.trace new file mode 100644 index 00000000..e38b9353 --- /dev/null +++ b/test_data/DescendOnce/MatchClause/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.EqualComparisonaas_core.aas3_2.types.impl.RegexComparisonaas_core.aas3_2.types.impl.GreaterThanComparison \ No newline at end of file diff --git a/test_data/DescendOnce/Message/maximal.json.trace b/test_data/DescendOnce/Message/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/Month/maximal.json.trace b/test_data/DescendOnce/Month/maximal.json.trace new file mode 100644 index 00000000..8e2ee6cb --- /dev/null +++ b/test_data/DescendOnce/Month/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.DateTimeAttributeOperand \ No newline at end of file diff --git a/test_data/DescendOnce/MultiLanguageProperty/maximal.json.trace b/test_data/DescendOnce/MultiLanguageProperty/maximal.json.trace new file mode 100644 index 00000000..6170e189 --- /dev/null +++ b/test_data/DescendOnce/MultiLanguageProperty/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/MultiLanguagePropertyMetadata/maximal.json.trace b/test_data/DescendOnce/MultiLanguagePropertyMetadata/maximal.json.trace new file mode 100644 index 00000000..9e6d6c1b --- /dev/null +++ b/test_data/DescendOnce/MultiLanguagePropertyMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecification \ No newline at end of file diff --git a/test_data/DescendOnce/NotEqualComparison/maximal.json.trace b/test_data/DescendOnce/NotEqualComparison/maximal.json.trace new file mode 100644 index 00000000..faebf960 --- /dev/null +++ b/test_data/DescendOnce/NotEqualComparison/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.DateTimeLiteralaas_core.aas3_2.types.impl.DateTimeLiteral \ No newline at end of file diff --git a/test_data/DescendOnce/NotExpression/maximal.json.trace b/test_data/DescendOnce/NotExpression/maximal.json.trace new file mode 100644 index 00000000..d02ea1e5 --- /dev/null +++ b/test_data/DescendOnce/NotExpression/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.LessThanComparison \ No newline at end of file diff --git a/test_data/DescendOnce/NumberCast/maximal.json.trace b/test_data/DescendOnce/NumberCast/maximal.json.trace new file mode 100644 index 00000000..fcbf06c4 --- /dev/null +++ b/test_data/DescendOnce/NumberCast/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.TimeLiteral \ No newline at end of file diff --git a/test_data/DescendOnce/NumberLiteral/maximal.json.trace b/test_data/DescendOnce/NumberLiteral/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/Operation/maximal.json.trace b/test_data/DescendOnce/Operation/maximal.json.trace new file mode 100644 index 00000000..8c7dfadc --- /dev/null +++ b/test_data/DescendOnce/Operation/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.OperationVariable \ No newline at end of file diff --git a/test_data/DescendOnce/OperationHandle/maximal.json.trace b/test_data/DescendOnce/OperationHandle/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/OperationMetadata/maximal.json.trace b/test_data/DescendOnce/OperationMetadata/maximal.json.trace new file mode 100644 index 00000000..9e6d6c1b --- /dev/null +++ b/test_data/DescendOnce/OperationMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecification \ No newline at end of file diff --git a/test_data/DescendOnce/OperationRequest/maximal.json.trace b/test_data/DescendOnce/OperationRequest/maximal.json.trace new file mode 100644 index 00000000..fd4414d2 --- /dev/null +++ b/test_data/DescendOnce/OperationRequest/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.OperationVariable \ No newline at end of file diff --git a/test_data/DescendOnce/OperationRequestAsync/maximal.json.trace b/test_data/DescendOnce/OperationRequestAsync/maximal.json.trace new file mode 100644 index 00000000..fd4414d2 --- /dev/null +++ b/test_data/DescendOnce/OperationRequestAsync/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.OperationVariable \ No newline at end of file diff --git a/test_data/DescendOnce/OperationRequestAsyncValueOnly/maximal.json.trace b/test_data/DescendOnce/OperationRequestAsyncValueOnly/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/OperationRequestValueOnly/maximal.json.trace b/test_data/DescendOnce/OperationRequestValueOnly/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/OperationResult/maximal.json.trace b/test_data/DescendOnce/OperationResult/maximal.json.trace new file mode 100644 index 00000000..6119b1be --- /dev/null +++ b/test_data/DescendOnce/OperationResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Messageaas_core.aas3_2.types.impl.Messageaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.OperationVariableaas_core.aas3_2.types.impl.OperationVariable \ No newline at end of file diff --git a/test_data/DescendOnce/OperationResultValueOnly/maximal.json.trace b/test_data/DescendOnce/OperationResultValueOnly/maximal.json.trace new file mode 100644 index 00000000..df7383ca --- /dev/null +++ b/test_data/DescendOnce/OperationResultValueOnly/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Messageaas_core.aas3_2.types.impl.Message \ No newline at end of file diff --git a/test_data/DescendOnce/OperationVariable/maximal.json.trace b/test_data/DescendOnce/OperationVariable/maximal.json.trace new file mode 100644 index 00000000..5b428f6a --- /dev/null +++ b/test_data/DescendOnce/OperationVariable/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.SubmodelElementList \ No newline at end of file diff --git a/test_data/DescendOnce/OrExpression/maximal.json.trace b/test_data/DescendOnce/OrExpression/maximal.json.trace new file mode 100644 index 00000000..983ff198 --- /dev/null +++ b/test_data/DescendOnce/OrExpression/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.LessThanOrEqualComparisonaas_core.aas3_2.types.impl.LessThanOrEqualComparison \ No newline at end of file diff --git a/test_data/DescendOnce/PackageDescription/maximal.json.trace b/test_data/DescendOnce/PackageDescription/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/PagedResult/maximal.json.trace b/test_data/DescendOnce/PagedResult/maximal.json.trace new file mode 100644 index 00000000..7d2fd8df --- /dev/null +++ b/test_data/DescendOnce/PagedResult/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.AnnotatedRelationshipElementMetadataaas_core.aas3_2.types.impl.AnnotatedRelationshipElementaas_core.aas3_2.types.impl.PagingMetadata \ No newline at end of file diff --git a/test_data/DescendOnce/PagingMetadata/maximal.json.trace b/test_data/DescendOnce/PagingMetadata/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/Property/maximal.json.trace b/test_data/DescendOnce/Property/maximal.json.trace new file mode 100644 index 00000000..1f514b68 --- /dev/null +++ b/test_data/DescendOnce/Property/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/PropertyMetadata/maximal.json.trace b/test_data/DescendOnce/PropertyMetadata/maximal.json.trace new file mode 100644 index 00000000..9e6d6c1b --- /dev/null +++ b/test_data/DescendOnce/PropertyMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecification \ No newline at end of file diff --git a/test_data/DescendOnce/ProtocolInformation/maximal.json.trace b/test_data/DescendOnce/ProtocolInformation/maximal.json.trace new file mode 100644 index 00000000..db49fa55 --- /dev/null +++ b/test_data/DescendOnce/ProtocolInformation/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.SecurityAttributeObjectaas_core.aas3_2.types.impl.SecurityAttributeObjectaas_core.aas3_2.types.impl.SecurityAttributeObject \ No newline at end of file diff --git a/test_data/DescendOnce/Qualifier/maximal.json.trace b/test_data/DescendOnce/Qualifier/maximal.json.trace new file mode 100644 index 00000000..10e76cd4 --- /dev/null +++ b/test_data/DescendOnce/Qualifier/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/Query/maximal.json.trace b/test_data/DescendOnce/Query/maximal.json.trace new file mode 100644 index 00000000..bc13f001 --- /dev/null +++ b/test_data/DescendOnce/Query/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.GreaterThanOrEqualComparisonaas_core.aas3_2.types.impl.QueryFilteraas_core.aas3_2.types.impl.QueryFilteraas_core.aas3_2.types.impl.QueryFilter \ No newline at end of file diff --git a/test_data/DescendOnce/QueryFilter/maximal.json.trace b/test_data/DescendOnce/QueryFilter/maximal.json.trace new file mode 100644 index 00000000..9d4d6a3d --- /dev/null +++ b/test_data/DescendOnce/QueryFilter/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.GreaterThanOrEqualComparison \ No newline at end of file diff --git a/test_data/DescendOnce/Range/maximal.json.trace b/test_data/DescendOnce/Range/maximal.json.trace new file mode 100644 index 00000000..9e6d6c1b --- /dev/null +++ b/test_data/DescendOnce/Range/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecification \ No newline at end of file diff --git a/test_data/DescendOnce/RangeMetadata/maximal.json.trace b/test_data/DescendOnce/RangeMetadata/maximal.json.trace new file mode 100644 index 00000000..9e6d6c1b --- /dev/null +++ b/test_data/DescendOnce/RangeMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecification \ No newline at end of file diff --git a/test_data/DescendOnce/RangeValue/maximal.json.trace b/test_data/DescendOnce/RangeValue/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/Reference/maximal.json.trace b/test_data/DescendOnce/Reference/maximal.json.trace new file mode 100644 index 00000000..19451cfa --- /dev/null +++ b/test_data/DescendOnce/Reference/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Key \ No newline at end of file diff --git a/test_data/DescendOnce/ReferenceAttribute/maximal.json.trace b/test_data/DescendOnce/ReferenceAttribute/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/ReferenceElement/maximal.json.trace b/test_data/DescendOnce/ReferenceElement/maximal.json.trace new file mode 100644 index 00000000..1f514b68 --- /dev/null +++ b/test_data/DescendOnce/ReferenceElement/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/ReferenceElementMetadata/maximal.json.trace b/test_data/DescendOnce/ReferenceElementMetadata/maximal.json.trace new file mode 100644 index 00000000..9e6d6c1b --- /dev/null +++ b/test_data/DescendOnce/ReferenceElementMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecification \ No newline at end of file diff --git a/test_data/DescendOnce/ReferenceElementValue/maximal.json.trace b/test_data/DescendOnce/ReferenceElementValue/maximal.json.trace new file mode 100644 index 00000000..455a2477 --- /dev/null +++ b/test_data/DescendOnce/ReferenceElementValue/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Keyaas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/RegexComparison/maximal.json.trace b/test_data/DescendOnce/RegexComparison/maximal.json.trace new file mode 100644 index 00000000..a6431250 --- /dev/null +++ b/test_data/DescendOnce/RegexComparison/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.StringLiteralaas_core.aas3_2.types.impl.AttributeOperand \ No newline at end of file diff --git a/test_data/DescendOnce/RelationshipElement/maximal.json.trace b/test_data/DescendOnce/RelationshipElement/maximal.json.trace new file mode 100644 index 00000000..97f10773 --- /dev/null +++ b/test_data/DescendOnce/RelationshipElement/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/RelationshipElementMetadata/maximal.json.trace b/test_data/DescendOnce/RelationshipElementMetadata/maximal.json.trace new file mode 100644 index 00000000..9e6d6c1b --- /dev/null +++ b/test_data/DescendOnce/RelationshipElementMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecification \ No newline at end of file diff --git a/test_data/DescendOnce/RelationshipElementValue/maximal.json.trace b/test_data/DescendOnce/RelationshipElementValue/maximal.json.trace new file mode 100644 index 00000000..32006cc4 --- /dev/null +++ b/test_data/DescendOnce/RelationshipElementValue/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/Resource/maximal.json.trace b/test_data/DescendOnce/Resource/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/Result/maximal.json.trace b/test_data/DescendOnce/Result/maximal.json.trace new file mode 100644 index 00000000..df7383ca --- /dev/null +++ b/test_data/DescendOnce/Result/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Messageaas_core.aas3_2.types.impl.Message \ No newline at end of file diff --git a/test_data/DescendOnce/SecurityAttributeObject/maximal.json.trace b/test_data/DescendOnce/SecurityAttributeObject/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/ServiceDescription/maximal.json.trace b/test_data/DescendOnce/ServiceDescription/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/SpecificAssetId/maximal.json.trace b/test_data/DescendOnce/SpecificAssetId/maximal.json.trace new file mode 100644 index 00000000..10e76cd4 --- /dev/null +++ b/test_data/DescendOnce/SpecificAssetId/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/StartsWithComparison/maximal.json.trace b/test_data/DescendOnce/StartsWithComparison/maximal.json.trace new file mode 100644 index 00000000..7ea1671b --- /dev/null +++ b/test_data/DescendOnce/StartsWithComparison/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.AttributeOperandaas_core.aas3_2.types.impl.FieldOperand \ No newline at end of file diff --git a/test_data/DescendOnce/StringCast/maximal.json.trace b/test_data/DescendOnce/StringCast/maximal.json.trace new file mode 100644 index 00000000..764b6ea0 --- /dev/null +++ b/test_data/DescendOnce/StringCast/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.AttributeOperand \ No newline at end of file diff --git a/test_data/DescendOnce/StringLiteral/maximal.json.trace b/test_data/DescendOnce/StringLiteral/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/Submodel/maximal.json.trace b/test_data/DescendOnce/Submodel/maximal.json.trace new file mode 100644 index 00000000..625c5056 --- /dev/null +++ b/test_data/DescendOnce/Submodel/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.AdministrativeInformationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Propertyaas_core.aas3_2.types.impl.AnnotatedRelationshipElement \ No newline at end of file diff --git a/test_data/DescendOnce/SubmodelDescriptor/maximal.json.trace b/test_data/DescendOnce/SubmodelDescriptor/maximal.json.trace new file mode 100644 index 00000000..d8c2311a --- /dev/null +++ b/test_data/DescendOnce/SubmodelDescriptor/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Endpointaas_core.aas3_2.types.impl.Endpointaas_core.aas3_2.types.impl.Endpointaas_core.aas3_2.types.impl.AdministrativeInformationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/SubmodelElementCollection/maximal.json.trace b/test_data/DescendOnce/SubmodelElementCollection/maximal.json.trace new file mode 100644 index 00000000..c267cbf0 --- /dev/null +++ b/test_data/DescendOnce/SubmodelElementCollection/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Operationaas_core.aas3_2.types.impl.BasicEventElement \ No newline at end of file diff --git a/test_data/DescendOnce/SubmodelElementCollectionMetadata/maximal.json.trace b/test_data/DescendOnce/SubmodelElementCollectionMetadata/maximal.json.trace new file mode 100644 index 00000000..9e6d6c1b --- /dev/null +++ b/test_data/DescendOnce/SubmodelElementCollectionMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecification \ No newline at end of file diff --git a/test_data/DescendOnce/SubmodelElementList/maximal.json.trace b/test_data/DescendOnce/SubmodelElementList/maximal.json.trace new file mode 100644 index 00000000..b9f6176c --- /dev/null +++ b/test_data/DescendOnce/SubmodelElementList/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Propertyaas_core.aas3_2.types.impl.Property \ No newline at end of file diff --git a/test_data/DescendOnce/SubmodelElementListMetadata/maximal.json.trace b/test_data/DescendOnce/SubmodelElementListMetadata/maximal.json.trace new file mode 100644 index 00000000..1f514b68 --- /dev/null +++ b/test_data/DescendOnce/SubmodelElementListMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/SubmodelMetadata/maximal.json.trace b/test_data/DescendOnce/SubmodelMetadata/maximal.json.trace new file mode 100644 index 00000000..55c8c96f --- /dev/null +++ b/test_data/DescendOnce/SubmodelMetadata/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.Extensionaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringNameTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.LangStringTextTypeaas_core.aas3_2.types.impl.AdministrativeInformationaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.Qualifieraas_core.aas3_2.types.impl.EmbeddedDataSpecificationaas_core.aas3_2.types.impl.EmbeddedDataSpecification \ No newline at end of file diff --git a/test_data/DescendOnce/SubmodelRecentChange/maximal.json.trace b/test_data/DescendOnce/SubmodelRecentChange/maximal.json.trace new file mode 100644 index 00000000..c9c259a9 --- /dev/null +++ b/test_data/DescendOnce/SubmodelRecentChange/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Referenceaas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/TimeCast/maximal.json.trace b/test_data/DescendOnce/TimeCast/maximal.json.trace new file mode 100644 index 00000000..d39507bd --- /dev/null +++ b/test_data/DescendOnce/TimeCast/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.StringLiteral \ No newline at end of file diff --git a/test_data/DescendOnce/TimeLiteral/maximal.json.trace b/test_data/DescendOnce/TimeLiteral/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/ValueList/maximal.json.trace b/test_data/DescendOnce/ValueList/maximal.json.trace new file mode 100644 index 00000000..040c7ec5 --- /dev/null +++ b/test_data/DescendOnce/ValueList/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.ValueReferencePair \ No newline at end of file diff --git a/test_data/DescendOnce/ValueReferencePair/maximal.json.trace b/test_data/DescendOnce/ValueReferencePair/maximal.json.trace new file mode 100644 index 00000000..4eb830b8 --- /dev/null +++ b/test_data/DescendOnce/ValueReferencePair/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/Year/maximal.json.trace b/test_data/DescendOnce/Year/maximal.json.trace new file mode 100644 index 00000000..add71184 --- /dev/null +++ b/test_data/DescendOnce/Year/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_2.types.impl.DateTimeLiteral \ No newline at end of file diff --git a/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/fuzzed_01.json b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/fuzzed_01.json new file mode 100644 index 00000000..e6d37128 --- /dev/null +++ b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/fuzzed_01.json @@ -0,0 +1,3 @@ +{ + "createdAt": "0013-10-11T24:00:00.000000Z" +} diff --git a/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/fuzzed_02.json b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/fuzzed_02.json new file mode 100644 index 00000000..77b4a553 --- /dev/null +++ b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/fuzzed_02.json @@ -0,0 +1,3 @@ +{ + "createdAt": "0001-01-01T00:00:00Z" +} diff --git a/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/fuzzed_03.json b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/fuzzed_03.json new file mode 100644 index 00000000..509d8188 --- /dev/null +++ b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/fuzzed_03.json @@ -0,0 +1,3 @@ +{ + "createdAt": "-3020-08-21T24:00:00.0Z" +} diff --git a/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/midnight_with_24_hours.json b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/midnight_with_24_hours.json new file mode 100644 index 00000000..0e26c57a --- /dev/null +++ b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/midnight_with_24_hours.json @@ -0,0 +1,3 @@ +{ + "createdAt": "2022-04-01T24:00:00Z" +} diff --git a/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/midnight_with_zeros.json b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/midnight_with_zeros.json new file mode 100644 index 00000000..a421e255 --- /dev/null +++ b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/midnight_with_zeros.json @@ -0,0 +1,3 @@ +{ + "createdAt": "2022-04-01T00:00:00Z" +} diff --git a/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/minus_zero_offset.json b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/minus_zero_offset.json new file mode 100644 index 00000000..e1de5e3e --- /dev/null +++ b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/minus_zero_offset.json @@ -0,0 +1,3 @@ +{ + "createdAt": "2022-04-01T24:00:00-00:00" +} diff --git a/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/plus_zero_offset.json b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/plus_zero_offset.json new file mode 100644 index 00000000..8a55a06f --- /dev/null +++ b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/plus_zero_offset.json @@ -0,0 +1,3 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00" +} diff --git a/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/random_positive.json b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/random_positive.json new file mode 100644 index 00000000..bac2aeac --- /dev/null +++ b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/random_positive.json @@ -0,0 +1,3 @@ +{ + "createdAt": "2022-04-01T01:02:03Z" +} diff --git a/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/very_large_year.json b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/very_large_year.json new file mode 100644 index 00000000..a4687cd8 --- /dev/null +++ b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/very_large_year.json @@ -0,0 +1,3 @@ +{ + "createdAt": "123456789012345678901234567-04-01T00:00:00Z" +} diff --git a/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/very_long_fractional_second.json b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/very_long_fractional_second.json new file mode 100644 index 00000000..e3c62cbf --- /dev/null +++ b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/very_long_fractional_second.json @@ -0,0 +1,3 @@ +{ + "createdAt": "2022-04-01T00:00:00.1234567890123456789012345678901234567890Z" +} diff --git a/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/year_1_bce_is_a_leap_year.json b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/year_1_bce_is_a_leap_year.json new file mode 100644 index 00000000..ebb3523b --- /dev/null +++ b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/year_1_bce_is_a_leap_year.json @@ -0,0 +1,3 @@ +{ + "createdAt": "-0001-02-29T01:02:03Z" +} diff --git a/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/year_5_bce_is_a_leap_year.json b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/year_5_bce_is_a_leap_year.json new file mode 100644 index 00000000..8b0e4dcf --- /dev/null +++ b/test_data/Json/Expected/AdministrativeInformation/createdAtOverPatternExamples/year_5_bce_is_a_leap_year.json @@ -0,0 +1,3 @@ +{ + "createdAt": "-0005-02-29T01:02:03Z" +} diff --git a/test_data/Json/Expected/AdministrativeInformation/created_at_equal_to_updated_at.json b/test_data/Json/Expected/AdministrativeInformation/created_at_equal_to_updated_at.json new file mode 100644 index 00000000..7ef5f9b5 --- /dev/null +++ b/test_data/Json/Expected/AdministrativeInformation/created_at_equal_to_updated_at.json @@ -0,0 +1,85 @@ +{ + "embeddedDataSpecifications": [ + { + "dataSpecification": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:another-example:15:bafb75bf" + } + ] + }, + "dataSpecificationContent": { + "preferredName": [ + { + "language": "en-JM-x-4138dab8", + "text": "[\\h$\ud90b\ude9f\u00ec\u00d6\u010b\u008a1\u00bf" + } + ], + "symbol": "0", + "modelType": "DataSpecificationUom" + } + }, + { + "dataSpecification": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:something:06:8c675c7e" + } + ] + }, + "dataSpecificationContent": { + "preferredName": [ + { + "language": "en-JM-x-ed3d945d", + "text": "\ud842\udd224\ud842\udd22" + } + ], + "symbol": "\uda51\udc4cM\ud86a\udc07\ud82d\udd0a\ud9c8\udd32", + "modelType": "DataSpecificationUom" + } + }, + { + "dataSpecification": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:yet-another-company:00:6a4b9a64" + } + ] + }, + "dataSpecificationContent": { + "preferredName": [ + { + "language": "en-JM-x-03ed72b5", + "text": "J5" + }, + { + "language": "en-JM-x-f78bd480", + "text": "11\u00d5\u00d1\ud803\udee8\u00b4K\udbca\udf2de<\udb45\uddde\u00a8ngA" + } + ], + "symbol": "<\u0103 \u1984 form text" +} diff --git a/test_data/Json/Expected/Extension/valueOverValueExamples/String_fuzzed_01.json b/test_data/Json/Expected/Extension/valueOverValueExamples/String_fuzzed_01.json new file mode 100644 index 00000000..a2c1aeb0 --- /dev/null +++ b/test_data/Json/Expected/Extension/valueOverValueExamples/String_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "name": "\u00db\u0103 \u1984 form text", + "modelType": "Property" +} diff --git a/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_01.json b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_01.json new file mode 100644 index 00000000..29f536c1 --- /dev/null +++ b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "11\u00d5\u00d1\ud803\udee8\u00b4K\udbca\udf2de<\udb45\uddde\u00a8ngA", + "modelType": "Property" +} diff --git a/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_02.json b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_02.json new file mode 100644 index 00000000..86e826f9 --- /dev/null +++ b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "\ud842\udd224\ud842\udd22", + "modelType": "Property" +} diff --git a/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_03.json b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_03.json new file mode 100644 index 00000000..251fb2f5 --- /dev/null +++ b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "[\\h$\ud90b\ude9f\u00ec\u00d6\u010b\u008a1\u00bf", + "modelType": "Property" +} diff --git a/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_04.json b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_04.json new file mode 100644 index 00000000..c6ff7b67 --- /dev/null +++ b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "\u00f6\u0116a\udbf6\udce1\u0099|", + "modelType": "Property" +} diff --git a/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_05.json b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_05.json new file mode 100644 index 00000000..9128b95f --- /dev/null +++ b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "J5", + "modelType": "Property" +} diff --git a/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_06.json b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_06.json new file mode 100644 index 00000000..4eb39ba9 --- /dev/null +++ b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "\u00db\u0103 \u1984 form text" +} diff --git a/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_01.json b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_01.json new file mode 100644 index 00000000..4d5b6acb --- /dev/null +++ b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "11\u00d5\u00d1\ud803\udee8\u00b4K\udbca\udf2de<\udb45\uddde\u00a8ngA" +} diff --git a/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_02.json b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_02.json new file mode 100644 index 00000000..f0d9c336 --- /dev/null +++ b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_03.json b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_03.json new file mode 100644 index 00000000..b2a14e30 --- /dev/null +++ b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "[\\h$\ud90b\ude9f\u00ec\u00d6\u010b\u008a1\u00bf" +} diff --git a/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_04.json b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_04.json new file mode 100644 index 00000000..8f656b03 --- /dev/null +++ b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\u00f6\u0116a\udbf6\udce1\u0099|" +} diff --git a/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_05.json b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_05.json new file mode 100644 index 00000000..aae571e8 --- /dev/null +++ b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "J5" +} diff --git a/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_06.json b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_06.json new file mode 100644 index 00000000..83aed2ce --- /dev/null +++ b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\u00db\u0103 \u1984 form text", + "max": "some free & \u1984 form text", + "modelType": "Range" +} diff --git a/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_01.json b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_01.json new file mode 100644 index 00000000..32397e63 --- /dev/null +++ b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_01.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "11\u00d5\u00d1\ud803\udee8\u00b4K\udbca\udf2de<\udb45\uddde\u00a8ngA", + "max": "11\u00d5\u00d1\ud803\udee8\u00b4K\udbca\udf2de<\udb45\uddde\u00a8ngA", + "modelType": "Range" +} diff --git a/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_02.json b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_02.json new file mode 100644 index 00000000..d805fdfb --- /dev/null +++ b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_02.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "\ud842\udd224\ud842\udd22", + "max": "\ud842\udd224\ud842\udd22", + "modelType": "Range" +} diff --git a/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_03.json b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_03.json new file mode 100644 index 00000000..449363a7 --- /dev/null +++ b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_03.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "[\\h$\ud90b\ude9f\u00ec\u00d6\u010b\u008a1\u00bf", + "max": "[\\h$\ud90b\ude9f\u00ec\u00d6\u010b\u008a1\u00bf", + "modelType": "Range" +} diff --git a/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_04.json b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_04.json new file mode 100644 index 00000000..0c875885 --- /dev/null +++ b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_04.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "\u00f6\u0116a\udbf6\udce1\u0099|", + "max": "\u00f6\u0116a\udbf6\udce1\u0099|", + "modelType": "Range" +} diff --git a/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_05.json b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_05.json new file mode 100644 index 00000000..d261f4e2 --- /dev/null +++ b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_05.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "J5", + "max": "J5", + "modelType": "Range" +} diff --git a/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_06.json b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_06.json new file mode 100644 index 00000000..e99c7f4c --- /dev/null +++ b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_06.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "\u00db\u0103\u00d2\udb56\udf00L\u00cb)T\u0000\u00ce\u00e7\udaa9\uddcf\udbe1\udf7d\b\u00c0\u00ba\uda5a\udccf\u00ca\u00a08]\udbb2\ude08\u00181D\fY\ud942\udf23A\\\u00ac\u00ef\ud926\udce3\ud958\ude2cc", + "max": "\u0015>\u00d2\udb56\udf00L\u00cb)T\u0000\u00ce\u00e7\udaa9\uddcf\udbe1\udf7d\b\u00c0\u00ba\uda5a\udccf\u00ca\u00a08]\udbb2\ude08\u00181D\fY\ud942\udf23A\\\u00ac\u00ef\ud926\udce3\ud958\ude2cc", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..8e5649f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_05.json.errors @@ -0,0 +1,8 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type.; +min: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +max: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_06.json new file mode 100644 index 00000000..82c5ec67 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_06.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "\ud8a9\udf8b\udaa5\udd5f\u00d1\u001c\u00b0\u1f58\u00aaW\uda1d\udc42\u0000\udae8\udf3b", + "max": "\ud8a9\udf8b\udaa5\udd5f\u00d1\u001c\u00b0\u1f58\u00aaW\uda1d\udc42\u0000\udae8\udf3b", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..8e5649f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_06.json.errors @@ -0,0 +1,8 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type.; +min: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +max: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_07.json new file mode 100644 index 00000000..ab60efdc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_07.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "\ud937\udf63\u0000'\u001f \ud918\udeacxx\u00cf\u00d6\nwf", + "max": "\ud937\udf63\u0000'\u001f \ud918\udeacxx\u00cf\u00d6\nwf", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..8e5649f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_07.json.errors @@ -0,0 +1,8 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type.; +min: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +max: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_08.json new file mode 100644 index 00000000..e4038303 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_08.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "\udaeb\udd55\ucbbe\u0017\u00d2\u00918\u00a4M\ud898\udcd5\u00d4\u00c5\u0000\r\ud9af\udfa9Zs6\u0012\u00c0>\u0019\udbd6\udf43\u000e\u00a7\udaba\udddb", + "max": "\udaeb\udd55\ucbbe\u0017\u00d2\u00918\u00a4M\ud898\udcd5\u00d4\u00c5\u0000\r\ud9af\udfa9Zs6\u0012\u00c0>\u0019\udbd6\udf43\u000e\u00a7\udaba\udddb", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..8e5649f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_08.json.errors @@ -0,0 +1,8 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type.; +min: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +max: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_09.json new file mode 100644 index 00000000..236f47fd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_09.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "\uda69\udd2b\u0012U\u0091\u00f4\u0081\u00f4\u0016\udbef\udc24\udaf4\udc94\u0000", + "max": "\uda69\udd2b\u0012U\u0091\u00f4\u0081\u00f4\u0016\udbef\udc24\udaf4\udc94\u0000", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..8e5649f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_09.json.errors @@ -0,0 +1,8 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type.; +min: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +max: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_10.json new file mode 100644 index 00000000..4adb3926 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_10.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "\u00b4\u00b2\u0082\u0000\udbb2\udc9d\u00c0\u00e2\u00a8*\u00fb\ud876\udfa9\u00f2\u008f\u00a4\u0082\u00a1\u00c2\u00dd_\uc1fd\uda71\udde8E\u00d6\udae5\udf31\u00fd\u2f2a\u00e5\u00f9H\ud9b5\udccbP\u00b6\u0013\u00c4", + "max": "\u00b4\u00b2\u0082\u0000\udbb2\udc9d\u00c0\u00e2\u00a8*\u00fb\ud876\udfa9\u00f2\u008f\u00a4\u0082\u00a1\u00c2\u00dd_\uc1fd\uda71\udde8E\u00d6\udae5\udf31\u00fd\u2f2a\u00e5\u00f9H\ud9b5\udccbP\u00b6\u0013\u00c4", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..8e5649f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_10.json.errors @@ -0,0 +1,8 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type.; +min: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +max: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_empty.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_empty.json new file mode 100644 index 00000000..ed7d974c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_empty.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "", + "max": "", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_empty.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_empty.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_free_form_text.json new file mode 100644 index 00000000..bdbdfa83 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_free_form_text.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "some free form text", + "max": "some free form text", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_free_form_text.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_free_form_text.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_hour_out_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_hour_out_of_range.json new file mode 100644 index 00000000..2e96d34e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_hour_out_of_range.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "25:25:10", + "max": "25:25:10", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_hour_out_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_hour_out_of_range.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_hour_out_of_range.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_negative_offset.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_negative_offset.json new file mode 100644 index 00000000..0c938439 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_negative_offset.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "21:32:52-15:00", + "max": "21:32:52-15:00", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_negative_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_negative_offset.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_negative_offset.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_offset_with_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_offset_with_seconds.json new file mode 100644 index 00000000..d5b5d07c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_offset_with_seconds.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "21:32:52-02:00:12", + "max": "21:32:52-02:00:12", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_offset_with_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_offset_with_seconds.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_offset_with_seconds.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_positive_offset.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_positive_offset.json new file mode 100644 index 00000000..82bdcb07 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_positive_offset.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "21:32:52+15:00", + "max": "21:32:52+15:00", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_positive_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_positive_offset.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_positive_offset.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_minute_out_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_minute_out_of_range.json new file mode 100644 index 00000000..71fcfa84 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_minute_out_of_range.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "01:61:10", + "max": "01:61:10", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_minute_out_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_minute_out_of_range.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_minute_out_of_range.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_padded_zeros.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_padded_zeros.json new file mode 100644 index 00000000..24bcd085 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_padded_zeros.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "1:20:10", + "max": "1:20:10", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_padded_zeros.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_padded_zeros.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_padded_zeros.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_seconds.json new file mode 100644 index 00000000..a3f6cedc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_seconds.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "21:32", + "max": "21:32", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_seconds.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_seconds.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_negative.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_negative.json new file mode 100644 index 00000000..35bb922c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_negative.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "-10:00:00", + "max": "-10:00:00", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_negative.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_negative.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_second_out_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_second_out_of_range.json new file mode 100644 index 00000000..14cd64b9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_second_out_of_range.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "01:02:61", + "max": "01:02:61", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_second_out_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_second_out_of_range.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_second_out_of_range.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_decimal.json new file mode 100644 index 00000000..68d9cfae --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_decimal.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedByte", + "min": "1.2", + "max": "1.2", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_decimal.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_decimal.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_empty.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_empty.json new file mode 100644 index 00000000..eab6c85d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_empty.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedByte", + "min": "", + "max": "", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_empty.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_empty.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_free_form_text.json new file mode 100644 index 00000000..1b4ff745 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_free_form_text.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedByte", + "min": "some free form text", + "max": "some free form text", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_free_form_text.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_free_form_text.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_mathematical_formula.json new file mode 100644 index 00000000..11b988de --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_mathematical_formula.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedByte", + "min": "2**5", + "max": "2**5", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_mathematical_formula.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_mathematical_formula.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_max_plus_one.json new file mode 100644 index 00000000..b856ee37 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_max_plus_one.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedByte", + "min": "256", + "max": "256", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_max_plus_one.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_max_plus_one.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_negative.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_negative.json new file mode 100644 index 00000000..794685f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_negative.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedByte", + "min": "-1", + "max": "-1", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_negative.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_negative.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_scientific.json new file mode 100644 index 00000000..c6cd772b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_scientific.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedByte", + "min": "1e2", + "max": "1e2", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_scientific.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_scientific.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_decimal.json new file mode 100644 index 00000000..6f4df102 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_decimal.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedInt", + "min": "1.2", + "max": "1.2", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_decimal.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_decimal.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_empty.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_empty.json new file mode 100644 index 00000000..c720400b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_empty.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedInt", + "min": "", + "max": "", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_empty.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_empty.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_free_form_text.json new file mode 100644 index 00000000..66922b19 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_free_form_text.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedInt", + "min": "some free form text", + "max": "some free form text", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_free_form_text.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_free_form_text.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_mathematical_formula.json new file mode 100644 index 00000000..994e9c50 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_mathematical_formula.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedInt", + "min": "2**5", + "max": "2**5", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_mathematical_formula.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_mathematical_formula.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_max_plus_one.json new file mode 100644 index 00000000..f2846fe2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_max_plus_one.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedInt", + "min": "4294967296", + "max": "4294967296", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_max_plus_one.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_max_plus_one.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_negative.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_negative.json new file mode 100644 index 00000000..6ad09fbd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_negative.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedInt", + "min": "-1", + "max": "-1", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_negative.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_negative.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_scientific.json new file mode 100644 index 00000000..f5c7f9ec --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_scientific.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedInt", + "min": "1e2", + "max": "1e2", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_scientific.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_scientific.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_decimal.json new file mode 100644 index 00000000..5b7911e4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_decimal.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedLong", + "min": "1.2", + "max": "1.2", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_decimal.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_decimal.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_empty.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_empty.json new file mode 100644 index 00000000..b9e43161 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_empty.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedLong", + "min": "", + "max": "", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_empty.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_empty.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_free_form_text.json new file mode 100644 index 00000000..ef25e1db --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_free_form_text.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedLong", + "min": "some free form text", + "max": "some free form text", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_free_form_text.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_free_form_text.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_mathematical_formula.json new file mode 100644 index 00000000..de380c8f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_mathematical_formula.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedLong", + "min": "2**5", + "max": "2**5", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_mathematical_formula.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_mathematical_formula.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_max_plus_one.json new file mode 100644 index 00000000..24f34268 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_max_plus_one.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedLong", + "min": "18446744073709551616", + "max": "18446744073709551616", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_max_plus_one.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_max_plus_one.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_negative.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_negative.json new file mode 100644 index 00000000..dddc8e76 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_negative.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedLong", + "min": "-1", + "max": "-1", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_negative.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_negative.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_scientific.json new file mode 100644 index 00000000..017e55fa --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_scientific.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedLong", + "min": "1e2", + "max": "1e2", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_scientific.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_scientific.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_decimal.json new file mode 100644 index 00000000..64069b8d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_decimal.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedShort", + "min": "1.2", + "max": "1.2", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_decimal.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_decimal.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_empty.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_empty.json new file mode 100644 index 00000000..6a1061b8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_empty.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedShort", + "min": "", + "max": "", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_empty.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_empty.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_free_form_text.json new file mode 100644 index 00000000..f2706a8a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_free_form_text.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedShort", + "min": "some free form text", + "max": "some free form text", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_free_form_text.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_free_form_text.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_mathematical_formula.json new file mode 100644 index 00000000..43e3bca5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_mathematical_formula.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedShort", + "min": "2**5", + "max": "2**5", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_mathematical_formula.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_mathematical_formula.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_max_plus_one.json new file mode 100644 index 00000000..ea3af6b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_max_plus_one.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedShort", + "min": "65536", + "max": "65536", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_max_plus_one.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_max_plus_one.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_negative.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_negative.json new file mode 100644 index 00000000..8147c675 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_negative.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedShort", + "min": "-1", + "max": "-1", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_negative.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_negative.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_scientific.json new file mode 100644 index 00000000..a2dc7591 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_scientific.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedShort", + "min": "1e2", + "max": "1e2", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_scientific.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_scientific.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/Any_URI_negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/Any_URI_negatively_fuzzed_01.json new file mode 100644 index 00000000..c790be4d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/Any_URI_negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "name": "\u00db\u0103\u00d2\udb56\udf00L\u00cb)T\u0000\u00ce\u00e7\udaa9\uddcf\udbe1\udf7d\b\u00c0\u00ba\uda5a\udccf\u00ca\u00a08]\udbb2\ude08\u00181D\fY\ud942\udf23A\\\u00ac\u00ef\ud926\udce3\ud958\ude2cc" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..77e70a26 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_05.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +The value must match the value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_06.json new file mode 100644 index 00000000..e5d82ca7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "name": "\u00db\u0103\u0019\udbd6\udf43\u000e\u00a7\udaba\udddb" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..77e70a26 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +The value must match the value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_09.json new file mode 100644 index 00000000..b972cff6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "name": "\u00db\u0103\u00d2\udb56\udf00L\u00cb)T\u0000\u00ce\u00e7\udaa9\uddcf\udbe1\udf7d\b\u00c0\u00ba\uda5a\udccf\u00ca\u00a08]\udbb2\ude08\u00181D\fY\ud942\udf23A\\\u00ac\u00ef\ud926\udce3\ud958\ude2cc", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..9aaf7a07 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_05.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Value must be consistent with the value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_06.json new file mode 100644 index 00000000..e4c707c3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "\ud8a9\udf8b\udaa5\udd5f\u00d1\u001c\u00b0\u1f58\u00aaW\uda1d\udc42\u0000\udae8\udf3b", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..9aaf7a07 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_06.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Value must be consistent with the value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_07.json new file mode 100644 index 00000000..7c227bcd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "\ud937\udf63\u0000'\u001f \ud918\udeacxx\u00cf\u00d6\nwf", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..9aaf7a07 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Value must be consistent with the value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_08.json new file mode 100644 index 00000000..9d1c14b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "\udaeb\udd55\ucbbe\u0017\u00d2\u00918\u00a4M\ud898\udcd5\u00d4\u00c5\u0000\r\ud9af\udfa9Zs6\u0012\u00c0>\u0019\udbd6\udf43\u000e\u00a7\udaba\udddb", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..9aaf7a07 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Value must be consistent with the value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_09.json new file mode 100644 index 00000000..d288c321 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "\uda69\udd2b\u0012U\u0091\u00f4\u0081\u00f4\u0016\udbef\udc24\udaf4\udc94\u0000", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..9aaf7a07 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Value must be consistent with the value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_10.json new file mode 100644 index 00000000..09b1cf4d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "\u00b4\u00b2\u0082\u0000\udbb2\udc9d\u00c0\u00e2\u00a8*\u00fb\ud876\udfa9\u00f2\u008f\u00a4\u0082\u00a1\u00c2\u00dd_\uc1fd\uda71\udde8E\u00d6\udae5\udf31\u00fd\u2f2a\u00e5\u00f9H\ud9b5\udccbP\u00b6\u0013\u00c4", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..9aaf7a07 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Value must be consistent with the value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_empty.json new file mode 100644 index 00000000..2135264e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_empty.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_empty.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_free_form_text.json new file mode 100644 index 00000000..3260d7e2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_free_form_text.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "some free form text", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_free_form_text.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_hour_out_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_hour_out_of_range.json new file mode 100644 index 00000000..46b4796b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_hour_out_of_range.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "25:25:10", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_hour_out_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_hour_out_of_range.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_hour_out_of_range.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_negative_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_negative_offset.json new file mode 100644 index 00000000..26e3a950 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_negative_offset.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "21:32:52-15:00", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_negative_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_negative_offset.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_negative_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_offset_with_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_offset_with_seconds.json new file mode 100644 index 00000000..57cea19f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_offset_with_seconds.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "21:32:52-02:00:12", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_offset_with_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_offset_with_seconds.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_offset_with_seconds.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_positive_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_positive_offset.json new file mode 100644 index 00000000..1de74676 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_positive_offset.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "21:32:52+15:00", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_positive_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_positive_offset.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_positive_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_minute_out_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_minute_out_of_range.json new file mode 100644 index 00000000..017f28cf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_minute_out_of_range.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "01:61:10", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_minute_out_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_minute_out_of_range.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_minute_out_of_range.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_padded_zeros.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_padded_zeros.json new file mode 100644 index 00000000..c276722e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_padded_zeros.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "1:20:10", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_padded_zeros.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_padded_zeros.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_padded_zeros.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_seconds.json new file mode 100644 index 00000000..2c8ba026 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_seconds.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "21:32", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_seconds.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_seconds.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_negative.json new file mode 100644 index 00000000..4aa8c70b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_negative.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "-10:00:00", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_negative.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_second_out_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_second_out_of_range.json new file mode 100644 index 00000000..3983fcf3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_second_out_of_range.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "01:02:61", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_second_out_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_second_out_of_range.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_second_out_of_range.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_decimal.json new file mode 100644 index 00000000..174d9a18 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_decimal.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedByte", + "value": "1.2", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_decimal.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_empty.json new file mode 100644 index 00000000..c31788e6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_empty.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedByte", + "value": "", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_empty.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_free_form_text.json new file mode 100644 index 00000000..cc609cc9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_free_form_text.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedByte", + "value": "some free form text", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_free_form_text.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_mathematical_formula.json new file mode 100644 index 00000000..8ad99a56 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedByte", + "value": "2**5", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_mathematical_formula.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_max_plus_one.json new file mode 100644 index 00000000..fb149605 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedByte", + "value": "256", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_max_plus_one.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_negative.json new file mode 100644 index 00000000..fe716c72 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_negative.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedByte", + "value": "-1", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_negative.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_scientific.json new file mode 100644 index 00000000..0bc49e67 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_scientific.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedByte", + "value": "1e2", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_scientific.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_decimal.json new file mode 100644 index 00000000..645b8f66 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_decimal.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedInt", + "value": "1.2", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_decimal.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_empty.json new file mode 100644 index 00000000..e737cbc3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_empty.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedInt", + "value": "", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_empty.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_free_form_text.json new file mode 100644 index 00000000..903c6076 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_free_form_text.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedInt", + "value": "some free form text", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_free_form_text.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_mathematical_formula.json new file mode 100644 index 00000000..aade7831 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedInt", + "value": "2**5", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_mathematical_formula.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_max_plus_one.json new file mode 100644 index 00000000..c59e1904 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedInt", + "value": "4294967296", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_max_plus_one.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_negative.json new file mode 100644 index 00000000..19b5212e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_negative.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedInt", + "value": "-1", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_negative.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_scientific.json new file mode 100644 index 00000000..9e7800f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_scientific.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedInt", + "value": "1e2", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_scientific.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_decimal.json new file mode 100644 index 00000000..cab7d940 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_decimal.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedLong", + "value": "1.2", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_decimal.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_empty.json new file mode 100644 index 00000000..490e2215 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_empty.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedLong", + "value": "", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_empty.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_free_form_text.json new file mode 100644 index 00000000..5db67529 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_free_form_text.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedLong", + "value": "some free form text", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_free_form_text.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_mathematical_formula.json new file mode 100644 index 00000000..2ccc069f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedLong", + "value": "2**5", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_mathematical_formula.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_max_plus_one.json new file mode 100644 index 00000000..7c73b3ca --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedLong", + "value": "18446744073709551616", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_max_plus_one.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_negative.json new file mode 100644 index 00000000..6473252d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_negative.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedLong", + "value": "-1", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_negative.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_scientific.json new file mode 100644 index 00000000..74a549b3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_scientific.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedLong", + "value": "1e2", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_scientific.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_decimal.json new file mode 100644 index 00000000..b658b49c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_decimal.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedShort", + "value": "1.2", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_decimal.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_empty.json new file mode 100644 index 00000000..08895edd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_empty.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedShort", + "value": "", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_empty.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_free_form_text.json new file mode 100644 index 00000000..9777f7cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_free_form_text.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedShort", + "value": "some free form text", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_free_form_text.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_mathematical_formula.json new file mode 100644 index 00000000..561b0e87 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedShort", + "value": "2**5", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_mathematical_formula.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_max_plus_one.json new file mode 100644 index 00000000..fccf518d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedShort", + "value": "65536", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_max_plus_one.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_negative.json new file mode 100644 index 00000000..ae19c367 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_negative.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedShort", + "value": "-1", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_negative.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_scientific.json new file mode 100644 index 00000000..0599415b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_scientific.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedShort", + "value": "1e2", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_scientific.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_01.json new file mode 100644 index 00000000..1bb168c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "``" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_02.json new file mode 100644 index 00000000..85627f56 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "yE;\u009a\u00b6)\u00c6\u00acfQ\u0013\u00a7A\uda1d\udded\u00a9\ud811\ude75\u008a\ud8b0\udc40" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_03.json new file mode 100644 index 00000000..5be7ea53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "W:\ud842\uddb3\u0013\u008f\u00a89\u0083" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_04.json new file mode 100644 index 00000000..a8f6f299 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "''1\u0083\ud802\uddc2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_05.json new file mode 100644 index 00000000..8308f24a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "''\u00ff\udbe3\udc1a\uc3b8\u00c8\u00ba\u00ab\u00d9" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_06.json new file mode 100644 index 00000000..e766b850 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "`0" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_07.json new file mode 100644 index 00000000..2d044899 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "\u00d4\u00b7\u00d9\u009f\udae3\ude74\u00bb\u0006\u00d4#\u0014FB\u00c9\u00db\u00cd~O" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_08.json new file mode 100644 index 00000000..a87fb231 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "\ud8e8\ude54\u0005\u00bf." +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_09.json new file mode 100644 index 00000000..7f95bc92 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "\ua72c\u5000\uda92\udff8\u00bd\u00bc\u0000\u00ec\t\u00ba;\u00cf\ud9d1\udfb7w\u0097\uda83\uddd9D\ud855\ude4c\u00ba|" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_10.json new file mode 100644 index 00000000..6eaf7227 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "\u0097L\u00f9\u00d9" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.json new file mode 100644 index 00000000..8a113628 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "http://datypic.com#f% rag" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_too_many_fragments.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_too_many_fragments.json new file mode 100644 index 00000000..1d4f4179 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_too_many_fragments.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "http://datypic.com#frag1#frag2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_too_many_fragments.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_too_many_fragments.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_too_many_fragments.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.json new file mode 100644 index 00000000..b9e01c0e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "FB8" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.json new file mode 100644 index 00000000..901ad97c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "==0F" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_01.json new file mode 100644 index 00000000..00b7d869 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "\u00a9l\u00b7\u008e\u00cc\ud843\ude04T\u0019\u00d8\u001agd\u00a56Z\u00c4" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_02.json new file mode 100644 index 00000000..d8e93925 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "1\ud804\udc98\u001a\u00a0\u00b4`\ud859\udf99\u00d9\u009b\u00c3\u008a" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_03.json new file mode 100644 index 00000000..698d4576 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "#/" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_04.json new file mode 100644 index 00000000..1156e12c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "0" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_05.json new file mode 100644 index 00000000..8d0a1332 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "\uda51\udf88\u00a0\ud99e\ude4e\ud943\udd14\u00fa" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_06.json new file mode 100644 index 00000000..b9aaea26 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "]]P" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_07.json new file mode 100644 index 00000000..717462e7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "\u020f\u00aeBFo^\u000e\u7f73\u00d8" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_08.json new file mode 100644 index 00000000..32b89bba --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "\u00ed" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_09.json new file mode 100644 index 00000000..ad1ea3ee --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "\ud917\udd62C\u00ad\u0006\u0002\u00daH\u0097\u00d4" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_10.json new file mode 100644 index 00000000..fcb9cd34 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "\u0082" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_as_number_with_leading_zeros.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_as_number_with_leading_zeros.json new file mode 100644 index 00000000..7aa13a13 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_as_number_with_leading_zeros.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "0000" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_as_number_with_leading_zeros.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_as_number_with_leading_zeros.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_as_number_with_leading_zeros.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_camelcase.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_camelcase.json new file mode 100644 index 00000000..a88aeb2c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_camelcase.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "False" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_camelcase.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_camelcase.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_camelcase.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_uppercase.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_uppercase.json new file mode 100644 index 00000000..712b9fcb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_uppercase.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "FALSE" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_uppercase.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_uppercase.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_uppercase.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_01.json new file mode 100644 index 00000000..c0d5566d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "\udab0\udd61\udb28\ude326\udb28\ude32" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_02.json new file mode 100644 index 00000000..8bbdcea2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "/\ud9a1\udfef\u0082\u00bbu\u00ce\u00c3#\u00f6\u00da\u00b8\u001d\u00d4\udaff\udd24\u001e" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_03.json new file mode 100644 index 00000000..07d57801 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "\ud896\udff4" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_04.json new file mode 100644 index 00000000..61371b8a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "1\u00d1\u00af\u00e3\u00ac]\u001a\u00e4" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_04.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_05.json new file mode 100644 index 00000000..e0ae764b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "\u2007\u00ba\ud8f2\udffdn" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_06.json new file mode 100644 index 00000000..ad6747db --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "\u00b9\u00bd\u00174x|\ud18e\u00ac\u00a7T\ud98e\udc18" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_06.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_07.json new file mode 100644 index 00000000..b42084d9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "\ud805\udf70\ud8ea\udcafZ5\u001b \udbd5\udfb3\u00eb{\u00c2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_08.json new file mode 100644 index 00000000..9583cb0e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "\uda53\udff6n\u0011" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_09.json new file mode 100644 index 00000000..824a0eec --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "\u00ad\ud93a\udc2b\ud88e\udce2WX\u001b" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_10.json new file mode 100644 index 00000000..bdad0aac --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "\uda6b\ude0fza\ud89a\udcbb\u0089" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_as_number_with_leading_zeros.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_as_number_with_leading_zeros.json new file mode 100644 index 00000000..dfd42498 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_as_number_with_leading_zeros.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "0001" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_as_number_with_leading_zeros.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_as_number_with_leading_zeros.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_as_number_with_leading_zeros.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_camelcase.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_camelcase.json new file mode 100644 index 00000000..af92eb4b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_camelcase.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "True" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_camelcase.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_camelcase.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_camelcase.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_uppercase.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_uppercase.json new file mode 100644 index 00000000..a1df6f74 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_uppercase.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "TRUE" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_uppercase.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_uppercase.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_uppercase.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_decimal.json new file mode 100644 index 00000000..59f23d78 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:byte", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_decimal.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_empty.json new file mode 100644 index 00000000..594992e2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:byte", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_free_form_text.json new file mode 100644 index 00000000..e1ad0a0d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:byte", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_mathematical_formula.json new file mode 100644 index 00000000..78307237 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:byte", + "value": "2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_mathematical_formula.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_max_plus_one.json new file mode 100644 index 00000000..9ad7423c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:byte", + "value": "128" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_max_plus_one.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_min_minus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_min_minus_one.json new file mode 100644 index 00000000..7437743c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_min_minus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:byte", + "value": "-129" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_min_minus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_min_minus_one.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_min_minus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_scientific.json new file mode 100644 index 00000000..9337bd65 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:byte", + "value": "1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_scientific.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_UTC.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_UTC.json new file mode 100644 index 00000000..7987a8e8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_UTC.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:date", + "value": "2022-04-01T01:02:03Z" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_UTC.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_UTC.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_UTC.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_offset.json new file mode 100644 index 00000000..6c6e242f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:date", + "value": "2022-04-01T01:02:03+02:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_offset.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_without_zone.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_without_zone.json new file mode 100644 index 00000000..1f4bd545 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_without_zone.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:date", + "value": "2022-04-01T01:02:03" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_without_zone.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_without_zone.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_without_zone.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_negative_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_negative_offset.json new file mode 100644 index 00000000..ff1524e7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_negative_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:date", + "value": "2022-04-01-15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_negative_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_negative_offset.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_negative_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_positive_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_positive_offset.json new file mode 100644 index 00000000..57d4c4da --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_positive_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:date", + "value": "2022-04-01+15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_positive_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_positive_offset.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_positive_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_seconds_in_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_seconds_in_offset.json new file mode 100644 index 00000000..90c616ff --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_seconds_in_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:date", + "value": "2022-04-01+02:00:12" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_seconds_in_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_seconds_in_offset.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_seconds_in_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_empty.json new file mode 100644 index 00000000..16498b22 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:date", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_non_existing_february_29th.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_non_existing_february_29th.json new file mode 100644 index 00000000..f3a54f15 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_non_existing_february_29th.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:date", + "value": "2011-02-29" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_non_existing_february_29th.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_non_existing_february_29th.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_non_existing_february_29th.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date.json new file mode 100644 index 00000000..da131a93 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "2022-04-01" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_negative_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_negative_offset.json new file mode 100644 index 00000000..b308c633 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_negative_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "2022-04-01T01:02:03-15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_negative_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_negative_offset.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_negative_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_positive_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_positive_offset.json new file mode 100644 index 00000000..43ae7ef8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_positive_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "2022-04-01T01:02:03+15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_positive_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_positive_offset.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_positive_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_seconds_in_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_seconds_in_offset.json new file mode 100644 index 00000000..b37cb317 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_seconds_in_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "2022-04-01T01:02:03+02:00:12" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_seconds_in_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_seconds_in_offset.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_seconds_in_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_prefix.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_prefix.json new file mode 100644 index 00000000..f17eee9f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_prefix.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "unexpected-prefix-2022-04-01T01:02:03Z" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_prefix.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_prefix.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_prefix.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_suffix.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_suffix.json new file mode 100644 index 00000000..f515f9d7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_suffix.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "2022-04-01T01:02:03Z-unexpected-suffix" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_suffix.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_suffix.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_suffix.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_with_time_zone.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_with_time_zone.json new file mode 100644 index 00000000..141c01ab --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_with_time_zone.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "2022-04-01Z" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_with_time_zone.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_with_time_zone.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_with_time_zone.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_empty.json new file mode 100644 index 00000000..fc5baaad --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_non_existing_february_29th.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_non_existing_february_29th.json new file mode 100644 index 00000000..295358cf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_non_existing_february_29th.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "2011-02-29T01:02:03Z" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_non_existing_february_29th.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_non_existing_february_29th.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_non_existing_february_29th.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_minutes.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_minutes.json new file mode 100644 index 00000000..6d28f1b8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_minutes.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "2022-04-01T01Z" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_minutes.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_minutes.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_minutes.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_seconds.json new file mode 100644 index 00000000..b259a6c9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_seconds.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "2022-04-01T01:02Z" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_seconds.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_seconds.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_4_bce_february_29th.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_4_bce_february_29th.json new file mode 100644 index 00000000..32e39cf4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_4_bce_february_29th.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "-0004-02-29T01:02:03" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_4_bce_february_29th.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_4_bce_february_29th.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_4_bce_february_29th.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_zero_doesnt_exist.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_zero_doesnt_exist.json new file mode 100644 index 00000000..fec6defc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_zero_doesnt_exist.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "0000-01-02T01:02:03" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_zero_doesnt_exist.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_zero_doesnt_exist.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_zero_doesnt_exist.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_4_bce_february_29th.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_4_bce_february_29th.json new file mode 100644 index 00000000..dad37acd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_4_bce_february_29th.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:date", + "value": "-0004-02-29" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_4_bce_february_29th.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_4_bce_february_29th.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_4_bce_february_29th.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_zero_doesnt_exist.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_zero_doesnt_exist.json new file mode 100644 index 00000000..b2fd4ad0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_zero_doesnt_exist.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:date", + "value": "0000-01-02" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_zero_doesnt_exist.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_zero_doesnt_exist.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_zero_doesnt_exist.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_empty.json new file mode 100644 index 00000000..2938e618 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:decimal", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_free_form_text.json new file mode 100644 index 00000000..fada110a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:decimal", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_empty.json new file mode 100644 index 00000000..75e369d5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:double", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_free_form_text.json new file mode 100644 index 00000000..a15382e8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:double", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_inf_case_matters.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_inf_case_matters.json new file mode 100644 index 00000000..53526ea0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_inf_case_matters.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:double", + "value": "inf" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_inf_case_matters.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_inf_case_matters.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_inf_case_matters.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_nan_case_matters.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_nan_case_matters.json new file mode 100644 index 00000000..3761f7f5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_nan_case_matters.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:double", + "value": "nan" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_nan_case_matters.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_nan_case_matters.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_nan_case_matters.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_no_fraction_in_scientific_notation.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_no_fraction_in_scientific_notation.json new file mode 100644 index 00000000..54f3d400 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_no_fraction_in_scientific_notation.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:double", + "value": "12.34e5.6" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_no_fraction_in_scientific_notation.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_no_fraction_in_scientific_notation.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_no_fraction_in_scientific_notation.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_plus_inf.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_plus_inf.json new file mode 100644 index 00000000..c0b3f00a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_plus_inf.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:double", + "value": "+INF" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_plus_inf.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_plus_inf.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_plus_inf.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_too_large.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_too_large.json new file mode 100644 index 00000000..b8916684 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_too_large.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:double", + "value": "1.123456789e1234567890" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_too_large.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_too_large.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_too_large.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_empty.json new file mode 100644 index 00000000..c85992e3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:duration", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_free_form_text.json new file mode 100644 index 00000000..ef16dbd3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:duration", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_integer.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_integer.json new file mode 100644 index 00000000..e7ee03a4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_integer.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:duration", + "value": "1234" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_integer.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_integer.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_integer.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_leading_P_missing.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_leading_P_missing.json new file mode 100644 index 00000000..03b6ae75 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_leading_P_missing.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:duration", + "value": "1Y" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_leading_P_missing.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_leading_P_missing.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_leading_P_missing.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_negative_years.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_negative_years.json new file mode 100644 index 00000000..9e641700 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_negative_years.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:duration", + "value": "P-1Y" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_negative_years.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_negative_years.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_negative_years.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_positive_year_negative_months.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_positive_year_negative_months.json new file mode 100644 index 00000000..61d42fb5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_positive_year_negative_months.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:duration", + "value": "P1Y-1M" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_positive_year_negative_months.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_positive_year_negative_months.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_positive_year_negative_months.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_separator_T_missing.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_separator_T_missing.json new file mode 100644 index 00000000..ce577066 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_separator_T_missing.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:duration", + "value": "P1S" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_separator_T_missing.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_separator_T_missing.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_separator_T_missing.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_the_order_matters.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_the_order_matters.json new file mode 100644 index 00000000..43dadc21 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_the_order_matters.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:duration", + "value": "P1M2Y" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_the_order_matters.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_the_order_matters.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_the_order_matters.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_empty.json new file mode 100644 index 00000000..578894f3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:float", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_free_form_text.json new file mode 100644 index 00000000..f66c3305 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:float", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_inf_case_matters.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_inf_case_matters.json new file mode 100644 index 00000000..eecbad0a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_inf_case_matters.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:float", + "value": "inf" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_inf_case_matters.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_inf_case_matters.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_inf_case_matters.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_nan_case_matters.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_nan_case_matters.json new file mode 100644 index 00000000..3dc9dd7e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_nan_case_matters.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:float", + "value": "nan" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_nan_case_matters.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_nan_case_matters.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_nan_case_matters.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_no_fraction_in_scientific_notation.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_no_fraction_in_scientific_notation.json new file mode 100644 index 00000000..7081b177 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_no_fraction_in_scientific_notation.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:float", + "value": "12.34e5.6" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_no_fraction_in_scientific_notation.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_no_fraction_in_scientific_notation.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_no_fraction_in_scientific_notation.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_plus_inf.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_plus_inf.json new file mode 100644 index 00000000..bfe92148 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_plus_inf.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:float", + "value": "+INF" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_plus_inf.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_plus_inf.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_plus_inf.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_too_large.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_too_large.json new file mode 100644 index 00000000..fa5aa666 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_too_large.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:float", + "value": "1.123456789e1234567890" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_too_large.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_too_large.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_too_large.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_day_outside_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_day_outside_of_range.json new file mode 100644 index 00000000..a16478ec --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_day_outside_of_range.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gDay", + "value": "---35" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_day_outside_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_day_outside_of_range.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_day_outside_of_range.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_empty.json new file mode 100644 index 00000000..4b0bc891 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gDay", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_free_form_text.json new file mode 100644 index 00000000..da853b10 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gDay", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_negative_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_negative_offset.json new file mode 100644 index 00000000..6c78d531 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_negative_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gDay", + "value": "---01-15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_negative_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_negative_offset.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_negative_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_offset_with_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_offset_with_seconds.json new file mode 100644 index 00000000..60902b34 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_offset_with_seconds.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gDay", + "value": "---01+15:00:12" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_offset_with_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_offset_with_seconds.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_offset_with_seconds.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_positive_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_positive_offset.json new file mode 100644 index 00000000..ae7f1a96 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_positive_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gDay", + "value": "---01+15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_positive_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_positive_offset.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_positive_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_dashes.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_dashes.json new file mode 100644 index 00000000..8d107631 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_dashes.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gDay", + "value": "15" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_dashes.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_dashes.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_dashes.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_digit.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_digit.json new file mode 100644 index 00000000..138fa4fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_digit.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gDay", + "value": "---5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_digit.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_digit.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_digit.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_unexpected_suffix.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_unexpected_suffix.json new file mode 100644 index 00000000..427c0bf4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_unexpected_suffix.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gDay", + "value": "--30-" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_unexpected_suffix.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_unexpected_suffix.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_unexpected_suffix.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_day_outside_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_day_outside_of_range.json new file mode 100644 index 00000000..f6d31e2a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_day_outside_of_range.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonthDay", + "value": "--01-35" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_day_outside_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_day_outside_of_range.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_day_outside_of_range.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_empty.json new file mode 100644 index 00000000..9d9e4d9f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonthDay", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_free_form_text.json new file mode 100644 index 00000000..48dd5b20 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonthDay", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_negative_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_negative_offset.json new file mode 100644 index 00000000..1c610bd2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_negative_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonthDay", + "value": "--11-01-15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_negative_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_negative_offset.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_negative_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_offset_with_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_offset_with_seconds.json new file mode 100644 index 00000000..57e40fdc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_offset_with_seconds.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonthDay", + "value": "--11-01+02:00:12" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_offset_with_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_offset_with_seconds.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_offset_with_seconds.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_positive_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_positive_offset.json new file mode 100644 index 00000000..40787660 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_positive_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonthDay", + "value": "--11-01+15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_positive_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_positive_offset.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_positive_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_dashes.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_dashes.json new file mode 100644 index 00000000..0f9046f5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_dashes.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonthDay", + "value": "01-15" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_dashes.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_dashes.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_dashes.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_digit.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_digit.json new file mode 100644 index 00000000..8dde27a6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_digit.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonthDay", + "value": "--1-5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_digit.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_digit.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_digit.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_non_existing_april_31st.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_non_existing_april_31st.json new file mode 100644 index 00000000..693747a8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_non_existing_april_31st.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonthDay", + "value": "--04-31" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_non_existing_april_31st.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_non_existing_april_31st.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_non_existing_april_31st.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_unexpected_prefix_and_suffix.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_unexpected_prefix_and_suffix.json new file mode 100644 index 00000000..25677f91 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_unexpected_prefix_and_suffix.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonthDay", + "value": "-01-30-" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_unexpected_prefix_and_suffix.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_unexpected_prefix_and_suffix.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_unexpected_prefix_and_suffix.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_empty.json new file mode 100644 index 00000000..bc02d2ba --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonth", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_free_form_text.json new file mode 100644 index 00000000..bec5e4ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonth", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_negative_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_negative_offset.json new file mode 100644 index 00000000..5f3a4ed0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_negative_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonth", + "value": "--11-15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_negative_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_negative_offset.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_negative_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_offset_with_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_offset_with_seconds.json new file mode 100644 index 00000000..ccd50711 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_offset_with_seconds.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonth", + "value": "--11+02:00:12" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_offset_with_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_offset_with_seconds.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_offset_with_seconds.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_positive_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_positive_offset.json new file mode 100644 index 00000000..57762c19 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_positive_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonth", + "value": "--11+15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_positive_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_positive_offset.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_positive_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_dashes.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_dashes.json new file mode 100644 index 00000000..b25f4226 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_dashes.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonth", + "value": "01" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_dashes.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_dashes.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_dashes.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_digit.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_digit.json new file mode 100644 index 00000000..0a14f708 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_digit.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonth", + "value": "--1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_digit.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_digit.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_digit.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_month_outside_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_month_outside_of_range.json new file mode 100644 index 00000000..d16520d8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_month_outside_of_range.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonth", + "value": "--13" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_month_outside_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_month_outside_of_range.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_month_outside_of_range.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_unexpected_prefix_and_suffix.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_unexpected_prefix_and_suffix.json new file mode 100644 index 00000000..cee0d568 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_unexpected_prefix_and_suffix.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonth", + "value": "-01-" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_unexpected_prefix_and_suffix.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_unexpected_prefix_and_suffix.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_unexpected_prefix_and_suffix.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_empty.json new file mode 100644 index 00000000..7308e5e6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYear", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_free_form_text.json new file mode 100644 index 00000000..641f8ac4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYear", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_negative_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_negative_offset.json new file mode 100644 index 00000000..0cb7173f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_negative_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYear", + "value": "2001-15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_negative_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_negative_offset.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_negative_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_offset_with_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_offset_with_seconds.json new file mode 100644 index 00000000..62a7209b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_offset_with_seconds.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYear", + "value": "2001+02:00:12" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_offset_with_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_offset_with_seconds.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_offset_with_seconds.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_positive_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_positive_offset.json new file mode 100644 index 00000000..ef66df65 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_positive_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYear", + "value": "2001+15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_positive_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_positive_offset.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_positive_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_missing_century.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_missing_century.json new file mode 100644 index 00000000..b20be354 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_missing_century.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYear", + "value": "01" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_missing_century.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_missing_century.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_missing_century.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_empty.json new file mode 100644 index 00000000..009bb10d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYearMonth", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_free_form_text.json new file mode 100644 index 00000000..0d00578e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYearMonth", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_negative_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_negative_offset.json new file mode 100644 index 00000000..84a41f54 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_negative_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYearMonth", + "value": "2001-10-15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_negative_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_negative_offset.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_negative_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_offset_with_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_offset_with_seconds.json new file mode 100644 index 00000000..2e8a904b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_offset_with_seconds.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYearMonth", + "value": "2001-10+02:00:12" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_offset_with_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_offset_with_seconds.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_offset_with_seconds.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_positive_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_positive_offset.json new file mode 100644 index 00000000..f23a2af0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_positive_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYearMonth", + "value": "2001-10+15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_positive_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_positive_offset.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_positive_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_century.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_century.json new file mode 100644 index 00000000..5e96f0ac --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_century.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYearMonth", + "value": "01-13" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_century.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_century.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_century.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_month.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_month.json new file mode 100644 index 00000000..3b17e455 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_month.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYearMonth", + "value": "2001" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_month.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_month.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_month.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_month_out_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_month_out_of_range.json new file mode 100644 index 00000000..2d6405f4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_month_out_of_range.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYearMonth", + "value": "2001-13" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_month_out_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_month_out_of_range.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_month_out_of_range.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_unexpected_month.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_unexpected_month.json new file mode 100644 index 00000000..3d630cdc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_unexpected_month.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYear", + "value": "2001-12" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_unexpected_month.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_unexpected_month.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_unexpected_month.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_free_form_text.json new file mode 100644 index 00000000..3da96794 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:hexBinary", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_odd_number_of_digits.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_odd_number_of_digits.json new file mode 100644 index 00000000..e7638bb9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_odd_number_of_digits.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:hexBinary", + "value": "123" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_odd_number_of_digits.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_odd_number_of_digits.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_odd_number_of_digits.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_single_digit.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_single_digit.json new file mode 100644 index 00000000..aad2334b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_single_digit.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:hexBinary", + "value": "1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_single_digit.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_single_digit.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_single_digit.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_decimal.json new file mode 100644 index 00000000..76903dda --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:int", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_decimal.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_empty.json new file mode 100644 index 00000000..22a9d81b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:int", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_free_form_text.json new file mode 100644 index 00000000..29638a03 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:int", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_mathematical_formula.json new file mode 100644 index 00000000..d4125431 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:int", + "value": "2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_mathematical_formula.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_max_plus_one.json new file mode 100644 index 00000000..a2b69c32 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:int", + "value": "2147483648" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_max_plus_one.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_min_minus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_min_minus_one.json new file mode 100644 index 00000000..00f5c786 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_min_minus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:int", + "value": "-2147483649" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_min_minus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_min_minus_one.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_min_minus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_scientific.json new file mode 100644 index 00000000..4b209e85 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:int", + "value": "1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_scientific.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_decimal.json new file mode 100644 index 00000000..c3289e65 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:integer", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_decimal.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_empty.json new file mode 100644 index 00000000..a3cdcea4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:integer", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_free_form_text.json new file mode 100644 index 00000000..4f4ad28c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:integer", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_mathematical_formula.json new file mode 100644 index 00000000..34e4393f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:integer", + "value": "2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_mathematical_formula.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_scientific.json new file mode 100644 index 00000000..b4e73115 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:integer", + "value": "1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_scientific.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_decimal.json new file mode 100644 index 00000000..d1425e9e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:long", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_decimal.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_empty.json new file mode 100644 index 00000000..bc6cfb81 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:long", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_free_form_text.json new file mode 100644 index 00000000..b55e4717 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:long", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_mathematical_formula.json new file mode 100644 index 00000000..974fb58c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:long", + "value": "2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_mathematical_formula.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_max_plus_one.json new file mode 100644 index 00000000..62253c4d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:long", + "value": "9223372036854775808" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_max_plus_one.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_min_minus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_min_minus_one.json new file mode 100644 index 00000000..8f4952eb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_min_minus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:long", + "value": "-9223372036854775809" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_min_minus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_min_minus_one.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_min_minus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_scientific.json new file mode 100644 index 00000000..4f037179 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:long", + "value": "1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_scientific.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_decimal.json new file mode 100644 index 00000000..474f1bce --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:negativeInteger", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_decimal.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_empty.json new file mode 100644 index 00000000..468a0b80 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:negativeInteger", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive.json new file mode 100644 index 00000000..e19d4f0f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:negativeInteger", + "value": "+1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive_zero.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive_zero.json new file mode 100644 index 00000000..a3f7951e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive_zero.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:negativeInteger", + "value": "+0" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive_zero.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive_zero.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive_zero.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_free_form_text.json new file mode 100644 index 00000000..794893af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:negativeInteger", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_implicitly_positive.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_implicitly_positive.json new file mode 100644 index 00000000..dba2195c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_implicitly_positive.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:negativeInteger", + "value": "1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_implicitly_positive.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_implicitly_positive.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_implicitly_positive.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_mathematical_formula.json new file mode 100644 index 00000000..a9e42b0a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:negativeInteger", + "value": "-2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_mathematical_formula.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_scientific.json new file mode 100644 index 00000000..76cad208 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:negativeInteger", + "value": "-1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_scientific.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero.json new file mode 100644 index 00000000..f8abc48f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:negativeInteger", + "value": "0" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero_prefixed_with_zeros.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero_prefixed_with_zeros.json new file mode 100644 index 00000000..77aa41f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero_prefixed_with_zeros.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:negativeInteger", + "value": "000" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero_prefixed_with_zeros.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero_prefixed_with_zeros.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero_prefixed_with_zeros.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_decimal.json new file mode 100644 index 00000000..1ca481dc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonNegativeInteger", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_decimal.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_empty.json new file mode 100644 index 00000000..5d584e04 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonNegativeInteger", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_free_form_text.json new file mode 100644 index 00000000..07e3788e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonNegativeInteger", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_negative.json new file mode 100644 index 00000000..76a4f1a2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_negative.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonNegativeInteger", + "value": "-1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_negative.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_decimal.json new file mode 100644 index 00000000..3809c7cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonPositiveInteger", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_decimal.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_empty.json new file mode 100644 index 00000000..2962c3b5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonPositiveInteger", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_explicitly_positive.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_explicitly_positive.json new file mode 100644 index 00000000..2ccdcbdb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_explicitly_positive.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonPositiveInteger", + "value": "+1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_explicitly_positive.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_explicitly_positive.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_explicitly_positive.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_free_form_text.json new file mode 100644 index 00000000..6e4e4561 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonPositiveInteger", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_implicitly_positive.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_implicitly_positive.json new file mode 100644 index 00000000..924ec466 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_implicitly_positive.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonPositiveInteger", + "value": "1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_implicitly_positive.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_implicitly_positive.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_implicitly_positive.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_mathematical_formula.json new file mode 100644 index 00000000..3acbc96b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonPositiveInteger", + "value": "-2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_mathematical_formula.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_scientific.json new file mode 100644 index 00000000..506632db --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonPositiveInteger", + "value": "-1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_scientific.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_decimal.json new file mode 100644 index 00000000..e779df99 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:positiveInteger", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_decimal.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_empty.json new file mode 100644 index 00000000..c3f0f601 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:positiveInteger", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_free_form_text.json new file mode 100644 index 00000000..839d66ce --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:positiveInteger", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_negative.json new file mode 100644 index 00000000..d961651c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_negative.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:positiveInteger", + "value": "-1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_negative.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero.json new file mode 100644 index 00000000..0747cba4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:positiveInteger", + "value": "0" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero_prefixed_with_zeros.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero_prefixed_with_zeros.json new file mode 100644 index 00000000..c8cb0473 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero_prefixed_with_zeros.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:positiveInteger", + "value": "000" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero_prefixed_with_zeros.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero_prefixed_with_zeros.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero_prefixed_with_zeros.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_decimal.json new file mode 100644 index 00000000..43b930ee --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:short", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_decimal.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_empty.json new file mode 100644 index 00000000..f5d0dc9e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:short", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_free_form_text.json new file mode 100644 index 00000000..cbce1978 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:short", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_mathematical_formula.json new file mode 100644 index 00000000..4c0338d6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:short", + "value": "2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_mathematical_formula.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_max_plus_one.json new file mode 100644 index 00000000..afc72199 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:short", + "value": "32768" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_max_plus_one.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_min_minus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_min_minus_one.json new file mode 100644 index 00000000..43cefd09 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_min_minus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:short", + "value": "-32769" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_min_minus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_min_minus_one.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_min_minus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_scientific.json new file mode 100644 index 00000000..59e3f0d9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:short", + "value": "1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_scientific.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf16.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf16.json new file mode 100644 index 00000000..085f1e44 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf16.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\u0000" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf16.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf16.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf16.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf32.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf32.json new file mode 100644 index 00000000..085f1e44 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf32.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\u0000" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf32.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf32.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf32.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_x.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_x.json new file mode 100644 index 00000000..085f1e44 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_x.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\u0000" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_x.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_x.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_x.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_01.json new file mode 100644 index 00000000..0a97f297 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\u6472\u0000\u00c0\u0012V\u00ea\u00ec\u00ea\u00b8\u00b4\u00e7;\udb28\udd89\u00ce\u008bOsJB\u00f4" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_02.json new file mode 100644 index 00000000..6446f89e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "@\u00ddJ\u00a6\u0000\uda2b\udfb6\u00f5\ud8fd\udf75\ud801\udc90}" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_03.json new file mode 100644 index 00000000..a1c7c5d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\u0091\u00c8\u00ca\u0000\ud826\udfec" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_04.json new file mode 100644 index 00000000..55f2ec4f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\udbd3\ude86\u0000R\t-8^" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_04.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_05.json new file mode 100644 index 00000000..ee9352c4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\u0015>\u00d2\udb56\udf00L\u00cb)T\u0000\u00ce\u00e7\udaa9\uddcf\udbe1\udf7d\b\u00c0\u00ba\uda5a\udccf\u00ca\u00a08]\udbb2\ude08\u00181D\fY\ud942\udf23A\\\u00ac\u00ef\ud926\udce3\ud958\ude2cc" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_05.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_06.json new file mode 100644 index 00000000..26d157ea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\ud8a9\udf8b\udaa5\udd5f\u00d1\u001c\u00b0\u1f58\u00aaW\uda1d\udc42\u0000\udae8\udf3b" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_06.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_07.json new file mode 100644 index 00000000..de2c135a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\ud937\udf63\u0000'\u001f \ud918\udeacxx\u00cf\u00d6\nwf" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_08.json new file mode 100644 index 00000000..4c5ccf5c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\udaeb\udd55\ucbbe\u0017\u00d2\u00918\u00a4M\ud898\udcd5\u00d4\u00c5\u0000\r\ud9af\udfa9Zs6\u0012\u00c0>\u0019\udbd6\udf43\u000e\u00a7\udaba\udddb" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_09.json new file mode 100644 index 00000000..e45759a7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\uda69\udd2b\u0012U\u0091\u00f4\u0081\u00f4\u0016\udbef\udc24\udaf4\udc94\u0000" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_10.json new file mode 100644 index 00000000..3a8adb71 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\u00b4\u00b2\u0082\u0000\udbb2\udc9d\u00c0\u00e2\u00a8*\u00fb\ud876\udfa9\u00f2\u008f\u00a4\u0082\u00a1\u00c2\u00dd_\uc1fd\uda71\udde8E\u00d6\udae5\udf31\u00fd\u2f2a\u00e5\u00f9H\ud9b5\udccbP\u00b6\u0013\u00c4" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..47ef3808 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_empty.json new file mode 100644 index 00000000..6546d5c2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_free_form_text.json new file mode 100644 index 00000000..d4879840 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_hour_out_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_hour_out_of_range.json new file mode 100644 index 00000000..aa20941a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_hour_out_of_range.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "25:25:10" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_hour_out_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_hour_out_of_range.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_hour_out_of_range.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_negative_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_negative_offset.json new file mode 100644 index 00000000..9268bea8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_negative_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "21:32:52-15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_negative_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_negative_offset.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_negative_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_offset_with_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_offset_with_seconds.json new file mode 100644 index 00000000..8ee19ff8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_offset_with_seconds.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "21:32:52-02:00:12" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_offset_with_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_offset_with_seconds.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_offset_with_seconds.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_positive_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_positive_offset.json new file mode 100644 index 00000000..5d963fb1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_positive_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "21:32:52+15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_positive_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_positive_offset.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_positive_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_minute_out_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_minute_out_of_range.json new file mode 100644 index 00000000..bb5d26b8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_minute_out_of_range.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "01:61:10" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_minute_out_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_minute_out_of_range.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_minute_out_of_range.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_padded_zeros.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_padded_zeros.json new file mode 100644 index 00000000..f34dc2c2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_padded_zeros.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "1:20:10" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_padded_zeros.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_padded_zeros.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_padded_zeros.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_seconds.json new file mode 100644 index 00000000..24cd08b0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_seconds.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "21:32" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_seconds.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_seconds.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_negative.json new file mode 100644 index 00000000..a326aed7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_negative.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "-10:00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_negative.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_second_out_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_second_out_of_range.json new file mode 100644 index 00000000..fe8d66fb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_second_out_of_range.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "01:02:61" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_second_out_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_second_out_of_range.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_second_out_of_range.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_decimal.json new file mode 100644 index 00000000..4e31abf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedByte", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_decimal.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_empty.json new file mode 100644 index 00000000..90aeb830 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedByte", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_free_form_text.json new file mode 100644 index 00000000..d54652db --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedByte", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_mathematical_formula.json new file mode 100644 index 00000000..23b4557a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedByte", + "value": "2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_mathematical_formula.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_max_plus_one.json new file mode 100644 index 00000000..eac31340 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedByte", + "value": "256" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_max_plus_one.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_negative.json new file mode 100644 index 00000000..440701e4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_negative.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedByte", + "value": "-1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_negative.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_scientific.json new file mode 100644 index 00000000..701c22fa --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedByte", + "value": "1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_scientific.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_decimal.json new file mode 100644 index 00000000..3d5a451a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedInt", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_decimal.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_empty.json new file mode 100644 index 00000000..fcd22096 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedInt", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_free_form_text.json new file mode 100644 index 00000000..8310b623 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedInt", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_mathematical_formula.json new file mode 100644 index 00000000..517ad19f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedInt", + "value": "2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_mathematical_formula.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_max_plus_one.json new file mode 100644 index 00000000..8e20a742 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedInt", + "value": "4294967296" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_max_plus_one.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_negative.json new file mode 100644 index 00000000..f9547626 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_negative.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedInt", + "value": "-1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_negative.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_scientific.json new file mode 100644 index 00000000..50e757e1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedInt", + "value": "1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_scientific.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_decimal.json new file mode 100644 index 00000000..6ad7086a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedLong", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_decimal.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_empty.json new file mode 100644 index 00000000..66050a60 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedLong", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_free_form_text.json new file mode 100644 index 00000000..2be399a5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedLong", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_mathematical_formula.json new file mode 100644 index 00000000..7f393b3e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedLong", + "value": "2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_mathematical_formula.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_max_plus_one.json new file mode 100644 index 00000000..cc0e71e6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedLong", + "value": "18446744073709551616" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_max_plus_one.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_negative.json new file mode 100644 index 00000000..1b858030 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_negative.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedLong", + "value": "-1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_negative.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_scientific.json new file mode 100644 index 00000000..3966fba8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedLong", + "value": "1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_scientific.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_decimal.json new file mode 100644 index 00000000..4d0bd9eb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedShort", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_decimal.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_empty.json new file mode 100644 index 00000000..0d890e2d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedShort", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_empty.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_free_form_text.json new file mode 100644 index 00000000..54f28e73 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedShort", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_free_form_text.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_mathematical_formula.json new file mode 100644 index 00000000..848339e4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedShort", + "value": "2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_mathematical_formula.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_max_plus_one.json new file mode 100644 index 00000000..0ec02758 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedShort", + "value": "65536" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_max_plus_one.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_negative.json new file mode 100644 index 00000000..a9085f8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_negative.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedShort", + "value": "-1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_negative.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_scientific.json new file mode 100644 index 00000000..2e449804 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedShort", + "value": "1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_scientific.json.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/MaxLength.json b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/MaxLength.json new file mode 100644 index 00000000..bb209b6c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/MaxLength.json @@ -0,0 +1,32 @@ +{ + "first": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:an-example:07:f74c3f33" + } + ] + }, + "second": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:example:00:9301d0e0" + } + ] + }, + "annotations": { + "a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456": "something_7e4e401e", + "tWC": 17240976.11, + "EO5DYAe": false, + "a----------------b": [ + "something_56d756a6", + 35366450.02, + { + "nested": false + } + ] + } +} diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/MaxLength.json.errors b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/MaxLength.json.errors new file mode 100644 index 00000000..7302675e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/MaxLength.json.errors @@ -0,0 +1,2 @@ +annotations["a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456"]: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/MinLength.json b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/MinLength.json new file mode 100644 index 00000000..83d8cbb3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/MinLength.json @@ -0,0 +1,32 @@ +{ + "first": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:an-example:07:f74c3f33" + } + ] + }, + "second": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:example:00:9301d0e0" + } + ] + }, + "annotations": { + "": "something_7e4e401e", + "tWC": 17240976.11, + "EO5DYAe": false, + "a----------------b": [ + "something_56d756a6", + 35366450.02, + { + "nested": false + } + ] + } +} diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/MinLength.json.errors b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/MinLength.json.errors new file mode 100644 index 00000000..02bb8581 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/MinLength.json.errors @@ -0,0 +1,4 @@ +annotations[""]: Invariant violated: +The value must not be empty.; +annotations[""]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_01.json new file mode 100644 index 00000000..34dd6d63 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_01.json @@ -0,0 +1,32 @@ +{ + "first": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:an-example:07:f74c3f33" + } + ] + }, + "second": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:example:00:9301d0e0" + } + ] + }, + "annotations": { + "\uda2a\udebe\udb83\udfab7": "something_7e4e401e", + "tWC": 17240976.11, + "EO5DYAe": false, + "a----------------b": [ + "something_56d756a6", + 35366450.02, + { + "nested": false + } + ] + } +} diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..344e8027 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +annotations["򚪾󰾫7"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_02.json new file mode 100644 index 00000000..e4d66a51 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_02.json @@ -0,0 +1,32 @@ +{ + "first": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:an-example:07:f74c3f33" + } + ] + }, + "second": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:example:00:9301d0e0" + } + ] + }, + "annotations": { + "\u007f15": "something_7e4e401e", + "tWC": 17240976.11, + "EO5DYAe": false, + "a----------------b": [ + "something_56d756a6", + 35366450.02, + { + "nested": false + } + ] + } +} diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..1303a327 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +annotations["15"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_03.json new file mode 100644 index 00000000..68f6a137 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_03.json @@ -0,0 +1,32 @@ +{ + "first": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:an-example:07:f74c3f33" + } + ] + }, + "second": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:example:00:9301d0e0" + } + ] + }, + "annotations": { + "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y": "something_7e4e401e", + "tWC": 17240976.11, + "EO5DYAe": false, + "a----------------b": [ + "something_56d756a6", + 35366450.02, + { + "nested": false + } + ] + } +} diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e19ef32b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +annotations["66a\u0007 $\u0005˜V颵<8f󎐖ˆ;ÉÐ2þ󈣧7y"]: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +annotations["66a\u0007 $\u0005˜V颵<8f󎐖ˆ;ÉÐ2þ󈣧7y"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_04.json new file mode 100644 index 00000000..94833783 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_04.json @@ -0,0 +1,32 @@ +{ + "first": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:an-example:07:f74c3f33" + } + ] + }, + "second": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:example:00:9301d0e0" + } + ] + }, + "annotations": { + "\u0087Y\ud900\udd7d\udaf4\ude2a": "something_7e4e401e", + "tWC": 17240976.11, + "EO5DYAe": false, + "a----------------b": [ + "something_56d756a6", + 35366450.02, + { + "nested": false + } + ] + } +} diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e3c056ea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +annotations["‡Y񐅽󍈪"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_05.json new file mode 100644 index 00000000..06c25a87 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_05.json @@ -0,0 +1,32 @@ +{ + "first": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:an-example:07:f74c3f33" + } + ] + }, + "second": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:example:00:9301d0e0" + } + ] + }, + "annotations": { + "9\u4804\ud90d\udf5d": "something_7e4e401e", + "tWC": 17240976.11, + "EO5DYAe": false, + "a----------------b": [ + "something_56d756a6", + 35366450.02, + { + "nested": false + } + ] + } +} diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..86c1431a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +annotations["9䠄񓝝"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_06.json new file mode 100644 index 00000000..ec3e2109 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_06.json @@ -0,0 +1,32 @@ +{ + "first": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:an-example:07:f74c3f33" + } + ] + }, + "second": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:example:00:9301d0e0" + } + ] + }, + "annotations": { + "@": "something_7e4e401e", + "tWC": 17240976.11, + "EO5DYAe": false, + "a----------------b": [ + "something_56d756a6", + 35366450.02, + { + "nested": false + } + ] + } +} diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..2e1367ef --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +annotations["@"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_07.json new file mode 100644 index 00000000..c8fee3f3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_07.json @@ -0,0 +1,32 @@ +{ + "first": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:an-example:07:f74c3f33" + } + ] + }, + "second": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:example:00:9301d0e0" + } + ] + }, + "annotations": { + "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6": "something_7e4e401e", + "tWC": 17240976.11, + "EO5DYAe": false, + "a----------------b": [ + "something_56d756a6", + 35366450.02, + { + "nested": false + } + ] + } +} diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..19796ea9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +annotations["[?Íô0Ù񺃔ê\u0002¶𘏫s󂹮U񅡿°𛖦"]: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +annotations["[?Íô0Ù񺃔ê\u0002¶𘏫s󂹮U񅡿°𛖦"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_08.json new file mode 100644 index 00000000..dc41170a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_08.json @@ -0,0 +1,32 @@ +{ + "first": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:an-example:07:f74c3f33" + } + ] + }, + "second": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:example:00:9301d0e0" + } + ] + }, + "annotations": { + "\u0084\u0005": "something_7e4e401e", + "tWC": 17240976.11, + "EO5DYAe": false, + "a----------------b": [ + "something_56d756a6", + 35366450.02, + { + "nested": false + } + ] + } +} diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..0550d63c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +annotations["„\u0005"]: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +annotations["„\u0005"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_09.json new file mode 100644 index 00000000..006061c1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_09.json @@ -0,0 +1,32 @@ +{ + "first": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:an-example:07:f74c3f33" + } + ] + }, + "second": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:example:00:9301d0e0" + } + ] + }, + "annotations": { + "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5": "something_7e4e401e", + "tWC": 17240976.11, + "EO5DYAe": false, + "a----------------b": [ + "something_56d756a6", + 35366450.02, + { + "nested": false + } + ] + } +} diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..810d1379 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +annotations["®\n|\u0013h\u000fȁ€󝛌Q򩣬¥Õ"]: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +annotations["®\n|\u0013h\u000fȁ€󝛌Q򩣬¥Õ"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_10.json new file mode 100644 index 00000000..e55a59d6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_10.json @@ -0,0 +1,32 @@ +{ + "first": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:an-example:07:f74c3f33" + } + ] + }, + "second": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:example:00:9301d0e0" + } + ] + }, + "annotations": { + "\uda3f\udc85\u0013\ud90d\udf5d": "something_7e4e401e", + "tWC": 17240976.11, + "EO5DYAe": false, + "a----------------b": [ + "something_56d756a6", + 35366450.02, + { + "nested": false + } + ] + } +} diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b02bed9e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/AnnotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +annotations["򟲅\u0013񓝝"]: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +annotations["򟲅\u0013񓝝"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/JsonKeyViolation/EntityValue/specificAssetIds/MaxLength.json b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/EntityValue/specificAssetIds/MaxLength.json new file mode 100644 index 00000000..d0ba5c0e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/JsonKeyViolation/EntityValue/specificAssetIds/MaxLength.json @@ -0,0 +1,54 @@ +{ + "entityType": "CoManagedEntity", + "globalAssetId": "0", + "specificAssetIds": [ + { + "11\u00d5\u00d1\ud803\udee8\u00b4K\udbca\udf2de<\udb45\uddde\u00a8ngA12345678901234567890123456789012345678901234567890": "something_9893a589", + "0": 7611687.58, + "\u00db\u0103" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_05.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_06.json new file mode 100644 index 00000000..3326d272 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_06.json @@ -0,0 +1,3 @@ +{ + "createdAt": "\udbcf\udda6\ud879\udf78" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_06.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_07.json new file mode 100644 index 00000000..413b9806 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_07.json @@ -0,0 +1,3 @@ +{ + "createdAt": "\u531f16\u00c8\u0012\ud814\udce0" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_08.json new file mode 100644 index 00000000..9dfd6ea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_08.json @@ -0,0 +1,3 @@ +{ + "createdAt": "hh" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_09.json new file mode 100644 index 00000000..eebffe27 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_09.json @@ -0,0 +1,3 @@ +{ + "createdAt": "E\u0085\ud804\udd26\ud842\uddc3Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_10.json new file mode 100644 index 00000000..72041deb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_10.json @@ -0,0 +1,3 @@ +{ + "createdAt": "\udae7\udefd\udae7\udefd\ud9ae\udefe\ud82f\udfa8\udbe4\udc8c\ud80f\udeb6" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/only_date.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/only_date.json new file mode 100644 index 00000000..875b24e2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/only_date.json @@ -0,0 +1,3 @@ +{ + "createdAt": "2022-04-01" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/only_date.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/only_date.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/only_date.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/only_date_with_time_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/only_date_with_time_zone.json new file mode 100644 index 00000000..2cf1778d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/only_date_with_time_zone.json @@ -0,0 +1,3 @@ +{ + "createdAt": "2022-04-01Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/only_date_with_time_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/only_date_with_time_zone.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/only_date_with_time_zone.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/without_minutes.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/without_minutes.json new file mode 100644 index 00000000..9f7fa848 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/without_minutes.json @@ -0,0 +1,3 @@ +{ + "createdAt": "2022-04-01T01Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/without_minutes.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/without_minutes.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/without_minutes.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/without_seconds.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/without_seconds.json new file mode 100644 index 00000000..d1eed332 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/without_seconds.json @@ -0,0 +1,3 @@ +{ + "createdAt": "2022-04-01T01:02Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/without_seconds.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/without_seconds.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/createdAt/without_seconds.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/revision/dot.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/revision/dot.json new file mode 100644 index 00000000..e153b6e2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/revision/dot.json @@ -0,0 +1,3 @@ +{ + "revision": "1.0" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/revision/dot.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/revision/dot.json.errors new file mode 100644 index 00000000..c2019596 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/revision/dot.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-005: If version is not specified, revision shall also be unspecified. This means that a revision requires a version. If there is no version, there is no revision. Revision is optional.; +revision: Invariant violated: +Revision type shall match the revision pattern. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/revision/letter.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/revision/letter.json new file mode 100644 index 00000000..adc4fe07 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/revision/letter.json @@ -0,0 +1,3 @@ +{ + "revision": "1.0rc1" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/revision/letter.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/revision/letter.json.errors new file mode 100644 index 00000000..8bba439e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/revision/letter.json.errors @@ -0,0 +1,6 @@ +: Invariant violated: +Constraint AASd-005: If version is not specified, revision shall also be unspecified. This means that a revision requires a version. If there is no version, there is no revision. Revision is optional.; +revision: Invariant violated: +Revision type shall match the revision pattern.; +revision: Invariant violated: +Revision type shall have a maximum length of 4 characters. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/revision/negative.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/revision/negative.json new file mode 100644 index 00000000..97e8c158 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/revision/negative.json @@ -0,0 +1,3 @@ +{ + "revision": "-1" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/revision/negative.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/revision/negative.json.errors new file mode 100644 index 00000000..c2019596 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/revision/negative.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-005: If version is not specified, revision shall also be unspecified. This means that a revision requires a version. If there is no version, there is no revision. Revision is optional.; +revision: Invariant violated: +Revision type shall match the revision pattern. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_01.json new file mode 100644 index 00000000..867db4a3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_01.json @@ -0,0 +1,3 @@ +{ + "templateId": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..fa2198f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +templateId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_02.json new file mode 100644 index 00000000..a3f29d21 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_02.json @@ -0,0 +1,3 @@ +{ + "templateId": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..fa2198f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +templateId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_03.json new file mode 100644 index 00000000..087bb5b6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_03.json @@ -0,0 +1,3 @@ +{ + "templateId": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..fa2198f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +templateId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_04.json new file mode 100644 index 00000000..87eda06d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_04.json @@ -0,0 +1,3 @@ +{ + "templateId": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..fa2198f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +templateId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_05.json new file mode 100644 index 00000000..f078e67e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_05.json @@ -0,0 +1,3 @@ +{ + "templateId": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..fa2198f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +templateId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_06.json new file mode 100644 index 00000000..5f63980e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_06.json @@ -0,0 +1,3 @@ +{ + "templateId": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..fa2198f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +templateId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_07.json new file mode 100644 index 00000000..52167156 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_07.json @@ -0,0 +1,3 @@ +{ + "templateId": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..fa2198f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +templateId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_08.json new file mode 100644 index 00000000..10851a63 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_08.json @@ -0,0 +1,3 @@ +{ + "templateId": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..fa2198f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +templateId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_09.json new file mode 100644 index 00000000..43fbd3be --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_09.json @@ -0,0 +1,3 @@ +{ + "templateId": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..fa2198f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +templateId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_10.json new file mode 100644 index 00000000..0544c5cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_10.json @@ -0,0 +1,3 @@ +{ + "templateId": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..fa2198f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/templateId/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +templateId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/date_time_with_UTC_and_suffix.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/date_time_with_UTC_and_suffix.json new file mode 100644 index 00000000..60812acd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/date_time_with_UTC_and_suffix.json @@ -0,0 +1,3 @@ +{ + "updatedAt": "2022-04-01T01:02:03Z-unexpected-suffix" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/date_time_with_UTC_and_suffix.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/date_time_with_UTC_and_suffix.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/date_time_with_UTC_and_suffix.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/date_time_with_offset.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/date_time_with_offset.json new file mode 100644 index 00000000..3bfff2d7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/date_time_with_offset.json @@ -0,0 +1,3 @@ +{ + "updatedAt": "2022-04-01T01:02:03+02:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/date_time_with_offset.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/date_time_with_offset.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/date_time_with_offset.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/date_time_without_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/date_time_without_zone.json new file mode 100644 index 00000000..300a492b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/date_time_without_zone.json @@ -0,0 +1,3 @@ +{ + "updatedAt": "2022-04-01T01:02:03" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/date_time_without_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/date_time_without_zone.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/date_time_without_zone.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/empty.json new file mode 100644 index 00000000..2287e72b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/empty.json @@ -0,0 +1,3 @@ +{ + "updatedAt": "" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/empty.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/empty.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/invalid_february_29th.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/invalid_february_29th.json new file mode 100644 index 00000000..a42a73b1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/invalid_february_29th.json @@ -0,0 +1,3 @@ +{ + "updatedAt": "2026-02-29T01:02:03Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/invalid_february_29th.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/invalid_february_29th.json.errors new file mode 100644 index 00000000..1058cd79 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/invalid_february_29th.json.errors @@ -0,0 +1,2 @@ +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_01.json new file mode 100644 index 00000000..5684c279 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_01.json @@ -0,0 +1,3 @@ +{ + "updatedAt": "hh?a\u00e5x\uc733\u0010[\u0082\u0015 K/" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_02.json new file mode 100644 index 00000000..19ebcc34 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_02.json @@ -0,0 +1,3 @@ +{ + "updatedAt": "<1\ud8b2\ude06\ud9e3\uddd0\u00c5\\H\udac2\ude13" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_03.json new file mode 100644 index 00000000..8690f929 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_03.json @@ -0,0 +1,3 @@ +{ + "updatedAt": "\ud84a\udf23\ud8ca\udc7c\u00cd\u00b7\u00f0\u0098\u00b2+\u009a\ud8c4\udd7f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_04.json new file mode 100644 index 00000000..d8ba91dc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_04.json @@ -0,0 +1,3 @@ +{ + "updatedAt": "\ud8e9\udcb3\u00f0\u008d\u0085\ud8dd\udc2f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_04.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_05.json new file mode 100644 index 00000000..0ea997ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_05.json @@ -0,0 +1,3 @@ +{ + "updatedAt": "\udb4a\udfbee\ud80d\udd4d\u0097\u00f1>" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_05.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_06.json new file mode 100644 index 00000000..fdab6e52 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_06.json @@ -0,0 +1,3 @@ +{ + "updatedAt": "\udbcf\udda6\ud879\udf78" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_06.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_07.json new file mode 100644 index 00000000..e4c7b727 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_07.json @@ -0,0 +1,3 @@ +{ + "updatedAt": "\u531f16\u00c8\u0012\ud814\udce0" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_08.json new file mode 100644 index 00000000..3ac9ab6a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_08.json @@ -0,0 +1,3 @@ +{ + "updatedAt": "hh" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_09.json new file mode 100644 index 00000000..e98e1562 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_09.json @@ -0,0 +1,3 @@ +{ + "updatedAt": "E\u0085\ud804\udd26\ud842\uddc3Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_10.json new file mode 100644 index 00000000..cf1d5763 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_10.json @@ -0,0 +1,3 @@ +{ + "updatedAt": "\udae7\udefd\udae7\udefd\ud9ae\udefe\ud82f\udfa8\udbe4\udc8c\ud80f\udeb6" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/only_date.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/only_date.json new file mode 100644 index 00000000..1df9583e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/only_date.json @@ -0,0 +1,3 @@ +{ + "updatedAt": "2022-04-01" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/only_date.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/only_date.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/only_date.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/only_date_with_time_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/only_date_with_time_zone.json new file mode 100644 index 00000000..1946ee86 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/only_date_with_time_zone.json @@ -0,0 +1,3 @@ +{ + "updatedAt": "2022-04-01Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/only_date_with_time_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/only_date_with_time_zone.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/only_date_with_time_zone.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/without_minutes.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/without_minutes.json new file mode 100644 index 00000000..46c80174 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/without_minutes.json @@ -0,0 +1,3 @@ +{ + "updatedAt": "2022-04-01T01Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/without_minutes.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/without_minutes.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/without_minutes.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/without_seconds.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/without_seconds.json new file mode 100644 index 00000000..06536963 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/without_seconds.json @@ -0,0 +1,3 @@ +{ + "updatedAt": "2022-04-01T01:02Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/without_seconds.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/without_seconds.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/updatedAt/without_seconds.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/version/dot.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/version/dot.json new file mode 100644 index 00000000..703ffb7d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/version/dot.json @@ -0,0 +1,3 @@ +{ + "version": "1.0" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/version/dot.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/version/dot.json.errors new file mode 100644 index 00000000..7f6d5d6c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/version/dot.json.errors @@ -0,0 +1,2 @@ +version: Invariant violated: +Version type shall match the version pattern. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/version/letter.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/version/letter.json new file mode 100644 index 00000000..9650055d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/version/letter.json @@ -0,0 +1,3 @@ +{ + "version": "1.0rc1" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/version/letter.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/version/letter.json.errors new file mode 100644 index 00000000..d13ed64b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/version/letter.json.errors @@ -0,0 +1,4 @@ +version: Invariant violated: +Version type shall match the version pattern.; +version: Invariant violated: +Version type shall have a maximum length of 4 characters. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/version/negative.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/version/negative.json new file mode 100644 index 00000000..70203df9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/version/negative.json @@ -0,0 +1,3 @@ +{ + "version": "-1" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/version/negative.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/version/negative.json.errors new file mode 100644 index 00000000..7f6d5d6c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AdministrativeInformation/version/negative.json.errors @@ -0,0 +1,2 @@ +version: Invariant violated: +Version type shall match the version pattern. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..1368e3c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "AnnotatedRelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..dba19e08 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "AnnotatedRelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..4435e205 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "AnnotatedRelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..0ea08537 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "AnnotatedRelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..9c17e24b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "AnnotatedRelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..c09ea0a7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "AnnotatedRelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..c4280b51 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "AnnotatedRelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..c0a42818 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "AnnotatedRelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..574e3a33 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "AnnotatedRelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..34a06bd6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "AnnotatedRelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..4fb216a2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "AnnotatedRelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..1f6c3bda --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "AnnotatedRelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..38f53b6e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "AnnotatedRelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..a05d8b31 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "AnnotatedRelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..a0562c08 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "AnnotatedRelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..b1dc6875 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "AnnotatedRelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..3a06565d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "AnnotatedRelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..a11d4b3c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "AnnotatedRelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..ff6ce7a2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "AnnotatedRelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..a140d1db --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "AnnotatedRelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElement/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..e78a6640 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "AnnotatedRelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..6e2fdeb8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "AnnotatedRelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..0ca8798c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "AnnotatedRelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..d7f5464e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "AnnotatedRelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..76482942 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "AnnotatedRelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..214f09d6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "AnnotatedRelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..b7ce2bbf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "AnnotatedRelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..0be1d754 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "AnnotatedRelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..e9271573 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "AnnotatedRelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..6338848d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "AnnotatedRelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..fe633ba0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "AnnotatedRelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..50509155 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "AnnotatedRelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..ec839f9a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "AnnotatedRelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..cbc45337 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "AnnotatedRelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..ae1c3efa --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "AnnotatedRelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..241499ee --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "AnnotatedRelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..c5ee91fe --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "AnnotatedRelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..b682fa16 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "AnnotatedRelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..a8676515 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "AnnotatedRelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..09f1a717 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "AnnotatedRelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AnnotatedRelationshipElementMetadata/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..eb318396 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_01.json @@ -0,0 +1,9 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..b00b590b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_02.json @@ -0,0 +1,9 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..5769dc7d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_03.json @@ -0,0 +1,9 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..b20776ec --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_04.json @@ -0,0 +1,9 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..4caacc20 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_05.json @@ -0,0 +1,9 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..0277c0fe --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_06.json @@ -0,0 +1,9 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..1c63527e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_07.json @@ -0,0 +1,9 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..3b9a74de --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_08.json @@ -0,0 +1,9 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..c4e4bf54 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_09.json @@ -0,0 +1,9 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..5952870f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_10.json @@ -0,0 +1,9 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_01.json new file mode 100644 index 00000000..e1d02bee --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_01.json @@ -0,0 +1,8 @@ +{ + "id": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_02.json new file mode 100644 index 00000000..793a27e1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_02.json @@ -0,0 +1,8 @@ +{ + "id": "\u990d\u0017\u00bd\u00e9", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_03.json new file mode 100644 index 00000000..fd7b5d6a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_03.json @@ -0,0 +1,8 @@ +{ + "id": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_04.json new file mode 100644 index 00000000..4dc8df48 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_04.json @@ -0,0 +1,8 @@ +{ + "id": "\u00ba\u00f2\u0018\u007f", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_05.json new file mode 100644 index 00000000..1bdb5612 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_05.json @@ -0,0 +1,8 @@ +{ + "id": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_06.json new file mode 100644 index 00000000..817ee466 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_06.json @@ -0,0 +1,8 @@ +{ + "id": "0\u0000\u009a\uda84\ude06", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_07.json new file mode 100644 index 00000000..4fbeeed2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_07.json @@ -0,0 +1,8 @@ +{ + "id": "\ubd07\u00e0c\u001dr\f", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_08.json new file mode 100644 index 00000000..90e29680 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_08.json @@ -0,0 +1,8 @@ +{ + "id": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_09.json new file mode 100644 index 00000000..3c71da00 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_09.json @@ -0,0 +1,8 @@ +{ + "id": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_10.json new file mode 100644 index 00000000..bf4c3c22 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_10.json @@ -0,0 +1,8 @@ +{ + "id": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/id/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..b3cf8601 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_01.json @@ -0,0 +1,9 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..1fa9fdfb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_02.json @@ -0,0 +1,9 @@ +{ + "idShort": "\u007f15", + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..164e8a28 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_03.json @@ -0,0 +1,9 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..cdedf1d9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_04.json @@ -0,0 +1,9 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..0dc9fa08 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_05.json @@ -0,0 +1,9 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..4f9d9c3e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_06.json @@ -0,0 +1,9 @@ +{ + "idShort": "@", + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..d36929ca --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_07.json @@ -0,0 +1,9 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..e65bb4f7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_08.json @@ -0,0 +1,9 @@ +{ + "idShort": "\u0084\u0005", + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..c0c2b00a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_09.json @@ -0,0 +1,9 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..d2c1a882 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_10.json @@ -0,0 +1,9 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShell/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_01.json new file mode 100644 index 00000000..9e8a604d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "assetType": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..d147bc8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_02.json new file mode 100644 index 00000000..cb643373 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "assetType": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..d147bc8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_03.json new file mode 100644 index 00000000..98c0d5a8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "assetType": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..d147bc8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_04.json new file mode 100644 index 00000000..2b09af76 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "assetType": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..d147bc8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_05.json new file mode 100644 index 00000000..85190766 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "assetType": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..d147bc8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_06.json new file mode 100644 index 00000000..ef7c88d5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "assetType": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..d147bc8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_07.json new file mode 100644 index 00000000..8a7bf416 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "assetType": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..d147bc8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_08.json new file mode 100644 index 00000000..99db0231 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "assetType": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..d147bc8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_09.json new file mode 100644 index 00000000..060324ee --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "assetType": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..d147bc8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_10.json new file mode 100644 index 00000000..bf09c80d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "assetType": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..d147bc8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/assetType/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_01.json new file mode 100644 index 00000000..8cfdb2c3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "globalAssetId": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_02.json new file mode 100644 index 00000000..1bd52548 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "globalAssetId": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_03.json new file mode 100644 index 00000000..0fb035b8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "globalAssetId": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_04.json new file mode 100644 index 00000000..8d982f15 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "globalAssetId": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_05.json new file mode 100644 index 00000000..25026a99 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "globalAssetId": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_06.json new file mode 100644 index 00000000..c8e9e82d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "globalAssetId": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_07.json new file mode 100644 index 00000000..283ad5af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "globalAssetId": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_08.json new file mode 100644 index 00000000..eca4af65 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "globalAssetId": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_09.json new file mode 100644 index 00000000..2eca41af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "globalAssetId": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_10.json new file mode 100644 index 00000000..56a8cb46 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "globalAssetId": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/globalAssetId/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_01.json new file mode 100644 index 00000000..e581566e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_01.json @@ -0,0 +1,3 @@ +{ + "id": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_02.json new file mode 100644 index 00000000..bb709c3c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_02.json @@ -0,0 +1,3 @@ +{ + "id": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_03.json new file mode 100644 index 00000000..f54c946e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_03.json @@ -0,0 +1,3 @@ +{ + "id": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_04.json new file mode 100644 index 00000000..6f17750e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_04.json @@ -0,0 +1,3 @@ +{ + "id": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_05.json new file mode 100644 index 00000000..dee92f2d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_05.json @@ -0,0 +1,3 @@ +{ + "id": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_06.json new file mode 100644 index 00000000..6e581711 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_06.json @@ -0,0 +1,3 @@ +{ + "id": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_07.json new file mode 100644 index 00000000..6157176d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_07.json @@ -0,0 +1,3 @@ +{ + "id": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_08.json new file mode 100644 index 00000000..8e87b9ba --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_08.json @@ -0,0 +1,3 @@ +{ + "id": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_09.json new file mode 100644 index 00000000..58ce9806 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_09.json @@ -0,0 +1,3 @@ +{ + "id": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_10.json new file mode 100644 index 00000000..c76391f1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_10.json @@ -0,0 +1,3 @@ +{ + "id": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/id/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..dbdd42b0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "idShort": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..343899f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..49ca7188 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "idShort": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..343899f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..fb83edaf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "idShort": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..343899f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..1e00087a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "idShort": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..343899f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..9fb060cf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "idShort": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..343899f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..50ef869a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "idShort": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..343899f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..7a4f1628 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "idShort": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..343899f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..feb07d57 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "idShort": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..343899f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..28d4d24b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "idShort": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..343899f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..1b7bd6be --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "idShort": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..343899f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellDescriptor/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..af07ec7b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "id": "0", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..f03886b7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "id": "0", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..3bb73e0b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "id": "0", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..b45ecbc1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "id": "0", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..f455d4b0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "id": "0", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..4600c402 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "id": "0", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..5af516f1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "id": "0", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..4979f8ff --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "id": "0", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..4ffafa37 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "id": "0", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..833b4a7c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "id": "0", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_01.json new file mode 100644 index 00000000..ba53c5c1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "id": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_02.json new file mode 100644 index 00000000..c1be1498 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "id": "\u990d\u0017\u00bd\u00e9", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_03.json new file mode 100644 index 00000000..92bd6a52 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "id": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_04.json new file mode 100644 index 00000000..ca6c57ee --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "id": "\u00ba\u00f2\u0018\u007f", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_05.json new file mode 100644 index 00000000..166f814b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "id": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_06.json new file mode 100644 index 00000000..d61c1f2e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "id": "0\u0000\u009a\uda84\ude06", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_07.json new file mode 100644 index 00000000..1583e94f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "id": "\ubd07\u00e0c\u001dr\f", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_08.json new file mode 100644 index 00000000..0657653a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "id": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_09.json new file mode 100644 index 00000000..c2c09c10 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "id": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_10.json new file mode 100644 index 00000000..037c2e75 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "id": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/id/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..13dd7d09 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "id": "0", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..732d2a00 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u007f15", + "id": "0", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..65589923 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "id": "0", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..e78f4826 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "id": "0", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..f1ec4337 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "id": "0", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..79cdac80 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "idShort": "@", + "id": "0", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..0c04a842 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "id": "0", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..1dc69c2b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u0084\u0005", + "id": "0", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..9ab6846c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "id": "0", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..4273a3bc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "id": "0", + "modelType": "AssetAdministrationShellMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellMetadata/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/date_time_with_UTC_and_suffix.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/date_time_with_UTC_and_suffix.json new file mode 100644 index 00000000..4d920f22 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/date_time_with_UTC_and_suffix.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T01:02:03Z-unexpected-suffix", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/date_time_with_UTC_and_suffix.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/date_time_with_UTC_and_suffix.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/date_time_with_UTC_and_suffix.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/date_time_with_offset.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/date_time_with_offset.json new file mode 100644 index 00000000..4903c6fa --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/date_time_with_offset.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T01:02:03+02:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/date_time_with_offset.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/date_time_with_offset.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/date_time_with_offset.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/date_time_without_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/date_time_without_zone.json new file mode 100644 index 00000000..2eb5712f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/date_time_without_zone.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T01:02:03", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/date_time_without_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/date_time_without_zone.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/date_time_without_zone.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/empty.json new file mode 100644 index 00000000..1aa6dabf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/empty.json @@ -0,0 +1,5 @@ +{ + "createdAt": "", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/empty.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/empty.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/invalid_february_29th.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/invalid_february_29th.json new file mode 100644 index 00000000..38d2c54a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/invalid_february_29th.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2026-02-29T01:02:03Z", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/invalid_february_29th.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/invalid_february_29th.json.errors new file mode 100644 index 00000000..66d5d19f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/invalid_february_29th.json.errors @@ -0,0 +1,2 @@ +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_01.json new file mode 100644 index 00000000..da7fc899 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "createdAt": "hh?a\u00e5x\uc733\u0010[\u0082\u0015 K/", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_02.json new file mode 100644 index 00000000..a8fcd493 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "createdAt": "<1\ud8b2\ude06\ud9e3\uddd0\u00c5\\H\udac2\ude13", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_03.json new file mode 100644 index 00000000..a07e7578 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "createdAt": "\ud84a\udf23\ud8ca\udc7c\u00cd\u00b7\u00f0\u0098\u00b2+\u009a\ud8c4\udd7f", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_04.json new file mode 100644 index 00000000..86f8aec0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "createdAt": "\ud8e9\udcb3\u00f0\u008d\u0085\ud8dd\udc2f", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_04.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_05.json new file mode 100644 index 00000000..a55179e1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "createdAt": "\udb4a\udfbee\ud80d\udd4d\u0097\u00f1>", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_05.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_06.json new file mode 100644 index 00000000..787049d9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "createdAt": "\udbcf\udda6\ud879\udf78", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_06.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_07.json new file mode 100644 index 00000000..27753ca6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "createdAt": "\u531f16\u00c8\u0012\ud814\udce0", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_08.json new file mode 100644 index 00000000..fbd92030 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "createdAt": "hh", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_09.json new file mode 100644 index 00000000..21d5695d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "createdAt": "E\u0085\ud804\udd26\ud842\uddc3Z", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_10.json new file mode 100644 index 00000000..a96a78b4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "createdAt": "\udae7\udefd\udae7\udefd\ud9ae\udefe\ud82f\udfa8\udbe4\udc8c\ud80f\udeb6", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/only_date.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/only_date.json new file mode 100644 index 00000000..60e2a8b8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/only_date.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/only_date.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/only_date.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/only_date.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/only_date_with_time_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/only_date_with_time_zone.json new file mode 100644 index 00000000..1adc2fee --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/only_date_with_time_zone.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01Z", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/only_date_with_time_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/only_date_with_time_zone.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/only_date_with_time_zone.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/without_minutes.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/without_minutes.json new file mode 100644 index 00000000..d6375e1b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/without_minutes.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T01Z", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/without_minutes.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/without_minutes.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/without_minutes.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/without_seconds.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/without_seconds.json new file mode 100644 index 00000000..896ba384 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/without_seconds.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T01:02Z", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/without_seconds.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/without_seconds.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/createdAt/without_seconds.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_01.json new file mode 100644 index 00000000..0457150c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_01.json @@ -0,0 +1,6 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5", + "globalAssetId": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_02.json new file mode 100644 index 00000000..c7ef5425 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_02.json @@ -0,0 +1,6 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5", + "globalAssetId": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_03.json new file mode 100644 index 00000000..af667334 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_03.json @@ -0,0 +1,6 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5", + "globalAssetId": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_04.json new file mode 100644 index 00000000..1dace695 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_04.json @@ -0,0 +1,6 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5", + "globalAssetId": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_05.json new file mode 100644 index 00000000..9885384a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_05.json @@ -0,0 +1,6 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5", + "globalAssetId": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_06.json new file mode 100644 index 00000000..1668c9f5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_06.json @@ -0,0 +1,6 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5", + "globalAssetId": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_07.json new file mode 100644 index 00000000..2d118621 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_07.json @@ -0,0 +1,6 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5", + "globalAssetId": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_08.json new file mode 100644 index 00000000..acbc8e0a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_08.json @@ -0,0 +1,6 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5", + "globalAssetId": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_09.json new file mode 100644 index 00000000..e09f8481 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_09.json @@ -0,0 +1,6 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5", + "globalAssetId": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_10.json new file mode 100644 index 00000000..49b5b459 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_10.json @@ -0,0 +1,6 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5", + "globalAssetId": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/globalAssetId/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_01.json new file mode 100644 index 00000000..a968ff06 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_02.json new file mode 100644 index 00000000..dc0ea717 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_03.json new file mode 100644 index 00000000..023f5e6d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_04.json new file mode 100644 index 00000000..06eb33a1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_05.json new file mode 100644 index 00000000..6fc728f0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_06.json new file mode 100644 index 00000000..f4c6d294 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_07.json new file mode 100644 index 00000000..197855d5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_08.json new file mode 100644 index 00000000..2c6f1c96 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_09.json new file mode 100644 index 00000000..a6bbd8c9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_10.json new file mode 100644 index 00000000..f4dd37e0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/id/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/date_time_with_UTC_and_suffix.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/date_time_with_UTC_and_suffix.json new file mode 100644 index 00000000..98157c61 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/date_time_with_UTC_and_suffix.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T01:02:03Z-unexpected-suffix", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/date_time_with_UTC_and_suffix.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/date_time_with_UTC_and_suffix.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/date_time_with_UTC_and_suffix.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/date_time_with_offset.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/date_time_with_offset.json new file mode 100644 index 00000000..b210e1d6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/date_time_with_offset.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T01:02:03+02:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/date_time_with_offset.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/date_time_with_offset.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/date_time_with_offset.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/date_time_without_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/date_time_without_zone.json new file mode 100644 index 00000000..163c0e1e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/date_time_without_zone.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T01:02:03", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/date_time_without_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/date_time_without_zone.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/date_time_without_zone.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/empty.json new file mode 100644 index 00000000..a58114e5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/empty.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/empty.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/empty.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/invalid_february_29th.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/invalid_february_29th.json new file mode 100644 index 00000000..f0ee01d1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/invalid_february_29th.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2026-02-29T01:02:03Z", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/invalid_february_29th.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/invalid_february_29th.json.errors new file mode 100644 index 00000000..1058cd79 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/invalid_february_29th.json.errors @@ -0,0 +1,2 @@ +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_01.json new file mode 100644 index 00000000..ae241f60 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "hh?a\u00e5x\uc733\u0010[\u0082\u0015 K/", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_02.json new file mode 100644 index 00000000..2e00c743 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "<1\ud8b2\ude06\ud9e3\uddd0\u00c5\\H\udac2\ude13", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_03.json new file mode 100644 index 00000000..b872bbb6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "\ud84a\udf23\ud8ca\udc7c\u00cd\u00b7\u00f0\u0098\u00b2+\u009a\ud8c4\udd7f", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_04.json new file mode 100644 index 00000000..3bcd0a4e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "\ud8e9\udcb3\u00f0\u008d\u0085\ud8dd\udc2f", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_04.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_05.json new file mode 100644 index 00000000..926587f1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "\udb4a\udfbee\ud80d\udd4d\u0097\u00f1>", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_05.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_06.json new file mode 100644 index 00000000..327995cf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "\udbcf\udda6\ud879\udf78", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_06.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_07.json new file mode 100644 index 00000000..335cc561 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "\u531f16\u00c8\u0012\ud814\udce0", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_08.json new file mode 100644 index 00000000..a974c0c2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "hh", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_09.json new file mode 100644 index 00000000..2a28e809 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "E\u0085\ud804\udd26\ud842\uddc3Z", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_10.json new file mode 100644 index 00000000..76f8939b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "\udae7\udefd\udae7\udefd\ud9ae\udefe\ud82f\udfa8\udbe4\udc8c\ud80f\udeb6", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/only_date.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/only_date.json new file mode 100644 index 00000000..507cefeb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/only_date.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/only_date.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/only_date.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/only_date.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/only_date_with_time_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/only_date_with_time_zone.json new file mode 100644 index 00000000..ba1b0ac0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/only_date_with_time_zone.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01Z", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/only_date_with_time_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/only_date_with_time_zone.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/only_date_with_time_zone.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/without_minutes.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/without_minutes.json new file mode 100644 index 00000000..9856a55b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/without_minutes.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T01Z", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/without_minutes.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/without_minutes.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/without_minutes.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/without_seconds.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/without_seconds.json new file mode 100644 index 00000000..283c89f7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/without_seconds.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T01:02Z", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/without_seconds.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/without_seconds.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetAdministrationShellRecentChange/updatedAt/without_seconds.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_01.json new file mode 100644 index 00000000..ac948ecb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "assetKind": "Batch", + "globalAssetId": "0", + "assetType": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..d147bc8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_02.json new file mode 100644 index 00000000..3e9fa510 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "assetKind": "Batch", + "globalAssetId": "0", + "assetType": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..d147bc8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_03.json new file mode 100644 index 00000000..79962ebb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "assetKind": "Batch", + "globalAssetId": "0", + "assetType": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..d147bc8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_04.json new file mode 100644 index 00000000..0ba04498 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "assetKind": "Batch", + "globalAssetId": "0", + "assetType": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..d147bc8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_05.json new file mode 100644 index 00000000..b54626f6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "assetKind": "Batch", + "globalAssetId": "0", + "assetType": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..d147bc8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_06.json new file mode 100644 index 00000000..be0a00ad --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "assetKind": "Batch", + "globalAssetId": "0", + "assetType": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..d147bc8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_07.json new file mode 100644 index 00000000..99d1c915 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "assetKind": "Batch", + "globalAssetId": "0", + "assetType": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..d147bc8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_08.json new file mode 100644 index 00000000..f72d7c62 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "assetKind": "Batch", + "globalAssetId": "0", + "assetType": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..d147bc8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_09.json new file mode 100644 index 00000000..fd4b1e26 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "assetKind": "Batch", + "globalAssetId": "0", + "assetType": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..d147bc8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_10.json new file mode 100644 index 00000000..1c2abce3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "assetKind": "Batch", + "globalAssetId": "0", + "assetType": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..d147bc8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/assetType/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_01.json new file mode 100644 index 00000000..0a3b5654 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "assetKind": "Batch", + "globalAssetId": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_02.json new file mode 100644 index 00000000..b9078f24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "assetKind": "Batch", + "globalAssetId": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_03.json new file mode 100644 index 00000000..53b64d45 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "assetKind": "Batch", + "globalAssetId": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_04.json new file mode 100644 index 00000000..a688658e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "assetKind": "Batch", + "globalAssetId": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_05.json new file mode 100644 index 00000000..30bf6fc7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "assetKind": "Batch", + "globalAssetId": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_06.json new file mode 100644 index 00000000..3166b2e7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "assetKind": "Batch", + "globalAssetId": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_07.json new file mode 100644 index 00000000..dfb7d225 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "assetKind": "Batch", + "globalAssetId": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_08.json new file mode 100644 index 00000000..b1368d23 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "assetKind": "Batch", + "globalAssetId": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_09.json new file mode 100644 index 00000000..721d962f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "assetKind": "Batch", + "globalAssetId": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_10.json new file mode 100644 index 00000000..90ec04f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "assetKind": "Batch", + "globalAssetId": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetInformation/globalAssetId/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_01.json new file mode 100644 index 00000000..48991a1e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "name": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_02.json new file mode 100644 index 00000000..9147e840 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "name": "\u990d\u0017\u00bd\u00e9", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_03.json new file mode 100644 index 00000000..32ceab6b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "name": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_04.json new file mode 100644 index 00000000..08a1df9f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "name": "\u00ba\u00f2\u0018\u007f", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_05.json new file mode 100644 index 00000000..cfb5a8d5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "name": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_06.json new file mode 100644 index 00000000..5cb17340 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "name": "0\u0000\u009a\uda84\ude06", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_07.json new file mode 100644 index 00000000..39357b0d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "name": "\ubd07\u00e0c\u001dr\f", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_08.json new file mode 100644 index 00000000..987c4499 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "name": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_09.json new file mode 100644 index 00000000..05a6505c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "name": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_10.json new file mode 100644 index 00000000..4bb7305d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "name": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/name/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/value/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/value/negatively_fuzzed_01.json new file mode 100644 index 00000000..ad353ac7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/AssetLink/value/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "name": "\u00db\u0103", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_05.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_06.json new file mode 100644 index 00000000..e2dcb50f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_06.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "lastUpdate": "\udbcf\udda6\ud879\udf78", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_06.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_07.json new file mode 100644 index 00000000..76a6aeba --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_07.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "lastUpdate": "\u531f16\u00c8\u0012\ud814\udce0", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_08.json new file mode 100644 index 00000000..9290e67e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_08.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "lastUpdate": "hh", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_09.json new file mode 100644 index 00000000..6c68bcb8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_09.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "lastUpdate": "E\u0085\ud804\udd26\ud842\uddc3Z", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_10.json new file mode 100644 index 00000000..518292b3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_10.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "lastUpdate": "\udae7\udefd\udae7\udefd\ud9ae\udefe\ud82f\udfa8\udbe4\udc8c\ud80f\udeb6", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date.json new file mode 100644 index 00000000..f17f72cf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "lastUpdate": "2022-04-01", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date_with_time_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date_with_time_zone.json new file mode 100644 index 00000000..1eb13afb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date_with_time_zone.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "lastUpdate": "2022-04-01Z", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date_with_time_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date_with_time_zone.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date_with_time_zone.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_minutes.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_minutes.json new file mode 100644 index 00000000..3ad871a8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_minutes.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "lastUpdate": "2022-04-01T01Z", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_minutes.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_minutes.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_minutes.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_seconds.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_seconds.json new file mode 100644 index 00000000..047fda59 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_seconds.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "lastUpdate": "2022-04-01T01:02Z", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_seconds.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_seconds.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_seconds.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/empty.json new file mode 100644 index 00000000..3037809b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/empty.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "maxInterval": "", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/empty.json.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/empty.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/free_form_text.json new file mode 100644 index 00000000..443ee306 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/free_form_text.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "maxInterval": "some free form text", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/free_form_text.json.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/free_form_text.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/integer.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/integer.json new file mode 100644 index 00000000..3997fd35 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/integer.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "maxInterval": "1234", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/integer.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/integer.json.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/integer.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/leading_P_missing.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/leading_P_missing.json new file mode 100644 index 00000000..02eb8dd4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/leading_P_missing.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "maxInterval": "1Y", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/leading_P_missing.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/leading_P_missing.json.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/leading_P_missing.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/negative_years.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/negative_years.json new file mode 100644 index 00000000..0176a421 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/negative_years.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "maxInterval": "P-1Y", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/negative_years.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/negative_years.json.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/negative_years.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/positive_year_negative_months.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/positive_year_negative_months.json new file mode 100644 index 00000000..63409fdd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/positive_year_negative_months.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "maxInterval": "P1Y-1M", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/positive_year_negative_months.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/positive_year_negative_months.json.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/positive_year_negative_months.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/separator_T_missing.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/separator_T_missing.json new file mode 100644 index 00000000..ca37f4c1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/separator_T_missing.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "maxInterval": "P1S", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/separator_T_missing.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/separator_T_missing.json.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/separator_T_missing.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/the_order_matters.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/the_order_matters.json new file mode 100644 index 00000000..462c5980 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/the_order_matters.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "maxInterval": "P1M2Y", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/the_order_matters.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/the_order_matters.json.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/the_order_matters.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_01.json new file mode 100644 index 00000000..6484283d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_01.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "messageTopic": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_02.json new file mode 100644 index 00000000..53f4bfba --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_02.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "messageTopic": "\u990d\u0017\u00bd\u00e9", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_03.json new file mode 100644 index 00000000..a707b989 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_03.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "messageTopic": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_04.json new file mode 100644 index 00000000..8e03bd61 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_04.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "messageTopic": "\u00ba\u00f2\u0018\u007f", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_05.json new file mode 100644 index 00000000..46228fe1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_05.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "messageTopic": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_06.json new file mode 100644 index 00000000..1264f386 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_06.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "messageTopic": "0\u0000\u009a\uda84\ude06", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_07.json new file mode 100644 index 00000000..6c7492c1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_07.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "messageTopic": "\ubd07\u00e0c\u001dr\f", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_08.json new file mode 100644 index 00000000..914c0a69 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_08.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "messageTopic": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_09.json new file mode 100644 index 00000000..bcdb2d92 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_09.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "messageTopic": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_10.json new file mode 100644 index 00000000..e8730d29 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_10.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "messageTopic": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/empty.json new file mode 100644 index 00000000..4685e08d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/empty.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "minInterval": "", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/empty.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/empty.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/free_form_text.json new file mode 100644 index 00000000..8ad4682c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/free_form_text.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "minInterval": "some free form text", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/free_form_text.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/free_form_text.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/integer.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/integer.json new file mode 100644 index 00000000..8b8d1059 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/integer.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "minInterval": "1234", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/integer.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/integer.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/integer.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/leading_P_missing.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/leading_P_missing.json new file mode 100644 index 00000000..28744278 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/leading_P_missing.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "minInterval": "1Y", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/leading_P_missing.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/leading_P_missing.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/leading_P_missing.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/negative_years.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/negative_years.json new file mode 100644 index 00000000..80574f88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/negative_years.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "minInterval": "P-1Y", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/negative_years.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/negative_years.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/negative_years.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/positive_year_negative_months.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/positive_year_negative_months.json new file mode 100644 index 00000000..60fa9d2b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/positive_year_negative_months.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "minInterval": "P1Y-1M", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/positive_year_negative_months.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/positive_year_negative_months.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/positive_year_negative_months.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/separator_T_missing.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/separator_T_missing.json new file mode 100644 index 00000000..05f8904d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/separator_T_missing.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "minInterval": "P1S", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/separator_T_missing.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/separator_T_missing.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/separator_T_missing.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/the_order_matters.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/the_order_matters.json new file mode 100644 index 00000000..d27ec135 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/the_order_matters.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "minInterval": "P1M2Y", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/the_order_matters.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/the_order_matters.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/the_order_matters.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..11b58f16 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_01.json @@ -0,0 +1,6 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "direction": "input", + "state": "on", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..b0d226ee --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_02.json @@ -0,0 +1,6 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "direction": "input", + "state": "on", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..1e3000a4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_03.json @@ -0,0 +1,6 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "direction": "input", + "state": "on", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..a1a1be8d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_04.json @@ -0,0 +1,6 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "direction": "input", + "state": "on", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..f73669a9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_05.json @@ -0,0 +1,6 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "direction": "input", + "state": "on", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..f96f3393 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_06.json @@ -0,0 +1,6 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "direction": "input", + "state": "on", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..add3ef22 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_07.json @@ -0,0 +1,6 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "direction": "input", + "state": "on", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..70501a4a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_08.json @@ -0,0 +1,6 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "direction": "input", + "state": "on", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..1ed4fe9e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_09.json @@ -0,0 +1,6 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "direction": "input", + "state": "on", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..b1cdd300 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_10.json @@ -0,0 +1,6 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "direction": "input", + "state": "on", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..ceb65bd4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_01.json @@ -0,0 +1,6 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "direction": "input", + "state": "on", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..3044c3f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_02.json @@ -0,0 +1,6 @@ +{ + "idShort": "\u007f15", + "direction": "input", + "state": "on", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..b9027ca7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_03.json @@ -0,0 +1,6 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "direction": "input", + "state": "on", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..71b60749 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_04.json @@ -0,0 +1,6 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "direction": "input", + "state": "on", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..6c4cf9c2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_05.json @@ -0,0 +1,6 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "direction": "input", + "state": "on", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..0e3b5f4c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_06.json @@ -0,0 +1,6 @@ +{ + "idShort": "@", + "direction": "input", + "state": "on", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..ef72d870 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_07.json @@ -0,0 +1,6 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "direction": "input", + "state": "on", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..e63e69ad --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_08.json @@ -0,0 +1,6 @@ +{ + "idShort": "\u0084\u0005", + "direction": "input", + "state": "on", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..30263b3c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_09.json @@ -0,0 +1,6 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "direction": "input", + "state": "on", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..552bf14a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_10.json @@ -0,0 +1,6 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "direction": "input", + "state": "on", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/date_time_with_UTC_and_suffix.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/date_time_with_UTC_and_suffix.json new file mode 100644 index 00000000..7e2aadcd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/date_time_with_UTC_and_suffix.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "lastUpdate": "2022-04-01T01:02:03Z-unexpected-suffix", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/date_time_with_UTC_and_suffix.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/date_time_with_UTC_and_suffix.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/date_time_with_UTC_and_suffix.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/date_time_with_offset.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/date_time_with_offset.json new file mode 100644 index 00000000..82d53c1e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/date_time_with_offset.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "lastUpdate": "2022-04-01T01:02:03+02:00", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/date_time_with_offset.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/date_time_with_offset.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/date_time_with_offset.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/date_time_without_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/date_time_without_zone.json new file mode 100644 index 00000000..26d513cd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/date_time_without_zone.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "lastUpdate": "2022-04-01T01:02:03", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/date_time_without_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/date_time_without_zone.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/date_time_without_zone.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/empty.json new file mode 100644 index 00000000..f41b8eab --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/empty.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "lastUpdate": "", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/empty.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/empty.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/invalid_february_29th.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/invalid_february_29th.json new file mode 100644 index 00000000..abc42d29 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/invalid_february_29th.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "lastUpdate": "2026-02-29T01:02:03Z", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/invalid_february_29th.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/invalid_february_29th.json.errors new file mode 100644 index 00000000..a24819ca --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/invalid_february_29th.json.errors @@ -0,0 +1,2 @@ +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_01.json new file mode 100644 index 00000000..7bac9485 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_01.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "lastUpdate": "hh?a\u00e5x\uc733\u0010[\u0082\u0015 K/", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_02.json new file mode 100644 index 00000000..72917759 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_02.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "lastUpdate": "<1\ud8b2\ude06\ud9e3\uddd0\u00c5\\H\udac2\ude13", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_03.json new file mode 100644 index 00000000..b12c0873 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_03.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "lastUpdate": "\ud84a\udf23\ud8ca\udc7c\u00cd\u00b7\u00f0\u0098\u00b2+\u009a\ud8c4\udd7f", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_04.json new file mode 100644 index 00000000..ea65a0ad --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_04.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "lastUpdate": "\ud8e9\udcb3\u00f0\u008d\u0085\ud8dd\udc2f", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_04.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_05.json new file mode 100644 index 00000000..74224ee5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_05.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "lastUpdate": "\udb4a\udfbee\ud80d\udd4d\u0097\u00f1>", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_05.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_06.json new file mode 100644 index 00000000..99661a44 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_06.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "lastUpdate": "\udbcf\udda6\ud879\udf78", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_06.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_07.json new file mode 100644 index 00000000..be235dd7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_07.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "lastUpdate": "\u531f16\u00c8\u0012\ud814\udce0", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_08.json new file mode 100644 index 00000000..040ed200 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_08.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "lastUpdate": "hh", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_09.json new file mode 100644 index 00000000..6027a9a9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_09.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "lastUpdate": "E\u0085\ud804\udd26\ud842\uddc3Z", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_10.json new file mode 100644 index 00000000..b34347cf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_10.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "lastUpdate": "\udae7\udefd\udae7\udefd\ud9ae\udefe\ud82f\udfa8\udbe4\udc8c\ud80f\udeb6", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/only_date.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/only_date.json new file mode 100644 index 00000000..d16b03b7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/only_date.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "lastUpdate": "2022-04-01", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/only_date.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/only_date.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/only_date.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/only_date_with_time_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/only_date_with_time_zone.json new file mode 100644 index 00000000..ee6e6ccf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/only_date_with_time_zone.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "lastUpdate": "2022-04-01Z", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/only_date_with_time_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/only_date_with_time_zone.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/only_date_with_time_zone.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/without_minutes.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/without_minutes.json new file mode 100644 index 00000000..3846a76f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/without_minutes.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "lastUpdate": "2022-04-01T01Z", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/without_minutes.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/without_minutes.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/without_minutes.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/without_seconds.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/without_seconds.json new file mode 100644 index 00000000..d680977a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/without_seconds.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "lastUpdate": "2022-04-01T01:02Z", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/without_seconds.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/without_seconds.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/lastUpdate/without_seconds.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/empty.json new file mode 100644 index 00000000..2217ad10 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/empty.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "maxInterval": "", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/empty.json.errors new file mode 100644 index 00000000..6791d1c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/empty.json.errors @@ -0,0 +1,2 @@ +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/free_form_text.json new file mode 100644 index 00000000..bc7135c6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/free_form_text.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "maxInterval": "some free form text", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/free_form_text.json.errors new file mode 100644 index 00000000..6791d1c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/free_form_text.json.errors @@ -0,0 +1,2 @@ +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/integer.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/integer.json new file mode 100644 index 00000000..78361b62 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/integer.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "maxInterval": "1234", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/integer.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/integer.json.errors new file mode 100644 index 00000000..6791d1c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/integer.json.errors @@ -0,0 +1,2 @@ +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/leading_P_missing.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/leading_P_missing.json new file mode 100644 index 00000000..e6e36e41 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/leading_P_missing.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "maxInterval": "1Y", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/leading_P_missing.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/leading_P_missing.json.errors new file mode 100644 index 00000000..6791d1c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/leading_P_missing.json.errors @@ -0,0 +1,2 @@ +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/negative_years.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/negative_years.json new file mode 100644 index 00000000..a2c60b29 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/negative_years.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "maxInterval": "P-1Y", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/negative_years.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/negative_years.json.errors new file mode 100644 index 00000000..6791d1c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/negative_years.json.errors @@ -0,0 +1,2 @@ +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/positive_year_negative_months.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/positive_year_negative_months.json new file mode 100644 index 00000000..0bf0aafe --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/positive_year_negative_months.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "maxInterval": "P1Y-1M", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/positive_year_negative_months.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/positive_year_negative_months.json.errors new file mode 100644 index 00000000..6791d1c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/positive_year_negative_months.json.errors @@ -0,0 +1,2 @@ +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/separator_T_missing.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/separator_T_missing.json new file mode 100644 index 00000000..24b85022 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/separator_T_missing.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "maxInterval": "P1S", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/separator_T_missing.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/separator_T_missing.json.errors new file mode 100644 index 00000000..6791d1c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/separator_T_missing.json.errors @@ -0,0 +1,2 @@ +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/the_order_matters.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/the_order_matters.json new file mode 100644 index 00000000..9be93b76 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/the_order_matters.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "maxInterval": "P1M2Y", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/the_order_matters.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/the_order_matters.json.errors new file mode 100644 index 00000000..6791d1c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/maxInterval/the_order_matters.json.errors @@ -0,0 +1,2 @@ +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_01.json new file mode 100644 index 00000000..95b16170 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_01.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "messageTopic": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_02.json new file mode 100644 index 00000000..a71f9a41 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_02.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "messageTopic": "\u990d\u0017\u00bd\u00e9", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_03.json new file mode 100644 index 00000000..497a011a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_03.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "messageTopic": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_04.json new file mode 100644 index 00000000..0b2b9258 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_04.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "messageTopic": "\u00ba\u00f2\u0018\u007f", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_05.json new file mode 100644 index 00000000..99aa48cd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_05.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "messageTopic": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_06.json new file mode 100644 index 00000000..1974805c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_06.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "messageTopic": "0\u0000\u009a\uda84\ude06", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_07.json new file mode 100644 index 00000000..4d436a88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_07.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "messageTopic": "\ubd07\u00e0c\u001dr\f", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_08.json new file mode 100644 index 00000000..2a4555cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_08.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "messageTopic": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_09.json new file mode 100644 index 00000000..6d5cd0a0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_09.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "messageTopic": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_10.json new file mode 100644 index 00000000..66ff560e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_10.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "messageTopic": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/messageTopic/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/empty.json new file mode 100644 index 00000000..ed53555d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/empty.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "minInterval": "", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/empty.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/empty.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/free_form_text.json new file mode 100644 index 00000000..d5fcf652 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/free_form_text.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "minInterval": "some free form text", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/free_form_text.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/free_form_text.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/integer.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/integer.json new file mode 100644 index 00000000..6d931be1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/integer.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "minInterval": "1234", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/integer.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/integer.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/integer.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/leading_P_missing.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/leading_P_missing.json new file mode 100644 index 00000000..97f724fa --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/leading_P_missing.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "minInterval": "1Y", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/leading_P_missing.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/leading_P_missing.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/leading_P_missing.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/negative_years.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/negative_years.json new file mode 100644 index 00000000..3634ee1b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/negative_years.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "minInterval": "P-1Y", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/negative_years.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/negative_years.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/negative_years.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/positive_year_negative_months.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/positive_year_negative_months.json new file mode 100644 index 00000000..232ea108 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/positive_year_negative_months.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "minInterval": "P1Y-1M", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/positive_year_negative_months.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/positive_year_negative_months.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/positive_year_negative_months.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/separator_T_missing.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/separator_T_missing.json new file mode 100644 index 00000000..a6cfdd14 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/separator_T_missing.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "minInterval": "P1S", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/separator_T_missing.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/separator_T_missing.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/separator_T_missing.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/the_order_matters.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/the_order_matters.json new file mode 100644 index 00000000..4fd873d8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/the_order_matters.json @@ -0,0 +1,6 @@ +{ + "direction": "input", + "state": "on", + "minInterval": "P1M2Y", + "modelType": "BasicEventElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/the_order_matters.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/the_order_matters.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElementMetadata/minInterval/the_order_matters.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..3452d6ac --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..4d546405 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..d0cd8723 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..6c6e555c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..c65381f3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..8f8caffa --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..192295a4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..69b5f7c1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..7bde43de --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..5f38036d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/empty.json new file mode 100644 index 00000000..99167f2b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/empty.json @@ -0,0 +1,4 @@ +{ + "contentType": "", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/empty.json.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/empty.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_01.json new file mode 100644 index 00000000..392853e8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "contentType": "\uda86\udf2e\udb69\udf6e\udae1\udefa7\u001e\u00fd\u00d1\u009d|\udbc6\uddcd", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..bfb660cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_02.json new file mode 100644 index 00000000..392853e8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "contentType": "\uda86\udf2e\udb69\udf6e\udae1\udefa7\u001e\u00fd\u00d1\u009d|\udbc6\uddcd", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..bfb660cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_03.json new file mode 100644 index 00000000..661eaa39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "contentType": "\ud845\udd39", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_04.json new file mode 100644 index 00000000..d81b741f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "contentType": "\u00d0\u00d0", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_05.json new file mode 100644 index 00000000..556d8adb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "contentType": "\udb37\udd7d\u00a7\u0085\u00b0\u00a2\udace\udc5a>3\udba3\udd37", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_06.json new file mode 100644 index 00000000..6381a68b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "contentType": "q\u0095d", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_07.json new file mode 100644 index 00000000..57701e18 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "contentType": "0", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_08.json new file mode 100644 index 00000000..99167f2b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "contentType": "", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_09.json new file mode 100644 index 00000000..3e26d4a2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "contentType": "\r|\u00e4", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_10.json new file mode 100644 index 00000000..8dc66bf9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "contentType": "\ud832\udfb0\ud832\udfb0", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/number.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/number.json new file mode 100644 index 00000000..4dd00abe --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/number.json @@ -0,0 +1,4 @@ +{ + "contentType": "1234", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/number.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/number.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/number.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..71b5398a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..27c925a3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..7cb61d50 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..4988309f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..dde71065 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..ab6de15c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..851445db --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..10078e50 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..0d004b88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..338ba26b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..9027440f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "BlobMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..5eb7dd43 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "BlobMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..fe7435cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "BlobMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..f5d2360e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "BlobMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..7ec2335e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "BlobMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..110de25b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "BlobMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..30bab066 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "BlobMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..6a76ddc9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "BlobMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..7146a7bf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "BlobMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..acbe4fa5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "BlobMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..621148af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "BlobMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..4b1ef683 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "BlobMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..3164763e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "BlobMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..4d2d871e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "BlobMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..d351a086 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "BlobMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..751deef7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "BlobMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..59a9eec2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "BlobMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..53ec3e28 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "BlobMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..1810b5cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "BlobMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..0318468d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "BlobMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobMetadata/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/empty.json new file mode 100644 index 00000000..185e685d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/empty.json @@ -0,0 +1,3 @@ +{ + "contentType": "" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/empty.json.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/empty.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_01.json new file mode 100644 index 00000000..33e23f72 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_01.json @@ -0,0 +1,3 @@ +{ + "contentType": "\uda86\udf2e\udb69\udf6e\udae1\udefa7\u001e\u00fd\u00d1\u009d|\udbc6\uddcd" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..bfb660cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_02.json new file mode 100644 index 00000000..33e23f72 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_02.json @@ -0,0 +1,3 @@ +{ + "contentType": "\uda86\udf2e\udb69\udf6e\udae1\udefa7\u001e\u00fd\u00d1\u009d|\udbc6\uddcd" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..bfb660cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_03.json new file mode 100644 index 00000000..a061c1f4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_03.json @@ -0,0 +1,3 @@ +{ + "contentType": "\ud845\udd39" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_04.json new file mode 100644 index 00000000..fbb3a7c2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_04.json @@ -0,0 +1,3 @@ +{ + "contentType": "\u00d0\u00d0" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_05.json new file mode 100644 index 00000000..ca79dbb2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_05.json @@ -0,0 +1,3 @@ +{ + "contentType": "\udb37\udd7d\u00a7\u0085\u00b0\u00a2\udace\udc5a>3\udba3\udd37" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_06.json new file mode 100644 index 00000000..fb94e0d2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_06.json @@ -0,0 +1,3 @@ +{ + "contentType": "q\u0095d" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_07.json new file mode 100644 index 00000000..7fc9742c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_07.json @@ -0,0 +1,3 @@ +{ + "contentType": "0" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_08.json new file mode 100644 index 00000000..185e685d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_08.json @@ -0,0 +1,3 @@ +{ + "contentType": "" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_09.json new file mode 100644 index 00000000..905a3dd6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_09.json @@ -0,0 +1,3 @@ +{ + "contentType": "\r|\u00e4" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_10.json new file mode 100644 index 00000000..89f3e0b6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_10.json @@ -0,0 +1,3 @@ +{ + "contentType": "\ud832\udfb0\ud832\udfb0" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/number.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/number.json new file mode 100644 index 00000000..a8c84eba --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/number.json @@ -0,0 +1,3 @@ +{ + "contentType": "1234" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/number.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/number.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BlobValue/contentType/number.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..ad545ee4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..e80c7576 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..52d18a1d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..29d9c25a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..d332090e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..978f6796 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..b7c6013f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..885e5461 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..7c39dad8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..6e868e8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..ee26b18e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..7c48d1fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..510e2085 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..65754132 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..6a4cc7a9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..914669b0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..30c9ba0f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..f1f030ba --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..6e5e260a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..27b00f4d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..314fd845 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "CapabilityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..fc5576e1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "CapabilityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..137abee4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "CapabilityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..9968219b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "CapabilityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..a5b3a533 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "CapabilityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..e9f1993d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "CapabilityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..983bd9b0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "CapabilityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..9871db88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "CapabilityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..3aa9dacf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "CapabilityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..eeee4027 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "CapabilityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..252f8658 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "CapabilityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..72912aa7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "CapabilityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..4f63b66f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "CapabilityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..d95ac2d2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "CapabilityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..f92b3e96 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "CapabilityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..1ca9e58a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "CapabilityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..aa5a93a5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "CapabilityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..5532df9a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "CapabilityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..4c7ad982 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "CapabilityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..229fe7d6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "CapabilityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/CapabilityMetadata/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..1a2175fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..f39c5134 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..72bc3117 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..aa6943e9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..6237cb35 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..659ce226 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..5dbefd26 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..3f09ac39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..39193006 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..d8545d0c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_01.json new file mode 100644 index 00000000..1a6e849e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "id": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_02.json new file mode 100644 index 00000000..77c3f437 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "id": "\u990d\u0017\u00bd\u00e9", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_03.json new file mode 100644 index 00000000..f2216ae7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "id": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_04.json new file mode 100644 index 00000000..e4729804 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "id": "\u00ba\u00f2\u0018\u007f", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_05.json new file mode 100644 index 00000000..80d30671 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "id": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_06.json new file mode 100644 index 00000000..8e93073a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "id": "0\u0000\u009a\uda84\ude06", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_07.json new file mode 100644 index 00000000..e8de2bec --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "id": "\ubd07\u00e0c\u001dr\f", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_08.json new file mode 100644 index 00000000..ed87a64e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "id": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_09.json new file mode 100644 index 00000000..83687893 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "id": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_10.json new file mode 100644 index 00000000..f02f41c2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "id": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..358525e3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..a2a76dfc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u007f15", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..2f0d7a3a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..889b6755 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..d07b636b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..dfcb7bde --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "idShort": "@", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..b444d9c9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..5b355de3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u0084\u0005", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..cbdf4804 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..bff91108 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/date_time_with_UTC_and_suffix.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/date_time_with_UTC_and_suffix.json new file mode 100644 index 00000000..4d920f22 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/date_time_with_UTC_and_suffix.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T01:02:03Z-unexpected-suffix", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/date_time_with_UTC_and_suffix.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/date_time_with_UTC_and_suffix.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/date_time_with_UTC_and_suffix.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/date_time_with_offset.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/date_time_with_offset.json new file mode 100644 index 00000000..4903c6fa --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/date_time_with_offset.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T01:02:03+02:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/date_time_with_offset.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/date_time_with_offset.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/date_time_with_offset.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/date_time_without_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/date_time_without_zone.json new file mode 100644 index 00000000..2eb5712f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/date_time_without_zone.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T01:02:03", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/date_time_without_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/date_time_without_zone.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/date_time_without_zone.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/empty.json new file mode 100644 index 00000000..1aa6dabf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/empty.json @@ -0,0 +1,5 @@ +{ + "createdAt": "", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/empty.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/empty.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/invalid_february_29th.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/invalid_february_29th.json new file mode 100644 index 00000000..38d2c54a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/invalid_february_29th.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2026-02-29T01:02:03Z", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/invalid_february_29th.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/invalid_february_29th.json.errors new file mode 100644 index 00000000..66d5d19f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/invalid_february_29th.json.errors @@ -0,0 +1,2 @@ +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_01.json new file mode 100644 index 00000000..da7fc899 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "createdAt": "hh?a\u00e5x\uc733\u0010[\u0082\u0015 K/", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_02.json new file mode 100644 index 00000000..a8fcd493 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "createdAt": "<1\ud8b2\ude06\ud9e3\uddd0\u00c5\\H\udac2\ude13", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_03.json new file mode 100644 index 00000000..a07e7578 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "createdAt": "\ud84a\udf23\ud8ca\udc7c\u00cd\u00b7\u00f0\u0098\u00b2+\u009a\ud8c4\udd7f", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_04.json new file mode 100644 index 00000000..86f8aec0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "createdAt": "\ud8e9\udcb3\u00f0\u008d\u0085\ud8dd\udc2f", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_04.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_05.json new file mode 100644 index 00000000..a55179e1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "createdAt": "\udb4a\udfbee\ud80d\udd4d\u0097\u00f1>", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_05.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_06.json new file mode 100644 index 00000000..787049d9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "createdAt": "\udbcf\udda6\ud879\udf78", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_06.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_07.json new file mode 100644 index 00000000..27753ca6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "createdAt": "\u531f16\u00c8\u0012\ud814\udce0", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_08.json new file mode 100644 index 00000000..fbd92030 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "createdAt": "hh", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_09.json new file mode 100644 index 00000000..21d5695d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "createdAt": "E\u0085\ud804\udd26\ud842\uddc3Z", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_10.json new file mode 100644 index 00000000..a96a78b4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "createdAt": "\udae7\udefd\udae7\udefd\ud9ae\udefe\ud82f\udfa8\udbe4\udc8c\ud80f\udeb6", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/only_date.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/only_date.json new file mode 100644 index 00000000..60e2a8b8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/only_date.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/only_date.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/only_date.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/only_date.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/only_date_with_time_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/only_date_with_time_zone.json new file mode 100644 index 00000000..1adc2fee --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/only_date_with_time_zone.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01Z", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/only_date_with_time_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/only_date_with_time_zone.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/only_date_with_time_zone.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/without_minutes.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/without_minutes.json new file mode 100644 index 00000000..d6375e1b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/without_minutes.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T01Z", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/without_minutes.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/without_minutes.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/without_minutes.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/without_seconds.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/without_seconds.json new file mode 100644 index 00000000..896ba384 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/without_seconds.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T01:02Z", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/without_seconds.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/without_seconds.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/createdAt/without_seconds.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_01.json new file mode 100644 index 00000000..a968ff06 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_02.json new file mode 100644 index 00000000..dc0ea717 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_03.json new file mode 100644 index 00000000..023f5e6d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_04.json new file mode 100644 index 00000000..06eb33a1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_05.json new file mode 100644 index 00000000..6fc728f0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_06.json new file mode 100644 index 00000000..f4c6d294 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_07.json new file mode 100644 index 00000000..197855d5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_08.json new file mode 100644 index 00000000..2c6f1c96 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_09.json new file mode 100644 index 00000000..a6bbd8c9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_10.json new file mode 100644 index 00000000..f4dd37e0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/id/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/date_time_with_UTC_and_suffix.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/date_time_with_UTC_and_suffix.json new file mode 100644 index 00000000..98157c61 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/date_time_with_UTC_and_suffix.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T01:02:03Z-unexpected-suffix", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/date_time_with_UTC_and_suffix.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/date_time_with_UTC_and_suffix.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/date_time_with_UTC_and_suffix.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/date_time_with_offset.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/date_time_with_offset.json new file mode 100644 index 00000000..b210e1d6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/date_time_with_offset.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T01:02:03+02:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/date_time_with_offset.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/date_time_with_offset.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/date_time_with_offset.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/date_time_without_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/date_time_without_zone.json new file mode 100644 index 00000000..163c0e1e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/date_time_without_zone.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T01:02:03", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/date_time_without_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/date_time_without_zone.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/date_time_without_zone.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/empty.json new file mode 100644 index 00000000..a58114e5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/empty.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/empty.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/empty.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/invalid_february_29th.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/invalid_february_29th.json new file mode 100644 index 00000000..f0ee01d1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/invalid_february_29th.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2026-02-29T01:02:03Z", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/invalid_february_29th.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/invalid_february_29th.json.errors new file mode 100644 index 00000000..1058cd79 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/invalid_february_29th.json.errors @@ -0,0 +1,2 @@ +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_01.json new file mode 100644 index 00000000..ae241f60 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "hh?a\u00e5x\uc733\u0010[\u0082\u0015 K/", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_02.json new file mode 100644 index 00000000..2e00c743 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "<1\ud8b2\ude06\ud9e3\uddd0\u00c5\\H\udac2\ude13", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_03.json new file mode 100644 index 00000000..b872bbb6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "\ud84a\udf23\ud8ca\udc7c\u00cd\u00b7\u00f0\u0098\u00b2+\u009a\ud8c4\udd7f", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_04.json new file mode 100644 index 00000000..3bcd0a4e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "\ud8e9\udcb3\u00f0\u008d\u0085\ud8dd\udc2f", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_04.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_05.json new file mode 100644 index 00000000..926587f1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "\udb4a\udfbee\ud80d\udd4d\u0097\u00f1>", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_05.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_06.json new file mode 100644 index 00000000..327995cf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "\udbcf\udda6\ud879\udf78", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_06.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_07.json new file mode 100644 index 00000000..335cc561 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "\u531f16\u00c8\u0012\ud814\udce0", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_08.json new file mode 100644 index 00000000..a974c0c2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "hh", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_09.json new file mode 100644 index 00000000..2a28e809 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "E\u0085\ud804\udd26\ud842\uddc3Z", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_10.json new file mode 100644 index 00000000..76f8939b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "\udae7\udefd\udae7\udefd\ud9ae\udefe\ud82f\udfa8\udbe4\udc8c\ud80f\udeb6", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/only_date.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/only_date.json new file mode 100644 index 00000000..507cefeb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/only_date.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/only_date.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/only_date.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/only_date.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/only_date_with_time_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/only_date_with_time_zone.json new file mode 100644 index 00000000..ba1b0ac0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/only_date_with_time_zone.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01Z", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/only_date_with_time_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/only_date_with_time_zone.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/only_date_with_time_zone.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/without_minutes.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/without_minutes.json new file mode 100644 index 00000000..9856a55b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/without_minutes.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T01Z", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/without_minutes.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/without_minutes.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/without_minutes.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/without_seconds.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/without_seconds.json new file mode 100644 index 00000000..283c89f7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/without_seconds.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T01:02Z", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/without_seconds.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/without_seconds.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescriptionRecentChange/updatedAt/without_seconds.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_01.json new file mode 100644 index 00000000..180799ce --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_01.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "sourceOfDefinition": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b33ac7d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_02.json new file mode 100644 index 00000000..2b6597ef --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_02.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "sourceOfDefinition": "\u990d\u0017\u00bd\u00e9", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b33ac7d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_03.json new file mode 100644 index 00000000..8df44223 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_03.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "sourceOfDefinition": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b33ac7d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_04.json new file mode 100644 index 00000000..3e09fb89 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_04.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "sourceOfDefinition": "\u00ba\u00f2\u0018\u007f", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b33ac7d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_05.json new file mode 100644 index 00000000..47662950 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_05.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "sourceOfDefinition": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b33ac7d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_06.json new file mode 100644 index 00000000..9e2f4f6f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_06.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "sourceOfDefinition": "0\u0000\u009a\uda84\ude06", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b33ac7d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_07.json new file mode 100644 index 00000000..cc35ea84 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_07.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "sourceOfDefinition": "\ubd07\u00e0c\u001dr\f", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b33ac7d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_08.json new file mode 100644 index 00000000..4e1aaae0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_08.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "sourceOfDefinition": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b33ac7d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_09.json new file mode 100644 index 00000000..4221c0df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_09.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "sourceOfDefinition": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b33ac7d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_10.json new file mode 100644 index 00000000..70d12897 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_10.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "sourceOfDefinition": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b33ac7d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_01.json new file mode 100644 index 00000000..9b600223 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_01.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_02.json new file mode 100644 index 00000000..aca97d17 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_02.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "\u990d\u0017\u00bd\u00e9", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_03.json new file mode 100644 index 00000000..4136daa5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_03.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_04.json new file mode 100644 index 00000000..52eecbfa --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_04.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "\u00ba\u00f2\u0018\u007f", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_05.json new file mode 100644 index 00000000..6dd6fcda --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_05.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_06.json new file mode 100644 index 00000000..0fc0e704 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_06.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "0\u0000\u009a\uda84\ude06", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_07.json new file mode 100644 index 00000000..4df81f1d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_07.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "\ubd07\u00e0c\u001dr\f", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_08.json new file mode 100644 index 00000000..abbef4d5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_08.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_09.json new file mode 100644 index 00000000..77692a12 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_09.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_10.json new file mode 100644 index 00000000..e5dbb769 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_10.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_01.json new file mode 100644 index 00000000..9e05f6ff --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_01.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "unit": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..be5221c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_02.json new file mode 100644 index 00000000..babe65f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_02.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "unit": "\u990d\u0017\u00bd\u00e9", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..be5221c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_03.json new file mode 100644 index 00000000..054038bf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_03.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "unit": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..be5221c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_04.json new file mode 100644 index 00000000..f9344cea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_04.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "unit": "\u00ba\u00f2\u0018\u007f", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..be5221c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_05.json new file mode 100644 index 00000000..aa8dcbed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_05.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "unit": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..be5221c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_06.json new file mode 100644 index 00000000..efa6ae60 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_06.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "unit": "0\u0000\u009a\uda84\ude06", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..be5221c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_07.json new file mode 100644 index 00000000..af445da3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_07.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "unit": "\ubd07\u00e0c\u001dr\f", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..be5221c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_08.json new file mode 100644 index 00000000..df84c89d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_08.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "unit": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..be5221c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_09.json new file mode 100644 index 00000000..baa4c2cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_09.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "unit": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..be5221c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_10.json new file mode 100644 index 00000000..9701d426 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_10.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "unit": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..be5221c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_01.json new file mode 100644 index 00000000..82ceb6b1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_01.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "value": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_02.json new file mode 100644 index 00000000..5127e775 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_02.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "value": "\u990d\u0017\u00bd\u00e9", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_03.json new file mode 100644 index 00000000..b15cf70d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_03.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "value": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_04.json new file mode 100644 index 00000000..725e95bb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_04.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "value": "\u00ba\u00f2\u0018\u007f", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_05.json new file mode 100644 index 00000000..d84bfa10 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_05.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "value": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_06.json new file mode 100644 index 00000000..a0b7cc1b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_06.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "value": "0\u0000\u009a\uda84\ude06", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_07.json new file mode 100644 index 00000000..91add6bd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_07.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "value": "\ubd07\u00e0c\u001dr\f", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_08.json new file mode 100644 index 00000000..551613f4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_08.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "value": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_09.json new file mode 100644 index 00000000..45ebead9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_09.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "value": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_10.json new file mode 100644 index 00000000..0e502dc3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_10.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "value": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_01.json new file mode 100644 index 00000000..0cbf73db --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_01.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "valueFormat": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..d64dd3df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_02.json new file mode 100644 index 00000000..a40f58f7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_02.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "valueFormat": "\u990d\u0017\u00bd\u00e9", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..d64dd3df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_03.json new file mode 100644 index 00000000..7f34606a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_03.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "valueFormat": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..d64dd3df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_04.json new file mode 100644 index 00000000..96e73b98 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_04.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "valueFormat": "\u00ba\u00f2\u0018\u007f", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..d64dd3df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_05.json new file mode 100644 index 00000000..260e5e70 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_05.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "valueFormat": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..d64dd3df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_06.json new file mode 100644 index 00000000..263ebf42 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_06.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "valueFormat": "0\u0000\u009a\uda84\ude06", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..d64dd3df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_07.json new file mode 100644 index 00000000..321fc969 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_07.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "valueFormat": "\ubd07\u00e0c\u001dr\f", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..d64dd3df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_08.json new file mode 100644 index 00000000..9169e5ec --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_08.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "valueFormat": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..d64dd3df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_09.json new file mode 100644 index 00000000..0f46cb00 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_09.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "valueFormat": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..d64dd3df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_10.json new file mode 100644 index 00000000..ed2aca7c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_10.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "valueFormat": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..d64dd3df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_01.json new file mode 100644 index 00000000..a718a2d6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_01.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "classificationSystem": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..9668e350 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +classificationSystem: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_02.json new file mode 100644 index 00000000..4aef63f1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_02.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "classificationSystem": "\u990d\u0017\u00bd\u00e9", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..9668e350 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +classificationSystem: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_03.json new file mode 100644 index 00000000..77b8435a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_03.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "classificationSystem": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..9668e350 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +classificationSystem: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_04.json new file mode 100644 index 00000000..cfcbbae5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_04.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "classificationSystem": "\u00ba\u00f2\u0018\u007f", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..9668e350 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +classificationSystem: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_05.json new file mode 100644 index 00000000..b1dd1158 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_05.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "classificationSystem": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..9668e350 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +classificationSystem: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_06.json new file mode 100644 index 00000000..13029da0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_06.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "classificationSystem": "0\u0000\u009a\uda84\ude06", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..9668e350 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +classificationSystem: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_07.json new file mode 100644 index 00000000..68b6d7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_07.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "classificationSystem": "\ubd07\u00e0c\u001dr\f", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..9668e350 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +classificationSystem: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_08.json new file mode 100644 index 00000000..673aa889 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_08.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "classificationSystem": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..9668e350 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +classificationSystem: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_09.json new file mode 100644 index 00000000..13504361 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_09.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "classificationSystem": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..9668e350 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +classificationSystem: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_10.json new file mode 100644 index 00000000..726b3d83 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_10.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "classificationSystem": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..9668e350 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystem/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +classificationSystem: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_01.json new file mode 100644 index 00000000..05d612fb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_01.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "classificationSystemVersion": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..005ab3ef --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +classificationSystemVersion: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_02.json new file mode 100644 index 00000000..2f090da2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_02.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "classificationSystemVersion": "\u990d\u0017\u00bd\u00e9", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..005ab3ef --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +classificationSystemVersion: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_03.json new file mode 100644 index 00000000..ce897a80 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_03.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "classificationSystemVersion": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..005ab3ef --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +classificationSystemVersion: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_04.json new file mode 100644 index 00000000..bd715890 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_04.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "classificationSystemVersion": "\u00ba\u00f2\u0018\u007f", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..005ab3ef --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +classificationSystemVersion: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_05.json new file mode 100644 index 00000000..58658092 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_05.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "classificationSystemVersion": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..005ab3ef --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +classificationSystemVersion: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_06.json new file mode 100644 index 00000000..b4754b43 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_06.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "classificationSystemVersion": "0\u0000\u009a\uda84\ude06", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..005ab3ef --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +classificationSystemVersion: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_07.json new file mode 100644 index 00000000..3d137a39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_07.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "classificationSystemVersion": "\ubd07\u00e0c\u001dr\f", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..005ab3ef --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +classificationSystemVersion: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_08.json new file mode 100644 index 00000000..d32dcaad --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_08.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "classificationSystemVersion": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..005ab3ef --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +classificationSystemVersion: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_09.json new file mode 100644 index 00000000..365b2211 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_09.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "classificationSystemVersion": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..005ab3ef --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +classificationSystemVersion: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_10.json new file mode 100644 index 00000000..9d9b3231 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_10.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "classificationSystemVersion": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..005ab3ef --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/classificationSystemVersion/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +classificationSystemVersion: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_01.json new file mode 100644 index 00000000..5bf84a93 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_01.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "quantityId": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..c86fdcd8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +quantityId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_02.json new file mode 100644 index 00000000..d757e3e4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_02.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "quantityId": "\u990d\u0017\u00bd\u00e9", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..c86fdcd8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +quantityId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_03.json new file mode 100644 index 00000000..7e364618 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_03.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "quantityId": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..c86fdcd8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +quantityId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_04.json new file mode 100644 index 00000000..474c9031 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_04.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "quantityId": "\u00ba\u00f2\u0018\u007f", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..c86fdcd8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +quantityId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_05.json new file mode 100644 index 00000000..ea2105b5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_05.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "quantityId": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..c86fdcd8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +quantityId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_06.json new file mode 100644 index 00000000..a486b7f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_06.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "quantityId": "0\u0000\u009a\uda84\ude06", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..c86fdcd8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +quantityId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_07.json new file mode 100644 index 00000000..f5302a72 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_07.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "quantityId": "\ubd07\u00e0c\u001dr\f", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..c86fdcd8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +quantityId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_08.json new file mode 100644 index 00000000..14f862e6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_08.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "quantityId": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..c86fdcd8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +quantityId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_09.json new file mode 100644 index 00000000..d5a97d38 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_09.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "quantityId": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..c86fdcd8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +quantityId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_10.json new file mode 100644 index 00000000..61fd5263 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_10.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "quantityId": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..c86fdcd8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/quantityId/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +quantityId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_01.json new file mode 100644 index 00000000..2dc137f3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_01.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "specificUnitId": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..35a36db1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +specificUnitId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_02.json new file mode 100644 index 00000000..8526eb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_02.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "specificUnitId": "\u990d\u0017\u00bd\u00e9", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..35a36db1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +specificUnitId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_03.json new file mode 100644 index 00000000..81e0fb63 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_03.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "specificUnitId": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..35a36db1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +specificUnitId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_04.json new file mode 100644 index 00000000..cace9fd3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_04.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "specificUnitId": "\u00ba\u00f2\u0018\u007f", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..35a36db1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +specificUnitId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_05.json new file mode 100644 index 00000000..affb5c22 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_05.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "specificUnitId": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..35a36db1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +specificUnitId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_06.json new file mode 100644 index 00000000..de52edd2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_06.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "specificUnitId": "0\u0000\u009a\uda84\ude06", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..35a36db1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +specificUnitId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_07.json new file mode 100644 index 00000000..78de98d2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_07.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "specificUnitId": "\ubd07\u00e0c\u001dr\f", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..35a36db1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +specificUnitId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_08.json new file mode 100644 index 00000000..e469ec56 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_08.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "specificUnitId": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..35a36db1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +specificUnitId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_09.json new file mode 100644 index 00000000..9de207e5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_09.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "specificUnitId": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..35a36db1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +specificUnitId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_10.json new file mode 100644 index 00000000..27f5ef6b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_10.json @@ -0,0 +1,11 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "specificUnitId": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..35a36db1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/specificUnitId/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +specificUnitId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_01.json new file mode 100644 index 00000000..523e6fc0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_01.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_02.json new file mode 100644 index 00000000..91d027d0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_02.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "\u990d\u0017\u00bd\u00e9", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_03.json new file mode 100644 index 00000000..99749225 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_03.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_04.json new file mode 100644 index 00000000..23703bba --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_04.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "\u00ba\u00f2\u0018\u007f", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_05.json new file mode 100644 index 00000000..4b69392c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_05.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_06.json new file mode 100644 index 00000000..55728e20 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_06.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "0\u0000\u009a\uda84\ude06", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_07.json new file mode 100644 index 00000000..ef30e80e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_07.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "\ubd07\u00e0c\u001dr\f", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_08.json new file mode 100644 index 00000000..260ea9a0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_08.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_09.json new file mode 100644 index 00000000..1b23d840 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_09.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_10.json new file mode 100644 index 00000000..f969c09a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_10.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "DataSpecificationUom" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationUom/symbol/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/bad_hour.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/bad_hour.json new file mode 100644 index 00000000..3eb17e5e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/bad_hour.json @@ -0,0 +1,3 @@ +{ + "$dateTimeVal": "2024-01-01T25:00:00Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/bad_hour.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/bad_hour.json.errors new file mode 100644 index 00000000..aa5a275e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/bad_hour.json.errors @@ -0,0 +1,2 @@ +["$dateTimeVal"]: Invariant violated: +The value must match the pattern of a date-time literal. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/bad_month.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/bad_month.json new file mode 100644 index 00000000..519b8f1b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/bad_month.json @@ -0,0 +1,3 @@ +{ + "$dateTimeVal": "2024-13-01T12:00:00Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/bad_month.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/bad_month.json.errors new file mode 100644 index 00000000..aa5a275e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/bad_month.json.errors @@ -0,0 +1,2 @@ +["$dateTimeVal"]: Invariant violated: +The value must match the pattern of a date-time literal. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/bad_offset.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/bad_offset.json new file mode 100644 index 00000000..88858a71 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/bad_offset.json @@ -0,0 +1,3 @@ +{ + "$dateTimeVal": "2024-01-01T12:00:00+15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/bad_offset.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/bad_offset.json.errors new file mode 100644 index 00000000..aa5a275e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/bad_offset.json.errors @@ -0,0 +1,2 @@ +["$dateTimeVal"]: Invariant violated: +The value must match the pattern of a date-time literal. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/empty.json new file mode 100644 index 00000000..6dde8b89 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/empty.json @@ -0,0 +1,3 @@ +{ + "$dateTimeVal": "" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/empty.json.errors new file mode 100644 index 00000000..aa5a275e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/empty.json.errors @@ -0,0 +1,2 @@ +["$dateTimeVal"]: Invariant violated: +The value must match the pattern of a date-time literal. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/no_leap_year.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/no_leap_year.json new file mode 100644 index 00000000..4733706a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/no_leap_year.json @@ -0,0 +1,3 @@ +{ + "$dateTimeVal": "2023-02-29T12:00:00Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/no_leap_year.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/no_leap_year.json.errors new file mode 100644 index 00000000..aa5a275e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/no_leap_year.json.errors @@ -0,0 +1,2 @@ +["$dateTimeVal"]: Invariant violated: +The value must match the pattern of a date-time literal. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/no_time.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/no_time.json new file mode 100644 index 00000000..1e9e65dc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/no_time.json @@ -0,0 +1,3 @@ +{ + "$dateTimeVal": "2024-01-01" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/no_time.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/no_time.json.errors new file mode 100644 index 00000000..aa5a275e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DateTimeLiteral/$dateTimeVal/no_time.json.errors @@ -0,0 +1,2 @@ +["$dateTimeVal"]: Invariant violated: +The value must match the pattern of a date-time literal. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/empty.json new file mode 100644 index 00000000..85e3109f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/empty.json @@ -0,0 +1,4 @@ +{ + "language": "", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/empty.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/empty.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/free_form_text.json new file mode 100644 index 00000000..371a3a4a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/free_form_text.json @@ -0,0 +1,4 @@ +{ + "language": "some free-form text", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/free_form_text.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/free_form_text.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_01.json new file mode 100644 index 00000000..51a5c57f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "\ud836\ude00\udb88\udc76\ud86e\udff6\ud934\udd55\u00bc\u00b0\u0007\u00ea\u008b\u0000\u0004\ud817\ude5a", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_02.json new file mode 100644 index 00000000..7a0359c3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "\u00dbg\udbd4\udd56\u00b2\ud9d5\ude34e\u00b4\uda1d\udf95", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_03.json new file mode 100644 index 00000000..a52b6f22 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_04.json new file mode 100644 index 00000000..df7f7266 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "0", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_05.json new file mode 100644 index 00000000..e5266acf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "\udbc2\udf017111", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_06.json new file mode 100644 index 00000000..86945d95 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "\udb7f\ude8f", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_07.json new file mode 100644 index 00000000..68fc353f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_08.json new file mode 100644 index 00000000..ef64eea2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "\u00f8P\u00ed", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_09.json new file mode 100644 index 00000000..79d633d1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "p\u00dc\ud9ce\udfcb\u00aeA\u00c7", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_10.json new file mode 100644 index 00000000..de6b7df8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "\udb85\uddc8\u000b~\u00fb\u0095\udb19\udcc4", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/language/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_01.json new file mode 100644 index 00000000..923212d4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_02.json new file mode 100644 index 00000000..28eece92 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_03.json new file mode 100644 index 00000000..891df047 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_04.json new file mode 100644 index 00000000..b01ad8c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_05.json new file mode 100644 index 00000000..cc9d39ea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_06.json new file mode 100644 index 00000000..90317a4e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_07.json new file mode 100644 index 00000000..e9a4dc8f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_08.json new file mode 100644 index 00000000..8f5dbd31 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_09.json new file mode 100644 index 00000000..c090e3a3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_10.json new file mode 100644 index 00000000..b31dac5b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DefinitionTypeUom/text/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_01.json new file mode 100644 index 00000000..1b0068af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_01.json @@ -0,0 +1,6 @@ +{ + "protocolInformation": { + "href": "something_72d646a9" + }, + "interface": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..f7f49ce7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +interface: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_02.json new file mode 100644 index 00000000..8bca4722 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_02.json @@ -0,0 +1,6 @@ +{ + "protocolInformation": { + "href": "something_72d646a9" + }, + "interface": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..f7f49ce7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +interface: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_03.json new file mode 100644 index 00000000..39d471bc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_03.json @@ -0,0 +1,6 @@ +{ + "protocolInformation": { + "href": "something_72d646a9" + }, + "interface": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..f7f49ce7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +interface: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_04.json new file mode 100644 index 00000000..83a6f992 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_04.json @@ -0,0 +1,6 @@ +{ + "protocolInformation": { + "href": "something_72d646a9" + }, + "interface": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..f7f49ce7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +interface: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_05.json new file mode 100644 index 00000000..1170a3a9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_05.json @@ -0,0 +1,6 @@ +{ + "protocolInformation": { + "href": "something_72d646a9" + }, + "interface": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..f7f49ce7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +interface: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_06.json new file mode 100644 index 00000000..cab8fcd9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_06.json @@ -0,0 +1,6 @@ +{ + "protocolInformation": { + "href": "something_72d646a9" + }, + "interface": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..f7f49ce7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +interface: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_07.json new file mode 100644 index 00000000..1fb1e08c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_07.json @@ -0,0 +1,6 @@ +{ + "protocolInformation": { + "href": "something_72d646a9" + }, + "interface": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..f7f49ce7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +interface: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_08.json new file mode 100644 index 00000000..18031743 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_08.json @@ -0,0 +1,6 @@ +{ + "protocolInformation": { + "href": "something_72d646a9" + }, + "interface": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..f7f49ce7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +interface: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_09.json new file mode 100644 index 00000000..27f14c5e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_09.json @@ -0,0 +1,6 @@ +{ + "protocolInformation": { + "href": "something_72d646a9" + }, + "interface": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..f7f49ce7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +interface: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_10.json new file mode 100644 index 00000000..2d2ef010 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_10.json @@ -0,0 +1,6 @@ +{ + "protocolInformation": { + "href": "something_72d646a9" + }, + "interface": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..f7f49ce7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Endpoint/interface/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +interface: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..2deb4c5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..56906533 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..82f30527 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..4d88b723 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..0ca69b27 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..91e92783 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..efb6128f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..a4dfa449 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..bdf659f4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..994a0cc4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_01.json new file mode 100644 index 00000000..4556c272 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "globalAssetId": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_02.json new file mode 100644 index 00000000..61273a94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "globalAssetId": "\u990d\u0017\u00bd\u00e9", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_03.json new file mode 100644 index 00000000..5ce43f24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "globalAssetId": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_04.json new file mode 100644 index 00000000..bc8cec9f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "globalAssetId": "\u00ba\u00f2\u0018\u007f", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_05.json new file mode 100644 index 00000000..070bc9ec --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "globalAssetId": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_06.json new file mode 100644 index 00000000..c23afd51 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "globalAssetId": "0\u0000\u009a\uda84\ude06", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_07.json new file mode 100644 index 00000000..05be6641 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "globalAssetId": "\ubd07\u00e0c\u001dr\f", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_08.json new file mode 100644 index 00000000..4bb0e617 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "globalAssetId": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_09.json new file mode 100644 index 00000000..c9397511 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "globalAssetId": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_10.json new file mode 100644 index 00000000..d955b8d7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "globalAssetId": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..b5f4a53b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..d293d361 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..5e0905a4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..fbe95895 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..ea049414 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..0b7e8c30 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..6da695c1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..654ac8bb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..28a74100 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..6a380e9e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..07ce7335 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "EntityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..6f0a8397 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "EntityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..c8bdbb03 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "EntityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..c229c39e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "EntityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..ff2d950c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "EntityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..902f44e1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "EntityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..847f76a0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "EntityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..af45f81c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "EntityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..081197bf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "EntityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..7e6c3bae --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "EntityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..634b3fe2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "EntityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..3449a817 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "EntityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..a90efd99 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "EntityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..477c6c7e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "EntityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..98cbfe25 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "EntityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..8523f5df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "EntityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..e363e72f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "EntityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..80aa7abc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "EntityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..710143fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "EntityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..dea34f8d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "EntityMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityMetadata/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_01.json new file mode 100644 index 00000000..66189e2d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_01.json @@ -0,0 +1,3 @@ +{ + "globalAssetId": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_02.json new file mode 100644 index 00000000..d87dffa2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_02.json @@ -0,0 +1,3 @@ +{ + "globalAssetId": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_03.json new file mode 100644 index 00000000..4d5db827 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_03.json @@ -0,0 +1,3 @@ +{ + "globalAssetId": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_04.json new file mode 100644 index 00000000..b81c50f1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_04.json @@ -0,0 +1,3 @@ +{ + "globalAssetId": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_05.json new file mode 100644 index 00000000..49835e5c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_05.json @@ -0,0 +1,3 @@ +{ + "globalAssetId": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_06.json new file mode 100644 index 00000000..92f92707 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_06.json @@ -0,0 +1,3 @@ +{ + "globalAssetId": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_07.json new file mode 100644 index 00000000..f4da00c2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_07.json @@ -0,0 +1,3 @@ +{ + "globalAssetId": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_08.json new file mode 100644 index 00000000..f36335f7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_08.json @@ -0,0 +1,3 @@ +{ + "globalAssetId": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_09.json new file mode 100644 index 00000000..1b016664 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_09.json @@ -0,0 +1,3 @@ +{ + "globalAssetId": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_10.json new file mode 100644 index 00000000..b98702da --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_10.json @@ -0,0 +1,3 @@ +{ + "globalAssetId": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EntityValue/globalAssetId/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_UTC_and_suffix.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_UTC_and_suffix.json new file mode 100644 index 00000000..2d3f9530 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_UTC_and_suffix.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "2022-04-01T01:02:03Z-unexpected-suffix" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_UTC_and_suffix.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_UTC_and_suffix.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_UTC_and_suffix.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_offset.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_offset.json new file mode 100644 index 00000000..896e08a8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_offset.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "2022-04-01T01:02:03+02:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_offset.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_offset.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_offset.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_without_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_without_zone.json new file mode 100644 index 00000000..0725f77d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_without_zone.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "2022-04-01T01:02:03" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_without_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_without_zone.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_without_zone.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/empty.json new file mode 100644 index 00000000..1fc292df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/empty.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/empty.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/empty.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/invalid_february_29th.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/invalid_february_29th.json new file mode 100644 index 00000000..ac5ac3b4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/invalid_february_29th.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "2026-02-29T01:02:03Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/invalid_february_29th.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/invalid_february_29th.json.errors new file mode 100644 index 00000000..698e336a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/invalid_february_29th.json.errors @@ -0,0 +1,2 @@ +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_01.json new file mode 100644 index 00000000..0c7ff7b9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_01.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "hh?a\u00e5x\uc733\u0010[\u0082\u0015 K/" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_02.json new file mode 100644 index 00000000..3f1fe385 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_02.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "<1\ud8b2\ude06\ud9e3\uddd0\u00c5\\H\udac2\ude13" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_03.json new file mode 100644 index 00000000..61e5c20e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_03.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "\ud84a\udf23\ud8ca\udc7c\u00cd\u00b7\u00f0\u0098\u00b2+\u009a\ud8c4\udd7f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_04.json new file mode 100644 index 00000000..3b1906a1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_04.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "\ud8e9\udcb3\u00f0\u008d\u0085\ud8dd\udc2f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_04.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_05.json new file mode 100644 index 00000000..1ae29cd2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_05.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "\udb4a\udfbee\ud80d\udd4d\u0097\u00f1>" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_05.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_06.json new file mode 100644 index 00000000..03dcc043 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_06.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "\udbcf\udda6\ud879\udf78" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_06.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_07.json new file mode 100644 index 00000000..da73abb0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_07.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "\u531f16\u00c8\u0012\ud814\udce0" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_08.json new file mode 100644 index 00000000..d4360864 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_08.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "hh" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_09.json new file mode 100644 index 00000000..d02a38f1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_09.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "E\u0085\ud804\udd26\ud842\uddc3Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_10.json new file mode 100644 index 00000000..1bff37ac --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_10.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "\udae7\udefd\udae7\udefd\ud9ae\udefe\ud82f\udfa8\udbe4\udc8c\ud80f\udeb6" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date.json new file mode 100644 index 00000000..ca9d853e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "2022-04-01" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date_with_time_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date_with_time_zone.json new file mode 100644 index 00000000..1fd94919 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date_with_time_zone.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "2022-04-01Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date_with_time_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date_with_time_zone.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date_with_time_zone.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_minutes.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_minutes.json new file mode 100644 index 00000000..84ad1d7e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_minutes.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "2022-04-01T01Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_minutes.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_minutes.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_minutes.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_seconds.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_seconds.json new file mode 100644 index 00000000..76d56e65 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_seconds.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "2022-04-01T01:02Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_seconds.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_seconds.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_seconds.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_01.json new file mode 100644 index 00000000..adcc8ecd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_01.json @@ -0,0 +1,26 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "topic": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "timeStamp": "2022-04-01T24:00:00-00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..1ea8ea24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_02.json new file mode 100644 index 00000000..847de5f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_02.json @@ -0,0 +1,26 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "topic": "\u990d\u0017\u00bd\u00e9", + "timeStamp": "2022-04-01T24:00:00-00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..1ea8ea24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_03.json new file mode 100644 index 00000000..d802e46e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_03.json @@ -0,0 +1,26 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "topic": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "timeStamp": "2022-04-01T24:00:00-00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..1ea8ea24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_04.json new file mode 100644 index 00000000..424d6308 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_04.json @@ -0,0 +1,26 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "topic": "\u00ba\u00f2\u0018\u007f", + "timeStamp": "2022-04-01T24:00:00-00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..1ea8ea24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_05.json new file mode 100644 index 00000000..9d58de3b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_05.json @@ -0,0 +1,26 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "topic": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "timeStamp": "2022-04-01T24:00:00-00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..1ea8ea24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_06.json new file mode 100644 index 00000000..62c92202 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_06.json @@ -0,0 +1,26 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "topic": "0\u0000\u009a\uda84\ude06", + "timeStamp": "2022-04-01T24:00:00-00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..1ea8ea24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_07.json new file mode 100644 index 00000000..43b74c01 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_07.json @@ -0,0 +1,26 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "topic": "\ubd07\u00e0c\u001dr\f", + "timeStamp": "2022-04-01T24:00:00-00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..1ea8ea24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_08.json new file mode 100644 index 00000000..e47eb6c4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_08.json @@ -0,0 +1,26 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "topic": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "timeStamp": "2022-04-01T24:00:00-00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..1ea8ea24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_09.json new file mode 100644 index 00000000..29fe8529 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_09.json @@ -0,0 +1,26 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "topic": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "timeStamp": "2022-04-01T24:00:00-00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..1ea8ea24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_10.json new file mode 100644 index 00000000..eb535927 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_10.json @@ -0,0 +1,26 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "topic": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "timeStamp": "2022-04-01T24:00:00-00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..1ea8ea24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_01.json new file mode 100644 index 00000000..000c3d06 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_01.json @@ -0,0 +1,3 @@ +{ + "name": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_02.json new file mode 100644 index 00000000..f4110432 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_02.json @@ -0,0 +1,3 @@ +{ + "name": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_03.json new file mode 100644 index 00000000..8d96c08e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_03.json @@ -0,0 +1,3 @@ +{ + "name": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_04.json new file mode 100644 index 00000000..b6eaf7cf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_04.json @@ -0,0 +1,3 @@ +{ + "name": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_05.json new file mode 100644 index 00000000..cac1b1f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_05.json @@ -0,0 +1,3 @@ +{ + "name": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_06.json new file mode 100644 index 00000000..97c234ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_06.json @@ -0,0 +1,3 @@ +{ + "name": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_07.json new file mode 100644 index 00000000..eb59e668 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_07.json @@ -0,0 +1,3 @@ +{ + "name": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_08.json new file mode 100644 index 00000000..79482785 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_08.json @@ -0,0 +1,3 @@ +{ + "name": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_09.json new file mode 100644 index 00000000..c544c118 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_09.json @@ -0,0 +1,3 @@ +{ + "name": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_10.json new file mode 100644 index 00000000..9e8f20d6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_10.json @@ -0,0 +1,3 @@ +{ + "name": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/bare_index.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/bare_index.json new file mode 100644 index 00000000..cd1fc278 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/bare_index.json @@ -0,0 +1,3 @@ +{ + "$field": "$aas#submodels[a]" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/bare_index.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/bare_index.json.errors new file mode 100644 index 00000000..3936fe18 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/bare_index.json.errors @@ -0,0 +1,2 @@ +["$field"]: Invariant violated: +The value must match the pattern of a field identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/empty.json new file mode 100644 index 00000000..8125d698 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/empty.json @@ -0,0 +1,3 @@ +{ + "$field": "" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/empty.json.errors new file mode 100644 index 00000000..3936fe18 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/empty.json.errors @@ -0,0 +1,2 @@ +["$field"]: Invariant violated: +The value must match the pattern of a field identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/id_short_path_trailing_dot.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/id_short_path_trailing_dot.json new file mode 100644 index 00000000..091f1019 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/id_short_path_trailing_dot.json @@ -0,0 +1,3 @@ +{ + "$field": "$sme.a.#value" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/id_short_path_trailing_dot.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/id_short_path_trailing_dot.json.errors new file mode 100644 index 00000000..3936fe18 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/id_short_path_trailing_dot.json.errors @@ -0,0 +1,2 @@ +["$field"]: Invariant violated: +The value must match the pattern of a field identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/leading_zero_index.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/leading_zero_index.json new file mode 100644 index 00000000..954f2abe --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/leading_zero_index.json @@ -0,0 +1,3 @@ +{ + "$field": "$aas#submodels[01]" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/leading_zero_index.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/leading_zero_index.json.errors new file mode 100644 index 00000000..3936fe18 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/leading_zero_index.json.errors @@ -0,0 +1,2 @@ +["$field"]: Invariant violated: +The value must match the pattern of a field identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/missing_attribute.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/missing_attribute.json new file mode 100644 index 00000000..da4b6827 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/missing_attribute.json @@ -0,0 +1,3 @@ +{ + "$field": "$aas" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/missing_attribute.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/missing_attribute.json.errors new file mode 100644 index 00000000..3936fe18 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/missing_attribute.json.errors @@ -0,0 +1,2 @@ +["$field"]: Invariant violated: +The value must match the pattern of a field identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/no_hash.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/no_hash.json new file mode 100644 index 00000000..e733e994 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/no_hash.json @@ -0,0 +1,3 @@ +{ + "$field": "$sm.idShort" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/no_hash.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/no_hash.json.errors new file mode 100644 index 00000000..3936fe18 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/no_hash.json.errors @@ -0,0 +1,2 @@ +["$field"]: Invariant violated: +The value must match the pattern of a field identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/unknown_root.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/unknown_root.json new file mode 100644 index 00000000..4c931bce --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/unknown_root.json @@ -0,0 +1,3 @@ +{ + "$field": "$xyz#idShort" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/unknown_root.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/unknown_root.json.errors new file mode 100644 index 00000000..3936fe18 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/unknown_root.json.errors @@ -0,0 +1,2 @@ +["$field"]: Invariant violated: +The value must match the pattern of a field identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/wrong_attribute.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/wrong_attribute.json new file mode 100644 index 00000000..17e9d1de --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/wrong_attribute.json @@ -0,0 +1,3 @@ +{ + "$field": "$cd#value" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/wrong_attribute.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/wrong_attribute.json.errors new file mode 100644 index 00000000..3936fe18 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FieldOperand/$field/wrong_attribute.json.errors @@ -0,0 +1,2 @@ +["$field"]: Invariant violated: +The value must match the pattern of a field identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..9a7a00a6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..ac19da57 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..50279ef0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..ef3c326b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..24007373 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..5bdd533d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..e47104f1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..f77fea02 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..77695ab6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..b452a144 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/empty.json new file mode 100644 index 00000000..091bc720 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/empty.json @@ -0,0 +1,4 @@ +{ + "contentType": "", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/empty.json.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/empty.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_01.json new file mode 100644 index 00000000..6f849482 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "contentType": "\uda86\udf2e\udb69\udf6e\udae1\udefa7\u001e\u00fd\u00d1\u009d|\udbc6\uddcd", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..bfb660cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_02.json new file mode 100644 index 00000000..6f849482 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "contentType": "\uda86\udf2e\udb69\udf6e\udae1\udefa7\u001e\u00fd\u00d1\u009d|\udbc6\uddcd", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..bfb660cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_03.json new file mode 100644 index 00000000..6f42afb9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "contentType": "\ud845\udd39", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_04.json new file mode 100644 index 00000000..be51646b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "contentType": "\u00d0\u00d0", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_05.json new file mode 100644 index 00000000..d8f1712c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "contentType": "\udb37\udd7d\u00a7\u0085\u00b0\u00a2\udace\udc5a>3\udba3\udd37", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_06.json new file mode 100644 index 00000000..be751b25 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "contentType": "q\u0095d", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_07.json new file mode 100644 index 00000000..96198e97 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "contentType": "0", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_08.json new file mode 100644 index 00000000..091bc720 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "contentType": "", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_09.json new file mode 100644 index 00000000..886fd999 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "contentType": "\r|\u00e4", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_10.json new file mode 100644 index 00000000..39e1387e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "contentType": "\ud832\udfb0\ud832\udfb0", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/number.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/number.json new file mode 100644 index 00000000..a3701db6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/number.json @@ -0,0 +1,4 @@ +{ + "contentType": "1234", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/number.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/number.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/number.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..7e5e419e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..6283779b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..fc3231a7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..34aafe1e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..b8f36b42 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..03ba5d6d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..db5aa7d4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..014c0cb5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..d3ee88ec --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..f86b210a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_01.json new file mode 100644 index 00000000..2f9fc4a0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "value": "\ud8eb\udfa4", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_02.json new file mode 100644 index 00000000..3180b1a0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "value": "\udb37\udeae\uaa01", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_03.json new file mode 100644 index 00000000..e654fb9e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "value": "\u00e7\u00f6", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_04.json new file mode 100644 index 00000000..a26720a9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "value": "_\u0018\u00e5\u00a2\u0084z|\u009d\udbf0\ude8b\ud949\udd5e\udbb9\udd61i\udb0a\udf21-\u0081", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..98bd00b0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_04.json.errors @@ -0,0 +1,4 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_05.json new file mode 100644 index 00000000..488b1c42 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "value": "\u0086\u4023\ud819\uddc5", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_06.json new file mode 100644 index 00000000..64672b72 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "value": "\udb37\udeae\uaa01\ud966\udd0a", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_07.json new file mode 100644 index 00000000..71e71f49 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "value": "\u0801\u0801\u007f\ud858\udea9", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_08.json new file mode 100644 index 00000000..c2a82dda --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "value": "\ue140P\u0081K\u00e2", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_09.json new file mode 100644 index 00000000..fbb81d00 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "value": "\u00f0\"u", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_10.json new file mode 100644 index 00000000..f2d3fa3b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "value": "00\ud800\udc07", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_01.json new file mode 100644 index 00000000..e5d02b42 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_01.json @@ -0,0 +1,4 @@ +{ + "value": "http://exa mple.org", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_01.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_01.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_02.json new file mode 100644 index 00000000..99be1d43 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_02.json @@ -0,0 +1,4 @@ +{ + "value": "://example.org", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_02.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_02.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..15a7b77b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "FileMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..f2790197 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "FileMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..1b40fc77 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "FileMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..b0b4e654 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "FileMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..b9b8985e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "FileMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..ef2d1f45 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "FileMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..d686ca76 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "FileMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..4ca7d6ce --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "FileMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..619323d5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "FileMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..35ff28b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "FileMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..d0c3f129 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "FileMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..a49568fd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "FileMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..6dc96d9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "FileMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..3dfb67c1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "FileMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..e95a221e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "FileMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..ef47d3ab --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "FileMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..1c603c05 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "FileMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..e6ab269e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "FileMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..9e4bf96d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "FileMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..2e91b39e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "FileMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileMetadata/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/empty.json new file mode 100644 index 00000000..185e685d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/empty.json @@ -0,0 +1,3 @@ +{ + "contentType": "" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/empty.json.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/empty.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_01.json new file mode 100644 index 00000000..33e23f72 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_01.json @@ -0,0 +1,3 @@ +{ + "contentType": "\uda86\udf2e\udb69\udf6e\udae1\udefa7\u001e\u00fd\u00d1\u009d|\udbc6\uddcd" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..bfb660cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_02.json new file mode 100644 index 00000000..33e23f72 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_02.json @@ -0,0 +1,3 @@ +{ + "contentType": "\uda86\udf2e\udb69\udf6e\udae1\udefa7\u001e\u00fd\u00d1\u009d|\udbc6\uddcd" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..bfb660cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_03.json new file mode 100644 index 00000000..a061c1f4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_03.json @@ -0,0 +1,3 @@ +{ + "contentType": "\ud845\udd39" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_04.json new file mode 100644 index 00000000..fbb3a7c2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_04.json @@ -0,0 +1,3 @@ +{ + "contentType": "\u00d0\u00d0" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_05.json new file mode 100644 index 00000000..ca79dbb2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_05.json @@ -0,0 +1,3 @@ +{ + "contentType": "\udb37\udd7d\u00a7\u0085\u00b0\u00a2\udace\udc5a>3\udba3\udd37" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_06.json new file mode 100644 index 00000000..fb94e0d2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_06.json @@ -0,0 +1,3 @@ +{ + "contentType": "q\u0095d" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_07.json new file mode 100644 index 00000000..7fc9742c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_07.json @@ -0,0 +1,3 @@ +{ + "contentType": "0" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_08.json new file mode 100644 index 00000000..185e685d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_08.json @@ -0,0 +1,3 @@ +{ + "contentType": "" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_09.json new file mode 100644 index 00000000..905a3dd6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_09.json @@ -0,0 +1,3 @@ +{ + "contentType": "\r|\u00e4" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_10.json new file mode 100644 index 00000000..89f3e0b6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_10.json @@ -0,0 +1,3 @@ +{ + "contentType": "\ud832\udfb0\ud832\udfb0" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/number.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/number.json new file mode 100644 index 00000000..a8c84eba --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/number.json @@ -0,0 +1,3 @@ +{ + "contentType": "1234" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/number.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/number.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/contentType/number.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_01.json new file mode 100644 index 00000000..5df7c431 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_01.json @@ -0,0 +1,3 @@ +{ + "value": "\ud8eb\udfa4" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_02.json new file mode 100644 index 00000000..486f7a43 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_02.json @@ -0,0 +1,3 @@ +{ + "value": "\udb37\udeae\uaa01" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_03.json new file mode 100644 index 00000000..4a623891 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_03.json @@ -0,0 +1,3 @@ +{ + "value": "\u00e7\u00f6" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_04.json new file mode 100644 index 00000000..be6f99db --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_04.json @@ -0,0 +1,3 @@ +{ + "value": "_\u0018\u00e5\u00a2\u0084z|\u009d\udbf0\ude8b\ud949\udd5e\udbb9\udd61i\udb0a\udf21-\u0081" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..98bd00b0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_04.json.errors @@ -0,0 +1,4 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_05.json new file mode 100644 index 00000000..e6b8aa9a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_05.json @@ -0,0 +1,3 @@ +{ + "value": "\u0086\u4023\ud819\uddc5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_06.json new file mode 100644 index 00000000..d1708502 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_06.json @@ -0,0 +1,3 @@ +{ + "value": "\udb37\udeae\uaa01\ud966\udd0a" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_07.json new file mode 100644 index 00000000..5996ae7a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_07.json @@ -0,0 +1,3 @@ +{ + "value": "\u0801\u0801\u007f\ud858\udea9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_08.json new file mode 100644 index 00000000..d1a94796 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_08.json @@ -0,0 +1,3 @@ +{ + "value": "\ue140P\u0081K\u00e2" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_09.json new file mode 100644 index 00000000..e946f528 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_09.json @@ -0,0 +1,3 @@ +{ + "value": "\u00f0\"u" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_10.json new file mode 100644 index 00000000..573eec2e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_10.json @@ -0,0 +1,3 @@ +{ + "value": "00\ud800\udc07" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_made_up_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_made_up_01.json new file mode 100644 index 00000000..b2d9f505 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_made_up_01.json @@ -0,0 +1,3 @@ +{ + "value": "http://exa mple.org" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_made_up_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_made_up_01.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_made_up_01.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_made_up_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_made_up_02.json new file mode 100644 index 00000000..77f5e9a7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_made_up_02.json @@ -0,0 +1,3 @@ +{ + "value": "://example.org" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_made_up_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_made_up_02.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/FileValue/value/negatively_made_up_02.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/empty_digits.json b/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/empty_digits.json new file mode 100644 index 00000000..c5047285 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/empty_digits.json @@ -0,0 +1,3 @@ +{ + "$hexVal": "16#" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/empty_digits.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/empty_digits.json.errors new file mode 100644 index 00000000..834b376f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/empty_digits.json.errors @@ -0,0 +1,2 @@ +["$hexVal"]: Invariant violated: +The value must match the pattern of a hexadecimal literal. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/lower_case.json b/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/lower_case.json new file mode 100644 index 00000000..a8017e25 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/lower_case.json @@ -0,0 +1,3 @@ +{ + "$hexVal": "16#1f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/lower_case.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/lower_case.json.errors new file mode 100644 index 00000000..834b376f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/lower_case.json.errors @@ -0,0 +1,2 @@ +["$hexVal"]: Invariant violated: +The value must match the pattern of a hexadecimal literal. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/no_prefix.json b/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/no_prefix.json new file mode 100644 index 00000000..fe81f9c1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/no_prefix.json @@ -0,0 +1,3 @@ +{ + "$hexVal": "1F" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/no_prefix.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/no_prefix.json.errors new file mode 100644 index 00000000..834b376f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/no_prefix.json.errors @@ -0,0 +1,2 @@ +["$hexVal"]: Invariant violated: +The value must match the pattern of a hexadecimal literal. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/not_hex.json b/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/not_hex.json new file mode 100644 index 00000000..1a13e938 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/not_hex.json @@ -0,0 +1,3 @@ +{ + "$hexVal": "16#G1" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/not_hex.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/not_hex.json.errors new file mode 100644 index 00000000..834b376f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/not_hex.json.errors @@ -0,0 +1,2 @@ +["$hexVal"]: Invariant violated: +The value must match the pattern of a hexadecimal literal. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/other_base.json b/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/other_base.json new file mode 100644 index 00000000..ad604d2a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/other_base.json @@ -0,0 +1,3 @@ +{ + "$hexVal": "8#17" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/other_base.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/other_base.json.errors new file mode 100644 index 00000000..834b376f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/HexLiteral/$hexVal/other_base.json.errors @@ -0,0 +1,2 @@ +["$hexVal"]: Invariant violated: +The value must match the pattern of a hexadecimal literal. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_01.json new file mode 100644 index 00000000..5445134e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "type": "EventElement", + "value": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_02.json new file mode 100644 index 00000000..323ddb2a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "type": "EventElement", + "value": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_03.json new file mode 100644 index 00000000..59929693 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "type": "EventElement", + "value": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_04.json new file mode 100644 index 00000000..753b8790 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "type": "EventElement", + "value": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_05.json new file mode 100644 index 00000000..0f73de6d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "type": "EventElement", + "value": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_06.json new file mode 100644 index 00000000..77d47d72 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "type": "EventElement", + "value": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_07.json new file mode 100644 index 00000000..3f4aa652 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "type": "EventElement", + "value": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_08.json new file mode 100644 index 00000000..1da541d2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "type": "EventElement", + "value": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_09.json new file mode 100644 index 00000000..7c2b08b8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "type": "EventElement", + "value": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_10.json new file mode 100644 index 00000000..b74a6815 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "type": "EventElement", + "value": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/empty.json new file mode 100644 index 00000000..85e3109f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/empty.json @@ -0,0 +1,4 @@ +{ + "language": "", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/empty.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/empty.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/free_form_text.json new file mode 100644 index 00000000..371a3a4a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/free_form_text.json @@ -0,0 +1,4 @@ +{ + "language": "some free-form text", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/free_form_text.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/free_form_text.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_01.json new file mode 100644 index 00000000..51a5c57f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "\ud836\ude00\udb88\udc76\ud86e\udff6\ud934\udd55\u00bc\u00b0\u0007\u00ea\u008b\u0000\u0004\ud817\ude5a", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_02.json new file mode 100644 index 00000000..7a0359c3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "\u00dbg\udbd4\udd56\u00b2\ud9d5\ude34e\u00b4\uda1d\udf95", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_03.json new file mode 100644 index 00000000..a52b6f22 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_04.json new file mode 100644 index 00000000..df7f7266 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "0", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_05.json new file mode 100644 index 00000000..e5266acf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "\udbc2\udf017111", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_06.json new file mode 100644 index 00000000..86945d95 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "\udb7f\ude8f", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_07.json new file mode 100644 index 00000000..68fc353f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_08.json new file mode 100644 index 00000000..ef64eea2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "\u00f8P\u00ed", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_09.json new file mode 100644 index 00000000..79d633d1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "p\u00dc\ud9ce\udfcb\u00aeA\u00c7", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_10.json new file mode 100644 index 00000000..de6b7df8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "\udb85\uddc8\u000b~\u00fb\u0095\udb19\udcc4", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_01.json new file mode 100644 index 00000000..923212d4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_02.json new file mode 100644 index 00000000..28eece92 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_03.json new file mode 100644 index 00000000..891df047 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_04.json new file mode 100644 index 00000000..b01ad8c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_05.json new file mode 100644 index 00000000..cc9d39ea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_06.json new file mode 100644 index 00000000..90317a4e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_07.json new file mode 100644 index 00000000..e9a4dc8f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_08.json new file mode 100644 index 00000000..8f5dbd31 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_09.json new file mode 100644 index 00000000..c090e3a3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_10.json new file mode 100644 index 00000000..b31dac5b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/empty.json new file mode 100644 index 00000000..85e3109f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/empty.json @@ -0,0 +1,4 @@ +{ + "language": "", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/empty.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/empty.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/free_form_text.json new file mode 100644 index 00000000..371a3a4a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/free_form_text.json @@ -0,0 +1,4 @@ +{ + "language": "some free-form text", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/free_form_text.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/free_form_text.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_01.json new file mode 100644 index 00000000..51a5c57f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "\ud836\ude00\udb88\udc76\ud86e\udff6\ud934\udd55\u00bc\u00b0\u0007\u00ea\u008b\u0000\u0004\ud817\ude5a", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_02.json new file mode 100644 index 00000000..7a0359c3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "\u00dbg\udbd4\udd56\u00b2\ud9d5\ude34e\u00b4\uda1d\udf95", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_03.json new file mode 100644 index 00000000..a52b6f22 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_04.json new file mode 100644 index 00000000..df7f7266 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "0", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_05.json new file mode 100644 index 00000000..e5266acf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "\udbc2\udf017111", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_06.json new file mode 100644 index 00000000..86945d95 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "\udb7f\ude8f", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_07.json new file mode 100644 index 00000000..68fc353f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_08.json new file mode 100644 index 00000000..ef64eea2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "\u00f8P\u00ed", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_09.json new file mode 100644 index 00000000..79d633d1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "p\u00dc\ud9ce\udfcb\u00aeA\u00c7", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_10.json new file mode 100644 index 00000000..de6b7df8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "\udb85\uddc8\u000b~\u00fb\u0095\udb19\udcc4", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_01.json new file mode 100644 index 00000000..923212d4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_02.json new file mode 100644 index 00000000..28eece92 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_03.json new file mode 100644 index 00000000..891df047 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_04.json new file mode 100644 index 00000000..b01ad8c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_05.json new file mode 100644 index 00000000..cc9d39ea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_06.json new file mode 100644 index 00000000..90317a4e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_07.json new file mode 100644 index 00000000..e9a4dc8f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_08.json new file mode 100644 index 00000000..8f5dbd31 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_09.json new file mode 100644 index 00000000..c090e3a3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_10.json new file mode 100644 index 00000000..b31dac5b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/empty.json new file mode 100644 index 00000000..85e3109f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/empty.json @@ -0,0 +1,4 @@ +{ + "language": "", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/empty.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/empty.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/free_form_text.json new file mode 100644 index 00000000..371a3a4a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/free_form_text.json @@ -0,0 +1,4 @@ +{ + "language": "some free-form text", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/free_form_text.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/free_form_text.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_01.json new file mode 100644 index 00000000..51a5c57f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "\ud836\ude00\udb88\udc76\ud86e\udff6\ud934\udd55\u00bc\u00b0\u0007\u00ea\u008b\u0000\u0004\ud817\ude5a", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.json new file mode 100644 index 00000000..7a0359c3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "\u00dbg\udbd4\udd56\u00b2\ud9d5\ude34e\u00b4\uda1d\udf95", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.json new file mode 100644 index 00000000..a52b6f22 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.json new file mode 100644 index 00000000..df7f7266 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "0", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.json new file mode 100644 index 00000000..e5266acf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "\udbc2\udf017111", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.json new file mode 100644 index 00000000..86945d95 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "\udb7f\ude8f", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.json new file mode 100644 index 00000000..68fc353f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.json new file mode 100644 index 00000000..ef64eea2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "\u00f8P\u00ed", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.json new file mode 100644 index 00000000..79d633d1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "p\u00dc\ud9ce\udfcb\u00aeA\u00c7", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_10.json new file mode 100644 index 00000000..de6b7df8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "\udb85\uddc8\u000b~\u00fb\u0095\udb19\udcc4", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_01.json new file mode 100644 index 00000000..923212d4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_02.json new file mode 100644 index 00000000..28eece92 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_03.json new file mode 100644 index 00000000..891df047 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_04.json new file mode 100644 index 00000000..b01ad8c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_05.json new file mode 100644 index 00000000..cc9d39ea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_06.json new file mode 100644 index 00000000..90317a4e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_07.json new file mode 100644 index 00000000..e9a4dc8f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_08.json new file mode 100644 index 00000000..8f5dbd31 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_09.json new file mode 100644 index 00000000..c090e3a3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_10.json new file mode 100644 index 00000000..b31dac5b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/empty.json new file mode 100644 index 00000000..85e3109f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/empty.json @@ -0,0 +1,4 @@ +{ + "language": "", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/empty.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/empty.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/free_form_text.json new file mode 100644 index 00000000..371a3a4a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/free_form_text.json @@ -0,0 +1,4 @@ +{ + "language": "some free-form text", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/free_form_text.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/free_form_text.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_01.json new file mode 100644 index 00000000..51a5c57f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "\ud836\ude00\udb88\udc76\ud86e\udff6\ud934\udd55\u00bc\u00b0\u0007\u00ea\u008b\u0000\u0004\ud817\ude5a", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_02.json new file mode 100644 index 00000000..7a0359c3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "\u00dbg\udbd4\udd56\u00b2\ud9d5\ude34e\u00b4\uda1d\udf95", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_03.json new file mode 100644 index 00000000..a52b6f22 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_04.json new file mode 100644 index 00000000..df7f7266 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "0", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_05.json new file mode 100644 index 00000000..e5266acf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "\udbc2\udf017111", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_06.json new file mode 100644 index 00000000..86945d95 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "\udb7f\ude8f", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_07.json new file mode 100644 index 00000000..68fc353f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_08.json new file mode 100644 index 00000000..ef64eea2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "\u00f8P\u00ed", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_09.json new file mode 100644 index 00000000..79d633d1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "p\u00dc\ud9ce\udfcb\u00aeA\u00c7", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_10.json new file mode 100644 index 00000000..de6b7df8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "\udb85\uddc8\u000b~\u00fb\u0095\udb19\udcc4", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_01.json new file mode 100644 index 00000000..923212d4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_02.json new file mode 100644 index 00000000..28eece92 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_03.json new file mode 100644 index 00000000..891df047 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_04.json new file mode 100644 index 00000000..b01ad8c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_05.json new file mode 100644 index 00000000..cc9d39ea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_06.json new file mode 100644 index 00000000..90317a4e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_07.json new file mode 100644 index 00000000..e9a4dc8f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_08.json new file mode 100644 index 00000000..8f5dbd31 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_09.json new file mode 100644 index 00000000..c090e3a3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_10.json new file mode 100644 index 00000000..b31dac5b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/empty.json new file mode 100644 index 00000000..85e3109f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/empty.json @@ -0,0 +1,4 @@ +{ + "language": "", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/empty.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/empty.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/free_form_text.json new file mode 100644 index 00000000..371a3a4a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/free_form_text.json @@ -0,0 +1,4 @@ +{ + "language": "some free-form text", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/free_form_text.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/free_form_text.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_01.json new file mode 100644 index 00000000..51a5c57f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "\ud836\ude00\udb88\udc76\ud86e\udff6\ud934\udd55\u00bc\u00b0\u0007\u00ea\u008b\u0000\u0004\ud817\ude5a", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_02.json new file mode 100644 index 00000000..7a0359c3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "\u00dbg\udbd4\udd56\u00b2\ud9d5\ude34e\u00b4\uda1d\udf95", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_03.json new file mode 100644 index 00000000..a52b6f22 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_04.json new file mode 100644 index 00000000..df7f7266 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "0", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_05.json new file mode 100644 index 00000000..e5266acf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "\udbc2\udf017111", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_06.json new file mode 100644 index 00000000..86945d95 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "\udb7f\ude8f", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_07.json new file mode 100644 index 00000000..68fc353f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_08.json new file mode 100644 index 00000000..ef64eea2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "\u00f8P\u00ed", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_09.json new file mode 100644 index 00000000..79d633d1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "p\u00dc\ud9ce\udfcb\u00aeA\u00c7", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_10.json new file mode 100644 index 00000000..de6b7df8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "\udb85\uddc8\u000b~\u00fb\u0095\udb19\udcc4", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_01.json new file mode 100644 index 00000000..923212d4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_02.json new file mode 100644 index 00000000..28eece92 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_03.json new file mode 100644 index 00000000..891df047 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_04.json new file mode 100644 index 00000000..b01ad8c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_05.json new file mode 100644 index 00000000..cc9d39ea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_06.json new file mode 100644 index 00000000..90317a4e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_07.json new file mode 100644 index 00000000..e9a4dc8f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_08.json new file mode 100644 index 00000000..8f5dbd31 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_09.json new file mode 100644 index 00000000..c090e3a3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_10.json new file mode 100644 index 00000000..b31dac5b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/empty.json new file mode 100644 index 00000000..85e3109f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/empty.json @@ -0,0 +1,4 @@ +{ + "language": "", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/empty.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/empty.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/free_form_text.json new file mode 100644 index 00000000..371a3a4a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/free_form_text.json @@ -0,0 +1,4 @@ +{ + "language": "some free-form text", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/free_form_text.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/free_form_text.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_01.json new file mode 100644 index 00000000..51a5c57f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "\ud836\ude00\udb88\udc76\ud86e\udff6\ud934\udd55\u00bc\u00b0\u0007\u00ea\u008b\u0000\u0004\ud817\ude5a", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_02.json new file mode 100644 index 00000000..7a0359c3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "\u00dbg\udbd4\udd56\u00b2\ud9d5\ude34e\u00b4\uda1d\udf95", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_03.json new file mode 100644 index 00000000..a52b6f22 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_04.json new file mode 100644 index 00000000..df7f7266 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "0", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_05.json new file mode 100644 index 00000000..e5266acf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "\udbc2\udf017111", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_06.json new file mode 100644 index 00000000..86945d95 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "\udb7f\ude8f", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_07.json new file mode 100644 index 00000000..68fc353f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_08.json new file mode 100644 index 00000000..ef64eea2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "\u00f8P\u00ed", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_09.json new file mode 100644 index 00000000..79d633d1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "p\u00dc\ud9ce\udfcb\u00aeA\u00c7", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_10.json new file mode 100644 index 00000000..de6b7df8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "\udb85\uddc8\u000b~\u00fb\u0095\udb19\udcc4", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/language/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_01.json new file mode 100644 index 00000000..923212d4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_02.json new file mode 100644 index 00000000..28eece92 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_03.json new file mode 100644 index 00000000..891df047 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_04.json new file mode 100644 index 00000000..b01ad8c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_05.json new file mode 100644 index 00000000..cc9d39ea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_06.json new file mode 100644 index 00000000..90317a4e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_07.json new file mode 100644 index 00000000..e9a4dc8f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_08.json new file mode 100644 index 00000000..8f5dbd31 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_09.json new file mode 100644 index 00000000..c090e3a3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_10.json new file mode 100644 index 00000000..b31dac5b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringUom/text/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_01.json new file mode 100644 index 00000000..5fb70312 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "correlationId": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..d1fa51ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +correlationId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_02.json new file mode 100644 index 00000000..17003f68 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "correlationId": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..d1fa51ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +correlationId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_03.json new file mode 100644 index 00000000..5aad2f8e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "correlationId": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..d1fa51ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +correlationId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_04.json new file mode 100644 index 00000000..53fa76cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "correlationId": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..d1fa51ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +correlationId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_05.json new file mode 100644 index 00000000..ed940dba --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "correlationId": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..d1fa51ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +correlationId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_06.json new file mode 100644 index 00000000..54b78331 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "correlationId": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..d1fa51ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +correlationId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_07.json new file mode 100644 index 00000000..0ed6b77d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "correlationId": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..d1fa51ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +correlationId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_08.json new file mode 100644 index 00000000..e7790716 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "correlationId": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..d1fa51ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +correlationId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_09.json new file mode 100644 index 00000000..84047616 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "correlationId": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..d1fa51ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +correlationId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_10.json new file mode 100644 index 00000000..a1a41c57 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "correlationId": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..d1fa51ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/correlationId/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +correlationId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/date_time_with_UTC_and_suffix.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/date_time_with_UTC_and_suffix.json new file mode 100644 index 00000000..e94d268c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/date_time_with_UTC_and_suffix.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "timestamp": "2022-04-01T01:02:03Z-unexpected-suffix" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/date_time_with_UTC_and_suffix.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/date_time_with_UTC_and_suffix.json.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/date_time_with_UTC_and_suffix.json.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/date_time_with_offset.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/date_time_with_offset.json new file mode 100644 index 00000000..9f1cb60c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/date_time_with_offset.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "timestamp": "2022-04-01T01:02:03+02:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/date_time_with_offset.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/date_time_with_offset.json.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/date_time_with_offset.json.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/date_time_without_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/date_time_without_zone.json new file mode 100644 index 00000000..c3bcb019 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/date_time_without_zone.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "timestamp": "2022-04-01T01:02:03" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/date_time_without_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/date_time_without_zone.json.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/date_time_without_zone.json.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/empty.json new file mode 100644 index 00000000..a27abe4b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/empty.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "timestamp": "" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/empty.json.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/empty.json.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/invalid_february_29th.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/invalid_february_29th.json new file mode 100644 index 00000000..35cc331d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/invalid_february_29th.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "timestamp": "2026-02-29T01:02:03Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/invalid_february_29th.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/invalid_february_29th.json.errors new file mode 100644 index 00000000..0cae55a1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/invalid_february_29th.json.errors @@ -0,0 +1,2 @@ +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_01.json new file mode 100644 index 00000000..11ec1295 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "timestamp": "hh?a\u00e5x\uc733\u0010[\u0082\u0015 K/" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_02.json new file mode 100644 index 00000000..347489c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "timestamp": "<1\ud8b2\ude06\ud9e3\uddd0\u00c5\\H\udac2\ude13" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_03.json new file mode 100644 index 00000000..fdff47d5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "timestamp": "\ud84a\udf23\ud8ca\udc7c\u00cd\u00b7\u00f0\u0098\u00b2+\u009a\ud8c4\udd7f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_04.json new file mode 100644 index 00000000..dc4b72a1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "timestamp": "\ud8e9\udcb3\u00f0\u008d\u0085\ud8dd\udc2f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_04.json.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_05.json new file mode 100644 index 00000000..bcdf5e83 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "timestamp": "\udb4a\udfbee\ud80d\udd4d\u0097\u00f1>" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_05.json.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_06.json new file mode 100644 index 00000000..56aab200 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "timestamp": "\udbcf\udda6\ud879\udf78" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_06.json.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_07.json new file mode 100644 index 00000000..968d3660 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "timestamp": "\u531f16\u00c8\u0012\ud814\udce0" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_08.json new file mode 100644 index 00000000..91997735 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "timestamp": "hh" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_09.json new file mode 100644 index 00000000..3a1d30d7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "timestamp": "E\u0085\ud804\udd26\ud842\uddc3Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_10.json new file mode 100644 index 00000000..5b348910 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "timestamp": "\udae7\udefd\udae7\udefd\ud9ae\udefe\ud82f\udfa8\udbe4\udc8c\ud80f\udeb6" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/only_date.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/only_date.json new file mode 100644 index 00000000..0a513947 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/only_date.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "timestamp": "2022-04-01" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/only_date.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/only_date.json.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/only_date.json.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/only_date_with_time_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/only_date_with_time_zone.json new file mode 100644 index 00000000..61319733 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/only_date_with_time_zone.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "timestamp": "2022-04-01Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/only_date_with_time_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/only_date_with_time_zone.json.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/only_date_with_time_zone.json.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/without_minutes.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/without_minutes.json new file mode 100644 index 00000000..78cff9f7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/without_minutes.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "timestamp": "2022-04-01T01Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/without_minutes.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/without_minutes.json.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/without_minutes.json.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/without_seconds.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/without_seconds.json new file mode 100644 index 00000000..cc277a57 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/without_seconds.json @@ -0,0 +1,5 @@ +{ + "messageType": "Exception", + "text": "something_2c25e1c4", + "timestamp": "2022-04-01T01:02Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/without_seconds.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/without_seconds.json.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Message/timestamp/without_seconds.json.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..dc1d2ba9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..b023905a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..af7a24d2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..8f65dec6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..de52663d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..1433fd59 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..3ef0d198 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..9dffd5c9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..a8ba2651 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..5839de1d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..6e45888a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..dc150c36 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..d9aec117 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..fcd7184c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..a698a527 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..2a162627 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..b937e73c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..627547d2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..70253f54 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..aa144960 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..39691385 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "MultiLanguagePropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..7e607d99 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "MultiLanguagePropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..477ebf48 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "MultiLanguagePropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..ef2c6946 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "MultiLanguagePropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..09fc17ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "MultiLanguagePropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..53b32f1d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "MultiLanguagePropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..ec8354c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "MultiLanguagePropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..535c8799 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "MultiLanguagePropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..306b26e6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "MultiLanguagePropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..c9b1ca7e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "MultiLanguagePropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..a825b9bc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "MultiLanguagePropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..6d2bfc4a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "MultiLanguagePropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..b80e6d10 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "MultiLanguagePropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..4f63f0e9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "MultiLanguagePropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..e93ca01a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "MultiLanguagePropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..cd6eace7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "MultiLanguagePropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..34d5f2a8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "MultiLanguagePropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..12b009f3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "MultiLanguagePropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..c27c960e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "MultiLanguagePropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..4ff9927e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "MultiLanguagePropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguagePropertyMetadata/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..33245d2e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..b4c95898 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..33325888 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..f252b1ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..601f1f33 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..b8d1c21c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..846db8ef --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..13475b5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..48f4faef --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..054e9fec --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..3e4db6e0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..1977aede --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..f22e7396 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..6af8d567 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..12d4f695 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..15e4b1aa --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..82a2a992 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..79c6bc9d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..ab6b492c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..8a3a89a5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_01.json new file mode 100644 index 00000000..70d36667 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_01.json @@ -0,0 +1,3 @@ +{ + "handleId": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..9a57f2a7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +handleId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_02.json new file mode 100644 index 00000000..370f37e7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_02.json @@ -0,0 +1,3 @@ +{ + "handleId": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..9a57f2a7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +handleId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_03.json new file mode 100644 index 00000000..2641c438 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_03.json @@ -0,0 +1,3 @@ +{ + "handleId": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..9a57f2a7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +handleId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_04.json new file mode 100644 index 00000000..941c2db0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_04.json @@ -0,0 +1,3 @@ +{ + "handleId": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..9a57f2a7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +handleId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_05.json new file mode 100644 index 00000000..653ffaba --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_05.json @@ -0,0 +1,3 @@ +{ + "handleId": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..9a57f2a7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +handleId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_06.json new file mode 100644 index 00000000..04902896 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_06.json @@ -0,0 +1,3 @@ +{ + "handleId": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..9a57f2a7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +handleId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_07.json new file mode 100644 index 00000000..f2bee809 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_07.json @@ -0,0 +1,3 @@ +{ + "handleId": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..9a57f2a7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +handleId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_08.json new file mode 100644 index 00000000..c50a5f36 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_08.json @@ -0,0 +1,3 @@ +{ + "handleId": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..9a57f2a7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +handleId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_09.json new file mode 100644 index 00000000..5f6db559 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_09.json @@ -0,0 +1,3 @@ +{ + "handleId": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..9a57f2a7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +handleId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_10.json new file mode 100644 index 00000000..135905a8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_10.json @@ -0,0 +1,3 @@ +{ + "handleId": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..9a57f2a7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationHandle/handleId/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +handleId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..51fd1473 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "OperationMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..68356788 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "OperationMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..e98ebb7b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "OperationMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..d3708a21 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "OperationMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..c5080dbd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "OperationMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..51bbaf87 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "OperationMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..df9e71dd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "OperationMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..64beb6f1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "OperationMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..7a986ec0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "OperationMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..e9c37148 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "OperationMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..f9c4f1cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "OperationMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..7ad4a001 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "OperationMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..170e7200 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "OperationMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..fa24ef32 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "OperationMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..5b7bd1fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "OperationMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..e58b6d38 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "OperationMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..245bec71 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "OperationMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..20088fa7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "OperationMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..285b3003 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "OperationMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..87830695 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "OperationMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationMetadata/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/empty.json new file mode 100644 index 00000000..9c0bdf3c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/empty.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/empty.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/empty.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/free_form_text.json new file mode 100644 index 00000000..abf4ef1a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/free_form_text.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/free_form_text.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/free_form_text.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/integer.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/integer.json new file mode 100644 index 00000000..7819b9a0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/integer.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "1234" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/integer.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/integer.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/integer.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/leading_P_missing.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/leading_P_missing.json new file mode 100644 index 00000000..d7b68e29 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/leading_P_missing.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "1Y" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/leading_P_missing.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/leading_P_missing.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/leading_P_missing.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/negative_years.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/negative_years.json new file mode 100644 index 00000000..d58c1f1a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/negative_years.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "P-1Y" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/negative_years.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/negative_years.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/negative_years.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/positive_year_negative_months.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/positive_year_negative_months.json new file mode 100644 index 00000000..585661e7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/positive_year_negative_months.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "P1Y-1M" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/positive_year_negative_months.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/positive_year_negative_months.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/positive_year_negative_months.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/separator_T_missing.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/separator_T_missing.json new file mode 100644 index 00000000..4b1dad97 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/separator_T_missing.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "P1S" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/separator_T_missing.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/separator_T_missing.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/separator_T_missing.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/the_order_matters.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/the_order_matters.json new file mode 100644 index 00000000..5ec10eb4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/the_order_matters.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "P1M2Y" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/the_order_matters.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/the_order_matters.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequest/clientTimeoutDuration/the_order_matters.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/empty.json new file mode 100644 index 00000000..9c0bdf3c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/empty.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/empty.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/empty.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/free_form_text.json new file mode 100644 index 00000000..abf4ef1a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/free_form_text.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/free_form_text.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/free_form_text.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/integer.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/integer.json new file mode 100644 index 00000000..7819b9a0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/integer.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "1234" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/integer.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/integer.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/integer.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/leading_P_missing.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/leading_P_missing.json new file mode 100644 index 00000000..d7b68e29 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/leading_P_missing.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "1Y" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/leading_P_missing.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/leading_P_missing.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/leading_P_missing.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/negative_years.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/negative_years.json new file mode 100644 index 00000000..d58c1f1a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/negative_years.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "P-1Y" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/negative_years.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/negative_years.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/negative_years.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/positive_year_negative_months.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/positive_year_negative_months.json new file mode 100644 index 00000000..585661e7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/positive_year_negative_months.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "P1Y-1M" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/positive_year_negative_months.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/positive_year_negative_months.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/positive_year_negative_months.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/separator_T_missing.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/separator_T_missing.json new file mode 100644 index 00000000..4b1dad97 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/separator_T_missing.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "P1S" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/separator_T_missing.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/separator_T_missing.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/separator_T_missing.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/the_order_matters.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/the_order_matters.json new file mode 100644 index 00000000..5ec10eb4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/the_order_matters.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "P1M2Y" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/the_order_matters.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/the_order_matters.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsync/clientTimeoutDuration/the_order_matters.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/empty.json new file mode 100644 index 00000000..9c0bdf3c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/empty.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/empty.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/empty.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/free_form_text.json new file mode 100644 index 00000000..abf4ef1a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/free_form_text.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/free_form_text.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/free_form_text.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/integer.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/integer.json new file mode 100644 index 00000000..7819b9a0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/integer.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "1234" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/integer.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/integer.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/integer.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/leading_P_missing.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/leading_P_missing.json new file mode 100644 index 00000000..d7b68e29 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/leading_P_missing.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "1Y" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/leading_P_missing.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/leading_P_missing.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/leading_P_missing.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/negative_years.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/negative_years.json new file mode 100644 index 00000000..d58c1f1a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/negative_years.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "P-1Y" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/negative_years.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/negative_years.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/negative_years.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/positive_year_negative_months.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/positive_year_negative_months.json new file mode 100644 index 00000000..585661e7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/positive_year_negative_months.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "P1Y-1M" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/positive_year_negative_months.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/positive_year_negative_months.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/positive_year_negative_months.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/separator_T_missing.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/separator_T_missing.json new file mode 100644 index 00000000..4b1dad97 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/separator_T_missing.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "P1S" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/separator_T_missing.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/separator_T_missing.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/separator_T_missing.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/the_order_matters.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/the_order_matters.json new file mode 100644 index 00000000..5ec10eb4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/the_order_matters.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "P1M2Y" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/the_order_matters.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/the_order_matters.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestAsyncValueOnly/clientTimeoutDuration/the_order_matters.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/empty.json new file mode 100644 index 00000000..9c0bdf3c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/empty.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/empty.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/empty.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/free_form_text.json new file mode 100644 index 00000000..abf4ef1a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/free_form_text.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/free_form_text.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/free_form_text.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/integer.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/integer.json new file mode 100644 index 00000000..7819b9a0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/integer.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "1234" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/integer.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/integer.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/integer.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/leading_P_missing.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/leading_P_missing.json new file mode 100644 index 00000000..d7b68e29 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/leading_P_missing.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "1Y" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/leading_P_missing.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/leading_P_missing.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/leading_P_missing.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/negative_years.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/negative_years.json new file mode 100644 index 00000000..d58c1f1a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/negative_years.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "P-1Y" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/negative_years.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/negative_years.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/negative_years.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/positive_year_negative_months.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/positive_year_negative_months.json new file mode 100644 index 00000000..585661e7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/positive_year_negative_months.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "P1Y-1M" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/positive_year_negative_months.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/positive_year_negative_months.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/positive_year_negative_months.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/separator_T_missing.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/separator_T_missing.json new file mode 100644 index 00000000..4b1dad97 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/separator_T_missing.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "P1S" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/separator_T_missing.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/separator_T_missing.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/separator_T_missing.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/the_order_matters.json b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/the_order_matters.json new file mode 100644 index 00000000..5ec10eb4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/the_order_matters.json @@ -0,0 +1,3 @@ +{ + "clientTimeoutDuration": "P1M2Y" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/the_order_matters.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/the_order_matters.json.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/OperationRequestValueOnly/clientTimeoutDuration/the_order_matters.json.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_01.json new file mode 100644 index 00000000..b3902d91 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_01.json @@ -0,0 +1,3 @@ +{ + "packageId": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..fb4c834a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +packageId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_02.json new file mode 100644 index 00000000..28df9b8e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_02.json @@ -0,0 +1,3 @@ +{ + "packageId": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..fb4c834a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +packageId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_03.json new file mode 100644 index 00000000..80035ab7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_03.json @@ -0,0 +1,3 @@ +{ + "packageId": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..fb4c834a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +packageId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_04.json new file mode 100644 index 00000000..e6e01133 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_04.json @@ -0,0 +1,3 @@ +{ + "packageId": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..fb4c834a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +packageId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_05.json new file mode 100644 index 00000000..c65cc041 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_05.json @@ -0,0 +1,3 @@ +{ + "packageId": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..fb4c834a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +packageId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_06.json new file mode 100644 index 00000000..912364f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_06.json @@ -0,0 +1,3 @@ +{ + "packageId": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..fb4c834a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +packageId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_07.json new file mode 100644 index 00000000..d157eef8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_07.json @@ -0,0 +1,3 @@ +{ + "packageId": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..fb4c834a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +packageId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_08.json new file mode 100644 index 00000000..e836ee85 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_08.json @@ -0,0 +1,3 @@ +{ + "packageId": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..fb4c834a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +packageId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_09.json new file mode 100644 index 00000000..afb71230 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_09.json @@ -0,0 +1,3 @@ +{ + "packageId": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..fb4c834a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +packageId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_10.json new file mode 100644 index 00000000..cb6b3d90 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_10.json @@ -0,0 +1,3 @@ +{ + "packageId": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..fb4c834a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PackageDescription/packageId/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +packageId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..75899554 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..fdc7ef5b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..f3b3dcb2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..a3f5443b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..d18e4855 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..be7ee7bd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..b61fffa3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..99611119 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..9e6e01b3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..f28abed5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..62b85e5a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..f85b43a1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u007f15", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..ecef431e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..70efa451 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..407b47b4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..213f4167 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "idShort": "@", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..f8ba50c1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..f61888db --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u0084\u0005", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..e885e6ff --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..47d74bb3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..0dfbc866 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "valueType": "xs:gDay", + "modelType": "PropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..5c82e21e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "valueType": "xs:gDay", + "modelType": "PropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..68b6fb83 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "valueType": "xs:gDay", + "modelType": "PropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..971b9690 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "valueType": "xs:gDay", + "modelType": "PropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..0f1a1fa7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "valueType": "xs:gDay", + "modelType": "PropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..3e65d215 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "valueType": "xs:gDay", + "modelType": "PropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..81fa488a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "valueType": "xs:gDay", + "modelType": "PropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..57c33a3d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "valueType": "xs:gDay", + "modelType": "PropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..19683488 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "valueType": "xs:gDay", + "modelType": "PropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..c8e14231 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "valueType": "xs:gDay", + "modelType": "PropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..444d43f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "valueType": "xs:gDay", + "modelType": "PropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..e9a53197 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u007f15", + "valueType": "xs:gDay", + "modelType": "PropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..91a7fda2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "valueType": "xs:gDay", + "modelType": "PropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..0b8ce3ef --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "valueType": "xs:gDay", + "modelType": "PropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..fb21975e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "valueType": "xs:gDay", + "modelType": "PropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..148bf966 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "idShort": "@", + "valueType": "xs:gDay", + "modelType": "PropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..aedf997e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "valueType": "xs:gDay", + "modelType": "PropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..3b71aa64 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u0084\u0005", + "valueType": "xs:gDay", + "modelType": "PropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..7b14319a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "valueType": "xs:gDay", + "modelType": "PropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..5af0694f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "valueType": "xs:gDay", + "modelType": "PropertyMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/PropertyMetadata/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_01.json new file mode 100644 index 00000000..6b694a7b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "endpointProtocol": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..0d29e390 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +endpointProtocol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_02.json new file mode 100644 index 00000000..3ca7fe9a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "endpointProtocol": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..0d29e390 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +endpointProtocol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_03.json new file mode 100644 index 00000000..c8e4aecd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "endpointProtocol": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..0d29e390 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +endpointProtocol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_04.json new file mode 100644 index 00000000..a02e87dd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "endpointProtocol": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..0d29e390 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +endpointProtocol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_05.json new file mode 100644 index 00000000..490cc074 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "endpointProtocol": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..0d29e390 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +endpointProtocol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_06.json new file mode 100644 index 00000000..4d970cd2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "endpointProtocol": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..0d29e390 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +endpointProtocol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_07.json new file mode 100644 index 00000000..5196d29d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "endpointProtocol": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..0d29e390 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +endpointProtocol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_08.json new file mode 100644 index 00000000..c7f09ed3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "endpointProtocol": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..0d29e390 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +endpointProtocol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_09.json new file mode 100644 index 00000000..7a909040 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "endpointProtocol": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..0d29e390 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +endpointProtocol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_10.json new file mode 100644 index 00000000..b0a861a2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "endpointProtocol": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..0d29e390 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/endpointProtocol/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +endpointProtocol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_01.json new file mode 100644 index 00000000..23ff5993 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "subprotocol": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..5d48c864 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +subprotocol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_02.json new file mode 100644 index 00000000..9b012aa5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "subprotocol": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..5d48c864 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +subprotocol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_03.json new file mode 100644 index 00000000..89783745 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "subprotocol": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..5d48c864 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +subprotocol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_04.json new file mode 100644 index 00000000..2cb45506 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "subprotocol": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..5d48c864 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +subprotocol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_05.json new file mode 100644 index 00000000..30ea10f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "subprotocol": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..5d48c864 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +subprotocol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_06.json new file mode 100644 index 00000000..0152200c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "subprotocol": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..5d48c864 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +subprotocol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_07.json new file mode 100644 index 00000000..e6ed0d9a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "subprotocol": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..5d48c864 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +subprotocol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_08.json new file mode 100644 index 00000000..3c077277 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "subprotocol": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..5d48c864 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +subprotocol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_09.json new file mode 100644 index 00000000..ba2f2397 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "subprotocol": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..5d48c864 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +subprotocol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_10.json new file mode 100644 index 00000000..4da0af90 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "subprotocol": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..5d48c864 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocol/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +subprotocol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_01.json new file mode 100644 index 00000000..2aaea17b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "subprotocolBodyEncoding": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..7e506f69 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +subprotocolBodyEncoding: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_02.json new file mode 100644 index 00000000..65c53dbf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "subprotocolBodyEncoding": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..7e506f69 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +subprotocolBodyEncoding: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_03.json new file mode 100644 index 00000000..05dfb00a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "subprotocolBodyEncoding": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..7e506f69 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +subprotocolBodyEncoding: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_04.json new file mode 100644 index 00000000..b335d57c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "subprotocolBodyEncoding": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..7e506f69 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +subprotocolBodyEncoding: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_05.json new file mode 100644 index 00000000..e542c28d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "subprotocolBodyEncoding": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..7e506f69 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +subprotocolBodyEncoding: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_06.json new file mode 100644 index 00000000..1d6ebf7c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "subprotocolBodyEncoding": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..7e506f69 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +subprotocolBodyEncoding: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_07.json new file mode 100644 index 00000000..730ec7d6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "subprotocolBodyEncoding": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..7e506f69 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +subprotocolBodyEncoding: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_08.json new file mode 100644 index 00000000..ed59cd86 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "subprotocolBodyEncoding": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..7e506f69 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +subprotocolBodyEncoding: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_09.json new file mode 100644 index 00000000..efe4c82d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "subprotocolBodyEncoding": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..7e506f69 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +subprotocolBodyEncoding: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_10.json new file mode 100644 index 00000000..c1e2fba1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "href": "something_cd6881d8", + "subprotocolBodyEncoding": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..7e506f69 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ProtocolInformation/subprotocolBodyEncoding/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +subprotocolBodyEncoding: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_01.json new file mode 100644 index 00000000..b051bdd8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "type": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..87c2548c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_02.json new file mode 100644 index 00000000..4672bbeb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "type": "\u990d\u0017\u00bd\u00e9", + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..87c2548c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_03.json new file mode 100644 index 00000000..c3dbda9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "type": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..87c2548c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_04.json new file mode 100644 index 00000000..4a51ca5a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "type": "\u00ba\u00f2\u0018\u007f", + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..87c2548c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_05.json new file mode 100644 index 00000000..a52242fa --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "type": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..87c2548c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_06.json new file mode 100644 index 00000000..01e32f4e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "type": "0\u0000\u009a\uda84\ude06", + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..87c2548c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_07.json new file mode 100644 index 00000000..726c254c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "type": "\ubd07\u00e0c\u001dr\f", + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..87c2548c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_08.json new file mode 100644 index 00000000..be5c34d1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "type": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..87c2548c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_09.json new file mode 100644 index 00000000..4c70d22c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "type": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..87c2548c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_10.json new file mode 100644 index 00000000..1312cb4d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "type": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..87c2548c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/bad_index.json b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/bad_index.json new file mode 100644 index 00000000..f025ed26 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/bad_index.json @@ -0,0 +1,13 @@ +{ + "$fragment": "$aas#submodels[x]", + "$condition": { + "$le": [ + { + "$hexVal": "16#1" + }, + { + "$hexVal": "16#1F" + } + ] + } +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/bad_index.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/bad_index.json.errors new file mode 100644 index 00000000..5e9153a8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/bad_index.json.errors @@ -0,0 +1,2 @@ +["$fragment"]: Invariant violated: +The value must match the pattern of a fragment field identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/cd_id.json b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/cd_id.json new file mode 100644 index 00000000..59cdbad9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/cd_id.json @@ -0,0 +1,13 @@ +{ + "$fragment": "$cd#id", + "$condition": { + "$le": [ + { + "$hexVal": "16#1" + }, + { + "$hexVal": "16#1F" + } + ] + } +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/cd_id.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/cd_id.json.errors new file mode 100644 index 00000000..5e9153a8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/cd_id.json.errors @@ -0,0 +1,2 @@ +["$fragment"]: Invariant violated: +The value must match the pattern of a fragment field identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/empty.json new file mode 100644 index 00000000..7ee63a9d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/empty.json @@ -0,0 +1,13 @@ +{ + "$fragment": "", + "$condition": { + "$le": [ + { + "$hexVal": "16#1" + }, + { + "$hexVal": "16#1F" + } + ] + } +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/empty.json.errors new file mode 100644 index 00000000..5e9153a8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/empty.json.errors @@ -0,0 +1,2 @@ +["$fragment"]: Invariant violated: +The value must match the pattern of a fragment field identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/missing_root.json b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/missing_root.json new file mode 100644 index 00000000..20c69cb8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/missing_root.json @@ -0,0 +1,13 @@ +{ + "$fragment": "#idShort", + "$condition": { + "$le": [ + { + "$hexVal": "16#1" + }, + { + "$hexVal": "16#1F" + } + ] + } +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/missing_root.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/missing_root.json.errors new file mode 100644 index 00000000..5e9153a8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/missing_root.json.errors @@ -0,0 +1,2 @@ +["$fragment"]: Invariant violated: +The value must match the pattern of a fragment field identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/sm_id.json b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/sm_id.json new file mode 100644 index 00000000..9416de95 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/sm_id.json @@ -0,0 +1,13 @@ +{ + "$fragment": "$sm#id", + "$condition": { + "$le": [ + { + "$hexVal": "16#1" + }, + { + "$hexVal": "16#1F" + } + ] + } +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/sm_id.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/sm_id.json.errors new file mode 100644 index 00000000..5e9153a8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/sm_id.json.errors @@ -0,0 +1,2 @@ +["$fragment"]: Invariant violated: +The value must match the pattern of a fragment field identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/trailing_dot.json b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/trailing_dot.json new file mode 100644 index 00000000..d3d1db18 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/trailing_dot.json @@ -0,0 +1,13 @@ +{ + "$fragment": "$sme.a.", + "$condition": { + "$le": [ + { + "$hexVal": "16#1" + }, + { + "$hexVal": "16#1F" + } + ] + } +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/trailing_dot.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/trailing_dot.json.errors new file mode 100644 index 00000000..5e9153a8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/trailing_dot.json.errors @@ -0,0 +1,2 @@ +["$fragment"]: Invariant violated: +The value must match the pattern of a fragment field identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/unknown_root.json b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/unknown_root.json new file mode 100644 index 00000000..66c9c103 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/unknown_root.json @@ -0,0 +1,13 @@ +{ + "$fragment": "$xyz#idShort", + "$condition": { + "$le": [ + { + "$hexVal": "16#1" + }, + { + "$hexVal": "16#1F" + } + ] + } +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/unknown_root.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/unknown_root.json.errors new file mode 100644 index 00000000..5e9153a8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/QueryFilter/$fragment/unknown_root.json.errors @@ -0,0 +1,2 @@ +["$fragment"]: Invariant violated: +The value must match the pattern of a fragment field identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..73986982 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..d1487b01 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..17b7f2c4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..967a95f6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..817eab25 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..cdf77493 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..572bdc42 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..4beece71 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..fac86f7e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..657c8a60 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..77aee251 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..15a99cf9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u007f15", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..745ecdeb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..07f2fc43 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..4827aa88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..d7e9c422 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "idShort": "@", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..595dfda1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..91069c24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u0084\u0005", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..4f0bdeb8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..63fbc2d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..58f9cd95 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "valueType": "xs:gDay", + "modelType": "RangeMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..403f28c4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "valueType": "xs:gDay", + "modelType": "RangeMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..b9c0a75f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "valueType": "xs:gDay", + "modelType": "RangeMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..f3dba3cf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "valueType": "xs:gDay", + "modelType": "RangeMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..370068b9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "valueType": "xs:gDay", + "modelType": "RangeMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..82e821b4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "valueType": "xs:gDay", + "modelType": "RangeMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..fa9ba13f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "valueType": "xs:gDay", + "modelType": "RangeMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..5c5b2886 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "valueType": "xs:gDay", + "modelType": "RangeMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..73fb9408 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "valueType": "xs:gDay", + "modelType": "RangeMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..64a9ccdd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "valueType": "xs:gDay", + "modelType": "RangeMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..89f7b273 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "valueType": "xs:gDay", + "modelType": "RangeMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..1e2076c6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u007f15", + "valueType": "xs:gDay", + "modelType": "RangeMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..15961bd1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "valueType": "xs:gDay", + "modelType": "RangeMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..5e37ebae --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "valueType": "xs:gDay", + "modelType": "RangeMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..cffa84b4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "valueType": "xs:gDay", + "modelType": "RangeMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..6b947f56 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "idShort": "@", + "valueType": "xs:gDay", + "modelType": "RangeMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..6e87680d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "valueType": "xs:gDay", + "modelType": "RangeMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..d09fe323 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u0084\u0005", + "valueType": "xs:gDay", + "modelType": "RangeMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..386ae0ae --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "valueType": "xs:gDay", + "modelType": "RangeMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..6e6190b8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "valueType": "xs:gDay", + "modelType": "RangeMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RangeMetadata/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/cd_value.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/cd_value.json new file mode 100644 index 00000000..da5dc5f1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/cd_value.json @@ -0,0 +1,3 @@ +{ + "REFERENCE": "$cd(\"a\")#value" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/cd_value.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/cd_value.json.errors new file mode 100644 index 00000000..f7a50d00 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/cd_value.json.errors @@ -0,0 +1,2 @@ +REFERENCE: Invariant violated: +The value must match the pattern of a reference identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/empty.json new file mode 100644 index 00000000..9f75cb90 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/empty.json @@ -0,0 +1,3 @@ +{ + "REFERENCE": "" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/empty.json.errors new file mode 100644 index 00000000..f7a50d00 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/empty.json.errors @@ -0,0 +1,2 @@ +REFERENCE: Invariant violated: +The value must match the pattern of a reference identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/empty_identifier.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/empty_identifier.json new file mode 100644 index 00000000..f41a708b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/empty_identifier.json @@ -0,0 +1,3 @@ +{ + "REFERENCE": "$sm(\"\")#idShort" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/empty_identifier.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/empty_identifier.json.errors new file mode 100644 index 00000000..f7a50d00 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/empty_identifier.json.errors @@ -0,0 +1,2 @@ +REFERENCE: Invariant violated: +The value must match the pattern of a reference identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/missing_parens.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/missing_parens.json new file mode 100644 index 00000000..71a7a1e1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/missing_parens.json @@ -0,0 +1,3 @@ +{ + "REFERENCE": "$sm#idShort" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/missing_parens.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/missing_parens.json.errors new file mode 100644 index 00000000..f7a50d00 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/missing_parens.json.errors @@ -0,0 +1,2 @@ +REFERENCE: Invariant violated: +The value must match the pattern of a reference identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/missing_path.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/missing_path.json new file mode 100644 index 00000000..d79c8ae4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/missing_path.json @@ -0,0 +1,3 @@ +{ + "REFERENCE": "$sme(\"sm1\")#value" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/missing_path.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/missing_path.json.errors new file mode 100644 index 00000000..f7a50d00 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/missing_path.json.errors @@ -0,0 +1,2 @@ +REFERENCE: Invariant violated: +The value must match the pattern of a reference identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/unescaped_quote.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/unescaped_quote.json new file mode 100644 index 00000000..64f5b8de --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/unescaped_quote.json @@ -0,0 +1,3 @@ +{ + "REFERENCE": "$sm(\"a\"b\")#id" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/unescaped_quote.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/unescaped_quote.json.errors new file mode 100644 index 00000000..f7a50d00 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/unescaped_quote.json.errors @@ -0,0 +1,2 @@ +REFERENCE: Invariant violated: +The value must match the pattern of a reference identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/unknown_root.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/unknown_root.json new file mode 100644 index 00000000..ac13fc2a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/unknown_root.json @@ -0,0 +1,3 @@ +{ + "REFERENCE": "$xyz(\"a\")#idShort" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/unknown_root.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/unknown_root.json.errors new file mode 100644 index 00000000..f7a50d00 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceAttribute/REFERENCE/unknown_root.json.errors @@ -0,0 +1,2 @@ +REFERENCE: Invariant violated: +The value must match the pattern of a reference identifier. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..f7192107 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..92b20185 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..40f014f5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..accb203b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..eab6380e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..ca084ea8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..7974d2b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..ae93d212 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..cf009b62 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..588cb814 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..c92f6b03 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..72d1b584 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..49f5b9b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..7c6b3712 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..921c56b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..4d34eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..1e2db029 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..a52d7a2c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..10394913 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..419f271f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..9a88476d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "ReferenceElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..1c6f7f74 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "ReferenceElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..b7c74d6c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "ReferenceElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..c7194770 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "ReferenceElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..1b32a0dd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "ReferenceElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..d647baee --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "ReferenceElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..c3d2f275 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "ReferenceElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..637c088c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "ReferenceElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..5531a9c2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "ReferenceElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..5c4abde6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "ReferenceElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..601f05e3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "ReferenceElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..ef55e18b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "ReferenceElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..dce4a823 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "ReferenceElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..18e61494 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "ReferenceElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..b769cb24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "ReferenceElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..d5a6ec2e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "ReferenceElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..88758dc9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "ReferenceElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..8274d64e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "ReferenceElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..329e47c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "ReferenceElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..58df094a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "ReferenceElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElementMetadata/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..12b0ab2d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..697abbde --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..b3b6c229 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..6a0e8f8d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..15c62d2a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..45ab2ef0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..2afaad97 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..3f0f4402 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..d29e7271 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..a4e37025 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..823bed36 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..3898cf8d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..de664850 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..41e38dcb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..0b6c6876 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..8ba883cd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..3baa310c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..3214d0e7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..749b72a6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..2104e900 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..e015582f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "RelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..861b4fb3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "RelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..e08b045a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "RelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..b2713c8e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "RelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..d2a1d615 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "RelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..2baf0629 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "RelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..9e5ed264 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "RelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..37668839 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "RelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..329a86b0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "RelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..c6f10394 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "RelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..23a31c7e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "RelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..56ce82e5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "RelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..1a4b5611 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "RelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..40221d26 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "RelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..9df60265 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "RelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..755a3f6e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "RelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..28d8b199 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "RelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..552c7b71 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "RelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..3d0a52df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "RelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..e7dcbadf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "RelationshipElementMetadata" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..2911a832 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElementMetadata/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/empty.json new file mode 100644 index 00000000..ea2d9bed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/empty.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/empty.json.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/empty.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_01.json new file mode 100644 index 00000000..47f162e6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "\uda86\udf2e\udb69\udf6e\udae1\udefa7\u001e\u00fd\u00d1\u009d|\udbc6\uddcd" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..bfb660cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_02.json new file mode 100644 index 00000000..47f162e6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "\uda86\udf2e\udb69\udf6e\udae1\udefa7\u001e\u00fd\u00d1\u009d|\udbc6\uddcd" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..bfb660cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_03.json new file mode 100644 index 00000000..34791ea7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "\ud845\udd39" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_04.json new file mode 100644 index 00000000..b6ac3c2d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "\u00d0\u00d0" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_05.json new file mode 100644 index 00000000..baa6b074 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "\udb37\udd7d\u00a7\u0085\u00b0\u00a2\udace\udc5a>3\udba3\udd37" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_06.json new file mode 100644 index 00000000..8ef61854 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "q\u0095d" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_07.json new file mode 100644 index 00000000..08b8efbf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "0" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_08.json new file mode 100644 index 00000000..ea2d9bed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_09.json new file mode 100644 index 00000000..b71780f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "\r|\u00e4" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_10.json new file mode 100644 index 00000000..2e8b85df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "\ud832\udfb0\ud832\udfb0" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/number.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/number.json new file mode 100644 index 00000000..48d6514c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/number.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "1234" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/number.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/number.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/number.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_01.json new file mode 100644 index 00000000..e0a804c1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_01.json @@ -0,0 +1,3 @@ +{ + "path": "\ud8eb\udfa4" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_02.json new file mode 100644 index 00000000..c54212f4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_02.json @@ -0,0 +1,3 @@ +{ + "path": "\udb37\udeae\uaa01" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_03.json new file mode 100644 index 00000000..88fa64b7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_03.json @@ -0,0 +1,3 @@ +{ + "path": "\u00e7\u00f6" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_04.json new file mode 100644 index 00000000..73706b9f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_04.json @@ -0,0 +1,3 @@ +{ + "path": "_\u0018\u00e5\u00a2\u0084z|\u009d\udbf0\ude8b\ud949\udd5e\udbb9\udd61i\udb0a\udf21-\u0081" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..098f3af1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_04.json.errors @@ -0,0 +1,4 @@ +path: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_05.json new file mode 100644 index 00000000..f9288a85 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_05.json @@ -0,0 +1,3 @@ +{ + "path": "\u0086\u4023\ud819\uddc5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_06.json new file mode 100644 index 00000000..5df6a742 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_06.json @@ -0,0 +1,3 @@ +{ + "path": "\udb37\udeae\uaa01\ud966\udd0a" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_07.json new file mode 100644 index 00000000..fdc1ddbb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_07.json @@ -0,0 +1,3 @@ +{ + "path": "\u0801\u0801\u007f\ud858\udea9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_08.json new file mode 100644 index 00000000..85cd654d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_08.json @@ -0,0 +1,3 @@ +{ + "path": "\ue140P\u0081K\u00e2" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_09.json new file mode 100644 index 00000000..ce3748ba --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_09.json @@ -0,0 +1,3 @@ +{ + "path": "\u00f0\"u" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_10.json new file mode 100644 index 00000000..8a36caf9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_10.json @@ -0,0 +1,3 @@ +{ + "path": "00\ud800\udc07" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_01.json new file mode 100644 index 00000000..04d04bbf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_01.json @@ -0,0 +1,3 @@ +{ + "path": "http://exa mple.org" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_01.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_01.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_02.json new file mode 100644 index 00000000..4ae26151 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_02.json @@ -0,0 +1,3 @@ +{ + "path": "://example.org" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_02.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_02.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_01.json new file mode 100644 index 00000000..48991a1e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "name": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_02.json new file mode 100644 index 00000000..9147e840 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "name": "\u990d\u0017\u00bd\u00e9", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_03.json new file mode 100644 index 00000000..32ceab6b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "name": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_04.json new file mode 100644 index 00000000..08a1df9f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "name": "\u00ba\u00f2\u0018\u007f", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_05.json new file mode 100644 index 00000000..cfb5a8d5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "name": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_06.json new file mode 100644 index 00000000..5cb17340 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "name": "0\u0000\u009a\uda84\ude06", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_07.json new file mode 100644 index 00000000..39357b0d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "name": "\ubd07\u00e0c\u001dr\f", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_08.json new file mode 100644 index 00000000..987c4499 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "name": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_09.json new file mode 100644 index 00000000..05a6505c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "name": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_10.json new file mode 100644 index 00000000..4bb7305d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "name": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/value/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/value/negatively_fuzzed_01.json new file mode 100644 index 00000000..ad353ac7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/value/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "name": "\u00db\u0103", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_05.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_06.json new file mode 100644 index 00000000..787049d9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "createdAt": "\udbcf\udda6\ud879\udf78", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_06.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_07.json new file mode 100644 index 00000000..27753ca6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "createdAt": "\u531f16\u00c8\u0012\ud814\udce0", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_08.json new file mode 100644 index 00000000..fbd92030 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "createdAt": "hh", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_09.json new file mode 100644 index 00000000..21d5695d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "createdAt": "E\u0085\ud804\udd26\ud842\uddc3Z", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_10.json new file mode 100644 index 00000000..a96a78b4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "createdAt": "\udae7\udefd\udae7\udefd\ud9ae\udefe\ud82f\udfa8\udbe4\udc8c\ud80f\udeb6", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/only_date.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/only_date.json new file mode 100644 index 00000000..60e2a8b8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/only_date.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/only_date.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/only_date.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/only_date.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/only_date_with_time_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/only_date_with_time_zone.json new file mode 100644 index 00000000..1adc2fee --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/only_date_with_time_zone.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01Z", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/only_date_with_time_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/only_date_with_time_zone.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/only_date_with_time_zone.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/without_minutes.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/without_minutes.json new file mode 100644 index 00000000..d6375e1b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/without_minutes.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T01Z", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/without_minutes.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/without_minutes.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/without_minutes.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/without_seconds.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/without_seconds.json new file mode 100644 index 00000000..896ba384 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/without_seconds.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T01:02Z", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/without_seconds.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/without_seconds.json.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/createdAt/without_seconds.json.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_01.json new file mode 100644 index 00000000..a968ff06 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_02.json new file mode 100644 index 00000000..dc0ea717 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_03.json new file mode 100644 index 00000000..023f5e6d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_04.json new file mode 100644 index 00000000..06eb33a1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_05.json new file mode 100644 index 00000000..6fc728f0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_06.json new file mode 100644 index 00000000..f4c6d294 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_07.json new file mode 100644 index 00000000..197855d5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_08.json new file mode 100644 index 00000000..2c6f1c96 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_09.json new file mode 100644 index 00000000..a6bbd8c9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_10.json new file mode 100644 index 00000000..f4dd37e0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/id/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/date_time_with_UTC_and_suffix.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/date_time_with_UTC_and_suffix.json new file mode 100644 index 00000000..98157c61 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/date_time_with_UTC_and_suffix.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T01:02:03Z-unexpected-suffix", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/date_time_with_UTC_and_suffix.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/date_time_with_UTC_and_suffix.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/date_time_with_UTC_and_suffix.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/date_time_with_offset.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/date_time_with_offset.json new file mode 100644 index 00000000..b210e1d6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/date_time_with_offset.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T01:02:03+02:00", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/date_time_with_offset.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/date_time_with_offset.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/date_time_with_offset.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/date_time_without_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/date_time_without_zone.json new file mode 100644 index 00000000..163c0e1e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/date_time_without_zone.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T01:02:03", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/date_time_without_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/date_time_without_zone.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/date_time_without_zone.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/empty.json new file mode 100644 index 00000000..a58114e5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/empty.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/empty.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/empty.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/invalid_february_29th.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/invalid_february_29th.json new file mode 100644 index 00000000..f0ee01d1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/invalid_february_29th.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2026-02-29T01:02:03Z", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/invalid_february_29th.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/invalid_february_29th.json.errors new file mode 100644 index 00000000..1058cd79 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/invalid_february_29th.json.errors @@ -0,0 +1,2 @@ +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_01.json new file mode 100644 index 00000000..ae241f60 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "hh?a\u00e5x\uc733\u0010[\u0082\u0015 K/", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_02.json new file mode 100644 index 00000000..2e00c743 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "<1\ud8b2\ude06\ud9e3\uddd0\u00c5\\H\udac2\ude13", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_03.json new file mode 100644 index 00000000..b872bbb6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "\ud84a\udf23\ud8ca\udc7c\u00cd\u00b7\u00f0\u0098\u00b2+\u009a\ud8c4\udd7f", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_04.json new file mode 100644 index 00000000..3bcd0a4e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "\ud8e9\udcb3\u00f0\u008d\u0085\ud8dd\udc2f", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_04.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_05.json new file mode 100644 index 00000000..926587f1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "\udb4a\udfbee\ud80d\udd4d\u0097\u00f1>", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_05.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_06.json new file mode 100644 index 00000000..327995cf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "\udbcf\udda6\ud879\udf78", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_06.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_07.json new file mode 100644 index 00000000..335cc561 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "\u531f16\u00c8\u0012\ud814\udce0", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_08.json new file mode 100644 index 00000000..a974c0c2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "hh", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_09.json new file mode 100644 index 00000000..2a28e809 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "E\u0085\ud804\udd26\ud842\uddc3Z", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_10.json new file mode 100644 index 00000000..76f8939b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "\udae7\udefd\udae7\udefd\ud9ae\udefe\ud82f\udfa8\udbe4\udc8c\ud80f\udeb6", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/only_date.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/only_date.json new file mode 100644 index 00000000..507cefeb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/only_date.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/only_date.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/only_date.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/only_date.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/only_date_with_time_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/only_date_with_time_zone.json new file mode 100644 index 00000000..ba1b0ac0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/only_date_with_time_zone.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01Z", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/only_date_with_time_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/only_date_with_time_zone.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/only_date_with_time_zone.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/without_minutes.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/without_minutes.json new file mode 100644 index 00000000..9856a55b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/without_minutes.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T01Z", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/without_minutes.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/without_minutes.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/without_minutes.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/without_seconds.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/without_seconds.json new file mode 100644 index 00000000..283c89f7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/without_seconds.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T01:02Z", + "id": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/without_seconds.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/without_seconds.json.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SubmodelRecentChange/updatedAt/without_seconds.json.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/bad_hour.json b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/bad_hour.json new file mode 100644 index 00000000..838ae7fe --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/bad_hour.json @@ -0,0 +1,3 @@ +{ + "$timeVal": "25:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/bad_hour.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/bad_hour.json.errors new file mode 100644 index 00000000..360558ea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/bad_hour.json.errors @@ -0,0 +1,2 @@ +["$timeVal"]: Invariant violated: +The value must match the pattern of a time literal. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/bad_minute.json b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/bad_minute.json new file mode 100644 index 00000000..d15620ab --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/bad_minute.json @@ -0,0 +1,3 @@ +{ + "$timeVal": "12:60" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/bad_minute.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/bad_minute.json.errors new file mode 100644 index 00000000..360558ea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/bad_minute.json.errors @@ -0,0 +1,2 @@ +["$timeVal"]: Invariant violated: +The value must match the pattern of a time literal. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/bad_offset.json b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/bad_offset.json new file mode 100644 index 00000000..67efe130 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/bad_offset.json @@ -0,0 +1,3 @@ +{ + "$timeVal": "12:00+14:30" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/bad_offset.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/bad_offset.json.errors new file mode 100644 index 00000000..360558ea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/bad_offset.json.errors @@ -0,0 +1,2 @@ +["$timeVal"]: Invariant violated: +The value must match the pattern of a time literal. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/date.json b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/date.json new file mode 100644 index 00000000..f7b072fa --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/date.json @@ -0,0 +1,3 @@ +{ + "$timeVal": "2024-01-01" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/date.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/date.json.errors new file mode 100644 index 00000000..360558ea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/date.json.errors @@ -0,0 +1,2 @@ +["$timeVal"]: Invariant violated: +The value must match the pattern of a time literal. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/empty.json new file mode 100644 index 00000000..36dbed33 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/empty.json @@ -0,0 +1,3 @@ +{ + "$timeVal": "" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/empty.json.errors new file mode 100644 index 00000000..360558ea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/empty.json.errors @@ -0,0 +1,2 @@ +["$timeVal"]: Invariant violated: +The value must match the pattern of a time literal. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/missing_minutes.json b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/missing_minutes.json new file mode 100644 index 00000000..c94178e8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/missing_minutes.json @@ -0,0 +1,3 @@ +{ + "$timeVal": "12" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/missing_minutes.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/missing_minutes.json.errors new file mode 100644 index 00000000..360558ea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/TimeLiteral/$timeVal/missing_minutes.json.errors @@ -0,0 +1,2 @@ +["$timeVal"]: Invariant violated: +The value must match the pattern of a time literal. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_01.json new file mode 100644 index 00000000..3ff25919 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_01.json @@ -0,0 +1,3 @@ +{ + "value": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_02.json new file mode 100644 index 00000000..fd377102 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_02.json @@ -0,0 +1,3 @@ +{ + "value": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_03.json new file mode 100644 index 00000000..18fec2cd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_03.json @@ -0,0 +1,3 @@ +{ + "value": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_04.json new file mode 100644 index 00000000..94400e81 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_04.json @@ -0,0 +1,3 @@ +{ + "value": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_05.json new file mode 100644 index 00000000..c0808ca8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_05.json @@ -0,0 +1,3 @@ +{ + "value": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_06.json new file mode 100644 index 00000000..e232d268 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_06.json @@ -0,0 +1,3 @@ +{ + "value": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_07.json new file mode 100644 index 00000000..e21efbb7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_07.json @@ -0,0 +1,3 @@ +{ + "value": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_08.json new file mode 100644 index 00000000..16d69616 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_08.json @@ -0,0 +1,3 @@ +{ + "value": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_09.json new file mode 100644 index 00000000..703d3bb3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_09.json @@ -0,0 +1,3 @@ +{ + "value": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_10.json new file mode 100644 index 00000000..d980426d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_10.json @@ -0,0 +1,3 @@ +{ + "value": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ValueReferencePair/value/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/AnnotatedRelationshipElement/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/AnnotatedRelationshipElement/wrong.json new file mode 100644 index 00000000..1574464f --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/AnnotatedRelationshipElement/wrong.json @@ -0,0 +1,3 @@ +{ + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/AnnotatedRelationshipElement/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/AnnotatedRelationshipElement/wrong.json.exception new file mode 100644 index 00000000..8b232fb6 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/AnnotatedRelationshipElement/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'AnnotatedRelationshipElement', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/AnnotatedRelationshipElementMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/AnnotatedRelationshipElementMetadata/wrong.json new file mode 100644 index 00000000..1574464f --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/AnnotatedRelationshipElementMetadata/wrong.json @@ -0,0 +1,3 @@ +{ + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/AnnotatedRelationshipElementMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/AnnotatedRelationshipElementMetadata/wrong.json.exception new file mode 100644 index 00000000..2750f3e4 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/AnnotatedRelationshipElementMetadata/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'AnnotatedRelationshipElementMetadata', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/AssetAdministrationShell/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/AssetAdministrationShell/wrong.json new file mode 100644 index 00000000..6d8dd05c --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/AssetAdministrationShell/wrong.json @@ -0,0 +1,8 @@ +{ + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/AssetAdministrationShell/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/AssetAdministrationShell/wrong.json.exception new file mode 100644 index 00000000..f5e32fc6 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/AssetAdministrationShell/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'AssetAdministrationShell', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/AssetAdministrationShellMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/AssetAdministrationShellMetadata/wrong.json new file mode 100644 index 00000000..cd3eb9b6 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/AssetAdministrationShellMetadata/wrong.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/AssetAdministrationShellMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/AssetAdministrationShellMetadata/wrong.json.exception new file mode 100644 index 00000000..550b3a6e --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/AssetAdministrationShellMetadata/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'AssetAdministrationShellMetadata', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/BasicEventElement/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/BasicEventElement/wrong.json new file mode 100644 index 00000000..c29132e0 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/BasicEventElement/wrong.json @@ -0,0 +1,18 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/BasicEventElement/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/BasicEventElement/wrong.json.exception new file mode 100644 index 00000000..4ac3356f --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/BasicEventElement/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'BasicEventElement', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/BasicEventElementMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/BasicEventElementMetadata/wrong.json new file mode 100644 index 00000000..8b877f89 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/BasicEventElementMetadata/wrong.json @@ -0,0 +1,5 @@ +{ + "direction": "input", + "state": "on", + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/BasicEventElementMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/BasicEventElementMetadata/wrong.json.exception new file mode 100644 index 00000000..8f305ac1 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/BasicEventElementMetadata/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'BasicEventElementMetadata', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/Blob/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Blob/wrong.json new file mode 100644 index 00000000..1574464f --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Blob/wrong.json @@ -0,0 +1,3 @@ +{ + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/Blob/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Blob/wrong.json.exception new file mode 100644 index 00000000..85336024 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Blob/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'Blob', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/BlobMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/BlobMetadata/wrong.json new file mode 100644 index 00000000..1574464f --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/BlobMetadata/wrong.json @@ -0,0 +1,3 @@ +{ + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/BlobMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/BlobMetadata/wrong.json.exception new file mode 100644 index 00000000..2cd136c5 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/BlobMetadata/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'BlobMetadata', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/Capability/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Capability/wrong.json new file mode 100644 index 00000000..1574464f --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Capability/wrong.json @@ -0,0 +1,3 @@ +{ + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/Capability/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Capability/wrong.json.exception new file mode 100644 index 00000000..14dd904a --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Capability/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'Capability', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/CapabilityMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/CapabilityMetadata/wrong.json new file mode 100644 index 00000000..1574464f --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/CapabilityMetadata/wrong.json @@ -0,0 +1,3 @@ +{ + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/CapabilityMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/CapabilityMetadata/wrong.json.exception new file mode 100644 index 00000000..73e076ab --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/CapabilityMetadata/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'CapabilityMetadata', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/ConceptDescription/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/ConceptDescription/wrong.json new file mode 100644 index 00000000..cd3eb9b6 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/ConceptDescription/wrong.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/ConceptDescription/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/ConceptDescription/wrong.json.exception new file mode 100644 index 00000000..fe54e836 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/ConceptDescription/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'ConceptDescription', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/DataSpecificationIec61360/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/DataSpecificationIec61360/wrong.json new file mode 100644 index 00000000..14a0d362 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/DataSpecificationIec61360/wrong.json @@ -0,0 +1,9 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/DataSpecificationIec61360/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/DataSpecificationIec61360/wrong.json.exception new file mode 100644 index 00000000..93471493 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/DataSpecificationIec61360/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'DataSpecificationIec61360', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/DataSpecificationUom/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/DataSpecificationUom/wrong.json new file mode 100644 index 00000000..f8edb4ca --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/DataSpecificationUom/wrong.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5", + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/DataSpecificationUom/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/DataSpecificationUom/wrong.json.exception new file mode 100644 index 00000000..ccda5b26 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/DataSpecificationUom/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'DataSpecificationUom', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/Entity/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Entity/wrong.json new file mode 100644 index 00000000..1574464f --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Entity/wrong.json @@ -0,0 +1,3 @@ +{ + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/Entity/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Entity/wrong.json.exception new file mode 100644 index 00000000..f6f9736d --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Entity/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'Entity', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/EntityMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/EntityMetadata/wrong.json new file mode 100644 index 00000000..1574464f --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/EntityMetadata/wrong.json @@ -0,0 +1,3 @@ +{ + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/EntityMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/EntityMetadata/wrong.json.exception new file mode 100644 index 00000000..f139c338 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/EntityMetadata/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'EntityMetadata', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/File/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/File/wrong.json new file mode 100644 index 00000000..1574464f --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/File/wrong.json @@ -0,0 +1,3 @@ +{ + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/File/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/File/wrong.json.exception new file mode 100644 index 00000000..7a125da2 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/File/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'File', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/FileMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/FileMetadata/wrong.json new file mode 100644 index 00000000..1574464f --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/FileMetadata/wrong.json @@ -0,0 +1,3 @@ +{ + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/FileMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/FileMetadata/wrong.json.exception new file mode 100644 index 00000000..19593954 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/FileMetadata/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'FileMetadata', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/MultiLanguageProperty/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/MultiLanguageProperty/wrong.json new file mode 100644 index 00000000..1574464f --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/MultiLanguageProperty/wrong.json @@ -0,0 +1,3 @@ +{ + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/MultiLanguageProperty/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/MultiLanguageProperty/wrong.json.exception new file mode 100644 index 00000000..c79f967d --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/MultiLanguageProperty/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'MultiLanguageProperty', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/MultiLanguagePropertyMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/MultiLanguagePropertyMetadata/wrong.json new file mode 100644 index 00000000..1574464f --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/MultiLanguagePropertyMetadata/wrong.json @@ -0,0 +1,3 @@ +{ + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/MultiLanguagePropertyMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/MultiLanguagePropertyMetadata/wrong.json.exception new file mode 100644 index 00000000..c5c4eda6 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/MultiLanguagePropertyMetadata/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'MultiLanguagePropertyMetadata', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/Operation/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Operation/wrong.json new file mode 100644 index 00000000..1574464f --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Operation/wrong.json @@ -0,0 +1,3 @@ +{ + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/Operation/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Operation/wrong.json.exception new file mode 100644 index 00000000..3b1d11d2 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Operation/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'Operation', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/OperationMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/OperationMetadata/wrong.json new file mode 100644 index 00000000..1574464f --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/OperationMetadata/wrong.json @@ -0,0 +1,3 @@ +{ + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/OperationMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/OperationMetadata/wrong.json.exception new file mode 100644 index 00000000..1a88c5a5 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/OperationMetadata/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'OperationMetadata', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/Property/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Property/wrong.json new file mode 100644 index 00000000..8f26c170 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Property/wrong.json @@ -0,0 +1,4 @@ +{ + "valueType": "xs:gDay", + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/Property/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Property/wrong.json.exception new file mode 100644 index 00000000..b5dcc643 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Property/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'Property', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/PropertyMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/PropertyMetadata/wrong.json new file mode 100644 index 00000000..8f26c170 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/PropertyMetadata/wrong.json @@ -0,0 +1,4 @@ +{ + "valueType": "xs:gDay", + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/PropertyMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/PropertyMetadata/wrong.json.exception new file mode 100644 index 00000000..74f53b01 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/PropertyMetadata/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'PropertyMetadata', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/Range/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Range/wrong.json new file mode 100644 index 00000000..8f26c170 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Range/wrong.json @@ -0,0 +1,4 @@ +{ + "valueType": "xs:gDay", + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/Range/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Range/wrong.json.exception new file mode 100644 index 00000000..6d303b6e --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Range/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'Range', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/RangeMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/RangeMetadata/wrong.json new file mode 100644 index 00000000..8f26c170 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/RangeMetadata/wrong.json @@ -0,0 +1,4 @@ +{ + "valueType": "xs:gDay", + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/RangeMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/RangeMetadata/wrong.json.exception new file mode 100644 index 00000000..753a7c25 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/RangeMetadata/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'RangeMetadata', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/ReferenceElement/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/ReferenceElement/wrong.json new file mode 100644 index 00000000..1574464f --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/ReferenceElement/wrong.json @@ -0,0 +1,3 @@ +{ + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/ReferenceElement/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/ReferenceElement/wrong.json.exception new file mode 100644 index 00000000..cd788599 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/ReferenceElement/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'ReferenceElement', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/ReferenceElementMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/ReferenceElementMetadata/wrong.json new file mode 100644 index 00000000..1574464f --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/ReferenceElementMetadata/wrong.json @@ -0,0 +1,3 @@ +{ + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/ReferenceElementMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/ReferenceElementMetadata/wrong.json.exception new file mode 100644 index 00000000..476c4b5b --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/ReferenceElementMetadata/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'ReferenceElementMetadata', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/RelationshipElement/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/RelationshipElement/wrong.json new file mode 100644 index 00000000..1574464f --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/RelationshipElement/wrong.json @@ -0,0 +1,3 @@ +{ + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/RelationshipElement/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/RelationshipElement/wrong.json.exception new file mode 100644 index 00000000..c227d449 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/RelationshipElement/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'RelationshipElement', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/RelationshipElementMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/RelationshipElementMetadata/wrong.json new file mode 100644 index 00000000..1574464f --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/RelationshipElementMetadata/wrong.json @@ -0,0 +1,3 @@ +{ + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/RelationshipElementMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/RelationshipElementMetadata/wrong.json.exception new file mode 100644 index 00000000..f140588d --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/RelationshipElementMetadata/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'RelationshipElementMetadata', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/Submodel/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Submodel/wrong.json new file mode 100644 index 00000000..cd3eb9b6 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Submodel/wrong.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/Submodel/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Submodel/wrong.json.exception new file mode 100644 index 00000000..918987b7 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/Submodel/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'Submodel', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementCollection/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementCollection/wrong.json new file mode 100644 index 00000000..1574464f --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementCollection/wrong.json @@ -0,0 +1,3 @@ +{ + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementCollection/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementCollection/wrong.json.exception new file mode 100644 index 00000000..b61abe37 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementCollection/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'SubmodelElementCollection', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementCollectionMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementCollectionMetadata/wrong.json new file mode 100644 index 00000000..1574464f --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementCollectionMetadata/wrong.json @@ -0,0 +1,3 @@ +{ + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementCollectionMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementCollectionMetadata/wrong.json.exception new file mode 100644 index 00000000..1f7b33f2 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementCollectionMetadata/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'SubmodelElementCollectionMetadata', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementList/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementList/wrong.json new file mode 100644 index 00000000..9b60246e --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementList/wrong.json @@ -0,0 +1,4 @@ +{ + "typeValueListElement": "BasicEventElement", + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementList/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementList/wrong.json.exception new file mode 100644 index 00000000..401b97f3 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementList/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'SubmodelElementList', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementListMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementListMetadata/wrong.json new file mode 100644 index 00000000..9b60246e --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementListMetadata/wrong.json @@ -0,0 +1,4 @@ +{ + "typeValueListElement": "BasicEventElement", + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementListMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementListMetadata/wrong.json.exception new file mode 100644 index 00000000..c35ecd25 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelElementListMetadata/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'SubmodelElementListMetadata', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelMetadata/wrong.json new file mode 100644 index 00000000..cd3eb9b6 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelMetadata/wrong.json @@ -0,0 +1,4 @@ +{ + "id": "0", + "modelType": "soReallyUtterlyInvalid" +} diff --git a/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelMetadata/wrong.json.exception new file mode 100644 index 00000000..43201f52 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/InvalidModelType/SubmodelMetadata/wrong.json.exception @@ -0,0 +1 @@ +Expected the model type 'SubmodelMetadata', but got 'soReallyUtterlyInvalid' at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/AnnotatedRelationshipElement/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/AnnotatedRelationshipElement/wrong.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/AnnotatedRelationshipElement/wrong.json @@ -0,0 +1 @@ +{} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/AnnotatedRelationshipElement/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/AnnotatedRelationshipElement/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/AnnotatedRelationshipElement/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/AnnotatedRelationshipElementMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/AnnotatedRelationshipElementMetadata/wrong.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/AnnotatedRelationshipElementMetadata/wrong.json @@ -0,0 +1 @@ +{} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/AnnotatedRelationshipElementMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/AnnotatedRelationshipElementMetadata/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/AnnotatedRelationshipElementMetadata/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/AssetAdministrationShell/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/AssetAdministrationShell/wrong.json new file mode 100644 index 00000000..92899f95 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/AssetAdministrationShell/wrong.json @@ -0,0 +1,7 @@ +{ + "id": "0", + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + } +} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/AssetAdministrationShell/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/AssetAdministrationShell/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/AssetAdministrationShell/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/AssetAdministrationShellMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/AssetAdministrationShellMetadata/wrong.json new file mode 100644 index 00000000..2229fde4 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/AssetAdministrationShellMetadata/wrong.json @@ -0,0 +1,3 @@ +{ + "id": "0" +} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/AssetAdministrationShellMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/AssetAdministrationShellMetadata/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/AssetAdministrationShellMetadata/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/BasicEventElement/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/BasicEventElement/wrong.json new file mode 100644 index 00000000..6a949de0 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/BasicEventElement/wrong.json @@ -0,0 +1,17 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on" +} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/BasicEventElement/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/BasicEventElement/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/BasicEventElement/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/BasicEventElementMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/BasicEventElementMetadata/wrong.json new file mode 100644 index 00000000..6f5af913 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/BasicEventElementMetadata/wrong.json @@ -0,0 +1,4 @@ +{ + "direction": "input", + "state": "on" +} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/BasicEventElementMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/BasicEventElementMetadata/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/BasicEventElementMetadata/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/Blob/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/Blob/wrong.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/Blob/wrong.json @@ -0,0 +1 @@ +{} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/Blob/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/Blob/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/Blob/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/BlobMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/BlobMetadata/wrong.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/BlobMetadata/wrong.json @@ -0,0 +1 @@ +{} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/BlobMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/BlobMetadata/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/BlobMetadata/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/Capability/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/Capability/wrong.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/Capability/wrong.json @@ -0,0 +1 @@ +{} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/Capability/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/Capability/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/Capability/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/CapabilityMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/CapabilityMetadata/wrong.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/CapabilityMetadata/wrong.json @@ -0,0 +1 @@ +{} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/CapabilityMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/CapabilityMetadata/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/CapabilityMetadata/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/ConceptDescription/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/ConceptDescription/wrong.json new file mode 100644 index 00000000..2229fde4 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/ConceptDescription/wrong.json @@ -0,0 +1,3 @@ +{ + "id": "0" +} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/ConceptDescription/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/ConceptDescription/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/ConceptDescription/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/DataSpecificationIec61360/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/DataSpecificationIec61360/wrong.json new file mode 100644 index 00000000..761ccc71 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/DataSpecificationIec61360/wrong.json @@ -0,0 +1,8 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ] +} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/DataSpecificationIec61360/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/DataSpecificationIec61360/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/DataSpecificationIec61360/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/DataSpecificationUom/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/DataSpecificationUom/wrong.json new file mode 100644 index 00000000..165446cf --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/DataSpecificationUom/wrong.json @@ -0,0 +1,9 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "J5" +} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/DataSpecificationUom/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/DataSpecificationUom/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/DataSpecificationUom/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/Entity/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/Entity/wrong.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/Entity/wrong.json @@ -0,0 +1 @@ +{} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/Entity/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/Entity/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/Entity/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/EntityMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/EntityMetadata/wrong.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/EntityMetadata/wrong.json @@ -0,0 +1 @@ +{} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/EntityMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/EntityMetadata/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/EntityMetadata/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/File/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/File/wrong.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/File/wrong.json @@ -0,0 +1 @@ +{} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/File/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/File/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/File/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/FileMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/FileMetadata/wrong.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/FileMetadata/wrong.json @@ -0,0 +1 @@ +{} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/FileMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/FileMetadata/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/FileMetadata/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/MultiLanguageProperty/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/MultiLanguageProperty/wrong.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/MultiLanguageProperty/wrong.json @@ -0,0 +1 @@ +{} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/MultiLanguageProperty/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/MultiLanguageProperty/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/MultiLanguageProperty/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/MultiLanguagePropertyMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/MultiLanguagePropertyMetadata/wrong.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/MultiLanguagePropertyMetadata/wrong.json @@ -0,0 +1 @@ +{} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/MultiLanguagePropertyMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/MultiLanguagePropertyMetadata/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/MultiLanguagePropertyMetadata/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/Operation/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/Operation/wrong.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/Operation/wrong.json @@ -0,0 +1 @@ +{} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/Operation/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/Operation/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/Operation/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/OperationMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/OperationMetadata/wrong.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/OperationMetadata/wrong.json @@ -0,0 +1 @@ +{} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/OperationMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/OperationMetadata/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/OperationMetadata/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/Property/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/Property/wrong.json new file mode 100644 index 00000000..f131f0ae --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/Property/wrong.json @@ -0,0 +1,3 @@ +{ + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/Property/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/Property/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/Property/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/PropertyMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/PropertyMetadata/wrong.json new file mode 100644 index 00000000..f131f0ae --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/PropertyMetadata/wrong.json @@ -0,0 +1,3 @@ +{ + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/PropertyMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/PropertyMetadata/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/PropertyMetadata/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/Range/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/Range/wrong.json new file mode 100644 index 00000000..f131f0ae --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/Range/wrong.json @@ -0,0 +1,3 @@ +{ + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/Range/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/Range/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/Range/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/RangeMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/RangeMetadata/wrong.json new file mode 100644 index 00000000..f131f0ae --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/RangeMetadata/wrong.json @@ -0,0 +1,3 @@ +{ + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/RangeMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/RangeMetadata/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/RangeMetadata/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/ReferenceElement/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/ReferenceElement/wrong.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/ReferenceElement/wrong.json @@ -0,0 +1 @@ +{} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/ReferenceElement/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/ReferenceElement/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/ReferenceElement/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/ReferenceElementMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/ReferenceElementMetadata/wrong.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/ReferenceElementMetadata/wrong.json @@ -0,0 +1 @@ +{} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/ReferenceElementMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/ReferenceElementMetadata/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/ReferenceElementMetadata/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/RelationshipElement/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/RelationshipElement/wrong.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/RelationshipElement/wrong.json @@ -0,0 +1 @@ +{} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/RelationshipElement/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/RelationshipElement/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/RelationshipElement/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/RelationshipElementMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/RelationshipElementMetadata/wrong.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/RelationshipElementMetadata/wrong.json @@ -0,0 +1 @@ +{} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/RelationshipElementMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/RelationshipElementMetadata/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/RelationshipElementMetadata/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/Submodel/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/Submodel/wrong.json new file mode 100644 index 00000000..2229fde4 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/Submodel/wrong.json @@ -0,0 +1,3 @@ +{ + "id": "0" +} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/Submodel/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/Submodel/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/Submodel/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementCollection/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementCollection/wrong.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementCollection/wrong.json @@ -0,0 +1 @@ +{} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementCollection/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementCollection/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementCollection/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementCollectionMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementCollectionMetadata/wrong.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementCollectionMetadata/wrong.json @@ -0,0 +1 @@ +{} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementCollectionMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementCollectionMetadata/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementCollectionMetadata/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementList/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementList/wrong.json new file mode 100644 index 00000000..48a47076 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementList/wrong.json @@ -0,0 +1,3 @@ +{ + "typeValueListElement": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementList/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementList/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementList/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementListMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementListMetadata/wrong.json new file mode 100644 index 00000000..48a47076 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementListMetadata/wrong.json @@ -0,0 +1,3 @@ +{ + "typeValueListElement": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementListMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementListMetadata/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelElementListMetadata/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelMetadata/wrong.json b/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelMetadata/wrong.json new file mode 100644 index 00000000..2229fde4 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelMetadata/wrong.json @@ -0,0 +1,3 @@ +{ + "id": "0" +} diff --git a/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelMetadata/wrong.json.exception b/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelMetadata/wrong.json.exception new file mode 100644 index 00000000..71fdc647 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/MissingModelType/SubmodelMetadata/wrong.json.exception @@ -0,0 +1 @@ +Required property "modelType" is missing at: the beginning \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/NullViolation/AndExpression/$and.json b/test_data/Json/Unexpected/Unserializable/NullViolation/AndExpression/$and.json new file mode 100644 index 00000000..c30e3773 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/NullViolation/AndExpression/$and.json @@ -0,0 +1,3 @@ +{ + "$and": null +} diff --git a/test_data/Json/Unexpected/Unserializable/NullViolation/AndExpression/$and.json.exception b/test_data/Json/Unexpected/Unserializable/NullViolation/AndExpression/$and.json.exception new file mode 100644 index 00000000..43aca6e0 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/NullViolation/AndExpression/$and.json.exception @@ -0,0 +1 @@ +Expected a JsonArray, but got NULL at: ["$and"] \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShell/assetInformation.json b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShell/assetInformation.json new file mode 100644 index 00000000..bbaed385 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShell/assetInformation.json @@ -0,0 +1,5 @@ +{ + "id": "0", + "modelType": "AssetAdministrationShell", + "assetInformation": null +} diff --git a/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShell/assetInformation.json.exception b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShell/assetInformation.json.exception new file mode 100644 index 00000000..c63c82fc --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShell/assetInformation.json.exception @@ -0,0 +1 @@ +Expected a JsonObject, but got NULL at: assetInformation \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShell/id.json b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShell/id.json new file mode 100644 index 00000000..1cd27fa1 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShell/id.json @@ -0,0 +1,8 @@ +{ + "assetInformation": { + "assetKind": "Batch", + "globalAssetId": "6" + }, + "modelType": "AssetAdministrationShell", + "id": null +} diff --git a/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShell/id.json.exception b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShell/id.json.exception new file mode 100644 index 00000000..60c41241 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShell/id.json.exception @@ -0,0 +1 @@ +Expected a JsonValue of String, but got NULL at: id \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellDescriptor/id.json b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellDescriptor/id.json new file mode 100644 index 00000000..2bb5158a --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellDescriptor/id.json @@ -0,0 +1,3 @@ +{ + "id": null +} diff --git a/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellDescriptor/id.json.exception b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellDescriptor/id.json.exception new file mode 100644 index 00000000..60c41241 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellDescriptor/id.json.exception @@ -0,0 +1 @@ +Expected a JsonValue of String, but got NULL at: id \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellMetadata/id.json b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellMetadata/id.json new file mode 100644 index 00000000..1c870320 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellMetadata/id.json @@ -0,0 +1,4 @@ +{ + "modelType": "AssetAdministrationShellMetadata", + "id": null +} diff --git a/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellMetadata/id.json.exception b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellMetadata/id.json.exception new file mode 100644 index 00000000..60c41241 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellMetadata/id.json.exception @@ -0,0 +1 @@ +Expected a JsonValue of String, but got NULL at: id \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellRecentChange/createdAt.json b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellRecentChange/createdAt.json new file mode 100644 index 00000000..63987907 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellRecentChange/createdAt.json @@ -0,0 +1,5 @@ +{ + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": "J5", + "createdAt": null +} diff --git a/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellRecentChange/createdAt.json.exception b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellRecentChange/createdAt.json.exception new file mode 100644 index 00000000..8c640246 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellRecentChange/createdAt.json.exception @@ -0,0 +1 @@ +Expected a JsonValue of String, but got NULL at: createdAt \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellRecentChange/id.json b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellRecentChange/id.json new file mode 100644 index 00000000..7b1a57fb --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellRecentChange/id.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "updatedAt": "2022-04-01T24:00:00-00:00", + "id": null +} diff --git a/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellRecentChange/id.json.exception b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellRecentChange/id.json.exception new file mode 100644 index 00000000..60c41241 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellRecentChange/id.json.exception @@ -0,0 +1 @@ +Expected a JsonValue of String, but got NULL at: id \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellRecentChange/updatedAt.json b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellRecentChange/updatedAt.json new file mode 100644 index 00000000..d84a71e2 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellRecentChange/updatedAt.json @@ -0,0 +1,5 @@ +{ + "createdAt": "2022-04-01T24:00:00+00:00", + "id": "J5", + "updatedAt": null +} diff --git a/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellRecentChange/updatedAt.json.exception b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellRecentChange/updatedAt.json.exception new file mode 100644 index 00000000..67c156ab --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetAdministrationShellRecentChange/updatedAt.json.exception @@ -0,0 +1 @@ +Expected a JsonValue of String, but got NULL at: updatedAt \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/NullViolation/AssetInformation/assetKind.json b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetInformation/assetKind.json new file mode 100644 index 00000000..a1a5d949 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetInformation/assetKind.json @@ -0,0 +1,4 @@ +{ + "globalAssetId": "0", + "assetKind": null +} diff --git a/test_data/Json/Unexpected/Unserializable/NullViolation/AssetInformation/assetKind.json.exception b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetInformation/assetKind.json.exception new file mode 100644 index 00000000..3c1d3ed7 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetInformation/assetKind.json.exception @@ -0,0 +1 @@ +Expected a JsonValue of String, but got NULL at: assetKind \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/NullViolation/AssetLink/name.json b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetLink/name.json new file mode 100644 index 00000000..99290ce6 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetLink/name.json @@ -0,0 +1,4 @@ +{ + "value": "\ud842\udd224\ud842\udd22", + "name": null +} diff --git a/test_data/Json/Unexpected/Unserializable/NullViolation/AssetLink/name.json.exception b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetLink/name.json.exception new file mode 100644 index 00000000..a0db4b45 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetLink/name.json.exception @@ -0,0 +1 @@ +Expected a JsonValue of String, but got NULL at: name \ No newline at end of file diff --git a/test_data/Json/Unexpected/Unserializable/NullViolation/AssetLink/value.json b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetLink/value.json new file mode 100644 index 00000000..2d4851b8 --- /dev/null +++ b/test_data/Json/Unexpected/Unserializable/NullViolation/AssetLink/value.json @@ -0,0 +1,4 @@ +{ + "name": "\u00db\u0103 + 0013-10-11T24:00:00.000000Z + diff --git a/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..0a2d93f7 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 0001-01-01T00:00:00Z + diff --git a/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..be77dff2 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + -3020-08-21T24:00:00.0Z + diff --git a/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/midnight_with_24_hours.xml b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/midnight_with_24_hours.xml new file mode 100644 index 00000000..d60e8e8f --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/midnight_with_24_hours.xml @@ -0,0 +1,3 @@ + + 2022-04-01T24:00:00Z + diff --git a/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/midnight_with_zeros.xml b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/midnight_with_zeros.xml new file mode 100644 index 00000000..f7996c92 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/midnight_with_zeros.xml @@ -0,0 +1,3 @@ + + 2022-04-01T00:00:00Z + diff --git a/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/minus_zero_offset.xml b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/minus_zero_offset.xml new file mode 100644 index 00000000..a7c690ea --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/minus_zero_offset.xml @@ -0,0 +1,3 @@ + + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/plus_zero_offset.xml b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/plus_zero_offset.xml new file mode 100644 index 00000000..26226c3f --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/plus_zero_offset.xml @@ -0,0 +1,3 @@ + + 2022-04-01T24:00:00+00:00 + diff --git a/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/random_positive.xml b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/random_positive.xml new file mode 100644 index 00000000..27f23dc7 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/random_positive.xml @@ -0,0 +1,3 @@ + + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/very_large_year.xml b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/very_large_year.xml new file mode 100644 index 00000000..7b03e6a2 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/very_large_year.xml @@ -0,0 +1,3 @@ + + 123456789012345678901234567-04-01T00:00:00Z + diff --git a/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/very_long_fractional_second.xml b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/very_long_fractional_second.xml new file mode 100644 index 00000000..cb20cd28 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/very_long_fractional_second.xml @@ -0,0 +1,3 @@ + + 2022-04-01T00:00:00.1234567890123456789012345678901234567890Z + diff --git a/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..bf3b0e8b --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/year_1_bce_is_a_leap_year.xml @@ -0,0 +1,3 @@ + + -0001-02-29T01:02:03Z + diff --git a/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..e7ae0570 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/createdAtOverPatternExamples/year_5_bce_is_a_leap_year.xml @@ -0,0 +1,3 @@ + + -0005-02-29T01:02:03Z + diff --git a/test_data/Xml/Expected/administrativeInformation/created_at_equal_to_updated_at.xml b/test_data/Xml/Expected/administrativeInformation/created_at_equal_to_updated_at.xml new file mode 100644 index 00000000..343f2718 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/created_at_equal_to_updated_at.xml @@ -0,0 +1,88 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-example:15:bafb75bf + + + + + + + + en-JM-x-4138dab8 + [\h$񒺟ìÖċŠ1¿ + + + 0 + + + + + + ExternalReference + + + GlobalReference + urn:something:06:8c675c7e + + + + + + + + en-JM-x-ed3d945d + 𠤢4𠤢 + + + 򤑌M𪠇𛔊򂄲 + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:6a4b9a64 + + + + + + + + en-JM-x-03ed72b5 + J5 + + + en-JM-x-f78bd480 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + <ă<P󨱽²|dnœÞ® + + + + + 116 + 7 + + ExternalReference + + + GlobalReference + urn:another-example:09:31c8656d + + + + 2022-04-01T12:00:00Z + 2022-04-01T12:00:00Z + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/administrativeInformation/maximal.xml b/test_data/Xml/Expected/administrativeInformation/maximal.xml new file mode 100644 index 00000000..6e7aafe1 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/maximal.xml @@ -0,0 +1,72 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + 116 + 116 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + 2022-04-01T12:00:00Z + 2022-04-02T12:00:00Z + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/administrativeInformation/minimal.xml b/test_data/Xml/Expected/administrativeInformation/minimal.xml new file mode 100644 index 00000000..ca3115cd --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/four_digits.xml b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/four_digits.xml new file mode 100644 index 00000000..76ecc5d0 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/four_digits.xml @@ -0,0 +1,4 @@ + + 1230 + 1230 + diff --git a/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..a79bb00e --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 1230 + 59 + diff --git a/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..0c4b2cf6 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 1230 + 116 + diff --git a/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..88e2827b --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + 1230 + 7 + diff --git a/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..50d620fe --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + 1230 + 32 + diff --git a/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/one.xml b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/one.xml new file mode 100644 index 00000000..fc507494 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/one.xml @@ -0,0 +1,4 @@ + + 1230 + 1 + diff --git a/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/three_digits.xml b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/three_digits.xml new file mode 100644 index 00000000..e2d87c3f --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/three_digits.xml @@ -0,0 +1,4 @@ + + 1230 + 120 + diff --git a/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/two_digits.xml b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/two_digits.xml new file mode 100644 index 00000000..2b1877c5 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/two_digits.xml @@ -0,0 +1,4 @@ + + 1230 + 10 + diff --git a/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/zero.xml b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/zero.xml new file mode 100644 index 00000000..c06dbc6f --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/zero.xml @@ -0,0 +1,4 @@ + + 1230 + 0 + diff --git a/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..f5ff5d8f --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..9a16f8b0 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..94ca43ee --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..2a1760d5 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..72eb32bf --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..a6a4171e --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..a260d660 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..91b1c3f6 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..7316d763 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..f92467f0 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..40520bb6 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 0013-10-11T24:00:00.000000Z + diff --git a/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..6549f756 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 0001-01-01T00:00:00Z + diff --git a/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..b399978c --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + -3020-08-21T24:00:00.0Z + diff --git a/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/midnight_with_24_hours.xml b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/midnight_with_24_hours.xml new file mode 100644 index 00000000..d7479798 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/midnight_with_24_hours.xml @@ -0,0 +1,3 @@ + + 2022-04-01T24:00:00Z + diff --git a/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/midnight_with_zeros.xml b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/midnight_with_zeros.xml new file mode 100644 index 00000000..63cfd3f5 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/midnight_with_zeros.xml @@ -0,0 +1,3 @@ + + 2022-04-01T00:00:00Z + diff --git a/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/minus_zero_offset.xml b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/minus_zero_offset.xml new file mode 100644 index 00000000..a8669198 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/minus_zero_offset.xml @@ -0,0 +1,3 @@ + + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/plus_zero_offset.xml b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/plus_zero_offset.xml new file mode 100644 index 00000000..8edb380a --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/plus_zero_offset.xml @@ -0,0 +1,3 @@ + + 2022-04-01T24:00:00+00:00 + diff --git a/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/random_positive.xml b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/random_positive.xml new file mode 100644 index 00000000..bd95527b --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/random_positive.xml @@ -0,0 +1,3 @@ + + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/very_large_year.xml b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/very_large_year.xml new file mode 100644 index 00000000..f0a860b2 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/very_large_year.xml @@ -0,0 +1,3 @@ + + 123456789012345678901234567-04-01T00:00:00Z + diff --git a/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/very_long_fractional_second.xml b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/very_long_fractional_second.xml new file mode 100644 index 00000000..e9563e56 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/very_long_fractional_second.xml @@ -0,0 +1,3 @@ + + 2022-04-01T00:00:00.1234567890123456789012345678901234567890Z + diff --git a/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..58fd1724 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/year_1_bce_is_a_leap_year.xml @@ -0,0 +1,3 @@ + + -0001-02-29T01:02:03Z + diff --git a/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..0ebe8799 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/updatedAtOverPatternExamples/year_5_bce_is_a_leap_year.xml @@ -0,0 +1,3 @@ + + -0005-02-29T01:02:03Z + diff --git a/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/four_digits.xml b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/four_digits.xml new file mode 100644 index 00000000..350d26c6 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/four_digits.xml @@ -0,0 +1,3 @@ + + 1230 + diff --git a/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..a9001e62 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 59 + diff --git a/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..5da3ffb4 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 116 + diff --git a/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..adebb245 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + 7 + diff --git a/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..b7463169 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + 32 + diff --git a/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/one.xml b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/one.xml new file mode 100644 index 00000000..261b872c --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/one.xml @@ -0,0 +1,3 @@ + + 1 + diff --git a/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/three_digits.xml b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/three_digits.xml new file mode 100644 index 00000000..7ab6ef0d --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/three_digits.xml @@ -0,0 +1,3 @@ + + 120 + diff --git a/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/two_digits.xml b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/two_digits.xml new file mode 100644 index 00000000..5dd7ae6c --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/two_digits.xml @@ -0,0 +1,3 @@ + + 10 + diff --git a/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/zero.xml b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/zero.xml new file mode 100644 index 00000000..0e404369 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/zero.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/andExpression/maximal.xml b/test_data/Xml/Expected/andExpression/maximal.xml new file mode 100644 index 00000000..21383cbd --- /dev/null +++ b/test_data/Xml/Expected/andExpression/maximal.xml @@ -0,0 +1,24 @@ + + + + + + $aas#idShort + + + $aasdesc#endpoints[0].protocolinformation.href + + + + + + + something_b589635f + + + something_cf0bb8c6 + + + + + diff --git a/test_data/Xml/Expected/andExpression/minimal.xml b/test_data/Xml/Expected/andExpression/minimal.xml new file mode 100644 index 00000000..21383cbd --- /dev/null +++ b/test_data/Xml/Expected/andExpression/minimal.xml @@ -0,0 +1,24 @@ + + + + + + $aas#idShort + + + $aasdesc#endpoints[0].protocolinformation.href + + + + + + + something_b589635f + + + something_cf0bb8c6 + + + + + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..88be9e95 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..995d32c0 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..ac4e6309 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..fb569fed --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..603d30f6 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..15ac8e18 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..d0e46aba --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..4bb5ceef --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..174f7326 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..25134b7d --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..3f8518a6 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..a38689e3 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..af7ed551 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..f310d01a --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..8dcd7f26 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..64a6a1f6 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..accad782 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..083a9c67 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..fe609f45 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..3dfcaaa8 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..9ce282e0 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..88e6abdb --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..791c757b --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..a89f1628 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..7931e78a --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..00e7ca72 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..eba168bf --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..e8d0bca3 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..80dc118e --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..9b222165 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..b49b25c4 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/maximal.xml b/test_data/Xml/Expected/annotatedRelationshipElement/maximal.xml new file mode 100644 index 00000000..90faf7f0 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/maximal.xml @@ -0,0 +1,166 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/minimal.xml b/test_data/Xml/Expected/annotatedRelationshipElement/minimal.xml new file mode 100644 index 00000000..ffeb7451 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..aea38690 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..079c3e6b --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..f123f36f --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..56235d5b --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..f1a4ed07 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..1c2815e9 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..ce8492ac --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..837184b7 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..34ae303b --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..b99b2359 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..6d911f23 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..4dffb6f7 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..c9d6832e --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..5ff5ba5c --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..40fb5a13 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..1b8fec8c --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..14dee40f --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..3e6ff329 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..c1bd51f5 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..5d6c4cc1 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..867fe7a8 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..3c35488d --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..7bc99b4b --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..cd0fa78b --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..9f3a1510 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..a1582a11 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..b11abe0c --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..322bb5f0 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..c6116934 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..7f2d2cb2 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..1cc567dc --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/maximal.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/maximal.xml new file mode 100644 index 00000000..26810e34 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/maximal.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementMetadata/minimal.xml b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/minimal.xml new file mode 100644 index 00000000..fb973d0f --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementMetadata/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementValue/maximal.xml b/test_data/Xml/Expected/annotatedRelationshipElementValue/maximal.xml new file mode 100644 index 00000000..c7eeb449 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementValue/maximal.xml @@ -0,0 +1,65 @@ + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + a-_ + + something_7e4e401e + + + + tWC + + 17240976.11 + + + + EO5DYAe + + 0 + + + + a----------------b + + + + + something_56d756a6 + + + 35366450.02 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Expected/annotatedRelationshipElementValue/minimal.xml b/test_data/Xml/Expected/annotatedRelationshipElementValue/minimal.xml new file mode 100644 index 00000000..32ac4409 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElementValue/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..77c9f634 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,8 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..db1519fe --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,8 @@ + + 𠤢4𠤢 + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..72ae4207 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,8 @@ + + [\h$񒺟ìÖċŠ1¿ + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..d06ce8b5 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,8 @@ + + öĖa􍣡™| + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..f68e4106 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,8 @@ + + J5 + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..22d51759 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,8 @@ + + Ûă<P󨱽²|dnœÞ® + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..64620575 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,8 @@ + + 6 + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..8a63f28b --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,8 @@ + + 򤑌M𪠇𛔊򂄲 + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..d5bbadd7 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,8 @@ + + <ă<P󨱽²|dnœÞ® + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..7ed90d3d --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,8 @@ + + 0 + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..4d34ff36 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,7 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..d0180a93 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,7 @@ + + 𠤢4𠤢 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..ba232ec9 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,7 @@ + + [\h$񒺟ìÖċŠ1¿ + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..a1b73921 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,7 @@ + + öĖa􍣡™| + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..21e21a2d --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,7 @@ + + J5 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..d84093e2 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,7 @@ + + Ûă<P󨱽²|dnœÞ® + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..9dbe339b --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,7 @@ + + 6 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..97160d66 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,7 @@ + + 򤑌M𪠇𛔊򂄲 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..81962f94 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,7 @@ + + <ă<P󨱽²|dnœÞ® + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..9873793e --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,7 @@ + + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..181c75d8 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,8 @@ + + a-_-_-_-_-_ + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..d1488e40 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,8 @@ + + strange-name_ + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..8a4bcf34 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,8 @@ + + fULCVpULCVq + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..7ec99ff0 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,8 @@ + + AopQejF + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..2f05551e --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,8 @@ + + Jk0k1414Di + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..ce17b6a9 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,8 @@ + + pVz10Vz10vZZNO9hM + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..b8881926 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,8 @@ + + t8x1pz9WS4TGV + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..1b0f77f2 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,8 @@ + + tWC + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..a6442dfd --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,8 @@ + + xF2bO_Uje6 + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..cb2908dd --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,8 @@ + + EO5DYAe + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..cdc6d8d4 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,8 @@ + + nRdRe + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..a0a25268 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,8 @@ + + P7gn + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..2ca67bad --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,8 @@ + + a-_ + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..b27c90c9 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,8 @@ + + a----------------b + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..da28150d --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,8 @@ + + a________________ + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..67c55c9c --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,8 @@ + + a0 + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..6725c500 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,8 @@ + + aa + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..86922c1c --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,8 @@ + + a_ + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..98fd194a --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,8 @@ + + AZ + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..d0c064b1 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,8 @@ + + a-b + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..b3230f02 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,8 @@ + + A_ + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/maximal.xml b/test_data/Xml/Expected/assetAdministrationShell/maximal.xml new file mode 100644 index 00000000..3b3c470b --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/maximal.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + NotApplicable + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/minimal.xml b/test_data/Xml/Expected/assetAdministrationShell/minimal.xml new file mode 100644 index 00000000..9873793e --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/minimal.xml @@ -0,0 +1,7 @@ + + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..6cd52bb0 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 0 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..d697c4b6 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 0 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..fe011086 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + 0 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..c6a64d6e --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + 0 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..1436bf44 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + 0 + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..8468f898 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + 0 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..f966f062 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 0 + 6 + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..62bf6516 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 0 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..f09ed5c9 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + 0 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..d6f15ce5 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/assetTypeOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..b24f697f --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 0 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..0465ddbe --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 0 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..e559fbd9 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + 0 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..58451f8b --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + 0 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..80982bea --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + 0 + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..165981dc --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + 0 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..ab33b92e --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 0 + 6 + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..53866c6b --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 0 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..ef7ac699 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + 0 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..6d9c79e7 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/globalAssetIdOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..146aea1a --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..85e12c33 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..60f97086 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..6afdd4cc --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..f0747c20 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..98431986 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..859284b9 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..6c84111d --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..446e6c1c --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..949ad3fe --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..1e97845e --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 0 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..685c2696 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 0 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..6c76ca05 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + 0 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..c736dd85 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + 0 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..62f7c7bd --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + 0 + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..b5d8713b --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + 0 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..d1f29736 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 0 + 6 + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..b8aa4d48 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 0 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..37cc4d88 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + 0 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..5329d182 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/maximal.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/maximal.xml new file mode 100644 index 00000000..7f158a32 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/maximal.xml @@ -0,0 +1,89 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + + Batch + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Expected/assetAdministrationShellDescriptor/minimal.xml b/test_data/Xml/Expected/assetAdministrationShellDescriptor/minimal.xml new file mode 100644 index 00000000..949ad3fe --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellDescriptor/minimal.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..d535df1d --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..5eb11dfe --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 𠤢4𠤢 + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..c7c9048e --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + [\h$񒺟ìÖċŠ1¿ + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..2f50e018 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + öĖa􍣡™| + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..dff8c43b --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + J5 + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..729ef766 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..d0f17d99 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 6 + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..1e8cc583 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..7c48c78c --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + <ă<P󨱽²|dnœÞ® + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..064a4c06 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..8ee5242d --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..bb8a5270 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..d6d059c9 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..949b5d85 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..c03544b8 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..9427a690 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..28b8398a --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..b4c933e4 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..2ade8126 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..78cf7b28 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..cdc032cb --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,4 @@ + + a-_-_-_-_-_ + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..6b506457 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,4 @@ + + strange-name_ + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..216dfc46 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + fULCVpULCVq + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..6f60738c --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + AopQejF + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..1ccfb5ee --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + Jk0k1414Di + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..f237efab --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + pVz10Vz10vZZNO9hM + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..4164e2d9 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + t8x1pz9WS4TGV + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..ed2bb05c --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + tWC + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..7e2e4e02 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + xF2bO_Uje6 + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..4fd50192 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + EO5DYAe + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..abc74528 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + nRdRe + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..e9ed3488 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + P7gn + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..5de8c847 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,4 @@ + + a-_ + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..113e819e --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,4 @@ + + a----------------b + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..a594b198 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,4 @@ + + a________________ + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..b4e75c8e --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,4 @@ + + a0 + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..d110336b --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,4 @@ + + aa + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..6b7fed6d --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,4 @@ + + a_ + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..33d77527 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,4 @@ + + AZ + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..d059ccb4 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,4 @@ + + a-b + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..0f19294e --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,4 @@ + + A_ + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/maximal.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/maximal.xml new file mode 100644 index 00000000..ae4949e0 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/maximal.xml @@ -0,0 +1,99 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:some-company:05:3dfe70e9 + + + + diff --git a/test_data/Xml/Expected/assetAdministrationShellMetadata/minimal.xml b/test_data/Xml/Expected/assetAdministrationShellMetadata/minimal.xml new file mode 100644 index 00000000..78cf7b28 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellMetadata/minimal.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..b45f0afc --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,5 @@ + + 0013-10-11T24:00:00.000000Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..31f05703 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,5 @@ + + 0001-01-01T00:00:00Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..6c68c80f --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,5 @@ + + -3020-08-21T24:00:00.0Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/midnight_with_24_hours.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/midnight_with_24_hours.xml new file mode 100644 index 00000000..d9825cb2 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/midnight_with_24_hours.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/midnight_with_zeros.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/midnight_with_zeros.xml new file mode 100644 index 00000000..34aa75a6 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/midnight_with_zeros.xml @@ -0,0 +1,5 @@ + + 2022-04-01T00:00:00Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/minus_zero_offset.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/minus_zero_offset.xml new file mode 100644 index 00000000..d78e2191 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/minus_zero_offset.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00-00:00 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/plus_zero_offset.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/plus_zero_offset.xml new file mode 100644 index 00000000..d74975dd --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/plus_zero_offset.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/random_positive.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/random_positive.xml new file mode 100644 index 00000000..50b87365 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/random_positive.xml @@ -0,0 +1,5 @@ + + 2022-04-01T01:02:03Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/very_large_year.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/very_large_year.xml new file mode 100644 index 00000000..1873b44b --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/very_large_year.xml @@ -0,0 +1,5 @@ + + 123456789012345678901234567-04-01T00:00:00Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/very_long_fractional_second.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/very_long_fractional_second.xml new file mode 100644 index 00000000..cd3f851b --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/very_long_fractional_second.xml @@ -0,0 +1,5 @@ + + 2022-04-01T00:00:00.1234567890123456789012345678901234567890Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..af44e1ab --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/year_1_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + -0001-02-29T01:02:03Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..e57ad064 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/createdAtOverPatternExamples/year_5_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + -0005-02-29T01:02:03Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..871e11ef --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,6 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..a44b6204 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,6 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..5fa3299b --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,6 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..cd4d3979 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,6 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..d2fc1cac --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,6 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..f59d2104 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,6 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..1004c0f6 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,6 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + 6 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..f052e7ab --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,6 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..cc9b1acc --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,6 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..339a2a40 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/globalAssetIdOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,6 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..208eeead --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..ce5bd0f4 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..2b55fa5a --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..147b6974 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..d74975dd --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..16ac8dc3 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..bd39eaf8 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + 6 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..52c8ed10 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..7fbe9c3b --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..0fcd6866 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/idOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + 0 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/maximal.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/maximal.xml new file mode 100644 index 00000000..5f3e4387 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/maximal.xml @@ -0,0 +1,20 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + 0 + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/minimal.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/minimal.xml new file mode 100644 index 00000000..d74975dd --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/minimal.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..d2904144 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 0013-10-11T24:00:00.000000Z + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..945d843f --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 0001-01-01T00:00:00Z + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..79c5c4b2 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + -3020-08-21T24:00:00.0Z + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/midnight_with_24_hours.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/midnight_with_24_hours.xml new file mode 100644 index 00000000..8e0e3b80 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/midnight_with_24_hours.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/midnight_with_zeros.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/midnight_with_zeros.xml new file mode 100644 index 00000000..5b2ca4ee --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/midnight_with_zeros.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T00:00:00Z + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/minus_zero_offset.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/minus_zero_offset.xml new file mode 100644 index 00000000..d74975dd --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/minus_zero_offset.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/plus_zero_offset.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/plus_zero_offset.xml new file mode 100644 index 00000000..bb06daec --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/plus_zero_offset.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00+00:00 + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/random_positive.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/random_positive.xml new file mode 100644 index 00000000..41c8510d --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/random_positive.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T01:02:03Z + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/very_large_year.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/very_large_year.xml new file mode 100644 index 00000000..16b82fcf --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/very_large_year.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 123456789012345678901234567-04-01T00:00:00Z + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/very_long_fractional_second.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/very_long_fractional_second.xml new file mode 100644 index 00000000..43deeae4 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/very_long_fractional_second.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T00:00:00.1234567890123456789012345678901234567890Z + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..b7cbc87a --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/year_1_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + -0001-02-29T01:02:03Z + J5 + diff --git a/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..1adb7bb4 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShellRecentChange/updatedAtOverPatternExamples/year_5_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + -0005-02-29T01:02:03Z + J5 + diff --git a/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..02f65a89 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,5 @@ + + Batch + 0 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..4c365c49 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,5 @@ + + Batch + 0 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..7f586004 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,5 @@ + + Batch + 0 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..fa2747d8 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,5 @@ + + Batch + 0 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..6d3020a4 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,5 @@ + + Batch + 0 + J5 + diff --git a/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..8e1bcd55 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,5 @@ + + Batch + 0 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..66751dc7 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,5 @@ + + Batch + 0 + 6 + diff --git a/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..3e878863 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,5 @@ + + Batch + 0 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..239e0ff1 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,5 @@ + + Batch + 0 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..df2319a3 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,5 @@ + + Batch + 0 + 0 + diff --git a/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..2da7b088 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + Batch + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..ebc7ccd5 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + Batch + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..af71a111 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + Batch + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..a02aa9e4 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + Batch + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..33712e82 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + Batch + J5 + diff --git a/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..9f1bb994 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Batch + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..ba80a01d --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + Batch + 6 + diff --git a/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..2b2511c4 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + Batch + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..685d975a --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + Batch + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..3d853948 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + Batch + 0 + diff --git a/test_data/Xml/Expected/assetInformation/global_asset_id_name_in_other_case_with_matching_value.xml b/test_data/Xml/Expected/assetInformation/global_asset_id_name_in_other_case_with_matching_value.xml new file mode 100644 index 00000000..0de19625 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/global_asset_id_name_in_other_case_with_matching_value.xml @@ -0,0 +1,10 @@ + + NotApplicable + urn:global:asset + + + GLOBALassetID + urn:global:asset + + + diff --git a/test_data/Xml/Expected/assetInformation/global_asset_id_name_with_matching_value.xml b/test_data/Xml/Expected/assetInformation/global_asset_id_name_with_matching_value.xml new file mode 100644 index 00000000..34197996 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/global_asset_id_name_with_matching_value.xml @@ -0,0 +1,10 @@ + + Type + urn:global:asset + + + globalAssetId + urn:global:asset + + + diff --git a/test_data/Xml/Expected/assetInformation/maximal.xml b/test_data/Xml/Expected/assetInformation/maximal.xml new file mode 100644 index 00000000..9b2e34bd --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/maximal.xml @@ -0,0 +1,22 @@ + + Batch + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + Ûă<P󨱽²|dnœÞ® + + news:comp.infosystems.www.servers.unix + + diff --git a/test_data/Xml/Expected/assetInformation/minimal.xml b/test_data/Xml/Expected/assetInformation/minimal.xml new file mode 100644 index 00000000..3d853948 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/minimal.xml @@ -0,0 +1,4 @@ + + Batch + 0 + diff --git a/test_data/Xml/Expected/assetInformation/similar_name_with_different_value.xml b/test_data/Xml/Expected/assetInformation/similar_name_with_different_value.xml new file mode 100644 index 00000000..351d047d --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/similar_name_with_different_value.xml @@ -0,0 +1,10 @@ + + Role + urn:global:asset + + + globalAssetIds + urn:other + + + diff --git a/test_data/Xml/Expected/assetLink/maximal.xml b/test_data/Xml/Expected/assetLink/maximal.xml new file mode 100644 index 00000000..a3786a7d --- /dev/null +++ b/test_data/Xml/Expected/assetLink/maximal.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/assetLink/minimal.xml b/test_data/Xml/Expected/assetLink/minimal.xml new file mode 100644 index 00000000..a565074c --- /dev/null +++ b/test_data/Xml/Expected/assetLink/minimal.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..343cc472 --- /dev/null +++ b/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..b60a7c34 --- /dev/null +++ b/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 𠤢4𠤢 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..f336450b --- /dev/null +++ b/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + [\h$񒺟ìÖċŠ1¿ + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..9995f6ce --- /dev/null +++ b/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + öĖa􍣡™| + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..f971ba22 --- /dev/null +++ b/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + J5 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..a565074c --- /dev/null +++ b/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..1b6c00db --- /dev/null +++ b/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 6 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..e7396502 --- /dev/null +++ b/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..ded7df8f --- /dev/null +++ b/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + <ă<P󨱽²|dnœÞ® + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..5e8b485a --- /dev/null +++ b/test_data/Xml/Expected/assetLink/nameOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..a5b96027 --- /dev/null +++ b/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..a565074c --- /dev/null +++ b/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..0b572b5b --- /dev/null +++ b/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..b4be0aa6 --- /dev/null +++ b/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..c125f57b --- /dev/null +++ b/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + J5 + diff --git a/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..0b103e6c --- /dev/null +++ b/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..4656aeee --- /dev/null +++ b/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 6 + diff --git a/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..a3786a7d --- /dev/null +++ b/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..8a239663 --- /dev/null +++ b/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..7121402b --- /dev/null +++ b/test_data/Xml/Expected/assetLink/valueOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 0 + diff --git a/test_data/Xml/Expected/attributeOperand/maximal.xml b/test_data/Xml/Expected/attributeOperand/maximal.xml new file mode 100644 index 00000000..625852b4 --- /dev/null +++ b/test_data/Xml/Expected/attributeOperand/maximal.xml @@ -0,0 +1,7 @@ + + + + something_00860a04 + + + diff --git a/test_data/Xml/Expected/attributeOperand/minimal.xml b/test_data/Xml/Expected/attributeOperand/minimal.xml new file mode 100644 index 00000000..625852b4 --- /dev/null +++ b/test_data/Xml/Expected/attributeOperand/minimal.xml @@ -0,0 +1,7 @@ + + + + something_00860a04 + + + diff --git a/test_data/Xml/Expected/baseOperationResult/maximal.xml b/test_data/Xml/Expected/baseOperationResult/maximal.xml new file mode 100644 index 00000000..4374984c --- /dev/null +++ b/test_data/Xml/Expected/baseOperationResult/maximal.xml @@ -0,0 +1,14 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + diff --git a/test_data/Xml/Expected/baseOperationResult/minimal.xml b/test_data/Xml/Expected/baseOperationResult/minimal.xml new file mode 100644 index 00000000..fde4d33f --- /dev/null +++ b/test_data/Xml/Expected/baseOperationResult/minimal.xml @@ -0,0 +1,3 @@ + + Running + diff --git a/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..b6ac2b32 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,18 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..1bd127dd --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,18 @@ + + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..5d68d479 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,18 @@ + + [\h$񒺟ìÖċŠ1¿ + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..f7b563f9 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,18 @@ + + öĖa􍣡™| + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..9824a75a --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,18 @@ + + J5 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..10a6fbae --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,18 @@ + + Ûă<P󨱽²|dnœÞ® + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..0db4daa8 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,18 @@ + + 6 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..0ce806cd --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,18 @@ + + 򤑌M𪠇𛔊򂄲 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..84dee85d --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,18 @@ + + <ă<P󨱽²|dnœÞ® + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..8d626ee5 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,18 @@ + + 0 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..4fc7bee9 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,18 @@ + + a-_-_-_-_-_ + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..bd2bf218 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,18 @@ + + strange-name_ + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..5bcbb740 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,18 @@ + + fULCVpULCVq + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..f66c5e3a --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,18 @@ + + AopQejF + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..a6ef452e --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,18 @@ + + Jk0k1414Di + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..42108893 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,18 @@ + + pVz10Vz10vZZNO9hM + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..518c249f --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,18 @@ + + t8x1pz9WS4TGV + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..89406e78 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,18 @@ + + tWC + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..d4f10974 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,18 @@ + + xF2bO_Uje6 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..89d63681 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,18 @@ + + EO5DYAe + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..4b30f106 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,18 @@ + + nRdRe + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..274b7daf --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,18 @@ + + P7gn + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..92b40ca4 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,18 @@ + + a-_ + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..0d5200ce --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,18 @@ + + a----------------b + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..ae6863d3 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,18 @@ + + a________________ + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..72045c32 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,18 @@ + + a0 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..3f5f0113 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,18 @@ + + aa + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..94d8af76 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,18 @@ + + a_ + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..493d0ef2 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,18 @@ + + AZ + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..6edaf118 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,18 @@ + + a-b + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..94459a7b --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,18 @@ + + A_ + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..bbddfd40 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 0013-10-11T24:00:00.000000Z + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..87010835 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 0001-01-01T00:00:00Z + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..f93938dc --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -3020-08-21T24:00:00.0Z + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/midnight_with_24_hours.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/midnight_with_24_hours.xml new file mode 100644 index 00000000..ebf22443 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/midnight_with_24_hours.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T24:00:00Z + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/midnight_with_zeros.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/midnight_with_zeros.xml new file mode 100644 index 00000000..8edaa472 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/midnight_with_zeros.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T00:00:00Z + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/minus_zero_offset.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/minus_zero_offset.xml new file mode 100644 index 00000000..a13868fc --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/minus_zero_offset.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/plus_zero_offset.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/plus_zero_offset.xml new file mode 100644 index 00000000..17c6092c --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/plus_zero_offset.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T24:00:00+00:00 + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/random_positive.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/random_positive.xml new file mode 100644 index 00000000..e161e3de --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/random_positive.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/very_large_year.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/very_large_year.xml new file mode 100644 index 00000000..60a93f60 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/very_large_year.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 123456789012345678901234567-04-01T00:00:00Z + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/very_long_fractional_second.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/very_long_fractional_second.xml new file mode 100644 index 00000000..bc4eae1c --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/very_long_fractional_second.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T00:00:00.1234567890123456789012345678901234567890Z + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..b61ab565 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/year_1_bce_is_a_leap_year.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -0001-02-29T01:02:03Z + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..a1cb047a --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/year_5_bce_is_a_leap_year.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -0005-02-29T01:02:03Z + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/day_seconds.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/day_seconds.xml new file mode 100644 index 00000000..51e7cc98 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/day_seconds.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + P1DT2S + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/full.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/full.xml new file mode 100644 index 00000000..8008a0f5 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/full.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + P1Y2M3DT5H20M30.123S + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..64a85158 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + -P009D + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..aa716901 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + P5Y36660767143M + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..26f3c68f --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + -PT01332.1S + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..877d6e3f --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + -P11DT142M + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..98cfafd7 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + PT88M48936316289.34291243605107045S + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..4d7baa60 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + -P1M923D + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..f8289e01 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + -PT0.332S + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..d94a9d29 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + -PT313148178698146281H866062127724898M + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..861fcf61 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + -PT1.5375209S + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..c0c36d47 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + PT18688M + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/long_second_fractal.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/long_second_fractal.xml new file mode 100644 index 00000000..c71d9f42 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/long_second_fractal.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + PT1.12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/many_many_seconds.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/many_many_seconds.xml new file mode 100644 index 00000000..c2a529c7 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/many_many_seconds.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + PT12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/month_seconds.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/month_seconds.xml new file mode 100644 index 00000000..50caec90 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/month_seconds.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + PT2M10S + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/only_seconds.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/only_seconds.xml new file mode 100644 index 00000000..5ad72817 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/only_seconds.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + PT130S + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/only_year.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/only_year.xml new file mode 100644 index 00000000..001b7d16 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/only_year.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + -P1Y + diff --git a/test_data/Xml/Expected/basicEventElement/maximal.xml b/test_data/Xml/Expected/basicEventElement/maximal.xml new file mode 100644 index 00000000..f5af92c4 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maximal.xml @@ -0,0 +1,172 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..782ce1bc --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..8e62f141 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..6a38c944 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..c17c5b72 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..bff3e341 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + J5 + diff --git a/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..332691ef --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..6175a9f1 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 6 + diff --git a/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..2f48c0f2 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..5603a31d --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..217f23d3 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 0 + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/day_seconds.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/day_seconds.xml new file mode 100644 index 00000000..d79f9f2b --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/day_seconds.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P1DT2S + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/full.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/full.xml new file mode 100644 index 00000000..b1a194a1 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/full.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P1Y2M3DT5H20M30.123S + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..a155db87 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -P009D + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..4f568b61 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P5Y36660767143M + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..feccb3ac --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -PT01332.1S + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..0829ff2d --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -P11DT142M + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..9711db47 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + PT88M48936316289.34291243605107045S + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..09538eb8 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -P1M923D + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..e535f008 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -PT0.332S + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..457ab9a9 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -PT313148178698146281H866062127724898M + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..6dc9bed4 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -PT1.5375209S + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..47857380 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + PT18688M + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/long_second_fractal.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/long_second_fractal.xml new file mode 100644 index 00000000..8f64a9e7 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/long_second_fractal.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + PT1.12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/many_many_seconds.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/many_many_seconds.xml new file mode 100644 index 00000000..fc577801 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/many_many_seconds.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + PT12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/month_seconds.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/month_seconds.xml new file mode 100644 index 00000000..b430737f --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/month_seconds.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + PT2M10S + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/only_seconds.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/only_seconds.xml new file mode 100644 index 00000000..0e948139 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/only_seconds.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + PT130S + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/only_year.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/only_year.xml new file mode 100644 index 00000000..6c9352d2 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/only_year.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -P1Y + diff --git a/test_data/Xml/Expected/basicEventElement/minimal.xml b/test_data/Xml/Expected/basicEventElement/minimal.xml new file mode 100644 index 00000000..f5248625 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minimal.xml @@ -0,0 +1,17 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..8f1db9b8 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,5 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..7b9b677d --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,5 @@ + + 𠤢4𠤢 + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..447df011 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,5 @@ + + [\h$񒺟ìÖċŠ1¿ + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..5ef7df2f --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,5 @@ + + öĖa􍣡™| + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..ce33df70 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,5 @@ + + J5 + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..6832413f --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..63df07d8 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,5 @@ + + 6 + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..afc3513f --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,5 @@ + + 򤑌M𪠇𛔊򂄲 + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..c3c01156 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,5 @@ + + <ă<P󨱽²|dnœÞ® + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..13bcb151 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,5 @@ + + 0 + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..ad176569 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,5 @@ + + a-_-_-_-_-_ + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..b3cc3e3b --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,5 @@ + + strange-name_ + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..b1d9bb0e --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,5 @@ + + fULCVpULCVq + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..9fb9b2c7 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,5 @@ + + AopQejF + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..5decb8f9 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,5 @@ + + Jk0k1414Di + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..d7be69fb --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,5 @@ + + pVz10Vz10vZZNO9hM + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..6ddb2725 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,5 @@ + + t8x1pz9WS4TGV + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..cf655a28 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,5 @@ + + tWC + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..93da270c --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,5 @@ + + xF2bO_Uje6 + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..8b665f2d --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,5 @@ + + EO5DYAe + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..09ce3d55 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,5 @@ + + nRdRe + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..43631e68 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,5 @@ + + P7gn + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..4cbbb92a --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,5 @@ + + a-_ + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..98e59eeb --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,5 @@ + + a----------------b + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..5587f7b5 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,5 @@ + + a________________ + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..d8b6c038 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,5 @@ + + a0 + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..29f2113c --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,5 @@ + + aa + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..737859d6 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,5 @@ + + a_ + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..ee7e8766 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,5 @@ + + AZ + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..6a837730 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,5 @@ + + a-b + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..9a5c6160 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,5 @@ + + A_ + input + on + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..efb22a87 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,5 @@ + + input + on + 0013-10-11T24:00:00.000000Z + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..582831b7 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,5 @@ + + input + on + 0001-01-01T00:00:00Z + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..a6024d1d --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,5 @@ + + input + on + -3020-08-21T24:00:00.0Z + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/midnight_with_24_hours.xml b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/midnight_with_24_hours.xml new file mode 100644 index 00000000..48dd2539 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/midnight_with_24_hours.xml @@ -0,0 +1,5 @@ + + input + on + 2022-04-01T24:00:00Z + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/midnight_with_zeros.xml b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/midnight_with_zeros.xml new file mode 100644 index 00000000..28c89ef8 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/midnight_with_zeros.xml @@ -0,0 +1,5 @@ + + input + on + 2022-04-01T00:00:00Z + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/minus_zero_offset.xml b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/minus_zero_offset.xml new file mode 100644 index 00000000..e9b46e16 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/minus_zero_offset.xml @@ -0,0 +1,5 @@ + + input + on + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/plus_zero_offset.xml b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/plus_zero_offset.xml new file mode 100644 index 00000000..8dad07a0 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/plus_zero_offset.xml @@ -0,0 +1,5 @@ + + input + on + 2022-04-01T24:00:00+00:00 + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/random_positive.xml b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/random_positive.xml new file mode 100644 index 00000000..ad97f9fd --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/random_positive.xml @@ -0,0 +1,5 @@ + + input + on + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/very_large_year.xml b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/very_large_year.xml new file mode 100644 index 00000000..658a2739 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/very_large_year.xml @@ -0,0 +1,5 @@ + + input + on + 123456789012345678901234567-04-01T00:00:00Z + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/very_long_fractional_second.xml b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/very_long_fractional_second.xml new file mode 100644 index 00000000..45ae1057 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/very_long_fractional_second.xml @@ -0,0 +1,5 @@ + + input + on + 2022-04-01T00:00:00.1234567890123456789012345678901234567890Z + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..ab1ecd51 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/year_1_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + input + on + -0001-02-29T01:02:03Z + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..0cfd22a5 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/lastUpdateOverPatternExamples/year_5_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + input + on + -0005-02-29T01:02:03Z + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/day_seconds.xml b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/day_seconds.xml new file mode 100644 index 00000000..9b8b8e8a --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/day_seconds.xml @@ -0,0 +1,5 @@ + + input + on + P1DT2S + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/full.xml b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/full.xml new file mode 100644 index 00000000..8bd2836c --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/full.xml @@ -0,0 +1,5 @@ + + input + on + P1Y2M3DT5H20M30.123S + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..67fe2166 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,5 @@ + + input + on + -P009D + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..c3c4f9a8 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,5 @@ + + input + on + P5Y36660767143M + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..08903fbb --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,5 @@ + + input + on + -PT01332.1S + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..4fb2f57f --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,5 @@ + + input + on + -P11DT142M + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..649e47fb --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,5 @@ + + input + on + PT88M48936316289.34291243605107045S + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..daa752eb --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,5 @@ + + input + on + -P1M923D + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..319ea29b --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,5 @@ + + input + on + -PT0.332S + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..dcd3d427 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,5 @@ + + input + on + -PT313148178698146281H866062127724898M + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..05be54a4 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,5 @@ + + input + on + -PT1.5375209S + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..f7690ec4 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,5 @@ + + input + on + PT18688M + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/long_second_fractal.xml b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/long_second_fractal.xml new file mode 100644 index 00000000..75e1aa6a --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/long_second_fractal.xml @@ -0,0 +1,5 @@ + + input + on + PT1.12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/many_many_seconds.xml b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/many_many_seconds.xml new file mode 100644 index 00000000..6b0d9add --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/many_many_seconds.xml @@ -0,0 +1,5 @@ + + input + on + PT12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/month_seconds.xml b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/month_seconds.xml new file mode 100644 index 00000000..4b27241a --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/month_seconds.xml @@ -0,0 +1,5 @@ + + input + on + PT2M10S + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/only_seconds.xml b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/only_seconds.xml new file mode 100644 index 00000000..75686b05 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/only_seconds.xml @@ -0,0 +1,5 @@ + + input + on + PT130S + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/only_year.xml b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/only_year.xml new file mode 100644 index 00000000..ffcb90ba --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/maxIntervalOverPatternExamples/only_year.xml @@ -0,0 +1,5 @@ + + input + on + -P1Y + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/maximal.xml b/test_data/Xml/Expected/basicEventElementMetadata/maximal.xml new file mode 100644 index 00000000..3e778d6e --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/maximal.xml @@ -0,0 +1,155 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..7ce59c69 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,5 @@ + + input + on + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..58845fe6 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,5 @@ + + input + on + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..1419bd1d --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,5 @@ + + input + on + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..32919552 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,5 @@ + + input + on + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..980e3f9c --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,5 @@ + + input + on + J5 + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..4ea3cf25 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,5 @@ + + input + on + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..24a4fc64 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,5 @@ + + input + on + 6 + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..a0977b71 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,5 @@ + + input + on + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..6683b634 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,5 @@ + + input + on + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..7dd2151a --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/messageTopicOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,5 @@ + + input + on + 0 + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/day_seconds.xml b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/day_seconds.xml new file mode 100644 index 00000000..38fb91ee --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/day_seconds.xml @@ -0,0 +1,5 @@ + + input + on + P1DT2S + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/full.xml b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/full.xml new file mode 100644 index 00000000..6c3ec192 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/full.xml @@ -0,0 +1,5 @@ + + input + on + P1Y2M3DT5H20M30.123S + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..e9260047 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,5 @@ + + input + on + -P009D + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..77234f96 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,5 @@ + + input + on + P5Y36660767143M + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..b80f1986 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,5 @@ + + input + on + -PT01332.1S + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..1884cce0 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,5 @@ + + input + on + -P11DT142M + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..07ca1a4b --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,5 @@ + + input + on + PT88M48936316289.34291243605107045S + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..b14baeb6 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,5 @@ + + input + on + -P1M923D + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..6017476d --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,5 @@ + + input + on + -PT0.332S + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..47ccaf0d --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,5 @@ + + input + on + -PT313148178698146281H866062127724898M + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..49a0b364 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,5 @@ + + input + on + -PT1.5375209S + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..d43ac062 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,5 @@ + + input + on + PT18688M + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/long_second_fractal.xml b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/long_second_fractal.xml new file mode 100644 index 00000000..55b40a63 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/long_second_fractal.xml @@ -0,0 +1,5 @@ + + input + on + PT1.12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/many_many_seconds.xml b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/many_many_seconds.xml new file mode 100644 index 00000000..1854840b --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/many_many_seconds.xml @@ -0,0 +1,5 @@ + + input + on + PT12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/month_seconds.xml b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/month_seconds.xml new file mode 100644 index 00000000..8bc4db7b --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/month_seconds.xml @@ -0,0 +1,5 @@ + + input + on + PT2M10S + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/only_seconds.xml b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/only_seconds.xml new file mode 100644 index 00000000..b665b731 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/only_seconds.xml @@ -0,0 +1,5 @@ + + input + on + PT130S + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/only_year.xml b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/only_year.xml new file mode 100644 index 00000000..b96ea4c3 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/minIntervalOverPatternExamples/only_year.xml @@ -0,0 +1,5 @@ + + input + on + -P1Y + diff --git a/test_data/Xml/Expected/basicEventElementMetadata/minimal.xml b/test_data/Xml/Expected/basicEventElementMetadata/minimal.xml new file mode 100644 index 00000000..13b0ddde --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementMetadata/minimal.xml @@ -0,0 +1,4 @@ + + input + on + diff --git a/test_data/Xml/Expected/basicEventElementValue/maximal.xml b/test_data/Xml/Expected/basicEventElementValue/maximal.xml new file mode 100644 index 00000000..711799ba --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementValue/maximal.xml @@ -0,0 +1,11 @@ + + + ExternalReference + + + GlobalReference + urn:yet-another-company:02:3262900a + + + + diff --git a/test_data/Xml/Expected/basicEventElementValue/minimal.xml b/test_data/Xml/Expected/basicEventElementValue/minimal.xml new file mode 100644 index 00000000..711799ba --- /dev/null +++ b/test_data/Xml/Expected/basicEventElementValue/minimal.xml @@ -0,0 +1,11 @@ + + + ExternalReference + + + GlobalReference + urn:yet-another-company:02:3262900a + + + + diff --git a/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..b2f11db0 --- /dev/null +++ b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..33160622 --- /dev/null +++ b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..842d32c1 --- /dev/null +++ b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..4eb512e0 --- /dev/null +++ b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..84a383bb --- /dev/null +++ b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..d3de4ba3 --- /dev/null +++ b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..d57eb47a --- /dev/null +++ b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..1fa1862e --- /dev/null +++ b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..c5b71e18 --- /dev/null +++ b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..b91ca5f4 --- /dev/null +++ b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/dash.xml b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/dash.xml new file mode 100644 index 00000000..421eac8c --- /dev/null +++ b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/dash.xml @@ -0,0 +1,3 @@ + + application/x-abiword + diff --git a/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/dots.xml b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/dots.xml new file mode 100644 index 00000000..f8919862 --- /dev/null +++ b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/dots.xml @@ -0,0 +1,3 @@ + + application/vnd.amazon.ebook + diff --git a/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..ea120017 --- /dev/null +++ b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 7/6qwqh6g + diff --git a/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..0f9f607f --- /dev/null +++ b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15j/5j + diff --git a/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..9eb9952d --- /dev/null +++ b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + 'VbrwFrYTU/fO7NnLxq ; MX.`10dB732`X5yRy=I56Ov9Us ; pRb~~hdw_C%2Zf="" ; h=1t + diff --git a/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/number prefix and suffix.xml b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/number prefix and suffix.xml new file mode 100644 index 00000000..297a0651 --- /dev/null +++ b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/number prefix and suffix.xml @@ -0,0 +1,3 @@ + + audio/3gpp2 + diff --git a/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/only_letters.xml b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/only_letters.xml new file mode 100644 index 00000000..ccfe0076 --- /dev/null +++ b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/only_letters.xml @@ -0,0 +1,3 @@ + + audio/aac + diff --git a/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/plus.xml b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/plus.xml new file mode 100644 index 00000000..f472e931 --- /dev/null +++ b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/plus.xml @@ -0,0 +1,3 @@ + + application/vnd.apple.installer+xml + diff --git a/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/random_common_MIME_type.xml b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/random_common_MIME_type.xml new file mode 100644 index 00000000..af2e50ed --- /dev/null +++ b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/random_common_MIME_type.xml @@ -0,0 +1,3 @@ + + application/something-random + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..182fb19e --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..6859ea87 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..8d0e7fc2 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..3c915449 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..a2fe4a4e --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..2e0a0b4c --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..516cd314 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..6f0921fe --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..1750d870 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..4ee8098c --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..75e41445 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..ab590baa --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..96ebeba7 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..c9d290fc --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..09d1b8be --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..cf3b6c96 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..2e19249e --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..33b1a6af --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..2ee5f5e0 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..2aebd172 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..043d9547 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/blob/maximal.xml b/test_data/Xml/Expected/blob/maximal.xml new file mode 100644 index 00000000..46a6cc11 --- /dev/null +++ b/test_data/Xml/Expected/blob/maximal.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Expected/blob/minimal.xml b/test_data/Xml/Expected/blob/minimal.xml new file mode 100644 index 00000000..ebaff16f --- /dev/null +++ b/test_data/Xml/Expected/blob/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..6ea1f8a1 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..3e1b19eb --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..55cd5cd7 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..31d01d71 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..b5695c81 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..538df359 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..36991cbd --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..72eb5897 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..ef3fce87 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..e44d5927 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..69f21e70 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..f2f64736 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..ce8d8ddb --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..32e61793 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..24097106 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..fe15d972 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..14298fae --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..5da2bfcc --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..bfa382aa --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..e1d155d9 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..85854d18 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..8db4da82 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..1528cc11 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..748722e4 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..44ffbb93 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..afb0d442 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..cbaeb94c --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..bc8a230d --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..b0741ff3 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..11d28bfd --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..ebbb3331 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/blobMetadata/maximal.xml b/test_data/Xml/Expected/blobMetadata/maximal.xml new file mode 100644 index 00000000..90c2bc63 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/maximal.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Expected/blobMetadata/minimal.xml b/test_data/Xml/Expected/blobMetadata/minimal.xml new file mode 100644 index 00000000..e7cdd4e8 --- /dev/null +++ b/test_data/Xml/Expected/blobMetadata/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/dash.xml b/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/dash.xml new file mode 100644 index 00000000..3baa327c --- /dev/null +++ b/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/dash.xml @@ -0,0 +1,3 @@ + + application/x-abiword + diff --git a/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/dots.xml b/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/dots.xml new file mode 100644 index 00000000..53375532 --- /dev/null +++ b/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/dots.xml @@ -0,0 +1,3 @@ + + application/vnd.amazon.ebook + diff --git a/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..f9c80f27 --- /dev/null +++ b/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 7/6qwqh6g + diff --git a/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..4168373c --- /dev/null +++ b/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15j/5j + diff --git a/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..9e2b5564 --- /dev/null +++ b/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + 'VbrwFrYTU/fO7NnLxq ; MX.`10dB732`X5yRy=I56Ov9Us ; pRb~~hdw_C%2Zf="" ; h=1t + diff --git a/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/number prefix and suffix.xml b/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/number prefix and suffix.xml new file mode 100644 index 00000000..930dcde7 --- /dev/null +++ b/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/number prefix and suffix.xml @@ -0,0 +1,3 @@ + + audio/3gpp2 + diff --git a/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/only_letters.xml b/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/only_letters.xml new file mode 100644 index 00000000..036dc4f0 --- /dev/null +++ b/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/only_letters.xml @@ -0,0 +1,3 @@ + + audio/aac + diff --git a/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/plus.xml b/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/plus.xml new file mode 100644 index 00000000..67615040 --- /dev/null +++ b/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/plus.xml @@ -0,0 +1,3 @@ + + application/vnd.apple.installer+xml + diff --git a/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/random_common_MIME_type.xml b/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/random_common_MIME_type.xml new file mode 100644 index 00000000..303d2751 --- /dev/null +++ b/test_data/Xml/Expected/blobValue/contentTypeOverPatternExamples/random_common_MIME_type.xml @@ -0,0 +1,3 @@ + + application/something-random + diff --git a/test_data/Xml/Expected/blobValue/maximal.xml b/test_data/Xml/Expected/blobValue/maximal.xml new file mode 100644 index 00000000..88768bb4 --- /dev/null +++ b/test_data/Xml/Expected/blobValue/maximal.xml @@ -0,0 +1,4 @@ + + 15j/5j + RyaIxQ6R/Wrra8w= + diff --git a/test_data/Xml/Expected/blobValue/minimal.xml b/test_data/Xml/Expected/blobValue/minimal.xml new file mode 100644 index 00000000..051e1a1c --- /dev/null +++ b/test_data/Xml/Expected/blobValue/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/booleanCast/maximal.xml b/test_data/Xml/Expected/booleanCast/maximal.xml new file mode 100644 index 00000000..f63487e4 --- /dev/null +++ b/test_data/Xml/Expected/booleanCast/maximal.xml @@ -0,0 +1,7 @@ + + + + something_a3fe9637 + + + diff --git a/test_data/Xml/Expected/booleanCast/minimal.xml b/test_data/Xml/Expected/booleanCast/minimal.xml new file mode 100644 index 00000000..f63487e4 --- /dev/null +++ b/test_data/Xml/Expected/booleanCast/minimal.xml @@ -0,0 +1,7 @@ + + + + something_a3fe9637 + + + diff --git a/test_data/Xml/Expected/booleanLiteral/maximal.xml b/test_data/Xml/Expected/booleanLiteral/maximal.xml new file mode 100644 index 00000000..bc9e7b4e --- /dev/null +++ b/test_data/Xml/Expected/booleanLiteral/maximal.xml @@ -0,0 +1,3 @@ + + false + diff --git a/test_data/Xml/Expected/booleanLiteral/minimal.xml b/test_data/Xml/Expected/booleanLiteral/minimal.xml new file mode 100644 index 00000000..bc9e7b4e --- /dev/null +++ b/test_data/Xml/Expected/booleanLiteral/minimal.xml @@ -0,0 +1,3 @@ + + false + diff --git a/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..8b051638 --- /dev/null +++ b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..1fd94e0c --- /dev/null +++ b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..76419d1c --- /dev/null +++ b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..8709af37 --- /dev/null +++ b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..e3bf4d2e --- /dev/null +++ b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..20fb5e09 --- /dev/null +++ b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..234de8cd --- /dev/null +++ b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..6ce694b8 --- /dev/null +++ b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..27639a37 --- /dev/null +++ b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..027defd2 --- /dev/null +++ b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..05b3a366 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..ae56d3a7 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..121c3e2f --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..284b14e0 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..d4bdd19a --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..9fd530a4 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..547559cd --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..02455c12 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..57a81a47 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..530f214a --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..04237601 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..3f20807b --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..f2a676a2 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..3ba0530c --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..719d16c6 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..27156c83 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..53f60855 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..544de2ec --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..06b51803 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..007978bd --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..717e371b --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/capability/maximal.xml b/test_data/Xml/Expected/capability/maximal.xml new file mode 100644 index 00000000..7838c46a --- /dev/null +++ b/test_data/Xml/Expected/capability/maximal.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Expected/capability/minimal.xml b/test_data/Xml/Expected/capability/minimal.xml new file mode 100644 index 00000000..f25eb5db --- /dev/null +++ b/test_data/Xml/Expected/capability/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..48ba22a3 --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..396d8b2e --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..bf39363b --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..5c01d630 --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..f38aca1e --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..f19d2054 --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..d1949c8b --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..b50ef6c9 --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..6026c035 --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..7ea79659 --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..835aa8d7 --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..cda17cba --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..050e0a97 --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..5e655026 --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..ca39b92f --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..c182e93b --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..2a2f296d --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..b5751854 --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..45581b4f --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..3b3c6c16 --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..8a17758b --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..60b0f0c3 --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..c24d50d9 --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..b6dd8b58 --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..4a4d7e91 --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..1958a3fe --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..b9efca58 --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..c68ca32c --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..5923597c --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..529a1603 --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..013c10b5 --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/capabilityMetadata/maximal.xml b/test_data/Xml/Expected/capabilityMetadata/maximal.xml new file mode 100644 index 00000000..20c67fef --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/maximal.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Expected/capabilityMetadata/minimal.xml b/test_data/Xml/Expected/capabilityMetadata/minimal.xml new file mode 100644 index 00000000..c6ca3a97 --- /dev/null +++ b/test_data/Xml/Expected/capabilityMetadata/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/claimAttribute/maximal.xml b/test_data/Xml/Expected/claimAttribute/maximal.xml new file mode 100644 index 00000000..2755d19c --- /dev/null +++ b/test_data/Xml/Expected/claimAttribute/maximal.xml @@ -0,0 +1,3 @@ + + something_a8aab6e9 + diff --git a/test_data/Xml/Expected/claimAttribute/minimal.xml b/test_data/Xml/Expected/claimAttribute/minimal.xml new file mode 100644 index 00000000..2755d19c --- /dev/null +++ b/test_data/Xml/Expected/claimAttribute/minimal.xml @@ -0,0 +1,3 @@ + + something_a8aab6e9 + diff --git a/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..c54e8a1c --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..b0f670d4 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 𠤢4𠤢 + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..149f9a8a --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + [\h$񒺟ìÖċŠ1¿ + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..eeb30c48 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + öĖa􍣡™| + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..f674dac8 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + J5 + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..b2907616 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..0c3ebb24 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 6 + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..bf1b9999 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..03f1c895 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + <ă<P󨱽²|dnœÞ® + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..835c2f58 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..21e06437 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..070d726c --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..7ee90f98 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..a99d2f66 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..2292fe16 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..ed175ef2 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..c8154b22 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..663248cd --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..14f8d845 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..981c97cf --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..af9e7226 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,4 @@ + + a-_-_-_-_-_ + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..24581e10 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,4 @@ + + strange-name_ + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..a657ea9f --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + fULCVpULCVq + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..c0c40d67 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + AopQejF + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..fca7e02d --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + Jk0k1414Di + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..4af34dd2 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + pVz10Vz10vZZNO9hM + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..42fd0cc9 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + t8x1pz9WS4TGV + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..9fdedc8a --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + tWC + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..7f1162da --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + xF2bO_Uje6 + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..d52362b9 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + EO5DYAe + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..be853c99 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + nRdRe + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..8187bef1 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + P7gn + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..bfb675e5 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,4 @@ + + a-_ + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..8f38cb95 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,4 @@ + + a----------------b + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..73d1ee9d --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,4 @@ + + a________________ + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..0da13356 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,4 @@ + + a0 + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..8c407ce5 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,4 @@ + + aa + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..34de7490 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,4 @@ + + a_ + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..05b2cc85 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,4 @@ + + AZ + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..e42bc4d5 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,4 @@ + + a-b + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..f4755bbb --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,4 @@ + + A_ + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/maximal.xml b/test_data/Xml/Expected/conceptDescription/maximal.xml new file mode 100644 index 00000000..79c03a48 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/maximal.xml @@ -0,0 +1,113 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Expected/conceptDescription/minimal.xml b/test_data/Xml/Expected/conceptDescription/minimal.xml new file mode 100644 index 00000000..981c97cf --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/minimal.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..8a64a46e --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,5 @@ + + 0013-10-11T24:00:00.000000Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..dbd03894 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,5 @@ + + 0001-01-01T00:00:00Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..6fd83e3f --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,5 @@ + + -3020-08-21T24:00:00.0Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/midnight_with_24_hours.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/midnight_with_24_hours.xml new file mode 100644 index 00000000..26d7efe6 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/midnight_with_24_hours.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/midnight_with_zeros.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/midnight_with_zeros.xml new file mode 100644 index 00000000..5f95e45c --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/midnight_with_zeros.xml @@ -0,0 +1,5 @@ + + 2022-04-01T00:00:00Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/minus_zero_offset.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/minus_zero_offset.xml new file mode 100644 index 00000000..932a1586 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/minus_zero_offset.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00-00:00 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/plus_zero_offset.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/plus_zero_offset.xml new file mode 100644 index 00000000..4daaf74b --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/plus_zero_offset.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/random_positive.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/random_positive.xml new file mode 100644 index 00000000..0185f9d4 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/random_positive.xml @@ -0,0 +1,5 @@ + + 2022-04-01T01:02:03Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/very_large_year.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/very_large_year.xml new file mode 100644 index 00000000..75b44011 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/very_large_year.xml @@ -0,0 +1,5 @@ + + 123456789012345678901234567-04-01T00:00:00Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/very_long_fractional_second.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/very_long_fractional_second.xml new file mode 100644 index 00000000..ec7decf1 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/very_long_fractional_second.xml @@ -0,0 +1,5 @@ + + 2022-04-01T00:00:00.1234567890123456789012345678901234567890Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..a2f3a64a --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/year_1_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + -0001-02-29T01:02:03Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..1ef003e4 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/createdAtOverPatternExamples/year_5_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + -0005-02-29T01:02:03Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..4131901c --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..5c5b7fee --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..7874f523 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..437c47b4 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..4daaf74b --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..48e46eaa --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..784e6e53 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + 6 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..03be3fcf --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..eb3eb65e --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..c093f908 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/idOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + 0 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/maximal.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/maximal.xml new file mode 100644 index 00000000..3efe71d0 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/maximal.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + 0 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/minimal.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/minimal.xml new file mode 100644 index 00000000..4daaf74b --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/minimal.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..9e3c6681 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 0013-10-11T24:00:00.000000Z + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..0b19d89b --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 0001-01-01T00:00:00Z + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..5d39d829 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + -3020-08-21T24:00:00.0Z + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/midnight_with_24_hours.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/midnight_with_24_hours.xml new file mode 100644 index 00000000..05883f33 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/midnight_with_24_hours.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/midnight_with_zeros.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/midnight_with_zeros.xml new file mode 100644 index 00000000..a7609e03 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/midnight_with_zeros.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T00:00:00Z + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/minus_zero_offset.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/minus_zero_offset.xml new file mode 100644 index 00000000..4daaf74b --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/minus_zero_offset.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/plus_zero_offset.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/plus_zero_offset.xml new file mode 100644 index 00000000..fc02f345 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/plus_zero_offset.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00+00:00 + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/random_positive.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/random_positive.xml new file mode 100644 index 00000000..9dc80666 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/random_positive.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T01:02:03Z + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/very_large_year.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/very_large_year.xml new file mode 100644 index 00000000..d0e2671d --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/very_large_year.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 123456789012345678901234567-04-01T00:00:00Z + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/very_long_fractional_second.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/very_long_fractional_second.xml new file mode 100644 index 00000000..f982a283 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/very_long_fractional_second.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T00:00:00.1234567890123456789012345678901234567890Z + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..daa26eef --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/year_1_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + -0001-02-29T01:02:03Z + J5 + diff --git a/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..eefce893 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescriptionRecentChange/updatedAtOverPatternExamples/year_5_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + -0005-02-29T01:02:03Z + J5 + diff --git a/test_data/Xml/Expected/containsComparison/maximal.xml b/test_data/Xml/Expected/containsComparison/maximal.xml new file mode 100644 index 00000000..2cbf4e3e --- /dev/null +++ b/test_data/Xml/Expected/containsComparison/maximal.xml @@ -0,0 +1,14 @@ + + + + + + something_aa87dee6 + + + + + $sme.list[3].prop#valueType + + + diff --git a/test_data/Xml/Expected/containsComparison/minimal.xml b/test_data/Xml/Expected/containsComparison/minimal.xml new file mode 100644 index 00000000..2cbf4e3e --- /dev/null +++ b/test_data/Xml/Expected/containsComparison/minimal.xml @@ -0,0 +1,14 @@ + + + + + + something_aa87dee6 + + + + + $sme.list[3].prop#valueType + + + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/maximal.xml b/test_data/Xml/Expected/dataSpecificationIec61360/maximal.xml new file mode 100644 index 00000000..cc9e51b7 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/maximal.xml @@ -0,0 +1,41 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/minimal.xml b/test_data/Xml/Expected/dataSpecificationIec61360/minimal.xml new file mode 100644 index 00000000..bebabaa6 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/minimal.xml @@ -0,0 +1,8 @@ + + + + en-JM-x-c7dddb5b + 6 + + + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..121429ca --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..2e3666d8 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..764dce54 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..d422433d --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..eb7c693e --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..25bc7f0e --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..5100e4bb --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 6 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..cb70bc65 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..343583a3 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..1008b327 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 0 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..9298472d --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..adcb66e8 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..ca5ae676 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..9a2b2585 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..dffebee4 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..c64b244c --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..f0d9948c --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 6 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..13561adb --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..b9b46858 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..d4e54f3d --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 0 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..7f97a7eb --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..03d97a14 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..e9a55d93 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..fe09bc5c --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..230ab869 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..ab1f9fd6 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..f5629e7f --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 6 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..224f7249 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..87e16b09 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..8e3b95c7 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 0 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..63f29845 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..6aa4b362 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..81020e77 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..4a0598f7 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..54518d1f --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..ec87c5cc --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..72e5315a --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 6 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..5e343018 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..f34839de --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..12493946 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 0 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..59a2048b --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..6633dafc --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..e6fcddca --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..d30c7f11 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..0d80206e --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..b050263b --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..a3d3530c --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 6 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..a2d445a5 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..c2cd4ffc --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..5206777c --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 0 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..7ce0344a --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..6de6f44e --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..35413b92 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..73976f9c --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..7a1d372e --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + J5 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..21bca0dd --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..c418e8cd --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + 6 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..a0d8b7bf --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..f7bdef48 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..53309f1f --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + 0 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..9f781d6a --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..3a4aa88b --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..ad0bbe82 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..a5a74f25 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..81627560 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + J5 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..7de7ea75 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..ba7803c8 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + 6 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..22258635 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..7209dfe8 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..a59d445c --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/classificationSystemVersionOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + 0 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/maximal.xml b/test_data/Xml/Expected/dataSpecificationUom/maximal.xml new file mode 100644 index 00000000..0cb61909 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/maximal.xml @@ -0,0 +1,33 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + en-JM-x-86de9a4b + <ă<P󨱽²|dnœÞ® + + + en-JM-x-9bd9cd32 + 𠤢4𠤢 + + + en-JM-x-3d2061f3 + J5 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/dataSpecificationUom/minimal.xml b/test_data/Xml/Expected/dataSpecificationUom/minimal.xml new file mode 100644 index 00000000..c84420e1 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/minimal.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..ba0232ae --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..13ce615c --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..27639cf4 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..f6dd7f02 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..30c2dfa8 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + J5 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..bb8a5963 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..ca1e1d0c --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + 6 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..ae74a81b --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..8c6fec07 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..4147dde1 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/quantityIdOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + 0 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..a8d15a21 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..5b7391a1 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..6ce9fc35 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..30f8a8d8 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..f1b2f877 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + J5 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..fb8ad12c --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..f1d9dfe9 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + 6 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..482efd0b --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..cb2c594f --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..63df6494 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/specificUnitIdOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + 0 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..19b771a2 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..17501933 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..1a522a8a --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..245939b4 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..c84420e1 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..db85b421 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..8eb17992 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 6 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..38dc5369 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..9b415bd0 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..f4b8395d --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationUom/symbolOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 0 + diff --git a/test_data/Xml/Expected/dateTimeAttributeItem/maximal.xml b/test_data/Xml/Expected/dateTimeAttributeItem/maximal.xml new file mode 100644 index 00000000..4693470f --- /dev/null +++ b/test_data/Xml/Expected/dateTimeAttributeItem/maximal.xml @@ -0,0 +1,3 @@ + + LOCALNOW + diff --git a/test_data/Xml/Expected/dateTimeAttributeItem/minimal.xml b/test_data/Xml/Expected/dateTimeAttributeItem/minimal.xml new file mode 100644 index 00000000..4693470f --- /dev/null +++ b/test_data/Xml/Expected/dateTimeAttributeItem/minimal.xml @@ -0,0 +1,3 @@ + + LOCALNOW + diff --git a/test_data/Xml/Expected/dateTimeAttributeOperand/maximal.xml b/test_data/Xml/Expected/dateTimeAttributeOperand/maximal.xml new file mode 100644 index 00000000..82d89e46 --- /dev/null +++ b/test_data/Xml/Expected/dateTimeAttributeOperand/maximal.xml @@ -0,0 +1,5 @@ + + + CLIENTNOW + + diff --git a/test_data/Xml/Expected/dateTimeAttributeOperand/minimal.xml b/test_data/Xml/Expected/dateTimeAttributeOperand/minimal.xml new file mode 100644 index 00000000..82d89e46 --- /dev/null +++ b/test_data/Xml/Expected/dateTimeAttributeOperand/minimal.xml @@ -0,0 +1,5 @@ + + + CLIENTNOW + + diff --git a/test_data/Xml/Expected/dateTimeCast/maximal.xml b/test_data/Xml/Expected/dateTimeCast/maximal.xml new file mode 100644 index 00000000..0c0b6ffa --- /dev/null +++ b/test_data/Xml/Expected/dateTimeCast/maximal.xml @@ -0,0 +1,7 @@ + + + + something_431540db + + + diff --git a/test_data/Xml/Expected/dateTimeCast/minimal.xml b/test_data/Xml/Expected/dateTimeCast/minimal.xml new file mode 100644 index 00000000..0c0b6ffa --- /dev/null +++ b/test_data/Xml/Expected/dateTimeCast/minimal.xml @@ -0,0 +1,7 @@ + + + + something_431540db + + + diff --git a/test_data/Xml/Expected/dateTimeLiteral/dateTimeValOverPatternExamples/midnight_24.xml b/test_data/Xml/Expected/dateTimeLiteral/dateTimeValOverPatternExamples/midnight_24.xml new file mode 100644 index 00000000..a7601c74 --- /dev/null +++ b/test_data/Xml/Expected/dateTimeLiteral/dateTimeValOverPatternExamples/midnight_24.xml @@ -0,0 +1,3 @@ + + 2023-01-01T24:00:00 + diff --git a/test_data/Xml/Expected/dateTimeLiteral/dateTimeValOverPatternExamples/negative_offset.xml b/test_data/Xml/Expected/dateTimeLiteral/dateTimeValOverPatternExamples/negative_offset.xml new file mode 100644 index 00000000..b27b3836 --- /dev/null +++ b/test_data/Xml/Expected/dateTimeLiteral/dateTimeValOverPatternExamples/negative_offset.xml @@ -0,0 +1,3 @@ + + 2023-06-15T08:30:00-05:00 + diff --git a/test_data/Xml/Expected/dateTimeLiteral/dateTimeValOverPatternExamples/no_seconds.xml b/test_data/Xml/Expected/dateTimeLiteral/dateTimeValOverPatternExamples/no_seconds.xml new file mode 100644 index 00000000..a4dba0d2 --- /dev/null +++ b/test_data/Xml/Expected/dateTimeLiteral/dateTimeValOverPatternExamples/no_seconds.xml @@ -0,0 +1,3 @@ + + 2023-12-31T23:59 + diff --git a/test_data/Xml/Expected/dateTimeLiteral/dateTimeValOverPatternExamples/no_separator.xml b/test_data/Xml/Expected/dateTimeLiteral/dateTimeValOverPatternExamples/no_separator.xml new file mode 100644 index 00000000..287ebf1f --- /dev/null +++ b/test_data/Xml/Expected/dateTimeLiteral/dateTimeValOverPatternExamples/no_separator.xml @@ -0,0 +1,3 @@ + + 2024-03-0112:00:00Z + diff --git a/test_data/Xml/Expected/dateTimeLiteral/dateTimeValOverPatternExamples/utc.xml b/test_data/Xml/Expected/dateTimeLiteral/dateTimeValOverPatternExamples/utc.xml new file mode 100644 index 00000000..42135152 --- /dev/null +++ b/test_data/Xml/Expected/dateTimeLiteral/dateTimeValOverPatternExamples/utc.xml @@ -0,0 +1,3 @@ + + 2024-02-29T12:00:00Z + diff --git a/test_data/Xml/Expected/dateTimeLiteral/dateTimeValOverPatternExamples/with_fraction.xml b/test_data/Xml/Expected/dateTimeLiteral/dateTimeValOverPatternExamples/with_fraction.xml new file mode 100644 index 00000000..511c4757 --- /dev/null +++ b/test_data/Xml/Expected/dateTimeLiteral/dateTimeValOverPatternExamples/with_fraction.xml @@ -0,0 +1,3 @@ + + 2023-01-01T00:00:00.123+01:00 + diff --git a/test_data/Xml/Expected/dateTimeLiteral/maximal.xml b/test_data/Xml/Expected/dateTimeLiteral/maximal.xml new file mode 100644 index 00000000..287ebf1f --- /dev/null +++ b/test_data/Xml/Expected/dateTimeLiteral/maximal.xml @@ -0,0 +1,3 @@ + + 2024-03-0112:00:00Z + diff --git a/test_data/Xml/Expected/dateTimeLiteral/minimal.xml b/test_data/Xml/Expected/dateTimeLiteral/minimal.xml new file mode 100644 index 00000000..287ebf1f --- /dev/null +++ b/test_data/Xml/Expected/dateTimeLiteral/minimal.xml @@ -0,0 +1,3 @@ + + 2024-03-0112:00:00Z + diff --git a/test_data/Xml/Expected/dayOfMonth/maximal.xml b/test_data/Xml/Expected/dayOfMonth/maximal.xml new file mode 100644 index 00000000..69a071f5 --- /dev/null +++ b/test_data/Xml/Expected/dayOfMonth/maximal.xml @@ -0,0 +1,9 @@ + + + + + LOCALNOW + + + + diff --git a/test_data/Xml/Expected/dayOfMonth/minimal.xml b/test_data/Xml/Expected/dayOfMonth/minimal.xml new file mode 100644 index 00000000..69a071f5 --- /dev/null +++ b/test_data/Xml/Expected/dayOfMonth/minimal.xml @@ -0,0 +1,9 @@ + + + + + LOCALNOW + + + + diff --git a/test_data/Xml/Expected/dayOfWeek/maximal.xml b/test_data/Xml/Expected/dayOfWeek/maximal.xml new file mode 100644 index 00000000..8b58b86b --- /dev/null +++ b/test_data/Xml/Expected/dayOfWeek/maximal.xml @@ -0,0 +1,7 @@ + + + + 2023-12-31T23:59 + + + diff --git a/test_data/Xml/Expected/dayOfWeek/minimal.xml b/test_data/Xml/Expected/dayOfWeek/minimal.xml new file mode 100644 index 00000000..8b58b86b --- /dev/null +++ b/test_data/Xml/Expected/dayOfWeek/minimal.xml @@ -0,0 +1,7 @@ + + + + 2023-12-31T23:59 + + + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/extended_language_subtags_1.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/extended_language_subtags_1.xml new file mode 100644 index 00000000..7703778f --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/extended_language_subtags_1.xml @@ -0,0 +1,4 @@ + + zh-cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/extended_language_subtags_2.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/extended_language_subtags_2.xml new file mode 100644 index 00000000..2bd4772c --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/extended_language_subtags_2.xml @@ -0,0 +1,4 @@ + + cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/extended_language_subtags_3.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/extended_language_subtags_3.xml new file mode 100644 index 00000000..bfab337b --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/extended_language_subtags_3.xml @@ -0,0 +1,4 @@ + + zh-yue-HK + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/extended_language_subtags_4.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/extended_language_subtags_4.xml new file mode 100644 index 00000000..51255669 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/extended_language_subtags_4.xml @@ -0,0 +1,4 @@ + + yue-HK + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_region_1.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_region_1.xml new file mode 100644 index 00000000..d15be61b --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_region_1.xml @@ -0,0 +1,4 @@ + + de-DE + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_region_2.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_region_2.xml new file mode 100644 index 00000000..b0e3b28a --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_region_2.xml @@ -0,0 +1,4 @@ + + en-US + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_region_3.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_region_3.xml new file mode 100644 index 00000000..5edae564 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_region_3.xml @@ -0,0 +1,4 @@ + + es-419 + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_region_variant_1.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_region_variant_1.xml new file mode 100644 index 00000000..522fa7c2 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_region_variant_1.xml @@ -0,0 +1,4 @@ + + de-CH-1901 + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_region_variant_2.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_region_variant_2.xml new file mode 100644 index 00000000..17e84bff --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_region_variant_2.xml @@ -0,0 +1,4 @@ + + sl-IT-nedis + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_script_region_1.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_script_region_1.xml new file mode 100644 index 00000000..83cc0254 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_script_region_1.xml @@ -0,0 +1,4 @@ + + zh-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_script_region_2.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_script_region_2.xml new file mode 100644 index 00000000..d49487e7 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_script_region_2.xml @@ -0,0 +1,4 @@ + + sr-Latn-RS + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_script_region_variant.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_script_region_variant.xml new file mode 100644 index 00000000..74a46a87 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_script_region_variant.xml @@ -0,0 +1,4 @@ + + hy-Latn-IT-arevela + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml new file mode 100644 index 00000000..0e8237b6 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml @@ -0,0 +1,4 @@ + + zh-Hant + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml new file mode 100644 index 00000000..226c0d9a --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml @@ -0,0 +1,4 @@ + + zh-Hans + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml new file mode 100644 index 00000000..6bc00ed4 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml @@ -0,0 +1,4 @@ + + sr-Cyrl + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml new file mode 100644 index 00000000..5489299d --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml @@ -0,0 +1,4 @@ + + sr-Latn + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_variant_1.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_variant_1.xml new file mode 100644 index 00000000..77ebbd78 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_variant_1.xml @@ -0,0 +1,4 @@ + + sl-rozaj + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_variant_2.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_variant_2.xml new file mode 100644 index 00000000..39b5a82f --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_variant_2.xml @@ -0,0 +1,4 @@ + + sl-rozaj-biske + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_variant_3.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_variant_3.xml new file mode 100644 index 00000000..7a183ede --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/language_variant_3.xml @@ -0,0 +1,4 @@ + + sl-nedis + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/private_use_registry_values_1.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/private_use_registry_values_1.xml new file mode 100644 index 00000000..fc65958c --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/private_use_registry_values_1.xml @@ -0,0 +1,4 @@ + + x-whatever + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/private_use_registry_values_2.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/private_use_registry_values_2.xml new file mode 100644 index 00000000..691ad93e --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/private_use_registry_values_2.xml @@ -0,0 +1,4 @@ + + qaa-Qaaa-QM-x-southern + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/private_use_registry_values_3.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/private_use_registry_values_3.xml new file mode 100644 index 00000000..8a026cd6 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/private_use_registry_values_3.xml @@ -0,0 +1,4 @@ + + de-Qaaa + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/private_use_registry_values_4.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/private_use_registry_values_4.xml new file mode 100644 index 00000000..4d64893c --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/private_use_registry_values_4.xml @@ -0,0 +1,4 @@ + + sr-Latn-QM + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/private_use_registry_values_5.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/private_use_registry_values_5.xml new file mode 100644 index 00000000..327fc6a7 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/private_use_registry_values_5.xml @@ -0,0 +1,4 @@ + + sr-Qaaa-RS + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/private_use_subtags_1.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/private_use_subtags_1.xml new file mode 100644 index 00000000..176d1f80 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/private_use_subtags_1.xml @@ -0,0 +1,4 @@ + + de-CH-x-phonebk + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/private_use_subtags_2.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/private_use_subtags_2.xml new file mode 100644 index 00000000..f6f56ff8 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/private_use_subtags_2.xml @@ -0,0 +1,4 @@ + + az-Arab-x-AZE-derbend + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/simple_language_subtag_1.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/simple_language_subtag_1.xml new file mode 100644 index 00000000..80eba6a3 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/simple_language_subtag_1.xml @@ -0,0 +1,4 @@ + + de + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/simple_language_subtag_2.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/simple_language_subtag_2.xml new file mode 100644 index 00000000..9c6fe660 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/simple_language_subtag_2.xml @@ -0,0 +1,4 @@ + + fr + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/simple_language_subtag_3.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/simple_language_subtag_3.xml new file mode 100644 index 00000000..cfc9c441 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/simple_language_subtag_3.xml @@ -0,0 +1,4 @@ + + ja + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml new file mode 100644 index 00000000..98804b67 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml @@ -0,0 +1,4 @@ + + i-enochian + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/tag_with_extension_1.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/tag_with_extension_1.xml new file mode 100644 index 00000000..4b8db25b --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/tag_with_extension_1.xml @@ -0,0 +1,4 @@ + + en-US-u-islamcal + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/tag_with_extension_2.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/tag_with_extension_2.xml new file mode 100644 index 00000000..f1d59a63 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/tag_with_extension_2.xml @@ -0,0 +1,4 @@ + + zh-CN-a-myext-x-private + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/tag_with_extension_3.xml b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/tag_with_extension_3.xml new file mode 100644 index 00000000..830948d1 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/languageOverPatternExamples/tag_with_extension_3.xml @@ -0,0 +1,4 @@ + + en-a-myext-b-another + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/maximal.xml b/test_data/Xml/Expected/definitionTypeUom/maximal.xml new file mode 100644 index 00000000..66b52dd7 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/maximal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/minimal.xml b/test_data/Xml/Expected/definitionTypeUom/minimal.xml new file mode 100644 index 00000000..66b52dd7 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/minimal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..9303edfa --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..5d36b265 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..26c39b7c --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..63e02f8c --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..66b52dd7 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..fac2fbbf --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..9eb956d9 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 6 + diff --git a/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..2454e976 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..c9b55bc2 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..77422281 --- /dev/null +++ b/test_data/Xml/Expected/definitionTypeUom/textOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 0 + diff --git a/test_data/Xml/Expected/embeddedDataSpecification/maximal.xml b/test_data/Xml/Expected/embeddedDataSpecification/maximal.xml new file mode 100644 index 00000000..47f0e6ea --- /dev/null +++ b/test_data/Xml/Expected/embeddedDataSpecification/maximal.xml @@ -0,0 +1,25 @@ + + + ExternalReference + + + GlobalReference + urn:some-company:10:9ac9d1a6 + + + + + + + + en-JM-x-719cdf87 + <ă<P󨱽²|dnœÞ® + + + en-JM-x-2ffc5cd0 + 𠤢4𠤢 + + + + + diff --git a/test_data/Xml/Expected/embeddedDataSpecification/minimal.xml b/test_data/Xml/Expected/embeddedDataSpecification/minimal.xml new file mode 100644 index 00000000..2bbf2d77 --- /dev/null +++ b/test_data/Xml/Expected/embeddedDataSpecification/minimal.xml @@ -0,0 +1,22 @@ + + + ExternalReference + + + GlobalReference + urn:some-company:10:9ac9d1a6 + + + + + + + + en-JM-x-b435b532 + 0 + + + <ă<P󨱽²|dnœÞ® + + + diff --git a/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..f083a395 --- /dev/null +++ b/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,6 @@ + + + something_72d646a9 + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..a48d8d20 --- /dev/null +++ b/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,6 @@ + + + something_72d646a9 + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..053e50ad --- /dev/null +++ b/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,6 @@ + + + something_72d646a9 + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..4017694b --- /dev/null +++ b/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,6 @@ + + + something_72d646a9 + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..df7090d9 --- /dev/null +++ b/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,6 @@ + + + something_72d646a9 + + J5 + diff --git a/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..2df7a5b8 --- /dev/null +++ b/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,6 @@ + + + something_72d646a9 + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..a7b34882 --- /dev/null +++ b/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,6 @@ + + + something_72d646a9 + + 6 + diff --git a/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..d0ca5554 --- /dev/null +++ b/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,6 @@ + + + something_72d646a9 + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..b8baf688 --- /dev/null +++ b/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,6 @@ + + + something_72d646a9 + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..e056f9cd --- /dev/null +++ b/test_data/Xml/Expected/endpoint/interfaceOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,6 @@ + + + something_72d646a9 + + 0 + diff --git a/test_data/Xml/Expected/endpoint/maximal.xml b/test_data/Xml/Expected/endpoint/maximal.xml new file mode 100644 index 00000000..d0ca5554 --- /dev/null +++ b/test_data/Xml/Expected/endpoint/maximal.xml @@ -0,0 +1,6 @@ + + + something_72d646a9 + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/endpoint/minimal.xml b/test_data/Xml/Expected/endpoint/minimal.xml new file mode 100644 index 00000000..b8baf688 --- /dev/null +++ b/test_data/Xml/Expected/endpoint/minimal.xml @@ -0,0 +1,6 @@ + + + something_72d646a9 + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/endsWithComparison/maximal.xml b/test_data/Xml/Expected/endsWithComparison/maximal.xml new file mode 100644 index 00000000..d08fd3f2 --- /dev/null +++ b/test_data/Xml/Expected/endsWithComparison/maximal.xml @@ -0,0 +1,14 @@ + + + + + + $sm("a\"b")#id + + + + + $aas#assetInformation.assetKind + + + diff --git a/test_data/Xml/Expected/endsWithComparison/minimal.xml b/test_data/Xml/Expected/endsWithComparison/minimal.xml new file mode 100644 index 00000000..d08fd3f2 --- /dev/null +++ b/test_data/Xml/Expected/endsWithComparison/minimal.xml @@ -0,0 +1,14 @@ + + + + + + $sm("a\"b")#id + + + + + $aas#assetInformation.assetKind + + + diff --git a/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..9233fbe4 --- /dev/null +++ b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..f20d5ecf --- /dev/null +++ b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..e2db7128 --- /dev/null +++ b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..aa2773d8 --- /dev/null +++ b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..b2fe54bc --- /dev/null +++ b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..22a04cb6 --- /dev/null +++ b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..56dd461a --- /dev/null +++ b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..e71350fe --- /dev/null +++ b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..e47558f1 --- /dev/null +++ b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..b448acb8 --- /dev/null +++ b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..dab2d0e3 --- /dev/null +++ b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..1bbb7158 --- /dev/null +++ b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..34c9571f --- /dev/null +++ b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..9b81d31e --- /dev/null +++ b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..06dfc218 --- /dev/null +++ b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..59355735 --- /dev/null +++ b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..db003418 --- /dev/null +++ b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..72f6b383 --- /dev/null +++ b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..35cce66b --- /dev/null +++ b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..1cc53527 --- /dev/null +++ b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..c8fc6d45 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..d8aa0460 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..ce561c9d --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..e36235ab --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..d5964db8 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..d1e470f4 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..451214a0 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..147852e2 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..a9366bba --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..e0aba121 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..58ac150b --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..fc2c3e6e --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..c4528f99 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..e735f6f7 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..b2323b4a --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..a6eb6148 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..5a0295d7 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..348e1beb --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..d86d4ba4 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..93cab773 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..38c7b7ed --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/entity/maximal.xml b/test_data/Xml/Expected/entity/maximal.xml new file mode 100644 index 00000000..e82cd7d7 --- /dev/null +++ b/test_data/Xml/Expected/entity/maximal.xml @@ -0,0 +1,161 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Expected/entity/minimal.xml b/test_data/Xml/Expected/entity/minimal.xml new file mode 100644 index 00000000..5665ee21 --- /dev/null +++ b/test_data/Xml/Expected/entity/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..a603d143 --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..eac5e64e --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..427c1ec4 --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..5aea811d --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..26ef116b --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..cfabb64b --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..0cc5bcdd --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..c70de9a4 --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..60fd430b --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..c5a2e80c --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..9f455f3b --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..88e44192 --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..d6b59171 --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..c18bc420 --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..919bb7c4 --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..a251994d --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..845d9ea7 --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..f14efae7 --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..1ef83312 --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..37858306 --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..9458d873 --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..5400609c --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..90d7d8b6 --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..94357b3b --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..ef541a48 --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..4784a1ee --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..59d87dc0 --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..df5086b1 --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..e8085f07 --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..e214b8d4 --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..00a8ad5f --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/entityMetadata/maximal.xml b/test_data/Xml/Expected/entityMetadata/maximal.xml new file mode 100644 index 00000000..899ab375 --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/maximal.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Expected/entityMetadata/minimal.xml b/test_data/Xml/Expected/entityMetadata/minimal.xml new file mode 100644 index 00000000..16ceb251 --- /dev/null +++ b/test_data/Xml/Expected/entityMetadata/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..b33005a5 --- /dev/null +++ b/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..c35d5db3 --- /dev/null +++ b/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..6f36c61a --- /dev/null +++ b/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..2156e5f2 --- /dev/null +++ b/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..0403c9cd --- /dev/null +++ b/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..1a0c55ff --- /dev/null +++ b/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..6cfcde66 --- /dev/null +++ b/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..16844815 --- /dev/null +++ b/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..4b6f6d8a --- /dev/null +++ b/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..ca46f580 --- /dev/null +++ b/test_data/Xml/Expected/entityValue/globalAssetIdOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/entityValue/maximal.xml b/test_data/Xml/Expected/entityValue/maximal.xml new file mode 100644 index 00000000..5ca49e2c --- /dev/null +++ b/test_data/Xml/Expected/entityValue/maximal.xml @@ -0,0 +1,186 @@ + + CoManagedEntity + 0 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + something_9893a589 + + + + 0 + + 7611687.58 + + + + Ûă<P󨱽²|dnœÞ® + + 1 + + + + J5 + + + + + something_976454e1 + + + 6047604.47 + + + + + nested + + 1 + + + + + + + + + + + + 6 + + something_e752ec58 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 2450279.81 + + + + öĖa􍣡™| + + 1 + + + + [\h$񒺟ìÖċŠ1¿ + + + + + something_410466ac + + + 34492713.6 + + + + + nested + + 1 + + + + + + + + + + + + 0 + + something_2af71231 + + + + Ûă<P󨱽²|dnœÞ® + + 41911723.71 + + + + [\h$񒺟ìÖċŠ1¿ + + 1 + + + + J5 + + + + + something_0be6fa02 + + + 71146.82 + + + + + nested + + 0 + + + + + + + + + + + + + aa + + something_ef8d35ae + + + + a-_-_-_-_-_ + + 14955386.36 + + + + fULCVpULCVq + + 0 + + + + strange-name_ + + + + + something_a6bc72af + + + 40013686.16 + + + + + nested + + 1 + + + + + + + + + + diff --git a/test_data/Xml/Expected/entityValue/minimal.xml b/test_data/Xml/Expected/entityValue/minimal.xml new file mode 100644 index 00000000..85b56585 --- /dev/null +++ b/test_data/Xml/Expected/entityValue/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/environment/maximal.xml b/test_data/Xml/Expected/environment/maximal.xml new file mode 100644 index 00000000..24978ac2 --- /dev/null +++ b/test_data/Xml/Expected/environment/maximal.xml @@ -0,0 +1,28 @@ + + + + J5 + + Type + J5 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + Instance + 򤑌M𪠇𛔊򂄲 + + + + + + 0 + + + + + 0 + + + diff --git a/test_data/Xml/Expected/environment/minimal.xml b/test_data/Xml/Expected/environment/minimal.xml new file mode 100644 index 00000000..702e783f --- /dev/null +++ b/test_data/Xml/Expected/environment/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/equalComparison/maximal.xml b/test_data/Xml/Expected/equalComparison/maximal.xml new file mode 100644 index 00000000..ce7dba65 --- /dev/null +++ b/test_data/Xml/Expected/equalComparison/maximal.xml @@ -0,0 +1,10 @@ + + + + 2023-01-01T24:00:00 + + + 2023-01-01T00:00:00.123+01:00 + + + diff --git a/test_data/Xml/Expected/equalComparison/minimal.xml b/test_data/Xml/Expected/equalComparison/minimal.xml new file mode 100644 index 00000000..ce7dba65 --- /dev/null +++ b/test_data/Xml/Expected/equalComparison/minimal.xml @@ -0,0 +1,10 @@ + + + + 2023-01-01T24:00:00 + + + 2023-01-01T00:00:00.123+01:00 + + + diff --git a/test_data/Xml/Expected/eventPayload/maximal.xml b/test_data/Xml/Expected/eventPayload/maximal.xml new file mode 100644 index 00000000..ad9bc945 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/maximal.xml @@ -0,0 +1,54 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ExternalReference + + + GlobalReference + urn:an-example:12:1ed44768 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + + ExternalReference + + + GlobalReference + urn:something:16:2204ae04 + + + + öĖa􍣡™| + + ExternalReference + + + GlobalReference + urn:yet-another-company:01:0e4f465d + + + + 2022-04-01T24:00:00-00:00 + /TsF2AbyQb1dIa0= + diff --git a/test_data/Xml/Expected/eventPayload/minimal.xml b/test_data/Xml/Expected/eventPayload/minimal.xml new file mode 100644 index 00000000..9eeddf0a --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/minimal.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..e65e8c62 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 0013-10-11T24:00:00.000000Z + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..210f4c29 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 0001-01-01T00:00:00Z + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..e5cf5b1e --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + -3020-08-21T24:00:00.0Z + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/midnight_with_24_hours.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/midnight_with_24_hours.xml new file mode 100644 index 00000000..1e20ba71 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/midnight_with_24_hours.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T24:00:00Z + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/midnight_with_zeros.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/midnight_with_zeros.xml new file mode 100644 index 00000000..989f8e98 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/midnight_with_zeros.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T00:00:00Z + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/minus_zero_offset.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/minus_zero_offset.xml new file mode 100644 index 00000000..9eeddf0a --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/minus_zero_offset.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/plus_zero_offset.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/plus_zero_offset.xml new file mode 100644 index 00000000..0e87fc4c --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/plus_zero_offset.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T24:00:00+00:00 + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/random_positive.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/random_positive.xml new file mode 100644 index 00000000..fb3199e2 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/random_positive.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/very_large_year.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/very_large_year.xml new file mode 100644 index 00000000..97abfb35 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/very_large_year.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 123456789012345678901234567-04-01T00:00:00Z + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/very_long_fractional_second.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/very_long_fractional_second.xml new file mode 100644 index 00000000..544c68b6 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/very_long_fractional_second.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T00:00:00.1234567890123456789012345678901234567890Z + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..35d2cb13 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/year_1_bce_is_a_leap_year.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + -0001-02-29T01:02:03Z + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..d2f95dc5 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/year_5_bce_is_a_leap_year.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + -0005-02-29T01:02:03Z + diff --git a/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..c4acd379 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..d00a4737 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 𠤢4𠤢 + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..17a89802 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + [\h$񒺟ìÖċŠ1¿ + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..e0956b36 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + öĖa􍣡™| + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..562bc3b1 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + J5 + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..2cb82bbe --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + Ûă<P󨱽²|dnœÞ® + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..a4150822 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 6 + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..909369c6 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 򤑌M𪠇𛔊򂄲 + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..7a12e1dc --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + <ă<P󨱽²|dnœÞ® + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..b8626798 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 0 + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/extension/maximal.xml b/test_data/Xml/Expected/extension/maximal.xml new file mode 100644 index 00000000..2d332e65 --- /dev/null +++ b/test_data/Xml/Expected/extension/maximal.xml @@ -0,0 +1,63 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01 + + + ExternalReference + + + GlobalReference + urn:an-example:18:1d00b242 + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:b45040ec + + + + + diff --git a/test_data/Xml/Expected/extension/minimal.xml b/test_data/Xml/Expected/extension/minimal.xml new file mode 100644 index 00000000..5e2b3b84 --- /dev/null +++ b/test_data/Xml/Expected/extension/minimal.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..d86751e3 --- /dev/null +++ b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..abb9617f --- /dev/null +++ b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..d0ad612f --- /dev/null +++ b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..6dd3d81d --- /dev/null +++ b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..fe1912f8 --- /dev/null +++ b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..5e2b3b84 --- /dev/null +++ b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..a12d3b28 --- /dev/null +++ b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..a56cf2b5 --- /dev/null +++ b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..b4c8bb1a --- /dev/null +++ b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..2443b7db --- /dev/null +++ b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_URI.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_URI.xml new file mode 100644 index 00000000..3afee1da --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_URI.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + https://github.com/aas-core-works/aas-core-codegen + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_absolute_path_without_scheme.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_absolute_path_without_scheme.xml new file mode 100644 index 00000000..76f69b75 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_absolute_path_without_scheme.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + /path/to/somewhere + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_empty.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_empty.xml new file mode 100644 index 00000000..a8ace894 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_01.xml new file mode 100644 index 00000000..147a438f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + # + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_02.xml new file mode 100644 index 00000000..9b441340 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + //[d6FA:c:8b:4:7:be7:aD:C8C]:/~.49:f%Fee;%9D%58L/Q%ea'+Q%eb:&%7C,t:;a,@&%dB%2D%Ba&%bF%BF,;%06G%a0%bfk%7b&@&@1@=+%fE6%FF2j4;$;=,%Da$=R%17s+2%68;/v%Ca%a0&$d%Fd7%58@%a0%54D%0BA%00Bw%a59:6;;/%f1:;t%98$J0:Y;?%8Dx:%aC&$/S/L%A5u + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_03.xml new file mode 100644 index 00000000..57917c22 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + A:// + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_04.xml new file mode 100644 index 00000000..a8ace894 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_05.xml new file mode 100644 index 00000000..995cc00c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + #;+; + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_06.xml new file mode 100644 index 00000000..b360b79d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + //@fr+%64@/%C5vw%A8N/%9f;%59%Ea%A9%Dd?#[= + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_07.xml new file mode 100644 index 00000000..c75e67d1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + q%7E~@$=l#%f6,&;& + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_08.xml new file mode 100644 index 00000000..3545fa2c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + j.:/%dd;=%78%Eaui;j/aTF&%Fd%9A9K;%f8-;;'4!C;,:C/=;k%b4;%09;;C%74%3a,2%C09;%127%5C;%81%d09/+;/%65%41%a0,@%34C_;%6E*;;%42%D9;%BA7%7EY%D4;%60Z=,/:+;$E&+$%Db4'%F2%7E;'+6-r$%64-;l%85%Eb%Ec+%ae/;=$-;;.%02L;,;%3Bj%a2:&@%3Ak$:;%CB;,(h(::=%b1;$+5&%810%04%3e,@$%60:G+%2d%c8%A4%01%5c,=&:O'CG%Eb@isa%2A+&$$%8D7X.+v)%Ed;3%6eo%DB&;7@%86n=9%aC%02;;k%bDH;%C0%BB;%c9,KF%De&%0A%6fP$:%9B%f5H%b8/T;%01$,%dD%8A%6B!/;,++;=;;%8dk$%0F%FB;;N%6B@;Om$%00# + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_09.xml new file mode 100644 index 00000000..d00157f7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + #b%39DX%f9a%76u%da%A1@%a9%D3n + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_10.xml new file mode 100644 index 00000000..723d0343 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + ///%6B%0EX%9f-=++$:3%9az+,c&%3F:'Sx%3d%00:%7f%40:%08,;%5b%90%A1c;(;$:$y+%5b/=t%40+H+a@%E7$G%58;:+R$g$-yT%08&:,%fB;%F5b@;%Eb3%0C%A3n%4A%7dBf%75%2F%fc;vZ-%aFV$;%3a&;;=%fC;;~@+/=%A4# + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_integer.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_integer.xml new file mode 100644 index 00000000..ae830363 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_integer.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + 1234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_relative_path_without_scheme.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_relative_path_without_scheme.xml new file mode 100644 index 00000000..5359a2b5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_relative_path_without_scheme.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + path/to/somewhere + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_an_empty_value_is_valid.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_an_empty_value_is_valid.xml new file mode 100644 index 00000000..a9c7e9e4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_an_empty_value_is_valid.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_equals_signs_are_used_for_padding.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_equals_signs_are_used_for_padding.xml new file mode 100644 index 00000000..24667136 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_equals_signs_are_used_for_padding.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + 0F+40A== + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_01.xml new file mode 100644 index 00000000..1b8f0ea7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + RJ I k 7 c /F / 1 J8F o 0ivZ v AE 3bj ASP y PI k+ 1 fku W 5M= + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_02.xml new file mode 100644 index 00000000..0e329b9f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + Ie 9 20 Y F 5 Ve9 Y c 0W rH p 2 FQaS /xw /t RtE= + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_03.xml new file mode 100644 index 00000000..7472de8d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + n3wT + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_04.xml new file mode 100644 index 00000000..b48a7862 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + wfw E + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_05.xml new file mode 100644 index 00000000..7811a6bd --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + jj5 n + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_06.xml new file mode 100644 index 00000000..f2ae2920 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + j j5 n + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_07.xml new file mode 100644 index 00000000..ab2eea4f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + S w SO 5 S5r + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_08.xml new file mode 100644 index 00000000..9dcb97f5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + UBU iUBU iQ n cy q 7wK + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_09.xml new file mode 100644 index 00000000..2bd15eda --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + HU UH + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_10.xml new file mode 100644 index 00000000..88193dd4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + 00000000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml new file mode 100644 index 00000000..42237ca8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + 0 FB8 0F+9 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_without_space_lowercase.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_without_space_lowercase.xml new file mode 100644 index 00000000..1f024a26 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_without_space_lowercase.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + 0fb8 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_without_space_uppercase.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_without_space_uppercase.xml new file mode 100644 index 00000000..f6dc7afe --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_without_space_uppercase.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + 0FB8 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_false_as_number.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_false_as_number.xml new file mode 100644 index 00000000..6bdbecba --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_false_as_number.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_false_in_letters.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_false_in_letters.xml new file mode 100644 index 00000000..0ef11ca7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_false_in_letters.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + false + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_true_as_number.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_true_as_number.xml new file mode 100644 index 00000000..8231b1e7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_true_as_number.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_true_in_letters.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_true_in_letters.xml new file mode 100644 index 00000000..40d695c7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_true_in_letters.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + true + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_common_example.xml new file mode 100644 index 00000000..3bc9b367 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_explicitly_positive.xml new file mode 100644 index 00000000..e0be61dc --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_01.xml new file mode 100644 index 00000000..c92bf032 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 05 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_02.xml new file mode 100644 index 00000000..db377657 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 000110 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_03.xml new file mode 100644 index 00000000..1aacfcc4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + +00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_04.xml new file mode 100644 index 00000000..eebaba19 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + -108 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_05.xml new file mode 100644 index 00000000..78ba9934 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 0001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_06.xml new file mode 100644 index 00000000..e708e5e5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 103 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_07.xml new file mode 100644 index 00000000..36b08b92 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 06 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_08.xml new file mode 100644 index 00000000..c10905e2 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + +0000002 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_09.xml new file mode 100644 index 00000000..a6ed2da7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 000000006 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_10.xml new file mode 100644 index 00000000..6a8ba7d8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + -00011 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_max.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_max.xml new file mode 100644 index 00000000..6919362c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_max.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 127 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_min.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_min.xml new file mode 100644 index 00000000..59a7e29c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_min.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + -128 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_negative.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_negative.xml new file mode 100644 index 00000000..d74be8a3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + -1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_prefixed_with_zeros.xml new file mode 100644 index 00000000..d9562852 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_zero.xml new file mode 100644 index 00000000..82d784d5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..707bfe96 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date.xml new file mode 100644 index 00000000..1a6c187e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_large_negative_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_large_negative_year.xml new file mode 100644 index 00000000..758806a8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_large_negative_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + -12345678901234567890123456789012345678901234567890-04-01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_large_positive_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_large_positive_year.xml new file mode 100644 index 00000000..d7a5fd44 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_large_positive_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 12345678901234567890123456789012345678901234567890-04-01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_negative_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_negative_offset.xml new file mode 100644 index 00000000..44b2691b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01-02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_positive_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_positive_offset.xml new file mode 100644 index 00000000..175a253a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01+02:34 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_utc.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_utc.xml new file mode 100644 index 00000000..1e0f8938 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_utc.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_zero_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_zero_offset.xml new file mode 100644 index 00000000..7763f1e0 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_zero_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01+00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_01.xml new file mode 100644 index 00000000..085e16b5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 0705-04-10+14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_02.xml new file mode 100644 index 00000000..47adbee0 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + -0236-12-31Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_03.xml new file mode 100644 index 00000000..17e40109 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 9088-11-06 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_04.xml new file mode 100644 index 00000000..3b842587 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + -7506-08-02 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_05.xml new file mode 100644 index 00000000..1d272b0a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + -3637143-04-09 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_06.xml new file mode 100644 index 00000000..dac99b7c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + -0311-11-30 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_07.xml new file mode 100644 index 00000000..fa53082c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + -0844-11-30 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_08.xml new file mode 100644 index 00000000..46e1a210 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 0111-04-04 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_09.xml new file mode 100644 index 00000000..8181a221 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 0412-04-08-10:58 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_10.xml new file mode 100644 index 00000000..060ba516 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 0520-01-01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_UTC.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_UTC.xml new file mode 100644 index 00000000..e7cb2a74 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_UTC.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_large_negative_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_large_negative_year.xml new file mode 100644 index 00000000..5f05d422 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_large_negative_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -12345678901234567890123456789012345678901234567890-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_large_positive_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_large_positive_year.xml new file mode 100644 index 00000000..72de6741 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_large_positive_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 12345678901234567890123456789012345678901234567890-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_long_fractional_seconds.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_long_fractional_seconds.xml new file mode 100644 index 00000000..55cdd2c4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_long_fractional_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02:03.0123456789Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_negative_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_negative_offset.xml new file mode 100644 index 00000000..b1818ec2 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02:03+00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_positive_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_positive_offset.xml new file mode 100644 index 00000000..46a34e50 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_zero_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_zero_offset.xml new file mode 100644 index 00000000..b1818ec2 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_zero_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02:03+00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_without_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_without_zone.xml new file mode 100644 index 00000000..7865f835 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_01.xml new file mode 100644 index 00000000..1efc3766 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -0811-10-21T24:00:00.000000Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_02.xml new file mode 100644 index 00000000..ff4374f0 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -0819-11-21T24:00:00.00Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_03.xml new file mode 100644 index 00000000..7904d904 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -665280014-06-30T21:15:16Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_04.xml new file mode 100644 index 00000000..6e4e0888 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -0811-11-21T24:00:00.0000Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_05.xml new file mode 100644 index 00000000..4ec32632 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 0532-09-07T18:47:52+14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_06.xml new file mode 100644 index 00000000..3ca34a49 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 0707-11-02T24:00:00.00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_07.xml new file mode 100644 index 00000000..82623676 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -0003-12-20T22:53:54.02567 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_08.xml new file mode 100644 index 00000000..fab8f6dc --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -1092-02-25T24:00:00.0000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_09.xml new file mode 100644 index 00000000..7e0148ca --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -6602-06-30T24:00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_10.xml new file mode 100644 index 00000000..e632e85a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -2111111-08-31T23:58:19.269348 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_midnight_with_24_hours.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_midnight_with_24_hours.xml new file mode 100644 index 00000000..0cefc87d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_midnight_with_24_hours.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T24:00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_midnight_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_midnight_with_zeros.xml new file mode 100644 index 00000000..b4b637e9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_midnight_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T00:00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..2ab10a3b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_year_1_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -0001-02-29T01:02:03 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..c245358f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_year_5_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -0005-02-29T01:02:03 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..ff647389 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_year_1_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + -0001-02-29 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..0397e9d0 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_year_5_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + -0005-02-29 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_decimal.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_decimal.xml new file mode 100644 index 00000000..92225f7f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + 1234.01234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_decimal_with_long_fractional.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_decimal_with_long_fractional.xml new file mode 100644 index 00000000..2136abde --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_decimal_with_long_fractional.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_decimal_with_preceding_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_decimal_with_preceding_zeros.xml new file mode 100644 index 00000000..cec6e6ad --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_decimal_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + 0001234.01234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_01.xml new file mode 100644 index 00000000..36e5b5a3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + .33324 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_02.xml new file mode 100644 index 00000000..f0020258 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + 01195 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_03.xml new file mode 100644 index 00000000..dae994b6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + +875 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_04.xml new file mode 100644 index 00000000..d154e58e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + -8 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_05.xml new file mode 100644 index 00000000..05a31845 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + -0.0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_06.xml new file mode 100644 index 00000000..21b83ef5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + -13522106 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_07.xml new file mode 100644 index 00000000..f796b7b0 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + +10 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_08.xml new file mode 100644 index 00000000..5a5afe6f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + -030725 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_09.xml new file mode 100644 index 00000000..a8846841 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + .3 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_10.xml new file mode 100644 index 00000000..6c61f5b4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + 0061707 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_integer.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_integer.xml new file mode 100644 index 00000000..304a3d69 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_integer.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + 1234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..3f68a225 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_integer_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + 0001234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_very_large_decimal.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_very_large_decimal.xml new file mode 100644 index 00000000..2fb3e604 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_very_large_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890.12345678901234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_double.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_double.xml new file mode 100644 index 00000000..7a4e946b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_double.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 1234.01234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_01.xml new file mode 100644 index 00000000..15f75547 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + .1118 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_02.xml new file mode 100644 index 00000000..0534d15d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + -.662 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_03.xml new file mode 100644 index 00000000..4f1bb2cc --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + .0E0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_04.xml new file mode 100644 index 00000000..651aff64 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + .4 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_05.xml new file mode 100644 index 00000000..71fa1373 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + .11 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_06.xml new file mode 100644 index 00000000..cbb3d130 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + +76E-86 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_07.xml new file mode 100644 index 00000000..0534d15d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + -.662 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_08.xml new file mode 100644 index 00000000..e232fef8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 1e+7 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_09.xml new file mode 100644 index 00000000..e5aaf7d5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + -.66E-45 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_10.xml new file mode 100644 index 00000000..fca407fb --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 140206134 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_inf.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_inf.xml new file mode 100644 index 00000000..3426574c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_inf.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + INF + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_integer.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_integer.xml new file mode 100644 index 00000000..46ca42c2 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_integer.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 1234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..4f399ae5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_integer_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 0001234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_loss_of_precision_is_not_detected_by_design.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_loss_of_precision_is_not_detected_by_design.xml new file mode 100644 index 00000000..6e67350c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_loss_of_precision_is_not_detected_by_design.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_lowest.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_lowest.xml new file mode 100644 index 00000000..b11ac818 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_lowest.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_max.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_max.xml new file mode 100644 index 00000000..a500dcb9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_max.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_minus_inf.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_minus_inf.xml new file mode 100644 index 00000000..16a934b8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_minus_inf.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + -INF + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_nan.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_nan.xml new file mode 100644 index 00000000..f7efa913 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_nan.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + NaN + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation.xml new file mode 100644 index 00000000..e7ed64c3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 12.34e56 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_negative.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_negative.xml new file mode 100644 index 00000000..09af057c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + -12.34e56 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_negative_exponent.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_negative_exponent.xml new file mode 100644 index 00000000..30957172 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_negative_exponent.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 12.34e-56 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_positive.xml new file mode 100644 index 00000000..b8479d52 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + +12.34e56 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_positive_exponent.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_positive_exponent.xml new file mode 100644 index 00000000..a3882055 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_positive_exponent.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 12.34e+56 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_very_large_normal.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_very_large_normal.xml new file mode 100644 index 00000000..41884a21 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_very_large_normal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 2e307 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_very_precise_subnormal.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_very_precise_subnormal.xml new file mode 100644 index 00000000..7ecd1a14 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_very_precise_subnormal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 2e-307 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_with_preceding_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_with_preceding_zeros.xml new file mode 100644 index 00000000..bf369b34 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 0001234.01234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_day_seconds.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_day_seconds.xml new file mode 100644 index 00000000..2c8e1480 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_day_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + P1DT2S + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_full.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_full.xml new file mode 100644 index 00000000..d816584e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_full.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + P1Y2M3DT5H20M30.123S + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_01.xml new file mode 100644 index 00000000..9786429b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + -P009D + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_02.xml new file mode 100644 index 00000000..0069359a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + P5Y36660767143M + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_03.xml new file mode 100644 index 00000000..d245f5b9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + -PT01332.1S + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_04.xml new file mode 100644 index 00000000..6f38055f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + -P11DT142M + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_05.xml new file mode 100644 index 00000000..3ca955e8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + PT88M48936316289.34291243605107045S + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_06.xml new file mode 100644 index 00000000..b82e2d6e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + -P1M923D + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_07.xml new file mode 100644 index 00000000..2f7caee5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + -PT0.332S + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_08.xml new file mode 100644 index 00000000..5d3bd3e1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + -PT313148178698146281H866062127724898M + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_09.xml new file mode 100644 index 00000000..a51a9210 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + -PT1.5375209S + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_10.xml new file mode 100644 index 00000000..fdcf74df --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + PT18688M + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_long_second_fractal.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_long_second_fractal.xml new file mode 100644 index 00000000..99d5a514 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_long_second_fractal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + PT1.12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_many_many_seconds.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_many_many_seconds.xml new file mode 100644 index 00000000..1c020256 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_many_many_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + PT12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_month_seconds.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_month_seconds.xml new file mode 100644 index 00000000..a5ca0327 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_month_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + PT2M10S + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_only_seconds.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_only_seconds.xml new file mode 100644 index 00000000..7806d458 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_only_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + PT130S + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_only_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_only_year.xml new file mode 100644 index 00000000..770af2fa --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_only_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + -P1Y + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_float.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_float.xml new file mode 100644 index 00000000..ddaba6f1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_float.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 1234.01234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_01.xml new file mode 100644 index 00000000..9aff8ad9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + -.80E0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_02.xml new file mode 100644 index 00000000..e456e63a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + -147E7 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_03.xml new file mode 100644 index 00000000..22329776 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 18 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_04.xml new file mode 100644 index 00000000..96c29562 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + .1532E+16 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_05.xml new file mode 100644 index 00000000..45ac288d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + +44.6393 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_06.xml new file mode 100644 index 00000000..64596c4e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + .5885e-29 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_07.xml new file mode 100644 index 00000000..7ce1befe --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 1e-7 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_08.xml new file mode 100644 index 00000000..7140cb76 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + +732.55619 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_09.xml new file mode 100644 index 00000000..31e83e6c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + .1E05 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_10.xml new file mode 100644 index 00000000..6e2eb92d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 1102 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_inf.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_inf.xml new file mode 100644 index 00000000..ae4af0cd --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_inf.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + INF + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_integer.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_integer.xml new file mode 100644 index 00000000..cbee3470 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_integer.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 1234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..7d49c175 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_integer_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 0001234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_largest_normal.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_largest_normal.xml new file mode 100644 index 00000000..570fe927 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_largest_normal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 340282346638528859811704183484516925440 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_largest_number_less_than_one.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_largest_number_less_than_one.xml new file mode 100644 index 00000000..b2ead184 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_largest_number_less_than_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 0.999999940395355224609375 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_largest_subnormal.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_largest_subnormal.xml new file mode 100644 index 00000000..02ddf468 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_largest_subnormal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 0.00000000000000000000000000000000000001175494210692441075487029444849287348827052428745893333857174530571588870475618904265502351336181163787841796875 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_loss_of_precision_is_not_detected_by_design.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_loss_of_precision_is_not_detected_by_design.xml new file mode 100644 index 00000000..80c39c32 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_loss_of_precision_is_not_detected_by_design.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_nan.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_nan.xml new file mode 100644 index 00000000..2587dd5e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_nan.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + NaN + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_negative_inf.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_negative_inf.xml new file mode 100644 index 00000000..f61096b0 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_negative_inf.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + -INF + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation.xml new file mode 100644 index 00000000..818cabd2 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 12.34e16 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_negative.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_negative.xml new file mode 100644 index 00000000..74b49c5f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + -12.34e16 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_negative_exponent.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_negative_exponent.xml new file mode 100644 index 00000000..d80317f2 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_negative_exponent.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 12.34e-16 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_positive.xml new file mode 100644 index 00000000..022da381 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + +12.34e16 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_positive_exponent.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_positive_exponent.xml new file mode 100644 index 00000000..4104fbe8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_positive_exponent.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 12.34e+16 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_smallest_number_larger_than_one.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_smallest_number_larger_than_one.xml new file mode 100644 index 00000000..cdc4a4fb --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_smallest_number_larger_than_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 1.00000011920928955078125 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_smallest_positive_normal.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_smallest_positive_normal.xml new file mode 100644 index 00000000..93ee1624 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_smallest_positive_normal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 0.000000000000000000000000000000000000011754943508222875079687365372222456778186655567720875215087517062784172594547271728515625 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_smallest_positive_subnormal.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_smallest_positive_subnormal.xml new file mode 100644 index 00000000..bcd01e89 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_smallest_positive_subnormal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 0.00000000000000000000000000000000000000000000140129846432481707092372958328991613128026194187651577175706828388979108268586060148663818836212158203125 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_with_preceding_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_with_preceding_zeros.xml new file mode 100644 index 00000000..05179480 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 0001234.01234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_day_not_existing_in_all_months_without_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_day_not_existing_in_all_months_without_zone.xml new file mode 100644 index 00000000..e7418bcf --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_day_not_existing_in_all_months_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---31 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_double_digit_day_without_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_double_digit_day_without_zone.xml new file mode 100644 index 00000000..ea6460af --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_double_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---15 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_01.xml new file mode 100644 index 00000000..03639fc9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---23Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_02.xml new file mode 100644 index 00000000..fa9c25f7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---24 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_03.xml new file mode 100644 index 00000000..73477d93 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---10 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_04.xml new file mode 100644 index 00000000..0fe2f728 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---30-14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_05.xml new file mode 100644 index 00000000..e80a7c6c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---31-09:25 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_06.xml new file mode 100644 index 00000000..853fa913 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---17Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_07.xml new file mode 100644 index 00000000..4bdf9852 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---30+00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_08.xml new file mode 100644 index 00000000..44a17771 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---30-10:11 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_09.xml new file mode 100644 index 00000000..df517cc5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---22Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_10.xml new file mode 100644 index 00000000..614aad66 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---30Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_negative_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_negative_offset.xml new file mode 100644 index 00000000..afb7a916 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01-04:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_positive_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_positive_offset.xml new file mode 100644 index 00000000..a257f6ac --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01+02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_single_digit_day_without_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_single_digit_day_without_zone.xml new file mode 100644 index 00000000..81f66dd4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_single_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_utc_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_utc_zone.xml new file mode 100644 index 00000000..a6009bbc --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_utc_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_zero_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_zero_offset.xml new file mode 100644 index 00000000..4de6d93a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_zero_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01+00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml new file mode 100644 index 00000000..16ba0134 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-14 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml new file mode 100644 index 00000000..adcbbef9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml new file mode 100644 index 00000000..325cc52e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --02-29 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_01.xml new file mode 100644 index 00000000..5e6cf9e8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-20 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_02.xml new file mode 100644 index 00000000..530aae0e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --12-06 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_03.xml new file mode 100644 index 00000000..daaf773f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --12-01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_04.xml new file mode 100644 index 00000000..a2a2a041 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-21+14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_05.xml new file mode 100644 index 00000000..1f800a8a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --10-07 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_06.xml new file mode 100644 index 00000000..9a47c84a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --10-30 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_07.xml new file mode 100644 index 00000000..5032605d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --12-27 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_08.xml new file mode 100644 index 00000000..e1b7f7d7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --04-30 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_09.xml new file mode 100644 index 00000000..df27c031 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --10-10-14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_10.xml new file mode 100644 index 00000000..0c6f9079 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --10-11Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_negative_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_negative_offset.xml new file mode 100644 index 00000000..99418dc6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-01-04:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_positive_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_positive_offset.xml new file mode 100644 index 00000000..e10ff656 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-01+02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml new file mode 100644 index 00000000..0239fa52 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --05-01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_utc_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_utc_zone.xml new file mode 100644 index 00000000..26a0f28b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_utc_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-01Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_zero_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_zero_offset.xml new file mode 100644 index 00000000..e10ff656 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_zero_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-01+02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_double_digit_month_without_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_double_digit_month_without_zone.xml new file mode 100644 index 00000000..196e6241 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_double_digit_month_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_01.xml new file mode 100644 index 00000000..709276d2 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11-13:34 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_02.xml new file mode 100644 index 00000000..6689ab62 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --10+14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_03.xml new file mode 100644 index 00000000..c1666804 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --10+07:39 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_04.xml new file mode 100644 index 00000000..922ca6e2 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11-05:22 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_05.xml new file mode 100644 index 00000000..f7e6dac7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_06.xml new file mode 100644 index 00000000..f3a84b5b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --12Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_07.xml new file mode 100644 index 00000000..2cca4997 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --10-13:30 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_08.xml new file mode 100644 index 00000000..aee079f4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --07 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_09.xml new file mode 100644 index 00000000..824f3a02 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11-10:05 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_10.xml new file mode 100644 index 00000000..e6be3bc7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11+12:33 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_negative_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_negative_offset.xml new file mode 100644 index 00000000..0fd8ad39 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11-04:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_positive_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_positive_offset.xml new file mode 100644 index 00000000..278ff9a1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11+02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_single_digit_month_without_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_single_digit_month_without_zone.xml new file mode 100644 index 00000000..e6b9d2dc --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_single_digit_month_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --05 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_utc_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_utc_zone.xml new file mode 100644 index 00000000..19dd2949 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_utc_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_zero_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_zero_offset.xml new file mode 100644 index 00000000..50686535 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_zero_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11+00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_five_digit_negative_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_five_digit_negative_year.xml new file mode 100644 index 00000000..0fb963b9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_five_digit_negative_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + -20000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_five_digit_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_five_digit_year.xml new file mode 100644 index 00000000..7d0af5db --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_five_digit_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 20000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_01.xml new file mode 100644 index 00000000..2b84c43f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 0740-07:36 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_02.xml new file mode 100644 index 00000000..b0c5a843 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 125774274 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_03.xml new file mode 100644 index 00000000..acd1b570 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + -0444 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_04.xml new file mode 100644 index 00000000..d6e202e4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 0000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_05.xml new file mode 100644 index 00000000..7325c712 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + -0111+14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_06.xml new file mode 100644 index 00000000..c7213a3c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 11111 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_07.xml new file mode 100644 index 00000000..6240d30a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 973419862 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_08.xml new file mode 100644 index 00000000..b615b8ed --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 1717608219759Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_09.xml new file mode 100644 index 00000000..4b5335b5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + -0863 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_10.xml new file mode 100644 index 00000000..242b3443 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + -0109+14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_common_year_month.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_common_year_month.xml new file mode 100644 index 00000000..dc7f8c52 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_common_year_month.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 2001-10 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_five_digit_negative_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_five_digit_negative_year.xml new file mode 100644 index 00000000..48a57ef5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_five_digit_negative_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + -20000-04 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_01.xml new file mode 100644 index 00000000..90995929 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + -65822-10 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_02.xml new file mode 100644 index 00000000..69cab197 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 0730-10-14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_03.xml new file mode 100644 index 00000000..b80447cc --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + -4111-11Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_04.xml new file mode 100644 index 00000000..e3bb5cd1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 1000-01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_05.xml new file mode 100644 index 00000000..b8d2bb64 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 0010-09-14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_06.xml new file mode 100644 index 00000000..e2f4c4ed --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 0555-07 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_07.xml new file mode 100644 index 00000000..105df9f3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 0404-11-14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_08.xml new file mode 100644 index 00000000..c98c3c36 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + -0882-11+14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_09.xml new file mode 100644 index 00000000..57f95b78 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + -0230-09Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_10.xml new file mode 100644 index 00000000..5bf9fda5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 0119-12-14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_negative_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_negative_year.xml new file mode 100644 index 00000000..5fe15ebf --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_negative_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + -2001-10 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_very_large_negative_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_very_large_negative_year.xml new file mode 100644 index 00000000..5493186b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_very_large_negative_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + -123456789012345678901234567890123456789012345678901234567890-04 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_very_large_positive_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_very_large_positive_year.xml new file mode 100644 index 00000000..990a5d8a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_very_large_positive_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 123456789012345678901234567890123456789012345678901234567890-04 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_negative_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_negative_offset.xml new file mode 100644 index 00000000..6103893c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 2001-10-02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_positive_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_positive_offset.xml new file mode 100644 index 00000000..3cc53e15 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 2001-10+02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_utc_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_utc_zone.xml new file mode 100644 index 00000000..1a27a89b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_utc_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 2001-10Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_zero_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_zero_offset.xml new file mode 100644 index 00000000..d7d5adb5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_zero_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 2001-10+00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_negative_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_negative_offset.xml new file mode 100644 index 00000000..c51ca271 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 2001-04:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_negative_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_negative_year.xml new file mode 100644 index 00000000..c85a816e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_negative_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + -2001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_positive_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_positive_offset.xml new file mode 100644 index 00000000..484feb1e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 2001+02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_utc_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_utc_zone.xml new file mode 100644 index 00000000..ce2f32a2 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_utc_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 2001Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_very_large_negative_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_very_large_negative_year.xml new file mode 100644 index 00000000..5003957d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_very_large_negative_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + -123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_very_large_positive_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_very_large_positive_year.xml new file mode 100644 index 00000000..7dd44a22 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_very_large_positive_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_year_without_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_year_without_zone.xml new file mode 100644 index 00000000..27370b94 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_year_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 2001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_zero_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_zero_offset.xml new file mode 100644 index 00000000..473b9075 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_zero_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 2001+00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_empty.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_empty.xml new file mode 100644 index 00000000..e053ceb4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_01.xml new file mode 100644 index 00000000..50d5f225 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + f22fF9004a6D9AD1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_02.xml new file mode 100644 index 00000000..ceb81ef8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + 00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_03.xml new file mode 100644 index 00000000..df2eb443 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + FFFFfef3CB + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_04.xml new file mode 100644 index 00000000..2068814a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + A8 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_05.xml new file mode 100644 index 00000000..db63baa9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + 3C3C82 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_06.xml new file mode 100644 index 00000000..5dbea0f7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + 23ee + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_07.xml new file mode 100644 index 00000000..ceb81ef8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + 00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_08.xml new file mode 100644 index 00000000..aed86cb8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + aBe5ccF85fbf32 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_09.xml new file mode 100644 index 00000000..aed86cb8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + aBe5ccF85fbf32 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_10.xml new file mode 100644 index 00000000..6ce0da2c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + C4E02bbC + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_long_random_hex.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_long_random_hex.xml new file mode 100644 index 00000000..c92925a6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_long_random_hex.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e67 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_one_one.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_one_one.xml new file mode 100644 index 00000000..d51b96e5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_one_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + 11 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_one_two.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_one_two.xml new file mode 100644 index 00000000..9b9a1464 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_one_two.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + 12 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_one_two_three_four.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_one_two_three_four.xml new file mode 100644 index 00000000..a74d8a1e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_one_two_three_four.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + 1234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_common_example.xml new file mode 100644 index 00000000..233af5db --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_explicitly_positive.xml new file mode 100644 index 00000000..73007bcc --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_01.xml new file mode 100644 index 00000000..9a8ce207 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_02.xml new file mode 100644 index 00000000..9789d6c3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + -0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_03.xml new file mode 100644 index 00000000..1813f95d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 000000000000069268 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_04.xml new file mode 100644 index 00000000..3cce2daf --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + +478978 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_05.xml new file mode 100644 index 00000000..291606a6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 7097 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_06.xml new file mode 100644 index 00000000..aba2ff86 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 68 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_07.xml new file mode 100644 index 00000000..d0aefd23 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + +0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_08.xml new file mode 100644 index 00000000..bae8dd44 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 6612453 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_09.xml new file mode 100644 index 00000000..3ae8ccd0 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + -00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_10.xml new file mode 100644 index 00000000..533a2470 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + +0000000946381 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_max.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_max.xml new file mode 100644 index 00000000..f8e6ed75 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_max.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 2147483647 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_min.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_min.xml new file mode 100644 index 00000000..b42fcb73 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_min.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + -2147483648 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_negative.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_negative.xml new file mode 100644 index 00000000..43a0b518 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + -1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_prefixed_with_zeros.xml new file mode 100644 index 00000000..bbfea4c6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_zero.xml new file mode 100644 index 00000000..5e289907 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..eafbbf89 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_common_example.xml new file mode 100644 index 00000000..89309554 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_explicitly_positive.xml new file mode 100644 index 00000000..113717c0 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_01.xml new file mode 100644 index 00000000..b688a110 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 817778847926480 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_02.xml new file mode 100644 index 00000000..b5ec9189 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + +022 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_03.xml new file mode 100644 index 00000000..9fc4342c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + -43045 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_04.xml new file mode 100644 index 00000000..8087139d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + -3009 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_05.xml new file mode 100644 index 00000000..2e6bb555 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_06.xml new file mode 100644 index 00000000..b5d41c2e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + -3 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_07.xml new file mode 100644 index 00000000..866d7fda --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 8 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_08.xml new file mode 100644 index 00000000..90abd745 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 221 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_09.xml new file mode 100644 index 00000000..d6a09224 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 9191 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_10.xml new file mode 100644 index 00000000..324636bb --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + -3909 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_negative.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_negative.xml new file mode 100644 index 00000000..02e6b8d9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + -1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..0d624713 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_very_large.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_very_large.xml new file mode 100644 index 00000000..4765bf40 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_very_large.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_zero.xml new file mode 100644 index 00000000..2e6bb555 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..22778c7c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_common_example.xml new file mode 100644 index 00000000..99a24501 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_explicitly_positive.xml new file mode 100644 index 00000000..560d0874 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_01.xml new file mode 100644 index 00000000..eb315fa8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + -002728 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_02.xml new file mode 100644 index 00000000..b16abcf9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 6257 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_03.xml new file mode 100644 index 00000000..edb3dfc9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 088 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_04.xml new file mode 100644 index 00000000..fee92996 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 29 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_05.xml new file mode 100644 index 00000000..2906bd93 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + -288 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_06.xml new file mode 100644 index 00000000..215f192c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 004775 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_07.xml new file mode 100644 index 00000000..d51e8c38 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 2912577609592844 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_08.xml new file mode 100644 index 00000000..813bffb4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + -0161 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_09.xml new file mode 100644 index 00000000..6790672b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 00000000000048533 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_10.xml new file mode 100644 index 00000000..83583199 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 3116670676 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_max.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_max.xml new file mode 100644 index 00000000..318c3a3f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_max.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 9223372036854775807 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_min.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_min.xml new file mode 100644 index 00000000..f556cbc4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_min.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + -9223372036854775808 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_negative.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_negative.xml new file mode 100644 index 00000000..d37a1dd6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + -1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_prefixed_with_zeros.xml new file mode 100644 index 00000000..ec737322 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_zero.xml new file mode 100644 index 00000000..61e7bf1d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..9c92b75d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_01.xml new file mode 100644 index 00000000..738c8499 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_02.xml new file mode 100644 index 00000000..6ec51754 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -002 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_03.xml new file mode 100644 index 00000000..178a0c99 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -009 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_04.xml new file mode 100644 index 00000000..f264edb6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -8 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_05.xml new file mode 100644 index 00000000..7f305234 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_06.xml new file mode 100644 index 00000000..6a9b341e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -00000000000000000000000516481 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_07.xml new file mode 100644 index 00000000..fb90f48c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -003 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_08.xml new file mode 100644 index 00000000..08dc6d53 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -00126 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_09.xml new file mode 100644 index 00000000..46cc997d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_10.xml new file mode 100644 index 00000000..70623644 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -3 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_negative.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_negative.xml new file mode 100644 index 00000000..7f305234 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..738c8499 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_very_large.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_very_large.xml new file mode 100644 index 00000000..49811487 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_very_large.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_common_example.xml new file mode 100644 index 00000000..bfe86e28 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_explicitly_positive.xml new file mode 100644 index 00000000..827b0c36 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml new file mode 100644 index 00000000..ae7c38bd --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + +001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_01.xml new file mode 100644 index 00000000..be917a38 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + +4 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_02.xml new file mode 100644 index 00000000..22c4c4c2 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 00018 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_03.xml new file mode 100644 index 00000000..76536373 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 22777 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_04.xml new file mode 100644 index 00000000..71e144ff --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 22077 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_05.xml new file mode 100644 index 00000000..a176a0d3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + +06 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_06.xml new file mode 100644 index 00000000..a08ffcc6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 09 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_07.xml new file mode 100644 index 00000000..fe4007cd --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + +3 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_08.xml new file mode 100644 index 00000000..d5a6bcba --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + +5739 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_09.xml new file mode 100644 index 00000000..1e399ea0 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + +70126 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_10.xml new file mode 100644 index 00000000..750ff260 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 05688 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_minus_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_minus_zero.xml new file mode 100644 index 00000000..45af9c70 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_minus_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + -0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_positive_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_positive_zero.xml new file mode 100644 index 00000000..adde00fb --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_positive_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + +0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..f9754056 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_very_large.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_very_large.xml new file mode 100644 index 00000000..bf1902a4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_very_large.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_zero.xml new file mode 100644 index 00000000..e03ab55c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..5dce7033 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_explicitly_positive_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_explicitly_positive_zero.xml new file mode 100644 index 00000000..6d9f8dbb --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_explicitly_positive_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + +0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_01.xml new file mode 100644 index 00000000..4aed2b07 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -51 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_02.xml new file mode 100644 index 00000000..4aac98bb --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -8908938 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_03.xml new file mode 100644 index 00000000..79e70ddf --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -553 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_04.xml new file mode 100644 index 00000000..6d9f8dbb --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + +0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_05.xml new file mode 100644 index 00000000..270717b0 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -4006 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_06.xml new file mode 100644 index 00000000..e518bc67 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -83 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_07.xml new file mode 100644 index 00000000..d9b62fa8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -004 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_08.xml new file mode 100644 index 00000000..d8ed3ab1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -551521749598676413553 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_09.xml new file mode 100644 index 00000000..ea61fe36 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -12116166 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_10.xml new file mode 100644 index 00000000..79e70ddf --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -553 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_negative.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_negative.xml new file mode 100644 index 00000000..435c1740 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..64e38216 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_very_large.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_very_large.xml new file mode 100644 index 00000000..55308a3d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_very_large.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_zero.xml new file mode 100644 index 00000000..f550b000 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_common_example.xml new file mode 100644 index 00000000..c3e8bb0e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_explicitly_positive.xml new file mode 100644 index 00000000..9494209d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_01.xml new file mode 100644 index 00000000..7721f805 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 550788 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_02.xml new file mode 100644 index 00000000..a0482e25 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 7775 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_03.xml new file mode 100644 index 00000000..097eb88e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + +87138 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_04.xml new file mode 100644 index 00000000..ac752527 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 8093888718 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_05.xml new file mode 100644 index 00000000..ab498bcf --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 01145 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_06.xml new file mode 100644 index 00000000..e5dc36ad --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_07.xml new file mode 100644 index 00000000..9cc9ad06 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + +57345 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_08.xml new file mode 100644 index 00000000..8ff0f06e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 54691 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_09.xml new file mode 100644 index 00000000..bdbe3bc5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + +01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_10.xml new file mode 100644 index 00000000..985c4e0f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 3 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..6a299f8a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_very_large.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_very_large.xml new file mode 100644 index 00000000..aae59dd0 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_very_large.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_common_example.xml new file mode 100644 index 00000000..24f21a88 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_explicitly_positive.xml new file mode 100644 index 00000000..a00aec14 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_01.xml new file mode 100644 index 00000000..3b94d0eb --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 9 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_02.xml new file mode 100644 index 00000000..1e5cb98a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_03.xml new file mode 100644 index 00000000..a00aec14 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_04.xml new file mode 100644 index 00000000..2381c09a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 8801 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_05.xml new file mode 100644 index 00000000..7824a802 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 125 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_06.xml new file mode 100644 index 00000000..7b86f1f5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 20518 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_07.xml new file mode 100644 index 00000000..a89cc409 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 60 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_08.xml new file mode 100644 index 00000000..fcd0c31d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + -01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_09.xml new file mode 100644 index 00000000..25858d92 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + +31923 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_10.xml new file mode 100644 index 00000000..8ec3e6b7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 22 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_max.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_max.xml new file mode 100644 index 00000000..b704e368 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_max.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 32767 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_min.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_min.xml new file mode 100644 index 00000000..cead936e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_min.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + -32768 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_negative.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_negative.xml new file mode 100644 index 00000000..2a4c6cee --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + -1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_prefixed_with_zeros.xml new file mode 100644 index 00000000..b6f050c1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_zero.xml new file mode 100644 index 00000000..5a6fe890 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..812aa04f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_empty.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_empty.xml new file mode 100644 index 00000000..9441cfad --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_free_form_text.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_free_form_text.xml new file mode 100644 index 00000000..a05b6a65 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + some free & <free> ᦄ form text + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_01.xml new file mode 100644 index 00000000..c9e31535 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_02.xml new file mode 100644 index 00000000..b4514102 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_03.xml new file mode 100644 index 00000000..b02d3375 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_04.xml new file mode 100644 index 00000000..43bb21e9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_05.xml new file mode 100644 index 00000000..bb10b92b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + J5 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_06.xml new file mode 100644 index 00000000..ba167833 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_07.xml new file mode 100644 index 00000000..ea401e38 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + 6 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_08.xml new file mode 100644 index 00000000..5ac89e36 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_09.xml new file mode 100644 index 00000000..2703c79e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_10.xml new file mode 100644 index 00000000..3f2a6140 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_common_example.xml new file mode 100644 index 00000000..37b0f145 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 21:32:52 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_01.xml new file mode 100644 index 00000000..41a6666c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 24:00:00.00Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_02.xml new file mode 100644 index 00000000..ad7868df --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 01:19:39.4378+10:53 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_03.xml new file mode 100644 index 00000000..74bfa01f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 01:00:12+14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_04.xml new file mode 100644 index 00000000..e26c0690 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 24:00:00.0Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_05.xml new file mode 100644 index 00000000..fedb3608 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 01:10:12+14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_06.xml new file mode 100644 index 00000000..52616983 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 24:00:00-14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_07.xml new file mode 100644 index 00000000..b439fc42 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 20:55:25 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_08.xml new file mode 100644 index 00000000..11c4e373 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 24:00:00-10:44 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_09.xml new file mode 100644 index 00000000..8ece9d44 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 24:00:00-13:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_10.xml new file mode 100644 index 00000000..91c942ff --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 24:00:00.000000+14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_negative_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_negative_offset.xml new file mode 100644 index 00000000..875228bc --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 21:32:52-02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_positive_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_positive_offset.xml new file mode 100644 index 00000000..f5ee1bf3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 21:32:52+02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_with_long_second_fractional.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_with_long_second_fractional.xml new file mode 100644 index 00000000..439963d8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_with_long_second_fractional.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 21:32:52.12345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_with_second_fractional.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_with_second_fractional.xml new file mode 100644 index 00000000..43df750e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_with_second_fractional.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 21:32:52.12679 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_with_utc_timezone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_with_utc_timezone.xml new file mode 100644 index 00000000..3f68d01f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_with_utc_timezone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 19:32:52Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_zero_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_zero_offset.xml new file mode 100644 index 00000000..fbc47ffc --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_zero_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 21:32:52+00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_common_example.xml new file mode 100644 index 00000000..770e7edb --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_explicitly_positive.xml new file mode 100644 index 00000000..48a411ce --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_01.xml new file mode 100644 index 00000000..06c62d51 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 0000000000000000000000000000067 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_02.xml new file mode 100644 index 00000000..d7d9704d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + +130 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_03.xml new file mode 100644 index 00000000..6a18da32 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 232 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_04.xml new file mode 100644 index 00000000..9275b4bc --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + +110 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_05.xml new file mode 100644 index 00000000..2ecf68f1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + +000000000012 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_06.xml new file mode 100644 index 00000000..aad6a4f6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 055 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_07.xml new file mode 100644 index 00000000..d0dae074 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 031 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_08.xml new file mode 100644 index 00000000..7a1afd4f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 0178 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_09.xml new file mode 100644 index 00000000..5e781830 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + +00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_10.xml new file mode 100644 index 00000000..a74d5130 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + +00000006 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_max.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_max.xml new file mode 100644 index 00000000..3235407e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_max.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 255 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_prefixed_with_zeros.xml new file mode 100644 index 00000000..aacc63a6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_zero.xml new file mode 100644 index 00000000..67b4631e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..d7dd6ede --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_common_example.xml new file mode 100644 index 00000000..923ae11c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_explicitly_positive.xml new file mode 100644 index 00000000..be17d681 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_01.xml new file mode 100644 index 00000000..8502cbc1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + +000832736002 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_02.xml new file mode 100644 index 00000000..81f010a5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 0454 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_03.xml new file mode 100644 index 00000000..d6711d21 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 0000000000001161715506 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_04.xml new file mode 100644 index 00000000..b1f13768 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + +0006096840 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_05.xml new file mode 100644 index 00000000..688ac7e3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 8547 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_06.xml new file mode 100644 index 00000000..187e6966 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + +092843 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_07.xml new file mode 100644 index 00000000..4eb6f172 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + +44 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_08.xml new file mode 100644 index 00000000..8dae74d4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + +0881299729 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_09.xml new file mode 100644 index 00000000..b47db774 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + +00604 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_10.xml new file mode 100644 index 00000000..288a2d56 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + +000101 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_max.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_max.xml new file mode 100644 index 00000000..933c1042 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_max.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 4294967295 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_prefixed_with_zeros.xml new file mode 100644 index 00000000..eabaa0fd --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_zero.xml new file mode 100644 index 00000000..4fdb35da --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..824d45ca --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_common_example.xml new file mode 100644 index 00000000..c4abb3a1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_explicitly_positive.xml new file mode 100644 index 00000000..6945e57e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_01.xml new file mode 100644 index 00000000..fab74c41 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_02.xml new file mode 100644 index 00000000..c150cbb9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + +0013081 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_03.xml new file mode 100644 index 00000000..73e68278 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + +00008773 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_04.xml new file mode 100644 index 00000000..6eb306b1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + +000000858 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_05.xml new file mode 100644 index 00000000..f35cd28c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + +000000000002599 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_06.xml new file mode 100644 index 00000000..7ddd6911 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + +0257364527 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_07.xml new file mode 100644 index 00000000..df665d17 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + +000000038893 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_08.xml new file mode 100644 index 00000000..8ff2d8dc --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + +0000000000000111491 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_09.xml new file mode 100644 index 00000000..5fac35ae --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + +09 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_10.xml new file mode 100644 index 00000000..aca184f0 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 0012208354443 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_max.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_max.xml new file mode 100644 index 00000000..d0665ef3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_max.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 18446744073709551615 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_prefixed_with_zeros.xml new file mode 100644 index 00000000..f5e6c404 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_zero.xml new file mode 100644 index 00000000..2eb82b86 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..2e327180 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_common_example.xml new file mode 100644 index 00000000..94e8bf8e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_explicitly_positive.xml new file mode 100644 index 00000000..1d688f8a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_01.xml new file mode 100644 index 00000000..be1b8a0a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + +00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_02.xml new file mode 100644 index 00000000..5953c183 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 06949 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_03.xml new file mode 100644 index 00000000..3e8c527b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 0391 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_04.xml new file mode 100644 index 00000000..7e81d08f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + +000004 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_05.xml new file mode 100644 index 00000000..75b20500 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 00000000391 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_06.xml new file mode 100644 index 00000000..573c2535 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + +085 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_07.xml new file mode 100644 index 00000000..8d740d0c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 10233 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_08.xml new file mode 100644 index 00000000..5e1250af --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 044598 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_09.xml new file mode 100644 index 00000000..49616a4c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + +00066 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_10.xml new file mode 100644 index 00000000..6fb133b3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + +00000000000000000000003250 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_max.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_max.xml new file mode 100644 index 00000000..109800d2 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_max.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 65535 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_prefixed_with_zeros.xml new file mode 100644 index 00000000..b58ab79d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_zero.xml new file mode 100644 index 00000000..fcd92e26 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..5c0e9a10 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 000 + diff --git a/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/aas_asset_kind.xml b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/aas_asset_kind.xml new file mode 100644 index 00000000..1be1b54f --- /dev/null +++ b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/aas_asset_kind.xml @@ -0,0 +1,3 @@ + + $aas#assetInformation.assetKind + diff --git a/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/aas_id_short.xml b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/aas_id_short.xml new file mode 100644 index 00000000..86901bc9 --- /dev/null +++ b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/aas_id_short.xml @@ -0,0 +1,3 @@ + + $aas#idShort + diff --git a/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/aas_specific_asset_id_name.xml b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/aas_specific_asset_id_name.xml new file mode 100644 index 00000000..7f9e7705 --- /dev/null +++ b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/aas_specific_asset_id_name.xml @@ -0,0 +1,3 @@ + + $aas#assetInformation.specificAssetIds[0].name + diff --git a/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/aas_submodel_key_value.xml b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/aas_submodel_key_value.xml new file mode 100644 index 00000000..476615c5 --- /dev/null +++ b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/aas_submodel_key_value.xml @@ -0,0 +1,3 @@ + + $aas#submodels[].keys[1].value + diff --git a/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/aasdesc_endpoint.xml b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/aasdesc_endpoint.xml new file mode 100644 index 00000000..826c745f --- /dev/null +++ b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/aasdesc_endpoint.xml @@ -0,0 +1,3 @@ + + $aasdesc#endpoints[0].protocolinformation.href + diff --git a/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/cd_id.xml b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/cd_id.xml new file mode 100644 index 00000000..8f28b7c3 --- /dev/null +++ b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/cd_id.xml @@ -0,0 +1,3 @@ + + $cd#id + diff --git a/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/sm_semantic_id.xml b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/sm_semantic_id.xml new file mode 100644 index 00000000..850c1549 --- /dev/null +++ b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/sm_semantic_id.xml @@ -0,0 +1,3 @@ + + $sm#semanticId.keys[0].value + diff --git a/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/smdesc_semantic_id.xml b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/smdesc_semantic_id.xml new file mode 100644 index 00000000..74a97dfb --- /dev/null +++ b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/smdesc_semantic_id.xml @@ -0,0 +1,3 @@ + + $smdesc#semanticId.type + diff --git a/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/sme_root.xml b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/sme_root.xml new file mode 100644 index 00000000..13ad1bd5 --- /dev/null +++ b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/sme_root.xml @@ -0,0 +1,3 @@ + + $sme#idShort + diff --git a/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/sme_with_index.xml b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/sme_with_index.xml new file mode 100644 index 00000000..a43aadbe --- /dev/null +++ b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/sme_with_index.xml @@ -0,0 +1,3 @@ + + $sme.list[3].prop#valueType + diff --git a/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/sme_with_path.xml b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/sme_with_path.xml new file mode 100644 index 00000000..b4081932 --- /dev/null +++ b/test_data/Xml/Expected/fieldOperand/fieldOverPatternExamples/sme_with_path.xml @@ -0,0 +1,3 @@ + + $sme.someCollection.someProperty#value + diff --git a/test_data/Xml/Expected/fieldOperand/maximal.xml b/test_data/Xml/Expected/fieldOperand/maximal.xml new file mode 100644 index 00000000..b4081932 --- /dev/null +++ b/test_data/Xml/Expected/fieldOperand/maximal.xml @@ -0,0 +1,3 @@ + + $sme.someCollection.someProperty#value + diff --git a/test_data/Xml/Expected/fieldOperand/minimal.xml b/test_data/Xml/Expected/fieldOperand/minimal.xml new file mode 100644 index 00000000..b4081932 --- /dev/null +++ b/test_data/Xml/Expected/fieldOperand/minimal.xml @@ -0,0 +1,3 @@ + + $sme.someCollection.someProperty#value + diff --git a/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..98369a82 --- /dev/null +++ b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..06f3e58a --- /dev/null +++ b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..4ca968f2 --- /dev/null +++ b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..01c51611 --- /dev/null +++ b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..3f31d15c --- /dev/null +++ b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..6afd6f71 --- /dev/null +++ b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..58d579bc --- /dev/null +++ b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..10c4c5ca --- /dev/null +++ b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..229ae0a3 --- /dev/null +++ b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..553be3f2 --- /dev/null +++ b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/file/contentTypeOverPatternExamples/dash.xml b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/dash.xml new file mode 100644 index 00000000..b2233d11 --- /dev/null +++ b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/dash.xml @@ -0,0 +1,3 @@ + + application/x-abiword + diff --git a/test_data/Xml/Expected/file/contentTypeOverPatternExamples/dots.xml b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/dots.xml new file mode 100644 index 00000000..5524641d --- /dev/null +++ b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/dots.xml @@ -0,0 +1,3 @@ + + application/vnd.amazon.ebook + diff --git a/test_data/Xml/Expected/file/contentTypeOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..d072972c --- /dev/null +++ b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 7/6qwqh6g + diff --git a/test_data/Xml/Expected/file/contentTypeOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..21ba4a3b --- /dev/null +++ b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15j/5j + diff --git a/test_data/Xml/Expected/file/contentTypeOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..96f43e6f --- /dev/null +++ b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + 'VbrwFrYTU/fO7NnLxq ; MX.`10dB732`X5yRy=I56Ov9Us ; pRb~~hdw_C%2Zf="" ; h=1t + diff --git a/test_data/Xml/Expected/file/contentTypeOverPatternExamples/number prefix and suffix.xml b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/number prefix and suffix.xml new file mode 100644 index 00000000..bdc91b45 --- /dev/null +++ b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/number prefix and suffix.xml @@ -0,0 +1,3 @@ + + audio/3gpp2 + diff --git a/test_data/Xml/Expected/file/contentTypeOverPatternExamples/only_letters.xml b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/only_letters.xml new file mode 100644 index 00000000..21ba7bfc --- /dev/null +++ b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/only_letters.xml @@ -0,0 +1,3 @@ + + audio/aac + diff --git a/test_data/Xml/Expected/file/contentTypeOverPatternExamples/plus.xml b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/plus.xml new file mode 100644 index 00000000..d7a9f5ff --- /dev/null +++ b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/plus.xml @@ -0,0 +1,3 @@ + + application/vnd.apple.installer+xml + diff --git a/test_data/Xml/Expected/file/contentTypeOverPatternExamples/random_common_MIME_type.xml b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/random_common_MIME_type.xml new file mode 100644 index 00000000..01cce65d --- /dev/null +++ b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/random_common_MIME_type.xml @@ -0,0 +1,3 @@ + + application/something-random + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..60f795cd --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..ab68ded9 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..8a6dead2 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..29546f19 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..8371b491 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..90c0f0e3 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..4c61f7e7 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..86b860f1 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..61d9ef39 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..613d434d --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..1a3dc8ca --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..2b2a3e62 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..53ab36f9 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..9a2cf325 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..877c32e1 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..6cbb32ba --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..7272be86 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..bb35a90f --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..cb580977 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..e221fae2 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..07eb7c13 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/file/maximal.xml b/test_data/Xml/Expected/file/maximal.xml new file mode 100644 index 00000000..43515cdb --- /dev/null +++ b/test_data/Xml/Expected/file/maximal.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Expected/file/minimal.xml b/test_data/Xml/Expected/file/minimal.xml new file mode 100644 index 00000000..5c0066a7 --- /dev/null +++ b/test_data/Xml/Expected/file/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..5495c0e9 --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + #%4b%6AT + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..e773a05f --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + RqjJsrvAJ1Uk:%9d'%8C_%81k,%Fcd?yw,@B,M=.EE%8E + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..ee7cd44d --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + #/%38%21& + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..34de568a --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + //QQ%BF(,xe;A.@%94($,=%38@ + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..83c85c30 --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + /;=:&%30%1a;77@%321%A4%21;%FC:=/;=,=%13y:%2D;+J%c6%bcU%D3;j1G:sg=%EcA%f3/@z%29%B7&B;=#@H%8D=U%FE%5e%22%Db?,+ + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..09b7f0a1 --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + #; + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..4056b1ea --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + #%6A%6AT + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..f4f3beee --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..4f3de8c0 --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + q2t2uv://777646689268.160810318.01435447069935.47:/%Be/%04@%Cd@P%dc:C$&~x=;%3f9+;;sr-i=p,///;%D5@@x&;V@I%16/+;%e4,@%AA@Ih:%8Dg=%F8P,v%dE%3E%03%62%FB=$R,&%ac%71;u%11l8*;,;$%Faj:;;;%ee$%8b%EC@%4Alo;t,%0b%eB%D5%EA:%De;$$1:@/%8e%0D&9%C8M;@5%28%4E%BC@%34;;@%EC=tL)x(/M%D3%aF&%Ec;=%aa$$j;;%B3@hk=e:%DB%24Z;%F6%9E+%8e;=;%ba;;%b3;;p%f11=%34%c0;#lR:+k%BE4%EB + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..364125a9 --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + #%59T=%e1&&%b4%53EYU?,/q%87%c6He + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_01.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_01.xml new file mode 100644 index 00000000..97b0420e --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_01.xml @@ -0,0 +1,3 @@ + + http://www.example.org + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_02.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_02.xml new file mode 100644 index 00000000..0a7bc1d1 --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_02.xml @@ -0,0 +1,3 @@ + + ftp://ftp.is.co.za/rfc/rfc1808.txt + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_03.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_03.xml new file mode 100644 index 00000000..3cdd0ce8 --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_03.xml @@ -0,0 +1,3 @@ + + mailto:John.Doe@example.org + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_04.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_04.xml new file mode 100644 index 00000000..d94ab60b --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_04.xml @@ -0,0 +1,3 @@ + + news:comp.infosystems.www.servers.unix + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_05.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_05.xml new file mode 100644 index 00000000..faf7d878 --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_05.xml @@ -0,0 +1,3 @@ + + telnet://192.0.2.16:80/ + diff --git a/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..9517484e --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..3b6b1744 --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..ae9949b7 --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..ab30b570 --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..5fdccc9c --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..71561514 --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..279137a9 --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..b28f8b5e --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..bd16148e --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..cb426dc0 --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..55bf18c4 --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..ce68621f --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..4eae958e --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..6966e6ca --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..946fb435 --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..5af16eff --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..29e4d995 --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..0c51f74e --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..8066c408 --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..2c2b622a --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..db39cf48 --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..acb0eca0 --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..213e64c7 --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..3c04bfdf --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..31241d98 --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..664a7a6d --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..23da90ae --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..c7183d17 --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..89eec93b --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..c53229eb --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..90589dfb --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/fileMetadata/maximal.xml b/test_data/Xml/Expected/fileMetadata/maximal.xml new file mode 100644 index 00000000..2cf0b30b --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/maximal.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Expected/fileMetadata/minimal.xml b/test_data/Xml/Expected/fileMetadata/minimal.xml new file mode 100644 index 00000000..bde34b72 --- /dev/null +++ b/test_data/Xml/Expected/fileMetadata/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/dash.xml b/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/dash.xml new file mode 100644 index 00000000..9746e8a1 --- /dev/null +++ b/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/dash.xml @@ -0,0 +1,3 @@ + + application/x-abiword + diff --git a/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/dots.xml b/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/dots.xml new file mode 100644 index 00000000..d525fdf2 --- /dev/null +++ b/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/dots.xml @@ -0,0 +1,3 @@ + + application/vnd.amazon.ebook + diff --git a/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..f9d66636 --- /dev/null +++ b/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 7/6qwqh6g + diff --git a/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..6bf1c82b --- /dev/null +++ b/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15j/5j + diff --git a/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..5f883d74 --- /dev/null +++ b/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + 'VbrwFrYTU/fO7NnLxq ; MX.`10dB732`X5yRy=I56Ov9Us ; pRb~~hdw_C%2Zf="" ; h=1t + diff --git a/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/number prefix and suffix.xml b/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/number prefix and suffix.xml new file mode 100644 index 00000000..519b6255 --- /dev/null +++ b/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/number prefix and suffix.xml @@ -0,0 +1,3 @@ + + audio/3gpp2 + diff --git a/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/only_letters.xml b/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/only_letters.xml new file mode 100644 index 00000000..cbc4f163 --- /dev/null +++ b/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/only_letters.xml @@ -0,0 +1,3 @@ + + audio/aac + diff --git a/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/plus.xml b/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/plus.xml new file mode 100644 index 00000000..ab7489f5 --- /dev/null +++ b/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/plus.xml @@ -0,0 +1,3 @@ + + application/vnd.apple.installer+xml + diff --git a/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/random_common_MIME_type.xml b/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/random_common_MIME_type.xml new file mode 100644 index 00000000..9bbbef17 --- /dev/null +++ b/test_data/Xml/Expected/fileValue/contentTypeOverPatternExamples/random_common_MIME_type.xml @@ -0,0 +1,3 @@ + + application/something-random + diff --git a/test_data/Xml/Expected/fileValue/maximal.xml b/test_data/Xml/Expected/fileValue/maximal.xml new file mode 100644 index 00000000..509d87f0 --- /dev/null +++ b/test_data/Xml/Expected/fileValue/maximal.xml @@ -0,0 +1,4 @@ + + 15j/5j + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + diff --git a/test_data/Xml/Expected/fileValue/minimal.xml b/test_data/Xml/Expected/fileValue/minimal.xml new file mode 100644 index 00000000..eed20e5d --- /dev/null +++ b/test_data/Xml/Expected/fileValue/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..cd4a7043 --- /dev/null +++ b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + #%4b%6AT + diff --git a/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..7a59e3a4 --- /dev/null +++ b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + RqjJsrvAJ1Uk:%9d'%8C_%81k,%Fcd?yw,@B,M=.EE%8E + diff --git a/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..f4579ad1 --- /dev/null +++ b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + #/%38%21& + diff --git a/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..70a27b3a --- /dev/null +++ b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + //QQ%BF(,xe;A.@%94($,=%38@ + diff --git a/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..6e91ef78 --- /dev/null +++ b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + /;=:&%30%1a;77@%321%A4%21;%FC:=/;=,=%13y:%2D;+J%c6%bcU%D3;j1G:sg=%EcA%f3/@z%29%B7&B;=#@H%8D=U%FE%5e%22%Db?,+ + diff --git a/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..460d7a3b --- /dev/null +++ b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + #; + diff --git a/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..8512b2d6 --- /dev/null +++ b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + #%6A%6AT + diff --git a/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..d55308bc --- /dev/null +++ b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + diff --git a/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..5092820f --- /dev/null +++ b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + q2t2uv://777646689268.160810318.01435447069935.47:/%Be/%04@%Cd@P%dc:C$&~x=;%3f9+;;sr-i=p,///;%D5@@x&;V@I%16/+;%e4,@%AA@Ih:%8Dg=%F8P,v%dE%3E%03%62%FB=$R,&%ac%71;u%11l8*;,;$%Faj:;;;%ee$%8b%EC@%4Alo;t,%0b%eB%D5%EA:%De;$$1:@/%8e%0D&9%C8M;@5%28%4E%BC@%34;;@%EC=tL)x(/M%D3%aF&%Ec;=%aa$$j;;%B3@hk=e:%DB%24Z;%F6%9E+%8e;=;%ba;;%b3;;p%f11=%34%c0;#lR:+k%BE4%EB + diff --git a/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..43e37d04 --- /dev/null +++ b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + #%59T=%e1&&%b4%53EYU?,/q%87%c6He + diff --git a/test_data/Xml/Expected/fileValue/valueOverPatternExamples/made_up_01.xml b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/made_up_01.xml new file mode 100644 index 00000000..5458e806 --- /dev/null +++ b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/made_up_01.xml @@ -0,0 +1,3 @@ + + http://www.example.org + diff --git a/test_data/Xml/Expected/fileValue/valueOverPatternExamples/made_up_02.xml b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/made_up_02.xml new file mode 100644 index 00000000..18a63617 --- /dev/null +++ b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/made_up_02.xml @@ -0,0 +1,3 @@ + + ftp://ftp.is.co.za/rfc/rfc1808.txt + diff --git a/test_data/Xml/Expected/fileValue/valueOverPatternExamples/made_up_03.xml b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/made_up_03.xml new file mode 100644 index 00000000..3b60d300 --- /dev/null +++ b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/made_up_03.xml @@ -0,0 +1,3 @@ + + mailto:John.Doe@example.org + diff --git a/test_data/Xml/Expected/fileValue/valueOverPatternExamples/made_up_04.xml b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/made_up_04.xml new file mode 100644 index 00000000..c347cd24 --- /dev/null +++ b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/made_up_04.xml @@ -0,0 +1,3 @@ + + news:comp.infosystems.www.servers.unix + diff --git a/test_data/Xml/Expected/fileValue/valueOverPatternExamples/made_up_05.xml b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/made_up_05.xml new file mode 100644 index 00000000..5116450b --- /dev/null +++ b/test_data/Xml/Expected/fileValue/valueOverPatternExamples/made_up_05.xml @@ -0,0 +1,3 @@ + + telnet://192.0.2.16:80/ + diff --git a/test_data/Xml/Expected/getAllAssetAdministrationShellsRecentChangesResult/maximal.xml b/test_data/Xml/Expected/getAllAssetAdministrationShellsRecentChangesResult/maximal.xml new file mode 100644 index 00000000..0365fc92 --- /dev/null +++ b/test_data/Xml/Expected/getAllAssetAdministrationShellsRecentChangesResult/maximal.xml @@ -0,0 +1,15 @@ + + + + + 2022-04-01T24:00:00-00:00 + 2022-04-01T24:00:00-00:00 + 0 + + + 2022-04-01T00:00:00Z + 2022-04-01T00:00:00Z + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Expected/getAllAssetAdministrationShellsRecentChangesResult/minimal.xml b/test_data/Xml/Expected/getAllAssetAdministrationShellsRecentChangesResult/minimal.xml new file mode 100644 index 00000000..ac674eb9 --- /dev/null +++ b/test_data/Xml/Expected/getAllAssetAdministrationShellsRecentChangesResult/minimal.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Expected/getAllConceptDescriptionsRecentChangesResult/maximal.xml b/test_data/Xml/Expected/getAllConceptDescriptionsRecentChangesResult/maximal.xml new file mode 100644 index 00000000..8c4f7545 --- /dev/null +++ b/test_data/Xml/Expected/getAllConceptDescriptionsRecentChangesResult/maximal.xml @@ -0,0 +1,15 @@ + + + + + 2022-04-01T24:00:00-00:00 + 2022-04-01T24:00:00-00:00 + 0 + + + 2022-04-01T00:00:00Z + 2022-04-01T00:00:00Z + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Expected/getAllConceptDescriptionsRecentChangesResult/minimal.xml b/test_data/Xml/Expected/getAllConceptDescriptionsRecentChangesResult/minimal.xml new file mode 100644 index 00000000..c7e0358e --- /dev/null +++ b/test_data/Xml/Expected/getAllConceptDescriptionsRecentChangesResult/minimal.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Expected/getAllSubmodelsRecentChangesResult/maximal.xml b/test_data/Xml/Expected/getAllSubmodelsRecentChangesResult/maximal.xml new file mode 100644 index 00000000..75513ce4 --- /dev/null +++ b/test_data/Xml/Expected/getAllSubmodelsRecentChangesResult/maximal.xml @@ -0,0 +1,15 @@ + + + + + 2022-04-01T24:00:00-00:00 + 2022-04-01T24:00:00-00:00 + 0 + + + 2022-04-01T00:00:00Z + 2022-04-01T00:00:00Z + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Expected/getAllSubmodelsRecentChangesResult/minimal.xml b/test_data/Xml/Expected/getAllSubmodelsRecentChangesResult/minimal.xml new file mode 100644 index 00000000..a4b1b3df --- /dev/null +++ b/test_data/Xml/Expected/getAllSubmodelsRecentChangesResult/minimal.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Expected/getAssetAdministrationShellDescriptorsResult/maximal.xml b/test_data/Xml/Expected/getAssetAdministrationShellDescriptorsResult/maximal.xml new file mode 100644 index 00000000..9a7d639c --- /dev/null +++ b/test_data/Xml/Expected/getAssetAdministrationShellDescriptorsResult/maximal.xml @@ -0,0 +1,11 @@ + + + + + 6 + + + öĖa􍣡™| + + + diff --git a/test_data/Xml/Expected/getAssetAdministrationShellDescriptorsResult/minimal.xml b/test_data/Xml/Expected/getAssetAdministrationShellDescriptorsResult/minimal.xml new file mode 100644 index 00000000..f450fa69 --- /dev/null +++ b/test_data/Xml/Expected/getAssetAdministrationShellDescriptorsResult/minimal.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Expected/getAssetAdministrationShellsMetadataResult/maximal.xml b/test_data/Xml/Expected/getAssetAdministrationShellsMetadataResult/maximal.xml new file mode 100644 index 00000000..234b0288 --- /dev/null +++ b/test_data/Xml/Expected/getAssetAdministrationShellsMetadataResult/maximal.xml @@ -0,0 +1,11 @@ + + + + + 6 + + + öĖa􍣡™| + + + diff --git a/test_data/Xml/Expected/getAssetAdministrationShellsMetadataResult/minimal.xml b/test_data/Xml/Expected/getAssetAdministrationShellsMetadataResult/minimal.xml new file mode 100644 index 00000000..71e5a32f --- /dev/null +++ b/test_data/Xml/Expected/getAssetAdministrationShellsMetadataResult/minimal.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Expected/getAssetAdministrationShellsResult/maximal.xml b/test_data/Xml/Expected/getAssetAdministrationShellsResult/maximal.xml new file mode 100644 index 00000000..67d8b670 --- /dev/null +++ b/test_data/Xml/Expected/getAssetAdministrationShellsResult/maximal.xml @@ -0,0 +1,19 @@ + + + + + 6 + + Instance + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + öĖa􍣡™| + + NotApplicable + 򤑌M𪠇𛔊򂄲 + + + + diff --git a/test_data/Xml/Expected/getAssetAdministrationShellsResult/minimal.xml b/test_data/Xml/Expected/getAssetAdministrationShellsResult/minimal.xml new file mode 100644 index 00000000..ebf960a4 --- /dev/null +++ b/test_data/Xml/Expected/getAssetAdministrationShellsResult/minimal.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Expected/getConceptDescriptionsResult/maximal.xml b/test_data/Xml/Expected/getConceptDescriptionsResult/maximal.xml new file mode 100644 index 00000000..82c2a82f --- /dev/null +++ b/test_data/Xml/Expected/getConceptDescriptionsResult/maximal.xml @@ -0,0 +1,11 @@ + + + + + 6 + + + öĖa􍣡™| + + + diff --git a/test_data/Xml/Expected/getConceptDescriptionsResult/minimal.xml b/test_data/Xml/Expected/getConceptDescriptionsResult/minimal.xml new file mode 100644 index 00000000..3d6fe47e --- /dev/null +++ b/test_data/Xml/Expected/getConceptDescriptionsResult/minimal.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Expected/getPackageDescriptionsResult/maximal.xml b/test_data/Xml/Expected/getPackageDescriptionsResult/maximal.xml new file mode 100644 index 00000000..4d66a923 --- /dev/null +++ b/test_data/Xml/Expected/getPackageDescriptionsResult/maximal.xml @@ -0,0 +1,11 @@ + + + + + J5 + + + 0 + + + diff --git a/test_data/Xml/Expected/getPackageDescriptionsResult/minimal.xml b/test_data/Xml/Expected/getPackageDescriptionsResult/minimal.xml new file mode 100644 index 00000000..02403758 --- /dev/null +++ b/test_data/Xml/Expected/getPackageDescriptionsResult/minimal.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Expected/getPathItemsResult/maximal.xml b/test_data/Xml/Expected/getPathItemsResult/maximal.xml new file mode 100644 index 00000000..32faf9db --- /dev/null +++ b/test_data/Xml/Expected/getPathItemsResult/maximal.xml @@ -0,0 +1,7 @@ + + + + [88607] + [2004][688] + + diff --git a/test_data/Xml/Expected/getPathItemsResult/minimal.xml b/test_data/Xml/Expected/getPathItemsResult/minimal.xml new file mode 100644 index 00000000..44e17cbb --- /dev/null +++ b/test_data/Xml/Expected/getPathItemsResult/minimal.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Expected/getReferencesResult/maximal.xml b/test_data/Xml/Expected/getReferencesResult/maximal.xml new file mode 100644 index 00000000..fdd1dac7 --- /dev/null +++ b/test_data/Xml/Expected/getReferencesResult/maximal.xml @@ -0,0 +1,23 @@ + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:1e454a20 + + + + + ExternalReference + + + GlobalReference + urn:an-example:08:46556cf0 + + + + + diff --git a/test_data/Xml/Expected/getReferencesResult/minimal.xml b/test_data/Xml/Expected/getReferencesResult/minimal.xml new file mode 100644 index 00000000..b8c65359 --- /dev/null +++ b/test_data/Xml/Expected/getReferencesResult/minimal.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Expected/getSubmodelDescriptorsResult/maximal.xml b/test_data/Xml/Expected/getSubmodelDescriptorsResult/maximal.xml new file mode 100644 index 00000000..fb15541c --- /dev/null +++ b/test_data/Xml/Expected/getSubmodelDescriptorsResult/maximal.xml @@ -0,0 +1,33 @@ + + + + + + + + something_1a8f5f52 + + 0 + + + J5 + + + + + + something_5c6192cf + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + something_a0d1bab3 + + Ûă<P󨱽²|dnœÞ® + + + [\h$񒺟ìÖċŠ1¿ + + + diff --git a/test_data/Xml/Expected/getSubmodelDescriptorsResult/minimal.xml b/test_data/Xml/Expected/getSubmodelDescriptorsResult/minimal.xml new file mode 100644 index 00000000..146be828 --- /dev/null +++ b/test_data/Xml/Expected/getSubmodelDescriptorsResult/minimal.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Expected/getSubmodelElementsMetadataResult/maximal.xml b/test_data/Xml/Expected/getSubmodelElementsMetadataResult/maximal.xml new file mode 100644 index 00000000..ce3df02b --- /dev/null +++ b/test_data/Xml/Expected/getSubmodelElementsMetadataResult/maximal.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/test_data/Xml/Expected/getSubmodelElementsMetadataResult/minimal.xml b/test_data/Xml/Expected/getSubmodelElementsMetadataResult/minimal.xml new file mode 100644 index 00000000..b20be465 --- /dev/null +++ b/test_data/Xml/Expected/getSubmodelElementsMetadataResult/minimal.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Expected/getSubmodelElementsResult/maximal.xml b/test_data/Xml/Expected/getSubmodelElementsResult/maximal.xml new file mode 100644 index 00000000..76f2450e --- /dev/null +++ b/test_data/Xml/Expected/getSubmodelElementsResult/maximal.xml @@ -0,0 +1,11 @@ + + + + + fULCVpULCVq + + + P7gn + + + diff --git a/test_data/Xml/Expected/getSubmodelElementsResult/minimal.xml b/test_data/Xml/Expected/getSubmodelElementsResult/minimal.xml new file mode 100644 index 00000000..cb9085b2 --- /dev/null +++ b/test_data/Xml/Expected/getSubmodelElementsResult/minimal.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Expected/getSubmodelElementsValueResult/maximal.xml b/test_data/Xml/Expected/getSubmodelElementsValueResult/maximal.xml new file mode 100644 index 00000000..0b7bbe5e --- /dev/null +++ b/test_data/Xml/Expected/getSubmodelElementsValueResult/maximal.xml @@ -0,0 +1,95 @@ + + + + + + A_ + + something_26d9750b + + + + a_ + + 11487601.16 + + + + Jk0k1414Di + + 0 + + + + AopQejF + + + + + something_eed9253c + + + 40277513.02 + + + + + nested + + 1 + + + + + + + + + + + + a-_ + + something_e3ee22c6 + + + + tWC + + 41825534.23 + + + + a-b + + 1 + + + + t8x1pz9WS4TGV + + + + + something_949a3976 + + + 32116879.18 + + + + + nested + + 0 + + + + + + + + + + + diff --git a/test_data/Xml/Expected/getSubmodelElementsValueResult/minimal.xml b/test_data/Xml/Expected/getSubmodelElementsValueResult/minimal.xml new file mode 100644 index 00000000..65fbbe66 --- /dev/null +++ b/test_data/Xml/Expected/getSubmodelElementsValueResult/minimal.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Expected/getSubmodelsMetadataResult/maximal.xml b/test_data/Xml/Expected/getSubmodelsMetadataResult/maximal.xml new file mode 100644 index 00000000..cb02082d --- /dev/null +++ b/test_data/Xml/Expected/getSubmodelsMetadataResult/maximal.xml @@ -0,0 +1,11 @@ + + + + + 6 + + + öĖa􍣡™| + + + diff --git a/test_data/Xml/Expected/getSubmodelsMetadataResult/minimal.xml b/test_data/Xml/Expected/getSubmodelsMetadataResult/minimal.xml new file mode 100644 index 00000000..1147ce6c --- /dev/null +++ b/test_data/Xml/Expected/getSubmodelsMetadataResult/minimal.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Expected/getSubmodelsResult/maximal.xml b/test_data/Xml/Expected/getSubmodelsResult/maximal.xml new file mode 100644 index 00000000..61b95b71 --- /dev/null +++ b/test_data/Xml/Expected/getSubmodelsResult/maximal.xml @@ -0,0 +1,11 @@ + + + + + 6 + + + öĖa􍣡™| + + + diff --git a/test_data/Xml/Expected/getSubmodelsResult/minimal.xml b/test_data/Xml/Expected/getSubmodelsResult/minimal.xml new file mode 100644 index 00000000..74e0edb9 --- /dev/null +++ b/test_data/Xml/Expected/getSubmodelsResult/minimal.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Expected/getSubmodelsValueResult/maximal.xml b/test_data/Xml/Expected/getSubmodelsValueResult/maximal.xml new file mode 100644 index 00000000..b4df8405 --- /dev/null +++ b/test_data/Xml/Expected/getSubmodelsValueResult/maximal.xml @@ -0,0 +1,95 @@ + + + + + + A_ + + something_26d9750b + + + + a_ + + 11487601.16 + + + + Jk0k1414Di + + 0 + + + + AopQejF + + + + + something_eed9253c + + + 40277513.02 + + + + + nested + + 1 + + + + + + + + + + + + a-_ + + something_e3ee22c6 + + + + tWC + + 41825534.23 + + + + a-b + + 1 + + + + t8x1pz9WS4TGV + + + + + something_949a3976 + + + 32116879.18 + + + + + nested + + 0 + + + + + + + + + + + diff --git a/test_data/Xml/Expected/getSubmodelsValueResult/minimal.xml b/test_data/Xml/Expected/getSubmodelsValueResult/minimal.xml new file mode 100644 index 00000000..03ee3631 --- /dev/null +++ b/test_data/Xml/Expected/getSubmodelsValueResult/minimal.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Expected/globalAttribute/maximal.xml b/test_data/Xml/Expected/globalAttribute/maximal.xml new file mode 100644 index 00000000..37475bca --- /dev/null +++ b/test_data/Xml/Expected/globalAttribute/maximal.xml @@ -0,0 +1,3 @@ + + ANONYMOUS + diff --git a/test_data/Xml/Expected/globalAttribute/minimal.xml b/test_data/Xml/Expected/globalAttribute/minimal.xml new file mode 100644 index 00000000..37475bca --- /dev/null +++ b/test_data/Xml/Expected/globalAttribute/minimal.xml @@ -0,0 +1,3 @@ + + ANONYMOUS + diff --git a/test_data/Xml/Expected/greaterThanComparison/maximal.xml b/test_data/Xml/Expected/greaterThanComparison/maximal.xml new file mode 100644 index 00000000..801fe109 --- /dev/null +++ b/test_data/Xml/Expected/greaterThanComparison/maximal.xml @@ -0,0 +1,10 @@ + + + + 16#00 + + + 16#1F + + + diff --git a/test_data/Xml/Expected/greaterThanComparison/minimal.xml b/test_data/Xml/Expected/greaterThanComparison/minimal.xml new file mode 100644 index 00000000..801fe109 --- /dev/null +++ b/test_data/Xml/Expected/greaterThanComparison/minimal.xml @@ -0,0 +1,10 @@ + + + + 16#00 + + + 16#1F + + + diff --git a/test_data/Xml/Expected/greaterThanOrEqualComparison/maximal.xml b/test_data/Xml/Expected/greaterThanOrEqualComparison/maximal.xml new file mode 100644 index 00000000..cc01d3cf --- /dev/null +++ b/test_data/Xml/Expected/greaterThanOrEqualComparison/maximal.xml @@ -0,0 +1,10 @@ + + + + 16#1 + + + 16#00 + + + diff --git a/test_data/Xml/Expected/greaterThanOrEqualComparison/minimal.xml b/test_data/Xml/Expected/greaterThanOrEqualComparison/minimal.xml new file mode 100644 index 00000000..cc01d3cf --- /dev/null +++ b/test_data/Xml/Expected/greaterThanOrEqualComparison/minimal.xml @@ -0,0 +1,10 @@ + + + + 16#1 + + + 16#00 + + + diff --git a/test_data/Xml/Expected/hexCast/maximal.xml b/test_data/Xml/Expected/hexCast/maximal.xml new file mode 100644 index 00000000..c584fbce --- /dev/null +++ b/test_data/Xml/Expected/hexCast/maximal.xml @@ -0,0 +1,7 @@ + + + + $sme.list[3].prop#valueType + + + diff --git a/test_data/Xml/Expected/hexCast/minimal.xml b/test_data/Xml/Expected/hexCast/minimal.xml new file mode 100644 index 00000000..c584fbce --- /dev/null +++ b/test_data/Xml/Expected/hexCast/minimal.xml @@ -0,0 +1,7 @@ + + + + $sme.list[3].prop#valueType + + + diff --git a/test_data/Xml/Expected/hexLiteral/hexValOverPatternExamples/long.xml b/test_data/Xml/Expected/hexLiteral/hexValOverPatternExamples/long.xml new file mode 100644 index 00000000..985ceea1 --- /dev/null +++ b/test_data/Xml/Expected/hexLiteral/hexValOverPatternExamples/long.xml @@ -0,0 +1,3 @@ + + 16#DEADBEEF + diff --git a/test_data/Xml/Expected/hexLiteral/hexValOverPatternExamples/one_digit.xml b/test_data/Xml/Expected/hexLiteral/hexValOverPatternExamples/one_digit.xml new file mode 100644 index 00000000..587131ff --- /dev/null +++ b/test_data/Xml/Expected/hexLiteral/hexValOverPatternExamples/one_digit.xml @@ -0,0 +1,3 @@ + + 16#1 + diff --git a/test_data/Xml/Expected/hexLiteral/hexValOverPatternExamples/upper.xml b/test_data/Xml/Expected/hexLiteral/hexValOverPatternExamples/upper.xml new file mode 100644 index 00000000..893c1563 --- /dev/null +++ b/test_data/Xml/Expected/hexLiteral/hexValOverPatternExamples/upper.xml @@ -0,0 +1,3 @@ + + 16#1F + diff --git a/test_data/Xml/Expected/hexLiteral/hexValOverPatternExamples/zeros.xml b/test_data/Xml/Expected/hexLiteral/hexValOverPatternExamples/zeros.xml new file mode 100644 index 00000000..d315cf8f --- /dev/null +++ b/test_data/Xml/Expected/hexLiteral/hexValOverPatternExamples/zeros.xml @@ -0,0 +1,3 @@ + + 16#00 + diff --git a/test_data/Xml/Expected/hexLiteral/maximal.xml b/test_data/Xml/Expected/hexLiteral/maximal.xml new file mode 100644 index 00000000..587131ff --- /dev/null +++ b/test_data/Xml/Expected/hexLiteral/maximal.xml @@ -0,0 +1,3 @@ + + 16#1 + diff --git a/test_data/Xml/Expected/hexLiteral/minimal.xml b/test_data/Xml/Expected/hexLiteral/minimal.xml new file mode 100644 index 00000000..587131ff --- /dev/null +++ b/test_data/Xml/Expected/hexLiteral/minimal.xml @@ -0,0 +1,3 @@ + + 16#1 + diff --git a/test_data/Xml/Expected/key/maximal.xml b/test_data/Xml/Expected/key/maximal.xml new file mode 100644 index 00000000..badaae3a --- /dev/null +++ b/test_data/Xml/Expected/key/maximal.xml @@ -0,0 +1,4 @@ + + EventElement + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/key/minimal.xml b/test_data/Xml/Expected/key/minimal.xml new file mode 100644 index 00000000..5bdb3607 --- /dev/null +++ b/test_data/Xml/Expected/key/minimal.xml @@ -0,0 +1,4 @@ + + EventElement + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..fe9c8e89 --- /dev/null +++ b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + EventElement + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..ed99b4f7 --- /dev/null +++ b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + EventElement + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..f4f3ef24 --- /dev/null +++ b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + EventElement + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..69fe2d20 --- /dev/null +++ b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + EventElement + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..43889594 --- /dev/null +++ b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + EventElement + J5 + diff --git a/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..04eeb1ba --- /dev/null +++ b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + EventElement + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..5341634b --- /dev/null +++ b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + EventElement + 6 + diff --git a/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..badaae3a --- /dev/null +++ b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + EventElement + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..5bdb3607 --- /dev/null +++ b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + EventElement + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..0b8233cf --- /dev/null +++ b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + EventElement + 0 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_1.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_1.xml new file mode 100644 index 00000000..4aa9d128 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_1.xml @@ -0,0 +1,4 @@ + + zh-cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_2.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_2.xml new file mode 100644 index 00000000..711e3b0a --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_2.xml @@ -0,0 +1,4 @@ + + cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_3.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_3.xml new file mode 100644 index 00000000..abe3a32d --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_3.xml @@ -0,0 +1,4 @@ + + zh-yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_4.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_4.xml new file mode 100644 index 00000000..478580a9 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_4.xml @@ -0,0 +1,4 @@ + + yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_1.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_1.xml new file mode 100644 index 00000000..acf08d07 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_1.xml @@ -0,0 +1,4 @@ + + de-DE + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_2.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_2.xml new file mode 100644 index 00000000..f5fc1fb6 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_2.xml @@ -0,0 +1,4 @@ + + en-US + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_3.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_3.xml new file mode 100644 index 00000000..c0f0adee --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_3.xml @@ -0,0 +1,4 @@ + + es-419 + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_variant_1.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_variant_1.xml new file mode 100644 index 00000000..4857343a --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_variant_1.xml @@ -0,0 +1,4 @@ + + de-CH-1901 + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_variant_2.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_variant_2.xml new file mode 100644 index 00000000..f1937266 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_variant_2.xml @@ -0,0 +1,4 @@ + + sl-IT-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_script_region_1.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_script_region_1.xml new file mode 100644 index 00000000..a8c5d3f5 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_script_region_1.xml @@ -0,0 +1,4 @@ + + zh-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_script_region_2.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_script_region_2.xml new file mode 100644 index 00000000..67dfa3bc --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_script_region_2.xml @@ -0,0 +1,4 @@ + + sr-Latn-RS + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_script_region_variant.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_script_region_variant.xml new file mode 100644 index 00000000..c5038b43 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_script_region_variant.xml @@ -0,0 +1,4 @@ + + hy-Latn-IT-arevela + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml new file mode 100644 index 00000000..7776c296 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml @@ -0,0 +1,4 @@ + + zh-Hant + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml new file mode 100644 index 00000000..d56fcb30 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml @@ -0,0 +1,4 @@ + + zh-Hans + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml new file mode 100644 index 00000000..bcf146c9 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml @@ -0,0 +1,4 @@ + + sr-Cyrl + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml new file mode 100644 index 00000000..b3341c25 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml @@ -0,0 +1,4 @@ + + sr-Latn + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_variant_1.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_variant_1.xml new file mode 100644 index 00000000..3adf33eb --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_variant_1.xml @@ -0,0 +1,4 @@ + + sl-rozaj + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_variant_2.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_variant_2.xml new file mode 100644 index 00000000..52cf061b --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_variant_2.xml @@ -0,0 +1,4 @@ + + sl-rozaj-biske + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_variant_3.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_variant_3.xml new file mode 100644 index 00000000..bfea348a --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_variant_3.xml @@ -0,0 +1,4 @@ + + sl-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_1.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_1.xml new file mode 100644 index 00000000..4a0c1f24 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_1.xml @@ -0,0 +1,4 @@ + + x-whatever + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_2.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_2.xml new file mode 100644 index 00000000..51922253 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_2.xml @@ -0,0 +1,4 @@ + + qaa-Qaaa-QM-x-southern + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_3.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_3.xml new file mode 100644 index 00000000..6cc25799 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_3.xml @@ -0,0 +1,4 @@ + + de-Qaaa + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_4.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_4.xml new file mode 100644 index 00000000..927ec40b --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_4.xml @@ -0,0 +1,4 @@ + + sr-Latn-QM + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_5.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_5.xml new file mode 100644 index 00000000..61986e74 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_5.xml @@ -0,0 +1,4 @@ + + sr-Qaaa-RS + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_subtags_1.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_subtags_1.xml new file mode 100644 index 00000000..1df8ce0c --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_subtags_1.xml @@ -0,0 +1,4 @@ + + de-CH-x-phonebk + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_subtags_2.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_subtags_2.xml new file mode 100644 index 00000000..223aba64 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_subtags_2.xml @@ -0,0 +1,4 @@ + + az-Arab-x-AZE-derbend + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_1.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_1.xml new file mode 100644 index 00000000..c30977aa --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_1.xml @@ -0,0 +1,4 @@ + + de + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_2.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_2.xml new file mode 100644 index 00000000..f844c488 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_2.xml @@ -0,0 +1,4 @@ + + fr + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_3.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_3.xml new file mode 100644 index 00000000..eb85059c --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_3.xml @@ -0,0 +1,4 @@ + + ja + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml new file mode 100644 index 00000000..e2ab5486 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml @@ -0,0 +1,4 @@ + + i-enochian + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/tag_with_extension_1.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/tag_with_extension_1.xml new file mode 100644 index 00000000..a15b5dad --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/tag_with_extension_1.xml @@ -0,0 +1,4 @@ + + en-US-u-islamcal + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/tag_with_extension_2.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/tag_with_extension_2.xml new file mode 100644 index 00000000..a553b24e --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/tag_with_extension_2.xml @@ -0,0 +1,4 @@ + + zh-CN-a-myext-x-private + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/tag_with_extension_3.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/tag_with_extension_3.xml new file mode 100644 index 00000000..393f3875 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/tag_with_extension_3.xml @@ -0,0 +1,4 @@ + + en-a-myext-b-another + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/maximal.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/maximal.xml new file mode 100644 index 00000000..44d62e29 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/maximal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/minimal.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/minimal.xml new file mode 100644 index 00000000..44d62e29 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/minimal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..199f8b8a --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..dcc3f7c3 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..53274d15 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..679f1c56 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..44d62e29 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..2a75887f --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..3c38cc8e --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 6 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..4ef37d43 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..134bb9fc --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..51a9b120 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 0 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_1.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_1.xml new file mode 100644 index 00000000..e98efea7 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_1.xml @@ -0,0 +1,4 @@ + + zh-cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_2.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_2.xml new file mode 100644 index 00000000..29c5ac65 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_2.xml @@ -0,0 +1,4 @@ + + cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_3.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_3.xml new file mode 100644 index 00000000..c6007cfa --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_3.xml @@ -0,0 +1,4 @@ + + zh-yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_4.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_4.xml new file mode 100644 index 00000000..fdaa288d --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_4.xml @@ -0,0 +1,4 @@ + + yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_1.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_1.xml new file mode 100644 index 00000000..ef94eafd --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_1.xml @@ -0,0 +1,4 @@ + + de-DE + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_2.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_2.xml new file mode 100644 index 00000000..f058d88e --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_2.xml @@ -0,0 +1,4 @@ + + en-US + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_3.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_3.xml new file mode 100644 index 00000000..73876776 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_3.xml @@ -0,0 +1,4 @@ + + es-419 + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_variant_1.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_variant_1.xml new file mode 100644 index 00000000..eb7d5e80 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_variant_1.xml @@ -0,0 +1,4 @@ + + de-CH-1901 + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_variant_2.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_variant_2.xml new file mode 100644 index 00000000..1bea14f7 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_variant_2.xml @@ -0,0 +1,4 @@ + + sl-IT-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_script_region_1.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_script_region_1.xml new file mode 100644 index 00000000..7b35c00b --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_script_region_1.xml @@ -0,0 +1,4 @@ + + zh-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_script_region_2.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_script_region_2.xml new file mode 100644 index 00000000..de9509b4 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_script_region_2.xml @@ -0,0 +1,4 @@ + + sr-Latn-RS + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_script_region_variant.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_script_region_variant.xml new file mode 100644 index 00000000..c82887b4 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_script_region_variant.xml @@ -0,0 +1,4 @@ + + hy-Latn-IT-arevela + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml new file mode 100644 index 00000000..f7d0b348 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml @@ -0,0 +1,4 @@ + + zh-Hant + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml new file mode 100644 index 00000000..cf7235c5 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml @@ -0,0 +1,4 @@ + + zh-Hans + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml new file mode 100644 index 00000000..200dda91 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml @@ -0,0 +1,4 @@ + + sr-Cyrl + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml new file mode 100644 index 00000000..7ca59add --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml @@ -0,0 +1,4 @@ + + sr-Latn + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_variant_1.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_variant_1.xml new file mode 100644 index 00000000..96a03749 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_variant_1.xml @@ -0,0 +1,4 @@ + + sl-rozaj + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_variant_2.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_variant_2.xml new file mode 100644 index 00000000..6e6755b2 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_variant_2.xml @@ -0,0 +1,4 @@ + + sl-rozaj-biske + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_variant_3.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_variant_3.xml new file mode 100644 index 00000000..cbfab102 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_variant_3.xml @@ -0,0 +1,4 @@ + + sl-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_1.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_1.xml new file mode 100644 index 00000000..97a22ccb --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_1.xml @@ -0,0 +1,4 @@ + + x-whatever + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_2.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_2.xml new file mode 100644 index 00000000..bee12d1d --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_2.xml @@ -0,0 +1,4 @@ + + qaa-Qaaa-QM-x-southern + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_3.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_3.xml new file mode 100644 index 00000000..c514d688 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_3.xml @@ -0,0 +1,4 @@ + + de-Qaaa + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_4.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_4.xml new file mode 100644 index 00000000..f0fb85b1 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_4.xml @@ -0,0 +1,4 @@ + + sr-Latn-QM + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_5.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_5.xml new file mode 100644 index 00000000..c71bfc84 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_5.xml @@ -0,0 +1,4 @@ + + sr-Qaaa-RS + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_subtags_1.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_subtags_1.xml new file mode 100644 index 00000000..a68acf7e --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_subtags_1.xml @@ -0,0 +1,4 @@ + + de-CH-x-phonebk + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_subtags_2.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_subtags_2.xml new file mode 100644 index 00000000..ea12e485 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_subtags_2.xml @@ -0,0 +1,4 @@ + + az-Arab-x-AZE-derbend + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_1.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_1.xml new file mode 100644 index 00000000..1b98bd9a --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_1.xml @@ -0,0 +1,4 @@ + + de + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_2.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_2.xml new file mode 100644 index 00000000..a35c6587 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_2.xml @@ -0,0 +1,4 @@ + + fr + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_3.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_3.xml new file mode 100644 index 00000000..5c8f75e3 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_3.xml @@ -0,0 +1,4 @@ + + ja + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml new file mode 100644 index 00000000..daaec2ec --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml @@ -0,0 +1,4 @@ + + i-enochian + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/tag_with_extension_1.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/tag_with_extension_1.xml new file mode 100644 index 00000000..d481e62f --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/tag_with_extension_1.xml @@ -0,0 +1,4 @@ + + en-US-u-islamcal + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/tag_with_extension_2.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/tag_with_extension_2.xml new file mode 100644 index 00000000..49801420 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/tag_with_extension_2.xml @@ -0,0 +1,4 @@ + + zh-CN-a-myext-x-private + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/tag_with_extension_3.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/tag_with_extension_3.xml new file mode 100644 index 00000000..a005fc34 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/tag_with_extension_3.xml @@ -0,0 +1,4 @@ + + en-a-myext-b-another + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/maximal.xml b/test_data/Xml/Expected/langStringNameType/maximal.xml new file mode 100644 index 00000000..267b21b6 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/maximal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/minimal.xml b/test_data/Xml/Expected/langStringNameType/minimal.xml new file mode 100644 index 00000000..267b21b6 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/minimal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..32455267 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..dd276a71 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..23f8b50b --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..60efab8d --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..267b21b6 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..b9688117 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..58c01dbe --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 6 + diff --git a/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..1867a0bb --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..3fa2d072 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..908698f0 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 0 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_1.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_1.xml new file mode 100644 index 00000000..412e9c4e --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_1.xml @@ -0,0 +1,4 @@ + + zh-cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_2.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_2.xml new file mode 100644 index 00000000..66f47437 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_2.xml @@ -0,0 +1,4 @@ + + cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_3.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_3.xml new file mode 100644 index 00000000..9c45654a --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_3.xml @@ -0,0 +1,4 @@ + + zh-yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_4.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_4.xml new file mode 100644 index 00000000..2d92cf49 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_4.xml @@ -0,0 +1,4 @@ + + yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_1.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_1.xml new file mode 100644 index 00000000..23fed86f --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_1.xml @@ -0,0 +1,4 @@ + + de-DE + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_2.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_2.xml new file mode 100644 index 00000000..4bb4820b --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_2.xml @@ -0,0 +1,4 @@ + + en-US + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_3.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_3.xml new file mode 100644 index 00000000..ae5a0e1c --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_3.xml @@ -0,0 +1,4 @@ + + es-419 + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_variant_1.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_variant_1.xml new file mode 100644 index 00000000..99ba1394 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_variant_1.xml @@ -0,0 +1,4 @@ + + de-CH-1901 + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_variant_2.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_variant_2.xml new file mode 100644 index 00000000..eb774da7 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_variant_2.xml @@ -0,0 +1,4 @@ + + sl-IT-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_script_region_1.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_script_region_1.xml new file mode 100644 index 00000000..ca400fbf --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_script_region_1.xml @@ -0,0 +1,4 @@ + + zh-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_script_region_2.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_script_region_2.xml new file mode 100644 index 00000000..f3be9da5 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_script_region_2.xml @@ -0,0 +1,4 @@ + + sr-Latn-RS + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_script_region_variant.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_script_region_variant.xml new file mode 100644 index 00000000..a0093f93 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_script_region_variant.xml @@ -0,0 +1,4 @@ + + hy-Latn-IT-arevela + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml new file mode 100644 index 00000000..29a9b987 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml @@ -0,0 +1,4 @@ + + zh-Hant + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml new file mode 100644 index 00000000..afc981c7 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml @@ -0,0 +1,4 @@ + + zh-Hans + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml new file mode 100644 index 00000000..d18f93de --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml @@ -0,0 +1,4 @@ + + sr-Cyrl + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml new file mode 100644 index 00000000..ad542f39 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml @@ -0,0 +1,4 @@ + + sr-Latn + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_variant_1.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_variant_1.xml new file mode 100644 index 00000000..f06622ff --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_variant_1.xml @@ -0,0 +1,4 @@ + + sl-rozaj + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_variant_2.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_variant_2.xml new file mode 100644 index 00000000..64848d09 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_variant_2.xml @@ -0,0 +1,4 @@ + + sl-rozaj-biske + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_variant_3.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_variant_3.xml new file mode 100644 index 00000000..d5e55de1 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_variant_3.xml @@ -0,0 +1,4 @@ + + sl-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_1.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_1.xml new file mode 100644 index 00000000..ef80e581 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_1.xml @@ -0,0 +1,4 @@ + + x-whatever + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_2.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_2.xml new file mode 100644 index 00000000..360cbe08 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_2.xml @@ -0,0 +1,4 @@ + + qaa-Qaaa-QM-x-southern + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_3.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_3.xml new file mode 100644 index 00000000..c7df1416 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_3.xml @@ -0,0 +1,4 @@ + + de-Qaaa + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_4.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_4.xml new file mode 100644 index 00000000..64e860fd --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_4.xml @@ -0,0 +1,4 @@ + + sr-Latn-QM + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_5.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_5.xml new file mode 100644 index 00000000..93c95d82 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_5.xml @@ -0,0 +1,4 @@ + + sr-Qaaa-RS + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_subtags_1.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_subtags_1.xml new file mode 100644 index 00000000..ee388c63 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_subtags_1.xml @@ -0,0 +1,4 @@ + + de-CH-x-phonebk + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_subtags_2.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_subtags_2.xml new file mode 100644 index 00000000..a0409042 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_subtags_2.xml @@ -0,0 +1,4 @@ + + az-Arab-x-AZE-derbend + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_1.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_1.xml new file mode 100644 index 00000000..10202b90 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_1.xml @@ -0,0 +1,4 @@ + + de + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_2.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_2.xml new file mode 100644 index 00000000..1431a0f6 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_2.xml @@ -0,0 +1,4 @@ + + fr + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_3.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_3.xml new file mode 100644 index 00000000..d6617a52 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_3.xml @@ -0,0 +1,4 @@ + + ja + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml new file mode 100644 index 00000000..ccd295be --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml @@ -0,0 +1,4 @@ + + i-enochian + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/tag_with_extension_1.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/tag_with_extension_1.xml new file mode 100644 index 00000000..3ab87992 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/tag_with_extension_1.xml @@ -0,0 +1,4 @@ + + en-US-u-islamcal + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/tag_with_extension_2.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/tag_with_extension_2.xml new file mode 100644 index 00000000..f6cc883a --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/tag_with_extension_2.xml @@ -0,0 +1,4 @@ + + zh-CN-a-myext-x-private + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/tag_with_extension_3.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/tag_with_extension_3.xml new file mode 100644 index 00000000..c4d05287 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/tag_with_extension_3.xml @@ -0,0 +1,4 @@ + + en-a-myext-b-another + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/maximal.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/maximal.xml new file mode 100644 index 00000000..72e24ec5 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/maximal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/minimal.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/minimal.xml new file mode 100644 index 00000000..72e24ec5 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/minimal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..5c4cdd68 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..b58c3792 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..a9eb9828 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..9c3aec17 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..72e24ec5 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..c27b746a --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..b591796b --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 6 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..4d73f525 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..6d83efcf --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..4a2148ac --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 0 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_1.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_1.xml new file mode 100644 index 00000000..1a52d867 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_1.xml @@ -0,0 +1,4 @@ + + zh-cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_2.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_2.xml new file mode 100644 index 00000000..d5bda3b1 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_2.xml @@ -0,0 +1,4 @@ + + cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_3.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_3.xml new file mode 100644 index 00000000..fb93e349 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_3.xml @@ -0,0 +1,4 @@ + + zh-yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_4.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_4.xml new file mode 100644 index 00000000..3176cb68 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_4.xml @@ -0,0 +1,4 @@ + + yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_1.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_1.xml new file mode 100644 index 00000000..bdbc003c --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_1.xml @@ -0,0 +1,4 @@ + + de-DE + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_2.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_2.xml new file mode 100644 index 00000000..d068e3fb --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_2.xml @@ -0,0 +1,4 @@ + + en-US + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_3.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_3.xml new file mode 100644 index 00000000..27e5f961 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_3.xml @@ -0,0 +1,4 @@ + + es-419 + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_variant_1.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_variant_1.xml new file mode 100644 index 00000000..a3820b3b --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_variant_1.xml @@ -0,0 +1,4 @@ + + de-CH-1901 + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_variant_2.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_variant_2.xml new file mode 100644 index 00000000..6d7aba70 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_variant_2.xml @@ -0,0 +1,4 @@ + + sl-IT-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_script_region_1.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_script_region_1.xml new file mode 100644 index 00000000..efb917c3 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_script_region_1.xml @@ -0,0 +1,4 @@ + + zh-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_script_region_2.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_script_region_2.xml new file mode 100644 index 00000000..be25f042 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_script_region_2.xml @@ -0,0 +1,4 @@ + + sr-Latn-RS + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_script_region_variant.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_script_region_variant.xml new file mode 100644 index 00000000..828322c0 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_script_region_variant.xml @@ -0,0 +1,4 @@ + + hy-Latn-IT-arevela + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml new file mode 100644 index 00000000..b9b04491 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml @@ -0,0 +1,4 @@ + + zh-Hant + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml new file mode 100644 index 00000000..282545e1 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml @@ -0,0 +1,4 @@ + + zh-Hans + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml new file mode 100644 index 00000000..6c143bf3 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml @@ -0,0 +1,4 @@ + + sr-Cyrl + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml new file mode 100644 index 00000000..aa9e2c50 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml @@ -0,0 +1,4 @@ + + sr-Latn + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_variant_1.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_variant_1.xml new file mode 100644 index 00000000..185eb467 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_variant_1.xml @@ -0,0 +1,4 @@ + + sl-rozaj + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_variant_2.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_variant_2.xml new file mode 100644 index 00000000..000e7cfa --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_variant_2.xml @@ -0,0 +1,4 @@ + + sl-rozaj-biske + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_variant_3.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_variant_3.xml new file mode 100644 index 00000000..888cb200 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_variant_3.xml @@ -0,0 +1,4 @@ + + sl-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_1.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_1.xml new file mode 100644 index 00000000..5a0ee6c1 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_1.xml @@ -0,0 +1,4 @@ + + x-whatever + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_2.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_2.xml new file mode 100644 index 00000000..bbb53c6c --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_2.xml @@ -0,0 +1,4 @@ + + qaa-Qaaa-QM-x-southern + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_3.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_3.xml new file mode 100644 index 00000000..7ee327b0 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_3.xml @@ -0,0 +1,4 @@ + + de-Qaaa + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_4.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_4.xml new file mode 100644 index 00000000..2dbda088 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_4.xml @@ -0,0 +1,4 @@ + + sr-Latn-QM + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_5.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_5.xml new file mode 100644 index 00000000..30d200a9 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_5.xml @@ -0,0 +1,4 @@ + + sr-Qaaa-RS + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_subtags_1.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_subtags_1.xml new file mode 100644 index 00000000..c5c1b398 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_subtags_1.xml @@ -0,0 +1,4 @@ + + de-CH-x-phonebk + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_subtags_2.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_subtags_2.xml new file mode 100644 index 00000000..071fe613 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_subtags_2.xml @@ -0,0 +1,4 @@ + + az-Arab-x-AZE-derbend + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_1.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_1.xml new file mode 100644 index 00000000..30658c18 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_1.xml @@ -0,0 +1,4 @@ + + de + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_2.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_2.xml new file mode 100644 index 00000000..027dd9e7 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_2.xml @@ -0,0 +1,4 @@ + + fr + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_3.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_3.xml new file mode 100644 index 00000000..849e3c76 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_3.xml @@ -0,0 +1,4 @@ + + ja + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml new file mode 100644 index 00000000..8b84930b --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml @@ -0,0 +1,4 @@ + + i-enochian + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/tag_with_extension_1.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/tag_with_extension_1.xml new file mode 100644 index 00000000..3c03faa5 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/tag_with_extension_1.xml @@ -0,0 +1,4 @@ + + en-US-u-islamcal + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/tag_with_extension_2.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/tag_with_extension_2.xml new file mode 100644 index 00000000..0f297bab --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/tag_with_extension_2.xml @@ -0,0 +1,4 @@ + + zh-CN-a-myext-x-private + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/tag_with_extension_3.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/tag_with_extension_3.xml new file mode 100644 index 00000000..3b4f82f5 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/tag_with_extension_3.xml @@ -0,0 +1,4 @@ + + en-a-myext-b-another + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/maximal.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/maximal.xml new file mode 100644 index 00000000..c4a086b2 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/maximal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/minimal.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/minimal.xml new file mode 100644 index 00000000..c4a086b2 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/minimal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..7fb480be --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..683db9da --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..afd360ea --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..77c99ba8 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..c4a086b2 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..6e395f02 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..f5146a2e --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 6 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..b4e3253e --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..40165f96 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..3025bed1 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 0 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_1.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_1.xml new file mode 100644 index 00000000..19d989a2 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_1.xml @@ -0,0 +1,4 @@ + + zh-cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_2.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_2.xml new file mode 100644 index 00000000..b559d5d5 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_2.xml @@ -0,0 +1,4 @@ + + cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_3.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_3.xml new file mode 100644 index 00000000..dbc89701 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_3.xml @@ -0,0 +1,4 @@ + + zh-yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_4.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_4.xml new file mode 100644 index 00000000..6db3e6e7 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_4.xml @@ -0,0 +1,4 @@ + + yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_1.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_1.xml new file mode 100644 index 00000000..4664cabc --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_1.xml @@ -0,0 +1,4 @@ + + de-DE + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_2.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_2.xml new file mode 100644 index 00000000..e2732e76 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_2.xml @@ -0,0 +1,4 @@ + + en-US + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_3.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_3.xml new file mode 100644 index 00000000..c93d5319 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_3.xml @@ -0,0 +1,4 @@ + + es-419 + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_variant_1.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_variant_1.xml new file mode 100644 index 00000000..fa3c6f9d --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_variant_1.xml @@ -0,0 +1,4 @@ + + de-CH-1901 + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_variant_2.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_variant_2.xml new file mode 100644 index 00000000..921b5e4b --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_variant_2.xml @@ -0,0 +1,4 @@ + + sl-IT-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_script_region_1.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_script_region_1.xml new file mode 100644 index 00000000..ec5eb320 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_script_region_1.xml @@ -0,0 +1,4 @@ + + zh-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_script_region_2.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_script_region_2.xml new file mode 100644 index 00000000..d37c6433 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_script_region_2.xml @@ -0,0 +1,4 @@ + + sr-Latn-RS + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_script_region_variant.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_script_region_variant.xml new file mode 100644 index 00000000..169f2eb9 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_script_region_variant.xml @@ -0,0 +1,4 @@ + + hy-Latn-IT-arevela + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml new file mode 100644 index 00000000..36e9d2ae --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml @@ -0,0 +1,4 @@ + + zh-Hant + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml new file mode 100644 index 00000000..a668486f --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml @@ -0,0 +1,4 @@ + + zh-Hans + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml new file mode 100644 index 00000000..aab6220b --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml @@ -0,0 +1,4 @@ + + sr-Cyrl + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml new file mode 100644 index 00000000..b3324dd1 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml @@ -0,0 +1,4 @@ + + sr-Latn + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_variant_1.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_variant_1.xml new file mode 100644 index 00000000..3345bc52 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_variant_1.xml @@ -0,0 +1,4 @@ + + sl-rozaj + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_variant_2.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_variant_2.xml new file mode 100644 index 00000000..0f34ff38 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_variant_2.xml @@ -0,0 +1,4 @@ + + sl-rozaj-biske + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_variant_3.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_variant_3.xml new file mode 100644 index 00000000..7945210f --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_variant_3.xml @@ -0,0 +1,4 @@ + + sl-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_1.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_1.xml new file mode 100644 index 00000000..85a94ede --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_1.xml @@ -0,0 +1,4 @@ + + x-whatever + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_2.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_2.xml new file mode 100644 index 00000000..1e8875a8 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_2.xml @@ -0,0 +1,4 @@ + + qaa-Qaaa-QM-x-southern + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_3.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_3.xml new file mode 100644 index 00000000..eeef9525 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_3.xml @@ -0,0 +1,4 @@ + + de-Qaaa + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_4.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_4.xml new file mode 100644 index 00000000..671dbba4 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_4.xml @@ -0,0 +1,4 @@ + + sr-Latn-QM + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_5.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_5.xml new file mode 100644 index 00000000..f2732757 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_5.xml @@ -0,0 +1,4 @@ + + sr-Qaaa-RS + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_subtags_1.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_subtags_1.xml new file mode 100644 index 00000000..4c213a00 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_subtags_1.xml @@ -0,0 +1,4 @@ + + de-CH-x-phonebk + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_subtags_2.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_subtags_2.xml new file mode 100644 index 00000000..22fd862d --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_subtags_2.xml @@ -0,0 +1,4 @@ + + az-Arab-x-AZE-derbend + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_1.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_1.xml new file mode 100644 index 00000000..77d8bf50 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_1.xml @@ -0,0 +1,4 @@ + + de + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_2.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_2.xml new file mode 100644 index 00000000..1c6a4f44 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_2.xml @@ -0,0 +1,4 @@ + + fr + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_3.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_3.xml new file mode 100644 index 00000000..196b1c4c --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_3.xml @@ -0,0 +1,4 @@ + + ja + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml new file mode 100644 index 00000000..dd9dd7d8 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml @@ -0,0 +1,4 @@ + + i-enochian + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/tag_with_extension_1.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/tag_with_extension_1.xml new file mode 100644 index 00000000..93dd3889 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/tag_with_extension_1.xml @@ -0,0 +1,4 @@ + + en-US-u-islamcal + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/tag_with_extension_2.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/tag_with_extension_2.xml new file mode 100644 index 00000000..7846c020 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/tag_with_extension_2.xml @@ -0,0 +1,4 @@ + + zh-CN-a-myext-x-private + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/tag_with_extension_3.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/tag_with_extension_3.xml new file mode 100644 index 00000000..ec6fd171 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/tag_with_extension_3.xml @@ -0,0 +1,4 @@ + + en-a-myext-b-another + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/maximal.xml b/test_data/Xml/Expected/langStringTextType/maximal.xml new file mode 100644 index 00000000..3ced5495 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/maximal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/minimal.xml b/test_data/Xml/Expected/langStringTextType/minimal.xml new file mode 100644 index 00000000..3ced5495 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/minimal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..ed3607ca --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..b849d388 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..ce9f47b8 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..03630e7d --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..3ced5495 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..36e22442 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..4a416475 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 6 + diff --git a/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..837c7626 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..a957a828 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..dfd6d828 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 0 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/extended_language_subtags_1.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/extended_language_subtags_1.xml new file mode 100644 index 00000000..85109ef0 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/extended_language_subtags_1.xml @@ -0,0 +1,4 @@ + + zh-cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/extended_language_subtags_2.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/extended_language_subtags_2.xml new file mode 100644 index 00000000..1466b5e7 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/extended_language_subtags_2.xml @@ -0,0 +1,4 @@ + + cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/extended_language_subtags_3.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/extended_language_subtags_3.xml new file mode 100644 index 00000000..10ff340e --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/extended_language_subtags_3.xml @@ -0,0 +1,4 @@ + + zh-yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/extended_language_subtags_4.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/extended_language_subtags_4.xml new file mode 100644 index 00000000..967fb7da --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/extended_language_subtags_4.xml @@ -0,0 +1,4 @@ + + yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_region_1.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_region_1.xml new file mode 100644 index 00000000..dfbe2718 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_region_1.xml @@ -0,0 +1,4 @@ + + de-DE + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_region_2.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_region_2.xml new file mode 100644 index 00000000..4b69bb29 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_region_2.xml @@ -0,0 +1,4 @@ + + en-US + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_region_3.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_region_3.xml new file mode 100644 index 00000000..699f83df --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_region_3.xml @@ -0,0 +1,4 @@ + + es-419 + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_region_variant_1.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_region_variant_1.xml new file mode 100644 index 00000000..826c1a20 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_region_variant_1.xml @@ -0,0 +1,4 @@ + + de-CH-1901 + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_region_variant_2.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_region_variant_2.xml new file mode 100644 index 00000000..d3a1d660 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_region_variant_2.xml @@ -0,0 +1,4 @@ + + sl-IT-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_script_region_1.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_script_region_1.xml new file mode 100644 index 00000000..7e7561bb --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_script_region_1.xml @@ -0,0 +1,4 @@ + + zh-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_script_region_2.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_script_region_2.xml new file mode 100644 index 00000000..8168c451 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_script_region_2.xml @@ -0,0 +1,4 @@ + + sr-Latn-RS + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_script_region_variant.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_script_region_variant.xml new file mode 100644 index 00000000..270526dd --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_script_region_variant.xml @@ -0,0 +1,4 @@ + + hy-Latn-IT-arevela + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml new file mode 100644 index 00000000..ca7bf207 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml @@ -0,0 +1,4 @@ + + zh-Hant + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml new file mode 100644 index 00000000..b4348d6e --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml @@ -0,0 +1,4 @@ + + zh-Hans + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml new file mode 100644 index 00000000..5808f943 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml @@ -0,0 +1,4 @@ + + sr-Cyrl + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml new file mode 100644 index 00000000..162220ec --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml @@ -0,0 +1,4 @@ + + sr-Latn + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_variant_1.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_variant_1.xml new file mode 100644 index 00000000..832d007e --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_variant_1.xml @@ -0,0 +1,4 @@ + + sl-rozaj + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_variant_2.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_variant_2.xml new file mode 100644 index 00000000..3b2307a6 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_variant_2.xml @@ -0,0 +1,4 @@ + + sl-rozaj-biske + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_variant_3.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_variant_3.xml new file mode 100644 index 00000000..9ce5589f --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/language_variant_3.xml @@ -0,0 +1,4 @@ + + sl-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/private_use_registry_values_1.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/private_use_registry_values_1.xml new file mode 100644 index 00000000..9d4a9d1c --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/private_use_registry_values_1.xml @@ -0,0 +1,4 @@ + + x-whatever + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/private_use_registry_values_2.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/private_use_registry_values_2.xml new file mode 100644 index 00000000..e94b513f --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/private_use_registry_values_2.xml @@ -0,0 +1,4 @@ + + qaa-Qaaa-QM-x-southern + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/private_use_registry_values_3.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/private_use_registry_values_3.xml new file mode 100644 index 00000000..810bdbcb --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/private_use_registry_values_3.xml @@ -0,0 +1,4 @@ + + de-Qaaa + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/private_use_registry_values_4.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/private_use_registry_values_4.xml new file mode 100644 index 00000000..feed1146 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/private_use_registry_values_4.xml @@ -0,0 +1,4 @@ + + sr-Latn-QM + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/private_use_registry_values_5.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/private_use_registry_values_5.xml new file mode 100644 index 00000000..6fe25948 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/private_use_registry_values_5.xml @@ -0,0 +1,4 @@ + + sr-Qaaa-RS + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/private_use_subtags_1.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/private_use_subtags_1.xml new file mode 100644 index 00000000..be19e8ee --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/private_use_subtags_1.xml @@ -0,0 +1,4 @@ + + de-CH-x-phonebk + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/private_use_subtags_2.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/private_use_subtags_2.xml new file mode 100644 index 00000000..f6992eb5 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/private_use_subtags_2.xml @@ -0,0 +1,4 @@ + + az-Arab-x-AZE-derbend + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/simple_language_subtag_1.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/simple_language_subtag_1.xml new file mode 100644 index 00000000..8c619bbb --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/simple_language_subtag_1.xml @@ -0,0 +1,4 @@ + + de + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/simple_language_subtag_2.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/simple_language_subtag_2.xml new file mode 100644 index 00000000..16ba3ae8 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/simple_language_subtag_2.xml @@ -0,0 +1,4 @@ + + fr + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/simple_language_subtag_3.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/simple_language_subtag_3.xml new file mode 100644 index 00000000..e0b12c2c --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/simple_language_subtag_3.xml @@ -0,0 +1,4 @@ + + ja + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml new file mode 100644 index 00000000..6971f340 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml @@ -0,0 +1,4 @@ + + i-enochian + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/tag_with_extension_1.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/tag_with_extension_1.xml new file mode 100644 index 00000000..4b0dd268 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/tag_with_extension_1.xml @@ -0,0 +1,4 @@ + + en-US-u-islamcal + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/tag_with_extension_2.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/tag_with_extension_2.xml new file mode 100644 index 00000000..746f941d --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/tag_with_extension_2.xml @@ -0,0 +1,4 @@ + + zh-CN-a-myext-x-private + J5 + diff --git a/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/tag_with_extension_3.xml b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/tag_with_extension_3.xml new file mode 100644 index 00000000..b57d091b --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/languageOverPatternExamples/tag_with_extension_3.xml @@ -0,0 +1,4 @@ + + en-a-myext-b-another + J5 + diff --git a/test_data/Xml/Expected/langStringUom/maximal.xml b/test_data/Xml/Expected/langStringUom/maximal.xml new file mode 100644 index 00000000..dd659ed8 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/maximal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringUom/minimal.xml b/test_data/Xml/Expected/langStringUom/minimal.xml new file mode 100644 index 00000000..dd659ed8 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/minimal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..32e116a2 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..972af4e6 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..242fd228 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..f2e45e1e --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..dd659ed8 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..6088a081 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..a4d72702 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 6 + diff --git a/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..d3debff9 --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..0802e60c --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..d868e2cd --- /dev/null +++ b/test_data/Xml/Expected/langStringUom/textOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 0 + diff --git a/test_data/Xml/Expected/lessThanComparison/maximal.xml b/test_data/Xml/Expected/lessThanComparison/maximal.xml new file mode 100644 index 00000000..08e42043 --- /dev/null +++ b/test_data/Xml/Expected/lessThanComparison/maximal.xml @@ -0,0 +1,10 @@ + + + + 16#1F + + + 16#1 + + + diff --git a/test_data/Xml/Expected/lessThanComparison/minimal.xml b/test_data/Xml/Expected/lessThanComparison/minimal.xml new file mode 100644 index 00000000..08e42043 --- /dev/null +++ b/test_data/Xml/Expected/lessThanComparison/minimal.xml @@ -0,0 +1,10 @@ + + + + 16#1F + + + 16#1 + + + diff --git a/test_data/Xml/Expected/lessThanOrEqualComparison/maximal.xml b/test_data/Xml/Expected/lessThanOrEqualComparison/maximal.xml new file mode 100644 index 00000000..d124eea8 --- /dev/null +++ b/test_data/Xml/Expected/lessThanOrEqualComparison/maximal.xml @@ -0,0 +1,10 @@ + + + + 16#00 + + + 16#00 + + + diff --git a/test_data/Xml/Expected/lessThanOrEqualComparison/minimal.xml b/test_data/Xml/Expected/lessThanOrEqualComparison/minimal.xml new file mode 100644 index 00000000..d124eea8 --- /dev/null +++ b/test_data/Xml/Expected/lessThanOrEqualComparison/minimal.xml @@ -0,0 +1,10 @@ + + + + 16#00 + + + 16#00 + + + diff --git a/test_data/Xml/Expected/levelType/maximal.xml b/test_data/Xml/Expected/levelType/maximal.xml new file mode 100644 index 00000000..ebf5e650 --- /dev/null +++ b/test_data/Xml/Expected/levelType/maximal.xml @@ -0,0 +1,6 @@ + + false + true + true + true + diff --git a/test_data/Xml/Expected/levelType/minimal.xml b/test_data/Xml/Expected/levelType/minimal.xml new file mode 100644 index 00000000..437d8229 --- /dev/null +++ b/test_data/Xml/Expected/levelType/minimal.xml @@ -0,0 +1,6 @@ + + false + false + false + true + diff --git a/test_data/Xml/Expected/matchClause/maximal.xml b/test_data/Xml/Expected/matchClause/maximal.xml new file mode 100644 index 00000000..15ffee6c --- /dev/null +++ b/test_data/Xml/Expected/matchClause/maximal.xml @@ -0,0 +1,38 @@ + + + + + + something_b2d0f286 + + + something_b0da9147 + + + + + + + + + something_aa0298f7 + + + + + something_e5667ab1 + + + + + + + something_697e8fb1 + + + something_a06a3e2e + + + + + diff --git a/test_data/Xml/Expected/matchClause/minimal.xml b/test_data/Xml/Expected/matchClause/minimal.xml new file mode 100644 index 00000000..15ffee6c --- /dev/null +++ b/test_data/Xml/Expected/matchClause/minimal.xml @@ -0,0 +1,38 @@ + + + + + + something_b2d0f286 + + + something_b0da9147 + + + + + + + + + something_aa0298f7 + + + + + something_e5667ab1 + + + + + + + something_697e8fb1 + + + something_a06a3e2e + + + + + diff --git a/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..de805a2f --- /dev/null +++ b/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..1dfdd884 --- /dev/null +++ b/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..aef6e94a --- /dev/null +++ b/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..e18c906e --- /dev/null +++ b/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..3857d23a --- /dev/null +++ b/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + J5 + diff --git a/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..896d81f9 --- /dev/null +++ b/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..8bd96298 --- /dev/null +++ b/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 6 + diff --git a/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..2403d541 --- /dev/null +++ b/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..07b6b065 --- /dev/null +++ b/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..82fbc62d --- /dev/null +++ b/test_data/Xml/Expected/message/correlationIdOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 0 + diff --git a/test_data/Xml/Expected/message/maximal.xml b/test_data/Xml/Expected/message/maximal.xml new file mode 100644 index 00000000..ac62170f --- /dev/null +++ b/test_data/Xml/Expected/message/maximal.xml @@ -0,0 +1,7 @@ + + Exception + something_24bc8444 + something_ee3c0402 + 򤑌M𪠇𛔊򂄲 + 123456789012345678901234567-04-01T00:00:00Z + diff --git a/test_data/Xml/Expected/message/minimal.xml b/test_data/Xml/Expected/message/minimal.xml new file mode 100644 index 00000000..b8f7cb27 --- /dev/null +++ b/test_data/Xml/Expected/message/minimal.xml @@ -0,0 +1,4 @@ + + Exception + something_2c25e1c4 + diff --git a/test_data/Xml/Expected/message/timestampOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/message/timestampOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..08bb5ea2 --- /dev/null +++ b/test_data/Xml/Expected/message/timestampOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 0013-10-11T24:00:00.000000Z + diff --git a/test_data/Xml/Expected/message/timestampOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/message/timestampOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..b9e49aa6 --- /dev/null +++ b/test_data/Xml/Expected/message/timestampOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 0001-01-01T00:00:00Z + diff --git a/test_data/Xml/Expected/message/timestampOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/message/timestampOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..6a314872 --- /dev/null +++ b/test_data/Xml/Expected/message/timestampOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + -3020-08-21T24:00:00.0Z + diff --git a/test_data/Xml/Expected/message/timestampOverPatternExamples/midnight_with_24_hours.xml b/test_data/Xml/Expected/message/timestampOverPatternExamples/midnight_with_24_hours.xml new file mode 100644 index 00000000..1476536f --- /dev/null +++ b/test_data/Xml/Expected/message/timestampOverPatternExamples/midnight_with_24_hours.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 2022-04-01T24:00:00Z + diff --git a/test_data/Xml/Expected/message/timestampOverPatternExamples/midnight_with_zeros.xml b/test_data/Xml/Expected/message/timestampOverPatternExamples/midnight_with_zeros.xml new file mode 100644 index 00000000..e3cdf85c --- /dev/null +++ b/test_data/Xml/Expected/message/timestampOverPatternExamples/midnight_with_zeros.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 2022-04-01T00:00:00Z + diff --git a/test_data/Xml/Expected/message/timestampOverPatternExamples/minus_zero_offset.xml b/test_data/Xml/Expected/message/timestampOverPatternExamples/minus_zero_offset.xml new file mode 100644 index 00000000..1d16195f --- /dev/null +++ b/test_data/Xml/Expected/message/timestampOverPatternExamples/minus_zero_offset.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/message/timestampOverPatternExamples/plus_zero_offset.xml b/test_data/Xml/Expected/message/timestampOverPatternExamples/plus_zero_offset.xml new file mode 100644 index 00000000..fbfb1130 --- /dev/null +++ b/test_data/Xml/Expected/message/timestampOverPatternExamples/plus_zero_offset.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 2022-04-01T24:00:00+00:00 + diff --git a/test_data/Xml/Expected/message/timestampOverPatternExamples/random_positive.xml b/test_data/Xml/Expected/message/timestampOverPatternExamples/random_positive.xml new file mode 100644 index 00000000..614d621d --- /dev/null +++ b/test_data/Xml/Expected/message/timestampOverPatternExamples/random_positive.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Expected/message/timestampOverPatternExamples/very_large_year.xml b/test_data/Xml/Expected/message/timestampOverPatternExamples/very_large_year.xml new file mode 100644 index 00000000..f75ad849 --- /dev/null +++ b/test_data/Xml/Expected/message/timestampOverPatternExamples/very_large_year.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 123456789012345678901234567-04-01T00:00:00Z + diff --git a/test_data/Xml/Expected/message/timestampOverPatternExamples/very_long_fractional_second.xml b/test_data/Xml/Expected/message/timestampOverPatternExamples/very_long_fractional_second.xml new file mode 100644 index 00000000..323a71a2 --- /dev/null +++ b/test_data/Xml/Expected/message/timestampOverPatternExamples/very_long_fractional_second.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 2022-04-01T00:00:00.1234567890123456789012345678901234567890Z + diff --git a/test_data/Xml/Expected/message/timestampOverPatternExamples/year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/message/timestampOverPatternExamples/year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..71eb067b --- /dev/null +++ b/test_data/Xml/Expected/message/timestampOverPatternExamples/year_1_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + -0001-02-29T01:02:03Z + diff --git a/test_data/Xml/Expected/message/timestampOverPatternExamples/year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/message/timestampOverPatternExamples/year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..489447a9 --- /dev/null +++ b/test_data/Xml/Expected/message/timestampOverPatternExamples/year_5_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + -0005-02-29T01:02:03Z + diff --git a/test_data/Xml/Expected/month/maximal.xml b/test_data/Xml/Expected/month/maximal.xml new file mode 100644 index 00000000..776fac15 --- /dev/null +++ b/test_data/Xml/Expected/month/maximal.xml @@ -0,0 +1,9 @@ + + + + + CLIENTNOW + + + + diff --git a/test_data/Xml/Expected/month/minimal.xml b/test_data/Xml/Expected/month/minimal.xml new file mode 100644 index 00000000..776fac15 --- /dev/null +++ b/test_data/Xml/Expected/month/minimal.xml @@ -0,0 +1,9 @@ + + + + + CLIENTNOW + + + + diff --git a/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..4271c5f7 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..e17a1381 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..1e196623 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..4282cb35 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..7bbe5097 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..f60ae6d9 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..6bb613bb --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..2e7d2801 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..0bd4d86b --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..ab54d9b9 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..66bf0ae9 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..b8d38a12 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..b199abb3 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..1a72ac03 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..a4902d3a --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..c121afa0 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..6bc3812b --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..646cd7db --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..01cce8e8 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..e4050ce2 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..23d15eb5 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..a8912028 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..e8c09aee --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..94792df6 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..c8cc59bb --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..5ae85a14 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..2db1ac74 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..f008adf3 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..da57daa2 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..c1e42265 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..9b39ac48 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/multiLanguageProperty/maximal.xml b/test_data/Xml/Expected/multiLanguageProperty/maximal.xml new file mode 100644 index 00000000..68544ced --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/maximal.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Expected/multiLanguageProperty/minimal.xml b/test_data/Xml/Expected/multiLanguageProperty/minimal.xml new file mode 100644 index 00000000..e713cbe9 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..a1531c18 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..76e0f1a9 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..36f634b7 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..e397a270 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..7709a514 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..1ce27b1d --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..7c9aacf0 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..a4dc9f3d --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..a1e45c71 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..1c3dedfe --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..b0eeb503 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..4c4490d3 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..358111fb --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..2cfd3873 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..eb1c87eb --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..b9ff6352 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..be4fded5 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..369ebd18 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..b2269928 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..5a984933 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..34f9a7b6 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..feac2e69 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..0bb23b70 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..daf5b851 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..20b957e4 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..305be03b --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..9df6e7ef --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..60e346e6 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..13ed534d --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..3c008561 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..c5e163ed --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/maximal.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/maximal.xml new file mode 100644 index 00000000..59de3108 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/maximal.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Expected/multiLanguagePropertyMetadata/minimal.xml b/test_data/Xml/Expected/multiLanguagePropertyMetadata/minimal.xml new file mode 100644 index 00000000..08a0d39e --- /dev/null +++ b/test_data/Xml/Expected/multiLanguagePropertyMetadata/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/notEqualComparison/maximal.xml b/test_data/Xml/Expected/notEqualComparison/maximal.xml new file mode 100644 index 00000000..96bf8777 --- /dev/null +++ b/test_data/Xml/Expected/notEqualComparison/maximal.xml @@ -0,0 +1,10 @@ + + + + 2023-06-15T08:30:00-05:00 + + + 2024-02-29T12:00:00Z + + + diff --git a/test_data/Xml/Expected/notEqualComparison/minimal.xml b/test_data/Xml/Expected/notEqualComparison/minimal.xml new file mode 100644 index 00000000..96bf8777 --- /dev/null +++ b/test_data/Xml/Expected/notEqualComparison/minimal.xml @@ -0,0 +1,10 @@ + + + + 2023-06-15T08:30:00-05:00 + + + 2024-02-29T12:00:00Z + + + diff --git a/test_data/Xml/Expected/notExpression/maximal.xml b/test_data/Xml/Expected/notExpression/maximal.xml new file mode 100644 index 00000000..5cfa67a3 --- /dev/null +++ b/test_data/Xml/Expected/notExpression/maximal.xml @@ -0,0 +1,14 @@ + + + + + + 2023-06-15T08:30:00-05:00 + + + 2023-01-01T24:00:00 + + + + + diff --git a/test_data/Xml/Expected/notExpression/minimal.xml b/test_data/Xml/Expected/notExpression/minimal.xml new file mode 100644 index 00000000..5cfa67a3 --- /dev/null +++ b/test_data/Xml/Expected/notExpression/minimal.xml @@ -0,0 +1,14 @@ + + + + + + 2023-06-15T08:30:00-05:00 + + + 2023-01-01T24:00:00 + + + + + diff --git a/test_data/Xml/Expected/numberCast/maximal.xml b/test_data/Xml/Expected/numberCast/maximal.xml new file mode 100644 index 00000000..8ee7503d --- /dev/null +++ b/test_data/Xml/Expected/numberCast/maximal.xml @@ -0,0 +1,7 @@ + + + + 12:00:00+01:00 + + + diff --git a/test_data/Xml/Expected/numberCast/minimal.xml b/test_data/Xml/Expected/numberCast/minimal.xml new file mode 100644 index 00000000..8ee7503d --- /dev/null +++ b/test_data/Xml/Expected/numberCast/minimal.xml @@ -0,0 +1,7 @@ + + + + 12:00:00+01:00 + + + diff --git a/test_data/Xml/Expected/numberLiteral/maximal.xml b/test_data/Xml/Expected/numberLiteral/maximal.xml new file mode 100644 index 00000000..8fc86d9e --- /dev/null +++ b/test_data/Xml/Expected/numberLiteral/maximal.xml @@ -0,0 +1,3 @@ + + 21668651.6 + diff --git a/test_data/Xml/Expected/numberLiteral/minimal.xml b/test_data/Xml/Expected/numberLiteral/minimal.xml new file mode 100644 index 00000000..8fc86d9e --- /dev/null +++ b/test_data/Xml/Expected/numberLiteral/minimal.xml @@ -0,0 +1,3 @@ + + 21668651.6 + diff --git a/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..ed19acb5 --- /dev/null +++ b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..816f5fb2 --- /dev/null +++ b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..1a273983 --- /dev/null +++ b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..5f8e5907 --- /dev/null +++ b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..06b1ef7f --- /dev/null +++ b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..5e66a2ac --- /dev/null +++ b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..c5f341a4 --- /dev/null +++ b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..ffb20f07 --- /dev/null +++ b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..2ea6314e --- /dev/null +++ b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..90e694b6 --- /dev/null +++ b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..ed1de561 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..85269395 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..865cf17b --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..e03aee91 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..124bbac4 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..5693ae11 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..55895587 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..fbf71de9 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..fd6dd506 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..23c1cff2 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..abefe3b4 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..9573b4ca --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..57820161 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..9a1823e3 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..ab8d9bd4 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..9c75dbee --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..da89318c --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..6b48d0ed --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..84d0407c --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..c0fc8721 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..2ebb45b3 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/operation/maximal.xml b/test_data/Xml/Expected/operation/maximal.xml new file mode 100644 index 00000000..0b26a64c --- /dev/null +++ b/test_data/Xml/Expected/operation/maximal.xml @@ -0,0 +1,213 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Expected/operation/minimal.xml b/test_data/Xml/Expected/operation/minimal.xml new file mode 100644 index 00000000..b3af98ab --- /dev/null +++ b/test_data/Xml/Expected/operation/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..72d92b0b --- /dev/null +++ b/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..54296cab --- /dev/null +++ b/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..41d6373c --- /dev/null +++ b/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..0e0ef978 --- /dev/null +++ b/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..77cc42cb --- /dev/null +++ b/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..8fe886cd --- /dev/null +++ b/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..56dc866c --- /dev/null +++ b/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..2e11a181 --- /dev/null +++ b/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..891c03a4 --- /dev/null +++ b/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..337b08f1 --- /dev/null +++ b/test_data/Xml/Expected/operationHandle/handleIdOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/operationHandle/maximal.xml b/test_data/Xml/Expected/operationHandle/maximal.xml new file mode 100644 index 00000000..77cc42cb --- /dev/null +++ b/test_data/Xml/Expected/operationHandle/maximal.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/operationHandle/minimal.xml b/test_data/Xml/Expected/operationHandle/minimal.xml new file mode 100644 index 00000000..77cc42cb --- /dev/null +++ b/test_data/Xml/Expected/operationHandle/minimal.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..1a63cd5d --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..c146952a --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..4b7b0729 --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..560ae1dd --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..9dde74f9 --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..0a5c4b0c --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..b5d519f5 --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..b12cf360 --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..7dc9bc94 --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..c5213d95 --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..c213aabb --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..37dba8fe --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..d364b1b0 --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..293c4420 --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..39f4ff88 --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..b2f536f2 --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..29ed2102 --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..c2f15f78 --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..cdc30a7d --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..d7afb8ab --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..856d21c5 --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..16fc8fe8 --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..ef74b664 --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..22cb9076 --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..789e12c9 --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..c8a377f8 --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..70063b9a --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..6726676c --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..2e4da11a --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..d369dce1 --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..97c3c0cc --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/operationMetadata/maximal.xml b/test_data/Xml/Expected/operationMetadata/maximal.xml new file mode 100644 index 00000000..6c32c287 --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/maximal.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Expected/operationMetadata/minimal.xml b/test_data/Xml/Expected/operationMetadata/minimal.xml new file mode 100644 index 00000000..5128906b --- /dev/null +++ b/test_data/Xml/Expected/operationMetadata/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/day_seconds.xml b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/day_seconds.xml new file mode 100644 index 00000000..136d7a47 --- /dev/null +++ b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/day_seconds.xml @@ -0,0 +1,3 @@ + + P1DT2S + diff --git a/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/full.xml b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/full.xml new file mode 100644 index 00000000..674b318b --- /dev/null +++ b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/full.xml @@ -0,0 +1,3 @@ + + P1Y2M3DT5H20M30.123S + diff --git a/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..975a5512 --- /dev/null +++ b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + -P009D + diff --git a/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..56f10d03 --- /dev/null +++ b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + P5Y36660767143M + diff --git a/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..9cd51414 --- /dev/null +++ b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + -PT01332.1S + diff --git a/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..44cfa835 --- /dev/null +++ b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + -P11DT142M + diff --git a/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..3fc04f95 --- /dev/null +++ b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + PT88M48936316289.34291243605107045S + diff --git a/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..fbf5d2a1 --- /dev/null +++ b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + -P1M923D + diff --git a/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..ac5f931e --- /dev/null +++ b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + -PT0.332S + diff --git a/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..c8e4576b --- /dev/null +++ b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + -PT313148178698146281H866062127724898M + diff --git a/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..2bd0a346 --- /dev/null +++ b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + -PT1.5375209S + diff --git a/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..390d71eb --- /dev/null +++ b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + PT18688M + diff --git a/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/long_second_fractal.xml b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/long_second_fractal.xml new file mode 100644 index 00000000..871b7669 --- /dev/null +++ b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/long_second_fractal.xml @@ -0,0 +1,3 @@ + + PT1.12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/many_many_seconds.xml b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/many_many_seconds.xml new file mode 100644 index 00000000..7ca6ebdd --- /dev/null +++ b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/many_many_seconds.xml @@ -0,0 +1,3 @@ + + PT12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/month_seconds.xml b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/month_seconds.xml new file mode 100644 index 00000000..8d3c8da9 --- /dev/null +++ b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/month_seconds.xml @@ -0,0 +1,3 @@ + + PT2M10S + diff --git a/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/only_seconds.xml b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/only_seconds.xml new file mode 100644 index 00000000..cf8ce1d4 --- /dev/null +++ b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/only_seconds.xml @@ -0,0 +1,3 @@ + + PT130S + diff --git a/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/only_year.xml b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/only_year.xml new file mode 100644 index 00000000..d5727c4b --- /dev/null +++ b/test_data/Xml/Expected/operationRequest/clientTimeoutDurationOverPatternExamples/only_year.xml @@ -0,0 +1,3 @@ + + -P1Y + diff --git a/test_data/Xml/Expected/operationRequest/maximal.xml b/test_data/Xml/Expected/operationRequest/maximal.xml new file mode 100644 index 00000000..07a2a62d --- /dev/null +++ b/test_data/Xml/Expected/operationRequest/maximal.xml @@ -0,0 +1,36 @@ + + + + + + something01a52cdc + xs:hexBinary + + + + + + + something854a0297 + + + + + + + something433fbada + + + + + + + + + something291e2566 + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Expected/operationRequest/minimal.xml b/test_data/Xml/Expected/operationRequest/minimal.xml new file mode 100644 index 00000000..64394651 --- /dev/null +++ b/test_data/Xml/Expected/operationRequest/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/day_seconds.xml b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/day_seconds.xml new file mode 100644 index 00000000..3c4fb964 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/day_seconds.xml @@ -0,0 +1,3 @@ + + P1DT2S + diff --git a/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/full.xml b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/full.xml new file mode 100644 index 00000000..455ecb7a --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/full.xml @@ -0,0 +1,3 @@ + + P1Y2M3DT5H20M30.123S + diff --git a/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..a6d7cb60 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + -P009D + diff --git a/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..4f54f018 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + P5Y36660767143M + diff --git a/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..d3fa092c --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + -PT01332.1S + diff --git a/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..09783344 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + -P11DT142M + diff --git a/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..b499821f --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + PT88M48936316289.34291243605107045S + diff --git a/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..48fe27c3 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + -P1M923D + diff --git a/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..eaffe5e4 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + -PT0.332S + diff --git a/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..d490ca8e --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + -PT313148178698146281H866062127724898M + diff --git a/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..c1525957 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + -PT1.5375209S + diff --git a/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..ed807f63 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + PT18688M + diff --git a/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/long_second_fractal.xml b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/long_second_fractal.xml new file mode 100644 index 00000000..3448ad51 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/long_second_fractal.xml @@ -0,0 +1,3 @@ + + PT1.12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/many_many_seconds.xml b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/many_many_seconds.xml new file mode 100644 index 00000000..63d4c91b --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/many_many_seconds.xml @@ -0,0 +1,3 @@ + + PT12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/month_seconds.xml b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/month_seconds.xml new file mode 100644 index 00000000..fd652265 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/month_seconds.xml @@ -0,0 +1,3 @@ + + PT2M10S + diff --git a/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/only_seconds.xml b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/only_seconds.xml new file mode 100644 index 00000000..5706032e --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/only_seconds.xml @@ -0,0 +1,3 @@ + + PT130S + diff --git a/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/only_year.xml b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/only_year.xml new file mode 100644 index 00000000..995cb807 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsync/clientTimeoutDurationOverPatternExamples/only_year.xml @@ -0,0 +1,3 @@ + + -P1Y + diff --git a/test_data/Xml/Expected/operationRequestAsync/maximal.xml b/test_data/Xml/Expected/operationRequestAsync/maximal.xml new file mode 100644 index 00000000..e894e0f4 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsync/maximal.xml @@ -0,0 +1,36 @@ + + + + + + something01a52cdc + xs:hexBinary + + + + + + + something854a0297 + + + + + + + something433fbada + + + + + + + + + something291e2566 + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Expected/operationRequestAsync/minimal.xml b/test_data/Xml/Expected/operationRequestAsync/minimal.xml new file mode 100644 index 00000000..4f54f018 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsync/minimal.xml @@ -0,0 +1,3 @@ + + P5Y36660767143M + diff --git a/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/day_seconds.xml b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/day_seconds.xml new file mode 100644 index 00000000..c7a99ecb --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/day_seconds.xml @@ -0,0 +1,3 @@ + + P1DT2S + diff --git a/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/full.xml b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/full.xml new file mode 100644 index 00000000..dc26982c --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/full.xml @@ -0,0 +1,3 @@ + + P1Y2M3DT5H20M30.123S + diff --git a/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..b5bfaab6 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + -P009D + diff --git a/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..d578d709 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + P5Y36660767143M + diff --git a/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..73d89e14 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + -PT01332.1S + diff --git a/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..33332989 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + -P11DT142M + diff --git a/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..89449e45 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + PT88M48936316289.34291243605107045S + diff --git a/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..e02eebe9 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + -P1M923D + diff --git a/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..0ebc3c89 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + -PT0.332S + diff --git a/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..6cbfbcdd --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + -PT313148178698146281H866062127724898M + diff --git a/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..f9bbb51f --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + -PT1.5375209S + diff --git a/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..d54bd7dd --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + PT18688M + diff --git a/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/long_second_fractal.xml b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/long_second_fractal.xml new file mode 100644 index 00000000..4b91f887 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/long_second_fractal.xml @@ -0,0 +1,3 @@ + + PT1.12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/many_many_seconds.xml b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/many_many_seconds.xml new file mode 100644 index 00000000..f6c8ea51 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/many_many_seconds.xml @@ -0,0 +1,3 @@ + + PT12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/month_seconds.xml b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/month_seconds.xml new file mode 100644 index 00000000..525ab63b --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/month_seconds.xml @@ -0,0 +1,3 @@ + + PT2M10S + diff --git a/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/only_seconds.xml b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/only_seconds.xml new file mode 100644 index 00000000..d6c38464 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/only_seconds.xml @@ -0,0 +1,3 @@ + + PT130S + diff --git a/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/only_year.xml b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/only_year.xml new file mode 100644 index 00000000..d5064ceb --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsyncValueOnly/clientTimeoutDurationOverPatternExamples/only_year.xml @@ -0,0 +1,3 @@ + + -P1Y + diff --git a/test_data/Xml/Expected/operationRequestAsyncValueOnly/maximal.xml b/test_data/Xml/Expected/operationRequestAsyncValueOnly/maximal.xml new file mode 100644 index 00000000..218661df --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsyncValueOnly/maximal.xml @@ -0,0 +1,93 @@ + + + + xF2bO_Uje6 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Expected/operationRequestAsyncValueOnly/minimal.xml b/test_data/Xml/Expected/operationRequestAsyncValueOnly/minimal.xml new file mode 100644 index 00000000..d578d709 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestAsyncValueOnly/minimal.xml @@ -0,0 +1,3 @@ + + P5Y36660767143M + diff --git a/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/day_seconds.xml b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/day_seconds.xml new file mode 100644 index 00000000..048e4ed0 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/day_seconds.xml @@ -0,0 +1,3 @@ + + P1DT2S + diff --git a/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/full.xml b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/full.xml new file mode 100644 index 00000000..50188962 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/full.xml @@ -0,0 +1,3 @@ + + P1Y2M3DT5H20M30.123S + diff --git a/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..7d9259d7 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + -P009D + diff --git a/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..77e81cc4 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + P5Y36660767143M + diff --git a/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..d3480421 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + -PT01332.1S + diff --git a/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..93f6b99b --- /dev/null +++ b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + -P11DT142M + diff --git a/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..689e1633 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + PT88M48936316289.34291243605107045S + diff --git a/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..3da1bd0a --- /dev/null +++ b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + -P1M923D + diff --git a/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..ede7246f --- /dev/null +++ b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + -PT0.332S + diff --git a/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..776efc74 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + -PT313148178698146281H866062127724898M + diff --git a/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..e742995f --- /dev/null +++ b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + -PT1.5375209S + diff --git a/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..a7d885d3 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + PT18688M + diff --git a/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/long_second_fractal.xml b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/long_second_fractal.xml new file mode 100644 index 00000000..1f751124 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/long_second_fractal.xml @@ -0,0 +1,3 @@ + + PT1.12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/many_many_seconds.xml b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/many_many_seconds.xml new file mode 100644 index 00000000..7ace17e2 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/many_many_seconds.xml @@ -0,0 +1,3 @@ + + PT12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/month_seconds.xml b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/month_seconds.xml new file mode 100644 index 00000000..4fcaee03 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/month_seconds.xml @@ -0,0 +1,3 @@ + + PT2M10S + diff --git a/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/only_seconds.xml b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/only_seconds.xml new file mode 100644 index 00000000..1d78daad --- /dev/null +++ b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/only_seconds.xml @@ -0,0 +1,3 @@ + + PT130S + diff --git a/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/only_year.xml b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/only_year.xml new file mode 100644 index 00000000..3250aaeb --- /dev/null +++ b/test_data/Xml/Expected/operationRequestValueOnly/clientTimeoutDurationOverPatternExamples/only_year.xml @@ -0,0 +1,3 @@ + + -P1Y + diff --git a/test_data/Xml/Expected/operationRequestValueOnly/maximal.xml b/test_data/Xml/Expected/operationRequestValueOnly/maximal.xml new file mode 100644 index 00000000..e89d338f --- /dev/null +++ b/test_data/Xml/Expected/operationRequestValueOnly/maximal.xml @@ -0,0 +1,93 @@ + + + + xF2bO_Uje6 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Expected/operationRequestValueOnly/minimal.xml b/test_data/Xml/Expected/operationRequestValueOnly/minimal.xml new file mode 100644 index 00000000..6bbb75f2 --- /dev/null +++ b/test_data/Xml/Expected/operationRequestValueOnly/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/operationResult/maximal.xml b/test_data/Xml/Expected/operationResult/maximal.xml new file mode 100644 index 00000000..55b73727 --- /dev/null +++ b/test_data/Xml/Expected/operationResult/maximal.xml @@ -0,0 +1,47 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + + + somethingd6d6ab05 + xs:string + + + + + + + something702c736e + + + + + + + something63bf5473 + + + + + + + + + something291e2566 + + + + + diff --git a/test_data/Xml/Expected/operationResult/minimal.xml b/test_data/Xml/Expected/operationResult/minimal.xml new file mode 100644 index 00000000..346ec670 --- /dev/null +++ b/test_data/Xml/Expected/operationResult/minimal.xml @@ -0,0 +1,3 @@ + + Running + diff --git a/test_data/Xml/Expected/operationResultValueOnly/maximal.xml b/test_data/Xml/Expected/operationResultValueOnly/maximal.xml new file mode 100644 index 00000000..e8495738 --- /dev/null +++ b/test_data/Xml/Expected/operationResultValueOnly/maximal.xml @@ -0,0 +1,104 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + Jk0k1414Di + + something_764a7cd7 + + + + a_ + + 30188789.16 + + + + aa + + 0 + + + + a-_-_-_-_-_ + + + + + something_62dd8d48 + + + 30606723.38 + + + + + nested + + 1 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Expected/operationResultValueOnly/minimal.xml b/test_data/Xml/Expected/operationResultValueOnly/minimal.xml new file mode 100644 index 00000000..a9c89248 --- /dev/null +++ b/test_data/Xml/Expected/operationResultValueOnly/minimal.xml @@ -0,0 +1,3 @@ + + Running + diff --git a/test_data/Xml/Expected/operationVariable/maximal.xml b/test_data/Xml/Expected/operationVariable/maximal.xml new file mode 100644 index 00000000..1aa29fbb --- /dev/null +++ b/test_data/Xml/Expected/operationVariable/maximal.xml @@ -0,0 +1,8 @@ + + + + something1d0edd81 + Capability + + + diff --git a/test_data/Xml/Expected/operationVariable/minimal.xml b/test_data/Xml/Expected/operationVariable/minimal.xml new file mode 100644 index 00000000..1aa29fbb --- /dev/null +++ b/test_data/Xml/Expected/operationVariable/minimal.xml @@ -0,0 +1,8 @@ + + + + something1d0edd81 + Capability + + + diff --git a/test_data/Xml/Expected/orExpression/maximal.xml b/test_data/Xml/Expected/orExpression/maximal.xml new file mode 100644 index 00000000..0cbbbd40 --- /dev/null +++ b/test_data/Xml/Expected/orExpression/maximal.xml @@ -0,0 +1,24 @@ + + + + + + 16#DEADBEEF + + + 16#00 + + + + + + + 16#1 + + + 16#DEADBEEF + + + + + diff --git a/test_data/Xml/Expected/orExpression/minimal.xml b/test_data/Xml/Expected/orExpression/minimal.xml new file mode 100644 index 00000000..0cbbbd40 --- /dev/null +++ b/test_data/Xml/Expected/orExpression/minimal.xml @@ -0,0 +1,24 @@ + + + + + + 16#DEADBEEF + + + 16#00 + + + + + + + 16#1 + + + 16#DEADBEEF + + + + + diff --git a/test_data/Xml/Expected/packageDescription/maximal.xml b/test_data/Xml/Expected/packageDescription/maximal.xml new file mode 100644 index 00000000..681af168 --- /dev/null +++ b/test_data/Xml/Expected/packageDescription/maximal.xml @@ -0,0 +1,8 @@ + + 6 + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + J5 + <ă<P󨱽²|dnœÞ® + + diff --git a/test_data/Xml/Expected/packageDescription/minimal.xml b/test_data/Xml/Expected/packageDescription/minimal.xml new file mode 100644 index 00000000..7519c859 --- /dev/null +++ b/test_data/Xml/Expected/packageDescription/minimal.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..4d2dbedd --- /dev/null +++ b/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..3ad80adb --- /dev/null +++ b/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..ee3f8580 --- /dev/null +++ b/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..9d040f76 --- /dev/null +++ b/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..43147565 --- /dev/null +++ b/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..781ab1f1 --- /dev/null +++ b/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..7519c859 --- /dev/null +++ b/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..c4504daf --- /dev/null +++ b/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..3c4f97cc --- /dev/null +++ b/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..31ccd5dd --- /dev/null +++ b/test_data/Xml/Expected/packageDescription/packageIdOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/pagedResult/maximal.xml b/test_data/Xml/Expected/pagedResult/maximal.xml new file mode 100644 index 00000000..b8143b34 --- /dev/null +++ b/test_data/Xml/Expected/pagedResult/maximal.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/test_data/Xml/Expected/pagedResult/minimal.xml b/test_data/Xml/Expected/pagedResult/minimal.xml new file mode 100644 index 00000000..4603a15f --- /dev/null +++ b/test_data/Xml/Expected/pagedResult/minimal.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Expected/pagingMetadata/maximal.xml b/test_data/Xml/Expected/pagingMetadata/maximal.xml new file mode 100644 index 00000000..69e4d4ee --- /dev/null +++ b/test_data/Xml/Expected/pagingMetadata/maximal.xml @@ -0,0 +1,3 @@ + + something_186cc3d6 + diff --git a/test_data/Xml/Expected/pagingMetadata/minimal.xml b/test_data/Xml/Expected/pagingMetadata/minimal.xml new file mode 100644 index 00000000..68091d9b --- /dev/null +++ b/test_data/Xml/Expected/pagingMetadata/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..38696cc5 --- /dev/null +++ b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + xs:gDay + diff --git a/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..c758b304 --- /dev/null +++ b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 𠤢4𠤢 + xs:gDay + diff --git a/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..1a006e42 --- /dev/null +++ b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + [\h$񒺟ìÖċŠ1¿ + xs:gDay + diff --git a/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..285acb47 --- /dev/null +++ b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + öĖa􍣡™| + xs:gDay + diff --git a/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..03af4956 --- /dev/null +++ b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + J5 + xs:gDay + diff --git a/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..3f1c8c5b --- /dev/null +++ b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + diff --git a/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..c8b40632 --- /dev/null +++ b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 6 + xs:gDay + diff --git a/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..0cb18785 --- /dev/null +++ b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + xs:gDay + diff --git a/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..66f66223 --- /dev/null +++ b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + <ă<P󨱽²|dnœÞ® + xs:gDay + diff --git a/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..4d52b6aa --- /dev/null +++ b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..fcb17e33 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,4 @@ + + a-_-_-_-_-_ + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..4fcc422b --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,4 @@ + + strange-name_ + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..51fc5603 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + fULCVpULCVq + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..00400596 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + AopQejF + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..b45880b5 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + Jk0k1414Di + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..f17fd43e --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + pVz10Vz10vZZNO9hM + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..9e5067bc --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + t8x1pz9WS4TGV + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..958e8fa0 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + tWC + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..0fa01646 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + xF2bO_Uje6 + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..a661ee4f --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + EO5DYAe + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..de032dd4 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + nRdRe + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..cae5062c --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + P7gn + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..dc0f5c13 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,4 @@ + + a-_ + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..0ffc3292 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,4 @@ + + a----------------b + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..cbbdd6fa --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,4 @@ + + a________________ + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..d0740a00 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,4 @@ + + a0 + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..b131b1d4 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,4 @@ + + aa + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..a8909b38 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,4 @@ + + a_ + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..130872d7 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,4 @@ + + AZ + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..ccb681a7 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,4 @@ + + a-b + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..8b9f2c8f --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,4 @@ + + A_ + xs:gDay + diff --git a/test_data/Xml/Expected/property/maximal.xml b/test_data/Xml/Expected/property/maximal.xml new file mode 100644 index 00000000..889e9861 --- /dev/null +++ b/test_data/Xml/Expected/property/maximal.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Expected/property/minimal.xml b/test_data/Xml/Expected/property/minimal.xml new file mode 100644 index 00000000..ac01d381 --- /dev/null +++ b/test_data/Xml/Expected/property/minimal.xml @@ -0,0 +1,3 @@ + + xs:gDay + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_URI.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_URI.xml new file mode 100644 index 00000000..88a03187 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_URI.xml @@ -0,0 +1,4 @@ + + xs:anyURI + https://github.com/aas-core-works/aas-core-codegen + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_absolute_path_without_scheme.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_absolute_path_without_scheme.xml new file mode 100644 index 00000000..7914d308 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_absolute_path_without_scheme.xml @@ -0,0 +1,4 @@ + + xs:anyURI + /path/to/somewhere + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_empty.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_empty.xml new file mode 100644 index 00000000..498e78b4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_empty.xml @@ -0,0 +1,4 @@ + + xs:anyURI + + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_01.xml new file mode 100644 index 00000000..f2d8300b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:anyURI + # + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_02.xml new file mode 100644 index 00000000..08a3e08c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:anyURI + //[d6FA:c:8b:4:7:be7:aD:C8C]:/~.49:f%Fee;%9D%58L/Q%ea'+Q%eb:&%7C,t:;a,@&%dB%2D%Ba&%bF%BF,;%06G%a0%bfk%7b&@&@1@=+%fE6%FF2j4;$;=,%Da$=R%17s+2%68;/v%Ca%a0&$d%Fd7%58@%a0%54D%0BA%00Bw%a59:6;;/%f1:;t%98$J0:Y;?%8Dx:%aC&$/S/L%A5u + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_03.xml new file mode 100644 index 00000000..e81d40a1 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:anyURI + A:// + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_04.xml new file mode 100644 index 00000000..498e78b4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:anyURI + + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_05.xml new file mode 100644 index 00000000..c813f688 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:anyURI + #;+; + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_06.xml new file mode 100644 index 00000000..98734129 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:anyURI + //@fr+%64@/%C5vw%A8N/%9f;%59%Ea%A9%Dd?#[= + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_07.xml new file mode 100644 index 00000000..b410c218 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:anyURI + q%7E~@$=l#%f6,&;& + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_08.xml new file mode 100644 index 00000000..e9810c43 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:anyURI + j.:/%dd;=%78%Eaui;j/aTF&%Fd%9A9K;%f8-;;'4!C;,:C/=;k%b4;%09;;C%74%3a,2%C09;%127%5C;%81%d09/+;/%65%41%a0,@%34C_;%6E*;;%42%D9;%BA7%7EY%D4;%60Z=,/:+;$E&+$%Db4'%F2%7E;'+6-r$%64-;l%85%Eb%Ec+%ae/;=$-;;.%02L;,;%3Bj%a2:&@%3Ak$:;%CB;,(h(::=%b1;$+5&%810%04%3e,@$%60:G+%2d%c8%A4%01%5c,=&:O'CG%Eb@isa%2A+&$$%8D7X.+v)%Ed;3%6eo%DB&;7@%86n=9%aC%02;;k%bDH;%C0%BB;%c9,KF%De&%0A%6fP$:%9B%f5H%b8/T;%01$,%dD%8A%6B!/;,++;=;;%8dk$%0F%FB;;N%6B@;Om$%00# + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_09.xml new file mode 100644 index 00000000..931e2546 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:anyURI + #b%39DX%f9a%76u%da%A1@%a9%D3n + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_10.xml new file mode 100644 index 00000000..41761d36 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:anyURI + ///%6B%0EX%9f-=++$:3%9az+,c&%3F:'Sx%3d%00:%7f%40:%08,;%5b%90%A1c;(;$:$y+%5b/=t%40+H+a@%E7$G%58;:+R$g$-yT%08&:,%fB;%F5b@;%Eb3%0C%A3n%4A%7dBf%75%2F%fc;vZ-%aFV$;%3a&;;=%fC;;~@+/=%A4# + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_integer.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_integer.xml new file mode 100644 index 00000000..883f5d5e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_integer.xml @@ -0,0 +1,4 @@ + + xs:anyURI + 1234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_relative_path_without_scheme.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_relative_path_without_scheme.xml new file mode 100644 index 00000000..3b96eaed --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_relative_path_without_scheme.xml @@ -0,0 +1,4 @@ + + xs:anyURI + path/to/somewhere + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_an_empty_value_is_valid.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_an_empty_value_is_valid.xml new file mode 100644 index 00000000..271ee0b3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_an_empty_value_is_valid.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_equals_signs_are_used_for_padding.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_equals_signs_are_used_for_padding.xml new file mode 100644 index 00000000..644388c4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_equals_signs_are_used_for_padding.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + 0F+40A== + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_01.xml new file mode 100644 index 00000000..5f0d9257 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + RJ I k 7 c /F / 1 J8F o 0ivZ v AE 3bj ASP y PI k+ 1 fku W 5M= + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_02.xml new file mode 100644 index 00000000..969c1f7a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + Ie 9 20 Y F 5 Ve9 Y c 0W rH p 2 FQaS /xw /t RtE= + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_03.xml new file mode 100644 index 00000000..329260df --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + n3wT + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_04.xml new file mode 100644 index 00000000..40b63b2a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + wfw E + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_05.xml new file mode 100644 index 00000000..31fee3bf --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + jj5 n + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_06.xml new file mode 100644 index 00000000..5aa3f72c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + j j5 n + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_07.xml new file mode 100644 index 00000000..1c54a98b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + S w SO 5 S5r + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_08.xml new file mode 100644 index 00000000..7700c699 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + UBU iUBU iQ n cy q 7wK + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_09.xml new file mode 100644 index 00000000..8599366c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + HU UH + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_10.xml new file mode 100644 index 00000000..6cbc16c2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + 00000000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml new file mode 100644 index 00000000..2e97a043 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + 0 FB8 0F+9 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_without_space_lowercase.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_without_space_lowercase.xml new file mode 100644 index 00000000..e70e8f90 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_without_space_lowercase.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + 0fb8 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_without_space_uppercase.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_without_space_uppercase.xml new file mode 100644 index 00000000..a298b614 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_without_space_uppercase.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + 0FB8 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_false_as_number.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_false_as_number.xml new file mode 100644 index 00000000..8f4ab028 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_false_as_number.xml @@ -0,0 +1,4 @@ + + xs:boolean + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_false_in_letters.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_false_in_letters.xml new file mode 100644 index 00000000..a11a40df --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_false_in_letters.xml @@ -0,0 +1,4 @@ + + xs:boolean + false + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_true_as_number.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_true_as_number.xml new file mode 100644 index 00000000..8a41fccb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_true_as_number.xml @@ -0,0 +1,4 @@ + + xs:boolean + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_true_in_letters.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_true_in_letters.xml new file mode 100644 index 00000000..cac118aa --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_true_in_letters.xml @@ -0,0 +1,4 @@ + + xs:boolean + true + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_common_example.xml new file mode 100644 index 00000000..cdd96e06 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_common_example.xml @@ -0,0 +1,4 @@ + + xs:byte + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_explicitly_positive.xml new file mode 100644 index 00000000..9836e24d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:byte + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_01.xml new file mode 100644 index 00000000..c1f2be33 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:byte + 05 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_02.xml new file mode 100644 index 00000000..845bfe30 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:byte + 000110 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_03.xml new file mode 100644 index 00000000..597c36b0 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:byte + +00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_04.xml new file mode 100644 index 00000000..251867a1 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:byte + -108 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_05.xml new file mode 100644 index 00000000..031f23a8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:byte + 0001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_06.xml new file mode 100644 index 00000000..811fd291 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:byte + 103 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_07.xml new file mode 100644 index 00000000..b9106303 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:byte + 06 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_08.xml new file mode 100644 index 00000000..105f1417 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:byte + +0000002 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_09.xml new file mode 100644 index 00000000..562289c3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:byte + 000000006 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_10.xml new file mode 100644 index 00000000..392b9ba4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:byte + -00011 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_max.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_max.xml new file mode 100644 index 00000000..4059fdb5 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_max.xml @@ -0,0 +1,4 @@ + + xs:byte + 127 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_min.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_min.xml new file mode 100644 index 00000000..cff3e0a3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_min.xml @@ -0,0 +1,4 @@ + + xs:byte + -128 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_negative.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_negative.xml new file mode 100644 index 00000000..a1b70426 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_negative.xml @@ -0,0 +1,4 @@ + + xs:byte + -1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_prefixed_with_zeros.xml new file mode 100644 index 00000000..ffda8b6d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:byte + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_zero.xml new file mode 100644 index 00000000..aae58171 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_zero.xml @@ -0,0 +1,4 @@ + + xs:byte + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..3c0b0402 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:byte + 000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_date.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date.xml new file mode 100644 index 00000000..a21ef539 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_large_negative_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_large_negative_year.xml new file mode 100644 index 00000000..6dc6c89c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_large_negative_year.xml @@ -0,0 +1,4 @@ + + xs:date + -12345678901234567890123456789012345678901234567890-04-01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_large_positive_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_large_positive_year.xml new file mode 100644 index 00000000..d454bc4e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_large_positive_year.xml @@ -0,0 +1,4 @@ + + xs:date + 12345678901234567890123456789012345678901234567890-04-01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_negative_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_negative_offset.xml new file mode 100644 index 00000000..3135c8b6 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01-02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_positive_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_positive_offset.xml new file mode 100644 index 00000000..9e5f3426 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01+02:34 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_utc.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_utc.xml new file mode 100644 index 00000000..734f1acf --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_utc.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_zero_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_zero_offset.xml new file mode 100644 index 00000000..b04c4250 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_zero_offset.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01+00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_01.xml new file mode 100644 index 00000000..beea8581 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:date + 0705-04-10+14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_02.xml new file mode 100644 index 00000000..9693d57f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:date + -0236-12-31Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_03.xml new file mode 100644 index 00000000..abb3df41 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:date + 9088-11-06 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_04.xml new file mode 100644 index 00000000..fef07a93 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:date + -7506-08-02 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_05.xml new file mode 100644 index 00000000..3d4d3769 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:date + -3637143-04-09 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_06.xml new file mode 100644 index 00000000..21ea9543 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:date + -0311-11-30 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_07.xml new file mode 100644 index 00000000..ff1cc50d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:date + -0844-11-30 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_08.xml new file mode 100644 index 00000000..9356715b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:date + 0111-04-04 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_09.xml new file mode 100644 index 00000000..ef782a03 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:date + 0412-04-08-10:58 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_10.xml new file mode 100644 index 00000000..77c3f206 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:date + 0520-01-01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_UTC.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_UTC.xml new file mode 100644 index 00000000..1ea6470f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_UTC.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_large_negative_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_large_negative_year.xml new file mode 100644 index 00000000..f105229f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_large_negative_year.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -12345678901234567890123456789012345678901234567890-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_large_positive_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_large_positive_year.xml new file mode 100644 index 00000000..8da54280 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_large_positive_year.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 12345678901234567890123456789012345678901234567890-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_long_fractional_seconds.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_long_fractional_seconds.xml new file mode 100644 index 00000000..cfc9c4e7 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_long_fractional_seconds.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02:03.0123456789Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_negative_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_negative_offset.xml new file mode 100644 index 00000000..3f1b8e24 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02:03+00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_positive_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_positive_offset.xml new file mode 100644 index 00000000..e57e51c4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_zero_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_zero_offset.xml new file mode 100644 index 00000000..3f1b8e24 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_zero_offset.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02:03+00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_without_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_without_zone.xml new file mode 100644 index 00000000..449a37ad --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_without_zone.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_01.xml new file mode 100644 index 00000000..205db080 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -0811-10-21T24:00:00.000000Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_02.xml new file mode 100644 index 00000000..9824b1be --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -0819-11-21T24:00:00.00Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_03.xml new file mode 100644 index 00000000..233c4a93 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -665280014-06-30T21:15:16Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_04.xml new file mode 100644 index 00000000..b3e7b85f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -0811-11-21T24:00:00.0000Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_05.xml new file mode 100644 index 00000000..bf8f3285 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 0532-09-07T18:47:52+14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_06.xml new file mode 100644 index 00000000..33c60c07 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 0707-11-02T24:00:00.00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_07.xml new file mode 100644 index 00000000..74cba653 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -0003-12-20T22:53:54.02567 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_08.xml new file mode 100644 index 00000000..0d21b271 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -1092-02-25T24:00:00.0000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_09.xml new file mode 100644 index 00000000..ed9b1ea3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -6602-06-30T24:00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_10.xml new file mode 100644 index 00000000..b414667e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -2111111-08-31T23:58:19.269348 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_midnight_with_24_hours.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_midnight_with_24_hours.xml new file mode 100644 index 00000000..c18fc42e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_midnight_with_24_hours.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T24:00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_midnight_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_midnight_with_zeros.xml new file mode 100644 index 00000000..e0e50634 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_midnight_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T00:00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..c54a4324 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_year_1_bce_is_a_leap_year.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -0001-02-29T01:02:03 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..d212d862 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_year_5_bce_is_a_leap_year.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -0005-02-29T01:02:03 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..59c50466 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_year_1_bce_is_a_leap_year.xml @@ -0,0 +1,4 @@ + + xs:date + -0001-02-29 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..16a80022 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_year_5_bce_is_a_leap_year.xml @@ -0,0 +1,4 @@ + + xs:date + -0005-02-29 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_decimal.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_decimal.xml new file mode 100644 index 00000000..fa9bc529 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_decimal.xml @@ -0,0 +1,4 @@ + + xs:decimal + 1234.01234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_decimal_with_long_fractional.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_decimal_with_long_fractional.xml new file mode 100644 index 00000000..2205ab16 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_decimal_with_long_fractional.xml @@ -0,0 +1,4 @@ + + xs:decimal + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_decimal_with_preceding_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_decimal_with_preceding_zeros.xml new file mode 100644 index 00000000..34e39c1a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_decimal_with_preceding_zeros.xml @@ -0,0 +1,4 @@ + + xs:decimal + 0001234.01234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_01.xml new file mode 100644 index 00000000..1efebb24 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:decimal + .33324 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_02.xml new file mode 100644 index 00000000..f0464d92 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:decimal + 01195 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_03.xml new file mode 100644 index 00000000..d96abfad --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:decimal + +875 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_04.xml new file mode 100644 index 00000000..9fffe8f9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:decimal + -8 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_05.xml new file mode 100644 index 00000000..ac891e74 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:decimal + -0.0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_06.xml new file mode 100644 index 00000000..3887c8f6 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:decimal + -13522106 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_07.xml new file mode 100644 index 00000000..1aaeeab9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:decimal + +10 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_08.xml new file mode 100644 index 00000000..3788dfc2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:decimal + -030725 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_09.xml new file mode 100644 index 00000000..b831afd4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:decimal + .3 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_10.xml new file mode 100644 index 00000000..ee11bfb3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:decimal + 0061707 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_integer.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_integer.xml new file mode 100644 index 00000000..e4b1b97b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_integer.xml @@ -0,0 +1,4 @@ + + xs:decimal + 1234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..965b96e9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_integer_with_preceding_zeros.xml @@ -0,0 +1,4 @@ + + xs:decimal + 0001234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_very_large_decimal.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_very_large_decimal.xml new file mode 100644 index 00000000..da8adba5 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_very_large_decimal.xml @@ -0,0 +1,4 @@ + + xs:decimal + 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890.12345678901234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_double.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_double.xml new file mode 100644 index 00000000..b057a520 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_double.xml @@ -0,0 +1,4 @@ + + xs:double + 1234.01234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_01.xml new file mode 100644 index 00000000..06584d30 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:double + .1118 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_02.xml new file mode 100644 index 00000000..8ee5afb2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:double + -.662 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_03.xml new file mode 100644 index 00000000..a09b464a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:double + .0E0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_04.xml new file mode 100644 index 00000000..9ad2c6a5 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:double + .4 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_05.xml new file mode 100644 index 00000000..91469a9e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:double + .11 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_06.xml new file mode 100644 index 00000000..05b8aed8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:double + +76E-86 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_07.xml new file mode 100644 index 00000000..8ee5afb2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:double + -.662 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_08.xml new file mode 100644 index 00000000..86802243 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:double + 1e+7 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_09.xml new file mode 100644 index 00000000..5520d3b1 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:double + -.66E-45 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_10.xml new file mode 100644 index 00000000..22fbf785 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:double + 140206134 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_inf.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_inf.xml new file mode 100644 index 00000000..51bf8657 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_inf.xml @@ -0,0 +1,4 @@ + + xs:double + INF + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_integer.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_integer.xml new file mode 100644 index 00000000..28d3a2a6 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_integer.xml @@ -0,0 +1,4 @@ + + xs:double + 1234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..77a274ac --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_integer_with_preceding_zeros.xml @@ -0,0 +1,4 @@ + + xs:double + 0001234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_loss_of_precision_is_not_detected_by_design.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_loss_of_precision_is_not_detected_by_design.xml new file mode 100644 index 00000000..e8b11473 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_loss_of_precision_is_not_detected_by_design.xml @@ -0,0 +1,4 @@ + + xs:double + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_lowest.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_lowest.xml new file mode 100644 index 00000000..19a3494f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_lowest.xml @@ -0,0 +1,4 @@ + + xs:double + -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_max.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_max.xml new file mode 100644 index 00000000..5d85fbe8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_max.xml @@ -0,0 +1,4 @@ + + xs:double + 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_minus_inf.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_minus_inf.xml new file mode 100644 index 00000000..6f7bca0d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_minus_inf.xml @@ -0,0 +1,4 @@ + + xs:double + -INF + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_nan.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_nan.xml new file mode 100644 index 00000000..88d85675 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_nan.xml @@ -0,0 +1,4 @@ + + xs:double + NaN + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation.xml new file mode 100644 index 00000000..e706e708 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation.xml @@ -0,0 +1,4 @@ + + xs:double + 12.34e56 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_negative.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_negative.xml new file mode 100644 index 00000000..d7f39c42 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_negative.xml @@ -0,0 +1,4 @@ + + xs:double + -12.34e56 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_negative_exponent.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_negative_exponent.xml new file mode 100644 index 00000000..c0af5476 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_negative_exponent.xml @@ -0,0 +1,4 @@ + + xs:double + 12.34e-56 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_positive.xml new file mode 100644 index 00000000..ad24052d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_positive.xml @@ -0,0 +1,4 @@ + + xs:double + +12.34e56 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_positive_exponent.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_positive_exponent.xml new file mode 100644 index 00000000..49eb2b79 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_positive_exponent.xml @@ -0,0 +1,4 @@ + + xs:double + 12.34e+56 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_very_large_normal.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_very_large_normal.xml new file mode 100644 index 00000000..fc03a349 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_very_large_normal.xml @@ -0,0 +1,4 @@ + + xs:double + 2e307 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_very_precise_subnormal.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_very_precise_subnormal.xml new file mode 100644 index 00000000..2e017660 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_very_precise_subnormal.xml @@ -0,0 +1,4 @@ + + xs:double + 2e-307 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_with_preceding_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_with_preceding_zeros.xml new file mode 100644 index 00000000..e2bba071 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_with_preceding_zeros.xml @@ -0,0 +1,4 @@ + + xs:double + 0001234.01234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_day_seconds.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_day_seconds.xml new file mode 100644 index 00000000..3446e3fe --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_day_seconds.xml @@ -0,0 +1,4 @@ + + xs:duration + P1DT2S + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_full.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_full.xml new file mode 100644 index 00000000..214eeac0 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_full.xml @@ -0,0 +1,4 @@ + + xs:duration + P1Y2M3DT5H20M30.123S + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_01.xml new file mode 100644 index 00000000..bb8ed881 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:duration + -P009D + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_02.xml new file mode 100644 index 00000000..b131f3e2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:duration + P5Y36660767143M + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_03.xml new file mode 100644 index 00000000..e757cd2b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:duration + -PT01332.1S + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_04.xml new file mode 100644 index 00000000..df6649bb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:duration + -P11DT142M + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_05.xml new file mode 100644 index 00000000..86cb225e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:duration + PT88M48936316289.34291243605107045S + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_06.xml new file mode 100644 index 00000000..96d6e3c8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:duration + -P1M923D + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_07.xml new file mode 100644 index 00000000..d345cd98 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:duration + -PT0.332S + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_08.xml new file mode 100644 index 00000000..96b202dd --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:duration + -PT313148178698146281H866062127724898M + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_09.xml new file mode 100644 index 00000000..d131e080 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:duration + -PT1.5375209S + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_10.xml new file mode 100644 index 00000000..783f9c25 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:duration + PT18688M + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_long_second_fractal.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_long_second_fractal.xml new file mode 100644 index 00000000..ece74705 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_long_second_fractal.xml @@ -0,0 +1,4 @@ + + xs:duration + PT1.12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_many_many_seconds.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_many_many_seconds.xml new file mode 100644 index 00000000..843b6352 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_many_many_seconds.xml @@ -0,0 +1,4 @@ + + xs:duration + PT12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_month_seconds.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_month_seconds.xml new file mode 100644 index 00000000..a6a023b8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_month_seconds.xml @@ -0,0 +1,4 @@ + + xs:duration + PT2M10S + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_only_seconds.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_only_seconds.xml new file mode 100644 index 00000000..726737ff --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_only_seconds.xml @@ -0,0 +1,4 @@ + + xs:duration + PT130S + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_only_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_only_year.xml new file mode 100644 index 00000000..888d0073 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_only_year.xml @@ -0,0 +1,4 @@ + + xs:duration + -P1Y + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_float.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_float.xml new file mode 100644 index 00000000..cc30cae5 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_float.xml @@ -0,0 +1,4 @@ + + xs:float + 1234.01234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_01.xml new file mode 100644 index 00000000..974f35e8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:float + -.80E0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_02.xml new file mode 100644 index 00000000..266e2d74 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:float + -147E7 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_03.xml new file mode 100644 index 00000000..9016f010 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:float + 18 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_04.xml new file mode 100644 index 00000000..ec783b1c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:float + .1532E+16 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_05.xml new file mode 100644 index 00000000..085316f8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:float + +44.6393 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_06.xml new file mode 100644 index 00000000..c1c4a8a4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:float + .5885e-29 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_07.xml new file mode 100644 index 00000000..e6a9399b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:float + 1e-7 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_08.xml new file mode 100644 index 00000000..cf4a467f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:float + +732.55619 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_09.xml new file mode 100644 index 00000000..229369f1 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:float + .1E05 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_10.xml new file mode 100644 index 00000000..866cad9a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:float + 1102 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_inf.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_inf.xml new file mode 100644 index 00000000..b2af2da7 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_inf.xml @@ -0,0 +1,4 @@ + + xs:float + INF + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_integer.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_integer.xml new file mode 100644 index 00000000..5e3b4048 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_integer.xml @@ -0,0 +1,4 @@ + + xs:float + 1234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..2de5495f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_integer_with_preceding_zeros.xml @@ -0,0 +1,4 @@ + + xs:float + 0001234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_largest_normal.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_largest_normal.xml new file mode 100644 index 00000000..6e68d195 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_largest_normal.xml @@ -0,0 +1,4 @@ + + xs:float + 340282346638528859811704183484516925440 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_largest_number_less_than_one.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_largest_number_less_than_one.xml new file mode 100644 index 00000000..6785cb8e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_largest_number_less_than_one.xml @@ -0,0 +1,4 @@ + + xs:float + 0.999999940395355224609375 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_largest_subnormal.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_largest_subnormal.xml new file mode 100644 index 00000000..ae3df46c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_largest_subnormal.xml @@ -0,0 +1,4 @@ + + xs:float + 0.00000000000000000000000000000000000001175494210692441075487029444849287348827052428745893333857174530571588870475618904265502351336181163787841796875 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_loss_of_precision_is_not_detected_by_design.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_loss_of_precision_is_not_detected_by_design.xml new file mode 100644 index 00000000..0bf69989 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_loss_of_precision_is_not_detected_by_design.xml @@ -0,0 +1,4 @@ + + xs:float + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_nan.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_nan.xml new file mode 100644 index 00000000..023e01b4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_nan.xml @@ -0,0 +1,4 @@ + + xs:float + NaN + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_negative_inf.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_negative_inf.xml new file mode 100644 index 00000000..9add298a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_negative_inf.xml @@ -0,0 +1,4 @@ + + xs:float + -INF + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation.xml new file mode 100644 index 00000000..06267ab0 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation.xml @@ -0,0 +1,4 @@ + + xs:float + 12.34e16 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_negative.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_negative.xml new file mode 100644 index 00000000..e449aff8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_negative.xml @@ -0,0 +1,4 @@ + + xs:float + -12.34e16 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_negative_exponent.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_negative_exponent.xml new file mode 100644 index 00000000..a7ae61c5 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_negative_exponent.xml @@ -0,0 +1,4 @@ + + xs:float + 12.34e-16 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_positive.xml new file mode 100644 index 00000000..1edab9d4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_positive.xml @@ -0,0 +1,4 @@ + + xs:float + +12.34e16 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_positive_exponent.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_positive_exponent.xml new file mode 100644 index 00000000..d62682bc --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_positive_exponent.xml @@ -0,0 +1,4 @@ + + xs:float + 12.34e+16 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_smallest_number_larger_than_one.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_smallest_number_larger_than_one.xml new file mode 100644 index 00000000..055b8da4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_smallest_number_larger_than_one.xml @@ -0,0 +1,4 @@ + + xs:float + 1.00000011920928955078125 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_smallest_positive_normal.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_smallest_positive_normal.xml new file mode 100644 index 00000000..66118b71 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_smallest_positive_normal.xml @@ -0,0 +1,4 @@ + + xs:float + 0.000000000000000000000000000000000000011754943508222875079687365372222456778186655567720875215087517062784172594547271728515625 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_smallest_positive_subnormal.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_smallest_positive_subnormal.xml new file mode 100644 index 00000000..0aa0dc07 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_smallest_positive_subnormal.xml @@ -0,0 +1,4 @@ + + xs:float + 0.00000000000000000000000000000000000000000000140129846432481707092372958328991613128026194187651577175706828388979108268586060148663818836212158203125 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_with_preceding_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_with_preceding_zeros.xml new file mode 100644 index 00000000..dbcb4279 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_with_preceding_zeros.xml @@ -0,0 +1,4 @@ + + xs:float + 0001234.01234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_day_not_existing_in_all_months_without_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_day_not_existing_in_all_months_without_zone.xml new file mode 100644 index 00000000..f08e8c7c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_day_not_existing_in_all_months_without_zone.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---31 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_double_digit_day_without_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_double_digit_day_without_zone.xml new file mode 100644 index 00000000..9782ed51 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_double_digit_day_without_zone.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---15 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_01.xml new file mode 100644 index 00000000..b5ecbefa --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---23Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_02.xml new file mode 100644 index 00000000..002319cb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---24 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_03.xml new file mode 100644 index 00000000..18479442 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---10 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_04.xml new file mode 100644 index 00000000..2165caa4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---30-14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_05.xml new file mode 100644 index 00000000..c57cebfa --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---31-09:25 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_06.xml new file mode 100644 index 00000000..a10e20a4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---17Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_07.xml new file mode 100644 index 00000000..d99a4c07 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---30+00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_08.xml new file mode 100644 index 00000000..302963b0 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---30-10:11 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_09.xml new file mode 100644 index 00000000..aa14687b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---22Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_10.xml new file mode 100644 index 00000000..afb6620b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---30Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_negative_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_negative_offset.xml new file mode 100644 index 00000000..f4fa6e86 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---01-04:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_positive_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_positive_offset.xml new file mode 100644 index 00000000..7df8b81f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---01+02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_single_digit_day_without_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_single_digit_day_without_zone.xml new file mode 100644 index 00000000..5216feef --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_single_digit_day_without_zone.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_utc_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_utc_zone.xml new file mode 100644 index 00000000..17fbed7b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_utc_zone.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---01Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_zero_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_zero_offset.xml new file mode 100644 index 00000000..be3f4a6f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_zero_offset.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---01+00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml new file mode 100644 index 00000000..4b0beaa3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-14 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml new file mode 100644 index 00000000..71ef38b2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml new file mode 100644 index 00000000..9c94478f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --02-29 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_01.xml new file mode 100644 index 00000000..e2fb9329 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-20 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_02.xml new file mode 100644 index 00000000..0322671e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --12-06 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_03.xml new file mode 100644 index 00000000..aea8928d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --12-01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_04.xml new file mode 100644 index 00000000..ae706c53 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-21+14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_05.xml new file mode 100644 index 00000000..9bb6d588 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --10-07 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_06.xml new file mode 100644 index 00000000..df8d1343 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --10-30 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_07.xml new file mode 100644 index 00000000..24c9502e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --12-27 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_08.xml new file mode 100644 index 00000000..4fa62272 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --04-30 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_09.xml new file mode 100644 index 00000000..b4b78089 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --10-10-14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_10.xml new file mode 100644 index 00000000..a7617e21 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --10-11Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_negative_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_negative_offset.xml new file mode 100644 index 00000000..46a52327 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-01-04:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_positive_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_positive_offset.xml new file mode 100644 index 00000000..906b706f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-01+02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml new file mode 100644 index 00000000..88b8e2d4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --05-01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_utc_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_utc_zone.xml new file mode 100644 index 00000000..c1809cb4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_utc_zone.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-01Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_zero_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_zero_offset.xml new file mode 100644 index 00000000..906b706f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_zero_offset.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-01+02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_double_digit_month_without_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_double_digit_month_without_zone.xml new file mode 100644 index 00000000..e257b226 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_double_digit_month_without_zone.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_01.xml new file mode 100644 index 00000000..3cdec4a8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11-13:34 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_02.xml new file mode 100644 index 00000000..32483945 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --10+14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_03.xml new file mode 100644 index 00000000..8d3cdb83 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --10+07:39 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_04.xml new file mode 100644 index 00000000..57c31612 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11-05:22 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_05.xml new file mode 100644 index 00000000..0c38978e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_06.xml new file mode 100644 index 00000000..168e1345 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --12Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_07.xml new file mode 100644 index 00000000..6d08957e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --10-13:30 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_08.xml new file mode 100644 index 00000000..ac7d755d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --07 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_09.xml new file mode 100644 index 00000000..c68ebb6a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11-10:05 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_10.xml new file mode 100644 index 00000000..4a4776b9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11+12:33 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_negative_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_negative_offset.xml new file mode 100644 index 00000000..cc2c5083 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11-04:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_positive_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_positive_offset.xml new file mode 100644 index 00000000..d48dcc3f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11+02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_single_digit_month_without_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_single_digit_month_without_zone.xml new file mode 100644 index 00000000..b1eb1f9d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_single_digit_month_without_zone.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --05 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_utc_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_utc_zone.xml new file mode 100644 index 00000000..33f0d835 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_utc_zone.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_zero_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_zero_offset.xml new file mode 100644 index 00000000..7f4dc655 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_zero_offset.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11+00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_five_digit_negative_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_five_digit_negative_year.xml new file mode 100644 index 00000000..c62df812 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_five_digit_negative_year.xml @@ -0,0 +1,4 @@ + + xs:gYear + -20000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_five_digit_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_five_digit_year.xml new file mode 100644 index 00000000..0f563a96 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_five_digit_year.xml @@ -0,0 +1,4 @@ + + xs:gYear + 20000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_01.xml new file mode 100644 index 00000000..91acf6c8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:gYear + 0740-07:36 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_02.xml new file mode 100644 index 00000000..afa901d0 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:gYear + 125774274 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_03.xml new file mode 100644 index 00000000..87653e74 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:gYear + -0444 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_04.xml new file mode 100644 index 00000000..ffd27c96 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:gYear + 0000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_05.xml new file mode 100644 index 00000000..7d9076c7 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:gYear + -0111+14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_06.xml new file mode 100644 index 00000000..ecbd7fe4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:gYear + 11111 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_07.xml new file mode 100644 index 00000000..d1470ad4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:gYear + 973419862 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_08.xml new file mode 100644 index 00000000..ae9938ce --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:gYear + 1717608219759Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_09.xml new file mode 100644 index 00000000..5c1acb0b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:gYear + -0863 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_10.xml new file mode 100644 index 00000000..5922d3eb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:gYear + -0109+14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_common_year_month.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_common_year_month.xml new file mode 100644 index 00000000..476d351e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_common_year_month.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 2001-10 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_five_digit_negative_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_five_digit_negative_year.xml new file mode 100644 index 00000000..844300da --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_five_digit_negative_year.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + -20000-04 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_01.xml new file mode 100644 index 00000000..36ae074a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + -65822-10 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_02.xml new file mode 100644 index 00000000..3235123f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 0730-10-14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_03.xml new file mode 100644 index 00000000..d31b41ec --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + -4111-11Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_04.xml new file mode 100644 index 00000000..336fc1dc --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 1000-01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_05.xml new file mode 100644 index 00000000..62faabe6 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 0010-09-14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_06.xml new file mode 100644 index 00000000..eb8379cd --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 0555-07 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_07.xml new file mode 100644 index 00000000..100bb176 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 0404-11-14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_08.xml new file mode 100644 index 00000000..9a6a9e50 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + -0882-11+14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_09.xml new file mode 100644 index 00000000..9c333d09 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + -0230-09Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_10.xml new file mode 100644 index 00000000..e1097182 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 0119-12-14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_negative_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_negative_year.xml new file mode 100644 index 00000000..40c50ab1 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_negative_year.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + -2001-10 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_very_large_negative_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_very_large_negative_year.xml new file mode 100644 index 00000000..1a8ff563 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_very_large_negative_year.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + -123456789012345678901234567890123456789012345678901234567890-04 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_very_large_positive_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_very_large_positive_year.xml new file mode 100644 index 00000000..356a19b9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_very_large_positive_year.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 123456789012345678901234567890123456789012345678901234567890-04 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_negative_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_negative_offset.xml new file mode 100644 index 00000000..d30bbbad --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 2001-10-02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_positive_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_positive_offset.xml new file mode 100644 index 00000000..9d9de450 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 2001-10+02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_utc_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_utc_zone.xml new file mode 100644 index 00000000..06ab2315 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_utc_zone.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 2001-10Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_zero_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_zero_offset.xml new file mode 100644 index 00000000..da6416c2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_zero_offset.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 2001-10+00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_negative_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_negative_offset.xml new file mode 100644 index 00000000..666f1992 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:gYear + 2001-04:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_negative_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_negative_year.xml new file mode 100644 index 00000000..bd8f9659 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_negative_year.xml @@ -0,0 +1,4 @@ + + xs:gYear + -2001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_positive_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_positive_offset.xml new file mode 100644 index 00000000..a5bd5859 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:gYear + 2001+02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_utc_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_utc_zone.xml new file mode 100644 index 00000000..f79d5686 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_utc_zone.xml @@ -0,0 +1,4 @@ + + xs:gYear + 2001Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_very_large_negative_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_very_large_negative_year.xml new file mode 100644 index 00000000..16214dd7 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_very_large_negative_year.xml @@ -0,0 +1,4 @@ + + xs:gYear + -123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_very_large_positive_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_very_large_positive_year.xml new file mode 100644 index 00000000..3b55aad0 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_very_large_positive_year.xml @@ -0,0 +1,4 @@ + + xs:gYear + 123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_year_without_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_year_without_zone.xml new file mode 100644 index 00000000..ccdc8fd9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_year_without_zone.xml @@ -0,0 +1,4 @@ + + xs:gYear + 2001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_zero_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_zero_offset.xml new file mode 100644 index 00000000..2ba8ceb6 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_zero_offset.xml @@ -0,0 +1,4 @@ + + xs:gYear + 2001+00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_empty.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_empty.xml new file mode 100644 index 00000000..11eb664e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_empty.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_01.xml new file mode 100644 index 00000000..80f16d0d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + f22fF9004a6D9AD1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_02.xml new file mode 100644 index 00000000..44c26646 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + 00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_03.xml new file mode 100644 index 00000000..fc54c064 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + FFFFfef3CB + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_04.xml new file mode 100644 index 00000000..9e4722aa --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + A8 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_05.xml new file mode 100644 index 00000000..4175ae12 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + 3C3C82 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_06.xml new file mode 100644 index 00000000..1e3f57db --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + 23ee + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_07.xml new file mode 100644 index 00000000..44c26646 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + 00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_08.xml new file mode 100644 index 00000000..5e78b68f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + aBe5ccF85fbf32 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_09.xml new file mode 100644 index 00000000..5e78b68f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + aBe5ccF85fbf32 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_10.xml new file mode 100644 index 00000000..76ab113b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + C4E02bbC + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_long_random_hex.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_long_random_hex.xml new file mode 100644 index 00000000..f41752f1 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_long_random_hex.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e67 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_one_one.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_one_one.xml new file mode 100644 index 00000000..7e33ce78 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_one_one.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + 11 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_one_two.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_one_two.xml new file mode 100644 index 00000000..05bab81e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_one_two.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + 12 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_one_two_three_four.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_one_two_three_four.xml new file mode 100644 index 00000000..7a7234b6 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_one_two_three_four.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + 1234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_common_example.xml new file mode 100644 index 00000000..859f6f03 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_common_example.xml @@ -0,0 +1,4 @@ + + xs:int + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_explicitly_positive.xml new file mode 100644 index 00000000..6fc13330 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:int + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_01.xml new file mode 100644 index 00000000..ce4aa9fc --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:int + 00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_02.xml new file mode 100644 index 00000000..61a6e0ac --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:int + -0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_03.xml new file mode 100644 index 00000000..8a7734c2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:int + 000000000000069268 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_04.xml new file mode 100644 index 00000000..3c336a1d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:int + +478978 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_05.xml new file mode 100644 index 00000000..bce12df4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:int + 7097 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_06.xml new file mode 100644 index 00000000..caac2abd --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:int + 68 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_07.xml new file mode 100644 index 00000000..7dfbfd10 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:int + +0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_08.xml new file mode 100644 index 00000000..7887aa56 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:int + 6612453 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_09.xml new file mode 100644 index 00000000..6545b392 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:int + -00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_10.xml new file mode 100644 index 00000000..79082e78 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:int + +0000000946381 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_max.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_max.xml new file mode 100644 index 00000000..606aaba6 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_max.xml @@ -0,0 +1,4 @@ + + xs:int + 2147483647 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_min.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_min.xml new file mode 100644 index 00000000..b0206e5d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_min.xml @@ -0,0 +1,4 @@ + + xs:int + -2147483648 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_negative.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_negative.xml new file mode 100644 index 00000000..f36a0df8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_negative.xml @@ -0,0 +1,4 @@ + + xs:int + -1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_prefixed_with_zeros.xml new file mode 100644 index 00000000..474a578d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:int + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_zero.xml new file mode 100644 index 00000000..30046c90 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_zero.xml @@ -0,0 +1,4 @@ + + xs:int + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..e423dff6 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:int + 000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_common_example.xml new file mode 100644 index 00000000..7a3c941a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_common_example.xml @@ -0,0 +1,4 @@ + + xs:integer + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_explicitly_positive.xml new file mode 100644 index 00000000..096498cb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:integer + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_01.xml new file mode 100644 index 00000000..86228309 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:integer + 817778847926480 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_02.xml new file mode 100644 index 00000000..c6172c49 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:integer + +022 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_03.xml new file mode 100644 index 00000000..49b48a9d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:integer + -43045 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_04.xml new file mode 100644 index 00000000..48acf184 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:integer + -3009 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_05.xml new file mode 100644 index 00000000..f1c224e2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:integer + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_06.xml new file mode 100644 index 00000000..432ffc53 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:integer + -3 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_07.xml new file mode 100644 index 00000000..c09321eb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:integer + 8 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_08.xml new file mode 100644 index 00000000..f6a64cd5 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:integer + 221 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_09.xml new file mode 100644 index 00000000..c8ff40ed --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:integer + 9191 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_10.xml new file mode 100644 index 00000000..873bbc4c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:integer + -3909 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_negative.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_negative.xml new file mode 100644 index 00000000..ade7f788 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_negative.xml @@ -0,0 +1,4 @@ + + xs:integer + -1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..aaf72243 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:integer + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_very_large.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_very_large.xml new file mode 100644 index 00000000..97d54cc8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_very_large.xml @@ -0,0 +1,4 @@ + + xs:integer + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_zero.xml new file mode 100644 index 00000000..f1c224e2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_zero.xml @@ -0,0 +1,4 @@ + + xs:integer + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..9d14894a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:integer + 000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_common_example.xml new file mode 100644 index 00000000..8e4e80a1 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_common_example.xml @@ -0,0 +1,4 @@ + + xs:long + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_explicitly_positive.xml new file mode 100644 index 00000000..4cdff2e7 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:long + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_01.xml new file mode 100644 index 00000000..547ff70a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:long + -002728 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_02.xml new file mode 100644 index 00000000..51605836 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:long + 6257 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_03.xml new file mode 100644 index 00000000..f6a4fe03 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:long + 088 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_04.xml new file mode 100644 index 00000000..14237fba --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:long + 29 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_05.xml new file mode 100644 index 00000000..d43ef811 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:long + -288 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_06.xml new file mode 100644 index 00000000..7bbec7b0 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:long + 004775 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_07.xml new file mode 100644 index 00000000..427914c3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:long + 2912577609592844 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_08.xml new file mode 100644 index 00000000..fd0e4109 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:long + -0161 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_09.xml new file mode 100644 index 00000000..0cf83071 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:long + 00000000000048533 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_10.xml new file mode 100644 index 00000000..e8b0fabe --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:long + 3116670676 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_max.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_max.xml new file mode 100644 index 00000000..bd752c74 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_max.xml @@ -0,0 +1,4 @@ + + xs:long + 9223372036854775807 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_min.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_min.xml new file mode 100644 index 00000000..3252f0a1 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_min.xml @@ -0,0 +1,4 @@ + + xs:long + -9223372036854775808 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_negative.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_negative.xml new file mode 100644 index 00000000..9eaafdc9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_negative.xml @@ -0,0 +1,4 @@ + + xs:long + -1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_prefixed_with_zeros.xml new file mode 100644 index 00000000..d8fcee91 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:long + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_zero.xml new file mode 100644 index 00000000..1a6b5f10 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_zero.xml @@ -0,0 +1,4 @@ + + xs:long + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..0fec0ab6 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:long + 000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_01.xml new file mode 100644 index 00000000..66d32f50 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_02.xml new file mode 100644 index 00000000..039c991a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -002 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_03.xml new file mode 100644 index 00000000..5b31e0ad --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -009 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_04.xml new file mode 100644 index 00000000..cda5198c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -8 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_05.xml new file mode 100644 index 00000000..e2fa2e01 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_06.xml new file mode 100644 index 00000000..ddf16197 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -00000000000000000000000516481 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_07.xml new file mode 100644 index 00000000..064c606e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -003 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_08.xml new file mode 100644 index 00000000..d5a76b82 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -00126 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_09.xml new file mode 100644 index 00000000..a8974903 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_10.xml new file mode 100644 index 00000000..4f07b32c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -3 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_negative.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_negative.xml new file mode 100644 index 00000000..e2fa2e01 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_negative.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..66d32f50 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_very_large.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_very_large.xml new file mode 100644 index 00000000..caf691ed --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_very_large.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_common_example.xml new file mode 100644 index 00000000..c501e8d2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_common_example.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_explicitly_positive.xml new file mode 100644 index 00000000..3e597010 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml new file mode 100644 index 00000000..f2c2d90b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + +001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_01.xml new file mode 100644 index 00000000..1ab412a0 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + +4 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_02.xml new file mode 100644 index 00000000..a39ddd83 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 00018 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_03.xml new file mode 100644 index 00000000..115ef00a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 22777 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_04.xml new file mode 100644 index 00000000..da0713c9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 22077 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_05.xml new file mode 100644 index 00000000..e3e54637 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + +06 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_06.xml new file mode 100644 index 00000000..05ffd60c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 09 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_07.xml new file mode 100644 index 00000000..d443d485 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + +3 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_08.xml new file mode 100644 index 00000000..c25d6b95 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + +5739 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_09.xml new file mode 100644 index 00000000..7e451065 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + +70126 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_10.xml new file mode 100644 index 00000000..4f48c408 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 05688 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_minus_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_minus_zero.xml new file mode 100644 index 00000000..7dc9a43c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_minus_zero.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + -0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_positive_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_positive_zero.xml new file mode 100644 index 00000000..95807f61 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_positive_zero.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + +0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..6f92a8ec --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_very_large.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_very_large.xml new file mode 100644 index 00000000..5c6eb782 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_very_large.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_zero.xml new file mode 100644 index 00000000..7b7ce3c7 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_zero.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..8d6a525c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_explicitly_positive_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_explicitly_positive_zero.xml new file mode 100644 index 00000000..32865f84 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_explicitly_positive_zero.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + +0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_01.xml new file mode 100644 index 00000000..74967447 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -51 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_02.xml new file mode 100644 index 00000000..012fcab3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -8908938 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_03.xml new file mode 100644 index 00000000..a5427403 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -553 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_04.xml new file mode 100644 index 00000000..32865f84 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + +0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_05.xml new file mode 100644 index 00000000..4c121988 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -4006 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_06.xml new file mode 100644 index 00000000..f092ad21 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -83 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_07.xml new file mode 100644 index 00000000..3bb30899 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -004 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_08.xml new file mode 100644 index 00000000..c39923a2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -551521749598676413553 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_09.xml new file mode 100644 index 00000000..ac234644 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -12116166 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_10.xml new file mode 100644 index 00000000..a5427403 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -553 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_negative.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_negative.xml new file mode 100644 index 00000000..b0197f33 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_negative.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..4be90ec2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_very_large.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_very_large.xml new file mode 100644 index 00000000..90d07527 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_very_large.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_zero.xml new file mode 100644 index 00000000..168aed23 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_zero.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_common_example.xml new file mode 100644 index 00000000..5693a64d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_common_example.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_explicitly_positive.xml new file mode 100644 index 00000000..d2f4c7e5 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_01.xml new file mode 100644 index 00000000..c890b9e9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 550788 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_02.xml new file mode 100644 index 00000000..42a8fab3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 7775 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_03.xml new file mode 100644 index 00000000..c91f64d6 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + +87138 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_04.xml new file mode 100644 index 00000000..d56f2050 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 8093888718 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_05.xml new file mode 100644 index 00000000..b9450d9b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 01145 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_06.xml new file mode 100644 index 00000000..a2b9a57e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_07.xml new file mode 100644 index 00000000..bd883b51 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + +57345 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_08.xml new file mode 100644 index 00000000..3e25b268 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 54691 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_09.xml new file mode 100644 index 00000000..74b774f5 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + +01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_10.xml new file mode 100644 index 00000000..05976d78 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 3 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..759f3fea --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_very_large.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_very_large.xml new file mode 100644 index 00000000..f5e4a8c5 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_very_large.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_common_example.xml new file mode 100644 index 00000000..4f14475c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_common_example.xml @@ -0,0 +1,4 @@ + + xs:short + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_explicitly_positive.xml new file mode 100644 index 00000000..4dc39772 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:short + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_01.xml new file mode 100644 index 00000000..446c918f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:short + 9 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_02.xml new file mode 100644 index 00000000..dab37231 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:short + 01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_03.xml new file mode 100644 index 00000000..4dc39772 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:short + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_04.xml new file mode 100644 index 00000000..c4c7b2f8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:short + 8801 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_05.xml new file mode 100644 index 00000000..301fe6cf --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:short + 125 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_06.xml new file mode 100644 index 00000000..a1b6389a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:short + 20518 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_07.xml new file mode 100644 index 00000000..dc2a06d0 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:short + 60 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_08.xml new file mode 100644 index 00000000..714a7de6 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:short + -01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_09.xml new file mode 100644 index 00000000..951d2983 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:short + +31923 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_10.xml new file mode 100644 index 00000000..b4458bec --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:short + 22 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_max.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_max.xml new file mode 100644 index 00000000..bd30a096 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_max.xml @@ -0,0 +1,4 @@ + + xs:short + 32767 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_min.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_min.xml new file mode 100644 index 00000000..7fe20d4e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_min.xml @@ -0,0 +1,4 @@ + + xs:short + -32768 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_negative.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_negative.xml new file mode 100644 index 00000000..2fba9dcc --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_negative.xml @@ -0,0 +1,4 @@ + + xs:short + -1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_prefixed_with_zeros.xml new file mode 100644 index 00000000..98f10d28 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:short + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_zero.xml new file mode 100644 index 00000000..fa28d8fe --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_zero.xml @@ -0,0 +1,4 @@ + + xs:short + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..744deb7d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:short + 000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_empty.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_empty.xml new file mode 100644 index 00000000..baab0843 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_empty.xml @@ -0,0 +1,4 @@ + + xs:string + + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_free_form_text.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_free_form_text.xml new file mode 100644 index 00000000..5000e5ae --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:string + some free & <free> ᦄ form text + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_01.xml new file mode 100644 index 00000000..8d3143a9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:string + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_02.xml new file mode 100644 index 00000000..5bd451a1 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:string + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_03.xml new file mode 100644 index 00000000..be29e732 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:string + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_04.xml new file mode 100644 index 00000000..5ec8a1c0 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:string + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_05.xml new file mode 100644 index 00000000..35fbdf3b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:string + J5 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_06.xml new file mode 100644 index 00000000..2ee572e4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:string + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_07.xml new file mode 100644 index 00000000..be93d499 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:string + 6 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_08.xml new file mode 100644 index 00000000..0c78ce7d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:string + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_09.xml new file mode 100644 index 00000000..4869014d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:string + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_10.xml new file mode 100644 index 00000000..e0f3e7ca --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:string + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_common_example.xml new file mode 100644 index 00000000..1ef2f6b6 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_common_example.xml @@ -0,0 +1,4 @@ + + xs:time + 21:32:52 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_01.xml new file mode 100644 index 00000000..d74e5c51 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:time + 24:00:00.00Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_02.xml new file mode 100644 index 00000000..363b9bac --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:time + 01:19:39.4378+10:53 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_03.xml new file mode 100644 index 00000000..5261790d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:time + 01:00:12+14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_04.xml new file mode 100644 index 00000000..92919b84 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:time + 24:00:00.0Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_05.xml new file mode 100644 index 00000000..1dbd7edb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:time + 01:10:12+14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_06.xml new file mode 100644 index 00000000..a747a210 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:time + 24:00:00-14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_07.xml new file mode 100644 index 00000000..625ecc76 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:time + 20:55:25 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_08.xml new file mode 100644 index 00000000..fa580769 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:time + 24:00:00-10:44 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_09.xml new file mode 100644 index 00000000..319bc60b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:time + 24:00:00-13:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_10.xml new file mode 100644 index 00000000..07ffe877 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:time + 24:00:00.000000+14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_negative_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_negative_offset.xml new file mode 100644 index 00000000..f22b8f42 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:time + 21:32:52-02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_positive_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_positive_offset.xml new file mode 100644 index 00000000..113df992 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:time + 21:32:52+02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_with_long_second_fractional.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_with_long_second_fractional.xml new file mode 100644 index 00000000..3aa62c54 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_with_long_second_fractional.xml @@ -0,0 +1,4 @@ + + xs:time + 21:32:52.12345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_with_second_fractional.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_with_second_fractional.xml new file mode 100644 index 00000000..42cbc42d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_with_second_fractional.xml @@ -0,0 +1,4 @@ + + xs:time + 21:32:52.12679 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_with_utc_timezone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_with_utc_timezone.xml new file mode 100644 index 00000000..3ecd7cba --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_with_utc_timezone.xml @@ -0,0 +1,4 @@ + + xs:time + 19:32:52Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_zero_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_zero_offset.xml new file mode 100644 index 00000000..52298aac --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_zero_offset.xml @@ -0,0 +1,4 @@ + + xs:time + 21:32:52+00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_common_example.xml new file mode 100644 index 00000000..c9c46e1e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_common_example.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_explicitly_positive.xml new file mode 100644 index 00000000..3f7ed1f5 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_01.xml new file mode 100644 index 00000000..416c682b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 0000000000000000000000000000067 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_02.xml new file mode 100644 index 00000000..73bf3900 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + +130 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_03.xml new file mode 100644 index 00000000..57c6fa2c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 232 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_04.xml new file mode 100644 index 00000000..a31a2599 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + +110 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_05.xml new file mode 100644 index 00000000..1adf6ffa --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + +000000000012 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_06.xml new file mode 100644 index 00000000..7bccc709 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 055 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_07.xml new file mode 100644 index 00000000..476db521 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 031 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_08.xml new file mode 100644 index 00000000..97af575a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 0178 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_09.xml new file mode 100644 index 00000000..efc59df6 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + +00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_10.xml new file mode 100644 index 00000000..75552b2a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + +00000006 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_max.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_max.xml new file mode 100644 index 00000000..a51218ea --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_max.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 255 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_prefixed_with_zeros.xml new file mode 100644 index 00000000..052b439b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_zero.xml new file mode 100644 index 00000000..15686c08 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_zero.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..f85fbb09 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_common_example.xml new file mode 100644 index 00000000..5a1fc142 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_common_example.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_explicitly_positive.xml new file mode 100644 index 00000000..93783e49 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_01.xml new file mode 100644 index 00000000..9b9fdebb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + +000832736002 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_02.xml new file mode 100644 index 00000000..6da3c1eb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 0454 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_03.xml new file mode 100644 index 00000000..c1ea57e2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 0000000000001161715506 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_04.xml new file mode 100644 index 00000000..c63d9ee4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + +0006096840 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_05.xml new file mode 100644 index 00000000..f0116139 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 8547 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_06.xml new file mode 100644 index 00000000..f4f08d62 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + +092843 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_07.xml new file mode 100644 index 00000000..40b9eaed --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + +44 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_08.xml new file mode 100644 index 00000000..096eff4a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + +0881299729 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_09.xml new file mode 100644 index 00000000..60a9a658 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + +00604 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_10.xml new file mode 100644 index 00000000..ceb1bb44 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + +000101 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_max.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_max.xml new file mode 100644 index 00000000..c7ee762a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_max.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 4294967295 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_prefixed_with_zeros.xml new file mode 100644 index 00000000..305ceb50 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_zero.xml new file mode 100644 index 00000000..d0f7d618 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_zero.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..98573f9d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_common_example.xml new file mode 100644 index 00000000..911d41c5 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_common_example.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_explicitly_positive.xml new file mode 100644 index 00000000..9c0290d9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_01.xml new file mode 100644 index 00000000..578d8e72 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_02.xml new file mode 100644 index 00000000..2af63b92 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + +0013081 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_03.xml new file mode 100644 index 00000000..c0a10e9f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + +00008773 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_04.xml new file mode 100644 index 00000000..5779050f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + +000000858 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_05.xml new file mode 100644 index 00000000..52fd8cdf --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + +000000000002599 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_06.xml new file mode 100644 index 00000000..3cb387b2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + +0257364527 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_07.xml new file mode 100644 index 00000000..13cdc490 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + +000000038893 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_08.xml new file mode 100644 index 00000000..d145cb58 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + +0000000000000111491 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_09.xml new file mode 100644 index 00000000..77a6d04b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + +09 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_10.xml new file mode 100644 index 00000000..e1ee3c45 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 0012208354443 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_max.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_max.xml new file mode 100644 index 00000000..71f5ba0c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_max.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 18446744073709551615 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_prefixed_with_zeros.xml new file mode 100644 index 00000000..f683ce00 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_zero.xml new file mode 100644 index 00000000..85dcca03 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_zero.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..b877bd18 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_common_example.xml new file mode 100644 index 00000000..d52a8bbe --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_common_example.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_explicitly_positive.xml new file mode 100644 index 00000000..14cc2545 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_01.xml new file mode 100644 index 00000000..7debb8ec --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + +00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_02.xml new file mode 100644 index 00000000..3596db13 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 06949 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_03.xml new file mode 100644 index 00000000..b5dfc0ee --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 0391 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_04.xml new file mode 100644 index 00000000..dcce8cac --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + +000004 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_05.xml new file mode 100644 index 00000000..b2527803 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 00000000391 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_06.xml new file mode 100644 index 00000000..71ff4e95 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + +085 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_07.xml new file mode 100644 index 00000000..9d259fea --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 10233 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_08.xml new file mode 100644 index 00000000..9c979e13 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 044598 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_09.xml new file mode 100644 index 00000000..8f4c05af --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + +00066 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_10.xml new file mode 100644 index 00000000..095ef102 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + +00000000000000000000003250 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_max.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_max.xml new file mode 100644 index 00000000..60bd755d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_max.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 65535 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_prefixed_with_zeros.xml new file mode 100644 index 00000000..31c06777 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_zero.xml new file mode 100644 index 00000000..550b8d20 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_zero.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..6f3cd1a3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 000 + diff --git a/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..75384e8a --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..3d4c7b8c --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 𠤢4𠤢 + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..1ba54b60 --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + [\h$񒺟ìÖċŠ1¿ + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..483ee300 --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + öĖa􍣡™| + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..71708599 --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + J5 + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..862fbb0d --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..c21e4b46 --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 6 + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..7577d318 --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..d6e1975a --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + <ă<P󨱽²|dnœÞ® + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..05ddd90a --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..56a58722 --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,4 @@ + + a-_-_-_-_-_ + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..f71483de --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,4 @@ + + strange-name_ + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..1700558a --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + fULCVpULCVq + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..ffad0f74 --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + AopQejF + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..9151bb3d --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + Jk0k1414Di + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..ecb130c6 --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + pVz10Vz10vZZNO9hM + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..83fca2dd --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + t8x1pz9WS4TGV + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..2b77838d --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + tWC + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..d8c5aae8 --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + xF2bO_Uje6 + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..7fa68520 --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + EO5DYAe + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..8395f1ae --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + nRdRe + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..c886bd68 --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + P7gn + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..fe53b407 --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,4 @@ + + a-_ + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..97a033f9 --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,4 @@ + + a----------------b + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..f35bb405 --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,4 @@ + + a________________ + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..1bab0e4b --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,4 @@ + + a0 + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..2e208e50 --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,4 @@ + + aa + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..1957b9e0 --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,4 @@ + + a_ + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..46262ddf --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,4 @@ + + AZ + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..a555a5ad --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,4 @@ + + a-b + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..410fc213 --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,4 @@ + + A_ + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/maximal.xml b/test_data/Xml/Expected/propertyMetadata/maximal.xml new file mode 100644 index 00000000..00842c2d --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/maximal.xml @@ -0,0 +1,141 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Expected/propertyMetadata/minimal.xml b/test_data/Xml/Expected/propertyMetadata/minimal.xml new file mode 100644 index 00000000..d86e0f73 --- /dev/null +++ b/test_data/Xml/Expected/propertyMetadata/minimal.xml @@ -0,0 +1,3 @@ + + xs:gDay + diff --git a/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..ddc6fb7f --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..dbcaa3f5 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..d9b2932a --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..cbf50326 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..026b0364 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + J5 + diff --git a/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..d39c55f6 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..02a1bb4e --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + 6 + diff --git a/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..8b026c0d --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..ec42bbcc --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..0b430e60 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/endpointProtocolOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + 0 + diff --git a/test_data/Xml/Expected/protocolInformation/maximal.xml b/test_data/Xml/Expected/protocolInformation/maximal.xml new file mode 100644 index 00000000..c7a1f5bd --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/maximal.xml @@ -0,0 +1,29 @@ + + something_cd6881d8 + Ûă<P󨱽²|dnœÞ® + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 0 + something_063944e1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + W3C_DID + something_9babbd6a + something_05eecee4 + + + RFC_TLSA + something_5beee992 + something_9106f4e0 + + + RFC_TLSA + something_580cb1d7 + something_23f8577a + + + diff --git a/test_data/Xml/Expected/protocolInformation/minimal.xml b/test_data/Xml/Expected/protocolInformation/minimal.xml new file mode 100644 index 00000000..9aa536ab --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/minimal.xml @@ -0,0 +1,3 @@ + + something_cd6881d8 + diff --git a/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..ceead652 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..8c869dd9 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..8f823770 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..4e311a56 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..1305b473 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + J5 + diff --git a/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..4f5d25c3 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..d071f8e8 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + 6 + diff --git a/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..ff236085 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..3f619fe2 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..a4fd362b --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/subprotocolBodyEncodingOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + 0 + diff --git a/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..f9350e71 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..8ed4b789 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..3ee54cc6 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..705eca9f --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..bc227626 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + J5 + diff --git a/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..990f3aab --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..89c555f4 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + 6 + diff --git a/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..1604a354 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..701ee015 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..96316f08 --- /dev/null +++ b/test_data/Xml/Expected/protocolInformation/subprotocolOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + 0 + diff --git a/test_data/Xml/Expected/qualifier/maximal.xml b/test_data/Xml/Expected/qualifier/maximal.xml new file mode 100644 index 00000000..9389d435 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/maximal.xml @@ -0,0 +1,53 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + ValueQualifier + 6 + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Expected/qualifier/minimal.xml b/test_data/Xml/Expected/qualifier/minimal.xml new file mode 100644 index 00000000..74855b28 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/minimal.xml @@ -0,0 +1,4 @@ + + something_86027eb8 + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..a7dd0cb9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..d0101b5e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 𠤢4𠤢 + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..2d747133 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + [\h$񒺟ìÖċŠ1¿ + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..621701b8 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + öĖa􍣡™| + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..bca1955a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + J5 + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..4465634e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..ff2ca408 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 6 + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..ff64ecf0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..0f5fe6d5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + <ă<P󨱽²|dnœÞ® + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..d5f41705 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_URI.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_URI.xml new file mode 100644 index 00000000..cae71aa9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_URI.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + https://github.com/aas-core-works/aas-core-codegen + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_absolute_path_without_scheme.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_absolute_path_without_scheme.xml new file mode 100644 index 00000000..38567930 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_absolute_path_without_scheme.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + /path/to/somewhere + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_empty.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_empty.xml new file mode 100644 index 00000000..9a493c45 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_01.xml new file mode 100644 index 00000000..4c6385b6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + # + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_02.xml new file mode 100644 index 00000000..355324dd --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + //[d6FA:c:8b:4:7:be7:aD:C8C]:/~.49:f%Fee;%9D%58L/Q%ea'+Q%eb:&%7C,t:;a,@&%dB%2D%Ba&%bF%BF,;%06G%a0%bfk%7b&@&@1@=+%fE6%FF2j4;$;=,%Da$=R%17s+2%68;/v%Ca%a0&$d%Fd7%58@%a0%54D%0BA%00Bw%a59:6;;/%f1:;t%98$J0:Y;?%8Dx:%aC&$/S/L%A5u + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_03.xml new file mode 100644 index 00000000..1c5f824a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + A:// + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_04.xml new file mode 100644 index 00000000..9a493c45 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_05.xml new file mode 100644 index 00000000..054f5a07 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + #;+; + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_06.xml new file mode 100644 index 00000000..febda662 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + //@fr+%64@/%C5vw%A8N/%9f;%59%Ea%A9%Dd?#[= + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_07.xml new file mode 100644 index 00000000..7eddf0e3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + q%7E~@$=l#%f6,&;& + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_08.xml new file mode 100644 index 00000000..3779eff2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + j.:/%dd;=%78%Eaui;j/aTF&%Fd%9A9K;%f8-;;'4!C;,:C/=;k%b4;%09;;C%74%3a,2%C09;%127%5C;%81%d09/+;/%65%41%a0,@%34C_;%6E*;;%42%D9;%BA7%7EY%D4;%60Z=,/:+;$E&+$%Db4'%F2%7E;'+6-r$%64-;l%85%Eb%Ec+%ae/;=$-;;.%02L;,;%3Bj%a2:&@%3Ak$:;%CB;,(h(::=%b1;$+5&%810%04%3e,@$%60:G+%2d%c8%A4%01%5c,=&:O'CG%Eb@isa%2A+&$$%8D7X.+v)%Ed;3%6eo%DB&;7@%86n=9%aC%02;;k%bDH;%C0%BB;%c9,KF%De&%0A%6fP$:%9B%f5H%b8/T;%01$,%dD%8A%6B!/;,++;=;;%8dk$%0F%FB;;N%6B@;Om$%00# + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_09.xml new file mode 100644 index 00000000..309a73d6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + #b%39DX%f9a%76u%da%A1@%a9%D3n + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_10.xml new file mode 100644 index 00000000..361c7410 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + ///%6B%0EX%9f-=++$:3%9az+,c&%3F:'Sx%3d%00:%7f%40:%08,;%5b%90%A1c;(;$:$y+%5b/=t%40+H+a@%E7$G%58;:+R$g$-yT%08&:,%fB;%F5b@;%Eb3%0C%A3n%4A%7dBf%75%2F%fc;vZ-%aFV$;%3a&;;=%fC;;~@+/=%A4# + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_integer.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_integer.xml new file mode 100644 index 00000000..d63ca175 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_integer.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + 1234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_relative_path_without_scheme.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_relative_path_without_scheme.xml new file mode 100644 index 00000000..f88d673b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_relative_path_without_scheme.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + path/to/somewhere + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_an_empty_value_is_valid.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_an_empty_value_is_valid.xml new file mode 100644 index 00000000..c831795b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_an_empty_value_is_valid.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_equals_signs_are_used_for_padding.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_equals_signs_are_used_for_padding.xml new file mode 100644 index 00000000..02f2c878 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_equals_signs_are_used_for_padding.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + 0F+40A== + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_01.xml new file mode 100644 index 00000000..47692c17 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + RJ I k 7 c /F / 1 J8F o 0ivZ v AE 3bj ASP y PI k+ 1 fku W 5M= + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_02.xml new file mode 100644 index 00000000..b030e73a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + Ie 9 20 Y F 5 Ve9 Y c 0W rH p 2 FQaS /xw /t RtE= + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_03.xml new file mode 100644 index 00000000..39861366 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + n3wT + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_04.xml new file mode 100644 index 00000000..cc223eb8 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + wfw E + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_05.xml new file mode 100644 index 00000000..00678ad5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + jj5 n + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_06.xml new file mode 100644 index 00000000..06f650e4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + j j5 n + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_07.xml new file mode 100644 index 00000000..6b70ba5b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + S w SO 5 S5r + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_08.xml new file mode 100644 index 00000000..625b6d77 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + UBU iUBU iQ n cy q 7wK + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_09.xml new file mode 100644 index 00000000..d153c807 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + HU UH + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_10.xml new file mode 100644 index 00000000..7a351645 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + 00000000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml new file mode 100644 index 00000000..e3e14d41 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + 0 FB8 0F+9 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_without_space_lowercase.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_without_space_lowercase.xml new file mode 100644 index 00000000..45b9dbd8 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_without_space_lowercase.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + 0fb8 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_without_space_uppercase.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_without_space_uppercase.xml new file mode 100644 index 00000000..fe261d93 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_without_space_uppercase.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + 0FB8 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_false_as_number.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_false_as_number.xml new file mode 100644 index 00000000..ad1815f9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_false_as_number.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_false_in_letters.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_false_in_letters.xml new file mode 100644 index 00000000..5d04fcbf --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_false_in_letters.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + false + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_true_as_number.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_true_as_number.xml new file mode 100644 index 00000000..6910bed4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_true_as_number.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_true_in_letters.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_true_in_letters.xml new file mode 100644 index 00000000..d39dfeb9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_true_in_letters.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + true + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_common_example.xml new file mode 100644 index 00000000..2572ea02 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_explicitly_positive.xml new file mode 100644 index 00000000..1ee778e6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_01.xml new file mode 100644 index 00000000..9276fedb --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 05 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_02.xml new file mode 100644 index 00000000..8aba8462 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 000110 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_03.xml new file mode 100644 index 00000000..b9edcadb --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + +00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_04.xml new file mode 100644 index 00000000..b744f731 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + -108 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_05.xml new file mode 100644 index 00000000..f18f05ee --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 0001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_06.xml new file mode 100644 index 00000000..17be3157 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 103 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_07.xml new file mode 100644 index 00000000..42eb56de --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 06 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_08.xml new file mode 100644 index 00000000..82f94e03 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + +0000002 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_09.xml new file mode 100644 index 00000000..a7e4159e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 000000006 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_10.xml new file mode 100644 index 00000000..18180b5b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + -00011 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_max.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_max.xml new file mode 100644 index 00000000..fa4238e3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_max.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 127 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_min.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_min.xml new file mode 100644 index 00000000..9ed9abec --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_min.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + -128 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_negative.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_negative.xml new file mode 100644 index 00000000..54f06cd9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + -1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_prefixed_with_zeros.xml new file mode 100644 index 00000000..d9b28c72 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_zero.xml new file mode 100644 index 00000000..a3b301dd --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..61c98f9b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date.xml new file mode 100644 index 00000000..ca5a8a11 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_large_negative_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_large_negative_year.xml new file mode 100644 index 00000000..c87fcaaa --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_large_negative_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + -12345678901234567890123456789012345678901234567890-04-01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_large_positive_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_large_positive_year.xml new file mode 100644 index 00000000..c21369e9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_large_positive_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 12345678901234567890123456789012345678901234567890-04-01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_negative_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_negative_offset.xml new file mode 100644 index 00000000..17832f82 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01-02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_positive_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_positive_offset.xml new file mode 100644 index 00000000..eaf1a81d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01+02:34 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_utc.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_utc.xml new file mode 100644 index 00000000..96178202 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_utc.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_zero_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_zero_offset.xml new file mode 100644 index 00000000..ec25e843 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_zero_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01+00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_01.xml new file mode 100644 index 00000000..b1a7aab7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 0705-04-10+14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_02.xml new file mode 100644 index 00000000..aca539f2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + -0236-12-31Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_03.xml new file mode 100644 index 00000000..2a53bb35 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 9088-11-06 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_04.xml new file mode 100644 index 00000000..5ddf2a6f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + -7506-08-02 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_05.xml new file mode 100644 index 00000000..62948bb0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + -3637143-04-09 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_06.xml new file mode 100644 index 00000000..6d882d83 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + -0311-11-30 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_07.xml new file mode 100644 index 00000000..5da2b807 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + -0844-11-30 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_08.xml new file mode 100644 index 00000000..b8e5d35e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 0111-04-04 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_09.xml new file mode 100644 index 00000000..c7204c62 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 0412-04-08-10:58 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_10.xml new file mode 100644 index 00000000..dc5e43a7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 0520-01-01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_UTC.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_UTC.xml new file mode 100644 index 00000000..f9c2c4c7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_UTC.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_large_negative_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_large_negative_year.xml new file mode 100644 index 00000000..0966cba5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_large_negative_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -12345678901234567890123456789012345678901234567890-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_large_positive_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_large_positive_year.xml new file mode 100644 index 00000000..dc305961 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_large_positive_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 12345678901234567890123456789012345678901234567890-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_long_fractional_seconds.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_long_fractional_seconds.xml new file mode 100644 index 00000000..28f82c80 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_long_fractional_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02:03.0123456789Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_negative_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_negative_offset.xml new file mode 100644 index 00000000..db6b70de --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02:03+00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_positive_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_positive_offset.xml new file mode 100644 index 00000000..281f5a65 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_zero_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_zero_offset.xml new file mode 100644 index 00000000..db6b70de --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_zero_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02:03+00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_without_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_without_zone.xml new file mode 100644 index 00000000..d1d75378 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_01.xml new file mode 100644 index 00000000..0791804f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -0811-10-21T24:00:00.000000Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_02.xml new file mode 100644 index 00000000..c47858c0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -0819-11-21T24:00:00.00Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_03.xml new file mode 100644 index 00000000..a616bc64 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -665280014-06-30T21:15:16Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_04.xml new file mode 100644 index 00000000..8095e1ce --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -0811-11-21T24:00:00.0000Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_05.xml new file mode 100644 index 00000000..c792514f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 0532-09-07T18:47:52+14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_06.xml new file mode 100644 index 00000000..35fb64d1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 0707-11-02T24:00:00.00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_07.xml new file mode 100644 index 00000000..2fecd66e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -0003-12-20T22:53:54.02567 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_08.xml new file mode 100644 index 00000000..d4b0d158 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -1092-02-25T24:00:00.0000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_09.xml new file mode 100644 index 00000000..4c410af5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -6602-06-30T24:00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_10.xml new file mode 100644 index 00000000..3615bbf4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -2111111-08-31T23:58:19.269348 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_midnight_with_24_hours.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_midnight_with_24_hours.xml new file mode 100644 index 00000000..5e2f2060 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_midnight_with_24_hours.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T24:00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_midnight_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_midnight_with_zeros.xml new file mode 100644 index 00000000..83bd8a29 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_midnight_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T00:00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..82b54470 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_year_1_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -0001-02-29T01:02:03 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..a78a579d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_year_5_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -0005-02-29T01:02:03 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..20e940de --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_year_1_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + -0001-02-29 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..475a9527 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_year_5_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + -0005-02-29 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_decimal.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_decimal.xml new file mode 100644 index 00000000..67177ae2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + 1234.01234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_decimal_with_long_fractional.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_decimal_with_long_fractional.xml new file mode 100644 index 00000000..4156188f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_decimal_with_long_fractional.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_decimal_with_preceding_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_decimal_with_preceding_zeros.xml new file mode 100644 index 00000000..905c3308 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_decimal_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + 0001234.01234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_01.xml new file mode 100644 index 00000000..8e6ab8c8 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + .33324 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_02.xml new file mode 100644 index 00000000..187fcefe --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + 01195 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_03.xml new file mode 100644 index 00000000..f52bd377 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + +875 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_04.xml new file mode 100644 index 00000000..f10b69d3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + -8 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_05.xml new file mode 100644 index 00000000..696f1b07 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + -0.0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_06.xml new file mode 100644 index 00000000..91859817 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + -13522106 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_07.xml new file mode 100644 index 00000000..5d05b6d1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + +10 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_08.xml new file mode 100644 index 00000000..27f25fa9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + -030725 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_09.xml new file mode 100644 index 00000000..a93b4b59 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + .3 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_10.xml new file mode 100644 index 00000000..9e9b7314 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + 0061707 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_integer.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_integer.xml new file mode 100644 index 00000000..e960bc10 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_integer.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + 1234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..10d221a7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_integer_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + 0001234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_very_large_decimal.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_very_large_decimal.xml new file mode 100644 index 00000000..c2f21887 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_very_large_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890.12345678901234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_double.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_double.xml new file mode 100644 index 00000000..d66fa84b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_double.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 1234.01234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_01.xml new file mode 100644 index 00000000..9d7d2c3b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + .1118 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_02.xml new file mode 100644 index 00000000..e291961d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + -.662 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_03.xml new file mode 100644 index 00000000..39e2c21d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + .0E0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_04.xml new file mode 100644 index 00000000..c765d2f5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + .4 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_05.xml new file mode 100644 index 00000000..b1d4026a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + .11 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_06.xml new file mode 100644 index 00000000..a3e38f97 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + +76E-86 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_07.xml new file mode 100644 index 00000000..e291961d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + -.662 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_08.xml new file mode 100644 index 00000000..200c5cb0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 1e+7 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_09.xml new file mode 100644 index 00000000..b073445e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + -.66E-45 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_10.xml new file mode 100644 index 00000000..05ffeb8d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 140206134 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_inf.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_inf.xml new file mode 100644 index 00000000..d76866f3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_inf.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + INF + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_integer.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_integer.xml new file mode 100644 index 00000000..fddbc470 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_integer.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 1234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..934ea59e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_integer_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 0001234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_loss_of_precision_is_not_detected_by_design.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_loss_of_precision_is_not_detected_by_design.xml new file mode 100644 index 00000000..4aba3cb6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_loss_of_precision_is_not_detected_by_design.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_lowest.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_lowest.xml new file mode 100644 index 00000000..ab6ca357 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_lowest.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_max.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_max.xml new file mode 100644 index 00000000..3f10cffa --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_max.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_minus_inf.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_minus_inf.xml new file mode 100644 index 00000000..160f7e37 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_minus_inf.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + -INF + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_nan.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_nan.xml new file mode 100644 index 00000000..7f462535 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_nan.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + NaN + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation.xml new file mode 100644 index 00000000..d15e195f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 12.34e56 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_negative.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_negative.xml new file mode 100644 index 00000000..932d1dfa --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + -12.34e56 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_negative_exponent.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_negative_exponent.xml new file mode 100644 index 00000000..ae2b4603 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_negative_exponent.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 12.34e-56 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_positive.xml new file mode 100644 index 00000000..411caa88 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + +12.34e56 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_positive_exponent.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_positive_exponent.xml new file mode 100644 index 00000000..a3030db1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_positive_exponent.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 12.34e+56 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_very_large_normal.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_very_large_normal.xml new file mode 100644 index 00000000..383c932a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_very_large_normal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 2e307 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_very_precise_subnormal.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_very_precise_subnormal.xml new file mode 100644 index 00000000..89601e16 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_very_precise_subnormal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 2e-307 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_with_preceding_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_with_preceding_zeros.xml new file mode 100644 index 00000000..a27cc195 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 0001234.01234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_day_seconds.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_day_seconds.xml new file mode 100644 index 00000000..7a18b0d7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_day_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + P1DT2S + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_full.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_full.xml new file mode 100644 index 00000000..b05dfe18 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_full.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + P1Y2M3DT5H20M30.123S + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_01.xml new file mode 100644 index 00000000..0915f342 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + -P009D + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_02.xml new file mode 100644 index 00000000..6381da85 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + P5Y36660767143M + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_03.xml new file mode 100644 index 00000000..cc9f2030 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + -PT01332.1S + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_04.xml new file mode 100644 index 00000000..5726f495 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + -P11DT142M + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_05.xml new file mode 100644 index 00000000..aaac3229 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + PT88M48936316289.34291243605107045S + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_06.xml new file mode 100644 index 00000000..fd11f19c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + -P1M923D + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_07.xml new file mode 100644 index 00000000..4919e9f4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + -PT0.332S + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_08.xml new file mode 100644 index 00000000..9714d1a1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + -PT313148178698146281H866062127724898M + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_09.xml new file mode 100644 index 00000000..a9633fe1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + -PT1.5375209S + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_10.xml new file mode 100644 index 00000000..138d86e7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + PT18688M + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_long_second_fractal.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_long_second_fractal.xml new file mode 100644 index 00000000..82b611fd --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_long_second_fractal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + PT1.12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_many_many_seconds.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_many_many_seconds.xml new file mode 100644 index 00000000..b007b982 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_many_many_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + PT12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_month_seconds.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_month_seconds.xml new file mode 100644 index 00000000..3ce6c8b3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_month_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + PT2M10S + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_only_seconds.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_only_seconds.xml new file mode 100644 index 00000000..ee0a930a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_only_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + PT130S + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_only_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_only_year.xml new file mode 100644 index 00000000..e4de0bc4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_only_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + -P1Y + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_float.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_float.xml new file mode 100644 index 00000000..7b56e634 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_float.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 1234.01234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_01.xml new file mode 100644 index 00000000..a44fcf8c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + -.80E0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_02.xml new file mode 100644 index 00000000..fba2f14b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + -147E7 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_03.xml new file mode 100644 index 00000000..13dbbc3a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 18 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_04.xml new file mode 100644 index 00000000..78a17bd8 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + .1532E+16 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_05.xml new file mode 100644 index 00000000..d994273f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + +44.6393 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_06.xml new file mode 100644 index 00000000..7c66fe98 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + .5885e-29 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_07.xml new file mode 100644 index 00000000..6ca5ce9f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 1e-7 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_08.xml new file mode 100644 index 00000000..cb2b33c5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + +732.55619 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_09.xml new file mode 100644 index 00000000..7d172006 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + .1E05 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_10.xml new file mode 100644 index 00000000..22a32538 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 1102 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_inf.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_inf.xml new file mode 100644 index 00000000..1a43f985 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_inf.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + INF + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_integer.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_integer.xml new file mode 100644 index 00000000..362a3805 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_integer.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 1234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..0f1f930b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_integer_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 0001234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_largest_normal.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_largest_normal.xml new file mode 100644 index 00000000..553cec9c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_largest_normal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 340282346638528859811704183484516925440 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_largest_number_less_than_one.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_largest_number_less_than_one.xml new file mode 100644 index 00000000..ffbc76c1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_largest_number_less_than_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 0.999999940395355224609375 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_largest_subnormal.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_largest_subnormal.xml new file mode 100644 index 00000000..db0db8cd --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_largest_subnormal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 0.00000000000000000000000000000000000001175494210692441075487029444849287348827052428745893333857174530571588870475618904265502351336181163787841796875 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_loss_of_precision_is_not_detected_by_design.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_loss_of_precision_is_not_detected_by_design.xml new file mode 100644 index 00000000..e8ea1ff4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_loss_of_precision_is_not_detected_by_design.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_nan.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_nan.xml new file mode 100644 index 00000000..4d2f5a1d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_nan.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + NaN + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_negative_inf.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_negative_inf.xml new file mode 100644 index 00000000..df850c23 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_negative_inf.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + -INF + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation.xml new file mode 100644 index 00000000..d4621059 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 12.34e16 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_negative.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_negative.xml new file mode 100644 index 00000000..62385bd1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + -12.34e16 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_negative_exponent.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_negative_exponent.xml new file mode 100644 index 00000000..ee6fe872 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_negative_exponent.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 12.34e-16 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_positive.xml new file mode 100644 index 00000000..51e25a44 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + +12.34e16 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_positive_exponent.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_positive_exponent.xml new file mode 100644 index 00000000..fe8a6281 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_positive_exponent.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 12.34e+16 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_smallest_number_larger_than_one.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_smallest_number_larger_than_one.xml new file mode 100644 index 00000000..db96f0f9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_smallest_number_larger_than_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 1.00000011920928955078125 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_smallest_positive_normal.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_smallest_positive_normal.xml new file mode 100644 index 00000000..9651f580 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_smallest_positive_normal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 0.000000000000000000000000000000000000011754943508222875079687365372222456778186655567720875215087517062784172594547271728515625 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_smallest_positive_subnormal.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_smallest_positive_subnormal.xml new file mode 100644 index 00000000..ee1f3895 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_smallest_positive_subnormal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 0.00000000000000000000000000000000000000000000140129846432481707092372958328991613128026194187651577175706828388979108268586060148663818836212158203125 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_with_preceding_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_with_preceding_zeros.xml new file mode 100644 index 00000000..666806ef --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 0001234.01234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_day_not_existing_in_all_months_without_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_day_not_existing_in_all_months_without_zone.xml new file mode 100644 index 00000000..29ca8aba --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_day_not_existing_in_all_months_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---31 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_double_digit_day_without_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_double_digit_day_without_zone.xml new file mode 100644 index 00000000..06fef91e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_double_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---15 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_01.xml new file mode 100644 index 00000000..e258222d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---23Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_02.xml new file mode 100644 index 00000000..10208f40 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---24 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_03.xml new file mode 100644 index 00000000..b167bde1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---10 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_04.xml new file mode 100644 index 00000000..f713f407 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---30-14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_05.xml new file mode 100644 index 00000000..f31fe1ba --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---31-09:25 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_06.xml new file mode 100644 index 00000000..76b142f7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---17Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_07.xml new file mode 100644 index 00000000..cc3207ab --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---30+00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_08.xml new file mode 100644 index 00000000..fd7b761d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---30-10:11 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_09.xml new file mode 100644 index 00000000..35e01ee2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---22Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_10.xml new file mode 100644 index 00000000..9e2a326b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---30Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_negative_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_negative_offset.xml new file mode 100644 index 00000000..da0d9773 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---01-04:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_positive_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_positive_offset.xml new file mode 100644 index 00000000..607bea7d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---01+02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_single_digit_day_without_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_single_digit_day_without_zone.xml new file mode 100644 index 00000000..c634f3ce --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_single_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_utc_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_utc_zone.xml new file mode 100644 index 00000000..af329e3f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_utc_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---01Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_zero_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_zero_offset.xml new file mode 100644 index 00000000..93bf931d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_zero_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---01+00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml new file mode 100644 index 00000000..006de9a5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-14 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml new file mode 100644 index 00000000..c8b447d7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml new file mode 100644 index 00000000..9d0ff7c3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --02-29 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_01.xml new file mode 100644 index 00000000..e28e6860 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-20 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_02.xml new file mode 100644 index 00000000..f76aebc3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --12-06 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_03.xml new file mode 100644 index 00000000..182f46b6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --12-01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_04.xml new file mode 100644 index 00000000..454f1b90 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-21+14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_05.xml new file mode 100644 index 00000000..25f9266d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --10-07 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_06.xml new file mode 100644 index 00000000..b672a257 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --10-30 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_07.xml new file mode 100644 index 00000000..741d098b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --12-27 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_08.xml new file mode 100644 index 00000000..c39f99ab --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --04-30 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_09.xml new file mode 100644 index 00000000..936c5174 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --10-10-14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_10.xml new file mode 100644 index 00000000..777fa494 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --10-11Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_negative_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_negative_offset.xml new file mode 100644 index 00000000..9a4160a0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-01-04:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_positive_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_positive_offset.xml new file mode 100644 index 00000000..547b9009 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-01+02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml new file mode 100644 index 00000000..a6a848e3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --05-01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_utc_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_utc_zone.xml new file mode 100644 index 00000000..7a634e79 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_utc_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-01Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_zero_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_zero_offset.xml new file mode 100644 index 00000000..547b9009 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_zero_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-01+02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_double_digit_month_without_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_double_digit_month_without_zone.xml new file mode 100644 index 00000000..e5304e7a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_double_digit_month_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_01.xml new file mode 100644 index 00000000..a154a15d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11-13:34 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_02.xml new file mode 100644 index 00000000..5efa06b6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --10+14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_03.xml new file mode 100644 index 00000000..f01619af --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --10+07:39 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_04.xml new file mode 100644 index 00000000..ea0e4177 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11-05:22 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_05.xml new file mode 100644 index 00000000..9ec41589 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_06.xml new file mode 100644 index 00000000..447857a6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --12Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_07.xml new file mode 100644 index 00000000..9a0e3653 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --10-13:30 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_08.xml new file mode 100644 index 00000000..acaa204a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --07 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_09.xml new file mode 100644 index 00000000..3fe9d82f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11-10:05 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_10.xml new file mode 100644 index 00000000..e692e490 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11+12:33 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_negative_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_negative_offset.xml new file mode 100644 index 00000000..07d216d2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11-04:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_positive_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_positive_offset.xml new file mode 100644 index 00000000..dce5f317 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11+02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_single_digit_month_without_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_single_digit_month_without_zone.xml new file mode 100644 index 00000000..64b66e0f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_single_digit_month_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --05 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_utc_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_utc_zone.xml new file mode 100644 index 00000000..53113ee9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_utc_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_zero_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_zero_offset.xml new file mode 100644 index 00000000..8daeac2b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_zero_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11+00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_five_digit_negative_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_five_digit_negative_year.xml new file mode 100644 index 00000000..08716758 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_five_digit_negative_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + -20000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_five_digit_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_five_digit_year.xml new file mode 100644 index 00000000..0a37cce4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_five_digit_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 20000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_01.xml new file mode 100644 index 00000000..1cae678a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 0740-07:36 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_02.xml new file mode 100644 index 00000000..e3404422 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 125774274 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_03.xml new file mode 100644 index 00000000..c2f3c6e9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + -0444 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_04.xml new file mode 100644 index 00000000..619b2b3b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 0000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_05.xml new file mode 100644 index 00000000..67e2af4b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + -0111+14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_06.xml new file mode 100644 index 00000000..25a63109 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 11111 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_07.xml new file mode 100644 index 00000000..d87dc2f3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 973419862 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_08.xml new file mode 100644 index 00000000..a2fbadb2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 1717608219759Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_09.xml new file mode 100644 index 00000000..bde2b832 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + -0863 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_10.xml new file mode 100644 index 00000000..a0bcf55d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + -0109+14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_common_year_month.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_common_year_month.xml new file mode 100644 index 00000000..7c6c253a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_common_year_month.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 2001-10 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_five_digit_negative_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_five_digit_negative_year.xml new file mode 100644 index 00000000..c1354665 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_five_digit_negative_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + -20000-04 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_01.xml new file mode 100644 index 00000000..becf04ce --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + -65822-10 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_02.xml new file mode 100644 index 00000000..9b0ab850 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 0730-10-14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_03.xml new file mode 100644 index 00000000..f9f12b37 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + -4111-11Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_04.xml new file mode 100644 index 00000000..951813d0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 1000-01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_05.xml new file mode 100644 index 00000000..28d53fe2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 0010-09-14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_06.xml new file mode 100644 index 00000000..8802264d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 0555-07 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_07.xml new file mode 100644 index 00000000..3d81c540 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 0404-11-14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_08.xml new file mode 100644 index 00000000..81e23bcc --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + -0882-11+14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_09.xml new file mode 100644 index 00000000..c784dc37 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + -0230-09Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_10.xml new file mode 100644 index 00000000..56835826 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 0119-12-14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_negative_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_negative_year.xml new file mode 100644 index 00000000..c8fdff05 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_negative_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + -2001-10 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_very_large_negative_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_very_large_negative_year.xml new file mode 100644 index 00000000..5feb4cd1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_very_large_negative_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + -123456789012345678901234567890123456789012345678901234567890-04 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_very_large_positive_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_very_large_positive_year.xml new file mode 100644 index 00000000..fecdb707 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_very_large_positive_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 123456789012345678901234567890123456789012345678901234567890-04 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_negative_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_negative_offset.xml new file mode 100644 index 00000000..669f4f66 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 2001-10-02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_positive_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_positive_offset.xml new file mode 100644 index 00000000..cb4e57a6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 2001-10+02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_utc_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_utc_zone.xml new file mode 100644 index 00000000..25253912 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_utc_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 2001-10Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_zero_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_zero_offset.xml new file mode 100644 index 00000000..a8c8bbc4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_zero_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 2001-10+00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_negative_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_negative_offset.xml new file mode 100644 index 00000000..25621129 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 2001-04:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_negative_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_negative_year.xml new file mode 100644 index 00000000..019e4937 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_negative_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + -2001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_positive_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_positive_offset.xml new file mode 100644 index 00000000..d9fa8fe0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 2001+02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_utc_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_utc_zone.xml new file mode 100644 index 00000000..875ea7d1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_utc_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 2001Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_very_large_negative_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_very_large_negative_year.xml new file mode 100644 index 00000000..6462e9f9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_very_large_negative_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + -123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_very_large_positive_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_very_large_positive_year.xml new file mode 100644 index 00000000..d20f1efa --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_very_large_positive_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_year_without_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_year_without_zone.xml new file mode 100644 index 00000000..5b2b9d70 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_year_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 2001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_zero_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_zero_offset.xml new file mode 100644 index 00000000..ace17fb2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_zero_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 2001+00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_empty.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_empty.xml new file mode 100644 index 00000000..6232a823 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_01.xml new file mode 100644 index 00000000..4867dc96 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + f22fF9004a6D9AD1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_02.xml new file mode 100644 index 00000000..7987125c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + 00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_03.xml new file mode 100644 index 00000000..275c5ac7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + FFFFfef3CB + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_04.xml new file mode 100644 index 00000000..bd3788b6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + A8 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_05.xml new file mode 100644 index 00000000..541f4329 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + 3C3C82 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_06.xml new file mode 100644 index 00000000..3481b797 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + 23ee + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_07.xml new file mode 100644 index 00000000..7987125c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + 00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_08.xml new file mode 100644 index 00000000..2eff7a31 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + aBe5ccF85fbf32 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_09.xml new file mode 100644 index 00000000..2eff7a31 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + aBe5ccF85fbf32 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_10.xml new file mode 100644 index 00000000..bb8ed510 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + C4E02bbC + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_long_random_hex.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_long_random_hex.xml new file mode 100644 index 00000000..2f688386 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_long_random_hex.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e67 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_one_one.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_one_one.xml new file mode 100644 index 00000000..097a282d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_one_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + 11 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_one_two.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_one_two.xml new file mode 100644 index 00000000..71ec3a65 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_one_two.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + 12 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_one_two_three_four.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_one_two_three_four.xml new file mode 100644 index 00000000..c89acaf0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_one_two_three_four.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + 1234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_common_example.xml new file mode 100644 index 00000000..8c55b675 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_explicitly_positive.xml new file mode 100644 index 00000000..9fb722d1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_01.xml new file mode 100644 index 00000000..ddf6695e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_02.xml new file mode 100644 index 00000000..349a4438 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + -0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_03.xml new file mode 100644 index 00000000..480d03bf --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 000000000000069268 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_04.xml new file mode 100644 index 00000000..ee988d0b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + +478978 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_05.xml new file mode 100644 index 00000000..ed0ba773 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 7097 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_06.xml new file mode 100644 index 00000000..25ff0a6c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 68 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_07.xml new file mode 100644 index 00000000..083e6413 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + +0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_08.xml new file mode 100644 index 00000000..9e048bba --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 6612453 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_09.xml new file mode 100644 index 00000000..ebd7808a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + -00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_10.xml new file mode 100644 index 00000000..ad7c0341 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + +0000000946381 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_max.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_max.xml new file mode 100644 index 00000000..c1e42013 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_max.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 2147483647 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_min.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_min.xml new file mode 100644 index 00000000..01ba0f24 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_min.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + -2147483648 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_negative.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_negative.xml new file mode 100644 index 00000000..a3a773b9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + -1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_prefixed_with_zeros.xml new file mode 100644 index 00000000..8cf0aed1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_zero.xml new file mode 100644 index 00000000..7cc931f1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..19b90322 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_common_example.xml new file mode 100644 index 00000000..2ead42f9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_explicitly_positive.xml new file mode 100644 index 00000000..088e65cd --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_01.xml new file mode 100644 index 00000000..3c1fe65f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 817778847926480 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_02.xml new file mode 100644 index 00000000..6a027ec0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + +022 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_03.xml new file mode 100644 index 00000000..2f351a4b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + -43045 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_04.xml new file mode 100644 index 00000000..db738ef6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + -3009 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_05.xml new file mode 100644 index 00000000..aa0b6ca9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_06.xml new file mode 100644 index 00000000..7b51f7af --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + -3 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_07.xml new file mode 100644 index 00000000..912fb48b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 8 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_08.xml new file mode 100644 index 00000000..95fd96dd --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 221 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_09.xml new file mode 100644 index 00000000..0cb86958 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 9191 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_10.xml new file mode 100644 index 00000000..5960c836 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + -3909 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_negative.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_negative.xml new file mode 100644 index 00000000..70f3a511 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + -1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..ce2c556e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_very_large.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_very_large.xml new file mode 100644 index 00000000..64006865 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_very_large.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_zero.xml new file mode 100644 index 00000000..aa0b6ca9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..3c97ccf4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_common_example.xml new file mode 100644 index 00000000..60851d75 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_explicitly_positive.xml new file mode 100644 index 00000000..41f4ddb3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_01.xml new file mode 100644 index 00000000..e79d206b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + -002728 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_02.xml new file mode 100644 index 00000000..ebbd1b59 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 6257 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_03.xml new file mode 100644 index 00000000..aadbf5c0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 088 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_04.xml new file mode 100644 index 00000000..bf81f373 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 29 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_05.xml new file mode 100644 index 00000000..6f1781cf --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + -288 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_06.xml new file mode 100644 index 00000000..4daf75a2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 004775 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_07.xml new file mode 100644 index 00000000..6167d8af --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 2912577609592844 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_08.xml new file mode 100644 index 00000000..b6cbe1d9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + -0161 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_09.xml new file mode 100644 index 00000000..128d048c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 00000000000048533 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_10.xml new file mode 100644 index 00000000..1db92667 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 3116670676 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_max.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_max.xml new file mode 100644 index 00000000..107f05a7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_max.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 9223372036854775807 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_min.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_min.xml new file mode 100644 index 00000000..12210c12 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_min.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + -9223372036854775808 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_negative.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_negative.xml new file mode 100644 index 00000000..fb6ecdaa --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + -1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_prefixed_with_zeros.xml new file mode 100644 index 00000000..45873671 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_zero.xml new file mode 100644 index 00000000..2d297423 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..3bbab538 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_01.xml new file mode 100644 index 00000000..71f6b6cb --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_02.xml new file mode 100644 index 00000000..9cf3fd57 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -002 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_03.xml new file mode 100644 index 00000000..1247a58a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -009 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_04.xml new file mode 100644 index 00000000..8f9d76dd --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -8 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_05.xml new file mode 100644 index 00000000..d638d4c0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_06.xml new file mode 100644 index 00000000..63479245 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -00000000000000000000000516481 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_07.xml new file mode 100644 index 00000000..e5c72557 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -003 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_08.xml new file mode 100644 index 00000000..adf3f75f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -00126 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_09.xml new file mode 100644 index 00000000..7622c3a7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_10.xml new file mode 100644 index 00000000..5ad10c35 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -3 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_negative.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_negative.xml new file mode 100644 index 00000000..d638d4c0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..71f6b6cb --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_very_large.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_very_large.xml new file mode 100644 index 00000000..849638c8 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_very_large.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_common_example.xml new file mode 100644 index 00000000..86a940dc --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_explicitly_positive.xml new file mode 100644 index 00000000..eb53b7a5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml new file mode 100644 index 00000000..77b31042 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + +001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_01.xml new file mode 100644 index 00000000..daba022f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + +4 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_02.xml new file mode 100644 index 00000000..dceb130c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 00018 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_03.xml new file mode 100644 index 00000000..8e3d82ff --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 22777 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_04.xml new file mode 100644 index 00000000..983d3cdf --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 22077 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_05.xml new file mode 100644 index 00000000..2e9efd3c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + +06 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_06.xml new file mode 100644 index 00000000..476659b3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 09 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_07.xml new file mode 100644 index 00000000..191b5749 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + +3 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_08.xml new file mode 100644 index 00000000..b2a85b20 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + +5739 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_09.xml new file mode 100644 index 00000000..1d89e2d1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + +70126 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_10.xml new file mode 100644 index 00000000..02fc74d0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 05688 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_minus_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_minus_zero.xml new file mode 100644 index 00000000..d38ec6c6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_minus_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + -0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_positive_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_positive_zero.xml new file mode 100644 index 00000000..48f54df3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_positive_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + +0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..98354803 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_very_large.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_very_large.xml new file mode 100644 index 00000000..2a6ba846 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_very_large.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_zero.xml new file mode 100644 index 00000000..908b4469 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..c4e403c5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_explicitly_positive_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_explicitly_positive_zero.xml new file mode 100644 index 00000000..2f1c0af7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_explicitly_positive_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + +0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_01.xml new file mode 100644 index 00000000..8218f63d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -51 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_02.xml new file mode 100644 index 00000000..0c41b964 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -8908938 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_03.xml new file mode 100644 index 00000000..c1ff252c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -553 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_04.xml new file mode 100644 index 00000000..2f1c0af7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + +0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_05.xml new file mode 100644 index 00000000..da836215 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -4006 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_06.xml new file mode 100644 index 00000000..41124550 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -83 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_07.xml new file mode 100644 index 00000000..e1472c60 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -004 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_08.xml new file mode 100644 index 00000000..22a863fa --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -551521749598676413553 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_09.xml new file mode 100644 index 00000000..87d63259 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -12116166 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_10.xml new file mode 100644 index 00000000..c1ff252c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -553 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_negative.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_negative.xml new file mode 100644 index 00000000..5ad2d9a6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..84bd6783 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_very_large.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_very_large.xml new file mode 100644 index 00000000..ad14a9fa --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_very_large.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_zero.xml new file mode 100644 index 00000000..205ef1e6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_common_example.xml new file mode 100644 index 00000000..d440c043 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_explicitly_positive.xml new file mode 100644 index 00000000..ed5faa90 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_01.xml new file mode 100644 index 00000000..26abdff4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 550788 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_02.xml new file mode 100644 index 00000000..9bedc03c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 7775 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_03.xml new file mode 100644 index 00000000..081039b8 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + +87138 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_04.xml new file mode 100644 index 00000000..77b0647e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 8093888718 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_05.xml new file mode 100644 index 00000000..ae835d79 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 01145 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_06.xml new file mode 100644 index 00000000..78b34692 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_07.xml new file mode 100644 index 00000000..9cf28422 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + +57345 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_08.xml new file mode 100644 index 00000000..91a805ce --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 54691 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_09.xml new file mode 100644 index 00000000..0c7d9958 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + +01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_10.xml new file mode 100644 index 00000000..f014d63e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 3 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..8b4d38df --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_very_large.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_very_large.xml new file mode 100644 index 00000000..f781234e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_very_large.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_common_example.xml new file mode 100644 index 00000000..ebcf1559 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_explicitly_positive.xml new file mode 100644 index 00000000..5444e11f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_01.xml new file mode 100644 index 00000000..c06a40fc --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 9 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_02.xml new file mode 100644 index 00000000..39cfc893 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_03.xml new file mode 100644 index 00000000..5444e11f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_04.xml new file mode 100644 index 00000000..151803b8 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 8801 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_05.xml new file mode 100644 index 00000000..575d917b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 125 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_06.xml new file mode 100644 index 00000000..a161b698 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 20518 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_07.xml new file mode 100644 index 00000000..23587201 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 60 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_08.xml new file mode 100644 index 00000000..96d0213a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + -01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_09.xml new file mode 100644 index 00000000..5ee1f0df --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + +31923 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_10.xml new file mode 100644 index 00000000..d4992d4f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 22 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_max.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_max.xml new file mode 100644 index 00000000..b85a7518 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_max.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 32767 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_min.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_min.xml new file mode 100644 index 00000000..1fe99663 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_min.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + -32768 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_negative.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_negative.xml new file mode 100644 index 00000000..496ea296 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + -1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_prefixed_with_zeros.xml new file mode 100644 index 00000000..f208668b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_zero.xml new file mode 100644 index 00000000..b1c1a5b4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..39a00c35 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_empty.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_empty.xml new file mode 100644 index 00000000..39c3ce6f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_free_form_text.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_free_form_text.xml new file mode 100644 index 00000000..a90f5027 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + some free & <free> ᦄ form text + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_01.xml new file mode 100644 index 00000000..f494821e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_02.xml new file mode 100644 index 00000000..eee54ab4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_03.xml new file mode 100644 index 00000000..43416cf4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_04.xml new file mode 100644 index 00000000..ddb9cda6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_05.xml new file mode 100644 index 00000000..439fd9ab --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + J5 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_06.xml new file mode 100644 index 00000000..d5ee6117 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_07.xml new file mode 100644 index 00000000..ed31ef84 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + 6 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_08.xml new file mode 100644 index 00000000..27d5cb09 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_09.xml new file mode 100644 index 00000000..9a71423d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_10.xml new file mode 100644 index 00000000..e5d921c4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_common_example.xml new file mode 100644 index 00000000..fb794920 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 21:32:52 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_01.xml new file mode 100644 index 00000000..a883e21c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 24:00:00.00Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_02.xml new file mode 100644 index 00000000..e8eccfe5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 01:19:39.4378+10:53 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_03.xml new file mode 100644 index 00000000..abc95797 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 01:00:12+14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_04.xml new file mode 100644 index 00000000..e6c1f25a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 24:00:00.0Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_05.xml new file mode 100644 index 00000000..694f5c8d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 01:10:12+14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_06.xml new file mode 100644 index 00000000..6b5cef7f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 24:00:00-14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_07.xml new file mode 100644 index 00000000..fd312e90 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 20:55:25 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_08.xml new file mode 100644 index 00000000..6552dc7e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 24:00:00-10:44 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_09.xml new file mode 100644 index 00000000..d35675ac --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 24:00:00-13:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_10.xml new file mode 100644 index 00000000..b74f446a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 24:00:00.000000+14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_negative_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_negative_offset.xml new file mode 100644 index 00000000..13809fc4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 21:32:52-02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_positive_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_positive_offset.xml new file mode 100644 index 00000000..d1e53806 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 21:32:52+02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_with_long_second_fractional.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_with_long_second_fractional.xml new file mode 100644 index 00000000..4d5e9610 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_with_long_second_fractional.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 21:32:52.12345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_with_second_fractional.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_with_second_fractional.xml new file mode 100644 index 00000000..daada340 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_with_second_fractional.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 21:32:52.12679 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_with_utc_timezone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_with_utc_timezone.xml new file mode 100644 index 00000000..73e7c3d2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_with_utc_timezone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 19:32:52Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_zero_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_zero_offset.xml new file mode 100644 index 00000000..7f37db12 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_zero_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 21:32:52+00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_common_example.xml new file mode 100644 index 00000000..155eaee6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_explicitly_positive.xml new file mode 100644 index 00000000..02fc1f49 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_01.xml new file mode 100644 index 00000000..419225d6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 0000000000000000000000000000067 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_02.xml new file mode 100644 index 00000000..a2887521 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + +130 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_03.xml new file mode 100644 index 00000000..1b68de96 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 232 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_04.xml new file mode 100644 index 00000000..0997e435 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + +110 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_05.xml new file mode 100644 index 00000000..39030812 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + +000000000012 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_06.xml new file mode 100644 index 00000000..b2763ac7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 055 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_07.xml new file mode 100644 index 00000000..33219d0a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 031 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_08.xml new file mode 100644 index 00000000..669af4f9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 0178 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_09.xml new file mode 100644 index 00000000..4c30ade6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + +00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_10.xml new file mode 100644 index 00000000..95f2b1db --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + +00000006 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_max.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_max.xml new file mode 100644 index 00000000..841157bc --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_max.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 255 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_prefixed_with_zeros.xml new file mode 100644 index 00000000..156ac32d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_zero.xml new file mode 100644 index 00000000..63e72300 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..03bc65a7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_common_example.xml new file mode 100644 index 00000000..6b2eea8c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_explicitly_positive.xml new file mode 100644 index 00000000..e8a1884c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_01.xml new file mode 100644 index 00000000..5e821a55 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + +000832736002 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_02.xml new file mode 100644 index 00000000..a14dca24 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 0454 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_03.xml new file mode 100644 index 00000000..9ed0fa18 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 0000000000001161715506 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_04.xml new file mode 100644 index 00000000..91aea49d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + +0006096840 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_05.xml new file mode 100644 index 00000000..1de364e6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 8547 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_06.xml new file mode 100644 index 00000000..0015ea68 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + +092843 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_07.xml new file mode 100644 index 00000000..cfed7cee --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + +44 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_08.xml new file mode 100644 index 00000000..dab74864 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + +0881299729 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_09.xml new file mode 100644 index 00000000..efff201b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + +00604 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_10.xml new file mode 100644 index 00000000..8cdaf716 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + +000101 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_max.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_max.xml new file mode 100644 index 00000000..50f701c2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_max.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 4294967295 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_prefixed_with_zeros.xml new file mode 100644 index 00000000..3816dc26 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_zero.xml new file mode 100644 index 00000000..cc0d9605 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..48cf1906 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_common_example.xml new file mode 100644 index 00000000..6785acc1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_explicitly_positive.xml new file mode 100644 index 00000000..7f328f8c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_01.xml new file mode 100644 index 00000000..ec310b03 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_02.xml new file mode 100644 index 00000000..f800933d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + +0013081 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_03.xml new file mode 100644 index 00000000..8efdfb48 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + +00008773 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_04.xml new file mode 100644 index 00000000..98e54780 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + +000000858 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_05.xml new file mode 100644 index 00000000..d7b6460e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + +000000000002599 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_06.xml new file mode 100644 index 00000000..1459b65d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + +0257364527 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_07.xml new file mode 100644 index 00000000..9dc0af1e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + +000000038893 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_08.xml new file mode 100644 index 00000000..15086662 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + +0000000000000111491 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_09.xml new file mode 100644 index 00000000..eca476ef --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + +09 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_10.xml new file mode 100644 index 00000000..ae124658 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 0012208354443 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_max.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_max.xml new file mode 100644 index 00000000..636c27ff --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_max.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 18446744073709551615 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_prefixed_with_zeros.xml new file mode 100644 index 00000000..f0b90fc3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_zero.xml new file mode 100644 index 00000000..8e653815 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..4db6db6c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_common_example.xml new file mode 100644 index 00000000..08fba0bc --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_explicitly_positive.xml new file mode 100644 index 00000000..402d5814 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_01.xml new file mode 100644 index 00000000..d7bcf97f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + +00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_02.xml new file mode 100644 index 00000000..88725a26 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 06949 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_03.xml new file mode 100644 index 00000000..4fa83ba5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 0391 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_04.xml new file mode 100644 index 00000000..2fe8ae12 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + +000004 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_05.xml new file mode 100644 index 00000000..9d1bdcf4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 00000000391 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_06.xml new file mode 100644 index 00000000..c7029eec --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + +085 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_07.xml new file mode 100644 index 00000000..a1fb47d4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 10233 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_08.xml new file mode 100644 index 00000000..f87c6549 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 044598 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_09.xml new file mode 100644 index 00000000..931d383a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + +00066 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_10.xml new file mode 100644 index 00000000..3152a134 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + +00000000000000000000003250 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_max.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_max.xml new file mode 100644 index 00000000..3203f4ce --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_max.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 65535 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_prefixed_with_zeros.xml new file mode 100644 index 00000000..19471dc7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_zero.xml new file mode 100644 index 00000000..269a323a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..8dc3d132 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 000 + diff --git a/test_data/Xml/Expected/query/maximal.xml b/test_data/Xml/Expected/query/maximal.xml new file mode 100644 index 00000000..88f5913a --- /dev/null +++ b/test_data/Xml/Expected/query/maximal.xml @@ -0,0 +1,70 @@ + + + + + + + 16#1 + + + 16#1F + + + + + + + $sme + + + + + + + UTCNOW + + + + + + + something_64e5a93b + + + + + + + + + $sme.prop#value + + + + + something_4962fdb9 + + + something_933fd2a5 + + + + + + + $sme.prop#value + + + + + 16#1 + + + 16#00 + + + + + + + diff --git a/test_data/Xml/Expected/query/minimal.xml b/test_data/Xml/Expected/query/minimal.xml new file mode 100644 index 00000000..60b1466f --- /dev/null +++ b/test_data/Xml/Expected/query/minimal.xml @@ -0,0 +1,14 @@ + + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/aas_specific_asset_ids.xml b/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/aas_specific_asset_ids.xml new file mode 100644 index 00000000..0719c48d --- /dev/null +++ b/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/aas_specific_asset_ids.xml @@ -0,0 +1,15 @@ + + $aas#assetInformation.specificAssetIds[] + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/aas_submodels.xml b/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/aas_submodels.xml new file mode 100644 index 00000000..65174123 --- /dev/null +++ b/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/aas_submodels.xml @@ -0,0 +1,15 @@ + + $aas#submodels + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/aasdesc_description.xml b/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/aasdesc_description.xml new file mode 100644 index 00000000..b15d0aa4 --- /dev/null +++ b/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/aasdesc_description.xml @@ -0,0 +1,15 @@ + + $aasdesc#description + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/aasdesc_sm_descriptors.xml b/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/aasdesc_sm_descriptors.xml new file mode 100644 index 00000000..8659fb20 --- /dev/null +++ b/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/aasdesc_sm_descriptors.xml @@ -0,0 +1,15 @@ + + $aasdesc#submodelDescriptors[1].idShort + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/cd_id_short.xml b/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/cd_id_short.xml new file mode 100644 index 00000000..fdd4c13a --- /dev/null +++ b/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/cd_id_short.xml @@ -0,0 +1,15 @@ + + $cd#idShort + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/sm_semantic_id_keys.xml b/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/sm_semantic_id_keys.xml new file mode 100644 index 00000000..65cf74eb --- /dev/null +++ b/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/sm_semantic_id_keys.xml @@ -0,0 +1,15 @@ + + $sm#semanticId.keys[0] + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/smdesc_endpoints.xml b/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/smdesc_endpoints.xml new file mode 100644 index 00000000..e508b7f3 --- /dev/null +++ b/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/smdesc_endpoints.xml @@ -0,0 +1,15 @@ + + $smdesc#endpoints[] + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/sme_only_path.xml b/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/sme_only_path.xml new file mode 100644 index 00000000..106e9024 --- /dev/null +++ b/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/sme_only_path.xml @@ -0,0 +1,15 @@ + + $sme.someCollection + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/sme_root.xml b/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/sme_root.xml new file mode 100644 index 00000000..08f2f618 --- /dev/null +++ b/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/sme_root.xml @@ -0,0 +1,15 @@ + + $sme + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/sme_value.xml b/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/sme_value.xml new file mode 100644 index 00000000..4b9d0073 --- /dev/null +++ b/test_data/Xml/Expected/queryFilter/fragmentOverPatternExamples/sme_value.xml @@ -0,0 +1,15 @@ + + $sme.prop#value + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Expected/queryFilter/maximal.xml b/test_data/Xml/Expected/queryFilter/maximal.xml new file mode 100644 index 00000000..20dd9197 --- /dev/null +++ b/test_data/Xml/Expected/queryFilter/maximal.xml @@ -0,0 +1,15 @@ + + $aas#submodels + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Expected/queryFilter/minimal.xml b/test_data/Xml/Expected/queryFilter/minimal.xml new file mode 100644 index 00000000..65174123 --- /dev/null +++ b/test_data/Xml/Expected/queryFilter/minimal.xml @@ -0,0 +1,15 @@ + + $aas#submodels + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..a95e4cc9 --- /dev/null +++ b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + xs:gDay + diff --git a/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..33bbe87e --- /dev/null +++ b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 𠤢4𠤢 + xs:gDay + diff --git a/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..7b0a1390 --- /dev/null +++ b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + [\h$񒺟ìÖċŠ1¿ + xs:gDay + diff --git a/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..fd9888c4 --- /dev/null +++ b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + öĖa􍣡™| + xs:gDay + diff --git a/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..4dfa2b1a --- /dev/null +++ b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + J5 + xs:gDay + diff --git a/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..3aa55959 --- /dev/null +++ b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + diff --git a/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..0df5ca02 --- /dev/null +++ b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 6 + xs:gDay + diff --git a/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..fb975420 --- /dev/null +++ b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + xs:gDay + diff --git a/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..acd5f3ae --- /dev/null +++ b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + <ă<P󨱽²|dnœÞ® + xs:gDay + diff --git a/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..9f08aaed --- /dev/null +++ b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..bd3e6c32 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,4 @@ + + a-_-_-_-_-_ + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..3b51ce18 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,4 @@ + + strange-name_ + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..0dc956b4 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + fULCVpULCVq + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..c0d75286 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + AopQejF + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..afc9738c --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + Jk0k1414Di + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..2948310a --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + pVz10Vz10vZZNO9hM + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..9b22cb0e --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + t8x1pz9WS4TGV + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..5dad4bb4 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + tWC + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..0e4164c0 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + xF2bO_Uje6 + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..c84ae3f1 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + EO5DYAe + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..35e17189 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + nRdRe + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..0cddd310 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + P7gn + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..ac23e066 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,4 @@ + + a-_ + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..0b634594 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,4 @@ + + a----------------b + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..b275b5dd --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,4 @@ + + a________________ + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..9e8f69c3 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,4 @@ + + a0 + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..580b9c1e --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,4 @@ + + aa + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..0366a9c8 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,4 @@ + + a_ + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..8f2dfcfc --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,4 @@ + + AZ + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..e1aeead5 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,4 @@ + + a-b + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..12f96497 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,4 @@ + + A_ + xs:gDay + diff --git a/test_data/Xml/Expected/range/maximal.xml b/test_data/Xml/Expected/range/maximal.xml new file mode 100644 index 00000000..88652082 --- /dev/null +++ b/test_data/Xml/Expected/range/maximal.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Expected/range/minimal.xml b/test_data/Xml/Expected/range/minimal.xml new file mode 100644 index 00000000..bfa0386c --- /dev/null +++ b/test_data/Xml/Expected/range/minimal.xml @@ -0,0 +1,3 @@ + + xs:gDay + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_URI.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_URI.xml new file mode 100644 index 00000000..d4d79d36 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_URI.xml @@ -0,0 +1,5 @@ + + xs:anyURI + https://github.com/aas-core-works/aas-core-codegen + https://github.com/aas-core-works/aas-core-codegen + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_absolute_path_without_scheme.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_absolute_path_without_scheme.xml new file mode 100644 index 00000000..63fa04ea --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_absolute_path_without_scheme.xml @@ -0,0 +1,5 @@ + + xs:anyURI + /path/to/somewhere + /path/to/somewhere + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_empty.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_empty.xml new file mode 100644 index 00000000..cddb6b5d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_empty.xml @@ -0,0 +1,5 @@ + + xs:anyURI + + + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_01.xml new file mode 100644 index 00000000..d2c0d27e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:anyURI + # + # + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_02.xml new file mode 100644 index 00000000..66670a7c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:anyURI + //[d6FA:c:8b:4:7:be7:aD:C8C]:/~.49:f%Fee;%9D%58L/Q%ea'+Q%eb:&%7C,t:;a,@&%dB%2D%Ba&%bF%BF,;%06G%a0%bfk%7b&@&@1@=+%fE6%FF2j4;$;=,%Da$=R%17s+2%68;/v%Ca%a0&$d%Fd7%58@%a0%54D%0BA%00Bw%a59:6;;/%f1:;t%98$J0:Y;?%8Dx:%aC&$/S/L%A5u + //[d6FA:c:8b:4:7:be7:aD:C8C]:/~.49:f%Fee;%9D%58L/Q%ea'+Q%eb:&%7C,t:;a,@&%dB%2D%Ba&%bF%BF,;%06G%a0%bfk%7b&@&@1@=+%fE6%FF2j4;$;=,%Da$=R%17s+2%68;/v%Ca%a0&$d%Fd7%58@%a0%54D%0BA%00Bw%a59:6;;/%f1:;t%98$J0:Y;?%8Dx:%aC&$/S/L%A5u + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_03.xml new file mode 100644 index 00000000..49ad29f4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:anyURI + A:// + A:// + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_04.xml new file mode 100644 index 00000000..cddb6b5d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:anyURI + + + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_05.xml new file mode 100644 index 00000000..d6bd94f7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:anyURI + #;+; + #;+; + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_06.xml new file mode 100644 index 00000000..846cb56d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:anyURI + //@fr+%64@/%C5vw%A8N/%9f;%59%Ea%A9%Dd?#[= + //@fr+%64@/%C5vw%A8N/%9f;%59%Ea%A9%Dd?#[= + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_07.xml new file mode 100644 index 00000000..6f157848 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:anyURI + q%7E~@$=l#%f6,&;& + q%7E~@$=l#%f6,&;& + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_08.xml new file mode 100644 index 00000000..ef06bf68 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:anyURI + j.:/%dd;=%78%Eaui;j/aTF&%Fd%9A9K;%f8-;;'4!C;,:C/=;k%b4;%09;;C%74%3a,2%C09;%127%5C;%81%d09/+;/%65%41%a0,@%34C_;%6E*;;%42%D9;%BA7%7EY%D4;%60Z=,/:+;$E&+$%Db4'%F2%7E;'+6-r$%64-;l%85%Eb%Ec+%ae/;=$-;;.%02L;,;%3Bj%a2:&@%3Ak$:;%CB;,(h(::=%b1;$+5&%810%04%3e,@$%60:G+%2d%c8%A4%01%5c,=&:O'CG%Eb@isa%2A+&$$%8D7X.+v)%Ed;3%6eo%DB&;7@%86n=9%aC%02;;k%bDH;%C0%BB;%c9,KF%De&%0A%6fP$:%9B%f5H%b8/T;%01$,%dD%8A%6B!/;,++;=;;%8dk$%0F%FB;;N%6B@;Om$%00# + j.:/%dd;=%78%Eaui;j/aTF&%Fd%9A9K;%f8-;;'4!C;,:C/=;k%b4;%09;;C%74%3a,2%C09;%127%5C;%81%d09/+;/%65%41%a0,@%34C_;%6E*;;%42%D9;%BA7%7EY%D4;%60Z=,/:+;$E&+$%Db4'%F2%7E;'+6-r$%64-;l%85%Eb%Ec+%ae/;=$-;;.%02L;,;%3Bj%a2:&@%3Ak$:;%CB;,(h(::=%b1;$+5&%810%04%3e,@$%60:G+%2d%c8%A4%01%5c,=&:O'CG%Eb@isa%2A+&$$%8D7X.+v)%Ed;3%6eo%DB&;7@%86n=9%aC%02;;k%bDH;%C0%BB;%c9,KF%De&%0A%6fP$:%9B%f5H%b8/T;%01$,%dD%8A%6B!/;,++;=;;%8dk$%0F%FB;;N%6B@;Om$%00# + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_09.xml new file mode 100644 index 00000000..540eee6a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:anyURI + #b%39DX%f9a%76u%da%A1@%a9%D3n + #b%39DX%f9a%76u%da%A1@%a9%D3n + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_10.xml new file mode 100644 index 00000000..456db76d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:anyURI + ///%6B%0EX%9f-=++$:3%9az+,c&%3F:'Sx%3d%00:%7f%40:%08,;%5b%90%A1c;(;$:$y+%5b/=t%40+H+a@%E7$G%58;:+R$g$-yT%08&:,%fB;%F5b@;%Eb3%0C%A3n%4A%7dBf%75%2F%fc;vZ-%aFV$;%3a&;;=%fC;;~@+/=%A4# + ///%6B%0EX%9f-=++$:3%9az+,c&%3F:'Sx%3d%00:%7f%40:%08,;%5b%90%A1c;(;$:$y+%5b/=t%40+H+a@%E7$G%58;:+R$g$-yT%08&:,%fB;%F5b@;%Eb3%0C%A3n%4A%7dBf%75%2F%fc;vZ-%aFV$;%3a&;;=%fC;;~@+/=%A4# + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_integer.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_integer.xml new file mode 100644 index 00000000..a9c6dc33 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_integer.xml @@ -0,0 +1,5 @@ + + xs:anyURI + 1234 + 1234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_relative_path_without_scheme.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_relative_path_without_scheme.xml new file mode 100644 index 00000000..41963655 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_relative_path_without_scheme.xml @@ -0,0 +1,5 @@ + + xs:anyURI + path/to/somewhere + path/to/somewhere + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_an_empty_value_is_valid.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_an_empty_value_is_valid.xml new file mode 100644 index 00000000..cf8d6be0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_an_empty_value_is_valid.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + + + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_equals_signs_are_used_for_padding.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_equals_signs_are_used_for_padding.xml new file mode 100644 index 00000000..0aab2cdc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_equals_signs_are_used_for_padding.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + 0F+40A== + 0F+40A== + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_01.xml new file mode 100644 index 00000000..9c1ee030 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + RJ I k 7 c /F / 1 J8F o 0ivZ v AE 3bj ASP y PI k+ 1 fku W 5M= + RJ I k 7 c /F / 1 J8F o 0ivZ v AE 3bj ASP y PI k+ 1 fku W 5M= + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_02.xml new file mode 100644 index 00000000..9ea3c9ca --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + Ie 9 20 Y F 5 Ve9 Y c 0W rH p 2 FQaS /xw /t RtE= + Ie 9 20 Y F 5 Ve9 Y c 0W rH p 2 FQaS /xw /t RtE= + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_03.xml new file mode 100644 index 00000000..2d10ed1b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + n3wT + n3wT + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_04.xml new file mode 100644 index 00000000..eca2d546 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + wfw E + wfw E + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_05.xml new file mode 100644 index 00000000..f6469256 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + jj5 n + jj5 n + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_06.xml new file mode 100644 index 00000000..bdefe4f1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + j j5 n + j j5 n + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_07.xml new file mode 100644 index 00000000..6b715b24 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + S w SO 5 S5r + S w SO 5 S5r + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_08.xml new file mode 100644 index 00000000..9b8ba67d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + UBU iUBU iQ n cy q 7wK + UBU iUBU iQ n cy q 7wK + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_09.xml new file mode 100644 index 00000000..b76339a0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + HU UH + HU UH + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_10.xml new file mode 100644 index 00000000..80cf1229 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + 00000000 + 00000000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml new file mode 100644 index 00000000..3fac91b5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + 0 FB8 0F+9 + 0 FB8 0F+9 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_without_space_lowercase.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_without_space_lowercase.xml new file mode 100644 index 00000000..f4e47ddd --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_without_space_lowercase.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + 0fb8 + 0fb8 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_without_space_uppercase.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_without_space_uppercase.xml new file mode 100644 index 00000000..6f57c999 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_without_space_uppercase.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + 0FB8 + 0FB8 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_false_as_number.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_false_as_number.xml new file mode 100644 index 00000000..e5f2c679 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_false_as_number.xml @@ -0,0 +1,5 @@ + + xs:boolean + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_false_in_letters.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_false_in_letters.xml new file mode 100644 index 00000000..6126a1ef --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_false_in_letters.xml @@ -0,0 +1,5 @@ + + xs:boolean + false + false + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_true_as_number.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_true_as_number.xml new file mode 100644 index 00000000..f15cdf24 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_true_as_number.xml @@ -0,0 +1,5 @@ + + xs:boolean + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_true_in_letters.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_true_in_letters.xml new file mode 100644 index 00000000..1aa37f35 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_true_in_letters.xml @@ -0,0 +1,5 @@ + + xs:boolean + true + true + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_common_example.xml new file mode 100644 index 00000000..90d4e6fb --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_common_example.xml @@ -0,0 +1,5 @@ + + xs:byte + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_explicitly_positive.xml new file mode 100644 index 00000000..e069710b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:byte + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_01.xml new file mode 100644 index 00000000..06fef4dc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:byte + 05 + 05 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_02.xml new file mode 100644 index 00000000..f84ba41a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:byte + 000110 + 000110 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_03.xml new file mode 100644 index 00000000..2349ac06 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:byte + +00 + +00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_04.xml new file mode 100644 index 00000000..2107cb93 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:byte + -108 + -108 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_05.xml new file mode 100644 index 00000000..238e13a4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:byte + 0001 + 0001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_06.xml new file mode 100644 index 00000000..357c4eb0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:byte + 103 + 103 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_07.xml new file mode 100644 index 00000000..45043677 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:byte + 06 + 06 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_08.xml new file mode 100644 index 00000000..1f851598 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:byte + +0000002 + +0000002 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_09.xml new file mode 100644 index 00000000..d27c757f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:byte + 000000006 + 000000006 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_10.xml new file mode 100644 index 00000000..7442712e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:byte + -00011 + -00011 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_max.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_max.xml new file mode 100644 index 00000000..64ffd598 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_max.xml @@ -0,0 +1,5 @@ + + xs:byte + 127 + 127 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_min.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_min.xml new file mode 100644 index 00000000..47967dc9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_min.xml @@ -0,0 +1,5 @@ + + xs:byte + -128 + -128 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_negative.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_negative.xml new file mode 100644 index 00000000..7e2ce065 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_negative.xml @@ -0,0 +1,5 @@ + + xs:byte + -1 + -1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_prefixed_with_zeros.xml new file mode 100644 index 00000000..eeb28c3b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:byte + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_zero.xml new file mode 100644 index 00000000..05685e58 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_zero.xml @@ -0,0 +1,5 @@ + + xs:byte + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..40168528 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:byte + 000 + 000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_date.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date.xml new file mode 100644 index 00000000..d4653fec --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01 + 2022-04-01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_large_negative_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_large_negative_year.xml new file mode 100644 index 00000000..4a489ecc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_large_negative_year.xml @@ -0,0 +1,5 @@ + + xs:date + -12345678901234567890123456789012345678901234567890-04-01 + -12345678901234567890123456789012345678901234567890-04-01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_large_positive_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_large_positive_year.xml new file mode 100644 index 00000000..c96bfd8b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_large_positive_year.xml @@ -0,0 +1,5 @@ + + xs:date + 12345678901234567890123456789012345678901234567890-04-01 + 12345678901234567890123456789012345678901234567890-04-01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_negative_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_negative_offset.xml new file mode 100644 index 00000000..65c9bbf3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01-02:00 + 2022-04-01-02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_positive_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_positive_offset.xml new file mode 100644 index 00000000..8df27218 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01+02:34 + 2022-04-01+02:34 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_utc.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_utc.xml new file mode 100644 index 00000000..6626e0a8 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_utc.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01Z + 2022-04-01Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_zero_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_zero_offset.xml new file mode 100644 index 00000000..28b61659 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_zero_offset.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01+00:00 + 2022-04-01+00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_01.xml new file mode 100644 index 00000000..9ae6f3bc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:date + 0705-04-10+14:00 + 0705-04-10+14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_02.xml new file mode 100644 index 00000000..5c75d21a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:date + -0236-12-31Z + -0236-12-31Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_03.xml new file mode 100644 index 00000000..4df917a3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:date + 9088-11-06 + 9088-11-06 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_04.xml new file mode 100644 index 00000000..96c9b166 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:date + -7506-08-02 + -7506-08-02 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_05.xml new file mode 100644 index 00000000..cb4b1deb --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:date + -3637143-04-09 + -3637143-04-09 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_06.xml new file mode 100644 index 00000000..0cb02b9a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:date + -0311-11-30 + -0311-11-30 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_07.xml new file mode 100644 index 00000000..8910e8e1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:date + -0844-11-30 + -0844-11-30 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_08.xml new file mode 100644 index 00000000..e41c6027 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:date + 0111-04-04 + 0111-04-04 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_09.xml new file mode 100644 index 00000000..a06599e4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:date + 0412-04-08-10:58 + 0412-04-08-10:58 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_10.xml new file mode 100644 index 00000000..18aae121 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:date + 0520-01-01 + 0520-01-01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_UTC.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_UTC.xml new file mode 100644 index 00000000..980f341d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_UTC.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02:03Z + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_large_negative_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_large_negative_year.xml new file mode 100644 index 00000000..440213c4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_large_negative_year.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -12345678901234567890123456789012345678901234567890-04-01T01:02:03 + -12345678901234567890123456789012345678901234567890-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_large_positive_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_large_positive_year.xml new file mode 100644 index 00000000..94e52650 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_large_positive_year.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 12345678901234567890123456789012345678901234567890-04-01T01:02:03 + 12345678901234567890123456789012345678901234567890-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_long_fractional_seconds.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_long_fractional_seconds.xml new file mode 100644 index 00000000..6eba1efe --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_long_fractional_seconds.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02:03.0123456789Z + 2022-04-01T01:02:03.0123456789Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_negative_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_negative_offset.xml new file mode 100644 index 00000000..982bad26 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02:03+00:00 + 2022-04-01T01:02:03+00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_positive_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_positive_offset.xml new file mode 100644 index 00000000..1a2267c4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02:03+02:00 + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_zero_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_zero_offset.xml new file mode 100644 index 00000000..982bad26 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_zero_offset.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02:03+00:00 + 2022-04-01T01:02:03+00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_without_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_without_zone.xml new file mode 100644 index 00000000..c5b24a1b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_without_zone.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02:03 + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_01.xml new file mode 100644 index 00000000..5528689d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -0811-10-21T24:00:00.000000Z + -0811-10-21T24:00:00.000000Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_02.xml new file mode 100644 index 00000000..a6b95392 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -0819-11-21T24:00:00.00Z + -0819-11-21T24:00:00.00Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_03.xml new file mode 100644 index 00000000..94a0b2e5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -665280014-06-30T21:15:16Z + -665280014-06-30T21:15:16Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_04.xml new file mode 100644 index 00000000..4136d0a8 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -0811-11-21T24:00:00.0000Z + -0811-11-21T24:00:00.0000Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_05.xml new file mode 100644 index 00000000..ff952ebf --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 0532-09-07T18:47:52+14:00 + 0532-09-07T18:47:52+14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_06.xml new file mode 100644 index 00000000..39984fb6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 0707-11-02T24:00:00.00 + 0707-11-02T24:00:00.00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_07.xml new file mode 100644 index 00000000..bbfed87e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -0003-12-20T22:53:54.02567 + -0003-12-20T22:53:54.02567 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_08.xml new file mode 100644 index 00000000..0cf811ed --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -1092-02-25T24:00:00.0000 + -1092-02-25T24:00:00.0000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_09.xml new file mode 100644 index 00000000..381fae97 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -6602-06-30T24:00:00 + -6602-06-30T24:00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_10.xml new file mode 100644 index 00000000..aae32bd5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -2111111-08-31T23:58:19.269348 + -2111111-08-31T23:58:19.269348 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_midnight_with_24_hours.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_midnight_with_24_hours.xml new file mode 100644 index 00000000..4ee3c0b3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_midnight_with_24_hours.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T24:00:00 + 2022-04-01T24:00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_midnight_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_midnight_with_zeros.xml new file mode 100644 index 00000000..3de505cd --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_midnight_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T00:00:00 + 2022-04-01T00:00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..d7bf57a8 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_year_1_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -0001-02-29T01:02:03 + -0001-02-29T01:02:03 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..5f1e413b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_year_5_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -0005-02-29T01:02:03 + -0005-02-29T01:02:03 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..af655e87 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_year_1_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + xs:date + -0001-02-29 + -0001-02-29 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..b3ac6e20 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_year_5_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + xs:date + -0005-02-29 + -0005-02-29 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_decimal.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_decimal.xml new file mode 100644 index 00000000..7afa76b4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_decimal.xml @@ -0,0 +1,5 @@ + + xs:decimal + 1234.01234 + 1234.01234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_decimal_with_long_fractional.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_decimal_with_long_fractional.xml new file mode 100644 index 00000000..289f5c81 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_decimal_with_long_fractional.xml @@ -0,0 +1,5 @@ + + xs:decimal + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_decimal_with_preceding_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_decimal_with_preceding_zeros.xml new file mode 100644 index 00000000..2cd40b38 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_decimal_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + xs:decimal + 0001234.01234 + 0001234.01234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_01.xml new file mode 100644 index 00000000..a5a07c36 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:decimal + .33324 + .33324 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_02.xml new file mode 100644 index 00000000..836b26f5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:decimal + 01195 + 01195 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_03.xml new file mode 100644 index 00000000..59d83fee --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:decimal + +875 + +875 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_04.xml new file mode 100644 index 00000000..25ee62b5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:decimal + -8 + -8 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_05.xml new file mode 100644 index 00000000..8c61e57c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:decimal + -0.0 + -0.0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_06.xml new file mode 100644 index 00000000..d96126ef --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:decimal + -13522106 + -13522106 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_07.xml new file mode 100644 index 00000000..b42cbad0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:decimal + +10 + +10 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_08.xml new file mode 100644 index 00000000..682226d9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:decimal + -030725 + -030725 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_09.xml new file mode 100644 index 00000000..ae7aa114 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:decimal + .3 + .3 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_10.xml new file mode 100644 index 00000000..8b5fd915 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:decimal + 0061707 + 0061707 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_integer.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_integer.xml new file mode 100644 index 00000000..8ed46e9a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_integer.xml @@ -0,0 +1,5 @@ + + xs:decimal + 1234 + 1234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..83d52943 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_integer_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + xs:decimal + 0001234 + 0001234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_very_large_decimal.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_very_large_decimal.xml new file mode 100644 index 00000000..5a9bcb53 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_very_large_decimal.xml @@ -0,0 +1,5 @@ + + xs:decimal + 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890.12345678901234567890123456789012345678901234567890123456789012345678901234567890 + 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890.12345678901234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_double.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_double.xml new file mode 100644 index 00000000..afb7e2d0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_double.xml @@ -0,0 +1,5 @@ + + xs:double + 1234.01234 + 1234.01234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_01.xml new file mode 100644 index 00000000..91c291e5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:double + .1118 + .1118 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_02.xml new file mode 100644 index 00000000..72d6bde2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:double + -.662 + -.662 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_03.xml new file mode 100644 index 00000000..9a1efd56 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:double + .0E0 + .0E0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_04.xml new file mode 100644 index 00000000..dee48549 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:double + .4 + .4 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_05.xml new file mode 100644 index 00000000..eceb80ff --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:double + .11 + .11 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_06.xml new file mode 100644 index 00000000..f4f322c9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:double + +76E-86 + +76E-86 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_07.xml new file mode 100644 index 00000000..72d6bde2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:double + -.662 + -.662 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_08.xml new file mode 100644 index 00000000..5b7f36da --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:double + 1e+7 + 1e+7 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_09.xml new file mode 100644 index 00000000..983e97d0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:double + -.66E-45 + -.66E-45 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_10.xml new file mode 100644 index 00000000..75dc740f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:double + 140206134 + 140206134 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_inf.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_inf.xml new file mode 100644 index 00000000..493ba40c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_inf.xml @@ -0,0 +1,5 @@ + + xs:double + INF + INF + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_integer.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_integer.xml new file mode 100644 index 00000000..6d339be2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_integer.xml @@ -0,0 +1,5 @@ + + xs:double + 1234 + 1234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..cbe499ce --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_integer_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + xs:double + 0001234 + 0001234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_loss_of_precision_is_not_detected_by_design.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_loss_of_precision_is_not_detected_by_design.xml new file mode 100644 index 00000000..6707b7fa --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_loss_of_precision_is_not_detected_by_design.xml @@ -0,0 +1,5 @@ + + xs:double + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_lowest.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_lowest.xml new file mode 100644 index 00000000..a230e779 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_lowest.xml @@ -0,0 +1,5 @@ + + xs:double + -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 + -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_max.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_max.xml new file mode 100644 index 00000000..3959cea6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_max.xml @@ -0,0 +1,5 @@ + + xs:double + 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 + 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_minus_inf.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_minus_inf.xml new file mode 100644 index 00000000..d8a35644 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_minus_inf.xml @@ -0,0 +1,5 @@ + + xs:double + -INF + -INF + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_nan.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_nan.xml new file mode 100644 index 00000000..761f51ec --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_nan.xml @@ -0,0 +1,5 @@ + + xs:double + NaN + NaN + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation.xml new file mode 100644 index 00000000..a17814d6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation.xml @@ -0,0 +1,5 @@ + + xs:double + 12.34e56 + 12.34e56 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_negative.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_negative.xml new file mode 100644 index 00000000..312d1861 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_negative.xml @@ -0,0 +1,5 @@ + + xs:double + -12.34e56 + -12.34e56 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_negative_exponent.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_negative_exponent.xml new file mode 100644 index 00000000..fa70e2fa --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_negative_exponent.xml @@ -0,0 +1,5 @@ + + xs:double + 12.34e-56 + 12.34e-56 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_positive.xml new file mode 100644 index 00000000..0bc44218 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_positive.xml @@ -0,0 +1,5 @@ + + xs:double + +12.34e56 + +12.34e56 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_positive_exponent.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_positive_exponent.xml new file mode 100644 index 00000000..23f3e8e3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_positive_exponent.xml @@ -0,0 +1,5 @@ + + xs:double + 12.34e+56 + 12.34e+56 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_very_large_normal.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_very_large_normal.xml new file mode 100644 index 00000000..38704ecb --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_very_large_normal.xml @@ -0,0 +1,5 @@ + + xs:double + 2e307 + 2e307 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_very_precise_subnormal.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_very_precise_subnormal.xml new file mode 100644 index 00000000..b556eec3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_very_precise_subnormal.xml @@ -0,0 +1,5 @@ + + xs:double + 2e-307 + 2e-307 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_with_preceding_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_with_preceding_zeros.xml new file mode 100644 index 00000000..e8d3285d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + xs:double + 0001234.01234 + 0001234.01234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_day_seconds.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_day_seconds.xml new file mode 100644 index 00000000..86b100e8 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_day_seconds.xml @@ -0,0 +1,5 @@ + + xs:duration + P1DT2S + P1DT2S + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_full.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_full.xml new file mode 100644 index 00000000..ff2698eb --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_full.xml @@ -0,0 +1,5 @@ + + xs:duration + P1Y2M3DT5H20M30.123S + P1Y2M3DT5H20M30.123S + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_01.xml new file mode 100644 index 00000000..355e805e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:duration + -P009D + -P009D + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_02.xml new file mode 100644 index 00000000..998e54d4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:duration + P5Y36660767143M + P5Y36660767143M + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_03.xml new file mode 100644 index 00000000..88569ab6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:duration + -PT01332.1S + -PT01332.1S + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_04.xml new file mode 100644 index 00000000..91386d2e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:duration + -P11DT142M + -P11DT142M + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_05.xml new file mode 100644 index 00000000..40d1e0c1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:duration + PT88M48936316289.34291243605107045S + PT88M48936316289.34291243605107045S + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_06.xml new file mode 100644 index 00000000..c874ba62 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:duration + -P1M923D + -P1M923D + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_07.xml new file mode 100644 index 00000000..02378a09 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:duration + -PT0.332S + -PT0.332S + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_08.xml new file mode 100644 index 00000000..6a699d83 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:duration + -PT313148178698146281H866062127724898M + -PT313148178698146281H866062127724898M + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_09.xml new file mode 100644 index 00000000..b0ea7f70 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:duration + -PT1.5375209S + -PT1.5375209S + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_10.xml new file mode 100644 index 00000000..4600c9d7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:duration + PT18688M + PT18688M + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_long_second_fractal.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_long_second_fractal.xml new file mode 100644 index 00000000..f1d404d2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_long_second_fractal.xml @@ -0,0 +1,5 @@ + + xs:duration + PT1.12345678901234567890123456789012345678901234567890123456789012345678901234567890S + PT1.12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_many_many_seconds.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_many_many_seconds.xml new file mode 100644 index 00000000..3d088aaf --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_many_many_seconds.xml @@ -0,0 +1,5 @@ + + xs:duration + PT12345678901234567890123456789012345678901234567890123456789012345678901234567890S + PT12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_month_seconds.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_month_seconds.xml new file mode 100644 index 00000000..a6af5a3f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_month_seconds.xml @@ -0,0 +1,5 @@ + + xs:duration + PT2M10S + PT2M10S + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_only_seconds.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_only_seconds.xml new file mode 100644 index 00000000..4da8ebe6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_only_seconds.xml @@ -0,0 +1,5 @@ + + xs:duration + PT130S + PT130S + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_only_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_only_year.xml new file mode 100644 index 00000000..5c69c4b1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_only_year.xml @@ -0,0 +1,5 @@ + + xs:duration + -P1Y + -P1Y + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_float.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_float.xml new file mode 100644 index 00000000..da2289f7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_float.xml @@ -0,0 +1,5 @@ + + xs:float + 1234.01234 + 1234.01234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_01.xml new file mode 100644 index 00000000..df428419 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:float + -.80E0 + -.80E0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_02.xml new file mode 100644 index 00000000..d292f7cf --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:float + -147E7 + -147E7 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_03.xml new file mode 100644 index 00000000..c680f8e7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:float + 18 + 18 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_04.xml new file mode 100644 index 00000000..140d3703 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:float + .1532E+16 + .1532E+16 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_05.xml new file mode 100644 index 00000000..ce0eb90e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:float + +44.6393 + +44.6393 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_06.xml new file mode 100644 index 00000000..2ecf72c0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:float + .5885e-29 + .5885e-29 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_07.xml new file mode 100644 index 00000000..7387e747 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:float + 1e-7 + 1e-7 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_08.xml new file mode 100644 index 00000000..daa35046 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:float + +732.55619 + +732.55619 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_09.xml new file mode 100644 index 00000000..4d937b07 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:float + .1E05 + .1E05 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_10.xml new file mode 100644 index 00000000..bd74ea03 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:float + 1102 + 1102 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_inf.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_inf.xml new file mode 100644 index 00000000..0a6f9608 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_inf.xml @@ -0,0 +1,5 @@ + + xs:float + INF + INF + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_integer.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_integer.xml new file mode 100644 index 00000000..357ddd7a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_integer.xml @@ -0,0 +1,5 @@ + + xs:float + 1234 + 1234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..afdd2b38 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_integer_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + xs:float + 0001234 + 0001234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_largest_normal.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_largest_normal.xml new file mode 100644 index 00000000..f986c717 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_largest_normal.xml @@ -0,0 +1,5 @@ + + xs:float + 340282346638528859811704183484516925440 + 340282346638528859811704183484516925440 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_largest_number_less_than_one.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_largest_number_less_than_one.xml new file mode 100644 index 00000000..cb2594e1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_largest_number_less_than_one.xml @@ -0,0 +1,5 @@ + + xs:float + 0.999999940395355224609375 + 0.999999940395355224609375 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_largest_subnormal.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_largest_subnormal.xml new file mode 100644 index 00000000..b5bf6958 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_largest_subnormal.xml @@ -0,0 +1,5 @@ + + xs:float + 0.00000000000000000000000000000000000001175494210692441075487029444849287348827052428745893333857174530571588870475618904265502351336181163787841796875 + 0.00000000000000000000000000000000000001175494210692441075487029444849287348827052428745893333857174530571588870475618904265502351336181163787841796875 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_loss_of_precision_is_not_detected_by_design.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_loss_of_precision_is_not_detected_by_design.xml new file mode 100644 index 00000000..94a268c0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_loss_of_precision_is_not_detected_by_design.xml @@ -0,0 +1,5 @@ + + xs:float + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_nan.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_nan.xml new file mode 100644 index 00000000..eb6eae39 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_nan.xml @@ -0,0 +1,5 @@ + + xs:float + NaN + NaN + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_negative_inf.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_negative_inf.xml new file mode 100644 index 00000000..f7a6aafe --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_negative_inf.xml @@ -0,0 +1,5 @@ + + xs:float + -INF + -INF + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation.xml new file mode 100644 index 00000000..adf4c440 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation.xml @@ -0,0 +1,5 @@ + + xs:float + 12.34e16 + 12.34e16 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_negative.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_negative.xml new file mode 100644 index 00000000..51df54f2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_negative.xml @@ -0,0 +1,5 @@ + + xs:float + -12.34e16 + -12.34e16 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_negative_exponent.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_negative_exponent.xml new file mode 100644 index 00000000..1190e1ef --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_negative_exponent.xml @@ -0,0 +1,5 @@ + + xs:float + 12.34e-16 + 12.34e-16 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_positive.xml new file mode 100644 index 00000000..0fc29565 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_positive.xml @@ -0,0 +1,5 @@ + + xs:float + +12.34e16 + +12.34e16 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_positive_exponent.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_positive_exponent.xml new file mode 100644 index 00000000..7fd48273 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_positive_exponent.xml @@ -0,0 +1,5 @@ + + xs:float + 12.34e+16 + 12.34e+16 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_smallest_number_larger_than_one.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_smallest_number_larger_than_one.xml new file mode 100644 index 00000000..adc87a47 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_smallest_number_larger_than_one.xml @@ -0,0 +1,5 @@ + + xs:float + 1.00000011920928955078125 + 1.00000011920928955078125 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_smallest_positive_normal.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_smallest_positive_normal.xml new file mode 100644 index 00000000..b1e34326 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_smallest_positive_normal.xml @@ -0,0 +1,5 @@ + + xs:float + 0.000000000000000000000000000000000000011754943508222875079687365372222456778186655567720875215087517062784172594547271728515625 + 0.000000000000000000000000000000000000011754943508222875079687365372222456778186655567720875215087517062784172594547271728515625 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_smallest_positive_subnormal.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_smallest_positive_subnormal.xml new file mode 100644 index 00000000..064bb116 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_smallest_positive_subnormal.xml @@ -0,0 +1,5 @@ + + xs:float + 0.00000000000000000000000000000000000000000000140129846432481707092372958328991613128026194187651577175706828388979108268586060148663818836212158203125 + 0.00000000000000000000000000000000000000000000140129846432481707092372958328991613128026194187651577175706828388979108268586060148663818836212158203125 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_with_preceding_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_with_preceding_zeros.xml new file mode 100644 index 00000000..6bda748c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + xs:float + 0001234.01234 + 0001234.01234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_day_not_existing_in_all_months_without_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_day_not_existing_in_all_months_without_zone.xml new file mode 100644 index 00000000..f106fd46 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_day_not_existing_in_all_months_without_zone.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---31 + ---31 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_double_digit_day_without_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_double_digit_day_without_zone.xml new file mode 100644 index 00000000..8f650fe7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_double_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---15 + ---15 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_01.xml new file mode 100644 index 00000000..e11e3d7c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---23Z + ---23Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_02.xml new file mode 100644 index 00000000..9f55ed46 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---24 + ---24 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_03.xml new file mode 100644 index 00000000..dc2692ce --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---10 + ---10 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_04.xml new file mode 100644 index 00000000..91700f61 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---30-14:00 + ---30-14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_05.xml new file mode 100644 index 00000000..e6bc877a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---31-09:25 + ---31-09:25 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_06.xml new file mode 100644 index 00000000..e2b2d7db --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---17Z + ---17Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_07.xml new file mode 100644 index 00000000..5a6ad261 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---30+00:00 + ---30+00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_08.xml new file mode 100644 index 00000000..9aecb61f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---30-10:11 + ---30-10:11 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_09.xml new file mode 100644 index 00000000..31b21f7b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---22Z + ---22Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_10.xml new file mode 100644 index 00000000..3144548b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---30Z + ---30Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_negative_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_negative_offset.xml new file mode 100644 index 00000000..bf832205 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---01-04:00 + ---01-04:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_positive_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_positive_offset.xml new file mode 100644 index 00000000..328a4300 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---01+02:00 + ---01+02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_single_digit_day_without_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_single_digit_day_without_zone.xml new file mode 100644 index 00000000..15ffb8e5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_single_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---01 + ---01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_utc_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_utc_zone.xml new file mode 100644 index 00000000..fffba486 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_utc_zone.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---01Z + ---01Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_zero_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_zero_offset.xml new file mode 100644 index 00000000..7a2aa0a5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_zero_offset.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---01+00:00 + ---01+00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml new file mode 100644 index 00000000..0a36b7de --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-14 + --11-14 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml new file mode 100644 index 00000000..4618e15a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-01 + --11-01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml new file mode 100644 index 00000000..8addb822 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --02-29 + --02-29 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_01.xml new file mode 100644 index 00000000..dd926a2b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-20 + --11-20 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_02.xml new file mode 100644 index 00000000..0259fb94 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --12-06 + --12-06 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_03.xml new file mode 100644 index 00000000..1943bc39 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --12-01 + --12-01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_04.xml new file mode 100644 index 00000000..123d305a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-21+14:00 + --11-21+14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_05.xml new file mode 100644 index 00000000..df14b2a7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --10-07 + --10-07 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_06.xml new file mode 100644 index 00000000..f90bc438 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --10-30 + --10-30 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_07.xml new file mode 100644 index 00000000..0233a18d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --12-27 + --12-27 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_08.xml new file mode 100644 index 00000000..10a31450 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --04-30 + --04-30 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_09.xml new file mode 100644 index 00000000..3e3241b7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --10-10-14:00 + --10-10-14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_10.xml new file mode 100644 index 00000000..877ef9fc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --10-11Z + --10-11Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_negative_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_negative_offset.xml new file mode 100644 index 00000000..d3470e11 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-01-04:00 + --11-01-04:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_positive_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_positive_offset.xml new file mode 100644 index 00000000..79e62d53 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-01+02:00 + --11-01+02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml new file mode 100644 index 00000000..a6193c1b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --05-01 + --05-01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_utc_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_utc_zone.xml new file mode 100644 index 00000000..320693b3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_utc_zone.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-01Z + --11-01Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_zero_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_zero_offset.xml new file mode 100644 index 00000000..79e62d53 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_zero_offset.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-01+02:00 + --11-01+02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_double_digit_month_without_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_double_digit_month_without_zone.xml new file mode 100644 index 00000000..192ee216 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_double_digit_month_without_zone.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11 + --11 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_01.xml new file mode 100644 index 00000000..f4d84831 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11-13:34 + --11-13:34 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_02.xml new file mode 100644 index 00000000..217832d3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --10+14:00 + --10+14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_03.xml new file mode 100644 index 00000000..12e62569 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --10+07:39 + --10+07:39 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_04.xml new file mode 100644 index 00000000..bea55d1e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11-05:22 + --11-05:22 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_05.xml new file mode 100644 index 00000000..cbc6fe91 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --01 + --01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_06.xml new file mode 100644 index 00000000..c4a785c6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --12Z + --12Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_07.xml new file mode 100644 index 00000000..0145ebc2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --10-13:30 + --10-13:30 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_08.xml new file mode 100644 index 00000000..9c303ed1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --07 + --07 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_09.xml new file mode 100644 index 00000000..a9abaea6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11-10:05 + --11-10:05 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_10.xml new file mode 100644 index 00000000..588330a9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11+12:33 + --11+12:33 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_negative_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_negative_offset.xml new file mode 100644 index 00000000..dad2e8e6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11-04:00 + --11-04:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_positive_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_positive_offset.xml new file mode 100644 index 00000000..7c170c9d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11+02:00 + --11+02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_single_digit_month_without_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_single_digit_month_without_zone.xml new file mode 100644 index 00000000..bc237a44 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_single_digit_month_without_zone.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --05 + --05 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_utc_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_utc_zone.xml new file mode 100644 index 00000000..d659374f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_utc_zone.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11Z + --11Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_zero_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_zero_offset.xml new file mode 100644 index 00000000..a2c5b994 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_zero_offset.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11+00:00 + --11+00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_five_digit_negative_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_five_digit_negative_year.xml new file mode 100644 index 00000000..a59d9502 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_five_digit_negative_year.xml @@ -0,0 +1,5 @@ + + xs:gYear + -20000 + -20000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_five_digit_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_five_digit_year.xml new file mode 100644 index 00000000..3004eb79 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_five_digit_year.xml @@ -0,0 +1,5 @@ + + xs:gYear + 20000 + 20000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_01.xml new file mode 100644 index 00000000..6fee5520 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:gYear + 0740-07:36 + 0740-07:36 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_02.xml new file mode 100644 index 00000000..041e9818 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:gYear + 125774274 + 125774274 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_03.xml new file mode 100644 index 00000000..3a646418 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:gYear + -0444 + -0444 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_04.xml new file mode 100644 index 00000000..331a7cee --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:gYear + 0000 + 0000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_05.xml new file mode 100644 index 00000000..26f50848 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:gYear + -0111+14:00 + -0111+14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_06.xml new file mode 100644 index 00000000..a48282c5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:gYear + 11111 + 11111 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_07.xml new file mode 100644 index 00000000..5259b143 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:gYear + 973419862 + 973419862 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_08.xml new file mode 100644 index 00000000..4fa7983a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:gYear + 1717608219759Z + 1717608219759Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_09.xml new file mode 100644 index 00000000..3041c0ab --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:gYear + -0863 + -0863 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_10.xml new file mode 100644 index 00000000..fd994d73 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:gYear + -0109+14:00 + -0109+14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_common_year_month.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_common_year_month.xml new file mode 100644 index 00000000..50b75cfe --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_common_year_month.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 2001-10 + 2001-10 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_five_digit_negative_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_five_digit_negative_year.xml new file mode 100644 index 00000000..993ead15 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_five_digit_negative_year.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + -20000-04 + -20000-04 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_01.xml new file mode 100644 index 00000000..222c78e3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + -65822-10 + -65822-10 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_02.xml new file mode 100644 index 00000000..5be44558 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 0730-10-14:00 + 0730-10-14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_03.xml new file mode 100644 index 00000000..e9c5b9c7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + -4111-11Z + -4111-11Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_04.xml new file mode 100644 index 00000000..c35a3696 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 1000-01 + 1000-01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_05.xml new file mode 100644 index 00000000..7e924936 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 0010-09-14:00 + 0010-09-14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_06.xml new file mode 100644 index 00000000..ace8e6d6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 0555-07 + 0555-07 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_07.xml new file mode 100644 index 00000000..05bb555f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 0404-11-14:00 + 0404-11-14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_08.xml new file mode 100644 index 00000000..6822042d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + -0882-11+14:00 + -0882-11+14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_09.xml new file mode 100644 index 00000000..147e5908 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + -0230-09Z + -0230-09Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_10.xml new file mode 100644 index 00000000..a4e623dc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 0119-12-14:00 + 0119-12-14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_negative_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_negative_year.xml new file mode 100644 index 00000000..31b96d7d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_negative_year.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + -2001-10 + -2001-10 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_very_large_negative_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_very_large_negative_year.xml new file mode 100644 index 00000000..b7fe3028 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_very_large_negative_year.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + -123456789012345678901234567890123456789012345678901234567890-04 + -123456789012345678901234567890123456789012345678901234567890-04 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_very_large_positive_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_very_large_positive_year.xml new file mode 100644 index 00000000..364ab7be --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_very_large_positive_year.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 123456789012345678901234567890123456789012345678901234567890-04 + 123456789012345678901234567890123456789012345678901234567890-04 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_negative_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_negative_offset.xml new file mode 100644 index 00000000..4d50eea6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 2001-10-02:00 + 2001-10-02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_positive_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_positive_offset.xml new file mode 100644 index 00000000..29185f27 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 2001-10+02:00 + 2001-10+02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_utc_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_utc_zone.xml new file mode 100644 index 00000000..c9fc1bd3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_utc_zone.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 2001-10Z + 2001-10Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_zero_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_zero_offset.xml new file mode 100644 index 00000000..2b0dbb10 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_zero_offset.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 2001-10+00:00 + 2001-10+00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_negative_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_negative_offset.xml new file mode 100644 index 00000000..89bb63d5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:gYear + 2001-04:00 + 2001-04:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_negative_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_negative_year.xml new file mode 100644 index 00000000..bf3a1753 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_negative_year.xml @@ -0,0 +1,5 @@ + + xs:gYear + -2001 + -2001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_positive_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_positive_offset.xml new file mode 100644 index 00000000..18a89fa7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:gYear + 2001+02:00 + 2001+02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_utc_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_utc_zone.xml new file mode 100644 index 00000000..8d4bdeb2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_utc_zone.xml @@ -0,0 +1,5 @@ + + xs:gYear + 2001Z + 2001Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_very_large_negative_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_very_large_negative_year.xml new file mode 100644 index 00000000..2c3c8409 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_very_large_negative_year.xml @@ -0,0 +1,5 @@ + + xs:gYear + -123456789012345678901234567890123456789012345678901234567890 + -123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_very_large_positive_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_very_large_positive_year.xml new file mode 100644 index 00000000..92219b7e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_very_large_positive_year.xml @@ -0,0 +1,5 @@ + + xs:gYear + 123456789012345678901234567890123456789012345678901234567890 + 123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_year_without_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_year_without_zone.xml new file mode 100644 index 00000000..692c4143 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_year_without_zone.xml @@ -0,0 +1,5 @@ + + xs:gYear + 2001 + 2001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_zero_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_zero_offset.xml new file mode 100644 index 00000000..a345d328 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_zero_offset.xml @@ -0,0 +1,5 @@ + + xs:gYear + 2001+00:00 + 2001+00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_empty.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_empty.xml new file mode 100644 index 00000000..6486091b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_empty.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + + + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_01.xml new file mode 100644 index 00000000..3a7dc6bb --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + f22fF9004a6D9AD1 + f22fF9004a6D9AD1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_02.xml new file mode 100644 index 00000000..6074a6d3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + 00 + 00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_03.xml new file mode 100644 index 00000000..acdf21a4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + FFFFfef3CB + FFFFfef3CB + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_04.xml new file mode 100644 index 00000000..11b63a70 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + A8 + A8 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_05.xml new file mode 100644 index 00000000..b4d6ee67 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + 3C3C82 + 3C3C82 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_06.xml new file mode 100644 index 00000000..2aef7a90 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + 23ee + 23ee + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_07.xml new file mode 100644 index 00000000..6074a6d3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + 00 + 00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_08.xml new file mode 100644 index 00000000..285916c1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + aBe5ccF85fbf32 + aBe5ccF85fbf32 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_09.xml new file mode 100644 index 00000000..285916c1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + aBe5ccF85fbf32 + aBe5ccF85fbf32 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_10.xml new file mode 100644 index 00000000..d573bc97 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + C4E02bbC + C4E02bbC + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_long_random_hex.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_long_random_hex.xml new file mode 100644 index 00000000..b325404d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_long_random_hex.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e67 + 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e67 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_one_one.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_one_one.xml new file mode 100644 index 00000000..783f8996 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_one_one.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + 11 + 11 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_one_two.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_one_two.xml new file mode 100644 index 00000000..fb82b969 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_one_two.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + 12 + 12 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_one_two_three_four.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_one_two_three_four.xml new file mode 100644 index 00000000..7b6354ca --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_one_two_three_four.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + 1234 + 1234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_common_example.xml new file mode 100644 index 00000000..4a4a999b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_common_example.xml @@ -0,0 +1,5 @@ + + xs:int + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_explicitly_positive.xml new file mode 100644 index 00000000..8f98c5eb --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:int + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_01.xml new file mode 100644 index 00000000..9f754e51 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:int + 00 + 00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_02.xml new file mode 100644 index 00000000..12d596a9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:int + -0 + -0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_03.xml new file mode 100644 index 00000000..c4a5d5dd --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:int + 000000000000069268 + 000000000000069268 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_04.xml new file mode 100644 index 00000000..fa8567ec --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:int + +478978 + +478978 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_05.xml new file mode 100644 index 00000000..a1084ca9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:int + 7097 + 7097 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_06.xml new file mode 100644 index 00000000..12954ab2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:int + 68 + 68 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_07.xml new file mode 100644 index 00000000..cb8a2eb4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:int + +0 + +0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_08.xml new file mode 100644 index 00000000..b51ff6f5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:int + 6612453 + 6612453 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_09.xml new file mode 100644 index 00000000..c7544ec3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:int + -00 + -00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_10.xml new file mode 100644 index 00000000..61e34c09 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:int + +0000000946381 + +0000000946381 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_max.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_max.xml new file mode 100644 index 00000000..2e6a3f88 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_max.xml @@ -0,0 +1,5 @@ + + xs:int + 2147483647 + 2147483647 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_min.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_min.xml new file mode 100644 index 00000000..ae3da1b2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_min.xml @@ -0,0 +1,5 @@ + + xs:int + -2147483648 + -2147483648 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_negative.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_negative.xml new file mode 100644 index 00000000..fc38db39 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_negative.xml @@ -0,0 +1,5 @@ + + xs:int + -1 + -1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_prefixed_with_zeros.xml new file mode 100644 index 00000000..e91a978f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:int + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_zero.xml new file mode 100644 index 00000000..ee69c8c8 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_zero.xml @@ -0,0 +1,5 @@ + + xs:int + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..19ea1d8a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:int + 000 + 000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_common_example.xml new file mode 100644 index 00000000..94dd6602 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_common_example.xml @@ -0,0 +1,5 @@ + + xs:integer + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_explicitly_positive.xml new file mode 100644 index 00000000..45ebdcb5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:integer + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_01.xml new file mode 100644 index 00000000..543955de --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:integer + 817778847926480 + 817778847926480 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_02.xml new file mode 100644 index 00000000..a6eb8d33 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:integer + +022 + +022 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_03.xml new file mode 100644 index 00000000..48c347b2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:integer + -43045 + -43045 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_04.xml new file mode 100644 index 00000000..407c7b9d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:integer + -3009 + -3009 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_05.xml new file mode 100644 index 00000000..693746dc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:integer + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_06.xml new file mode 100644 index 00000000..6407f112 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:integer + -3 + -3 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_07.xml new file mode 100644 index 00000000..50b5b8e1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:integer + 8 + 8 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_08.xml new file mode 100644 index 00000000..cfd6cd51 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:integer + 221 + 221 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_09.xml new file mode 100644 index 00000000..9aaa6ae7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:integer + 9191 + 9191 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_10.xml new file mode 100644 index 00000000..0be87a1e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:integer + -3909 + -3909 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_negative.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_negative.xml new file mode 100644 index 00000000..080c82b6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_negative.xml @@ -0,0 +1,5 @@ + + xs:integer + -1 + -1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..0c301ce6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:integer + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_very_large.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_very_large.xml new file mode 100644 index 00000000..8857b97b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_very_large.xml @@ -0,0 +1,5 @@ + + xs:integer + 1234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_zero.xml new file mode 100644 index 00000000..693746dc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_zero.xml @@ -0,0 +1,5 @@ + + xs:integer + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..0f3f2e19 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:integer + 000 + 000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_common_example.xml new file mode 100644 index 00000000..e15f0b62 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_common_example.xml @@ -0,0 +1,5 @@ + + xs:long + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_explicitly_positive.xml new file mode 100644 index 00000000..77e11082 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:long + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_01.xml new file mode 100644 index 00000000..9dce2359 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:long + -002728 + -002728 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_02.xml new file mode 100644 index 00000000..52e34dea --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:long + 6257 + 6257 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_03.xml new file mode 100644 index 00000000..7b6b4dd2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:long + 088 + 088 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_04.xml new file mode 100644 index 00000000..f3ca8949 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:long + 29 + 29 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_05.xml new file mode 100644 index 00000000..8234d0aa --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:long + -288 + -288 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_06.xml new file mode 100644 index 00000000..7663681e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:long + 004775 + 004775 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_07.xml new file mode 100644 index 00000000..593e14eb --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:long + 2912577609592844 + 2912577609592844 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_08.xml new file mode 100644 index 00000000..34fa6146 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:long + -0161 + -0161 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_09.xml new file mode 100644 index 00000000..39c63915 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:long + 00000000000048533 + 00000000000048533 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_10.xml new file mode 100644 index 00000000..2f259aff --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:long + 3116670676 + 3116670676 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_max.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_max.xml new file mode 100644 index 00000000..f7e62cac --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_max.xml @@ -0,0 +1,5 @@ + + xs:long + 9223372036854775807 + 9223372036854775807 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_min.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_min.xml new file mode 100644 index 00000000..de7902fc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_min.xml @@ -0,0 +1,5 @@ + + xs:long + -9223372036854775808 + -9223372036854775808 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_negative.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_negative.xml new file mode 100644 index 00000000..47960586 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_negative.xml @@ -0,0 +1,5 @@ + + xs:long + -1 + -1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_prefixed_with_zeros.xml new file mode 100644 index 00000000..6dd23d66 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:long + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_zero.xml new file mode 100644 index 00000000..bd51466b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_zero.xml @@ -0,0 +1,5 @@ + + xs:long + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..a0c0598e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:long + 000 + 000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_01.xml new file mode 100644 index 00000000..bac4aeee --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -001 + -001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_02.xml new file mode 100644 index 00000000..3da26823 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -002 + -002 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_03.xml new file mode 100644 index 00000000..81bfd9b1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -009 + -009 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_04.xml new file mode 100644 index 00000000..693ae7a4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -8 + -8 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_05.xml new file mode 100644 index 00000000..c6ff3dbc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -1 + -1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_06.xml new file mode 100644 index 00000000..8dcaedd9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -00000000000000000000000516481 + -00000000000000000000000516481 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_07.xml new file mode 100644 index 00000000..f5803ee7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -003 + -003 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_08.xml new file mode 100644 index 00000000..a763bb94 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -00126 + -00126 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_09.xml new file mode 100644 index 00000000..83cfafd5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -01 + -01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_10.xml new file mode 100644 index 00000000..387ea0e0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -3 + -3 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_negative.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_negative.xml new file mode 100644 index 00000000..c6ff3dbc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_negative.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -1 + -1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..bac4aeee --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -001 + -001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_very_large.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_very_large.xml new file mode 100644 index 00000000..21cea0f8 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_very_large.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -1234567890123456789012345678901234567890123456789012345678901234567890 + -1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_common_example.xml new file mode 100644 index 00000000..6e571433 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_common_example.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_explicitly_positive.xml new file mode 100644 index 00000000..2ededde2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml new file mode 100644 index 00000000..b782fc18 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + +001 + +001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_01.xml new file mode 100644 index 00000000..6c8b2b6d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + +4 + +4 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_02.xml new file mode 100644 index 00000000..830bf370 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 00018 + 00018 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_03.xml new file mode 100644 index 00000000..cb759499 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 22777 + 22777 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_04.xml new file mode 100644 index 00000000..69ae9bfc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 22077 + 22077 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_05.xml new file mode 100644 index 00000000..6ae25001 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + +06 + +06 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_06.xml new file mode 100644 index 00000000..e21e93fa --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 09 + 09 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_07.xml new file mode 100644 index 00000000..5ab84eab --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + +3 + +3 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_08.xml new file mode 100644 index 00000000..c151a446 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + +5739 + +5739 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_09.xml new file mode 100644 index 00000000..4953fc59 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + +70126 + +70126 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_10.xml new file mode 100644 index 00000000..b72a377f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 05688 + 05688 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_minus_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_minus_zero.xml new file mode 100644 index 00000000..9d2a7e17 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_minus_zero.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + -0 + -0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_positive_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_positive_zero.xml new file mode 100644 index 00000000..85e91727 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_positive_zero.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + +0 + +0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..4d9d4023 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_very_large.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_very_large.xml new file mode 100644 index 00000000..679bde64 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_very_large.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 1234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_zero.xml new file mode 100644 index 00000000..80a44650 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_zero.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..7d7bbd41 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 000 + 000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_explicitly_positive_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_explicitly_positive_zero.xml new file mode 100644 index 00000000..1533ad38 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_explicitly_positive_zero.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + +0 + +0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_01.xml new file mode 100644 index 00000000..de23b283 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -51 + -51 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_02.xml new file mode 100644 index 00000000..73511a5e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -8908938 + -8908938 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_03.xml new file mode 100644 index 00000000..7d4b3ea7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -553 + -553 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_04.xml new file mode 100644 index 00000000..1533ad38 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + +0 + +0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_05.xml new file mode 100644 index 00000000..aa6ef541 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -4006 + -4006 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_06.xml new file mode 100644 index 00000000..4c2eac7e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -83 + -83 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_07.xml new file mode 100644 index 00000000..75f5e6c0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -004 + -004 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_08.xml new file mode 100644 index 00000000..272f1520 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -551521749598676413553 + -551521749598676413553 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_09.xml new file mode 100644 index 00000000..0a9e1262 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -12116166 + -12116166 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_10.xml new file mode 100644 index 00000000..7d4b3ea7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -553 + -553 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_negative.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_negative.xml new file mode 100644 index 00000000..5d79e494 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_negative.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -1 + -1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..e20ed83e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -001 + -001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_very_large.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_very_large.xml new file mode 100644 index 00000000..453a443a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_very_large.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -1234567890123456789012345678901234567890123456789012345678901234567890 + -1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_zero.xml new file mode 100644 index 00000000..03dd8b21 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_zero.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_common_example.xml new file mode 100644 index 00000000..619aa80d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_common_example.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_explicitly_positive.xml new file mode 100644 index 00000000..93b2c445 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_01.xml new file mode 100644 index 00000000..a9cdcb16 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 550788 + 550788 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_02.xml new file mode 100644 index 00000000..98bde8ad --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 7775 + 7775 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_03.xml new file mode 100644 index 00000000..2343872e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + +87138 + +87138 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_04.xml new file mode 100644 index 00000000..21d6437c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 8093888718 + 8093888718 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_05.xml new file mode 100644 index 00000000..1f8c7dff --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 01145 + 01145 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_06.xml new file mode 100644 index 00000000..b307b1ed --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 01 + 01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_07.xml new file mode 100644 index 00000000..054a5ff6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + +57345 + +57345 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_08.xml new file mode 100644 index 00000000..33a86b04 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 54691 + 54691 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_09.xml new file mode 100644 index 00000000..58a4a620 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + +01 + +01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_10.xml new file mode 100644 index 00000000..217cbea4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 3 + 3 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..1842d0d5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_very_large.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_very_large.xml new file mode 100644 index 00000000..fa3fce08 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_very_large.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 1234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_common_example.xml new file mode 100644 index 00000000..bff02cde --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_common_example.xml @@ -0,0 +1,5 @@ + + xs:short + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_explicitly_positive.xml new file mode 100644 index 00000000..f1095169 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:short + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_01.xml new file mode 100644 index 00000000..d3a6be94 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:short + 9 + 9 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_02.xml new file mode 100644 index 00000000..46aa59ea --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:short + 01 + 01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_03.xml new file mode 100644 index 00000000..f1095169 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:short + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_04.xml new file mode 100644 index 00000000..d80bf4a6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:short + 8801 + 8801 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_05.xml new file mode 100644 index 00000000..e03299a6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:short + 125 + 125 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_06.xml new file mode 100644 index 00000000..ba385bfa --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:short + 20518 + 20518 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_07.xml new file mode 100644 index 00000000..7ca741dc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:short + 60 + 60 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_08.xml new file mode 100644 index 00000000..d09a0f40 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:short + -01 + -01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_09.xml new file mode 100644 index 00000000..66beb128 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:short + +31923 + +31923 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_10.xml new file mode 100644 index 00000000..c8d220fc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:short + 22 + 22 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_max.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_max.xml new file mode 100644 index 00000000..e2c4f5e3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_max.xml @@ -0,0 +1,5 @@ + + xs:short + 32767 + 32767 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_min.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_min.xml new file mode 100644 index 00000000..2c9160f2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_min.xml @@ -0,0 +1,5 @@ + + xs:short + -32768 + -32768 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_negative.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_negative.xml new file mode 100644 index 00000000..7d6bb26c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_negative.xml @@ -0,0 +1,5 @@ + + xs:short + -1 + -1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_prefixed_with_zeros.xml new file mode 100644 index 00000000..9cdcfb37 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:short + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_zero.xml new file mode 100644 index 00000000..0dce2d76 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_zero.xml @@ -0,0 +1,5 @@ + + xs:short + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..d88ca672 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:short + 000 + 000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_empty.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_empty.xml new file mode 100644 index 00000000..4b0bedd8 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_empty.xml @@ -0,0 +1,5 @@ + + xs:string + + + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_free_form_text.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_free_form_text.xml new file mode 100644 index 00000000..032701be --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:string + some free & <free> ᦄ form text + some free & <free> ᦄ form text + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_01.xml new file mode 100644 index 00000000..1186471a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:string + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_02.xml new file mode 100644 index 00000000..fca4d536 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:string + 𠤢4𠤢 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_03.xml new file mode 100644 index 00000000..7867a07a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:string + [\h$񒺟ìÖċŠ1¿ + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_04.xml new file mode 100644 index 00000000..a0c8133f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:string + öĖa􍣡™| + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_05.xml new file mode 100644 index 00000000..23ee81d6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:string + J5 + J5 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_06.xml new file mode 100644 index 00000000..4a8fdca1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:string + Ûă<P󨱽²|dnœÞ® + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_07.xml new file mode 100644 index 00000000..44ddbb71 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:string + 6 + 6 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_08.xml new file mode 100644 index 00000000..4614d431 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:string + 򤑌M𪠇𛔊򂄲 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_09.xml new file mode 100644 index 00000000..8f273a62 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:string + <ă<P󨱽²|dnœÞ® + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_10.xml new file mode 100644 index 00000000..cc938a58 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:string + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_common_example.xml new file mode 100644 index 00000000..aafe7efa --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_common_example.xml @@ -0,0 +1,5 @@ + + xs:time + 21:32:52 + 21:32:52 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_01.xml new file mode 100644 index 00000000..713626c4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:time + 24:00:00.00Z + 24:00:00.00Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_02.xml new file mode 100644 index 00000000..b60adabd --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:time + 01:19:39.4378+10:53 + 01:19:39.4378+10:53 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_03.xml new file mode 100644 index 00000000..b1d1004c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:time + 01:00:12+14:00 + 01:00:12+14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_04.xml new file mode 100644 index 00000000..c7fbb93d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:time + 24:00:00.0Z + 24:00:00.0Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_05.xml new file mode 100644 index 00000000..c1629983 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:time + 01:10:12+14:00 + 01:10:12+14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_06.xml new file mode 100644 index 00000000..b00d21c2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:time + 24:00:00-14:00 + 24:00:00-14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_07.xml new file mode 100644 index 00000000..8d93169c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:time + 20:55:25 + 20:55:25 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_08.xml new file mode 100644 index 00000000..b15da73f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:time + 24:00:00-10:44 + 24:00:00-10:44 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_09.xml new file mode 100644 index 00000000..df3c3de7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:time + 24:00:00-13:00 + 24:00:00-13:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_10.xml new file mode 100644 index 00000000..2d834f84 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:time + 24:00:00.000000+14:00 + 24:00:00.000000+14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_negative_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_negative_offset.xml new file mode 100644 index 00000000..098b3a47 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:time + 21:32:52-02:00 + 21:32:52-02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_positive_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_positive_offset.xml new file mode 100644 index 00000000..443ffa06 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:time + 21:32:52+02:00 + 21:32:52+02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_with_long_second_fractional.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_with_long_second_fractional.xml new file mode 100644 index 00000000..fd9023e7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_with_long_second_fractional.xml @@ -0,0 +1,5 @@ + + xs:time + 21:32:52.12345678901234567890123456789012345678901234567890 + 21:32:52.12345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_with_second_fractional.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_with_second_fractional.xml new file mode 100644 index 00000000..33061eb9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_with_second_fractional.xml @@ -0,0 +1,5 @@ + + xs:time + 21:32:52.12679 + 21:32:52.12679 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_with_utc_timezone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_with_utc_timezone.xml new file mode 100644 index 00000000..e7b76d3d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_with_utc_timezone.xml @@ -0,0 +1,5 @@ + + xs:time + 19:32:52Z + 19:32:52Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_zero_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_zero_offset.xml new file mode 100644 index 00000000..77bd4d4a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_zero_offset.xml @@ -0,0 +1,5 @@ + + xs:time + 21:32:52+00:00 + 21:32:52+00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_common_example.xml new file mode 100644 index 00000000..c01a85f7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_common_example.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_explicitly_positive.xml new file mode 100644 index 00000000..7018893b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_01.xml new file mode 100644 index 00000000..7dd74c60 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 0000000000000000000000000000067 + 0000000000000000000000000000067 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_02.xml new file mode 100644 index 00000000..fcbf9f0e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + +130 + +130 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_03.xml new file mode 100644 index 00000000..ed34dcbb --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 232 + 232 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_04.xml new file mode 100644 index 00000000..a3968cd8 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + +110 + +110 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_05.xml new file mode 100644 index 00000000..bb631c14 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + +000000000012 + +000000000012 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_06.xml new file mode 100644 index 00000000..4c6a447a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 055 + 055 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_07.xml new file mode 100644 index 00000000..a6f0a3f4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 031 + 031 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_08.xml new file mode 100644 index 00000000..f533ba65 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 0178 + 0178 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_09.xml new file mode 100644 index 00000000..c1fc41cb --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + +00 + +00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_10.xml new file mode 100644 index 00000000..c434a200 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + +00000006 + +00000006 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_max.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_max.xml new file mode 100644 index 00000000..3890bb1e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_max.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 255 + 255 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_prefixed_with_zeros.xml new file mode 100644 index 00000000..a341e760 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_zero.xml new file mode 100644 index 00000000..99bbdabc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_zero.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..a8de3fa8 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 000 + 000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_common_example.xml new file mode 100644 index 00000000..ef83fc5a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_common_example.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_explicitly_positive.xml new file mode 100644 index 00000000..b06d0896 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_01.xml new file mode 100644 index 00000000..153d20f7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + +000832736002 + +000832736002 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_02.xml new file mode 100644 index 00000000..8407a8b5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 0454 + 0454 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_03.xml new file mode 100644 index 00000000..153ef532 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 0000000000001161715506 + 0000000000001161715506 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_04.xml new file mode 100644 index 00000000..57126f57 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + +0006096840 + +0006096840 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_05.xml new file mode 100644 index 00000000..194862e1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 8547 + 8547 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_06.xml new file mode 100644 index 00000000..ab2767f4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + +092843 + +092843 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_07.xml new file mode 100644 index 00000000..37f1531a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + +44 + +44 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_08.xml new file mode 100644 index 00000000..f51f9828 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + +0881299729 + +0881299729 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_09.xml new file mode 100644 index 00000000..53a2ca4c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + +00604 + +00604 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_10.xml new file mode 100644 index 00000000..11bc9cef --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + +000101 + +000101 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_max.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_max.xml new file mode 100644 index 00000000..a0be8481 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_max.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 4294967295 + 4294967295 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_prefixed_with_zeros.xml new file mode 100644 index 00000000..1d512d4f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_zero.xml new file mode 100644 index 00000000..990a4c91 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_zero.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..e9bf2315 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 000 + 000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_common_example.xml new file mode 100644 index 00000000..800027fd --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_common_example.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_explicitly_positive.xml new file mode 100644 index 00000000..51dae58c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_01.xml new file mode 100644 index 00000000..d07f1f3e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 00 + 00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_02.xml new file mode 100644 index 00000000..9dce0f24 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + +0013081 + +0013081 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_03.xml new file mode 100644 index 00000000..1a1abaa4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + +00008773 + +00008773 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_04.xml new file mode 100644 index 00000000..38d58162 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + +000000858 + +000000858 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_05.xml new file mode 100644 index 00000000..cb0d258d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + +000000000002599 + +000000000002599 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_06.xml new file mode 100644 index 00000000..5ece2628 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + +0257364527 + +0257364527 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_07.xml new file mode 100644 index 00000000..1439200c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + +000000038893 + +000000038893 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_08.xml new file mode 100644 index 00000000..f70f7a66 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + +0000000000000111491 + +0000000000000111491 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_09.xml new file mode 100644 index 00000000..2fb2370e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + +09 + +09 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_10.xml new file mode 100644 index 00000000..0f15a183 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 0012208354443 + 0012208354443 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_max.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_max.xml new file mode 100644 index 00000000..c6501bb6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_max.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 18446744073709551615 + 18446744073709551615 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_prefixed_with_zeros.xml new file mode 100644 index 00000000..8423304e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_zero.xml new file mode 100644 index 00000000..0f22ff27 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_zero.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..f47614a3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 000 + 000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_common_example.xml new file mode 100644 index 00000000..32ea15ae --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_common_example.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_explicitly_positive.xml new file mode 100644 index 00000000..1942fb85 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_01.xml new file mode 100644 index 00000000..3a5027e7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + +00 + +00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_02.xml new file mode 100644 index 00000000..5422f148 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 06949 + 06949 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_03.xml new file mode 100644 index 00000000..deff7e71 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 0391 + 0391 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_04.xml new file mode 100644 index 00000000..e3ed295f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + +000004 + +000004 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_05.xml new file mode 100644 index 00000000..16565556 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 00000000391 + 00000000391 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_06.xml new file mode 100644 index 00000000..82fd26d0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + +085 + +085 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_07.xml new file mode 100644 index 00000000..cfbe1f5a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 10233 + 10233 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_08.xml new file mode 100644 index 00000000..987cdae3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 044598 + 044598 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_09.xml new file mode 100644 index 00000000..337cc2c2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + +00066 + +00066 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_10.xml new file mode 100644 index 00000000..4479eb58 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + +00000000000000000000003250 + +00000000000000000000003250 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_max.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_max.xml new file mode 100644 index 00000000..82db1c8c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_max.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 65535 + 65535 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_prefixed_with_zeros.xml new file mode 100644 index 00000000..0d0307a8 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_zero.xml new file mode 100644 index 00000000..f9764310 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_zero.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..4f505e2b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 000 + 000 + diff --git a/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..e907a5bb --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..bdeb8abc --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 𠤢4𠤢 + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..42e0a53c --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + [\h$񒺟ìÖċŠ1¿ + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..d5f6161f --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + öĖa􍣡™| + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..e04f28eb --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + J5 + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..a84fe140 --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..f27f8eff --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 6 + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..b255aea2 --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..463f8df4 --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + <ă<P󨱽²|dnœÞ® + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..814af1f6 --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..384f0314 --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,4 @@ + + a-_-_-_-_-_ + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..51f5a280 --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,4 @@ + + strange-name_ + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..0dcc2010 --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + fULCVpULCVq + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..8ca05101 --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + AopQejF + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..41a5422d --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + Jk0k1414Di + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..2ab06898 --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + pVz10Vz10vZZNO9hM + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..259c8c40 --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + t8x1pz9WS4TGV + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..7dc974d7 --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + tWC + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..6cc3180c --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + xF2bO_Uje6 + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..5f990654 --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + EO5DYAe + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..209e5d5f --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + nRdRe + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..5815c620 --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + P7gn + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..fdf4f561 --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,4 @@ + + a-_ + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..c7096095 --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,4 @@ + + a----------------b + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..d5513626 --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,4 @@ + + a________________ + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..f9ed0ded --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,4 @@ + + a0 + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..ea340a4d --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,4 @@ + + aa + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..1d7179fb --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,4 @@ + + a_ + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..0ce30ab0 --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,4 @@ + + AZ + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..9e7d4110 --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,4 @@ + + a-b + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..eb2c664a --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,4 @@ + + A_ + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/maximal.xml b/test_data/Xml/Expected/rangeMetadata/maximal.xml new file mode 100644 index 00000000..de20b187 --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/maximal.xml @@ -0,0 +1,141 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Expected/rangeMetadata/minimal.xml b/test_data/Xml/Expected/rangeMetadata/minimal.xml new file mode 100644 index 00000000..0eb3c816 --- /dev/null +++ b/test_data/Xml/Expected/rangeMetadata/minimal.xml @@ -0,0 +1,3 @@ + + xs:gDay + diff --git a/test_data/Xml/Expected/rangeValue/maximal.xml b/test_data/Xml/Expected/rangeValue/maximal.xml new file mode 100644 index 00000000..4dc26da4 --- /dev/null +++ b/test_data/Xml/Expected/rangeValue/maximal.xml @@ -0,0 +1,4 @@ + + 12552311.97 + 3242140.56 + diff --git a/test_data/Xml/Expected/rangeValue/minimal.xml b/test_data/Xml/Expected/rangeValue/minimal.xml new file mode 100644 index 00000000..9fd2335f --- /dev/null +++ b/test_data/Xml/Expected/rangeValue/minimal.xml @@ -0,0 +1,4 @@ + + 12552311.97 + 8978292.24 + diff --git a/test_data/Xml/Expected/reference/external_reference_first_key_in_generic_globally_identifiables.xml b/test_data/Xml/Expected/reference/external_reference_first_key_in_generic_globally_identifiables.xml new file mode 100644 index 00000000..8196bebb --- /dev/null +++ b/test_data/Xml/Expected/reference/external_reference_first_key_in_generic_globally_identifiables.xml @@ -0,0 +1,9 @@ + + ExternalReference + + + GlobalReference + https://example.com/something + + + diff --git a/test_data/Xml/Expected/reference/external_reference_last_key_in_generic_fragment_keys.xml b/test_data/Xml/Expected/reference/external_reference_last_key_in_generic_fragment_keys.xml new file mode 100644 index 00000000..e9494548 --- /dev/null +++ b/test_data/Xml/Expected/reference/external_reference_last_key_in_generic_fragment_keys.xml @@ -0,0 +1,13 @@ + + ExternalReference + + + GlobalReference + https://example.com/something + + + FragmentReference + something-more + + + diff --git a/test_data/Xml/Expected/reference/external_reference_last_key_in_generic_globally_identifiable.xml b/test_data/Xml/Expected/reference/external_reference_last_key_in_generic_globally_identifiable.xml new file mode 100644 index 00000000..d4fa44cf --- /dev/null +++ b/test_data/Xml/Expected/reference/external_reference_last_key_in_generic_globally_identifiable.xml @@ -0,0 +1,13 @@ + + ExternalReference + + + GlobalReference + https://example.com/something + + + GlobalReference + something-more + + + diff --git a/test_data/Xml/Expected/reference/external_reference_with_fragment_key.xml b/test_data/Xml/Expected/reference/external_reference_with_fragment_key.xml new file mode 100644 index 00000000..3ac79fe3 --- /dev/null +++ b/test_data/Xml/Expected/reference/external_reference_with_fragment_key.xml @@ -0,0 +1,17 @@ + + ExternalReference + + + GlobalReference + urn:first + + + FragmentReference + urn:middle + + + GlobalReference + urn:last + + + diff --git a/test_data/Xml/Expected/reference/maximal.xml b/test_data/Xml/Expected/reference/maximal.xml new file mode 100644 index 00000000..59a779ce --- /dev/null +++ b/test_data/Xml/Expected/reference/maximal.xml @@ -0,0 +1,18 @@ + + ExternalReference + + ExternalReference + + + GlobalReference + urn:another-example:00:3fff168c + + + + + + GlobalReference + urn:example:10:6914e6d2 + + + diff --git a/test_data/Xml/Expected/reference/minimal.xml b/test_data/Xml/Expected/reference/minimal.xml new file mode 100644 index 00000000..579c9fd2 --- /dev/null +++ b/test_data/Xml/Expected/reference/minimal.xml @@ -0,0 +1,9 @@ + + ExternalReference + + + GlobalReference + urn:example:10:6914e6d2 + + + diff --git a/test_data/Xml/Expected/reference/model_reference_first_key_in_globally_and_aas_identifiables.xml b/test_data/Xml/Expected/reference/model_reference_first_key_in_globally_and_aas_identifiables.xml new file mode 100644 index 00000000..bec1bbea --- /dev/null +++ b/test_data/Xml/Expected/reference/model_reference_first_key_in_globally_and_aas_identifiables.xml @@ -0,0 +1,9 @@ + + ModelReference + + + Submodel + https://example.com/something + + + diff --git a/test_data/Xml/Expected/reference/model_reference_fragment_after_blob.xml b/test_data/Xml/Expected/reference/model_reference_fragment_after_blob.xml new file mode 100644 index 00000000..d5b176fa --- /dev/null +++ b/test_data/Xml/Expected/reference/model_reference_fragment_after_blob.xml @@ -0,0 +1,17 @@ + + ModelReference + + + Submodel + https://example.com/something + + + Blob + something_more + + + FragmentReference + yet_something_more + + + diff --git a/test_data/Xml/Expected/reference/model_reference_valid_key_value_after_list.xml b/test_data/Xml/Expected/reference/model_reference_valid_key_value_after_list.xml new file mode 100644 index 00000000..b7f7a4fb --- /dev/null +++ b/test_data/Xml/Expected/reference/model_reference_valid_key_value_after_list.xml @@ -0,0 +1,17 @@ + + ModelReference + + + Submodel + https://example.com/something + + + SubmodelElementList + something_more + + + Property + 123 + + + diff --git a/test_data/Xml/Expected/referenceAttribute/maximal.xml b/test_data/Xml/Expected/referenceAttribute/maximal.xml new file mode 100644 index 00000000..2b58fdf0 --- /dev/null +++ b/test_data/Xml/Expected/referenceAttribute/maximal.xml @@ -0,0 +1,3 @@ + + $sm("a\\b")#id + diff --git a/test_data/Xml/Expected/referenceAttribute/minimal.xml b/test_data/Xml/Expected/referenceAttribute/minimal.xml new file mode 100644 index 00000000..2b58fdf0 --- /dev/null +++ b/test_data/Xml/Expected/referenceAttribute/minimal.xml @@ -0,0 +1,3 @@ + + $sm("a\\b")#id + diff --git a/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/aas_id.xml b/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/aas_id.xml new file mode 100644 index 00000000..5eba8cf1 --- /dev/null +++ b/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/aas_id.xml @@ -0,0 +1,3 @@ + + $aas("urn:aas:1")#id + diff --git a/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/aas_submodel_key.xml b/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/aas_submodel_key.xml new file mode 100644 index 00000000..c500d3b7 --- /dev/null +++ b/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/aas_submodel_key.xml @@ -0,0 +1,3 @@ + + $aas("urn:aas:1")#submodels[0].keys[0].value + diff --git a/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/cd_id_short.xml b/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/cd_id_short.xml new file mode 100644 index 00000000..aebb0e97 --- /dev/null +++ b/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/cd_id_short.xml @@ -0,0 +1,3 @@ + + $cd("cd1")#idShort + diff --git a/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/escaped_backslash.xml b/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/escaped_backslash.xml new file mode 100644 index 00000000..2b58fdf0 --- /dev/null +++ b/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/escaped_backslash.xml @@ -0,0 +1,3 @@ + + $sm("a\\b")#id + diff --git a/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/escaped_quote.xml b/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/escaped_quote.xml new file mode 100644 index 00000000..b2de673c --- /dev/null +++ b/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/escaped_quote.xml @@ -0,0 +1,3 @@ + + $sm("a\"b")#id + diff --git a/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/sm_id_short.xml b/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/sm_id_short.xml new file mode 100644 index 00000000..97a820c8 --- /dev/null +++ b/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/sm_id_short.xml @@ -0,0 +1,3 @@ + + $sm("https://example.com/sm")#idShort + diff --git a/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/sme_nested.xml b/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/sme_nested.xml new file mode 100644 index 00000000..cf181812 --- /dev/null +++ b/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/sme_nested.xml @@ -0,0 +1,3 @@ + + $sme("sm1").coll.list[0].prop#valueType + diff --git a/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/sme_value.xml b/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/sme_value.xml new file mode 100644 index 00000000..a23cb786 --- /dev/null +++ b/test_data/Xml/Expected/referenceAttribute/referenceOverPatternExamples/sme_value.xml @@ -0,0 +1,3 @@ + + $sme("https://example.com/sm").someProperty#value + diff --git a/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..6ff93640 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..2b285437 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..ce8b7d15 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..22bd3ad7 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..6b4c1678 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..fc42e86b --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..43f193e5 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..a3346a5e --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..cad81303 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..d9da909e --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..68f18796 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..80bd5d1d --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..d61c824c --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..9243a354 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..6d6c0591 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..a008c9e9 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..ffe95ddd --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..31faf956 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..20f616e2 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..0f9018f2 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..df0839c2 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..4d34af51 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..9ee42b5c --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..113abb2a --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..e3081819 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..885d36c3 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..e6ed5651 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..36813cfb --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..9430052a --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..b367bef5 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..fb11344d --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/referenceElement/maximal.xml b/test_data/Xml/Expected/referenceElement/maximal.xml new file mode 100644 index 00000000..9a7b4a6a --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/maximal.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Expected/referenceElement/minimal.xml b/test_data/Xml/Expected/referenceElement/minimal.xml new file mode 100644 index 00000000..8bb93a8b --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..276511d7 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..4b69f3d8 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..cec0b6f8 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..cbf8771b --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..8dbcea83 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..ac1333ce --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..443fb215 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..28bf1f26 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..8fa0cb55 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..53e6b51f --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..aa63f65b --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..b8fe2db8 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..80d98c0e --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..a3893d4f --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..1fca4608 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..263a2e17 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..ff1911c6 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..0b82afcf --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..255abb68 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..c499e043 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..13a96e53 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..017171f8 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..e6410b57 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..b289f939 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..cfac11dd --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..6d9554f9 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..291223d9 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..052fd57a --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..0aef6ab9 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..22befe1c --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..bb264732 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/referenceElementMetadata/maximal.xml b/test_data/Xml/Expected/referenceElementMetadata/maximal.xml new file mode 100644 index 00000000..4761f777 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/maximal.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Expected/referenceElementMetadata/minimal.xml b/test_data/Xml/Expected/referenceElementMetadata/minimal.xml new file mode 100644 index 00000000..601f7916 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementMetadata/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/referenceElementValue/maximal.xml b/test_data/Xml/Expected/referenceElementValue/maximal.xml new file mode 100644 index 00000000..662e4547 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementValue/maximal.xml @@ -0,0 +1,22 @@ + + ExternalReference + + + Entity + 0 + + + RelationshipElement + Ûă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:another-example:00:3fff168c + + + + diff --git a/test_data/Xml/Expected/referenceElementValue/minimal.xml b/test_data/Xml/Expected/referenceElementValue/minimal.xml new file mode 100644 index 00000000..b0083de9 --- /dev/null +++ b/test_data/Xml/Expected/referenceElementValue/minimal.xml @@ -0,0 +1,9 @@ + + ExternalReference + + + Operation + öĖa􍣡™| + + + diff --git a/test_data/Xml/Expected/regexComparison/maximal.xml b/test_data/Xml/Expected/regexComparison/maximal.xml new file mode 100644 index 00000000..006c9999 --- /dev/null +++ b/test_data/Xml/Expected/regexComparison/maximal.xml @@ -0,0 +1,14 @@ + + + + something_72aad79d + + + + + something_3bebb210 + + + + + diff --git a/test_data/Xml/Expected/regexComparison/minimal.xml b/test_data/Xml/Expected/regexComparison/minimal.xml new file mode 100644 index 00000000..006c9999 --- /dev/null +++ b/test_data/Xml/Expected/regexComparison/minimal.xml @@ -0,0 +1,14 @@ + + + + something_72aad79d + + + + + something_3bebb210 + + + + + diff --git a/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..3f30184a --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..996b5632 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..65f3d213 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..f331606f --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..5ab6e39e --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..465149f7 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..6cce7c03 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..57854963 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..bddd7d3b --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..56e792e6 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..52bccdca --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..37653a28 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..8e87b8c8 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..f47d3987 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..c7d4c680 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..f4be1026 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..48c8551c --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..b6795126 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..3b61e5bf --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..47e4135a --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..6e7dea29 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..7f465129 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..22537aec --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..33ca2a65 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..5d939131 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..3826e4a8 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..0672a89b --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..b88678b0 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..644c7d0f --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..3aafa8bf --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..1a789b39 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/relationshipElement/maximal.xml b/test_data/Xml/Expected/relationshipElement/maximal.xml new file mode 100644 index 00000000..5e578f0c --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/maximal.xml @@ -0,0 +1,158 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Expected/relationshipElement/minimal.xml b/test_data/Xml/Expected/relationshipElement/minimal.xml new file mode 100644 index 00000000..a08d7d6c --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..72daa4e3 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..38b261d9 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..8f7536be --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..03f3c67c --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..04c0692c --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..91e814d6 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..5b8cfef3 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..dc99a9b6 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..fa2ccc15 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..42f654a1 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..632a3457 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..3e256ab7 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..4f12673b --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..5bca2ccc --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..bfcf296d --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..59f85f07 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..12f36ff3 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..49440a49 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..523230be --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..b192385d --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..38bc2d35 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..15287f59 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..c34c3207 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..dd75401e --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..7819d76c --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..2daaa1d2 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..cf89d28f --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..e1c8cb6a --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..f5cd2b15 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..ead3b89f --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..8067c59f --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/maximal.xml b/test_data/Xml/Expected/relationshipElementMetadata/maximal.xml new file mode 100644 index 00000000..578db222 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/maximal.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Expected/relationshipElementMetadata/minimal.xml b/test_data/Xml/Expected/relationshipElementMetadata/minimal.xml new file mode 100644 index 00000000..2624f2cb --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementMetadata/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/relationshipElementValue/maximal.xml b/test_data/Xml/Expected/relationshipElementValue/maximal.xml new file mode 100644 index 00000000..27edabe9 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementValue/maximal.xml @@ -0,0 +1,20 @@ + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Expected/relationshipElementValue/minimal.xml b/test_data/Xml/Expected/relationshipElementValue/minimal.xml new file mode 100644 index 00000000..edb811b1 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElementValue/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/dash.xml b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/dash.xml new file mode 100644 index 00000000..5248a87e --- /dev/null +++ b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/dash.xml @@ -0,0 +1,4 @@ + + #; + application/x-abiword + diff --git a/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/dots.xml b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/dots.xml new file mode 100644 index 00000000..dec2ba24 --- /dev/null +++ b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/dots.xml @@ -0,0 +1,4 @@ + + #; + application/vnd.amazon.ebook + diff --git a/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..0449ac8f --- /dev/null +++ b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + #; + 7/6qwqh6g + diff --git a/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..854ac533 --- /dev/null +++ b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + #; + 15j/5j + diff --git a/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..675284a6 --- /dev/null +++ b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + #; + 'VbrwFrYTU/fO7NnLxq ; MX.`10dB732`X5yRy=I56Ov9Us ; pRb~~hdw_C%2Zf="" ; h=1t + diff --git a/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/number prefix and suffix.xml b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/number prefix and suffix.xml new file mode 100644 index 00000000..eb85e3ad --- /dev/null +++ b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/number prefix and suffix.xml @@ -0,0 +1,4 @@ + + #; + audio/3gpp2 + diff --git a/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/only_letters.xml b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/only_letters.xml new file mode 100644 index 00000000..24bd2f40 --- /dev/null +++ b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/only_letters.xml @@ -0,0 +1,4 @@ + + #; + audio/aac + diff --git a/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/plus.xml b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/plus.xml new file mode 100644 index 00000000..18138f67 --- /dev/null +++ b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/plus.xml @@ -0,0 +1,4 @@ + + #; + application/vnd.apple.installer+xml + diff --git a/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/random_common_MIME_type.xml b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/random_common_MIME_type.xml new file mode 100644 index 00000000..46a44006 --- /dev/null +++ b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/random_common_MIME_type.xml @@ -0,0 +1,4 @@ + + #; + application/something-random + diff --git a/test_data/Xml/Expected/resource/maximal.xml b/test_data/Xml/Expected/resource/maximal.xml new file mode 100644 index 00000000..854ac533 --- /dev/null +++ b/test_data/Xml/Expected/resource/maximal.xml @@ -0,0 +1,4 @@ + + #; + 15j/5j + diff --git a/test_data/Xml/Expected/resource/minimal.xml b/test_data/Xml/Expected/resource/minimal.xml new file mode 100644 index 00000000..84cdb5b3 --- /dev/null +++ b/test_data/Xml/Expected/resource/minimal.xml @@ -0,0 +1,3 @@ + + #; + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..9ef17011 --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + #%4b%6AT + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..408d1a57 --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + RqjJsrvAJ1Uk:%9d'%8C_%81k,%Fcd?yw,@B,M=.EE%8E + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..6c75e2b5 --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + #/%38%21& + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..3cfccc4b --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + //QQ%BF(,xe;A.@%94($,=%38@ + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..9c5af6e7 --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + /;=:&%30%1a;77@%321%A4%21;%FC:=/;=,=%13y:%2D;+J%c6%bcU%D3;j1G:sg=%EcA%f3/@z%29%B7&B;=#@H%8D=U%FE%5e%22%Db?,+ + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..84cdb5b3 --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + #; + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..709ad612 --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + #%6A%6AT + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..9c854f7f --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..f9893843 --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + q2t2uv://777646689268.160810318.01435447069935.47:/%Be/%04@%Cd@P%dc:C$&~x=;%3f9+;;sr-i=p,///;%D5@@x&;V@I%16/+;%e4,@%AA@Ih:%8Dg=%F8P,v%dE%3E%03%62%FB=$R,&%ac%71;u%11l8*;,;$%Faj:;;;%ee$%8b%EC@%4Alo;t,%0b%eB%D5%EA:%De;$$1:@/%8e%0D&9%C8M;@5%28%4E%BC@%34;;@%EC=tL)x(/M%D3%aF&%Ec;=%aa$$j;;%B3@hk=e:%DB%24Z;%F6%9E+%8e;=;%ba;;%b3;;p%f11=%34%c0;#lR:+k%BE4%EB + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..a40ee45a --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + #%59T=%e1&&%b4%53EYU?,/q%87%c6He + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_01.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_01.xml new file mode 100644 index 00000000..d5973a38 --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_01.xml @@ -0,0 +1,3 @@ + + http://www.example.org + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_02.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_02.xml new file mode 100644 index 00000000..aab15ab8 --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_02.xml @@ -0,0 +1,3 @@ + + ftp://ftp.is.co.za/rfc/rfc1808.txt + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_03.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_03.xml new file mode 100644 index 00000000..f59b5425 --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_03.xml @@ -0,0 +1,3 @@ + + mailto:John.Doe@example.org + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_04.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_04.xml new file mode 100644 index 00000000..343ede80 --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_04.xml @@ -0,0 +1,3 @@ + + news:comp.infosystems.www.servers.unix + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_05.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_05.xml new file mode 100644 index 00000000..6d1485fb --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_05.xml @@ -0,0 +1,3 @@ + + telnet://192.0.2.16:80/ + diff --git a/test_data/Xml/Expected/result/maximal.xml b/test_data/Xml/Expected/result/maximal.xml new file mode 100644 index 00000000..3fd38693 --- /dev/null +++ b/test_data/Xml/Expected/result/maximal.xml @@ -0,0 +1,12 @@ + + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + diff --git a/test_data/Xml/Expected/result/minimal.xml b/test_data/Xml/Expected/result/minimal.xml new file mode 100644 index 00000000..0444e925 --- /dev/null +++ b/test_data/Xml/Expected/result/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/securityAttributeObject/maximal.xml b/test_data/Xml/Expected/securityAttributeObject/maximal.xml new file mode 100644 index 00000000..65c13f84 --- /dev/null +++ b/test_data/Xml/Expected/securityAttributeObject/maximal.xml @@ -0,0 +1,5 @@ + + W3C_DID + something_18d259b9 + something_472688c5 + diff --git a/test_data/Xml/Expected/securityAttributeObject/minimal.xml b/test_data/Xml/Expected/securityAttributeObject/minimal.xml new file mode 100644 index 00000000..faf9a0d8 --- /dev/null +++ b/test_data/Xml/Expected/securityAttributeObject/minimal.xml @@ -0,0 +1,5 @@ + + W3C_DID + something_67cebccd + something_2db7f511 + diff --git a/test_data/Xml/Expected/serviceDescription/maximal.xml b/test_data/Xml/Expected/serviceDescription/maximal.xml new file mode 100644 index 00000000..1d49747c --- /dev/null +++ b/test_data/Xml/Expected/serviceDescription/maximal.xml @@ -0,0 +1,6 @@ + + + https://admin-shell.io/aas/API/3/2/SubmodelServiceSpecification/SSP-001 + https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRegistryServiceSpecification/SSP-002 + + diff --git a/test_data/Xml/Expected/serviceDescription/minimal.xml b/test_data/Xml/Expected/serviceDescription/minimal.xml new file mode 100644 index 00000000..1d49747c --- /dev/null +++ b/test_data/Xml/Expected/serviceDescription/minimal.xml @@ -0,0 +1,6 @@ + + + https://admin-shell.io/aas/API/3/2/SubmodelServiceSpecification/SSP-001 + https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRegistryServiceSpecification/SSP-002 + + diff --git a/test_data/Xml/Expected/specificAssetId/maximal.xml b/test_data/Xml/Expected/specificAssetId/maximal.xml new file mode 100644 index 00000000..aa43dc0f --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/maximal.xml @@ -0,0 +1,51 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + 򤑌M𪠇𛔊򂄲 + + ExternalReference + + + GlobalReference + urn:an-example:01:3a080c99 + + + + diff --git a/test_data/Xml/Expected/specificAssetId/minimal.xml b/test_data/Xml/Expected/specificAssetId/minimal.xml new file mode 100644 index 00000000..2805d13d --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/minimal.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..777244c3 --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..1531d32d --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 𠤢4𠤢 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..69e552c9 --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + [\h$񒺟ìÖċŠ1¿ + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..02ef9502 --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + öĖa􍣡™| + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..692bdc91 --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + J5 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..2805d13d --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..9cb9a7ee --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 6 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..7540206c --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..2daacf25 --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + <ă<P󨱽²|dnœÞ® + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..6740148c --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..e035861f --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..2805d13d --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..a476702f --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..a8c65cc9 --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..a296c7cc --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + J5 + diff --git a/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..58552fb3 --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..0a8fe90d --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 6 + diff --git a/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..141ef38e --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..37ecdf7b --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..60fa7b33 --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 0 + diff --git a/test_data/Xml/Expected/startsWithComparison/maximal.xml b/test_data/Xml/Expected/startsWithComparison/maximal.xml new file mode 100644 index 00000000..05690cf8 --- /dev/null +++ b/test_data/Xml/Expected/startsWithComparison/maximal.xml @@ -0,0 +1,14 @@ + + + + + + something_4df2f289 + + + + + $smdesc#semanticId.type + + + diff --git a/test_data/Xml/Expected/startsWithComparison/minimal.xml b/test_data/Xml/Expected/startsWithComparison/minimal.xml new file mode 100644 index 00000000..05690cf8 --- /dev/null +++ b/test_data/Xml/Expected/startsWithComparison/minimal.xml @@ -0,0 +1,14 @@ + + + + + + something_4df2f289 + + + + + $smdesc#semanticId.type + + + diff --git a/test_data/Xml/Expected/stringCast/maximal.xml b/test_data/Xml/Expected/stringCast/maximal.xml new file mode 100644 index 00000000..400a4cfd --- /dev/null +++ b/test_data/Xml/Expected/stringCast/maximal.xml @@ -0,0 +1,11 @@ + + + + + + ANONYMOUS + + + + + diff --git a/test_data/Xml/Expected/stringCast/minimal.xml b/test_data/Xml/Expected/stringCast/minimal.xml new file mode 100644 index 00000000..400a4cfd --- /dev/null +++ b/test_data/Xml/Expected/stringCast/minimal.xml @@ -0,0 +1,11 @@ + + + + + + ANONYMOUS + + + + + diff --git a/test_data/Xml/Expected/stringLiteral/maximal.xml b/test_data/Xml/Expected/stringLiteral/maximal.xml new file mode 100644 index 00000000..255d531c --- /dev/null +++ b/test_data/Xml/Expected/stringLiteral/maximal.xml @@ -0,0 +1,3 @@ + + something_b358d315 + diff --git a/test_data/Xml/Expected/stringLiteral/minimal.xml b/test_data/Xml/Expected/stringLiteral/minimal.xml new file mode 100644 index 00000000..255d531c --- /dev/null +++ b/test_data/Xml/Expected/stringLiteral/minimal.xml @@ -0,0 +1,3 @@ + + something_b358d315 + diff --git a/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..9201c793 --- /dev/null +++ b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 0 + diff --git a/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..273eef77 --- /dev/null +++ b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 𠤢4𠤢 + 0 + diff --git a/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..eb9b1f9a --- /dev/null +++ b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + [\h$񒺟ìÖċŠ1¿ + 0 + diff --git a/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..111646cf --- /dev/null +++ b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + öĖa􍣡™| + 0 + diff --git a/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..4e1131fd --- /dev/null +++ b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + J5 + 0 + diff --git a/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..ae4cdd95 --- /dev/null +++ b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 0 + diff --git a/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..dd76dc60 --- /dev/null +++ b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 6 + 0 + diff --git a/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..c99b4bff --- /dev/null +++ b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + 0 + diff --git a/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..3c700de1 --- /dev/null +++ b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + <ă<P󨱽²|dnœÞ® + 0 + diff --git a/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..2004cc6d --- /dev/null +++ b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + 0 + diff --git a/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..6db9a6c8 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..78118b09 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..fdc20b5e --- /dev/null +++ b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..598f9cbd --- /dev/null +++ b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..cb5c3998 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..561fcdc2 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..3e3665c4 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..fa1b57fa --- /dev/null +++ b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..86e40b1c --- /dev/null +++ b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..b21b705f --- /dev/null +++ b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..61ae7830 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,4 @@ + + a-_-_-_-_-_ + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..c7643e8e --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,4 @@ + + strange-name_ + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..67c23344 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + fULCVpULCVq + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..3a339bd2 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + AopQejF + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..583f50e9 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + Jk0k1414Di + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..6c2c1193 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + pVz10Vz10vZZNO9hM + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..4bdecba8 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + t8x1pz9WS4TGV + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..c04dfc8f --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + tWC + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..8c4192cd --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + xF2bO_Uje6 + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..7e0ec4e1 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + EO5DYAe + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..4048f4b4 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + nRdRe + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..bedfe9f5 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + P7gn + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..298e9f27 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,4 @@ + + a-_ + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..f745f9a5 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,4 @@ + + a----------------b + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..7ac9e01c --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,4 @@ + + a________________ + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..dc7bdaa5 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,4 @@ + + a0 + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..f0368f31 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,4 @@ + + aa + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..44b89c87 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,4 @@ + + a_ + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..f40580d7 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,4 @@ + + AZ + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..7acb6963 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,4 @@ + + a-b + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..50435523 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,4 @@ + + A_ + 0 + diff --git a/test_data/Xml/Expected/submodel/maximal.xml b/test_data/Xml/Expected/submodel/maximal.xml new file mode 100644 index 00000000..e60ceace --- /dev/null +++ b/test_data/Xml/Expected/submodel/maximal.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Expected/submodel/minimal.xml b/test_data/Xml/Expected/submodel/minimal.xml new file mode 100644 index 00000000..b21b705f --- /dev/null +++ b/test_data/Xml/Expected/submodel/minimal.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..b36c2ce2 --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,23 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..993f3c49 --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,23 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..284559c7 --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,23 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..c64c084f --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,23 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..dff283f6 --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,23 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + J5 + diff --git a/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..1e4f3b7f --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,23 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..c0fba662 --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,23 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 6 + diff --git a/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..55cd9327 --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,23 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..76fdd078 --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,23 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..32e82ad5 --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/idOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,23 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + diff --git a/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..0850a93e --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,24 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + Ûă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..955a28b2 --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,24 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + Ûă<P󨱽²|dnœÞ® + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..a02ef0d3 --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,24 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + Ûă<P󨱽²|dnœÞ® + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..159ad365 --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,24 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + Ûă<P󨱽²|dnœÞ® + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..6af62761 --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,24 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + Ûă<P󨱽²|dnœÞ® + J5 + diff --git a/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..41b739d4 --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,24 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + Ûă<P󨱽²|dnœÞ® + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..7471e387 --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,24 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + Ûă<P󨱽²|dnœÞ® + 6 + diff --git a/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..9778465b --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,24 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + Ûă<P󨱽²|dnœÞ® + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..467c14d0 --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,24 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + Ûă<P󨱽²|dnœÞ® + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..a08d50e8 --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,24 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + Ûă<P󨱽²|dnœÞ® + 0 + diff --git a/test_data/Xml/Expected/submodelDescriptor/maximal.xml b/test_data/Xml/Expected/submodelDescriptor/maximal.xml new file mode 100644 index 00000000..903baa74 --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/maximal.xml @@ -0,0 +1,91 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + + <ă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Expected/submodelDescriptor/minimal.xml b/test_data/Xml/Expected/submodelDescriptor/minimal.xml new file mode 100644 index 00000000..1e4f3b7f --- /dev/null +++ b/test_data/Xml/Expected/submodelDescriptor/minimal.xml @@ -0,0 +1,23 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..77640924 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..c1783d56 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..6c08decd --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..e2ad4ce9 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..01559483 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..40805dfa --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..9b39578e --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..448fe10b --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..78e0a55d --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..f08fe658 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..40b4f0db --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..a6528917 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..c2dbdf14 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..9daa32a9 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..1378eb7f --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..e9b12ea5 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..d0ad4173 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..f9c499e1 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..df02d012 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..3f82e286 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..277c81a3 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..5769aa50 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..1ceb5bd1 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..1440e3ec --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..79e3a2da --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..68544bc5 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..431fee57 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..a9a97981 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..2256bd6f --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..60f4b72d --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..546d7761 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/submodelElementCollection/maximal.xml b/test_data/Xml/Expected/submodelElementCollection/maximal.xml new file mode 100644 index 00000000..77d9e664 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/maximal.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Expected/submodelElementCollection/minimal.xml b/test_data/Xml/Expected/submodelElementCollection/minimal.xml new file mode 100644 index 00000000..090983ca --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..6d1d2979 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..20d2f62c --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..87fb02e8 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..2a3d22be --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..cd454315 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..4c7fa292 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..6ea03977 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..54636b9d --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..fc3c0e83 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..0e5c8b25 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..03b70fc0 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..8ce9568a --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..47ad1247 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..cbf73ed9 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..89c915a3 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..a7d00376 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..2ca9ca5e --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..15aacde1 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..1b6fcd83 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..3315dff1 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..cceaabf0 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..4b05bd71 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..f58307fa --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..2959e239 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..1075cafe --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..1fd0b0b0 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..2e4ded5f --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..eb14123d --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..7ae6425d --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..911e05fe --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..4fbb5d79 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/maximal.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/maximal.xml new file mode 100644 index 00000000..1f6e9c3e --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/maximal.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Expected/submodelElementCollectionMetadata/minimal.xml b/test_data/Xml/Expected/submodelElementCollectionMetadata/minimal.xml new file mode 100644 index 00000000..60288872 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollectionMetadata/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..73ab2f3f --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..aa71f9af --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 𠤢4𠤢 + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..acea9120 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + [\h$񒺟ìÖċŠ1¿ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..96b16c43 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + öĖa􍣡™| + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..9ca0e541 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + J5 + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..c0027c7a --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..11e530fa --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 6 + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..e1901ca1 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..008f8073 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + <ă<P󨱽²|dnœÞ® + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..8db2e055 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..ab17fdaa --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,4 @@ + + a-_-_-_-_-_ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..2d637bd3 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,4 @@ + + strange-name_ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..9a73c23d --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + fULCVpULCVq + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..a9fb0374 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + AopQejF + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..2cdd954a --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + Jk0k1414Di + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..0be507e8 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + pVz10Vz10vZZNO9hM + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..50d3ba7c --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + t8x1pz9WS4TGV + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..c476bcc3 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + tWC + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..65e05c1a --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + xF2bO_Uje6 + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..c6922b88 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + EO5DYAe + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..e1f89242 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + nRdRe + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..cdf3342a --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + P7gn + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..cd6499ca --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,4 @@ + + a-_ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..6d23419b --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,4 @@ + + a----------------b + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..d0a7a172 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,4 @@ + + a________________ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..4a14d7ba --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,4 @@ + + a0 + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..468917a6 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,4 @@ + + aa + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..455ad5ca --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,4 @@ + + a_ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..128e936d --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,4 @@ + + AZ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..10f94614 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,4 @@ + + a-b + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..499097dc --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,4 @@ + + A_ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/list_id_short_in_value.xml b/test_data/Xml/Expected/submodelElementList/list_id_short_in_value.xml new file mode 100644 index 00000000..d7d53698 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/list_id_short_in_value.xml @@ -0,0 +1,11 @@ + + someList + Property + xs:boolean + + + something + xs:boolean + + + diff --git a/test_data/Xml/Expected/submodelElementList/list_no_semantic_id_list_element.xml b/test_data/Xml/Expected/submodelElementList/list_no_semantic_id_list_element.xml new file mode 100644 index 00000000..b72ae8f9 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/list_no_semantic_id_list_element.xml @@ -0,0 +1,31 @@ + + someList + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Expected/submodelElementList/list_one_child_without_semantic_id.xml b/test_data/Xml/Expected/submodelElementList/list_one_child_without_semantic_id.xml new file mode 100644 index 00000000..8f96a28e --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/list_one_child_without_semantic_id.xml @@ -0,0 +1,31 @@ + + someList + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Expected/submodelElementList/list_two_properties.xml b/test_data/Xml/Expected/submodelElementList/list_two_properties.xml new file mode 100644 index 00000000..a02d7789 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/list_two_properties.xml @@ -0,0 +1,40 @@ + + someList + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Expected/submodelElementList/maximal.xml b/test_data/Xml/Expected/submodelElementList/maximal.xml new file mode 100644 index 00000000..cdf13fd3 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/maximal.xml @@ -0,0 +1,178 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Expected/submodelElementList/minimal.xml b/test_data/Xml/Expected/submodelElementList/minimal.xml new file mode 100644 index 00000000..d0612069 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/minimal.xml @@ -0,0 +1,3 @@ + + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..24c88aa7 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..0aaf2f78 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 𠤢4𠤢 + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..7838d01e --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + [\h$񒺟ìÖċŠ1¿ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..a2ec3d5f --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + öĖa􍣡™| + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..a6e21f38 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + J5 + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..25c021f6 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..59dfec2c --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 6 + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..df121ee8 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..3fb2c2a3 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + <ă<P󨱽²|dnœÞ® + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..9734bf4d --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..f371f9b4 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,4 @@ + + a-_-_-_-_-_ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..a245c5fe --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,4 @@ + + strange-name_ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..7ff061bf --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + fULCVpULCVq + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..a2348ef7 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + AopQejF + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..915efd5e --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + Jk0k1414Di + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..9cba4809 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + pVz10Vz10vZZNO9hM + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..4fa32189 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + t8x1pz9WS4TGV + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..0228d7f3 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + tWC + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..da6b2413 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + xF2bO_Uje6 + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..df9cbf1c --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + EO5DYAe + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..7fb2e4ee --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + nRdRe + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..812d64c7 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + P7gn + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..4424d72b --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,4 @@ + + a-_ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..439d036d --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,4 @@ + + a----------------b + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..167e54a9 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,4 @@ + + a________________ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..f37917e3 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,4 @@ + + a0 + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..0dff6879 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,4 @@ + + aa + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..65f4dc2b --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,4 @@ + + a_ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..f0990985 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,4 @@ + + AZ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..d911b7cf --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,4 @@ + + a-b + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..ce197957 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,4 @@ + + A_ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/maximal.xml b/test_data/Xml/Expected/submodelElementListMetadata/maximal.xml new file mode 100644 index 00000000..01d92a0b --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/maximal.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Expected/submodelElementListMetadata/minimal.xml b/test_data/Xml/Expected/submodelElementListMetadata/minimal.xml new file mode 100644 index 00000000..af285c2b --- /dev/null +++ b/test_data/Xml/Expected/submodelElementListMetadata/minimal.xml @@ -0,0 +1,3 @@ + + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..9635f30b --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..d9bdb7e2 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 𠤢4𠤢 + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..94ef0f99 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + [\h$񒺟ìÖċŠ1¿ + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..71c3f661 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + öĖa􍣡™| + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..6d322e6d --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + J5 + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..0fe34e40 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..18903be2 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 6 + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..d2c1132a --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..2d700c88 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + <ă<P󨱽²|dnœÞ® + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..406b9130 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..819ae035 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..b74d7f9e --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..be6f1443 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..9191a3ea --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..ce52f94f --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..b9cdc0ff --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..7ad3150a --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..fbe63aee --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..94e17f62 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..bae11357 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..60a74204 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,4 @@ + + a-_-_-_-_-_ + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..020a61da --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,4 @@ + + strange-name_ + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..45aa7cd2 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + fULCVpULCVq + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..bd6ee6e1 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + AopQejF + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..d4773494 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + Jk0k1414Di + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..6319ee1a --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + pVz10Vz10vZZNO9hM + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..e1d78296 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + t8x1pz9WS4TGV + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..9844e1b0 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + tWC + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..1da4ad83 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + xF2bO_Uje6 + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..1e76a8c6 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + EO5DYAe + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..c3869dad --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + nRdRe + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..db8de55e --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + P7gn + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..1d545be8 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,4 @@ + + a-_ + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..7843d6fa --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,4 @@ + + a----------------b + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..c4dd1b14 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,4 @@ + + a________________ + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..f4637570 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,4 @@ + + a0 + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..03b36fa1 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,4 @@ + + aa + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..4b51ce29 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,4 @@ + + a_ + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..b527d5cb --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,4 @@ + + AZ + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..493c6268 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,4 @@ + + a-b + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..416f5d0a --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,4 @@ + + A_ + 0 + diff --git a/test_data/Xml/Expected/submodelMetadata/maximal.xml b/test_data/Xml/Expected/submodelMetadata/maximal.xml new file mode 100644 index 00000000..6921d1cb --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/maximal.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Expected/submodelMetadata/minimal.xml b/test_data/Xml/Expected/submodelMetadata/minimal.xml new file mode 100644 index 00000000..bae11357 --- /dev/null +++ b/test_data/Xml/Expected/submodelMetadata/minimal.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..895e1c37 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,5 @@ + + 0013-10-11T24:00:00.000000Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..0d6d01b3 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,5 @@ + + 0001-01-01T00:00:00Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..8827141d --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,5 @@ + + -3020-08-21T24:00:00.0Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/midnight_with_24_hours.xml b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/midnight_with_24_hours.xml new file mode 100644 index 00000000..6b770d90 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/midnight_with_24_hours.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/midnight_with_zeros.xml b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/midnight_with_zeros.xml new file mode 100644 index 00000000..7b09de98 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/midnight_with_zeros.xml @@ -0,0 +1,5 @@ + + 2022-04-01T00:00:00Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/minus_zero_offset.xml b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/minus_zero_offset.xml new file mode 100644 index 00000000..165f8888 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/minus_zero_offset.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00-00:00 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/plus_zero_offset.xml b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/plus_zero_offset.xml new file mode 100644 index 00000000..e382d392 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/plus_zero_offset.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/random_positive.xml b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/random_positive.xml new file mode 100644 index 00000000..0afce7dd --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/random_positive.xml @@ -0,0 +1,5 @@ + + 2022-04-01T01:02:03Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/very_large_year.xml b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/very_large_year.xml new file mode 100644 index 00000000..675ef347 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/very_large_year.xml @@ -0,0 +1,5 @@ + + 123456789012345678901234567-04-01T00:00:00Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/very_long_fractional_second.xml b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/very_long_fractional_second.xml new file mode 100644 index 00000000..d1d31150 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/very_long_fractional_second.xml @@ -0,0 +1,5 @@ + + 2022-04-01T00:00:00.1234567890123456789012345678901234567890Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..bd175dee --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/year_1_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + -0001-02-29T01:02:03Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..fda03dba --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/createdAtOverPatternExamples/year_5_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + -0005-02-29T01:02:03Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..86b3cf60 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..f3c2f465 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..b86900e8 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..fe40f2d0 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..e382d392 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..6a18042f --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..6dd70815 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + 6 + diff --git a/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..85eddcb0 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..0a8674e3 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..27216be4 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/idOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + 0 + diff --git a/test_data/Xml/Expected/submodelRecentChange/maximal.xml b/test_data/Xml/Expected/submodelRecentChange/maximal.xml new file mode 100644 index 00000000..28207e34 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/maximal.xml @@ -0,0 +1,43 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + 0 + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Expected/submodelRecentChange/minimal.xml b/test_data/Xml/Expected/submodelRecentChange/minimal.xml new file mode 100644 index 00000000..e382d392 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/minimal.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..de7c9b7b --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 0013-10-11T24:00:00.000000Z + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..c88b901f --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 0001-01-01T00:00:00Z + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..1b925f1f --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + -3020-08-21T24:00:00.0Z + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/midnight_with_24_hours.xml b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/midnight_with_24_hours.xml new file mode 100644 index 00000000..e4e7a73d --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/midnight_with_24_hours.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/midnight_with_zeros.xml b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/midnight_with_zeros.xml new file mode 100644 index 00000000..cdd42b8a --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/midnight_with_zeros.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T00:00:00Z + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/minus_zero_offset.xml b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/minus_zero_offset.xml new file mode 100644 index 00000000..e382d392 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/minus_zero_offset.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/plus_zero_offset.xml b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/plus_zero_offset.xml new file mode 100644 index 00000000..acdcfc3b --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/plus_zero_offset.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00+00:00 + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/random_positive.xml b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/random_positive.xml new file mode 100644 index 00000000..4e9ccbda --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/random_positive.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T01:02:03Z + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/very_large_year.xml b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/very_large_year.xml new file mode 100644 index 00000000..34977c43 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/very_large_year.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 123456789012345678901234567-04-01T00:00:00Z + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/very_long_fractional_second.xml b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/very_long_fractional_second.xml new file mode 100644 index 00000000..99d877e6 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/very_long_fractional_second.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T00:00:00.1234567890123456789012345678901234567890Z + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..d0762238 --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/year_1_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + -0001-02-29T01:02:03Z + J5 + diff --git a/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..a38fb20b --- /dev/null +++ b/test_data/Xml/Expected/submodelRecentChange/updatedAtOverPatternExamples/year_5_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + -0005-02-29T01:02:03Z + J5 + diff --git a/test_data/Xml/Expected/timeCast/maximal.xml b/test_data/Xml/Expected/timeCast/maximal.xml new file mode 100644 index 00000000..471435c7 --- /dev/null +++ b/test_data/Xml/Expected/timeCast/maximal.xml @@ -0,0 +1,7 @@ + + + + something_d032619c + + + diff --git a/test_data/Xml/Expected/timeCast/minimal.xml b/test_data/Xml/Expected/timeCast/minimal.xml new file mode 100644 index 00000000..471435c7 --- /dev/null +++ b/test_data/Xml/Expected/timeCast/minimal.xml @@ -0,0 +1,7 @@ + + + + something_d032619c + + + diff --git a/test_data/Xml/Expected/timeLiteral/maximal.xml b/test_data/Xml/Expected/timeLiteral/maximal.xml new file mode 100644 index 00000000..ae8bf1f9 --- /dev/null +++ b/test_data/Xml/Expected/timeLiteral/maximal.xml @@ -0,0 +1,3 @@ + + 12:00:00+01:00 + diff --git a/test_data/Xml/Expected/timeLiteral/minimal.xml b/test_data/Xml/Expected/timeLiteral/minimal.xml new file mode 100644 index 00000000..ae8bf1f9 --- /dev/null +++ b/test_data/Xml/Expected/timeLiteral/minimal.xml @@ -0,0 +1,3 @@ + + 12:00:00+01:00 + diff --git a/test_data/Xml/Expected/timeLiteral/timeValOverPatternExamples/end_of_day.xml b/test_data/Xml/Expected/timeLiteral/timeValOverPatternExamples/end_of_day.xml new file mode 100644 index 00000000..f147889a --- /dev/null +++ b/test_data/Xml/Expected/timeLiteral/timeValOverPatternExamples/end_of_day.xml @@ -0,0 +1,3 @@ + + 24:00 + diff --git a/test_data/Xml/Expected/timeLiteral/timeValOverPatternExamples/fraction.xml b/test_data/Xml/Expected/timeLiteral/timeValOverPatternExamples/fraction.xml new file mode 100644 index 00000000..49cd233f --- /dev/null +++ b/test_data/Xml/Expected/timeLiteral/timeValOverPatternExamples/fraction.xml @@ -0,0 +1,3 @@ + + 00:00:00.5 + diff --git a/test_data/Xml/Expected/timeLiteral/timeValOverPatternExamples/hours_minutes.xml b/test_data/Xml/Expected/timeLiteral/timeValOverPatternExamples/hours_minutes.xml new file mode 100644 index 00000000..effed55f --- /dev/null +++ b/test_data/Xml/Expected/timeLiteral/timeValOverPatternExamples/hours_minutes.xml @@ -0,0 +1,3 @@ + + 12:30 + diff --git a/test_data/Xml/Expected/timeLiteral/timeValOverPatternExamples/utc.xml b/test_data/Xml/Expected/timeLiteral/timeValOverPatternExamples/utc.xml new file mode 100644 index 00000000..ee8ff1b4 --- /dev/null +++ b/test_data/Xml/Expected/timeLiteral/timeValOverPatternExamples/utc.xml @@ -0,0 +1,3 @@ + + 23:59:59Z + diff --git a/test_data/Xml/Expected/timeLiteral/timeValOverPatternExamples/with_seconds.xml b/test_data/Xml/Expected/timeLiteral/timeValOverPatternExamples/with_seconds.xml new file mode 100644 index 00000000..398ec62a --- /dev/null +++ b/test_data/Xml/Expected/timeLiteral/timeValOverPatternExamples/with_seconds.xml @@ -0,0 +1,3 @@ + + 12:00:00 + diff --git a/test_data/Xml/Expected/timeLiteral/timeValOverPatternExamples/with_zone.xml b/test_data/Xml/Expected/timeLiteral/timeValOverPatternExamples/with_zone.xml new file mode 100644 index 00000000..ae8bf1f9 --- /dev/null +++ b/test_data/Xml/Expected/timeLiteral/timeValOverPatternExamples/with_zone.xml @@ -0,0 +1,3 @@ + + 12:00:00+01:00 + diff --git a/test_data/Xml/Expected/valueList/maximal.xml b/test_data/Xml/Expected/valueList/maximal.xml new file mode 100644 index 00000000..e0a46ae1 --- /dev/null +++ b/test_data/Xml/Expected/valueList/maximal.xml @@ -0,0 +1,7 @@ + + + + öĖa􍣡™| + + + diff --git a/test_data/Xml/Expected/valueList/minimal.xml b/test_data/Xml/Expected/valueList/minimal.xml new file mode 100644 index 00000000..e0a46ae1 --- /dev/null +++ b/test_data/Xml/Expected/valueList/minimal.xml @@ -0,0 +1,7 @@ + + + + öĖa􍣡™| + + + diff --git a/test_data/Xml/Expected/valueReferencePair/maximal.xml b/test_data/Xml/Expected/valueReferencePair/maximal.xml new file mode 100644 index 00000000..8aff2c85 --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/maximal.xml @@ -0,0 +1,12 @@ + + 򤑌M𪠇𛔊򂄲 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Expected/valueReferencePair/minimal.xml b/test_data/Xml/Expected/valueReferencePair/minimal.xml new file mode 100644 index 00000000..196b76a4 --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/minimal.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..460792ad --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..2c1113b0 --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..93fcbddf --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..6f18598a --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..205eea39 --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..82ea241a --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..92c6f351 --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..196b76a4 --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..a92248dd --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..ee9ce111 --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/year/maximal.xml b/test_data/Xml/Expected/year/maximal.xml new file mode 100644 index 00000000..ce80f516 --- /dev/null +++ b/test_data/Xml/Expected/year/maximal.xml @@ -0,0 +1,7 @@ + + + + 2023-01-01T24:00:00 + + + diff --git a/test_data/Xml/Expected/year/minimal.xml b/test_data/Xml/Expected/year/minimal.xml new file mode 100644 index 00000000..ce80f516 --- /dev/null +++ b/test_data/Xml/Expected/year/minimal.xml @@ -0,0 +1,7 @@ + + + + 2023-01-01T24:00:00 + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/administrativeInformation/created_at_after_updated_at.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/administrativeInformation/created_at_after_updated_at.xml new file mode 100644 index 00000000..0615b38e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/administrativeInformation/created_at_after_updated_at.xml @@ -0,0 +1,88 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-example:15:bafb75bf + + + + + + + + en-JM-x-4138dab8 + [\h$񒺟ìÖċŠ1¿ + + + 0 + + + + + + ExternalReference + + + GlobalReference + urn:something:06:8c675c7e + + + + + + + + en-JM-x-ed3d945d + 𠤢4𠤢 + + + 򤑌M𪠇𛔊򂄲 + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:6a4b9a64 + + + + + + + + en-JM-x-03ed72b5 + J5 + + + en-JM-x-f78bd480 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + <ă<P󨱽²|dnœÞ® + + + + + 116 + 7 + + ExternalReference + + + GlobalReference + urn:another-example:09:31c8656d + + + + 2022-04-02T12:00:00Z + 2022-04-01T12:00:00Z + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/administrativeInformation/created_at_after_updated_at.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/administrativeInformation/created_at_after_updated_at.xml.errors new file mode 100644 index 00000000..93d44eb3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/administrativeInformation/created_at_after_updated_at.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Created-at must be before or equal to updated-at. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/assetInformation/global_asset_id_name_in_other_case_with_different_value.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/assetInformation/global_asset_id_name_in_other_case_with_different_value.xml new file mode 100644 index 00000000..6bd41db8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/assetInformation/global_asset_id_name_in_other_case_with_different_value.xml @@ -0,0 +1,10 @@ + + NotApplicable + urn:global:asset + + + GlobalAssetId + urn:other + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/assetInformation/global_asset_id_name_in_other_case_with_different_value.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/assetInformation/global_asset_id_name_in_other_case_with_different_value.xml.errors new file mode 100644 index 00000000..da634ffc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/assetInformation/global_asset_id_name_in_other_case_with_different_value.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-116: ``globalAssetId`` (case-insensitive) is a reserved key. If used as value for the name of specific asset ID then the value of specific asset ID shall be identical to the global asset ID with semantics as defined in https://admin-shell.io/aas/3/x/AssetInformation/globalAssetId, x being the minor version of the used specification. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/assetInformation/global_asset_id_name_with_different_value.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/assetInformation/global_asset_id_name_with_different_value.xml new file mode 100644 index 00000000..ae9a7dbf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/assetInformation/global_asset_id_name_with_different_value.xml @@ -0,0 +1,10 @@ + + Type + urn:global:asset + + + globalAssetId + urn:other + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/assetInformation/global_asset_id_name_with_different_value.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/assetInformation/global_asset_id_name_with_different_value.xml.errors new file mode 100644 index 00000000..da634ffc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/assetInformation/global_asset_id_name_with_different_value.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-116: ``globalAssetId`` (case-insensitive) is a reserved key. If used as value for the name of specific asset ID then the value of specific asset ID shall be identical to the global asset ID with semantics as defined in https://admin-shell.io/aas/3/x/AssetInformation/globalAssetId, x being the minor version of the used specification. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/assetInformation/global_asset_id_name_without_global_asset_id.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/assetInformation/global_asset_id_name_without_global_asset_id.xml new file mode 100644 index 00000000..e1700c1c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/assetInformation/global_asset_id_name_without_global_asset_id.xml @@ -0,0 +1,10 @@ + + Type + Ûă<P󨱽²|dnœÞ® + + + globalAssetId + urn:other + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/assetInformation/global_asset_id_name_without_global_asset_id.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/assetInformation/global_asset_id_name_without_global_asset_id.xml.errors new file mode 100644 index 00000000..da634ffc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/assetInformation/global_asset_id_name_without_global_asset_id.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-116: ``globalAssetId`` (case-insensitive) is a reserved key. If used as value for the name of specific asset ID then the value of specific asset ID shall be identical to the global asset ID with semantics as defined in https://admin-shell.io/aas/3/x/AssetInformation/globalAssetId, x being the minor version of the used specification. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/operation/operation_variable_list_with_two_elements.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/operation/operation_variable_list_with_two_elements.xml new file mode 100644 index 00000000..b1187ad0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/operation/operation_variable_list_with_two_elements.xml @@ -0,0 +1,259 @@ + + + + öĖa􍣡™| + + + öĖa􍣡™| + + + 6 + + + [\h$񒺟ìÖċŠ1¿ + nRdRe + + + en-JM-x-21f819f7 + 򤑌M𪠇𛔊򂄲 + + + + + en-JM-x-c751e85c + <ă<P󨱽²|dnœÞ® + + + en-JM-x-cd9da822 + J5 + + + en-JM-x-d7110718 + öĖa􍣡™| + + + + ExternalReference + + + GlobalReference + urn:example:02:1d98e782 + + + + + + ExternalReference + + + GlobalReference + urn:another-company:02:927e8052 + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:bbe8c87a + + + + + ExternalReference + + + GlobalReference + urn:example:14:db468b42 + + + + + + + something_9cc1f176 + xs:byte + + + + + + ExternalReference + + + GlobalReference + urn:some-company:16:482dd448 + + + + + + + + en-JM-x-e74745ad + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:19:a343b913 + + + + + + + + en-JM-x-915e0391 + J5 + + + en-JM-x-00896050 + 𠤢4𠤢 + + + en-JM-x-f65f2fa5 + 𠤢4𠤢 + + + öĖa􍣡™| + + + + + + ExternalReference + + + GlobalReference + urn:another-example:09:8891546d + + + + + + + + en-JM-x-f075c583 + J5 + + + en-JM-x-65d445a2 + <ă<P󨱽²|dnœÞ® + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + + something79d4e197 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + + + somethingba65a561 + + + + + + + something29fb2981 + xs:short + + + + + + + + + something188049ba + + + + + + + something858a70e7 + + ModelReference + + + Submodel + urn:another-example:04:8f67344c + + + Property + something5457ae10 + + + + output + off + + + + + + + something04769ab1 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/operation/operation_variable_list_with_two_elements.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/operation/operation_variable_list_with_two_elements.xml.errors new file mode 100644 index 00000000..d98b4204 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/operation/operation_variable_list_with_two_elements.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-077: The name of an extension within Has-Extensions needs to be unique.; +: Invariant violated: +Constraint AASd-138: A submodel element list within a submodel of kind Template or as part of an operation variable shall have exactly one element. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/operation/operation_variable_list_without_elements.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/operation/operation_variable_list_without_elements.xml new file mode 100644 index 00000000..df13af6e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/operation/operation_variable_list_without_elements.xml @@ -0,0 +1,146 @@ + + + + [\h$񒺟ìÖċŠ1¿ + + + 𠤢4𠤢 + + + [\h$񒺟ìÖċŠ1¿ + a-_ + + + en-JM-x-d5bea02c + Ûă<P󨱽²|dnœÞ® + + + + + en-JM-x-e9ab6cb4 + 0 + + + en-JM-x-970f5fa4 + öĖa􍣡™| + + + + ExternalReference + + + GlobalReference + urn:another-example:09:160d4555 + + + + + + ExternalReference + + + GlobalReference + urn:some-company:10:001714f2 + + + + + ExternalReference + + + GlobalReference + urn:an-example:14:7e48ae02 + + + + + + + something_cda0409b + xs:string + + + + + + ExternalReference + + + GlobalReference + urn:something:15:39d00ad7 + + + + + + + + en-JM-x-8e1751aa + 򤑌M𪠇𛔊򂄲 + + + + + + + + + + + somethingf129ec8d + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + + + + something8c094fc1 + + + + + + + somethingcb20d5ef + + + + + + + + + something3bb46d9a + + + + + + + + + something24fa02de + xs:unsignedByte + + + + + + + somethingbde0d723 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/operation/operation_variable_list_without_elements.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/operation/operation_variable_list_without_elements.xml.errors new file mode 100644 index 00000000..68231f5f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/operation/operation_variable_list_without_elements.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-138: A submodel element list within a submodel of kind Template or as part of an operation variable shall have exactly one element. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_first_key_not_in_globally_identifiables.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_first_key_not_in_globally_identifiables.xml new file mode 100644 index 00000000..e774931d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_first_key_not_in_globally_identifiables.xml @@ -0,0 +1,9 @@ + + ExternalReference + + + Blob + https://example.com/something + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_first_key_not_in_globally_identifiables.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_first_key_not_in_globally_identifiables.xml.errors new file mode 100644 index 00000000..210e5b24 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_first_key_not_in_globally_identifiables.xml.errors @@ -0,0 +1,8 @@ +: Invariant violated: +Constraint AASd-121: For References the value of type of the first key of keys shall be one of Globally Identifiables.; +: Invariant violated: +Constraint AASd-122: For external references the value of type of the first key of keys shall be one of Generic Globally Identifiables.; +: Invariant violated: +Constraint AASd-137: For external references, i.e. References with Reference/type = ExternalReference, the value of Key/type of any key in Reference/keys shall not be one of AAS referables.; +: Invariant violated: +Constraint AASd-124: For external references the last key of keys shall be either one of Generic Globally Identifiables or one of Generic Fragment Keys. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_invalid_last_key.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_invalid_last_key.xml new file mode 100644 index 00000000..0c9851b1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_invalid_last_key.xml @@ -0,0 +1,13 @@ + + ExternalReference + + + GlobalReference + https://example.com/something + + + Blob + something_more + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_invalid_last_key.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_invalid_last_key.xml.errors new file mode 100644 index 00000000..f9075c04 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_invalid_last_key.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-137: For external references, i.e. References with Reference/type = ExternalReference, the value of Key/type of any key in Reference/keys shall not be one of AAS referables.; +: Invariant violated: +Constraint AASd-124: For external references the last key of keys shall be either one of Generic Globally Identifiables or one of Generic Fragment Keys. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_with_property_key.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_with_property_key.xml new file mode 100644 index 00000000..15b1c024 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_with_property_key.xml @@ -0,0 +1,17 @@ + + ExternalReference + + + GlobalReference + urn:first + + + Property + urn:middle + + + GlobalReference + urn:last + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_with_property_key.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_with_property_key.xml.errors new file mode 100644 index 00000000..da2f60f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_with_property_key.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-137: For external references, i.e. References with Reference/type = ExternalReference, the value of Key/type of any key in Reference/keys shall not be one of AAS referables. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_with_submodel_key.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_with_submodel_key.xml new file mode 100644 index 00000000..623d1ce4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_with_submodel_key.xml @@ -0,0 +1,17 @@ + + ExternalReference + + + GlobalReference + urn:first + + + Submodel + urn:middle + + + GlobalReference + urn:last + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_with_submodel_key.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_with_submodel_key.xml.errors new file mode 100644 index 00000000..da2f60f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_with_submodel_key.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-137: For external references, i.e. References with Reference/type = ExternalReference, the value of Key/type of any key in Reference/keys shall not be one of AAS referables. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_aas_identifiables.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_aas_identifiables.xml new file mode 100644 index 00000000..430d6c57 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_aas_identifiables.xml @@ -0,0 +1,9 @@ + + ModelReference + + + GlobalReference + https://example.com/something + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_aas_identifiables.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_aas_identifiables.xml.errors new file mode 100644 index 00000000..dde38a54 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_aas_identifiables.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-123: For model references the value of type of the first key of keys shall be one of AAS identifiables. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_globally_identifiables.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_globally_identifiables.xml new file mode 100644 index 00000000..4611963f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_globally_identifiables.xml @@ -0,0 +1,9 @@ + + ModelReference + + + Blob + https://example.com/something + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_globally_identifiables.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_globally_identifiables.xml.errors new file mode 100644 index 00000000..2c028c01 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_globally_identifiables.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-121: For References the value of type of the first key of keys shall be one of Globally Identifiables.; +: Invariant violated: +Constraint AASd-123: For model references the value of type of the first key of keys shall be one of AAS identifiables. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_in_the_middle.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_in_the_middle.xml new file mode 100644 index 00000000..98df81e9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_in_the_middle.xml @@ -0,0 +1,17 @@ + + ModelReference + + + Submodel + https://example.com/something + + + FragmentReference + something_more + + + Property + yet_something_more + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_in_the_middle.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_in_the_middle.xml.errors new file mode 100644 index 00000000..dd9bd5cd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_in_the_middle.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-126: For model references with more than one key in keys the value of type of the last key in the reference key chain may be one of Generic Fragment Keys or no key at all shall have a value out of Generic Fragment Keys. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_not_after_file_or_blob.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_not_after_file_or_blob.xml new file mode 100644 index 00000000..28d304e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_not_after_file_or_blob.xml @@ -0,0 +1,17 @@ + + ModelReference + + + Submodel + https://example.com/something + + + Property + something_more + + + FragmentReference + yet_something_more + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_not_after_file_or_blob.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_not_after_file_or_blob.xml.errors new file mode 100644 index 00000000..71f8a974 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_not_after_file_or_blob.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-127: For model references, with more than one key in keys a key with type Fragment Reference shall be preceded by a key with type File or Blob. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_invalid_key_value_after_list.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_invalid_key_value_after_list.xml new file mode 100644 index 00000000..8f85eaf3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_invalid_key_value_after_list.xml @@ -0,0 +1,17 @@ + + ModelReference + + + Submodel + https://example.com/something + + + SubmodelElementList + something_more + + + Property + -1 + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_invalid_key_value_after_list.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_invalid_key_value_after_list.xml.errors new file mode 100644 index 00000000..b9965198 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_invalid_key_value_after_list.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-128: For model references, the value of a key preceded by a key with type Submodel element list is an integer number denoting the position in the array of the submodel element list. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_second_key_not_in_fragment_keys.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_second_key_not_in_fragment_keys.xml new file mode 100644 index 00000000..918842f8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_second_key_not_in_fragment_keys.xml @@ -0,0 +1,13 @@ + + ModelReference + + + Submodel + https://example.com/something + + + GlobalReference + something_more + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_second_key_not_in_fragment_keys.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_second_key_not_in_fragment_keys.xml.errors new file mode 100644 index 00000000..8a837a74 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_second_key_not_in_fragment_keys.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-125: For model references with more than one key in keys the value of type of each of the keys following the first key of keys shall be one of Fragment Keys. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_semantic_id_list_element.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_semantic_id_list_element.xml new file mode 100644 index 00000000..a537dd85 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_semantic_id_list_element.xml @@ -0,0 +1,40 @@ + + someList + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + something-very-different-from-the-expected + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_semantic_id_list_element.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_semantic_id_list_element.xml.errors new file mode 100644 index 00000000..28890846 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_semantic_id_list_element.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-107: If a first level child element has a semantic ID it shall be identical to semantic ID list element.; +: Invariant violated: +Constraint AASd-114: If two first level child elements have a semantic ID then they shall be identical. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_type_value_list_element.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_type_value_list_element.xml new file mode 100644 index 00000000..525c636c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_type_value_list_element.xml @@ -0,0 +1,40 @@ + + someList + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_type_value_list_element.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_type_value_list_element.xml.errors new file mode 100644 index 00000000..dbe36e7a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_type_value_list_element.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-108: All first level child elements shall have the same submodel element type as specified in type value list element. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_value_type_list_element.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_value_type_list_element.xml new file mode 100644 index 00000000..91864ad3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_value_type_list_element.xml @@ -0,0 +1,40 @@ + + someList + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:int + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_value_type_list_element.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_value_type_list_element.xml.errors new file mode 100644 index 00000000..5f343b52 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_value_type_list_element.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-109: If type value list element is equal to Property or Range value type list element shall be set and all first level child elements shall have the value type as specified in value type list element. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_semantic_id_mismatch_between_elements.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_semantic_id_mismatch_between_elements.xml new file mode 100644 index 00000000..32cc1a70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_semantic_id_mismatch_between_elements.xml @@ -0,0 +1,31 @@ + + someList + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + something-very-different-from-the-expected + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + yet-something-different-in-the-opposite-direction + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_semantic_id_mismatch_between_elements.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_semantic_id_mismatch_between_elements.xml.errors new file mode 100644 index 00000000..a95d4aab --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_semantic_id_mismatch_between_elements.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-114: If two first level child elements have a semantic ID then they shall be identical. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/administrativeInformation/createdAt.xml b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/administrativeInformation/createdAt.xml new file mode 100644 index 00000000..30bb83c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/administrativeInformation/createdAt.xml @@ -0,0 +1,3 @@ + + 2022-02-29T12:13:14Z + diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/administrativeInformation/createdAt.xml.errors b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/administrativeInformation/createdAt.xml.errors new file mode 100644 index 00000000..66d5d19f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/administrativeInformation/createdAt.xml.errors @@ -0,0 +1,2 @@ +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/administrativeInformation/updatedAt.xml b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/administrativeInformation/updatedAt.xml new file mode 100644 index 00000000..4a5204a3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/administrativeInformation/updatedAt.xml @@ -0,0 +1,3 @@ + + 2022-02-29T12:13:14Z + diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/administrativeInformation/updatedAt.xml.errors b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/administrativeInformation/updatedAt.xml.errors new file mode 100644 index 00000000..1058cd79 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/administrativeInformation/updatedAt.xml.errors @@ -0,0 +1,2 @@ +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/assetAdministrationShellRecentChange/createdAt.xml b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/assetAdministrationShellRecentChange/createdAt.xml new file mode 100644 index 00000000..cb11dbf7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/assetAdministrationShellRecentChange/createdAt.xml @@ -0,0 +1,5 @@ + + 2022-02-29T12:13:14Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/assetAdministrationShellRecentChange/createdAt.xml.errors b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/assetAdministrationShellRecentChange/createdAt.xml.errors new file mode 100644 index 00000000..66d5d19f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/assetAdministrationShellRecentChange/createdAt.xml.errors @@ -0,0 +1,2 @@ +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/assetAdministrationShellRecentChange/updatedAt.xml b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/assetAdministrationShellRecentChange/updatedAt.xml new file mode 100644 index 00000000..53a31b1d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/assetAdministrationShellRecentChange/updatedAt.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-02-29T12:13:14Z + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/assetAdministrationShellRecentChange/updatedAt.xml.errors b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/assetAdministrationShellRecentChange/updatedAt.xml.errors new file mode 100644 index 00000000..1058cd79 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/assetAdministrationShellRecentChange/updatedAt.xml.errors @@ -0,0 +1,2 @@ +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/basicEventElement/lastUpdate.xml b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/basicEventElement/lastUpdate.xml new file mode 100644 index 00000000..6e942ec0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/basicEventElement/lastUpdate.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-02-29T12:13:14Z + diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/basicEventElement/lastUpdate.xml.errors b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/basicEventElement/lastUpdate.xml.errors new file mode 100644 index 00000000..a24819ca --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/basicEventElement/lastUpdate.xml.errors @@ -0,0 +1,2 @@ +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/basicEventElementMetadata/lastUpdate.xml b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/basicEventElementMetadata/lastUpdate.xml new file mode 100644 index 00000000..590f0207 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/basicEventElementMetadata/lastUpdate.xml @@ -0,0 +1,5 @@ + + input + on + 2022-02-29T12:13:14Z + diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/basicEventElementMetadata/lastUpdate.xml.errors b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/basicEventElementMetadata/lastUpdate.xml.errors new file mode 100644 index 00000000..a24819ca --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/basicEventElementMetadata/lastUpdate.xml.errors @@ -0,0 +1,2 @@ +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/conceptDescriptionRecentChange/createdAt.xml b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/conceptDescriptionRecentChange/createdAt.xml new file mode 100644 index 00000000..8cbf0607 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/conceptDescriptionRecentChange/createdAt.xml @@ -0,0 +1,5 @@ + + 2022-02-29T12:13:14Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/conceptDescriptionRecentChange/createdAt.xml.errors b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/conceptDescriptionRecentChange/createdAt.xml.errors new file mode 100644 index 00000000..66d5d19f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/conceptDescriptionRecentChange/createdAt.xml.errors @@ -0,0 +1,2 @@ +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/conceptDescriptionRecentChange/updatedAt.xml b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/conceptDescriptionRecentChange/updatedAt.xml new file mode 100644 index 00000000..9ad34ee4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/conceptDescriptionRecentChange/updatedAt.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-02-29T12:13:14Z + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/conceptDescriptionRecentChange/updatedAt.xml.errors b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/conceptDescriptionRecentChange/updatedAt.xml.errors new file mode 100644 index 00000000..1058cd79 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/conceptDescriptionRecentChange/updatedAt.xml.errors @@ -0,0 +1,2 @@ +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/eventPayload/timeStamp.xml b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/eventPayload/timeStamp.xml new file mode 100644 index 00000000..d8821600 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/eventPayload/timeStamp.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-02-29T12:13:14Z + diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/eventPayload/timeStamp.xml.errors b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/eventPayload/timeStamp.xml.errors new file mode 100644 index 00000000..698e336a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/eventPayload/timeStamp.xml.errors @@ -0,0 +1,2 @@ +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/message/timestamp.xml b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/message/timestamp.xml new file mode 100644 index 00000000..84b7fe19 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/message/timestamp.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 2022-02-29T12:13:14Z + diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/message/timestamp.xml.errors b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/message/timestamp.xml.errors new file mode 100644 index 00000000..0cae55a1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/message/timestamp.xml.errors @@ -0,0 +1,2 @@ +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/submodelRecentChange/createdAt.xml b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/submodelRecentChange/createdAt.xml new file mode 100644 index 00000000..bf2bcf3b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/submodelRecentChange/createdAt.xml @@ -0,0 +1,5 @@ + + 2022-02-29T12:13:14Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/submodelRecentChange/createdAt.xml.errors b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/submodelRecentChange/createdAt.xml.errors new file mode 100644 index 00000000..66d5d19f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/submodelRecentChange/createdAt.xml.errors @@ -0,0 +1,2 @@ +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/submodelRecentChange/updatedAt.xml b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/submodelRecentChange/updatedAt.xml new file mode 100644 index 00000000..a86dbcd1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/submodelRecentChange/updatedAt.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-02-29T12:13:14Z + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/submodelRecentChange/updatedAt.xml.errors b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/submodelRecentChange/updatedAt.xml.errors new file mode 100644 index 00000000..1058cd79 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/submodelRecentChange/updatedAt.xml.errors @@ -0,0 +1,2 @@ +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_01.xml new file mode 100644 index 00000000..ed893c01 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:anyURI + `` + `` + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_01.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_04.xml new file mode 100644 index 00000000..a7b38c44 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:anyURI + ''1ƒ𐧂 + ''1ƒ𐧂 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_04.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_05.xml new file mode 100644 index 00000000..4d4cbda7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:anyURI + ''ÿ􈰚쎸Ⱥ«Ù + ''ÿ􈰚쎸Ⱥ«Ù + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_05.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_06.xml new file mode 100644 index 00000000..19e29f9c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:anyURI + `0 + `0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_06.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_10.xml new file mode 100644 index 00000000..b0f20146 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:anyURI + —LùÙ + —LùÙ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_10.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml new file mode 100644 index 00000000..d8fea474 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml @@ -0,0 +1,5 @@ + + xs:anyURI + http://datypic.com#f% rag + http://datypic.com#f% rag + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_too_many_fragments.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_too_many_fragments.xml new file mode 100644 index 00000000..83c689b2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_too_many_fragments.xml @@ -0,0 +1,5 @@ + + xs:anyURI + http://datypic.com#frag1#frag2 + http://datypic.com#frag1#frag2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_too_many_fragments.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_too_many_fragments.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_too_many_fragments.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml new file mode 100644 index 00000000..ac4fc5e5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + FB8 + FB8 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml new file mode 100644 index 00000000..442bd0d2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + ==0F + ==0F + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_03.xml new file mode 100644 index 00000000..b7c2cfe0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + #/ + #/ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_03.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_04.xml new file mode 100644 index 00000000..267b5826 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + 0 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_04.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_05.xml new file mode 100644 index 00000000..66796630 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + 򤞈 񷩎񠴔ú + 򤞈 񷩎񠴔ú + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_05.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_06.xml new file mode 100644 index 00000000..8d3812a2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + ]]P + ]]P + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_06.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_08.xml new file mode 100644 index 00000000..ade93300 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + í + í + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_10.xml new file mode 100644 index 00000000..06d90dd9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + ‚ + ‚ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_10.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_as_number_with_leading_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_as_number_with_leading_zeros.xml new file mode 100644 index 00000000..bc12ec0d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_as_number_with_leading_zeros.xml @@ -0,0 +1,5 @@ + + xs:boolean + 0000 + 0000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_as_number_with_leading_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_as_number_with_leading_zeros.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_as_number_with_leading_zeros.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_camelcase.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_camelcase.xml new file mode 100644 index 00000000..303919e9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_camelcase.xml @@ -0,0 +1,5 @@ + + xs:boolean + False + False + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_camelcase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_camelcase.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_camelcase.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_uppercase.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_uppercase.xml new file mode 100644 index 00000000..0c2ea7d1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_uppercase.xml @@ -0,0 +1,5 @@ + + xs:boolean + FALSE + FALSE + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_uppercase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_uppercase.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_uppercase.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_01.xml new file mode 100644 index 00000000..e4d14f0e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:boolean + 򼅡󚈲6󚈲 + 򼅡󚈲6󚈲 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_01.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_03.xml new file mode 100644 index 00000000..4c16c6c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:boolean + 𵯴 + 𵯴 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_03.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_05.xml new file mode 100644 index 00000000..9742abe5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:boolean +  º񌯽n +  º񌯽n + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_05.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_10.xml new file mode 100644 index 00000000..04868648 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:boolean + 򪸏za𶢻‰ + 򪸏za𶢻‰ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_10.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_as_number_with_leading_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_as_number_with_leading_zeros.xml new file mode 100644 index 00000000..ca9170b2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_as_number_with_leading_zeros.xml @@ -0,0 +1,5 @@ + + xs:boolean + 0001 + 0001 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_as_number_with_leading_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_as_number_with_leading_zeros.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_as_number_with_leading_zeros.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_camelcase.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_camelcase.xml new file mode 100644 index 00000000..4529d18b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_camelcase.xml @@ -0,0 +1,5 @@ + + xs:boolean + True + True + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_camelcase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_camelcase.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_camelcase.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_uppercase.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_uppercase.xml new file mode 100644 index 00000000..3dd4d2a7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_uppercase.xml @@ -0,0 +1,5 @@ + + xs:boolean + TRUE + TRUE + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_uppercase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_uppercase.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_uppercase.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_decimal.xml new file mode 100644 index 00000000..9788cae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_decimal.xml @@ -0,0 +1,5 @@ + + xs:byte + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_empty.xml new file mode 100644 index 00000000..62afc99c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_empty.xml @@ -0,0 +1,5 @@ + + xs:byte + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_free_form_text.xml new file mode 100644 index 00000000..39bbf8d5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:byte + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_mathematical_formula.xml new file mode 100644 index 00000000..b981711e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:byte + 2**5 + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_max_plus_one.xml new file mode 100644 index 00000000..5eb1c5f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_max_plus_one.xml @@ -0,0 +1,5 @@ + + xs:byte + 128 + 128 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_max_plus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_max_plus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_min_minus_one.xml new file mode 100644 index 00000000..bff50839 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_min_minus_one.xml @@ -0,0 +1,5 @@ + + xs:byte + -129 + -129 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_min_minus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_min_minus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_scientific.xml new file mode 100644 index 00000000..f7b66c5a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_scientific.xml @@ -0,0 +1,5 @@ + + xs:byte + 1e2 + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_UTC.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_UTC.xml new file mode 100644 index 00000000..2bfb3edd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_UTC.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01T01:02:03Z + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_UTC.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_UTC.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_UTC.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_offset.xml new file mode 100644 index 00000000..a2cb1ba9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_offset.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01T01:02:03+02:00 + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_without_zone.xml new file mode 100644 index 00000000..25f88857 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_without_zone.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01T01:02:03 + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_without_zone.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_without_zone.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_negative_offset.xml new file mode 100644 index 00000000..8d4ee087 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01-15:00 + 2022-04-01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_negative_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_positive_offset.xml new file mode 100644 index 00000000..fc249c23 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01+15:00 + 2022-04-01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_positive_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_seconds_in_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_seconds_in_offset.xml new file mode 100644 index 00000000..fa2b3da3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_seconds_in_offset.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01+02:00:12 + 2022-04-01+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_seconds_in_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_seconds_in_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_seconds_in_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_empty.xml new file mode 100644 index 00000000..625e97a7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_empty.xml @@ -0,0 +1,5 @@ + + xs:date + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_non_existing_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_non_existing_february_29th.xml new file mode 100644 index 00000000..e6f89eb6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_non_existing_february_29th.xml @@ -0,0 +1,5 @@ + + xs:date + 2011-02-29 + 2011-02-29 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_non_existing_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_non_existing_february_29th.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_non_existing_february_29th.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date.xml new file mode 100644 index 00000000..8685c060 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01 + 2022-04-01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_negative_offset.xml new file mode 100644 index 00000000..05e35371 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02:03-15:00 + 2022-04-01T01:02:03-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_negative_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_positive_offset.xml new file mode 100644 index 00000000..06d3cf03 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02:03+15:00 + 2022-04-01T01:02:03+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_positive_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_seconds_in_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_seconds_in_offset.xml new file mode 100644 index 00000000..6c939f3a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_seconds_in_offset.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02:03+02:00:12 + 2022-04-01T01:02:03+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_seconds_in_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_seconds_in_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_seconds_in_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_prefix.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_prefix.xml new file mode 100644 index 00000000..a5c3f8f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_prefix.xml @@ -0,0 +1,5 @@ + + xs:dateTime + unexpected-prefix-2022-04-01T01:02:03Z + unexpected-prefix-2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_prefix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_prefix.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_prefix.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_suffix.xml new file mode 100644 index 00000000..b4e2b48c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_suffix.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02:03Z-unexpected-suffix + 2022-04-01T01:02:03Z-unexpected-suffix + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_suffix.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_suffix.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_with_time_zone.xml new file mode 100644 index 00000000..4897f671 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_with_time_zone.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01Z + 2022-04-01Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_with_time_zone.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_with_time_zone.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_empty.xml new file mode 100644 index 00000000..986fa198 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_empty.xml @@ -0,0 +1,5 @@ + + xs:dateTime + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_non_existing_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_non_existing_february_29th.xml new file mode 100644 index 00000000..4f6c1cee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_non_existing_february_29th.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2011-02-29T01:02:03Z + 2011-02-29T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_non_existing_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_non_existing_february_29th.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_non_existing_february_29th.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_minutes.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_minutes.xml new file mode 100644 index 00000000..d407a463 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_minutes.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01Z + 2022-04-01T01Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_minutes.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_minutes.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_seconds.xml new file mode 100644 index 00000000..071c14ba --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_seconds.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02Z + 2022-04-01T01:02Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_seconds.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_seconds.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_4_bce_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_4_bce_february_29th.xml new file mode 100644 index 00000000..3c1da6fe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_4_bce_february_29th.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -0004-02-29T01:02:03 + -0004-02-29T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_4_bce_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_4_bce_february_29th.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_4_bce_february_29th.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_zero_doesnt_exist.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_zero_doesnt_exist.xml new file mode 100644 index 00000000..5c202d7c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_zero_doesnt_exist.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 0000-01-02T01:02:03 + 0000-01-02T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_zero_doesnt_exist.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_zero_doesnt_exist.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_zero_doesnt_exist.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_4_bce_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_4_bce_february_29th.xml new file mode 100644 index 00000000..89f4b466 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_4_bce_february_29th.xml @@ -0,0 +1,5 @@ + + xs:date + -0004-02-29 + -0004-02-29 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_4_bce_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_4_bce_february_29th.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_4_bce_february_29th.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_zero_doesnt_exist.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_zero_doesnt_exist.xml new file mode 100644 index 00000000..4d1d44b7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_zero_doesnt_exist.xml @@ -0,0 +1,5 @@ + + xs:date + 0000-01-02 + 0000-01-02 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_zero_doesnt_exist.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_zero_doesnt_exist.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_zero_doesnt_exist.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_empty.xml new file mode 100644 index 00000000..cb206e13 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_empty.xml @@ -0,0 +1,5 @@ + + xs:decimal + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_free_form_text.xml new file mode 100644 index 00000000..998a84c2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:decimal + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_empty.xml new file mode 100644 index 00000000..c86f1feb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_empty.xml @@ -0,0 +1,5 @@ + + xs:double + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_free_form_text.xml new file mode 100644 index 00000000..c02e9a1a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:double + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_inf_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_inf_case_matters.xml new file mode 100644 index 00000000..7240ae0d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_inf_case_matters.xml @@ -0,0 +1,5 @@ + + xs:double + inf + inf + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_inf_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_inf_case_matters.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_inf_case_matters.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_nan_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_nan_case_matters.xml new file mode 100644 index 00000000..12a68a50 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_nan_case_matters.xml @@ -0,0 +1,5 @@ + + xs:double + nan + nan + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_nan_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_nan_case_matters.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_nan_case_matters.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_no_fraction_in_scientific_notation.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_no_fraction_in_scientific_notation.xml new file mode 100644 index 00000000..85c4a5b5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_no_fraction_in_scientific_notation.xml @@ -0,0 +1,5 @@ + + xs:double + 12.34e5.6 + 12.34e5.6 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_no_fraction_in_scientific_notation.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_no_fraction_in_scientific_notation.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_no_fraction_in_scientific_notation.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_plus_inf.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_plus_inf.xml new file mode 100644 index 00000000..8e724daf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_plus_inf.xml @@ -0,0 +1,5 @@ + + xs:double + +INF + +INF + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_plus_inf.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_plus_inf.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_plus_inf.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_too_large.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_too_large.xml new file mode 100644 index 00000000..2cd8cd9a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_too_large.xml @@ -0,0 +1,5 @@ + + xs:double + 1.123456789e1234567890 + 1.123456789e1234567890 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_too_large.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_too_large.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_too_large.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_empty.xml new file mode 100644 index 00000000..029140dc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_empty.xml @@ -0,0 +1,5 @@ + + xs:duration + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_free_form_text.xml new file mode 100644 index 00000000..877e0f71 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:duration + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_integer.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_integer.xml new file mode 100644 index 00000000..81b75c65 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_integer.xml @@ -0,0 +1,5 @@ + + xs:duration + 1234 + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_integer.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_integer.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_integer.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_leading_P_missing.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_leading_P_missing.xml new file mode 100644 index 00000000..d448491d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_leading_P_missing.xml @@ -0,0 +1,5 @@ + + xs:duration + 1Y + 1Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_leading_P_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_leading_P_missing.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_leading_P_missing.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_negative_years.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_negative_years.xml new file mode 100644 index 00000000..c7d941aa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_negative_years.xml @@ -0,0 +1,5 @@ + + xs:duration + P-1Y + P-1Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_negative_years.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_negative_years.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_negative_years.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_positive_year_negative_months.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_positive_year_negative_months.xml new file mode 100644 index 00000000..181454d9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_positive_year_negative_months.xml @@ -0,0 +1,5 @@ + + xs:duration + P1Y-1M + P1Y-1M + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_positive_year_negative_months.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_positive_year_negative_months.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_positive_year_negative_months.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_separator_T_missing.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_separator_T_missing.xml new file mode 100644 index 00000000..e4e8ec83 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_separator_T_missing.xml @@ -0,0 +1,5 @@ + + xs:duration + P1S + P1S + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_separator_T_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_separator_T_missing.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_separator_T_missing.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_the_order_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_the_order_matters.xml new file mode 100644 index 00000000..ce8d481f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_the_order_matters.xml @@ -0,0 +1,5 @@ + + xs:duration + P1M2Y + P1M2Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_the_order_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_the_order_matters.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_the_order_matters.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_empty.xml new file mode 100644 index 00000000..4d4ba649 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_empty.xml @@ -0,0 +1,5 @@ + + xs:float + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_free_form_text.xml new file mode 100644 index 00000000..8a824987 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:float + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_inf_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_inf_case_matters.xml new file mode 100644 index 00000000..118ca401 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_inf_case_matters.xml @@ -0,0 +1,5 @@ + + xs:float + inf + inf + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_inf_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_inf_case_matters.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_inf_case_matters.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_nan_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_nan_case_matters.xml new file mode 100644 index 00000000..ca231512 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_nan_case_matters.xml @@ -0,0 +1,5 @@ + + xs:float + nan + nan + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_nan_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_nan_case_matters.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_nan_case_matters.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_no_fraction_in_scientific_notation.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_no_fraction_in_scientific_notation.xml new file mode 100644 index 00000000..763397e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_no_fraction_in_scientific_notation.xml @@ -0,0 +1,5 @@ + + xs:float + 12.34e5.6 + 12.34e5.6 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_no_fraction_in_scientific_notation.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_no_fraction_in_scientific_notation.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_no_fraction_in_scientific_notation.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_plus_inf.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_plus_inf.xml new file mode 100644 index 00000000..33216ee0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_plus_inf.xml @@ -0,0 +1,5 @@ + + xs:float + +INF + +INF + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_plus_inf.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_plus_inf.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_plus_inf.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_too_large.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_too_large.xml new file mode 100644 index 00000000..24c01eb4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_too_large.xml @@ -0,0 +1,5 @@ + + xs:float + 1.123456789e1234567890 + 1.123456789e1234567890 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_too_large.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_too_large.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_too_large.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_day_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_day_outside_of_range.xml new file mode 100644 index 00000000..bb6f2afe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_day_outside_of_range.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---35 + ---35 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_day_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_day_outside_of_range.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_day_outside_of_range.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_empty.xml new file mode 100644 index 00000000..9aca52ab --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_empty.xml @@ -0,0 +1,5 @@ + + xs:gDay + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_free_form_text.xml new file mode 100644 index 00000000..e32e2810 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:gDay + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_negative_offset.xml new file mode 100644 index 00000000..1750f50c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---01-15:00 + ---01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_negative_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..6bc31539 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---01+15:00:12 + ---01+15:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_positive_offset.xml new file mode 100644 index 00000000..5b490a9c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---01+15:00 + ---01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_positive_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_dashes.xml new file mode 100644 index 00000000..fc0c2512 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_dashes.xml @@ -0,0 +1,5 @@ + + xs:gDay + 15 + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_dashes.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_digit.xml new file mode 100644 index 00000000..5fabe900 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_digit.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---5 + ---5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_digit.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_digit.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_unexpected_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_unexpected_suffix.xml new file mode 100644 index 00000000..f6dda575 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_unexpected_suffix.xml @@ -0,0 +1,5 @@ + + xs:gDay + --30- + --30- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_unexpected_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_unexpected_suffix.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_unexpected_suffix.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_day_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_day_outside_of_range.xml new file mode 100644 index 00000000..a57ce03e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_day_outside_of_range.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --01-35 + --01-35 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_day_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_day_outside_of_range.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_day_outside_of_range.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_empty.xml new file mode 100644 index 00000000..ad2e0a71 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_empty.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_free_form_text.xml new file mode 100644 index 00000000..984ce021 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_negative_offset.xml new file mode 100644 index 00000000..b44ba361 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-01-15:00 + --11-01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_negative_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..9eca395c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-01+02:00:12 + --11-01+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_positive_offset.xml new file mode 100644 index 00000000..3d4ecd53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-01+15:00 + --11-01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_positive_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_dashes.xml new file mode 100644 index 00000000..037452bc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_dashes.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + 01-15 + 01-15 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_dashes.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_digit.xml new file mode 100644 index 00000000..228acbd7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_digit.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --1-5 + --1-5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_digit.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_digit.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_non_existing_april_31st.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_non_existing_april_31st.xml new file mode 100644 index 00000000..a4370f27 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_non_existing_april_31st.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --04-31 + --04-31 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_non_existing_april_31st.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_non_existing_april_31st.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_non_existing_april_31st.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_unexpected_prefix_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_unexpected_prefix_and_suffix.xml new file mode 100644 index 00000000..1f513c59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_unexpected_prefix_and_suffix.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + -01-30- + -01-30- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_unexpected_prefix_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_unexpected_prefix_and_suffix.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_unexpected_prefix_and_suffix.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_empty.xml new file mode 100644 index 00000000..de2d7a76 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_empty.xml @@ -0,0 +1,5 @@ + + xs:gMonth + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_free_form_text.xml new file mode 100644 index 00000000..b3aabde0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:gMonth + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_negative_offset.xml new file mode 100644 index 00000000..d64f698b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11-15:00 + --11-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_negative_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..471f6f35 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11+02:00:12 + --11+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_positive_offset.xml new file mode 100644 index 00000000..f610742d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11+15:00 + --11+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_positive_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_dashes.xml new file mode 100644 index 00000000..3fccfc2d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_dashes.xml @@ -0,0 +1,5 @@ + + xs:gMonth + 01 + 01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_dashes.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_digit.xml new file mode 100644 index 00000000..dd8a8869 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_digit.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --1 + --1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_digit.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_digit.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_month_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_month_outside_of_range.xml new file mode 100644 index 00000000..be83ff2e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_month_outside_of_range.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --13 + --13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_month_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_month_outside_of_range.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_month_outside_of_range.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_unexpected_prefix_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_unexpected_prefix_and_suffix.xml new file mode 100644 index 00000000..72f45838 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_unexpected_prefix_and_suffix.xml @@ -0,0 +1,5 @@ + + xs:gMonth + -01- + -01- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_unexpected_prefix_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_unexpected_prefix_and_suffix.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_unexpected_prefix_and_suffix.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_empty.xml new file mode 100644 index 00000000..f888ac22 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_empty.xml @@ -0,0 +1,5 @@ + + xs:gYear + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_free_form_text.xml new file mode 100644 index 00000000..eee86589 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:gYear + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_negative_offset.xml new file mode 100644 index 00000000..6297d6c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:gYear + 2001-15:00 + 2001-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_negative_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..c34152ba --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + xs:gYear + 2001+02:00:12 + 2001+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_positive_offset.xml new file mode 100644 index 00000000..a4d1994a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:gYear + 2001+15:00 + 2001+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_positive_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_missing_century.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_missing_century.xml new file mode 100644 index 00000000..76f97cd4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_missing_century.xml @@ -0,0 +1,5 @@ + + xs:gYear + 01 + 01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_missing_century.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_missing_century.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_missing_century.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_empty.xml new file mode 100644 index 00000000..a9027c1e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_empty.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_free_form_text.xml new file mode 100644 index 00000000..03bd66e6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_negative_offset.xml new file mode 100644 index 00000000..9b46b42f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 2001-10-15:00 + 2001-10-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_negative_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..e0873dcd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 2001-10+02:00:12 + 2001-10+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_positive_offset.xml new file mode 100644 index 00000000..811b8717 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 2001-10+15:00 + 2001-10+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_positive_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_century.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_century.xml new file mode 100644 index 00000000..da1f8aed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_century.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 01-13 + 01-13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_century.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_century.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_century.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_month.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_month.xml new file mode 100644 index 00000000..9d3a5f4e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_month.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 2001 + 2001 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_month.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_month.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_month.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_month_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_month_out_of_range.xml new file mode 100644 index 00000000..a412bb6e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_month_out_of_range.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 2001-13 + 2001-13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_month_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_month_out_of_range.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_month_out_of_range.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_unexpected_month.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_unexpected_month.xml new file mode 100644 index 00000000..0041ed03 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_unexpected_month.xml @@ -0,0 +1,5 @@ + + xs:gYear + 2001-12 + 2001-12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_unexpected_month.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_unexpected_month.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_unexpected_month.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_free_form_text.xml new file mode 100644 index 00000000..3c738316 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_odd_number_of_digits.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_odd_number_of_digits.xml new file mode 100644 index 00000000..e7318e05 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_odd_number_of_digits.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + 123 + 123 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_odd_number_of_digits.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_odd_number_of_digits.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_odd_number_of_digits.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_single_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_single_digit.xml new file mode 100644 index 00000000..0e4a4c7f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_single_digit.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + 1 + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_single_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_single_digit.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_single_digit.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_decimal.xml new file mode 100644 index 00000000..f916e2ff --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_decimal.xml @@ -0,0 +1,5 @@ + + xs:int + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_empty.xml new file mode 100644 index 00000000..be6689c4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_empty.xml @@ -0,0 +1,5 @@ + + xs:int + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_free_form_text.xml new file mode 100644 index 00000000..5e066055 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:int + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_mathematical_formula.xml new file mode 100644 index 00000000..63b45fb4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:int + 2**5 + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_max_plus_one.xml new file mode 100644 index 00000000..d58b5435 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_max_plus_one.xml @@ -0,0 +1,5 @@ + + xs:int + 2147483648 + 2147483648 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_max_plus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_max_plus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_min_minus_one.xml new file mode 100644 index 00000000..6f7b479e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_min_minus_one.xml @@ -0,0 +1,5 @@ + + xs:int + -2147483649 + -2147483649 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_min_minus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_min_minus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_scientific.xml new file mode 100644 index 00000000..d03988a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_scientific.xml @@ -0,0 +1,5 @@ + + xs:int + 1e2 + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_decimal.xml new file mode 100644 index 00000000..d98b9508 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_decimal.xml @@ -0,0 +1,5 @@ + + xs:integer + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_empty.xml new file mode 100644 index 00000000..b2cfcb97 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_empty.xml @@ -0,0 +1,5 @@ + + xs:integer + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_free_form_text.xml new file mode 100644 index 00000000..7e71d9de --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:integer + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_mathematical_formula.xml new file mode 100644 index 00000000..5548553e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:integer + 2**5 + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_scientific.xml new file mode 100644 index 00000000..f5307e42 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_scientific.xml @@ -0,0 +1,5 @@ + + xs:integer + 1e2 + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_decimal.xml new file mode 100644 index 00000000..05491d35 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_decimal.xml @@ -0,0 +1,5 @@ + + xs:long + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_empty.xml new file mode 100644 index 00000000..3e26f9a3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_empty.xml @@ -0,0 +1,5 @@ + + xs:long + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_free_form_text.xml new file mode 100644 index 00000000..76902d71 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:long + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_mathematical_formula.xml new file mode 100644 index 00000000..aae49aa7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:long + 2**5 + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_max_plus_one.xml new file mode 100644 index 00000000..1530b415 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_max_plus_one.xml @@ -0,0 +1,5 @@ + + xs:long + 9223372036854775808 + 9223372036854775808 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_max_plus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_max_plus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_min_minus_one.xml new file mode 100644 index 00000000..a4cf636e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_min_minus_one.xml @@ -0,0 +1,5 @@ + + xs:long + -9223372036854775809 + -9223372036854775809 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_min_minus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_min_minus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_scientific.xml new file mode 100644 index 00000000..5a18f6f3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_scientific.xml @@ -0,0 +1,5 @@ + + xs:long + 1e2 + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_decimal.xml new file mode 100644 index 00000000..fa143000 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_decimal.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_empty.xml new file mode 100644 index 00000000..7a44184e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_empty.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive.xml new file mode 100644 index 00000000..05315cbd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + +1 + +1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive_zero.xml new file mode 100644 index 00000000..800c6a5e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive_zero.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + +0 + +0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive_zero.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive_zero.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_free_form_text.xml new file mode 100644 index 00000000..212d0863 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_implicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_implicitly_positive.xml new file mode 100644 index 00000000..0c2b38f5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_implicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + 1 + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_implicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_implicitly_positive.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_implicitly_positive.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_mathematical_formula.xml new file mode 100644 index 00000000..8b69cde2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -2**5 + -2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_scientific.xml new file mode 100644 index 00000000..c68fa114 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_scientific.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -1e2 + -1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero.xml new file mode 100644 index 00000000..ff385c30 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + 0 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..70680ac3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + 000 + 000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero_prefixed_with_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero_prefixed_with_zeros.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero_prefixed_with_zeros.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_decimal.xml new file mode 100644 index 00000000..f3e94b3a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_decimal.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_empty.xml new file mode 100644 index 00000000..348a545c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_empty.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_free_form_text.xml new file mode 100644 index 00000000..782401f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_negative.xml new file mode 100644 index 00000000..c3cd7a31 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_negative.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + -1 + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_negative.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_negative.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_decimal.xml new file mode 100644 index 00000000..2abcb38f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_decimal.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_empty.xml new file mode 100644 index 00000000..be96a340 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_empty.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_explicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_explicitly_positive.xml new file mode 100644 index 00000000..9a16bdc5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + +1 + +1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_explicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_explicitly_positive.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_explicitly_positive.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_free_form_text.xml new file mode 100644 index 00000000..fea307c3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_implicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_implicitly_positive.xml new file mode 100644 index 00000000..aefac97c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_implicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + 1 + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_implicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_implicitly_positive.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_implicitly_positive.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_mathematical_formula.xml new file mode 100644 index 00000000..5ab28a54 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -2**5 + -2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_scientific.xml new file mode 100644 index 00000000..182f5daf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_scientific.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -1e2 + -1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_decimal.xml new file mode 100644 index 00000000..b2bb7b9d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_decimal.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_empty.xml new file mode 100644 index 00000000..cad312c9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_empty.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_free_form_text.xml new file mode 100644 index 00000000..abb14614 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_negative.xml new file mode 100644 index 00000000..17f04fba --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_negative.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + -1 + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_negative.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_negative.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero.xml new file mode 100644 index 00000000..576150d1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 0 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..ccf517ec --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 000 + 000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero_prefixed_with_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero_prefixed_with_zeros.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero_prefixed_with_zeros.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_decimal.xml new file mode 100644 index 00000000..b51af86e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_decimal.xml @@ -0,0 +1,5 @@ + + xs:short + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_empty.xml new file mode 100644 index 00000000..b4dc3048 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_empty.xml @@ -0,0 +1,5 @@ + + xs:short + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_free_form_text.xml new file mode 100644 index 00000000..a5e7eb1a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:short + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_mathematical_formula.xml new file mode 100644 index 00000000..cbfa3b36 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:short + 2**5 + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_max_plus_one.xml new file mode 100644 index 00000000..07f905e1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_max_plus_one.xml @@ -0,0 +1,5 @@ + + xs:short + 32768 + 32768 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_max_plus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_max_plus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_min_minus_one.xml new file mode 100644 index 00000000..ec367f51 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_min_minus_one.xml @@ -0,0 +1,5 @@ + + xs:short + -32769 + -32769 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_min_minus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_min_minus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_scientific.xml new file mode 100644 index 00000000..fc32bd4a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_scientific.xml @@ -0,0 +1,5 @@ + + xs:short + 1e2 + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_empty.xml new file mode 100644 index 00000000..787853c4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_empty.xml @@ -0,0 +1,5 @@ + + xs:time + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_free_form_text.xml new file mode 100644 index 00000000..d6f94143 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:time + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_hour_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_hour_out_of_range.xml new file mode 100644 index 00000000..91324c8d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_hour_out_of_range.xml @@ -0,0 +1,5 @@ + + xs:time + 25:25:10 + 25:25:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_hour_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_hour_out_of_range.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_hour_out_of_range.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_negative_offset.xml new file mode 100644 index 00000000..f0909a37 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:time + 21:32:52-15:00 + 21:32:52-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_negative_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..216a86a7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + xs:time + 21:32:52-02:00:12 + 21:32:52-02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_positive_offset.xml new file mode 100644 index 00000000..e2b57eb7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:time + 21:32:52+15:00 + 21:32:52+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_positive_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_minute_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_minute_out_of_range.xml new file mode 100644 index 00000000..84ab358c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_minute_out_of_range.xml @@ -0,0 +1,5 @@ + + xs:time + 01:61:10 + 01:61:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_minute_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_minute_out_of_range.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_minute_out_of_range.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_padded_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_padded_zeros.xml new file mode 100644 index 00000000..3eb92df7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_padded_zeros.xml @@ -0,0 +1,5 @@ + + xs:time + 1:20:10 + 1:20:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_padded_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_padded_zeros.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_padded_zeros.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_seconds.xml new file mode 100644 index 00000000..59a76b8c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_seconds.xml @@ -0,0 +1,5 @@ + + xs:time + 21:32 + 21:32 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_seconds.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_seconds.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_negative.xml new file mode 100644 index 00000000..27161ce1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_negative.xml @@ -0,0 +1,5 @@ + + xs:time + -10:00:00 + -10:00:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_negative.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_negative.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_second_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_second_out_of_range.xml new file mode 100644 index 00000000..aced8656 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_second_out_of_range.xml @@ -0,0 +1,5 @@ + + xs:time + 01:02:61 + 01:02:61 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_second_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_second_out_of_range.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_second_out_of_range.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_decimal.xml new file mode 100644 index 00000000..e369b835 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_decimal.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_empty.xml new file mode 100644 index 00000000..b289eb2a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_empty.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_free_form_text.xml new file mode 100644 index 00000000..86f1e2b5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_mathematical_formula.xml new file mode 100644 index 00000000..6861f8e9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 2**5 + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_max_plus_one.xml new file mode 100644 index 00000000..72edabb3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_max_plus_one.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 256 + 256 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_max_plus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_max_plus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_negative.xml new file mode 100644 index 00000000..7c2ac14f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_negative.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + -1 + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_negative.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_negative.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_scientific.xml new file mode 100644 index 00000000..3182295d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_scientific.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 1e2 + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_decimal.xml new file mode 100644 index 00000000..1d1cc644 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_decimal.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_empty.xml new file mode 100644 index 00000000..bd5cc14b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_empty.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_free_form_text.xml new file mode 100644 index 00000000..dc7f7aa1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_mathematical_formula.xml new file mode 100644 index 00000000..c178dbc7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 2**5 + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_max_plus_one.xml new file mode 100644 index 00000000..44cf6ac8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_max_plus_one.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 4294967296 + 4294967296 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_max_plus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_max_plus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_negative.xml new file mode 100644 index 00000000..548986a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_negative.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + -1 + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_negative.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_negative.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_scientific.xml new file mode 100644 index 00000000..f461a87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_scientific.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 1e2 + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_decimal.xml new file mode 100644 index 00000000..14b3d102 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_decimal.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_empty.xml new file mode 100644 index 00000000..fb464ccb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_empty.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_free_form_text.xml new file mode 100644 index 00000000..2071dfd0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_mathematical_formula.xml new file mode 100644 index 00000000..849b11b1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 2**5 + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_max_plus_one.xml new file mode 100644 index 00000000..c6b7aa21 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_max_plus_one.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 18446744073709551616 + 18446744073709551616 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_max_plus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_max_plus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_negative.xml new file mode 100644 index 00000000..92dba1c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_negative.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + -1 + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_negative.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_negative.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_scientific.xml new file mode 100644 index 00000000..12d63e94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_scientific.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 1e2 + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_decimal.xml new file mode 100644 index 00000000..ecc40fed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_decimal.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_empty.xml new file mode 100644 index 00000000..2cb49eb0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_empty.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_free_form_text.xml new file mode 100644 index 00000000..8c29be23 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_mathematical_formula.xml new file mode 100644 index 00000000..3c610c14 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 2**5 + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_max_plus_one.xml new file mode 100644 index 00000000..1fe97080 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_max_plus_one.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 65536 + 65536 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_max_plus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_max_plus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_negative.xml new file mode 100644 index 00000000..11894b11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_negative.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + -1 + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_negative.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_negative.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_scientific.xml new file mode 100644 index 00000000..c1e8de92 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_scientific.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 1e2 + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_01.xml new file mode 100644 index 00000000..554b36e9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + `` + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_04.xml new file mode 100644 index 00000000..82e7bae4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + ''1ƒ𐧂 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_05.xml new file mode 100644 index 00000000..993b1732 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + ''ÿ􈰚쎸Ⱥ«Ù + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_06.xml new file mode 100644 index 00000000..6fc4b807 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + `0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_10.xml new file mode 100644 index 00000000..cd5d5857 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + —LùÙ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml new file mode 100644 index 00000000..14b29092 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + http://datypic.com#f% rag + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_too_many_fragments.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_too_many_fragments.xml new file mode 100644 index 00000000..75ec4d8a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_too_many_fragments.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + http://datypic.com#frag1#frag2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_too_many_fragments.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_too_many_fragments.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_too_many_fragments.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml new file mode 100644 index 00000000..7072b5bb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + FB8 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml new file mode 100644 index 00000000..9cefd6cf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + ==0F + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_03.xml new file mode 100644 index 00000000..fa89ab58 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + #/ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_04.xml new file mode 100644 index 00000000..44c1445e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_05.xml new file mode 100644 index 00000000..ee8e9cb4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + 򤞈 񷩎񠴔ú + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_06.xml new file mode 100644 index 00000000..2c3b7ef0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + ]]P + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_08.xml new file mode 100644 index 00000000..005aa7ad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + í + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_10.xml new file mode 100644 index 00000000..a69e13a7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + ‚ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_as_number_with_leading_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_as_number_with_leading_zeros.xml new file mode 100644 index 00000000..6e9f0359 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_as_number_with_leading_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + 0000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_as_number_with_leading_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_as_number_with_leading_zeros.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_as_number_with_leading_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_camelcase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_camelcase.xml new file mode 100644 index 00000000..ddd0af2b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_camelcase.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + False + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_camelcase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_camelcase.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_camelcase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_uppercase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_uppercase.xml new file mode 100644 index 00000000..da5ea84d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_uppercase.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + FALSE + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_uppercase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_uppercase.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_uppercase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_01.xml new file mode 100644 index 00000000..4cd002c6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + 򼅡󚈲6󚈲 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_03.xml new file mode 100644 index 00000000..aa07abf0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + 𵯴 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_05.xml new file mode 100644 index 00000000..6d9a9961 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean +  º񌯽n + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_10.xml new file mode 100644 index 00000000..e8f52bed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + 򪸏za𶢻‰ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_as_number_with_leading_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_as_number_with_leading_zeros.xml new file mode 100644 index 00000000..f20e0008 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_as_number_with_leading_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + 0001 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_as_number_with_leading_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_as_number_with_leading_zeros.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_as_number_with_leading_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_camelcase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_camelcase.xml new file mode 100644 index 00000000..6abe9a75 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_camelcase.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + True + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_camelcase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_camelcase.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_camelcase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_uppercase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_uppercase.xml new file mode 100644 index 00000000..dc82f002 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_uppercase.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + TRUE + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_uppercase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_uppercase.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_uppercase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_decimal.xml new file mode 100644 index 00000000..2970281f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_empty.xml new file mode 100644 index 00000000..0c5ac505 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_free_form_text.xml new file mode 100644 index 00000000..fc46d929 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_mathematical_formula.xml new file mode 100644 index 00000000..e27c5b4b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_max_plus_one.xml new file mode 100644 index 00000000..8c66b71f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_max_plus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 128 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_max_plus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_min_minus_one.xml new file mode 100644 index 00000000..fc0c14cc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_min_minus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + -129 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_min_minus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_scientific.xml new file mode 100644 index 00000000..95d872b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_UTC.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_UTC.xml new file mode 100644 index 00000000..75533fbe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_UTC.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_UTC.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_UTC.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_UTC.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_offset.xml new file mode 100644 index 00000000..80b89e63 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_without_zone.xml new file mode 100644 index 00000000..c3b9adee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_without_zone.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_without_zone.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_negative_offset.xml new file mode 100644 index 00000000..3c789869 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_positive_offset.xml new file mode 100644 index 00000000..032aadb0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_seconds_in_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_seconds_in_offset.xml new file mode 100644 index 00000000..a1b65b69 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_seconds_in_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_seconds_in_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_seconds_in_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_seconds_in_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_empty.xml new file mode 100644 index 00000000..0f0d4f05 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_non_existing_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_non_existing_february_29th.xml new file mode 100644 index 00000000..27aaa057 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_non_existing_february_29th.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2011-02-29 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_non_existing_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_non_existing_february_29th.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_non_existing_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date.xml new file mode 100644 index 00000000..68637481 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_negative_offset.xml new file mode 100644 index 00000000..b7a1a6da --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02:03-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_positive_offset.xml new file mode 100644 index 00000000..bab058be --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02:03+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_seconds_in_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_seconds_in_offset.xml new file mode 100644 index 00000000..390d4330 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_seconds_in_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02:03+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_seconds_in_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_seconds_in_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_seconds_in_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_prefix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_prefix.xml new file mode 100644 index 00000000..2bc922cd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_prefix.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + unexpected-prefix-2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_prefix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_prefix.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_prefix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_suffix.xml new file mode 100644 index 00000000..19359b09 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_suffix.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02:03Z-unexpected-suffix + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_suffix.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_with_time_zone.xml new file mode 100644 index 00000000..1d6869f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_with_time_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_with_time_zone.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_with_time_zone.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_empty.xml new file mode 100644 index 00000000..32df5f64 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_non_existing_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_non_existing_february_29th.xml new file mode 100644 index 00000000..67256c4f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_non_existing_february_29th.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2011-02-29T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_non_existing_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_non_existing_february_29th.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_non_existing_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_minutes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_minutes.xml new file mode 100644 index 00000000..35dd22ff --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_minutes.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_minutes.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_minutes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_seconds.xml new file mode 100644 index 00000000..03890642 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_seconds.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_4_bce_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_4_bce_february_29th.xml new file mode 100644 index 00000000..5190ffed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_4_bce_february_29th.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -0004-02-29T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_4_bce_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_4_bce_february_29th.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_4_bce_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_zero_doesnt_exist.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_zero_doesnt_exist.xml new file mode 100644 index 00000000..bcab4d63 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_zero_doesnt_exist.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 0000-01-02T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_zero_doesnt_exist.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_zero_doesnt_exist.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_zero_doesnt_exist.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_4_bce_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_4_bce_february_29th.xml new file mode 100644 index 00000000..b3f167b8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_4_bce_february_29th.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + -0004-02-29 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_4_bce_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_4_bce_february_29th.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_4_bce_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_zero_doesnt_exist.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_zero_doesnt_exist.xml new file mode 100644 index 00000000..8782a745 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_zero_doesnt_exist.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 0000-01-02 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_zero_doesnt_exist.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_zero_doesnt_exist.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_zero_doesnt_exist.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_empty.xml new file mode 100644 index 00000000..3480391f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_free_form_text.xml new file mode 100644 index 00000000..84293373 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_empty.xml new file mode 100644 index 00000000..8f17e5b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_free_form_text.xml new file mode 100644 index 00000000..cbac5ff5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_inf_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_inf_case_matters.xml new file mode 100644 index 00000000..095e2dd5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_inf_case_matters.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + inf + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_inf_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_inf_case_matters.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_inf_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_nan_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_nan_case_matters.xml new file mode 100644 index 00000000..d8a5c6ef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_nan_case_matters.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + nan + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_nan_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_nan_case_matters.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_nan_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_no_fraction_in_scientific_notation.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_no_fraction_in_scientific_notation.xml new file mode 100644 index 00000000..626b6543 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_no_fraction_in_scientific_notation.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 12.34e5.6 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_no_fraction_in_scientific_notation.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_no_fraction_in_scientific_notation.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_no_fraction_in_scientific_notation.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_plus_inf.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_plus_inf.xml new file mode 100644 index 00000000..6f2ae304 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_plus_inf.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + +INF + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_plus_inf.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_plus_inf.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_plus_inf.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_too_large.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_too_large.xml new file mode 100644 index 00000000..ba18c0fd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_too_large.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 1.123456789e1234567890 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_too_large.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_too_large.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_too_large.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_empty.xml new file mode 100644 index 00000000..fa2e6284 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_free_form_text.xml new file mode 100644 index 00000000..ed72e68c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_integer.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_integer.xml new file mode 100644 index 00000000..678a6864 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_integer.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_integer.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_integer.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_integer.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_leading_P_missing.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_leading_P_missing.xml new file mode 100644 index 00000000..4bcb6468 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_leading_P_missing.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + 1Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_leading_P_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_leading_P_missing.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_leading_P_missing.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_negative_years.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_negative_years.xml new file mode 100644 index 00000000..aa1da7e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_negative_years.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + P-1Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_negative_years.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_negative_years.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_negative_years.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_positive_year_negative_months.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_positive_year_negative_months.xml new file mode 100644 index 00000000..1bf1d47a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_positive_year_negative_months.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + P1Y-1M + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_positive_year_negative_months.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_positive_year_negative_months.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_positive_year_negative_months.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_separator_T_missing.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_separator_T_missing.xml new file mode 100644 index 00000000..9c930ad7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_separator_T_missing.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + P1S + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_separator_T_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_separator_T_missing.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_separator_T_missing.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_the_order_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_the_order_matters.xml new file mode 100644 index 00000000..726bc426 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_the_order_matters.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + P1M2Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_the_order_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_the_order_matters.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_the_order_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_empty.xml new file mode 100644 index 00000000..ee3ff9b8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_free_form_text.xml new file mode 100644 index 00000000..cfdfb60a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_inf_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_inf_case_matters.xml new file mode 100644 index 00000000..996653c7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_inf_case_matters.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + inf + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_inf_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_inf_case_matters.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_inf_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_nan_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_nan_case_matters.xml new file mode 100644 index 00000000..1751e795 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_nan_case_matters.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + nan + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_nan_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_nan_case_matters.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_nan_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_no_fraction_in_scientific_notation.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_no_fraction_in_scientific_notation.xml new file mode 100644 index 00000000..e71956a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_no_fraction_in_scientific_notation.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 12.34e5.6 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_no_fraction_in_scientific_notation.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_no_fraction_in_scientific_notation.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_no_fraction_in_scientific_notation.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_plus_inf.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_plus_inf.xml new file mode 100644 index 00000000..e47ca9ac --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_plus_inf.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + +INF + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_plus_inf.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_plus_inf.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_plus_inf.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_too_large.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_too_large.xml new file mode 100644 index 00000000..04fb2813 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_too_large.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 1.123456789e1234567890 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_too_large.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_too_large.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_too_large.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_day_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_day_outside_of_range.xml new file mode 100644 index 00000000..e3ad2029 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_day_outside_of_range.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---35 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_day_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_day_outside_of_range.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_day_outside_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_empty.xml new file mode 100644 index 00000000..c1c85235 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_free_form_text.xml new file mode 100644 index 00000000..8daafc2f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_negative_offset.xml new file mode 100644 index 00000000..0a220586 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..a326f6d6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01+15:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_positive_offset.xml new file mode 100644 index 00000000..bf7cd400 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_dashes.xml new file mode 100644 index 00000000..ece7fe2c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_dashes.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_dashes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_digit.xml new file mode 100644 index 00000000..acd17059 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_digit.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_digit.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_unexpected_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_unexpected_suffix.xml new file mode 100644 index 00000000..a80694d5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_unexpected_suffix.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + --30- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_unexpected_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_unexpected_suffix.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_unexpected_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_day_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_day_outside_of_range.xml new file mode 100644 index 00000000..72ee7f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_day_outside_of_range.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --01-35 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_day_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_day_outside_of_range.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_day_outside_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_empty.xml new file mode 100644 index 00000000..6e213bba --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_free_form_text.xml new file mode 100644 index 00000000..bb5e0bee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_negative_offset.xml new file mode 100644 index 00000000..b50a321f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..59d35acf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-01+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_positive_offset.xml new file mode 100644 index 00000000..5e40bf04 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_dashes.xml new file mode 100644 index 00000000..48fa0a4a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_dashes.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + 01-15 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_dashes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_digit.xml new file mode 100644 index 00000000..0134f095 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_digit.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --1-5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_digit.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_non_existing_april_31st.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_non_existing_april_31st.xml new file mode 100644 index 00000000..4c5f78a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_non_existing_april_31st.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --04-31 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_non_existing_april_31st.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_non_existing_april_31st.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_non_existing_april_31st.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_unexpected_prefix_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_unexpected_prefix_and_suffix.xml new file mode 100644 index 00000000..ec088bfc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_unexpected_prefix_and_suffix.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + -01-30- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_unexpected_prefix_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_unexpected_prefix_and_suffix.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_unexpected_prefix_and_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_empty.xml new file mode 100644 index 00000000..5ec123ad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_free_form_text.xml new file mode 100644 index 00000000..b1d13670 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_negative_offset.xml new file mode 100644 index 00000000..80cb08ce --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..87b7c765 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_positive_offset.xml new file mode 100644 index 00000000..2f0e763e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_dashes.xml new file mode 100644 index 00000000..4c21da80 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_dashes.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + 01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_dashes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_digit.xml new file mode 100644 index 00000000..f138711c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_digit.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_digit.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_month_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_month_outside_of_range.xml new file mode 100644 index 00000000..6bad0c67 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_month_outside_of_range.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_month_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_month_outside_of_range.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_month_outside_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_unexpected_prefix_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_unexpected_prefix_and_suffix.xml new file mode 100644 index 00000000..bf2f051a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_unexpected_prefix_and_suffix.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + -01- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_unexpected_prefix_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_unexpected_prefix_and_suffix.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_unexpected_prefix_and_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_empty.xml new file mode 100644 index 00000000..6de3a5ef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_free_form_text.xml new file mode 100644 index 00000000..f59aa1ba --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_negative_offset.xml new file mode 100644 index 00000000..f63d1e03 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 2001-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..f091e1c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 2001+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_positive_offset.xml new file mode 100644 index 00000000..5cbf9de6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 2001+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_missing_century.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_missing_century.xml new file mode 100644 index 00000000..a334de7a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_missing_century.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_missing_century.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_missing_century.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_missing_century.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_empty.xml new file mode 100644 index 00000000..eda2ec2d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_free_form_text.xml new file mode 100644 index 00000000..64325698 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_negative_offset.xml new file mode 100644 index 00000000..f6d7357b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 2001-10-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..20cdf676 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 2001-10+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_positive_offset.xml new file mode 100644 index 00000000..2b41c5e6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 2001-10+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_century.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_century.xml new file mode 100644 index 00000000..78b8e4db --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_century.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 01-13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_century.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_century.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_century.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_month.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_month.xml new file mode 100644 index 00000000..8f5ca18d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_month.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 2001 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_month.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_month.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_month.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_month_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_month_out_of_range.xml new file mode 100644 index 00000000..a83822fa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_month_out_of_range.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 2001-13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_month_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_month_out_of_range.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_month_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_unexpected_month.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_unexpected_month.xml new file mode 100644 index 00000000..f8705a03 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_unexpected_month.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 2001-12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_unexpected_month.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_unexpected_month.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_unexpected_month.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_free_form_text.xml new file mode 100644 index 00000000..172811f6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_odd_number_of_digits.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_odd_number_of_digits.xml new file mode 100644 index 00000000..bfecfca9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_odd_number_of_digits.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + 123 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_odd_number_of_digits.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_odd_number_of_digits.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_odd_number_of_digits.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_single_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_single_digit.xml new file mode 100644 index 00000000..e9616f36 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_single_digit.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_single_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_single_digit.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_single_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_decimal.xml new file mode 100644 index 00000000..3bb212c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_empty.xml new file mode 100644 index 00000000..ea5ec129 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_free_form_text.xml new file mode 100644 index 00000000..d9181d3c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_mathematical_formula.xml new file mode 100644 index 00000000..eddd8a2b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_max_plus_one.xml new file mode 100644 index 00000000..1d987f24 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_max_plus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 2147483648 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_max_plus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_min_minus_one.xml new file mode 100644 index 00000000..53d7ef7f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_min_minus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + -2147483649 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_min_minus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_scientific.xml new file mode 100644 index 00000000..c7b16a81 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_decimal.xml new file mode 100644 index 00000000..cf5c4a09 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_empty.xml new file mode 100644 index 00000000..9ba8f7ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_free_form_text.xml new file mode 100644 index 00000000..b571e985 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_mathematical_formula.xml new file mode 100644 index 00000000..7d8d5e26 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_scientific.xml new file mode 100644 index 00000000..d3edc6d1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_decimal.xml new file mode 100644 index 00000000..8b769678 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_empty.xml new file mode 100644 index 00000000..1f902929 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_free_form_text.xml new file mode 100644 index 00000000..666b90b9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_mathematical_formula.xml new file mode 100644 index 00000000..260599dd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_max_plus_one.xml new file mode 100644 index 00000000..8e900f74 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_max_plus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 9223372036854775808 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_max_plus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_min_minus_one.xml new file mode 100644 index 00000000..f29b74e8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_min_minus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + -9223372036854775809 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_min_minus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_scientific.xml new file mode 100644 index 00000000..10b80d07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_decimal.xml new file mode 100644 index 00000000..9a45bd30 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_empty.xml new file mode 100644 index 00000000..3f823323 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive.xml new file mode 100644 index 00000000..4b684fbc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + +1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive_zero.xml new file mode 100644 index 00000000..594a00c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + +0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive_zero.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive_zero.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_free_form_text.xml new file mode 100644 index 00000000..8e40ee4b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_implicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_implicitly_positive.xml new file mode 100644 index 00000000..ac2091dc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_implicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_implicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_implicitly_positive.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_implicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_mathematical_formula.xml new file mode 100644 index 00000000..043ca539 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_scientific.xml new file mode 100644 index 00000000..85a5a12f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero.xml new file mode 100644 index 00000000..d85778fc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..475569f6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + 000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero_prefixed_with_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero_prefixed_with_zeros.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero_prefixed_with_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_decimal.xml new file mode 100644 index 00000000..75eb2fa1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_empty.xml new file mode 100644 index 00000000..709ea3f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_free_form_text.xml new file mode 100644 index 00000000..53907436 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_negative.xml new file mode 100644 index 00000000..24e36950 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_negative.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_decimal.xml new file mode 100644 index 00000000..ea1f7790 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_empty.xml new file mode 100644 index 00000000..5d91bbea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_explicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_explicitly_positive.xml new file mode 100644 index 00000000..7b28413e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + +1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_explicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_explicitly_positive.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_explicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_free_form_text.xml new file mode 100644 index 00000000..262a3be0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_implicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_implicitly_positive.xml new file mode 100644 index 00000000..6edf8616 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_implicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_implicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_implicitly_positive.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_implicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_mathematical_formula.xml new file mode 100644 index 00000000..aba1c31f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_scientific.xml new file mode 100644 index 00000000..d4fd35c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_decimal.xml new file mode 100644 index 00000000..aab364f6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_empty.xml new file mode 100644 index 00000000..f2a038f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_free_form_text.xml new file mode 100644 index 00000000..79f15775 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_negative.xml new file mode 100644 index 00000000..c1975455 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_negative.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero.xml new file mode 100644 index 00000000..bcbb7d18 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..74d47490 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero_prefixed_with_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero_prefixed_with_zeros.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero_prefixed_with_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_decimal.xml new file mode 100644 index 00000000..61b067d5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_empty.xml new file mode 100644 index 00000000..902b3217 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_free_form_text.xml new file mode 100644 index 00000000..6d5eee9a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_mathematical_formula.xml new file mode 100644 index 00000000..15ba18bc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_max_plus_one.xml new file mode 100644 index 00000000..d466ccb7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_max_plus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 32768 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_max_plus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_min_minus_one.xml new file mode 100644 index 00000000..e46de4bd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_min_minus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + -32769 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_min_minus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_scientific.xml new file mode 100644 index 00000000..690aae7d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_empty.xml new file mode 100644 index 00000000..be145a71 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_free_form_text.xml new file mode 100644 index 00000000..10c92ad0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_hour_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_hour_out_of_range.xml new file mode 100644 index 00000000..7a88c6c6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_hour_out_of_range.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 25:25:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_hour_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_hour_out_of_range.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_hour_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_negative_offset.xml new file mode 100644 index 00000000..8ff5672a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 21:32:52-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..260b931f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 21:32:52-02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_positive_offset.xml new file mode 100644 index 00000000..7c8ef07a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 21:32:52+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_minute_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_minute_out_of_range.xml new file mode 100644 index 00000000..a8a99bea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_minute_out_of_range.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 01:61:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_minute_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_minute_out_of_range.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_minute_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_padded_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_padded_zeros.xml new file mode 100644 index 00000000..253c4497 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_padded_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 1:20:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_padded_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_padded_zeros.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_padded_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_seconds.xml new file mode 100644 index 00000000..45450b41 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 21:32 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_seconds.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_negative.xml new file mode 100644 index 00000000..02f73de8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + -10:00:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_negative.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_second_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_second_out_of_range.xml new file mode 100644 index 00000000..f615d0c3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_second_out_of_range.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 01:02:61 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_second_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_second_out_of_range.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_second_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_decimal.xml new file mode 100644 index 00000000..06018c30 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_empty.xml new file mode 100644 index 00000000..08ff2282 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_free_form_text.xml new file mode 100644 index 00000000..7e568280 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_mathematical_formula.xml new file mode 100644 index 00000000..ab5d583a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_max_plus_one.xml new file mode 100644 index 00000000..49ff37fe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_max_plus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 256 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_max_plus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_negative.xml new file mode 100644 index 00000000..021d66dc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_negative.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_scientific.xml new file mode 100644 index 00000000..88b1ab05 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_decimal.xml new file mode 100644 index 00000000..9b9dc8aa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_empty.xml new file mode 100644 index 00000000..9e5410fc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_free_form_text.xml new file mode 100644 index 00000000..2c1944a9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_mathematical_formula.xml new file mode 100644 index 00000000..fd9c1ced --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_max_plus_one.xml new file mode 100644 index 00000000..2ebda9d2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_max_plus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 4294967296 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_max_plus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_negative.xml new file mode 100644 index 00000000..372fb3bf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_negative.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_scientific.xml new file mode 100644 index 00000000..f7c56975 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_decimal.xml new file mode 100644 index 00000000..1b9c7bb4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_empty.xml new file mode 100644 index 00000000..c4646944 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_free_form_text.xml new file mode 100644 index 00000000..7f5d2c6b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_mathematical_formula.xml new file mode 100644 index 00000000..14bd6dac --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_max_plus_one.xml new file mode 100644 index 00000000..677a9a5b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_max_plus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 18446744073709551616 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_max_plus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_negative.xml new file mode 100644 index 00000000..5af9d376 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_negative.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_scientific.xml new file mode 100644 index 00000000..fac48f43 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_decimal.xml new file mode 100644 index 00000000..4469ac64 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_empty.xml new file mode 100644 index 00000000..631c32b4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_free_form_text.xml new file mode 100644 index 00000000..4ca6e8fa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_mathematical_formula.xml new file mode 100644 index 00000000..41a7f12a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_max_plus_one.xml new file mode 100644 index 00000000..4f458ec3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_max_plus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 65536 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_max_plus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_negative.xml new file mode 100644 index 00000000..ab43b3f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_negative.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_scientific.xml new file mode 100644 index 00000000..abfc7ac2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_01.xml new file mode 100644 index 00000000..6b880248 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:anyURI + `` + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_04.xml new file mode 100644 index 00000000..7333b373 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:anyURI + ''1ƒ𐧂 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_05.xml new file mode 100644 index 00000000..af2506ef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:anyURI + ''ÿ􈰚쎸Ⱥ«Ù + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_06.xml new file mode 100644 index 00000000..043db2e5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:anyURI + `0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_10.xml new file mode 100644 index 00000000..325a03eb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:anyURI + —LùÙ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml new file mode 100644 index 00000000..b041b5df --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml @@ -0,0 +1,4 @@ + + xs:anyURI + http://datypic.com#f% rag + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_too_many_fragments.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_too_many_fragments.xml new file mode 100644 index 00000000..ada1372a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_too_many_fragments.xml @@ -0,0 +1,4 @@ + + xs:anyURI + http://datypic.com#frag1#frag2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_too_many_fragments.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_too_many_fragments.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_too_many_fragments.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml new file mode 100644 index 00000000..291b1a7a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + FB8 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml new file mode 100644 index 00000000..8211feb0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + ==0F + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_03.xml new file mode 100644 index 00000000..10982beb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + #/ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_04.xml new file mode 100644 index 00000000..511479c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_05.xml new file mode 100644 index 00000000..32b64192 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + 򤞈 񷩎񠴔ú + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_06.xml new file mode 100644 index 00000000..04b33736 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + ]]P + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_08.xml new file mode 100644 index 00000000..51fbfa64 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + í + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_10.xml new file mode 100644 index 00000000..33c0e3e7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + ‚ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_as_number_with_leading_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_as_number_with_leading_zeros.xml new file mode 100644 index 00000000..3fc5c16c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_as_number_with_leading_zeros.xml @@ -0,0 +1,4 @@ + + xs:boolean + 0000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_as_number_with_leading_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_as_number_with_leading_zeros.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_as_number_with_leading_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_camelcase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_camelcase.xml new file mode 100644 index 00000000..f8613c22 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_camelcase.xml @@ -0,0 +1,4 @@ + + xs:boolean + False + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_camelcase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_camelcase.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_camelcase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_uppercase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_uppercase.xml new file mode 100644 index 00000000..f8c932b8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_uppercase.xml @@ -0,0 +1,4 @@ + + xs:boolean + FALSE + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_uppercase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_uppercase.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_uppercase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_01.xml new file mode 100644 index 00000000..85c48753 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:boolean + 򼅡󚈲6󚈲 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_03.xml new file mode 100644 index 00000000..71a4f4d7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:boolean + 𵯴 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_05.xml new file mode 100644 index 00000000..53b85533 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:boolean +  º񌯽n + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_10.xml new file mode 100644 index 00000000..800b587c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:boolean + 򪸏za𶢻‰ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_as_number_with_leading_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_as_number_with_leading_zeros.xml new file mode 100644 index 00000000..f8f5fb0c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_as_number_with_leading_zeros.xml @@ -0,0 +1,4 @@ + + xs:boolean + 0001 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_as_number_with_leading_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_as_number_with_leading_zeros.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_as_number_with_leading_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_camelcase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_camelcase.xml new file mode 100644 index 00000000..4e755d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_camelcase.xml @@ -0,0 +1,4 @@ + + xs:boolean + True + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_camelcase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_camelcase.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_camelcase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_uppercase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_uppercase.xml new file mode 100644 index 00000000..95dec859 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_uppercase.xml @@ -0,0 +1,4 @@ + + xs:boolean + TRUE + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_uppercase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_uppercase.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_uppercase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_decimal.xml new file mode 100644 index 00000000..ccb9cb78 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_decimal.xml @@ -0,0 +1,4 @@ + + xs:byte + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_empty.xml new file mode 100644 index 00000000..dee99711 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_empty.xml @@ -0,0 +1,4 @@ + + xs:byte + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_free_form_text.xml new file mode 100644 index 00000000..ff14a9fa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:byte + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_mathematical_formula.xml new file mode 100644 index 00000000..c13ce3e1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:byte + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_max_plus_one.xml new file mode 100644 index 00000000..96920185 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_max_plus_one.xml @@ -0,0 +1,4 @@ + + xs:byte + 128 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_max_plus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_min_minus_one.xml new file mode 100644 index 00000000..ae8c8999 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_min_minus_one.xml @@ -0,0 +1,4 @@ + + xs:byte + -129 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_min_minus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_scientific.xml new file mode 100644 index 00000000..d7748847 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_scientific.xml @@ -0,0 +1,4 @@ + + xs:byte + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_UTC.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_UTC.xml new file mode 100644 index 00000000..3d316823 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_UTC.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_UTC.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_UTC.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_UTC.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_offset.xml new file mode 100644 index 00000000..4c4f00ad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_offset.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_without_zone.xml new file mode 100644 index 00000000..f45a01e5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_without_zone.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_without_zone.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_without_zone.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_negative_offset.xml new file mode 100644 index 00000000..ffee2137 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_positive_offset.xml new file mode 100644 index 00000000..e4ff0da1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_seconds_in_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_seconds_in_offset.xml new file mode 100644 index 00000000..b3b05793 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_seconds_in_offset.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_seconds_in_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_seconds_in_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_seconds_in_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_empty.xml new file mode 100644 index 00000000..f35cfaa2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_empty.xml @@ -0,0 +1,4 @@ + + xs:date + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_non_existing_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_non_existing_february_29th.xml new file mode 100644 index 00000000..91d69472 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_non_existing_february_29th.xml @@ -0,0 +1,4 @@ + + xs:date + 2011-02-29 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_non_existing_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_non_existing_february_29th.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_non_existing_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date.xml new file mode 100644 index 00000000..bef00b06 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_negative_offset.xml new file mode 100644 index 00000000..b731d01d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02:03-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_positive_offset.xml new file mode 100644 index 00000000..9f7cf9a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02:03+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_seconds_in_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_seconds_in_offset.xml new file mode 100644 index 00000000..5662d8c6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_seconds_in_offset.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02:03+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_seconds_in_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_seconds_in_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_seconds_in_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_prefix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_prefix.xml new file mode 100644 index 00000000..681b17da --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_prefix.xml @@ -0,0 +1,4 @@ + + xs:dateTime + unexpected-prefix-2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_prefix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_prefix.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_prefix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_suffix.xml new file mode 100644 index 00000000..5c245dd9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_suffix.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02:03Z-unexpected-suffix + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_suffix.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_with_time_zone.xml new file mode 100644 index 00000000..7e17f0e0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_with_time_zone.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_with_time_zone.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_with_time_zone.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_empty.xml new file mode 100644 index 00000000..3a8214ea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_empty.xml @@ -0,0 +1,4 @@ + + xs:dateTime + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_non_existing_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_non_existing_february_29th.xml new file mode 100644 index 00000000..d27471e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_non_existing_february_29th.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2011-02-29T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_non_existing_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_non_existing_february_29th.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_non_existing_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_minutes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_minutes.xml new file mode 100644 index 00000000..ba8a27eb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_minutes.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_minutes.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_minutes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_seconds.xml new file mode 100644 index 00000000..bb7b3ee5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_seconds.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_seconds.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_4_bce_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_4_bce_february_29th.xml new file mode 100644 index 00000000..19a3d476 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_4_bce_february_29th.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -0004-02-29T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_4_bce_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_4_bce_february_29th.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_4_bce_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_zero_doesnt_exist.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_zero_doesnt_exist.xml new file mode 100644 index 00000000..d48d3a34 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_zero_doesnt_exist.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 0000-01-02T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_zero_doesnt_exist.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_zero_doesnt_exist.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_zero_doesnt_exist.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_4_bce_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_4_bce_february_29th.xml new file mode 100644 index 00000000..3da3ba92 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_4_bce_february_29th.xml @@ -0,0 +1,4 @@ + + xs:date + -0004-02-29 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_4_bce_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_4_bce_february_29th.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_4_bce_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_zero_doesnt_exist.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_zero_doesnt_exist.xml new file mode 100644 index 00000000..13b4f925 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_zero_doesnt_exist.xml @@ -0,0 +1,4 @@ + + xs:date + 0000-01-02 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_zero_doesnt_exist.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_zero_doesnt_exist.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_zero_doesnt_exist.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_empty.xml new file mode 100644 index 00000000..3bd80f34 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_empty.xml @@ -0,0 +1,4 @@ + + xs:decimal + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_free_form_text.xml new file mode 100644 index 00000000..f9e0f3b0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:decimal + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_empty.xml new file mode 100644 index 00000000..6fe26d96 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_empty.xml @@ -0,0 +1,4 @@ + + xs:double + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_free_form_text.xml new file mode 100644 index 00000000..364ec4b1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:double + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_inf_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_inf_case_matters.xml new file mode 100644 index 00000000..27bfd480 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_inf_case_matters.xml @@ -0,0 +1,4 @@ + + xs:double + inf + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_inf_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_inf_case_matters.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_inf_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_nan_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_nan_case_matters.xml new file mode 100644 index 00000000..bed7ba86 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_nan_case_matters.xml @@ -0,0 +1,4 @@ + + xs:double + nan + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_nan_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_nan_case_matters.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_nan_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_no_fraction_in_scientific_notation.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_no_fraction_in_scientific_notation.xml new file mode 100644 index 00000000..92a984c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_no_fraction_in_scientific_notation.xml @@ -0,0 +1,4 @@ + + xs:double + 12.34e5.6 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_no_fraction_in_scientific_notation.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_no_fraction_in_scientific_notation.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_no_fraction_in_scientific_notation.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_plus_inf.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_plus_inf.xml new file mode 100644 index 00000000..bba4ffce --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_plus_inf.xml @@ -0,0 +1,4 @@ + + xs:double + +INF + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_plus_inf.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_plus_inf.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_plus_inf.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_too_large.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_too_large.xml new file mode 100644 index 00000000..295e9e6a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_too_large.xml @@ -0,0 +1,4 @@ + + xs:double + 1.123456789e1234567890 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_too_large.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_too_large.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_too_large.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_empty.xml new file mode 100644 index 00000000..4eacf2e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_empty.xml @@ -0,0 +1,4 @@ + + xs:duration + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_free_form_text.xml new file mode 100644 index 00000000..99e8269b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:duration + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_integer.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_integer.xml new file mode 100644 index 00000000..9ed7560e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_integer.xml @@ -0,0 +1,4 @@ + + xs:duration + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_integer.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_integer.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_integer.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_leading_P_missing.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_leading_P_missing.xml new file mode 100644 index 00000000..33d25da8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_leading_P_missing.xml @@ -0,0 +1,4 @@ + + xs:duration + 1Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_leading_P_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_leading_P_missing.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_leading_P_missing.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_negative_years.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_negative_years.xml new file mode 100644 index 00000000..b7aae3f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_negative_years.xml @@ -0,0 +1,4 @@ + + xs:duration + P-1Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_negative_years.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_negative_years.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_negative_years.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_positive_year_negative_months.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_positive_year_negative_months.xml new file mode 100644 index 00000000..491462f5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_positive_year_negative_months.xml @@ -0,0 +1,4 @@ + + xs:duration + P1Y-1M + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_positive_year_negative_months.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_positive_year_negative_months.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_positive_year_negative_months.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_separator_T_missing.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_separator_T_missing.xml new file mode 100644 index 00000000..a353c870 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_separator_T_missing.xml @@ -0,0 +1,4 @@ + + xs:duration + P1S + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_separator_T_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_separator_T_missing.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_separator_T_missing.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_the_order_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_the_order_matters.xml new file mode 100644 index 00000000..743efbc9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_the_order_matters.xml @@ -0,0 +1,4 @@ + + xs:duration + P1M2Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_the_order_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_the_order_matters.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_the_order_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_empty.xml new file mode 100644 index 00000000..61c96aee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_empty.xml @@ -0,0 +1,4 @@ + + xs:float + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_free_form_text.xml new file mode 100644 index 00000000..3e627af7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:float + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_inf_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_inf_case_matters.xml new file mode 100644 index 00000000..2c097d0b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_inf_case_matters.xml @@ -0,0 +1,4 @@ + + xs:float + inf + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_inf_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_inf_case_matters.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_inf_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_nan_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_nan_case_matters.xml new file mode 100644 index 00000000..37413cbf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_nan_case_matters.xml @@ -0,0 +1,4 @@ + + xs:float + nan + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_nan_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_nan_case_matters.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_nan_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_no_fraction_in_scientific_notation.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_no_fraction_in_scientific_notation.xml new file mode 100644 index 00000000..37f5fc53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_no_fraction_in_scientific_notation.xml @@ -0,0 +1,4 @@ + + xs:float + 12.34e5.6 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_no_fraction_in_scientific_notation.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_no_fraction_in_scientific_notation.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_no_fraction_in_scientific_notation.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_plus_inf.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_plus_inf.xml new file mode 100644 index 00000000..3cc426b9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_plus_inf.xml @@ -0,0 +1,4 @@ + + xs:float + +INF + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_plus_inf.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_plus_inf.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_plus_inf.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_too_large.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_too_large.xml new file mode 100644 index 00000000..0e54bb8a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_too_large.xml @@ -0,0 +1,4 @@ + + xs:float + 1.123456789e1234567890 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_too_large.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_too_large.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_too_large.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_day_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_day_outside_of_range.xml new file mode 100644 index 00000000..7f1c1042 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_day_outside_of_range.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---35 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_day_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_day_outside_of_range.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_day_outside_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_empty.xml new file mode 100644 index 00000000..88223d13 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_empty.xml @@ -0,0 +1,4 @@ + + xs:gDay + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_free_form_text.xml new file mode 100644 index 00000000..682db640 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:gDay + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_negative_offset.xml new file mode 100644 index 00000000..826c56d0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..873c0889 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_offset_with_seconds.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---01+15:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_positive_offset.xml new file mode 100644 index 00000000..d0733951 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_dashes.xml new file mode 100644 index 00000000..cc7572b4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_dashes.xml @@ -0,0 +1,4 @@ + + xs:gDay + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_dashes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_digit.xml new file mode 100644 index 00000000..17ae93ab --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_digit.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_digit.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_unexpected_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_unexpected_suffix.xml new file mode 100644 index 00000000..5c627fdf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_unexpected_suffix.xml @@ -0,0 +1,4 @@ + + xs:gDay + --30- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_unexpected_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_unexpected_suffix.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_unexpected_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_day_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_day_outside_of_range.xml new file mode 100644 index 00000000..639390d3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_day_outside_of_range.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --01-35 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_day_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_day_outside_of_range.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_day_outside_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_empty.xml new file mode 100644 index 00000000..e4882d5d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_empty.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_free_form_text.xml new file mode 100644 index 00000000..205674e9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_negative_offset.xml new file mode 100644 index 00000000..3654c830 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..d5c28e79 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_offset_with_seconds.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-01+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_positive_offset.xml new file mode 100644 index 00000000..eaa7e980 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_dashes.xml new file mode 100644 index 00000000..dd6d8d91 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_dashes.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + 01-15 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_dashes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_digit.xml new file mode 100644 index 00000000..eaeccffe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_digit.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --1-5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_digit.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_non_existing_april_31st.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_non_existing_april_31st.xml new file mode 100644 index 00000000..6de0e841 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_non_existing_april_31st.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --04-31 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_non_existing_april_31st.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_non_existing_april_31st.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_non_existing_april_31st.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_unexpected_prefix_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_unexpected_prefix_and_suffix.xml new file mode 100644 index 00000000..b104ada3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_unexpected_prefix_and_suffix.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + -01-30- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_unexpected_prefix_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_unexpected_prefix_and_suffix.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_unexpected_prefix_and_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_empty.xml new file mode 100644 index 00000000..e9a9043f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_empty.xml @@ -0,0 +1,4 @@ + + xs:gMonth + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_free_form_text.xml new file mode 100644 index 00000000..6adff735 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:gMonth + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_negative_offset.xml new file mode 100644 index 00000000..08a710b9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..79faf2fc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_offset_with_seconds.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_positive_offset.xml new file mode 100644 index 00000000..5984c452 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_dashes.xml new file mode 100644 index 00000000..50543b04 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_dashes.xml @@ -0,0 +1,4 @@ + + xs:gMonth + 01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_dashes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_digit.xml new file mode 100644 index 00000000..a520bea2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_digit.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_digit.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_month_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_month_outside_of_range.xml new file mode 100644 index 00000000..1545fb7f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_month_outside_of_range.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_month_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_month_outside_of_range.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_month_outside_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_unexpected_prefix_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_unexpected_prefix_and_suffix.xml new file mode 100644 index 00000000..22be3fe6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_unexpected_prefix_and_suffix.xml @@ -0,0 +1,4 @@ + + xs:gMonth + -01- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_unexpected_prefix_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_unexpected_prefix_and_suffix.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_unexpected_prefix_and_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_empty.xml new file mode 100644 index 00000000..197aa805 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_empty.xml @@ -0,0 +1,4 @@ + + xs:gYear + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_free_form_text.xml new file mode 100644 index 00000000..59ee9ba0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:gYear + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_negative_offset.xml new file mode 100644 index 00000000..1ffcf18a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:gYear + 2001-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..847186cb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_offset_with_seconds.xml @@ -0,0 +1,4 @@ + + xs:gYear + 2001+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_positive_offset.xml new file mode 100644 index 00000000..c16add10 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:gYear + 2001+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_missing_century.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_missing_century.xml new file mode 100644 index 00000000..6d3deb84 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_missing_century.xml @@ -0,0 +1,4 @@ + + xs:gYear + 01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_missing_century.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_missing_century.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_missing_century.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_empty.xml new file mode 100644 index 00000000..70c5c076 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_empty.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_free_form_text.xml new file mode 100644 index 00000000..3882fc2d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_negative_offset.xml new file mode 100644 index 00000000..003c3058 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 2001-10-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..f7b63ff9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_offset_with_seconds.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 2001-10+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_positive_offset.xml new file mode 100644 index 00000000..3f823e48 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 2001-10+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_century.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_century.xml new file mode 100644 index 00000000..9f866f6a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_century.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 01-13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_century.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_century.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_century.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_month.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_month.xml new file mode 100644 index 00000000..267a075c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_month.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 2001 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_month.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_month.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_month.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_month_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_month_out_of_range.xml new file mode 100644 index 00000000..66bb84bf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_month_out_of_range.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 2001-13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_month_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_month_out_of_range.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_month_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_unexpected_month.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_unexpected_month.xml new file mode 100644 index 00000000..7a79212d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_unexpected_month.xml @@ -0,0 +1,4 @@ + + xs:gYear + 2001-12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_unexpected_month.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_unexpected_month.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_unexpected_month.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_free_form_text.xml new file mode 100644 index 00000000..143c2901 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_odd_number_of_digits.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_odd_number_of_digits.xml new file mode 100644 index 00000000..5eb466a9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_odd_number_of_digits.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + 123 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_odd_number_of_digits.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_odd_number_of_digits.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_odd_number_of_digits.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_single_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_single_digit.xml new file mode 100644 index 00000000..7ec97346 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_single_digit.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_single_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_single_digit.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_single_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_decimal.xml new file mode 100644 index 00000000..1cbf5eb0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_decimal.xml @@ -0,0 +1,4 @@ + + xs:int + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_empty.xml new file mode 100644 index 00000000..c7ca8ab9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_empty.xml @@ -0,0 +1,4 @@ + + xs:int + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_free_form_text.xml new file mode 100644 index 00000000..151aef21 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:int + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_mathematical_formula.xml new file mode 100644 index 00000000..a59aa21e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:int + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_max_plus_one.xml new file mode 100644 index 00000000..ca38a51e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_max_plus_one.xml @@ -0,0 +1,4 @@ + + xs:int + 2147483648 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_max_plus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_min_minus_one.xml new file mode 100644 index 00000000..44d2a072 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_min_minus_one.xml @@ -0,0 +1,4 @@ + + xs:int + -2147483649 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_min_minus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_scientific.xml new file mode 100644 index 00000000..9102db25 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_scientific.xml @@ -0,0 +1,4 @@ + + xs:int + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_decimal.xml new file mode 100644 index 00000000..15ac822a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_decimal.xml @@ -0,0 +1,4 @@ + + xs:integer + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_empty.xml new file mode 100644 index 00000000..b6687a75 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_empty.xml @@ -0,0 +1,4 @@ + + xs:integer + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_free_form_text.xml new file mode 100644 index 00000000..b060b260 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:integer + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_mathematical_formula.xml new file mode 100644 index 00000000..e3a7043f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:integer + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_scientific.xml new file mode 100644 index 00000000..2274e5af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_scientific.xml @@ -0,0 +1,4 @@ + + xs:integer + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_decimal.xml new file mode 100644 index 00000000..05fb6b5d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_decimal.xml @@ -0,0 +1,4 @@ + + xs:long + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_empty.xml new file mode 100644 index 00000000..76a2ef13 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_empty.xml @@ -0,0 +1,4 @@ + + xs:long + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_free_form_text.xml new file mode 100644 index 00000000..82a6142d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:long + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_mathematical_formula.xml new file mode 100644 index 00000000..44814e17 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:long + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_max_plus_one.xml new file mode 100644 index 00000000..81365572 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_max_plus_one.xml @@ -0,0 +1,4 @@ + + xs:long + 9223372036854775808 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_max_plus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_min_minus_one.xml new file mode 100644 index 00000000..b613f682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_min_minus_one.xml @@ -0,0 +1,4 @@ + + xs:long + -9223372036854775809 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_min_minus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_scientific.xml new file mode 100644 index 00000000..832be1ad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_scientific.xml @@ -0,0 +1,4 @@ + + xs:long + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_decimal.xml new file mode 100644 index 00000000..1a9805a2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_decimal.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_empty.xml new file mode 100644 index 00000000..8b1a9060 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_empty.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive.xml new file mode 100644 index 00000000..1b2c6680 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + +1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive_zero.xml new file mode 100644 index 00000000..135ecade --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive_zero.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + +0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive_zero.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive_zero.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_free_form_text.xml new file mode 100644 index 00000000..e19453b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_implicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_implicitly_positive.xml new file mode 100644 index 00000000..7df8fe3a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_implicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_implicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_implicitly_positive.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_implicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_mathematical_formula.xml new file mode 100644 index 00000000..8a726a5d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_scientific.xml new file mode 100644 index 00000000..512e3085 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_scientific.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero.xml new file mode 100644 index 00000000..24286b41 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..b4b210c6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + 000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero_prefixed_with_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero_prefixed_with_zeros.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero_prefixed_with_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_decimal.xml new file mode 100644 index 00000000..ab3fc985 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_decimal.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_empty.xml new file mode 100644 index 00000000..3d0296dc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_empty.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_free_form_text.xml new file mode 100644 index 00000000..fcd9d7c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_negative.xml new file mode 100644 index 00000000..d1baac17 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_negative.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_negative.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_decimal.xml new file mode 100644 index 00000000..7716ba71 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_decimal.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_empty.xml new file mode 100644 index 00000000..2d514cb4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_empty.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_explicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_explicitly_positive.xml new file mode 100644 index 00000000..c35571fd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + +1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_explicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_explicitly_positive.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_explicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_free_form_text.xml new file mode 100644 index 00000000..23a6be44 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_implicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_implicitly_positive.xml new file mode 100644 index 00000000..0ee7c0d6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_implicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_implicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_implicitly_positive.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_implicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_mathematical_formula.xml new file mode 100644 index 00000000..0754fae5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_scientific.xml new file mode 100644 index 00000000..619a2e97 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_scientific.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_decimal.xml new file mode 100644 index 00000000..9d6cf859 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_decimal.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_empty.xml new file mode 100644 index 00000000..d2b8d1bd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_empty.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_free_form_text.xml new file mode 100644 index 00000000..c90210f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_negative.xml new file mode 100644 index 00000000..8c7d9ae4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_negative.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_negative.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero.xml new file mode 100644 index 00000000..6081eb6d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..4167837c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero_prefixed_with_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero_prefixed_with_zeros.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero_prefixed_with_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_decimal.xml new file mode 100644 index 00000000..3104e249 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_decimal.xml @@ -0,0 +1,4 @@ + + xs:short + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_empty.xml new file mode 100644 index 00000000..2d5b2bdc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_empty.xml @@ -0,0 +1,4 @@ + + xs:short + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_free_form_text.xml new file mode 100644 index 00000000..433b8d5d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:short + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_mathematical_formula.xml new file mode 100644 index 00000000..3799a601 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:short + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_max_plus_one.xml new file mode 100644 index 00000000..1eb0cf65 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_max_plus_one.xml @@ -0,0 +1,4 @@ + + xs:short + 32768 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_max_plus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_min_minus_one.xml new file mode 100644 index 00000000..46fcc9f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_min_minus_one.xml @@ -0,0 +1,4 @@ + + xs:short + -32769 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_min_minus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_scientific.xml new file mode 100644 index 00000000..d1307121 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_scientific.xml @@ -0,0 +1,4 @@ + + xs:short + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_empty.xml new file mode 100644 index 00000000..0402bf8f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_empty.xml @@ -0,0 +1,4 @@ + + xs:time + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_free_form_text.xml new file mode 100644 index 00000000..8f9c9965 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:time + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_hour_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_hour_out_of_range.xml new file mode 100644 index 00000000..4e91acab --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_hour_out_of_range.xml @@ -0,0 +1,4 @@ + + xs:time + 25:25:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_hour_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_hour_out_of_range.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_hour_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_negative_offset.xml new file mode 100644 index 00000000..0b315037 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:time + 21:32:52-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..81646cbf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_offset_with_seconds.xml @@ -0,0 +1,4 @@ + + xs:time + 21:32:52-02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_positive_offset.xml new file mode 100644 index 00000000..1f607e87 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:time + 21:32:52+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_minute_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_minute_out_of_range.xml new file mode 100644 index 00000000..05506584 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_minute_out_of_range.xml @@ -0,0 +1,4 @@ + + xs:time + 01:61:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_minute_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_minute_out_of_range.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_minute_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_padded_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_padded_zeros.xml new file mode 100644 index 00000000..466ae185 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_padded_zeros.xml @@ -0,0 +1,4 @@ + + xs:time + 1:20:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_padded_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_padded_zeros.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_padded_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_seconds.xml new file mode 100644 index 00000000..5de8e012 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_seconds.xml @@ -0,0 +1,4 @@ + + xs:time + 21:32 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_seconds.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_negative.xml new file mode 100644 index 00000000..9987ef72 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_negative.xml @@ -0,0 +1,4 @@ + + xs:time + -10:00:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_negative.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_second_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_second_out_of_range.xml new file mode 100644 index 00000000..2044a9e1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_second_out_of_range.xml @@ -0,0 +1,4 @@ + + xs:time + 01:02:61 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_second_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_second_out_of_range.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_second_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_decimal.xml new file mode 100644 index 00000000..0eba2819 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_decimal.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_empty.xml new file mode 100644 index 00000000..3bc0bd07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_empty.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_free_form_text.xml new file mode 100644 index 00000000..6a66a9aa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_mathematical_formula.xml new file mode 100644 index 00000000..342c970a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_max_plus_one.xml new file mode 100644 index 00000000..23ff7316 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_max_plus_one.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 256 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_max_plus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_negative.xml new file mode 100644 index 00000000..2199af01 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_negative.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_negative.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_scientific.xml new file mode 100644 index 00000000..adfdcc85 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_scientific.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_decimal.xml new file mode 100644 index 00000000..6f8cf3e3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_decimal.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_empty.xml new file mode 100644 index 00000000..d1935776 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_empty.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_free_form_text.xml new file mode 100644 index 00000000..589962aa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_mathematical_formula.xml new file mode 100644 index 00000000..4c72998a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_max_plus_one.xml new file mode 100644 index 00000000..120a5ccb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_max_plus_one.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 4294967296 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_max_plus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_negative.xml new file mode 100644 index 00000000..a106e695 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_negative.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_negative.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_scientific.xml new file mode 100644 index 00000000..8b4f633e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_scientific.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_decimal.xml new file mode 100644 index 00000000..0e0b8914 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_decimal.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_empty.xml new file mode 100644 index 00000000..ce4fd79c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_empty.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_free_form_text.xml new file mode 100644 index 00000000..e1610825 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_mathematical_formula.xml new file mode 100644 index 00000000..741dbddf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_max_plus_one.xml new file mode 100644 index 00000000..a7b5801c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_max_plus_one.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 18446744073709551616 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_max_plus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_negative.xml new file mode 100644 index 00000000..e78da993 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_negative.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_negative.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_scientific.xml new file mode 100644 index 00000000..16b44fa0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_scientific.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_decimal.xml new file mode 100644 index 00000000..6a76b451 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_decimal.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_empty.xml new file mode 100644 index 00000000..50151138 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_empty.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_free_form_text.xml new file mode 100644 index 00000000..f235dbc5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_mathematical_formula.xml new file mode 100644 index 00000000..c87c63ab --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_max_plus_one.xml new file mode 100644 index 00000000..96b8e56a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_max_plus_one.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 65536 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_max_plus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_negative.xml new file mode 100644 index 00000000..89342b5b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_negative.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_negative.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_scientific.xml new file mode 100644 index 00000000..5f518b9d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_scientific.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_01.xml new file mode 100644 index 00000000..7751a1ff --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + `` + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_04.xml new file mode 100644 index 00000000..2b78966f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + ''1ƒ𐧂 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_05.xml new file mode 100644 index 00000000..a17eb981 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + ''ÿ􈰚쎸Ⱥ«Ù + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_06.xml new file mode 100644 index 00000000..74c2bee8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + `0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_10.xml new file mode 100644 index 00000000..67bccd18 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + —LùÙ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml new file mode 100644 index 00000000..aacb1a23 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + http://datypic.com#f% rag + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_too_many_fragments.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_too_many_fragments.xml new file mode 100644 index 00000000..947f71bd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_too_many_fragments.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + http://datypic.com#frag1#frag2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_too_many_fragments.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_too_many_fragments.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_too_many_fragments.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml new file mode 100644 index 00000000..1aaec999 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + FB8 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml new file mode 100644 index 00000000..68a9ade5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + ==0F + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_03.xml new file mode 100644 index 00000000..bc56744e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + #/ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_04.xml new file mode 100644 index 00000000..eb39282c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_05.xml new file mode 100644 index 00000000..34176a7e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + 򤞈 񷩎񠴔ú + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_06.xml new file mode 100644 index 00000000..1a0943b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + ]]P + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_08.xml new file mode 100644 index 00000000..4d2913ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + í + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_10.xml new file mode 100644 index 00000000..b26f540a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + ‚ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_as_number_with_leading_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_as_number_with_leading_zeros.xml new file mode 100644 index 00000000..f78ca8df --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_as_number_with_leading_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + 0000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_as_number_with_leading_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_as_number_with_leading_zeros.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_as_number_with_leading_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_camelcase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_camelcase.xml new file mode 100644 index 00000000..bbee2e11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_camelcase.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + False + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_camelcase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_camelcase.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_camelcase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_uppercase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_uppercase.xml new file mode 100644 index 00000000..95ad140c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_uppercase.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + FALSE + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_uppercase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_uppercase.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_uppercase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_01.xml new file mode 100644 index 00000000..e3cbbf29 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + 򼅡󚈲6󚈲 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_03.xml new file mode 100644 index 00000000..9c4e48d7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + 𵯴 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_05.xml new file mode 100644 index 00000000..c4969fd9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean +  º񌯽n + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_10.xml new file mode 100644 index 00000000..cf15e784 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + 򪸏za𶢻‰ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_as_number_with_leading_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_as_number_with_leading_zeros.xml new file mode 100644 index 00000000..6f38b317 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_as_number_with_leading_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + 0001 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_as_number_with_leading_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_as_number_with_leading_zeros.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_as_number_with_leading_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_camelcase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_camelcase.xml new file mode 100644 index 00000000..d94cb775 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_camelcase.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + True + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_camelcase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_camelcase.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_camelcase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_uppercase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_uppercase.xml new file mode 100644 index 00000000..52277775 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_uppercase.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + TRUE + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_uppercase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_uppercase.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_uppercase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_decimal.xml new file mode 100644 index 00000000..75d4f143 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_decimal.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_empty.xml new file mode 100644 index 00000000..7e31e61c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_free_form_text.xml new file mode 100644 index 00000000..5b135aa5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_mathematical_formula.xml new file mode 100644 index 00000000..33375eef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_mathematical_formula.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_max_plus_one.xml new file mode 100644 index 00000000..75337d10 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_max_plus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 128 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_max_plus_one.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_min_minus_one.xml new file mode 100644 index 00000000..41722b41 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_min_minus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + -129 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_min_minus_one.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_scientific.xml new file mode 100644 index 00000000..ee0f1c1c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_scientific.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_UTC.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_UTC.xml new file mode 100644 index 00000000..1c481254 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_UTC.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_UTC.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_UTC.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_UTC.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_offset.xml new file mode 100644 index 00000000..94ae8ed3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_offset.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_without_zone.xml new file mode 100644 index 00000000..38bfa4da --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_without_zone.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_without_zone.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_negative_offset.xml new file mode 100644 index 00000000..b7d1c642 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_positive_offset.xml new file mode 100644 index 00000000..a3bc45e8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_seconds_in_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_seconds_in_offset.xml new file mode 100644 index 00000000..57903606 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_seconds_in_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_seconds_in_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_seconds_in_offset.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_seconds_in_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_empty.xml new file mode 100644 index 00000000..ac7f229b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_non_existing_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_non_existing_february_29th.xml new file mode 100644 index 00000000..14267c18 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_non_existing_february_29th.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2011-02-29 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_non_existing_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_non_existing_february_29th.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_non_existing_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date.xml new file mode 100644 index 00000000..b740173e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_negative_offset.xml new file mode 100644 index 00000000..38cbc475 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02:03-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_positive_offset.xml new file mode 100644 index 00000000..39daecac --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02:03+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_seconds_in_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_seconds_in_offset.xml new file mode 100644 index 00000000..ba345fed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_seconds_in_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02:03+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_seconds_in_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_seconds_in_offset.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_seconds_in_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_prefix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_prefix.xml new file mode 100644 index 00000000..bbb1d48a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_prefix.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + unexpected-prefix-2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_prefix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_prefix.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_prefix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_suffix.xml new file mode 100644 index 00000000..342f27aa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_suffix.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02:03Z-unexpected-suffix + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_suffix.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_with_time_zone.xml new file mode 100644 index 00000000..233c8056 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_with_time_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_with_time_zone.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_with_time_zone.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_empty.xml new file mode 100644 index 00000000..f685b1a5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_non_existing_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_non_existing_february_29th.xml new file mode 100644 index 00000000..14e6da9b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_non_existing_february_29th.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2011-02-29T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_non_existing_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_non_existing_february_29th.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_non_existing_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_minutes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_minutes.xml new file mode 100644 index 00000000..df7ab3d7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_minutes.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_minutes.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_minutes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_seconds.xml new file mode 100644 index 00000000..2eaeb706 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_seconds.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_4_bce_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_4_bce_february_29th.xml new file mode 100644 index 00000000..0d4a74d9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_4_bce_february_29th.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -0004-02-29T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_4_bce_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_4_bce_february_29th.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_4_bce_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_zero_doesnt_exist.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_zero_doesnt_exist.xml new file mode 100644 index 00000000..8dfe021e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_zero_doesnt_exist.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 0000-01-02T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_zero_doesnt_exist.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_zero_doesnt_exist.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_zero_doesnt_exist.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_4_bce_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_4_bce_february_29th.xml new file mode 100644 index 00000000..b8fb99ec --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_4_bce_february_29th.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + -0004-02-29 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_4_bce_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_4_bce_february_29th.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_4_bce_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_zero_doesnt_exist.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_zero_doesnt_exist.xml new file mode 100644 index 00000000..8c9d3c3f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_zero_doesnt_exist.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 0000-01-02 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_zero_doesnt_exist.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_zero_doesnt_exist.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_zero_doesnt_exist.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_empty.xml new file mode 100644 index 00000000..598fc0e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_free_form_text.xml new file mode 100644 index 00000000..77967b27 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_empty.xml new file mode 100644 index 00000000..879a8ebc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_free_form_text.xml new file mode 100644 index 00000000..464c7d95 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_inf_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_inf_case_matters.xml new file mode 100644 index 00000000..15aa9ab1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_inf_case_matters.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + inf + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_inf_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_inf_case_matters.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_inf_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_nan_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_nan_case_matters.xml new file mode 100644 index 00000000..ac62c1bb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_nan_case_matters.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + nan + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_nan_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_nan_case_matters.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_nan_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_no_fraction_in_scientific_notation.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_no_fraction_in_scientific_notation.xml new file mode 100644 index 00000000..18c9941a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_no_fraction_in_scientific_notation.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 12.34e5.6 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_no_fraction_in_scientific_notation.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_no_fraction_in_scientific_notation.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_no_fraction_in_scientific_notation.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_plus_inf.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_plus_inf.xml new file mode 100644 index 00000000..5c8e4da0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_plus_inf.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + +INF + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_plus_inf.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_plus_inf.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_plus_inf.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_too_large.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_too_large.xml new file mode 100644 index 00000000..c51288dd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_too_large.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 1.123456789e1234567890 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_too_large.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_too_large.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_too_large.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_empty.xml new file mode 100644 index 00000000..3a8ee4b0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_free_form_text.xml new file mode 100644 index 00000000..c13bc610 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_integer.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_integer.xml new file mode 100644 index 00000000..2cba4dcb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_integer.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_integer.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_integer.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_integer.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_leading_P_missing.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_leading_P_missing.xml new file mode 100644 index 00000000..aabba6cd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_leading_P_missing.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + 1Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_leading_P_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_leading_P_missing.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_leading_P_missing.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_negative_years.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_negative_years.xml new file mode 100644 index 00000000..010c92dd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_negative_years.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + P-1Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_negative_years.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_negative_years.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_negative_years.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_positive_year_negative_months.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_positive_year_negative_months.xml new file mode 100644 index 00000000..d66b8b00 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_positive_year_negative_months.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + P1Y-1M + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_positive_year_negative_months.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_positive_year_negative_months.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_positive_year_negative_months.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_separator_T_missing.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_separator_T_missing.xml new file mode 100644 index 00000000..c75a5c2f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_separator_T_missing.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + P1S + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_separator_T_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_separator_T_missing.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_separator_T_missing.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_the_order_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_the_order_matters.xml new file mode 100644 index 00000000..e1317910 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_the_order_matters.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + P1M2Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_the_order_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_the_order_matters.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_the_order_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_empty.xml new file mode 100644 index 00000000..d53ae4bf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_free_form_text.xml new file mode 100644 index 00000000..d811c06b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_inf_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_inf_case_matters.xml new file mode 100644 index 00000000..bfa0ec86 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_inf_case_matters.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + inf + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_inf_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_inf_case_matters.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_inf_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_nan_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_nan_case_matters.xml new file mode 100644 index 00000000..9960104c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_nan_case_matters.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + nan + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_nan_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_nan_case_matters.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_nan_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_no_fraction_in_scientific_notation.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_no_fraction_in_scientific_notation.xml new file mode 100644 index 00000000..5f45a392 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_no_fraction_in_scientific_notation.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 12.34e5.6 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_no_fraction_in_scientific_notation.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_no_fraction_in_scientific_notation.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_no_fraction_in_scientific_notation.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_plus_inf.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_plus_inf.xml new file mode 100644 index 00000000..27235a67 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_plus_inf.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + +INF + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_plus_inf.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_plus_inf.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_plus_inf.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_too_large.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_too_large.xml new file mode 100644 index 00000000..566bb147 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_too_large.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 1.123456789e1234567890 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_too_large.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_too_large.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_too_large.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_day_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_day_outside_of_range.xml new file mode 100644 index 00000000..c2920f0d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_day_outside_of_range.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---35 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_day_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_day_outside_of_range.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_day_outside_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_empty.xml new file mode 100644 index 00000000..8d4d35a3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_free_form_text.xml new file mode 100644 index 00000000..4037ecea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_negative_offset.xml new file mode 100644 index 00000000..11e8a1b9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..87baa383 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---01+15:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_positive_offset.xml new file mode 100644 index 00000000..c9e4cce7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_dashes.xml new file mode 100644 index 00000000..b63b2931 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_dashes.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_dashes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_digit.xml new file mode 100644 index 00000000..1621c74f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_digit.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_digit.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_unexpected_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_unexpected_suffix.xml new file mode 100644 index 00000000..ee1f78b5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_unexpected_suffix.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + --30- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_unexpected_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_unexpected_suffix.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_unexpected_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_day_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_day_outside_of_range.xml new file mode 100644 index 00000000..91b9ccbf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_day_outside_of_range.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --01-35 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_day_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_day_outside_of_range.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_day_outside_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_empty.xml new file mode 100644 index 00000000..9d79fe1c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_free_form_text.xml new file mode 100644 index 00000000..e7e240b4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_negative_offset.xml new file mode 100644 index 00000000..d0c8cc62 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..382a6329 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-01+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_positive_offset.xml new file mode 100644 index 00000000..3c4a9fad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_dashes.xml new file mode 100644 index 00000000..6810ac8a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_dashes.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + 01-15 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_dashes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_digit.xml new file mode 100644 index 00000000..9e9bdb83 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_digit.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --1-5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_digit.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_non_existing_april_31st.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_non_existing_april_31st.xml new file mode 100644 index 00000000..0fc79275 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_non_existing_april_31st.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --04-31 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_non_existing_april_31st.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_non_existing_april_31st.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_non_existing_april_31st.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_unexpected_prefix_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_unexpected_prefix_and_suffix.xml new file mode 100644 index 00000000..bbed9b43 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_unexpected_prefix_and_suffix.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + -01-30- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_unexpected_prefix_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_unexpected_prefix_and_suffix.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_unexpected_prefix_and_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_empty.xml new file mode 100644 index 00000000..3c0cf63b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_free_form_text.xml new file mode 100644 index 00000000..68ed1a83 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_negative_offset.xml new file mode 100644 index 00000000..37f4fa06 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..ca02ba6a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_positive_offset.xml new file mode 100644 index 00000000..ebd502eb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_dashes.xml new file mode 100644 index 00000000..202f3b85 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_dashes.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + 01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_dashes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_digit.xml new file mode 100644 index 00000000..28e0c093 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_digit.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_digit.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_month_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_month_outside_of_range.xml new file mode 100644 index 00000000..8ef24ba1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_month_outside_of_range.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_month_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_month_outside_of_range.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_month_outside_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_unexpected_prefix_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_unexpected_prefix_and_suffix.xml new file mode 100644 index 00000000..3cd09b01 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_unexpected_prefix_and_suffix.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + -01- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_unexpected_prefix_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_unexpected_prefix_and_suffix.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_unexpected_prefix_and_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_empty.xml new file mode 100644 index 00000000..b06f3972 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_free_form_text.xml new file mode 100644 index 00000000..9ffc40e0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_negative_offset.xml new file mode 100644 index 00000000..c184efd0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 2001-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..5ade3920 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 2001+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_positive_offset.xml new file mode 100644 index 00000000..fcf6bb23 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 2001+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_missing_century.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_missing_century.xml new file mode 100644 index 00000000..9675502e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_missing_century.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_missing_century.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_missing_century.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_missing_century.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_empty.xml new file mode 100644 index 00000000..4204cb4f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_free_form_text.xml new file mode 100644 index 00000000..ef4709b9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_negative_offset.xml new file mode 100644 index 00000000..ef907036 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 2001-10-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..e6e647d5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 2001-10+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_positive_offset.xml new file mode 100644 index 00000000..d6db8d3b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 2001-10+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_century.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_century.xml new file mode 100644 index 00000000..33e2378a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_century.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 01-13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_century.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_century.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_century.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_month.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_month.xml new file mode 100644 index 00000000..ce6af444 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_month.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 2001 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_month.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_month.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_month.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_month_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_month_out_of_range.xml new file mode 100644 index 00000000..4190a8a3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_month_out_of_range.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 2001-13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_month_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_month_out_of_range.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_month_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_unexpected_month.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_unexpected_month.xml new file mode 100644 index 00000000..9d51dc08 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_unexpected_month.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 2001-12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_unexpected_month.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_unexpected_month.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_unexpected_month.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_free_form_text.xml new file mode 100644 index 00000000..9cc9b0f9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_odd_number_of_digits.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_odd_number_of_digits.xml new file mode 100644 index 00000000..cfb98573 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_odd_number_of_digits.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + 123 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_odd_number_of_digits.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_odd_number_of_digits.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_odd_number_of_digits.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_single_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_single_digit.xml new file mode 100644 index 00000000..de28ee33 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_single_digit.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_single_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_single_digit.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_single_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_decimal.xml new file mode 100644 index 00000000..47707fc1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_decimal.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_empty.xml new file mode 100644 index 00000000..cb0d93e5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_free_form_text.xml new file mode 100644 index 00000000..1daef56b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_mathematical_formula.xml new file mode 100644 index 00000000..f4843220 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_mathematical_formula.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_max_plus_one.xml new file mode 100644 index 00000000..b884bafd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_max_plus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 2147483648 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_max_plus_one.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_min_minus_one.xml new file mode 100644 index 00000000..215b53a9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_min_minus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + -2147483649 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_min_minus_one.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_scientific.xml new file mode 100644 index 00000000..db818743 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_scientific.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_decimal.xml new file mode 100644 index 00000000..063ad9ab --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_decimal.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_empty.xml new file mode 100644 index 00000000..cdb153f9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_free_form_text.xml new file mode 100644 index 00000000..96c61cc6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_mathematical_formula.xml new file mode 100644 index 00000000..e885e784 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_scientific.xml new file mode 100644 index 00000000..17ccaf5f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_scientific.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_decimal.xml new file mode 100644 index 00000000..5b0358cc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_decimal.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_empty.xml new file mode 100644 index 00000000..f2fb573b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_free_form_text.xml new file mode 100644 index 00000000..04144b60 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_mathematical_formula.xml new file mode 100644 index 00000000..d2f95253 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_mathematical_formula.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_max_plus_one.xml new file mode 100644 index 00000000..cafc352a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_max_plus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 9223372036854775808 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_max_plus_one.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_min_minus_one.xml new file mode 100644 index 00000000..80dccaef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_min_minus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + -9223372036854775809 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_min_minus_one.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_scientific.xml new file mode 100644 index 00000000..1fe92b7d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_scientific.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_decimal.xml new file mode 100644 index 00000000..f7f8840d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_decimal.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_empty.xml new file mode 100644 index 00000000..6970e59b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive.xml new file mode 100644 index 00000000..ccd38569 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + +1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive_zero.xml new file mode 100644 index 00000000..96a68f2a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + +0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive_zero.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive_zero.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_free_form_text.xml new file mode 100644 index 00000000..7840d5b4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_implicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_implicitly_positive.xml new file mode 100644 index 00000000..7e8a73d0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_implicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_implicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_implicitly_positive.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_implicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_mathematical_formula.xml new file mode 100644 index 00000000..cb6171c3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_scientific.xml new file mode 100644 index 00000000..797715f7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_scientific.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero.xml new file mode 100644 index 00000000..1da6e11f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..6a34ea36 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + 000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero_prefixed_with_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero_prefixed_with_zeros.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero_prefixed_with_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_decimal.xml new file mode 100644 index 00000000..defde133 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_decimal.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_empty.xml new file mode 100644 index 00000000..bde7cf27 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_free_form_text.xml new file mode 100644 index 00000000..024919b5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_negative.xml new file mode 100644 index 00000000..724c0e3b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_negative.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_decimal.xml new file mode 100644 index 00000000..b23b2cd6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_decimal.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_empty.xml new file mode 100644 index 00000000..a9a7b9c9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_explicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_explicitly_positive.xml new file mode 100644 index 00000000..a43c22b1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + +1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_explicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_explicitly_positive.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_explicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_free_form_text.xml new file mode 100644 index 00000000..2954195f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_implicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_implicitly_positive.xml new file mode 100644 index 00000000..0f0006d5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_implicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_implicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_implicitly_positive.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_implicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_mathematical_formula.xml new file mode 100644 index 00000000..9f214763 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_scientific.xml new file mode 100644 index 00000000..16fb78c4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_scientific.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_decimal.xml new file mode 100644 index 00000000..e3630145 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_decimal.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_empty.xml new file mode 100644 index 00000000..118b6b7f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_free_form_text.xml new file mode 100644 index 00000000..b0b8b81f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_negative.xml new file mode 100644 index 00000000..4d540a7f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_negative.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero.xml new file mode 100644 index 00000000..26f8f809 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..893c2509 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero_prefixed_with_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero_prefixed_with_zeros.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero_prefixed_with_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_decimal.xml new file mode 100644 index 00000000..86548246 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_decimal.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_empty.xml new file mode 100644 index 00000000..a8ca10cc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_free_form_text.xml new file mode 100644 index 00000000..0810abd9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_mathematical_formula.xml new file mode 100644 index 00000000..52d913d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_mathematical_formula.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_max_plus_one.xml new file mode 100644 index 00000000..5d777cd8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_max_plus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 32768 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_max_plus_one.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_min_minus_one.xml new file mode 100644 index 00000000..25b127f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_min_minus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + -32769 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_min_minus_one.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_scientific.xml new file mode 100644 index 00000000..d287527d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_scientific.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_empty.xml new file mode 100644 index 00000000..e7cad482 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_free_form_text.xml new file mode 100644 index 00000000..6898cff5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_hour_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_hour_out_of_range.xml new file mode 100644 index 00000000..7e35afd9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_hour_out_of_range.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 25:25:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_hour_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_hour_out_of_range.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_hour_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_negative_offset.xml new file mode 100644 index 00000000..a4734da0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 21:32:52-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..9e9992dd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 21:32:52-02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_positive_offset.xml new file mode 100644 index 00000000..12ea8ea3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 21:32:52+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_minute_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_minute_out_of_range.xml new file mode 100644 index 00000000..e82799a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_minute_out_of_range.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 01:61:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_minute_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_minute_out_of_range.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_minute_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_padded_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_padded_zeros.xml new file mode 100644 index 00000000..ec76bb23 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_padded_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 1:20:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_padded_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_padded_zeros.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_padded_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_seconds.xml new file mode 100644 index 00000000..2097ad34 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 21:32 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_seconds.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_negative.xml new file mode 100644 index 00000000..0f9b2164 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + -10:00:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_negative.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_second_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_second_out_of_range.xml new file mode 100644 index 00000000..1c8f88f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_second_out_of_range.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 01:02:61 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_second_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_second_out_of_range.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_second_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_decimal.xml new file mode 100644 index 00000000..57067632 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_decimal.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_empty.xml new file mode 100644 index 00000000..5a907de6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_free_form_text.xml new file mode 100644 index 00000000..786f0fea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_mathematical_formula.xml new file mode 100644 index 00000000..7609e253 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_mathematical_formula.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_max_plus_one.xml new file mode 100644 index 00000000..96503e83 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_max_plus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 256 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_max_plus_one.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_negative.xml new file mode 100644 index 00000000..71aead1a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_negative.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_scientific.xml new file mode 100644 index 00000000..ac868003 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_scientific.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_decimal.xml new file mode 100644 index 00000000..943ff86a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_decimal.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_empty.xml new file mode 100644 index 00000000..8aaba385 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_free_form_text.xml new file mode 100644 index 00000000..564b85da --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_mathematical_formula.xml new file mode 100644 index 00000000..cbb58aa9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_mathematical_formula.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_max_plus_one.xml new file mode 100644 index 00000000..4a75b183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_max_plus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 4294967296 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_max_plus_one.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_negative.xml new file mode 100644 index 00000000..ca034224 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_negative.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_scientific.xml new file mode 100644 index 00000000..74f1ede2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_scientific.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_decimal.xml new file mode 100644 index 00000000..a8e9e561 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_decimal.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_empty.xml new file mode 100644 index 00000000..98345b8d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_free_form_text.xml new file mode 100644 index 00000000..0d2e0758 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_mathematical_formula.xml new file mode 100644 index 00000000..8616f762 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_mathematical_formula.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_max_plus_one.xml new file mode 100644 index 00000000..2f7464a3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_max_plus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 18446744073709551616 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_max_plus_one.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_negative.xml new file mode 100644 index 00000000..977d10fa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_negative.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_scientific.xml new file mode 100644 index 00000000..4ae5f08f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_scientific.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_decimal.xml new file mode 100644 index 00000000..cd8fe9d0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_decimal.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_empty.xml new file mode 100644 index 00000000..f3f9d422 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_empty.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_free_form_text.xml new file mode 100644 index 00000000..708155fd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_free_form_text.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_mathematical_formula.xml new file mode 100644 index 00000000..e93cb608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_mathematical_formula.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_max_plus_one.xml new file mode 100644 index 00000000..70a68f3a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_max_plus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 65536 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_max_plus_one.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_negative.xml new file mode 100644 index 00000000..0b3d4b06 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_negative.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_scientific.xml new file mode 100644 index 00000000..3bd3d7e8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_scientific.xml.errors new file mode 100644 index 00000000..b1b4eab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent with the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/MaxLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/MaxLength.xml new file mode 100644 index 00000000..1c34afff --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/MaxLength.xml @@ -0,0 +1,65 @@ + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + something_7e4e401e + + + + tWC + + 17240976.11 + + + + EO5DYAe + + 0 + + + + a----------------b + + + + + something_56d756a6 + + + 35366450.02 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/MaxLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/MaxLength.xml.errors new file mode 100644 index 00000000..7302675e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/MaxLength.xml.errors @@ -0,0 +1,2 @@ +annotations["a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456"]: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/MinLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/MinLength.xml new file mode 100644 index 00000000..968dce7c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/MinLength.xml @@ -0,0 +1,65 @@ + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + + + something_7e4e401e + + + + tWC + + 17240976.11 + + + + EO5DYAe + + 0 + + + + a----------------b + + + + + something_56d756a6 + + + 35366450.02 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/MinLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/MinLength.xml.errors new file mode 100644 index 00000000..02bb8581 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/MinLength.xml.errors @@ -0,0 +1,4 @@ +annotations[""]: Invariant violated: +The value must not be empty.; +annotations[""]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_01.xml new file mode 100644 index 00000000..2c4fefe9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_01.xml @@ -0,0 +1,65 @@ + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + 򚪾󰾫7 + + something_7e4e401e + + + + tWC + + 17240976.11 + + + + EO5DYAe + + 0 + + + + a----------------b + + + + + something_56d756a6 + + + 35366450.02 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..344e8027 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +annotations["򚪾󰾫7"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_02.xml new file mode 100644 index 00000000..c84a87d2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_02.xml @@ -0,0 +1,65 @@ + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + 15 + + something_7e4e401e + + + + tWC + + 17240976.11 + + + + EO5DYAe + + 0 + + + + a----------------b + + + + + something_56d756a6 + + + 35366450.02 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..1303a327 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +annotations["15"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_04.xml new file mode 100644 index 00000000..984b9356 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_04.xml @@ -0,0 +1,65 @@ + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + ‡Y񐅽󍈪 + + something_7e4e401e + + + + tWC + + 17240976.11 + + + + EO5DYAe + + 0 + + + + a----------------b + + + + + something_56d756a6 + + + 35366450.02 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..e3c056ea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +annotations["‡Y񐅽󍈪"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_05.xml new file mode 100644 index 00000000..728e823b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_05.xml @@ -0,0 +1,65 @@ + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + 9䠄񓝝 + + something_7e4e401e + + + + tWC + + 17240976.11 + + + + EO5DYAe + + 0 + + + + a----------------b + + + + + something_56d756a6 + + + 35366450.02 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..86c1431a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +annotations["9䠄񓝝"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_06.xml new file mode 100644 index 00000000..13dce327 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_06.xml @@ -0,0 +1,65 @@ + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + @ + + something_7e4e401e + + + + tWC + + 17240976.11 + + + + EO5DYAe + + 0 + + + + a----------------b + + + + + something_56d756a6 + + + 35366450.02 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..2e1367ef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/annotatedRelationshipElementValue/annotations/Pattern_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +annotations["@"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/specificAssetIds/MaxLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/specificAssetIds/MaxLength.xml new file mode 100644 index 00000000..98424089 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/specificAssetIds/MaxLength.xml @@ -0,0 +1,186 @@ + + CoManagedEntity + 0 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA12345678901234567890123456789012345678901234567890 + + something_9893a589 + + + + 0 + + 7611687.58 + + + + Ûă<P󨱽²|dnœÞ® + + 1 + + + + J5 + + + + + something_976454e1 + + + 6047604.47 + + + + + nested + + 1 + + + + + + + + + + + + 6 + + something_e752ec58 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 2450279.81 + + + + öĖa􍣡™| + + 1 + + + + [\h$񒺟ìÖċŠ1¿ + + + + + something_410466ac + + + 34492713.6 + + + + + nested + + 1 + + + + + + + + + + + + 0 + + something_2af71231 + + + + Ûă<P󨱽²|dnœÞ® + + 41911723.71 + + + + [\h$񒺟ìÖċŠ1¿ + + 1 + + + + J5 + + + + + something_0be6fa02 + + + 71146.82 + + + + + nested + + 0 + + + + + + + + + + + + + aa + + something_ef8d35ae + + + + a-_-_-_-_-_ + + 14955386.36 + + + + fULCVpULCVq + + 0 + + + + strange-name_ + + + + + something_a6bc72af + + + 40013686.16 + + + + + nested + + 1 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/specificAssetIds/MaxLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/specificAssetIds/MaxLength.xml.errors new file mode 100644 index 00000000..f9d3fa09 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/specificAssetIds/MaxLength.xml.errors @@ -0,0 +1,2 @@ +specificAssetIds[0]["11ÕÑ𐻨´K􂬭e<󡗞¨ngA12345678901234567890123456789012345678901234567890"]: Invariant violated: +Label type shall have a maximum length of 64 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/specificAssetIds/MinLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/specificAssetIds/MinLength.xml new file mode 100644 index 00000000..7812dcb1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/specificAssetIds/MinLength.xml @@ -0,0 +1,186 @@ + + CoManagedEntity + 0 + + + + + + something_9893a589 + + + + 0 + + 7611687.58 + + + + Ûă<P󨱽²|dnœÞ® + + 1 + + + + J5 + + + + + something_976454e1 + + + 6047604.47 + + + + + nested + + 1 + + + + + + + + + + + + 6 + + something_e752ec58 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 2450279.81 + + + + öĖa􍣡™| + + 1 + + + + [\h$񒺟ìÖċŠ1¿ + + + + + something_410466ac + + + 34492713.6 + + + + + nested + + 1 + + + + + + + + + + + + 0 + + something_2af71231 + + + + Ûă<P󨱽²|dnœÞ® + + 41911723.71 + + + + [\h$񒺟ìÖċŠ1¿ + + 1 + + + + J5 + + + + + something_0be6fa02 + + + 71146.82 + + + + + nested + + 0 + + + + + + + + + + + + + aa + + something_ef8d35ae + + + + a-_-_-_-_-_ + + 14955386.36 + + + + fULCVpULCVq + + 0 + + + + strange-name_ + + + + + something_a6bc72af + + + 40013686.16 + + + + + nested + + 1 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/specificAssetIds/MinLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/specificAssetIds/MinLength.xml.errors new file mode 100644 index 00000000..ce7b9879 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/specificAssetIds/MinLength.xml.errors @@ -0,0 +1,2 @@ +specificAssetIds[0][""]: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/MaxLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/MaxLength.xml new file mode 100644 index 00000000..53c803c7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/MaxLength.xml @@ -0,0 +1,186 @@ + + CoManagedEntity + 0 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + something_9893a589 + + + + 0 + + 7611687.58 + + + + Ûă<P󨱽²|dnœÞ® + + 1 + + + + J5 + + + + + something_976454e1 + + + 6047604.47 + + + + + nested + + 1 + + + + + + + + + + + + 6 + + something_e752ec58 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 2450279.81 + + + + öĖa􍣡™| + + 1 + + + + [\h$񒺟ìÖċŠ1¿ + + + + + something_410466ac + + + 34492713.6 + + + + + nested + + 1 + + + + + + + + + + + + 0 + + something_2af71231 + + + + Ûă<P󨱽²|dnœÞ® + + 41911723.71 + + + + [\h$񒺟ìÖċŠ1¿ + + 1 + + + + J5 + + + + + something_0be6fa02 + + + 71146.82 + + + + + nested + + 0 + + + + + + + + + + + + + aa1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 + + something_ef8d35ae + + + + a-_-_-_-_-_ + + 14955386.36 + + + + fULCVpULCVq + + 0 + + + + strange-name_ + + + + + something_a6bc72af + + + 40013686.16 + + + + + nested + + 1 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/MaxLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/MaxLength.xml.errors new file mode 100644 index 00000000..cf98337c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/MaxLength.xml.errors @@ -0,0 +1,2 @@ +statements["aa1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567"]: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/MinLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/MinLength.xml new file mode 100644 index 00000000..06cd45f5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/MinLength.xml @@ -0,0 +1,186 @@ + + CoManagedEntity + 0 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + something_9893a589 + + + + 0 + + 7611687.58 + + + + Ûă<P󨱽²|dnœÞ® + + 1 + + + + J5 + + + + + something_976454e1 + + + 6047604.47 + + + + + nested + + 1 + + + + + + + + + + + + 6 + + something_e752ec58 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 2450279.81 + + + + öĖa􍣡™| + + 1 + + + + [\h$񒺟ìÖċŠ1¿ + + + + + something_410466ac + + + 34492713.6 + + + + + nested + + 1 + + + + + + + + + + + + 0 + + something_2af71231 + + + + Ûă<P󨱽²|dnœÞ® + + 41911723.71 + + + + [\h$񒺟ìÖċŠ1¿ + + 1 + + + + J5 + + + + + something_0be6fa02 + + + 71146.82 + + + + + nested + + 0 + + + + + + + + + + + + + + + something_ef8d35ae + + + + a-_-_-_-_-_ + + 14955386.36 + + + + fULCVpULCVq + + 0 + + + + strange-name_ + + + + + something_a6bc72af + + + 40013686.16 + + + + + nested + + 1 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/MinLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/MinLength.xml.errors new file mode 100644 index 00000000..8bb38577 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/MinLength.xml.errors @@ -0,0 +1,4 @@ +statements[""]: Invariant violated: +The value must not be empty.; +statements[""]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_01.xml new file mode 100644 index 00000000..97127eac --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_01.xml @@ -0,0 +1,186 @@ + + CoManagedEntity + 0 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + something_9893a589 + + + + 0 + + 7611687.58 + + + + Ûă<P󨱽²|dnœÞ® + + 1 + + + + J5 + + + + + something_976454e1 + + + 6047604.47 + + + + + nested + + 1 + + + + + + + + + + + + 6 + + something_e752ec58 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 2450279.81 + + + + öĖa􍣡™| + + 1 + + + + [\h$񒺟ìÖċŠ1¿ + + + + + something_410466ac + + + 34492713.6 + + + + + nested + + 1 + + + + + + + + + + + + 0 + + something_2af71231 + + + + Ûă<P󨱽²|dnœÞ® + + 41911723.71 + + + + [\h$񒺟ìÖċŠ1¿ + + 1 + + + + J5 + + + + + something_0be6fa02 + + + 71146.82 + + + + + nested + + 0 + + + + + + + + + + + + + 򚪾󰾫7 + + something_ef8d35ae + + + + a-_-_-_-_-_ + + 14955386.36 + + + + fULCVpULCVq + + 0 + + + + strange-name_ + + + + + something_a6bc72af + + + 40013686.16 + + + + + nested + + 1 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..2eda1087 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +statements["򚪾󰾫7"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_02.xml new file mode 100644 index 00000000..7282d8c7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_02.xml @@ -0,0 +1,186 @@ + + CoManagedEntity + 0 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + something_9893a589 + + + + 0 + + 7611687.58 + + + + Ûă<P󨱽²|dnœÞ® + + 1 + + + + J5 + + + + + something_976454e1 + + + 6047604.47 + + + + + nested + + 1 + + + + + + + + + + + + 6 + + something_e752ec58 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 2450279.81 + + + + öĖa􍣡™| + + 1 + + + + [\h$񒺟ìÖċŠ1¿ + + + + + something_410466ac + + + 34492713.6 + + + + + nested + + 1 + + + + + + + + + + + + 0 + + something_2af71231 + + + + Ûă<P󨱽²|dnœÞ® + + 41911723.71 + + + + [\h$񒺟ìÖċŠ1¿ + + 1 + + + + J5 + + + + + something_0be6fa02 + + + 71146.82 + + + + + nested + + 0 + + + + + + + + + + + + + 15 + + something_ef8d35ae + + + + a-_-_-_-_-_ + + 14955386.36 + + + + fULCVpULCVq + + 0 + + + + strange-name_ + + + + + something_a6bc72af + + + 40013686.16 + + + + + nested + + 1 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..b0dba8de --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +statements["15"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_04.xml new file mode 100644 index 00000000..627090bb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_04.xml @@ -0,0 +1,186 @@ + + CoManagedEntity + 0 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + something_9893a589 + + + + 0 + + 7611687.58 + + + + Ûă<P󨱽²|dnœÞ® + + 1 + + + + J5 + + + + + something_976454e1 + + + 6047604.47 + + + + + nested + + 1 + + + + + + + + + + + + 6 + + something_e752ec58 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 2450279.81 + + + + öĖa􍣡™| + + 1 + + + + [\h$񒺟ìÖċŠ1¿ + + + + + something_410466ac + + + 34492713.6 + + + + + nested + + 1 + + + + + + + + + + + + 0 + + something_2af71231 + + + + Ûă<P󨱽²|dnœÞ® + + 41911723.71 + + + + [\h$񒺟ìÖċŠ1¿ + + 1 + + + + J5 + + + + + something_0be6fa02 + + + 71146.82 + + + + + nested + + 0 + + + + + + + + + + + + + ‡Y񐅽󍈪 + + something_ef8d35ae + + + + a-_-_-_-_-_ + + 14955386.36 + + + + fULCVpULCVq + + 0 + + + + strange-name_ + + + + + something_a6bc72af + + + 40013686.16 + + + + + nested + + 1 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..0655d2a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +statements["‡Y񐅽󍈪"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_05.xml new file mode 100644 index 00000000..84912693 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_05.xml @@ -0,0 +1,186 @@ + + CoManagedEntity + 0 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + something_9893a589 + + + + 0 + + 7611687.58 + + + + Ûă<P󨱽²|dnœÞ® + + 1 + + + + J5 + + + + + something_976454e1 + + + 6047604.47 + + + + + nested + + 1 + + + + + + + + + + + + 6 + + something_e752ec58 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 2450279.81 + + + + öĖa􍣡™| + + 1 + + + + [\h$񒺟ìÖċŠ1¿ + + + + + something_410466ac + + + 34492713.6 + + + + + nested + + 1 + + + + + + + + + + + + 0 + + something_2af71231 + + + + Ûă<P󨱽²|dnœÞ® + + 41911723.71 + + + + [\h$񒺟ìÖċŠ1¿ + + 1 + + + + J5 + + + + + something_0be6fa02 + + + 71146.82 + + + + + nested + + 0 + + + + + + + + + + + + + 9䠄񓝝 + + something_ef8d35ae + + + + a-_-_-_-_-_ + + 14955386.36 + + + + fULCVpULCVq + + 0 + + + + strange-name_ + + + + + something_a6bc72af + + + 40013686.16 + + + + + nested + + 1 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..f6f60cf5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +statements["9䠄񓝝"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_06.xml new file mode 100644 index 00000000..c87e7832 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_06.xml @@ -0,0 +1,186 @@ + + CoManagedEntity + 0 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + something_9893a589 + + + + 0 + + 7611687.58 + + + + Ûă<P󨱽²|dnœÞ® + + 1 + + + + J5 + + + + + something_976454e1 + + + 6047604.47 + + + + + nested + + 1 + + + + + + + + + + + + 6 + + something_e752ec58 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 2450279.81 + + + + öĖa􍣡™| + + 1 + + + + [\h$񒺟ìÖċŠ1¿ + + + + + something_410466ac + + + 34492713.6 + + + + + nested + + 1 + + + + + + + + + + + + 0 + + something_2af71231 + + + + Ûă<P󨱽²|dnœÞ® + + 41911723.71 + + + + [\h$񒺟ìÖċŠ1¿ + + 1 + + + + J5 + + + + + something_0be6fa02 + + + 71146.82 + + + + + nested + + 0 + + + + + + + + + + + + + @ + + something_ef8d35ae + + + + a-_-_-_-_-_ + + 14955386.36 + + + + fULCVpULCVq + + 0 + + + + strange-name_ + + + + + something_a6bc72af + + + 40013686.16 + + + + + nested + + 1 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..79b5e7f5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/entityValue/statements/Pattern_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +statements["@"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/MaxLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/MaxLength.xml new file mode 100644 index 00000000..6ce5a25a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/MaxLength.xml @@ -0,0 +1,95 @@ + + + + + + A_1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 + + something_26d9750b + + + + a_ + + 11487601.16 + + + + Jk0k1414Di + + 0 + + + + AopQejF + + + + + something_eed9253c + + + 40277513.02 + + + + + nested + + 1 + + + + + + + + + + + + a-_ + + something_e3ee22c6 + + + + tWC + + 41825534.23 + + + + a-b + + 1 + + + + t8x1pz9WS4TGV + + + + + something_949a3976 + + + 32116879.18 + + + + + nested + + 0 + + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/MaxLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/MaxLength.xml.errors new file mode 100644 index 00000000..7688da7b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/MaxLength.xml.errors @@ -0,0 +1,2 @@ +result[0]["A_1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567"]: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/MinLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/MinLength.xml new file mode 100644 index 00000000..734b16c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/MinLength.xml @@ -0,0 +1,95 @@ + + + + + + + + something_26d9750b + + + + a_ + + 11487601.16 + + + + Jk0k1414Di + + 0 + + + + AopQejF + + + + + something_eed9253c + + + 40277513.02 + + + + + nested + + 1 + + + + + + + + + + + + a-_ + + something_e3ee22c6 + + + + tWC + + 41825534.23 + + + + a-b + + 1 + + + + t8x1pz9WS4TGV + + + + + something_949a3976 + + + 32116879.18 + + + + + nested + + 0 + + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/MinLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/MinLength.xml.errors new file mode 100644 index 00000000..a252448d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/MinLength.xml.errors @@ -0,0 +1,4 @@ +result[0][""]: Invariant violated: +The value must not be empty.; +result[0][""]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_01.xml new file mode 100644 index 00000000..aa697aed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_01.xml @@ -0,0 +1,95 @@ + + + + + + 򚪾󰾫7 + + something_26d9750b + + + + a_ + + 11487601.16 + + + + Jk0k1414Di + + 0 + + + + AopQejF + + + + + something_eed9253c + + + 40277513.02 + + + + + nested + + 1 + + + + + + + + + + + + a-_ + + something_e3ee22c6 + + + + tWC + + 41825534.23 + + + + a-b + + 1 + + + + t8x1pz9WS4TGV + + + + + something_949a3976 + + + 32116879.18 + + + + + nested + + 0 + + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..d48afe1d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +result[0]["򚪾󰾫7"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_02.xml new file mode 100644 index 00000000..3a93430b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_02.xml @@ -0,0 +1,95 @@ + + + + + + 15 + + something_26d9750b + + + + a_ + + 11487601.16 + + + + Jk0k1414Di + + 0 + + + + AopQejF + + + + + something_eed9253c + + + 40277513.02 + + + + + nested + + 1 + + + + + + + + + + + + a-_ + + something_e3ee22c6 + + + + tWC + + 41825534.23 + + + + a-b + + 1 + + + + t8x1pz9WS4TGV + + + + + something_949a3976 + + + 32116879.18 + + + + + nested + + 0 + + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..bdfeae52 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +result[0]["15"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_04.xml new file mode 100644 index 00000000..e6207969 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_04.xml @@ -0,0 +1,95 @@ + + + + + + ‡Y񐅽󍈪 + + something_26d9750b + + + + a_ + + 11487601.16 + + + + Jk0k1414Di + + 0 + + + + AopQejF + + + + + something_eed9253c + + + 40277513.02 + + + + + nested + + 1 + + + + + + + + + + + + a-_ + + something_e3ee22c6 + + + + tWC + + 41825534.23 + + + + a-b + + 1 + + + + t8x1pz9WS4TGV + + + + + something_949a3976 + + + 32116879.18 + + + + + nested + + 0 + + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..2a70987f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +result[0]["‡Y񐅽󍈪"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_05.xml new file mode 100644 index 00000000..2087de3b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_05.xml @@ -0,0 +1,95 @@ + + + + + + 9䠄񓝝 + + something_26d9750b + + + + a_ + + 11487601.16 + + + + Jk0k1414Di + + 0 + + + + AopQejF + + + + + something_eed9253c + + + 40277513.02 + + + + + nested + + 1 + + + + + + + + + + + + a-_ + + something_e3ee22c6 + + + + tWC + + 41825534.23 + + + + a-b + + 1 + + + + t8x1pz9WS4TGV + + + + + something_949a3976 + + + 32116879.18 + + + + + nested + + 0 + + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..9c7cc6e7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +result[0]["9䠄񓝝"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_06.xml new file mode 100644 index 00000000..7a93143b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_06.xml @@ -0,0 +1,95 @@ + + + + + + @ + + something_26d9750b + + + + a_ + + 11487601.16 + + + + Jk0k1414Di + + 0 + + + + AopQejF + + + + + something_eed9253c + + + 40277513.02 + + + + + nested + + 1 + + + + + + + + + + + + a-_ + + something_e3ee22c6 + + + + tWC + + 41825534.23 + + + + a-b + + 1 + + + + t8x1pz9WS4TGV + + + + + something_949a3976 + + + 32116879.18 + + + + + nested + + 0 + + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..81d11d2d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelElementsValueResult/result/Pattern_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +result[0]["@"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/MaxLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/MaxLength.xml new file mode 100644 index 00000000..96ed93ab --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/MaxLength.xml @@ -0,0 +1,95 @@ + + + + + + A_1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 + + something_26d9750b + + + + a_ + + 11487601.16 + + + + Jk0k1414Di + + 0 + + + + AopQejF + + + + + something_eed9253c + + + 40277513.02 + + + + + nested + + 1 + + + + + + + + + + + + a-_ + + something_e3ee22c6 + + + + tWC + + 41825534.23 + + + + a-b + + 1 + + + + t8x1pz9WS4TGV + + + + + something_949a3976 + + + 32116879.18 + + + + + nested + + 0 + + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/MaxLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/MaxLength.xml.errors new file mode 100644 index 00000000..7688da7b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/MaxLength.xml.errors @@ -0,0 +1,2 @@ +result[0]["A_1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567"]: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/MinLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/MinLength.xml new file mode 100644 index 00000000..1ebe7e77 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/MinLength.xml @@ -0,0 +1,95 @@ + + + + + + + + something_26d9750b + + + + a_ + + 11487601.16 + + + + Jk0k1414Di + + 0 + + + + AopQejF + + + + + something_eed9253c + + + 40277513.02 + + + + + nested + + 1 + + + + + + + + + + + + a-_ + + something_e3ee22c6 + + + + tWC + + 41825534.23 + + + + a-b + + 1 + + + + t8x1pz9WS4TGV + + + + + something_949a3976 + + + 32116879.18 + + + + + nested + + 0 + + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/MinLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/MinLength.xml.errors new file mode 100644 index 00000000..a252448d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/MinLength.xml.errors @@ -0,0 +1,4 @@ +result[0][""]: Invariant violated: +The value must not be empty.; +result[0][""]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_01.xml new file mode 100644 index 00000000..3f20e09c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_01.xml @@ -0,0 +1,95 @@ + + + + + + 򚪾󰾫7 + + something_26d9750b + + + + a_ + + 11487601.16 + + + + Jk0k1414Di + + 0 + + + + AopQejF + + + + + something_eed9253c + + + 40277513.02 + + + + + nested + + 1 + + + + + + + + + + + + a-_ + + something_e3ee22c6 + + + + tWC + + 41825534.23 + + + + a-b + + 1 + + + + t8x1pz9WS4TGV + + + + + something_949a3976 + + + 32116879.18 + + + + + nested + + 0 + + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..d48afe1d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +result[0]["򚪾󰾫7"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_02.xml new file mode 100644 index 00000000..cf61afdd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_02.xml @@ -0,0 +1,95 @@ + + + + + + 15 + + something_26d9750b + + + + a_ + + 11487601.16 + + + + Jk0k1414Di + + 0 + + + + AopQejF + + + + + something_eed9253c + + + 40277513.02 + + + + + nested + + 1 + + + + + + + + + + + + a-_ + + something_e3ee22c6 + + + + tWC + + 41825534.23 + + + + a-b + + 1 + + + + t8x1pz9WS4TGV + + + + + something_949a3976 + + + 32116879.18 + + + + + nested + + 0 + + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..bdfeae52 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +result[0]["15"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_04.xml new file mode 100644 index 00000000..af771cab --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_04.xml @@ -0,0 +1,95 @@ + + + + + + ‡Y񐅽󍈪 + + something_26d9750b + + + + a_ + + 11487601.16 + + + + Jk0k1414Di + + 0 + + + + AopQejF + + + + + something_eed9253c + + + 40277513.02 + + + + + nested + + 1 + + + + + + + + + + + + a-_ + + something_e3ee22c6 + + + + tWC + + 41825534.23 + + + + a-b + + 1 + + + + t8x1pz9WS4TGV + + + + + something_949a3976 + + + 32116879.18 + + + + + nested + + 0 + + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..2a70987f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +result[0]["‡Y񐅽󍈪"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_05.xml new file mode 100644 index 00000000..903725a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_05.xml @@ -0,0 +1,95 @@ + + + + + + 9䠄񓝝 + + something_26d9750b + + + + a_ + + 11487601.16 + + + + Jk0k1414Di + + 0 + + + + AopQejF + + + + + something_eed9253c + + + 40277513.02 + + + + + nested + + 1 + + + + + + + + + + + + a-_ + + something_e3ee22c6 + + + + tWC + + 41825534.23 + + + + a-b + + 1 + + + + t8x1pz9WS4TGV + + + + + something_949a3976 + + + 32116879.18 + + + + + nested + + 0 + + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..9c7cc6e7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +result[0]["9䠄񓝝"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_06.xml new file mode 100644 index 00000000..b0bc97ca --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_06.xml @@ -0,0 +1,95 @@ + + + + + + @ + + something_26d9750b + + + + a_ + + 11487601.16 + + + + Jk0k1414Di + + 0 + + + + AopQejF + + + + + something_eed9253c + + + 40277513.02 + + + + + nested + + 1 + + + + + + + + + + + + a-_ + + something_e3ee22c6 + + + + tWC + + 41825534.23 + + + + a-b + + 1 + + + + t8x1pz9WS4TGV + + + + + something_949a3976 + + + 32116879.18 + + + + + nested + + 0 + + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..81d11d2d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/getSubmodelsValueResult/result/Pattern_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +result[0]["@"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/MaxLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/MaxLength.xml new file mode 100644 index 00000000..b908b3aa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/MaxLength.xml @@ -0,0 +1,93 @@ + + + + xF2bO_Uje6 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + tWC123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/MaxLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/MaxLength.xml.errors new file mode 100644 index 00000000..f5adb960 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/MaxLength.xml.errors @@ -0,0 +1,2 @@ +inoutputArguments["tWC123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456"]: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/MinLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/MinLength.xml new file mode 100644 index 00000000..800cdfc1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/MinLength.xml @@ -0,0 +1,93 @@ + + + + xF2bO_Uje6 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/MinLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/MinLength.xml.errors new file mode 100644 index 00000000..82d9e4fa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/MinLength.xml.errors @@ -0,0 +1,4 @@ +inoutputArguments[""]: Invariant violated: +The value must not be empty.; +inoutputArguments[""]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_01.xml new file mode 100644 index 00000000..2408612e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_01.xml @@ -0,0 +1,93 @@ + + + + xF2bO_Uje6 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + 򚪾󰾫7 + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..6a5906c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +inoutputArguments["򚪾󰾫7"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_02.xml new file mode 100644 index 00000000..c55e9b92 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_02.xml @@ -0,0 +1,93 @@ + + + + xF2bO_Uje6 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + 15 + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..b7a364ce --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +inoutputArguments["15"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_04.xml new file mode 100644 index 00000000..955be150 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_04.xml @@ -0,0 +1,93 @@ + + + + xF2bO_Uje6 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + ‡Y񐅽󍈪 + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..b6754afe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +inoutputArguments["‡Y񐅽󍈪"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_05.xml new file mode 100644 index 00000000..62a45d6b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_05.xml @@ -0,0 +1,93 @@ + + + + xF2bO_Uje6 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + 9䠄񓝝 + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..d378492e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +inoutputArguments["9䠄񓝝"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_06.xml new file mode 100644 index 00000000..1d3dcac1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_06.xml @@ -0,0 +1,93 @@ + + + + xF2bO_Uje6 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + @ + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..4dc48e07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inoutputArguments/Pattern_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +inoutputArguments["@"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/MaxLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/MaxLength.xml new file mode 100644 index 00000000..702cfbc1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/MaxLength.xml @@ -0,0 +1,93 @@ + + + + xF2bO_Uje612345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/MaxLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/MaxLength.xml.errors new file mode 100644 index 00000000..a8821be2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/MaxLength.xml.errors @@ -0,0 +1,2 @@ +inputArguments["xF2bO_Uje612345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789"]: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/MinLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/MinLength.xml new file mode 100644 index 00000000..9e54b2d7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/MinLength.xml @@ -0,0 +1,93 @@ + + + + + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/MinLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/MinLength.xml.errors new file mode 100644 index 00000000..cbbcd524 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/MinLength.xml.errors @@ -0,0 +1,4 @@ +inputArguments[""]: Invariant violated: +The value must not be empty.; +inputArguments[""]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_01.xml new file mode 100644 index 00000000..f2d5c43e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_01.xml @@ -0,0 +1,93 @@ + + + + 򚪾󰾫7 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..37b16f2a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +inputArguments["򚪾󰾫7"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_02.xml new file mode 100644 index 00000000..1870e030 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_02.xml @@ -0,0 +1,93 @@ + + + + 15 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..eee34733 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +inputArguments["15"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_04.xml new file mode 100644 index 00000000..c9b2145f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_04.xml @@ -0,0 +1,93 @@ + + + + ‡Y񐅽󍈪 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..3896c42d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +inputArguments["‡Y񐅽󍈪"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_05.xml new file mode 100644 index 00000000..c93bef0b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_05.xml @@ -0,0 +1,93 @@ + + + + 9䠄񓝝 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..a9da2093 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +inputArguments["9䠄񓝝"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_06.xml new file mode 100644 index 00000000..933ad5d7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_06.xml @@ -0,0 +1,93 @@ + + + + @ + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..2a9e10ae --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestAsyncValueOnly/inputArguments/Pattern_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +inputArguments["@"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/MaxLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/MaxLength.xml new file mode 100644 index 00000000..41a5455b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/MaxLength.xml @@ -0,0 +1,93 @@ + + + + xF2bO_Uje6 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + tWC123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/MaxLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/MaxLength.xml.errors new file mode 100644 index 00000000..f5adb960 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/MaxLength.xml.errors @@ -0,0 +1,2 @@ +inoutputArguments["tWC123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456"]: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/MinLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/MinLength.xml new file mode 100644 index 00000000..ce9e3638 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/MinLength.xml @@ -0,0 +1,93 @@ + + + + xF2bO_Uje6 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/MinLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/MinLength.xml.errors new file mode 100644 index 00000000..82d9e4fa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/MinLength.xml.errors @@ -0,0 +1,4 @@ +inoutputArguments[""]: Invariant violated: +The value must not be empty.; +inoutputArguments[""]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_01.xml new file mode 100644 index 00000000..a85a6329 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_01.xml @@ -0,0 +1,93 @@ + + + + xF2bO_Uje6 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + 򚪾󰾫7 + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..6a5906c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +inoutputArguments["򚪾󰾫7"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_02.xml new file mode 100644 index 00000000..801e3651 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_02.xml @@ -0,0 +1,93 @@ + + + + xF2bO_Uje6 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + 15 + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..b7a364ce --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +inoutputArguments["15"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_04.xml new file mode 100644 index 00000000..f6e6b877 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_04.xml @@ -0,0 +1,93 @@ + + + + xF2bO_Uje6 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + ‡Y񐅽󍈪 + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..b6754afe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +inoutputArguments["‡Y񐅽󍈪"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_05.xml new file mode 100644 index 00000000..37f2d94c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_05.xml @@ -0,0 +1,93 @@ + + + + xF2bO_Uje6 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + 9䠄񓝝 + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..d378492e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +inoutputArguments["9䠄񓝝"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_06.xml new file mode 100644 index 00000000..2ffcc1c9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_06.xml @@ -0,0 +1,93 @@ + + + + xF2bO_Uje6 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + @ + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..4dc48e07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inoutputArguments/Pattern_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +inoutputArguments["@"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/MaxLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/MaxLength.xml new file mode 100644 index 00000000..15ccae39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/MaxLength.xml @@ -0,0 +1,93 @@ + + + + xF2bO_Uje612345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/MaxLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/MaxLength.xml.errors new file mode 100644 index 00000000..a8821be2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/MaxLength.xml.errors @@ -0,0 +1,2 @@ +inputArguments["xF2bO_Uje612345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789"]: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/MinLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/MinLength.xml new file mode 100644 index 00000000..4b3b5721 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/MinLength.xml @@ -0,0 +1,93 @@ + + + + + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/MinLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/MinLength.xml.errors new file mode 100644 index 00000000..cbbcd524 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/MinLength.xml.errors @@ -0,0 +1,4 @@ +inputArguments[""]: Invariant violated: +The value must not be empty.; +inputArguments[""]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_01.xml new file mode 100644 index 00000000..fb14fb5c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_01.xml @@ -0,0 +1,93 @@ + + + + 򚪾󰾫7 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..37b16f2a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +inputArguments["򚪾󰾫7"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_02.xml new file mode 100644 index 00000000..422a3c01 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_02.xml @@ -0,0 +1,93 @@ + + + + 15 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..eee34733 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +inputArguments["15"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_04.xml new file mode 100644 index 00000000..d7730d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_04.xml @@ -0,0 +1,93 @@ + + + + ‡Y񐅽󍈪 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..3896c42d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +inputArguments["‡Y񐅽󍈪"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_05.xml new file mode 100644 index 00000000..206c03d6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_05.xml @@ -0,0 +1,93 @@ + + + + 9䠄񓝝 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..a9da2093 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +inputArguments["9䠄񓝝"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_06.xml new file mode 100644 index 00000000..571071cc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_06.xml @@ -0,0 +1,93 @@ + + + + @ + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..2a9e10ae --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationRequestValueOnly/inputArguments/Pattern_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +inputArguments["@"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/MaxLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/MaxLength.xml new file mode 100644 index 00000000..4da25409 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/MaxLength.xml @@ -0,0 +1,104 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + Jk0k1414Di + + something_764a7cd7 + + + + a_ + + 30188789.16 + + + + aa + + 0 + + + + a-_-_-_-_-_ + + + + + something_62dd8d48 + + + 30606723.38 + + + + + nested + + 1 + + + + + + + + + + + + tWC123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/MaxLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/MaxLength.xml.errors new file mode 100644 index 00000000..f5adb960 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/MaxLength.xml.errors @@ -0,0 +1,2 @@ +inoutputArguments["tWC123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456"]: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/MinLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/MinLength.xml new file mode 100644 index 00000000..8473dd86 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/MinLength.xml @@ -0,0 +1,104 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + Jk0k1414Di + + something_764a7cd7 + + + + a_ + + 30188789.16 + + + + aa + + 0 + + + + a-_-_-_-_-_ + + + + + something_62dd8d48 + + + 30606723.38 + + + + + nested + + 1 + + + + + + + + + + + + + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/MinLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/MinLength.xml.errors new file mode 100644 index 00000000..82d9e4fa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/MinLength.xml.errors @@ -0,0 +1,4 @@ +inoutputArguments[""]: Invariant violated: +The value must not be empty.; +inoutputArguments[""]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_01.xml new file mode 100644 index 00000000..8b85613f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_01.xml @@ -0,0 +1,104 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + Jk0k1414Di + + something_764a7cd7 + + + + a_ + + 30188789.16 + + + + aa + + 0 + + + + a-_-_-_-_-_ + + + + + something_62dd8d48 + + + 30606723.38 + + + + + nested + + 1 + + + + + + + + + + + + 򚪾󰾫7 + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..6a5906c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +inoutputArguments["򚪾󰾫7"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_02.xml new file mode 100644 index 00000000..a841c028 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_02.xml @@ -0,0 +1,104 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + Jk0k1414Di + + something_764a7cd7 + + + + a_ + + 30188789.16 + + + + aa + + 0 + + + + a-_-_-_-_-_ + + + + + something_62dd8d48 + + + 30606723.38 + + + + + nested + + 1 + + + + + + + + + + + + 15 + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..b7a364ce --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +inoutputArguments["15"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_04.xml new file mode 100644 index 00000000..66ef314d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_04.xml @@ -0,0 +1,104 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + Jk0k1414Di + + something_764a7cd7 + + + + a_ + + 30188789.16 + + + + aa + + 0 + + + + a-_-_-_-_-_ + + + + + something_62dd8d48 + + + 30606723.38 + + + + + nested + + 1 + + + + + + + + + + + + ‡Y񐅽󍈪 + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..b6754afe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +inoutputArguments["‡Y񐅽󍈪"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_05.xml new file mode 100644 index 00000000..754cb8cd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_05.xml @@ -0,0 +1,104 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + Jk0k1414Di + + something_764a7cd7 + + + + a_ + + 30188789.16 + + + + aa + + 0 + + + + a-_-_-_-_-_ + + + + + something_62dd8d48 + + + 30606723.38 + + + + + nested + + 1 + + + + + + + + + + + + 9䠄񓝝 + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..d378492e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +inoutputArguments["9䠄񓝝"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_06.xml new file mode 100644 index 00000000..e28d4c1e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_06.xml @@ -0,0 +1,104 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + Jk0k1414Di + + something_764a7cd7 + + + + a_ + + 30188789.16 + + + + aa + + 0 + + + + a-_-_-_-_-_ + + + + + something_62dd8d48 + + + 30606723.38 + + + + + nested + + 1 + + + + + + + + + + + + @ + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..4dc48e07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/inoutputArguments/Pattern_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +inoutputArguments["@"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/MaxLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/MaxLength.xml new file mode 100644 index 00000000..1f71e8e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/MaxLength.xml @@ -0,0 +1,104 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + Jk0k1414Di12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 + + something_764a7cd7 + + + + a_ + + 30188789.16 + + + + aa + + 0 + + + + a-_-_-_-_-_ + + + + + something_62dd8d48 + + + 30606723.38 + + + + + nested + + 1 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/MaxLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/MaxLength.xml.errors new file mode 100644 index 00000000..c83e6a30 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/MaxLength.xml.errors @@ -0,0 +1,2 @@ +outputArguments["Jk0k1414Di12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789"]: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/MinLength.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/MinLength.xml new file mode 100644 index 00000000..0cbe8e9f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/MinLength.xml @@ -0,0 +1,104 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + + + something_764a7cd7 + + + + a_ + + 30188789.16 + + + + aa + + 0 + + + + a-_-_-_-_-_ + + + + + something_62dd8d48 + + + 30606723.38 + + + + + nested + + 1 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/MinLength.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/MinLength.xml.errors new file mode 100644 index 00000000..799ce5fb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/MinLength.xml.errors @@ -0,0 +1,4 @@ +outputArguments[""]: Invariant violated: +The value must not be empty.; +outputArguments[""]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_01.xml new file mode 100644 index 00000000..fa01ae8d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_01.xml @@ -0,0 +1,104 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + 򚪾󰾫7 + + something_764a7cd7 + + + + a_ + + 30188789.16 + + + + aa + + 0 + + + + a-_-_-_-_-_ + + + + + something_62dd8d48 + + + 30606723.38 + + + + + nested + + 1 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..ec1e91b7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +outputArguments["򚪾󰾫7"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_02.xml new file mode 100644 index 00000000..d0bf25e8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_02.xml @@ -0,0 +1,104 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + 15 + + something_764a7cd7 + + + + a_ + + 30188789.16 + + + + aa + + 0 + + + + a-_-_-_-_-_ + + + + + something_62dd8d48 + + + 30606723.38 + + + + + nested + + 1 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..c02403fc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +outputArguments["15"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_04.xml new file mode 100644 index 00000000..41cf6db1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_04.xml @@ -0,0 +1,104 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + ‡Y񐅽󍈪 + + something_764a7cd7 + + + + a_ + + 30188789.16 + + + + aa + + 0 + + + + a-_-_-_-_-_ + + + + + something_62dd8d48 + + + 30606723.38 + + + + + nested + + 1 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..20d7387f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +outputArguments["‡Y񐅽󍈪"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_05.xml new file mode 100644 index 00000000..68d4988f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_05.xml @@ -0,0 +1,104 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + 9䠄񓝝 + + something_764a7cd7 + + + + a_ + + 30188789.16 + + + + aa + + 0 + + + + a-_-_-_-_-_ + + + + + something_62dd8d48 + + + 30606723.38 + + + + + nested + + 1 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..40fe5598 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +outputArguments["9䠄񓝝"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_06.xml new file mode 100644 index 00000000..d3e1d732 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_06.xml @@ -0,0 +1,104 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + @ + + something_764a7cd7 + + + + a_ + + 30188789.16 + + + + aa + + 0 + + + + a-_-_-_-_-_ + + + + + something_62dd8d48 + + + 30606723.38 + + + + + nested + + 1 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..8de65944 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/JsonKeyViolation/operationResultValueOnly/outputArguments/Pattern_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +outputArguments["@"]: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/revision.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/revision.xml new file mode 100644 index 00000000..67a2349d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/revision.xml @@ -0,0 +1,72 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + 116 + 11612 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + 2022-04-01T12:00:00Z + 2022-04-02T12:00:00Z + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/revision.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/revision.xml.errors new file mode 100644 index 00000000..7825f85e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/revision.xml.errors @@ -0,0 +1,2 @@ +revision: Invariant violated: +Revision type shall have a maximum length of 4 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/templateId.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/templateId.xml new file mode 100644 index 00000000..2c6053a9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/templateId.xml @@ -0,0 +1,72 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + 116 + 116 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + 2022-04-01T12:00:00Z + 2022-04-02T12:00:00Z + [\h$񒺟ìÖċŠ1¿1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/templateId.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/templateId.xml.errors new file mode 100644 index 00000000..1127fa5f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/templateId.xml.errors @@ -0,0 +1,2 @@ +templateId: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/version.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/version.xml new file mode 100644 index 00000000..40419967 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/version.xml @@ -0,0 +1,72 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + 11612 + 116 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + 2022-04-01T12:00:00Z + 2022-04-02T12:00:00Z + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/version.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/version.xml.errors new file mode 100644 index 00000000..91be2cf3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/version.xml.errors @@ -0,0 +1,2 @@ +version: Invariant violated: +Version type shall have a maximum length of 4 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/category.xml new file mode 100644 index 00000000..6ada3dfb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/category.xml @@ -0,0 +1,166 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/idShort.xml new file mode 100644 index 00000000..bf5f0fcb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/idShort.xml @@ -0,0 +1,166 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElementMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElementMetadata/category.xml new file mode 100644 index 00000000..171dbd6d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElementMetadata/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElementMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElementMetadata/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElementMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElementMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElementMetadata/idShort.xml new file mode 100644 index 00000000..835ebf92 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElementMetadata/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElementMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElementMetadata/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElementMetadata/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/category.xml new file mode 100644 index 00000000..2f50e6d7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/category.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + NotApplicable + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/id.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/id.xml new file mode 100644 index 00000000..21d9f203 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/id.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + NotApplicable + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/id.xml.errors new file mode 100644 index 00000000..1b121160 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/idShort.xml new file mode 100644 index 00000000..5711b5b1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/idShort.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + NotApplicable + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/assetType.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/assetType.xml new file mode 100644 index 00000000..74e3b6a4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/assetType.xml @@ -0,0 +1,89 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + + Batch + Ûă<P󨱽²|dnœÞ®123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/assetType.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/assetType.xml.errors new file mode 100644 index 00000000..bd71b88a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/assetType.xml.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/globalAssetId.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/globalAssetId.xml new file mode 100644 index 00000000..817bc63c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/globalAssetId.xml @@ -0,0 +1,89 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + + Batch + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/globalAssetId.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/globalAssetId.xml.errors new file mode 100644 index 00000000..3655ea14 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/globalAssetId.xml.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/id.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/id.xml new file mode 100644 index 00000000..7b6cffe7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/id.xml @@ -0,0 +1,89 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + + Batch + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/id.xml.errors new file mode 100644 index 00000000..1b121160 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/idShort.xml new file mode 100644 index 00000000..0b612965 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/idShort.xml @@ -0,0 +1,89 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + + Batch + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + <ă<P󨱽²|dnœÞ®123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellDescriptor/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellMetadata/category.xml new file mode 100644 index 00000000..5dd96cd1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellMetadata/category.xml @@ -0,0 +1,99 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:some-company:05:3dfe70e9 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellMetadata/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellMetadata/id.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellMetadata/id.xml new file mode 100644 index 00000000..fbdd1980 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellMetadata/id.xml @@ -0,0 +1,99 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:some-company:05:3dfe70e9 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellMetadata/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellMetadata/id.xml.errors new file mode 100644 index 00000000..1b121160 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellMetadata/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellMetadata/idShort.xml new file mode 100644 index 00000000..bb618965 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellMetadata/idShort.xml @@ -0,0 +1,99 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:some-company:05:3dfe70e9 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellMetadata/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellMetadata/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellRecentChange/globalAssetId.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellRecentChange/globalAssetId.xml new file mode 100644 index 00000000..ac2f7b21 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellRecentChange/globalAssetId.xml @@ -0,0 +1,20 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + 0 + 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellRecentChange/globalAssetId.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellRecentChange/globalAssetId.xml.errors new file mode 100644 index 00000000..3655ea14 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellRecentChange/globalAssetId.xml.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellRecentChange/id.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellRecentChange/id.xml new file mode 100644 index 00000000..0fbe6bf0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellRecentChange/id.xml @@ -0,0 +1,20 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellRecentChange/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellRecentChange/id.xml.errors new file mode 100644 index 00000000..1b121160 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShellRecentChange/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/assetType.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/assetType.xml new file mode 100644 index 00000000..ddcaa066 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/assetType.xml @@ -0,0 +1,22 @@ + + Batch + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + Ûă<P󨱽²|dnœÞ®123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 + + news:comp.infosystems.www.servers.unix + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/assetType.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/assetType.xml.errors new file mode 100644 index 00000000..bd71b88a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/assetType.xml.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/globalAssetId.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/globalAssetId.xml new file mode 100644 index 00000000..c3920ee8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/globalAssetId.xml @@ -0,0 +1,22 @@ + + Batch + 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + Ûă<P󨱽²|dnœÞ® + + news:comp.infosystems.www.servers.unix + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/globalAssetId.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/globalAssetId.xml.errors new file mode 100644 index 00000000..3655ea14 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/globalAssetId.xml.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetLink/name.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetLink/name.xml new file mode 100644 index 00000000..9d81c09a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetLink/name.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ®12345678901234567890123456789012345678901234567890123 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetLink/name.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetLink/name.xml.errors new file mode 100644 index 00000000..b33cd31a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetLink/name.xml.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Label type shall have a maximum length of 64 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetLink/value.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetLink/value.xml new file mode 100644 index 00000000..08b8ed1a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetLink/value.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 򤑌M𪠇𛔊򂄲1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetLink/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetLink/value.xml.errors new file mode 100644 index 00000000..291f98d5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetLink/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/category.xml new file mode 100644 index 00000000..2767cdd1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/category.xml @@ -0,0 +1,172 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/idShort.xml new file mode 100644 index 00000000..e1f2202c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/idShort.xml @@ -0,0 +1,172 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/messageTopic.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/messageTopic.xml new file mode 100644 index 00000000..2b900e51 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/messageTopic.xml @@ -0,0 +1,172 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/messageTopic.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/messageTopic.xml.errors new file mode 100644 index 00000000..bc93bef1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/messageTopic.xml.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Message topic type shall have a maximum length of 255 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElementMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElementMetadata/category.xml new file mode 100644 index 00000000..e8f0043a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElementMetadata/category.xml @@ -0,0 +1,155 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElementMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElementMetadata/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElementMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElementMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElementMetadata/idShort.xml new file mode 100644 index 00000000..20903b53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElementMetadata/idShort.xml @@ -0,0 +1,155 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElementMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElementMetadata/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElementMetadata/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElementMetadata/messageTopic.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElementMetadata/messageTopic.xml new file mode 100644 index 00000000..81582e18 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElementMetadata/messageTopic.xml @@ -0,0 +1,155 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElementMetadata/messageTopic.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElementMetadata/messageTopic.xml.errors new file mode 100644 index 00000000..bc93bef1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElementMetadata/messageTopic.xml.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Message topic type shall have a maximum length of 255 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/category.xml new file mode 100644 index 00000000..ee0a4d4d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/category.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/contentType.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/contentType.xml new file mode 100644 index 00000000..a001972f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/contentType.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/contentType.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/contentType.xml.errors new file mode 100644 index 00000000..7e381584 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/contentType.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +Content type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/idShort.xml new file mode 100644 index 00000000..3271506b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/idShort.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blobMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blobMetadata/category.xml new file mode 100644 index 00000000..1666ab9e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blobMetadata/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blobMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blobMetadata/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blobMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blobMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blobMetadata/idShort.xml new file mode 100644 index 00000000..4d1aefdc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blobMetadata/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blobMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blobMetadata/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blobMetadata/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blobValue/contentType.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blobValue/contentType.xml new file mode 100644 index 00000000..01eac9f9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blobValue/contentType.xml @@ -0,0 +1,4 @@ + + 15j/5j123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123 + RyaIxQ6R/Wrra8w= + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blobValue/contentType.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blobValue/contentType.xml.errors new file mode 100644 index 00000000..7e381584 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blobValue/contentType.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +Content type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/category.xml new file mode 100644 index 00000000..892db9d8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/idShort.xml new file mode 100644 index 00000000..52602c10 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capabilityMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capabilityMetadata/category.xml new file mode 100644 index 00000000..6a31bf40 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capabilityMetadata/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capabilityMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capabilityMetadata/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capabilityMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capabilityMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capabilityMetadata/idShort.xml new file mode 100644 index 00000000..87febcdb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capabilityMetadata/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capabilityMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capabilityMetadata/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capabilityMetadata/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/category.xml new file mode 100644 index 00000000..7da6bc24 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/category.xml @@ -0,0 +1,113 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/id.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/id.xml new file mode 100644 index 00000000..0b232e9e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/id.xml @@ -0,0 +1,113 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/id.xml.errors new file mode 100644 index 00000000..1b121160 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/idShort.xml new file mode 100644 index 00000000..730ad6b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/idShort.xml @@ -0,0 +1,113 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescriptionRecentChange/id.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescriptionRecentChange/id.xml new file mode 100644 index 00000000..6c729e49 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescriptionRecentChange/id.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescriptionRecentChange/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescriptionRecentChange/id.xml.errors new file mode 100644 index 00000000..1b121160 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescriptionRecentChange/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationIec61360/value.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationIec61360/value.xml new file mode 100644 index 00000000..d907da24 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationIec61360/value.xml @@ -0,0 +1,41 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationIec61360/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationIec61360/value.xml.errors new file mode 100644 index 00000000..31fce69b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationIec61360/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Value type IEC 61360 shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/classificationSystem.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/classificationSystem.xml new file mode 100644 index 00000000..27c078eb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/classificationSystem.xml @@ -0,0 +1,33 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + en-JM-x-86de9a4b + <ă<P󨱽²|dnœÞ® + + + en-JM-x-9bd9cd32 + 𠤢4𠤢 + + + en-JM-x-3d2061f3 + J5 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + <ă<P󨱽²|dnœÞ®12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/classificationSystem.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/classificationSystem.xml.errors new file mode 100644 index 00000000..f8f00cd8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/classificationSystem.xml.errors @@ -0,0 +1,2 @@ +classificationSystem: Invariant violated: +String UoM shall have a maximum length of 256 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/classificationSystemVersion.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/classificationSystemVersion.xml new file mode 100644 index 00000000..e2a4b7d7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/classificationSystemVersion.xml @@ -0,0 +1,33 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + en-JM-x-86de9a4b + <ă<P󨱽²|dnœÞ® + + + en-JM-x-9bd9cd32 + 𠤢4𠤢 + + + en-JM-x-3d2061f3 + J5 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/classificationSystemVersion.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/classificationSystemVersion.xml.errors new file mode 100644 index 00000000..7672b36f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/classificationSystemVersion.xml.errors @@ -0,0 +1,2 @@ +classificationSystemVersion: Invariant violated: +String UoM shall have a maximum length of 256 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/quantityId.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/quantityId.xml new file mode 100644 index 00000000..232e8740 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/quantityId.xml @@ -0,0 +1,33 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + en-JM-x-86de9a4b + <ă<P󨱽²|dnœÞ® + + + en-JM-x-9bd9cd32 + 𠤢4𠤢 + + + en-JM-x-3d2061f3 + J5 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/quantityId.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/quantityId.xml.errors new file mode 100644 index 00000000..2f939a3d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/quantityId.xml.errors @@ -0,0 +1,2 @@ +quantityId: Invariant violated: +Identifier UoM shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/specificUnitId.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/specificUnitId.xml new file mode 100644 index 00000000..3e50a4aa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/specificUnitId.xml @@ -0,0 +1,33 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012 + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + en-JM-x-86de9a4b + <ă<P󨱽²|dnœÞ® + + + en-JM-x-9bd9cd32 + 𠤢4𠤢 + + + en-JM-x-3d2061f3 + J5 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/specificUnitId.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/specificUnitId.xml.errors new file mode 100644 index 00000000..6640b480 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/specificUnitId.xml.errors @@ -0,0 +1,2 @@ +specificUnitId: Invariant violated: +String UoM shall have a maximum length of 256 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/symbol.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/symbol.xml new file mode 100644 index 00000000..59a61272 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/symbol.xml @@ -0,0 +1,33 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + en-JM-x-86de9a4b + <ă<P󨱽²|dnœÞ® + + + en-JM-x-9bd9cd32 + 𠤢4𠤢 + + + en-JM-x-3d2061f3 + J5 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/symbol.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/symbol.xml.errors new file mode 100644 index 00000000..79204924 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationUom/symbol.xml.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +String UoM shall have a maximum length of 256 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/definitionTypeUom/text.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/definitionTypeUom/text.xml new file mode 100644 index 00000000..8d174477 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/definitionTypeUom/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J51234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/definitionTypeUom/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/definitionTypeUom/text.xml.errors new file mode 100644 index 00000000..923fda12 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/definitionTypeUom/text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +String shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/endpoint/interface.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/endpoint/interface.xml new file mode 100644 index 00000000..74eb532f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/endpoint/interface.xml @@ -0,0 +1,6 @@ + + + something_72d646a9 + + 򤑌M𪠇𛔊򂄲1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/endpoint/interface.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/endpoint/interface.xml.errors new file mode 100644 index 00000000..da2d1b18 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/endpoint/interface.xml.errors @@ -0,0 +1,2 @@ +interface: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/category.xml new file mode 100644 index 00000000..e1b1804a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/category.xml @@ -0,0 +1,161 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/globalAssetId.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/globalAssetId.xml new file mode 100644 index 00000000..738b41b8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/globalAssetId.xml @@ -0,0 +1,161 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/globalAssetId.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/globalAssetId.xml.errors new file mode 100644 index 00000000..3655ea14 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/globalAssetId.xml.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/idShort.xml new file mode 100644 index 00000000..fb10bcd8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/idShort.xml @@ -0,0 +1,161 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entityMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entityMetadata/category.xml new file mode 100644 index 00000000..176e3403 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entityMetadata/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entityMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entityMetadata/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entityMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entityMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entityMetadata/idShort.xml new file mode 100644 index 00000000..a773d625 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entityMetadata/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entityMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entityMetadata/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entityMetadata/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entityValue/globalAssetId.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entityValue/globalAssetId.xml new file mode 100644 index 00000000..ccdaa249 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entityValue/globalAssetId.xml @@ -0,0 +1,186 @@ + + CoManagedEntity + 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + something_9893a589 + + + + 0 + + 7611687.58 + + + + Ûă<P󨱽²|dnœÞ® + + 1 + + + + J5 + + + + + something_976454e1 + + + 6047604.47 + + + + + nested + + 1 + + + + + + + + + + + + 6 + + something_e752ec58 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 2450279.81 + + + + öĖa􍣡™| + + 1 + + + + [\h$񒺟ìÖċŠ1¿ + + + + + something_410466ac + + + 34492713.6 + + + + + nested + + 1 + + + + + + + + + + + + 0 + + something_2af71231 + + + + Ûă<P󨱽²|dnœÞ® + + 41911723.71 + + + + [\h$񒺟ìÖċŠ1¿ + + 1 + + + + J5 + + + + + something_0be6fa02 + + + 71146.82 + + + + + nested + + 0 + + + + + + + + + + + + + aa + + something_ef8d35ae + + + + a-_-_-_-_-_ + + 14955386.36 + + + + fULCVpULCVq + + 0 + + + + strange-name_ + + + + + something_a6bc72af + + + 40013686.16 + + + + + nested + + 1 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entityValue/globalAssetId.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entityValue/globalAssetId.xml.errors new file mode 100644 index 00000000..3655ea14 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entityValue/globalAssetId.xml.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/eventPayload/topic.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/eventPayload/topic.xml new file mode 100644 index 00000000..916ae936 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/eventPayload/topic.xml @@ -0,0 +1,54 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ExternalReference + + + GlobalReference + urn:an-example:12:1ed44768 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + + ExternalReference + + + GlobalReference + urn:something:16:2204ae04 + + + + öĖa􍣡™|1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + + ExternalReference + + + GlobalReference + urn:yet-another-company:01:0e4f465d + + + + 2022-04-01T24:00:00-00:00 + /TsF2AbyQb1dIa0= + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/eventPayload/topic.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/eventPayload/topic.xml.errors new file mode 100644 index 00000000..156ad8e8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/eventPayload/topic.xml.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Message topic type shall have a maximum length of 255 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/extension/name.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/extension/name.xml new file mode 100644 index 00000000..4784ec9f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/extension/name.xml @@ -0,0 +1,63 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ®123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 + xs:gDay + ---01 + + + ExternalReference + + + GlobalReference + urn:an-example:18:1d00b242 + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:b45040ec + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/extension/name.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/extension/name.xml.errors new file mode 100644 index 00000000..398b8ba7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/extension/name.xml.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/category.xml new file mode 100644 index 00000000..21c77fc8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/category.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/contentType.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/contentType.xml new file mode 100644 index 00000000..fd8d9081 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/contentType.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/contentType.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/contentType.xml.errors new file mode 100644 index 00000000..7e381584 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/contentType.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +Content type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/idShort.xml new file mode 100644 index 00000000..27666752 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/idShort.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/value.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/value.xml new file mode 100644 index 00000000..05360578 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/value.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012 + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/value.xml.errors new file mode 100644 index 00000000..291f98d5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileMetadata/category.xml new file mode 100644 index 00000000..2082479b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileMetadata/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileMetadata/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileMetadata/idShort.xml new file mode 100644 index 00000000..f070084d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileMetadata/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileMetadata/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileMetadata/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileValue/contentType.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileValue/contentType.xml new file mode 100644 index 00000000..6c942c8c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileValue/contentType.xml @@ -0,0 +1,4 @@ + + 15j/5j123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123 + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileValue/contentType.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileValue/contentType.xml.errors new file mode 100644 index 00000000..7e381584 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileValue/contentType.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +Content type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileValue/value.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileValue/value.xml new file mode 100644 index 00000000..4f1a00e1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileValue/value.xml @@ -0,0 +1,4 @@ + + 15j/5j + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileValue/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileValue/value.xml.errors new file mode 100644 index 00000000..291f98d5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/fileValue/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/key/value.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/key/value.xml new file mode 100644 index 00000000..8663403f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/key/value.xml @@ -0,0 +1,4 @@ + + EventElement + 򤑌M𪠇𛔊򂄲1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/key/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/key/value.xml.errors new file mode 100644 index 00000000..291f98d5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/key/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringDefinitionTypeIec61360/text.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringDefinitionTypeIec61360/text.xml new file mode 100644 index 00000000..7b1dcd79 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringDefinitionTypeIec61360/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J512345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringDefinitionTypeIec61360/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringDefinitionTypeIec61360/text.xml.errors new file mode 100644 index 00000000..93032656 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringDefinitionTypeIec61360/text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +String shall have a maximum length of 1023 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringNameType/text.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringNameType/text.xml new file mode 100644 index 00000000..e069be2b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringNameType/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J51234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringNameType/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringNameType/text.xml.errors new file mode 100644 index 00000000..254b7e3e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringNameType/text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +String shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringPreferredNameTypeIec61360/text.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringPreferredNameTypeIec61360/text.xml new file mode 100644 index 00000000..2247b68e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringPreferredNameTypeIec61360/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J512345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringPreferredNameTypeIec61360/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringPreferredNameTypeIec61360/text.xml.errors new file mode 100644 index 00000000..2f04fe2e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringPreferredNameTypeIec61360/text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +String shall have a maximum length of 255 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringShortNameTypeIec61360/text.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringShortNameTypeIec61360/text.xml new file mode 100644 index 00000000..883c6af6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringShortNameTypeIec61360/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J512345678901234567 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringShortNameTypeIec61360/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringShortNameTypeIec61360/text.xml.errors new file mode 100644 index 00000000..97bd88cd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringShortNameTypeIec61360/text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +String shall have a maximum length of 18 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringTextType/text.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringTextType/text.xml new file mode 100644 index 00000000..6bef5647 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringTextType/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J512345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringTextType/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringTextType/text.xml.errors new file mode 100644 index 00000000..93032656 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringTextType/text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +String shall have a maximum length of 1023 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringUom/text.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringUom/text.xml new file mode 100644 index 00000000..1fc592a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringUom/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringUom/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringUom/text.xml.errors new file mode 100644 index 00000000..dce54917 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringUom/text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +String shall have a maximum length of 256 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/message/code.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/message/code.xml new file mode 100644 index 00000000..7a3b49a2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/message/code.xml @@ -0,0 +1,7 @@ + + Exception + something_24bc8444 + something_ee3c0402123456789012345 + 򤑌M𪠇𛔊򂄲 + 123456789012345678901234567-04-01T00:00:00Z + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/message/code.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/message/code.xml.errors new file mode 100644 index 00000000..7d0819fc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/message/code.xml.errors @@ -0,0 +1,2 @@ +code: Invariant violated: +Code type shall have a maximum length of 32 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/message/correlationId.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/message/correlationId.xml new file mode 100644 index 00000000..32b09191 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/message/correlationId.xml @@ -0,0 +1,7 @@ + + Exception + something_24bc8444 + something_ee3c0402 + 򤑌M𪠇𛔊򂄲1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + 123456789012345678901234567-04-01T00:00:00Z + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/message/correlationId.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/message/correlationId.xml.errors new file mode 100644 index 00000000..f1b8202c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/message/correlationId.xml.errors @@ -0,0 +1,2 @@ +correlationId: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/category.xml new file mode 100644 index 00000000..28edefd0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/category.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/idShort.xml new file mode 100644 index 00000000..049292e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/idShort.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguagePropertyMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguagePropertyMetadata/category.xml new file mode 100644 index 00000000..01e11544 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguagePropertyMetadata/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguagePropertyMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguagePropertyMetadata/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguagePropertyMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguagePropertyMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguagePropertyMetadata/idShort.xml new file mode 100644 index 00000000..c7605161 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguagePropertyMetadata/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguagePropertyMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguagePropertyMetadata/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguagePropertyMetadata/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/category.xml new file mode 100644 index 00000000..0166a86a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/category.xml @@ -0,0 +1,213 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/idShort.xml new file mode 100644 index 00000000..b2f554f1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/idShort.xml @@ -0,0 +1,213 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operationHandle/handleId.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operationHandle/handleId.xml new file mode 100644 index 00000000..360e641c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operationHandle/handleId.xml @@ -0,0 +1,3 @@ + + J51234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operationHandle/handleId.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operationHandle/handleId.xml.errors new file mode 100644 index 00000000..b47c62b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operationHandle/handleId.xml.errors @@ -0,0 +1,2 @@ +handleId: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operationMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operationMetadata/category.xml new file mode 100644 index 00000000..cb90bee8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operationMetadata/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operationMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operationMetadata/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operationMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operationMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operationMetadata/idShort.xml new file mode 100644 index 00000000..e2ba45ee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operationMetadata/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operationMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operationMetadata/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operationMetadata/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/packageDescription/packageId.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/packageDescription/packageId.xml new file mode 100644 index 00000000..61d04e06 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/packageDescription/packageId.xml @@ -0,0 +1,8 @@ + + 612345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + J5 + <ă<P󨱽²|dnœÞ® + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/packageDescription/packageId.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/packageDescription/packageId.xml.errors new file mode 100644 index 00000000..8ff9f6ea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/packageDescription/packageId.xml.errors @@ -0,0 +1,2 @@ +packageId: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/category.xml new file mode 100644 index 00000000..7ecc0552 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/category.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/idShort.xml new file mode 100644 index 00000000..2eed0000 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/idShort.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/propertyMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/propertyMetadata/category.xml new file mode 100644 index 00000000..9c7e127a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/propertyMetadata/category.xml @@ -0,0 +1,141 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/propertyMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/propertyMetadata/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/propertyMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/propertyMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/propertyMetadata/idShort.xml new file mode 100644 index 00000000..45d172eb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/propertyMetadata/idShort.xml @@ -0,0 +1,141 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/propertyMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/propertyMetadata/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/propertyMetadata/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/endpointProtocol.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/endpointProtocol.xml new file mode 100644 index 00000000..dfb761d6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/endpointProtocol.xml @@ -0,0 +1,29 @@ + + something_cd6881d8 + Ûă<P󨱽²|dnœÞ®123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 0 + something_063944e1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + W3C_DID + something_9babbd6a + something_05eecee4 + + + RFC_TLSA + something_5beee992 + something_9106f4e0 + + + RFC_TLSA + something_580cb1d7 + something_23f8577a + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/endpointProtocol.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/endpointProtocol.xml.errors new file mode 100644 index 00000000..77636a18 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/endpointProtocol.xml.errors @@ -0,0 +1,2 @@ +endpointProtocol: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/href.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/href.xml new file mode 100644 index 00000000..62cb40af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/href.xml @@ -0,0 +1,29 @@ + + something_cd6881d8123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901 + Ûă<P󨱽²|dnœÞ® + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 0 + something_063944e1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + W3C_DID + something_9babbd6a + something_05eecee4 + + + RFC_TLSA + something_5beee992 + something_9106f4e0 + + + RFC_TLSA + something_580cb1d7 + something_23f8577a + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/href.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/href.xml.errors new file mode 100644 index 00000000..b4e89a04 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/href.xml.errors @@ -0,0 +1,2 @@ +href: Invariant violated: +Locator type shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/subprotocol.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/subprotocol.xml new file mode 100644 index 00000000..43544c68 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/subprotocol.xml @@ -0,0 +1,29 @@ + + something_cd6881d8 + Ûă<P󨱽²|dnœÞ® + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + something_063944e1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + W3C_DID + something_9babbd6a + something_05eecee4 + + + RFC_TLSA + something_5beee992 + something_9106f4e0 + + + RFC_TLSA + something_580cb1d7 + something_23f8577a + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/subprotocol.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/subprotocol.xml.errors new file mode 100644 index 00000000..5c06e646 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/subprotocol.xml.errors @@ -0,0 +1,2 @@ +subprotocol: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/subprotocolBody.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/subprotocolBody.xml new file mode 100644 index 00000000..c2a947d3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/subprotocolBody.xml @@ -0,0 +1,29 @@ + + something_cd6881d8 + Ûă<P󨱽²|dnœÞ® + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 0 + something_063944e1123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + W3C_DID + something_9babbd6a + something_05eecee4 + + + RFC_TLSA + something_5beee992 + something_9106f4e0 + + + RFC_TLSA + something_580cb1d7 + something_23f8577a + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/subprotocolBody.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/subprotocolBody.xml.errors new file mode 100644 index 00000000..99718a78 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/subprotocolBody.xml.errors @@ -0,0 +1,2 @@ +subprotocolBody: Invariant violated: +Text type shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/subprotocolBodyEncoding.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/subprotocolBodyEncoding.xml new file mode 100644 index 00000000..f799abe2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/subprotocolBodyEncoding.xml @@ -0,0 +1,29 @@ + + something_cd6881d8 + Ûă<P󨱽²|dnœÞ® + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 0 + something_063944e1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + + + W3C_DID + something_9babbd6a + something_05eecee4 + + + RFC_TLSA + something_5beee992 + something_9106f4e0 + + + RFC_TLSA + something_580cb1d7 + something_23f8577a + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/subprotocolBodyEncoding.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/subprotocolBodyEncoding.xml.errors new file mode 100644 index 00000000..a97b3b35 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/protocolInformation/subprotocolBodyEncoding.xml.errors @@ -0,0 +1,2 @@ +subprotocolBodyEncoding: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/qualifier/type.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/qualifier/type.xml new file mode 100644 index 00000000..2c22f356 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/qualifier/type.xml @@ -0,0 +1,53 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + ValueQualifier + 612345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/qualifier/type.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/qualifier/type.xml.errors new file mode 100644 index 00000000..54bb6697 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/qualifier/type.xml.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/category.xml new file mode 100644 index 00000000..90c7ba0e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/category.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/idShort.xml new file mode 100644 index 00000000..20216d69 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/idShort.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/rangeMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/rangeMetadata/category.xml new file mode 100644 index 00000000..f508ee71 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/rangeMetadata/category.xml @@ -0,0 +1,141 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/rangeMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/rangeMetadata/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/rangeMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/rangeMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/rangeMetadata/idShort.xml new file mode 100644 index 00000000..630e8087 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/rangeMetadata/idShort.xml @@ -0,0 +1,141 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/rangeMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/rangeMetadata/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/rangeMetadata/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/category.xml new file mode 100644 index 00000000..ba1f4768 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/category.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/idShort.xml new file mode 100644 index 00000000..09ca2cf6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/idShort.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElementMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElementMetadata/category.xml new file mode 100644 index 00000000..69e03c3a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElementMetadata/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElementMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElementMetadata/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElementMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElementMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElementMetadata/idShort.xml new file mode 100644 index 00000000..46089afd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElementMetadata/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElementMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElementMetadata/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElementMetadata/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/category.xml new file mode 100644 index 00000000..39d19666 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/category.xml @@ -0,0 +1,158 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/idShort.xml new file mode 100644 index 00000000..38b2f1d6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/idShort.xml @@ -0,0 +1,158 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElementMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElementMetadata/category.xml new file mode 100644 index 00000000..07b9bd8b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElementMetadata/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElementMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElementMetadata/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElementMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElementMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElementMetadata/idShort.xml new file mode 100644 index 00000000..df057599 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElementMetadata/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElementMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElementMetadata/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElementMetadata/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/contentType.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/contentType.xml new file mode 100644 index 00000000..4fdc652e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/contentType.xml @@ -0,0 +1,4 @@ + + #; + 15j/5j123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/contentType.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/contentType.xml.errors new file mode 100644 index 00000000..7e381584 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/contentType.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +Content type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/path.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/path.xml new file mode 100644 index 00000000..2af5b5c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/path.xml @@ -0,0 +1,4 @@ + + #;1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/path.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/path.xml.errors new file mode 100644 index 00000000..a7262fe3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/path.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/name.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/name.xml new file mode 100644 index 00000000..0a4fc2a1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/name.xml @@ -0,0 +1,51 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ®12345678901234567890123456789012345678901234567890123 + 򤑌M𪠇𛔊򂄲 + + ExternalReference + + + GlobalReference + urn:an-example:01:3a080c99 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/name.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/name.xml.errors new file mode 100644 index 00000000..b33cd31a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/name.xml.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Label type shall have a maximum length of 64 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/value.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/value.xml new file mode 100644 index 00000000..d1b631f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/value.xml @@ -0,0 +1,51 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + 򤑌M𪠇𛔊򂄲1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + + ExternalReference + + + GlobalReference + urn:an-example:01:3a080c99 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/value.xml.errors new file mode 100644 index 00000000..291f98d5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/category.xml new file mode 100644 index 00000000..37ceb48b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/category.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/id.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/id.xml new file mode 100644 index 00000000..30222313 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/id.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/id.xml.errors new file mode 100644 index 00000000..1b121160 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/idShort.xml new file mode 100644 index 00000000..f37bdc1b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/idShort.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelDescriptor/id.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelDescriptor/id.xml new file mode 100644 index 00000000..89c50da5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelDescriptor/id.xml @@ -0,0 +1,91 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + + <ă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelDescriptor/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelDescriptor/id.xml.errors new file mode 100644 index 00000000..1b121160 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelDescriptor/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelDescriptor/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelDescriptor/idShort.xml new file mode 100644 index 00000000..a3a475e1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelDescriptor/idShort.xml @@ -0,0 +1,91 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + + <ă<P󨱽²|dnœÞ®123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelDescriptor/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelDescriptor/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelDescriptor/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/category.xml new file mode 100644 index 00000000..4eda29b1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/category.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/idShort.xml new file mode 100644 index 00000000..74cdb081 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/idShort.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollectionMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollectionMetadata/category.xml new file mode 100644 index 00000000..59689229 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollectionMetadata/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollectionMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollectionMetadata/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollectionMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollectionMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollectionMetadata/idShort.xml new file mode 100644 index 00000000..2d95223d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollectionMetadata/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollectionMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollectionMetadata/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollectionMetadata/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/category.xml new file mode 100644 index 00000000..601eed8f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/category.xml @@ -0,0 +1,178 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/idShort.xml new file mode 100644 index 00000000..931be689 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/idShort.xml @@ -0,0 +1,178 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementListMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementListMetadata/category.xml new file mode 100644 index 00000000..50d7b7fe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementListMetadata/category.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementListMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementListMetadata/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementListMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementListMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementListMetadata/idShort.xml new file mode 100644 index 00000000..1570196b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementListMetadata/idShort.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementListMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementListMetadata/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementListMetadata/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelMetadata/category.xml new file mode 100644 index 00000000..cdf5f5da --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelMetadata/category.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelMetadata/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelMetadata/id.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelMetadata/id.xml new file mode 100644 index 00000000..629e16e0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelMetadata/id.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelMetadata/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelMetadata/id.xml.errors new file mode 100644 index 00000000..1b121160 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelMetadata/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelMetadata/idShort.xml new file mode 100644 index 00000000..b1e36862 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelMetadata/idShort.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelMetadata/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelMetadata/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelRecentChange/id.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelRecentChange/id.xml new file mode 100644 index 00000000..ae556012 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelRecentChange/id.xml @@ -0,0 +1,43 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelRecentChange/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelRecentChange/id.xml.errors new file mode 100644 index 00000000..1b121160 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelRecentChange/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/valueReferencePair/value.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/valueReferencePair/value.xml new file mode 100644 index 00000000..98ba2dde --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/valueReferencePair/value.xml @@ -0,0 +1,12 @@ + + 򤑌M𪠇𛔊򂄲1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/valueReferencePair/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/valueReferencePair/value.xml.errors new file mode 100644 index 00000000..31fce69b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/valueReferencePair/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Value type IEC 61360 shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/embeddedDataSpecifications.xml new file mode 100644 index 00000000..7fac6050 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/embeddedDataSpecifications.xml @@ -0,0 +1,17 @@ + + + 116 + 116 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + 2022-04-01T12:00:00Z + 2022-04-02T12:00:00Z + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/revision.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/revision.xml new file mode 100644 index 00000000..af8027df --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/revision.xml @@ -0,0 +1,72 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + 116 + + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + 2022-04-01T12:00:00Z + 2022-04-02T12:00:00Z + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/revision.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/revision.xml.errors new file mode 100644 index 00000000..0d18a55a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/revision.xml.errors @@ -0,0 +1,4 @@ +revision: Invariant violated: +The value must not be empty.; +revision: Invariant violated: +Revision type shall match the revision pattern. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/templateId.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/templateId.xml new file mode 100644 index 00000000..eb1ea6e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/templateId.xml @@ -0,0 +1,72 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + 116 + 116 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + 2022-04-01T12:00:00Z + 2022-04-02T12:00:00Z + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/templateId.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/templateId.xml.errors new file mode 100644 index 00000000..3a76eab2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/templateId.xml.errors @@ -0,0 +1,2 @@ +templateId: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/version.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/version.xml new file mode 100644 index 00000000..10a5bc4e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/version.xml @@ -0,0 +1,72 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + 116 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + 2022-04-01T12:00:00Z + 2022-04-02T12:00:00Z + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/version.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/version.xml.errors new file mode 100644 index 00000000..e40bec5a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/version.xml.errors @@ -0,0 +1,4 @@ +version: Invariant violated: +The value must not be empty.; +version: Invariant violated: +Version type shall match the version pattern. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/andExpression/andOperands.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/andExpression/andOperands.xml new file mode 100644 index 00000000..2cc7d3cd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/andExpression/andOperands.xml @@ -0,0 +1,14 @@ + + + + + + $aas#idShort + + + $aasdesc#endpoints[0].protocolinformation.href + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/andExpression/andOperands.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/andExpression/andOperands.xml.errors new file mode 100644 index 00000000..21ffc7b7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/andExpression/andOperands.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +And operands must have at least two items. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/annotations.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/annotations.xml new file mode 100644 index 00000000..88ea15bf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/annotations.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/annotations.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/annotations.xml.errors new file mode 100644 index 00000000..a0861dd5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/annotations.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Annotations must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/category.xml new file mode 100644 index 00000000..c434c767 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/category.xml @@ -0,0 +1,166 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/description.xml new file mode 100644 index 00000000..8ed0399f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/description.xml @@ -0,0 +1,157 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/displayName.xml new file mode 100644 index 00000000..cdb25649 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/displayName.xml @@ -0,0 +1,157 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml new file mode 100644 index 00000000..804d3256 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml @@ -0,0 +1,111 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/extensions.xml new file mode 100644 index 00000000..ac08ac80 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/extensions.xml @@ -0,0 +1,159 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/idShort.xml new file mode 100644 index 00000000..a398468e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/idShort.xml @@ -0,0 +1,166 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/qualifiers.xml new file mode 100644 index 00000000..6e183167 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/qualifiers.xml @@ -0,0 +1,153 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/supplementalSemanticIds.xml new file mode 100644 index 00000000..bd53ac2f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/supplementalSemanticIds.xml @@ -0,0 +1,138 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/category.xml new file mode 100644 index 00000000..3703f8b2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/description.xml new file mode 100644 index 00000000..7e3b7cb3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/displayName.xml new file mode 100644 index 00000000..9e3d33fa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..05adbd7e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/extensions.xml new file mode 100644 index 00000000..c504ca20 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/extensions.xml @@ -0,0 +1,133 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/idShort.xml new file mode 100644 index 00000000..10b71204 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/qualifiers.xml new file mode 100644 index 00000000..44579e19 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..1b14e287 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElementMetadata/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/category.xml new file mode 100644 index 00000000..dc9df498 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/category.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + NotApplicable + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/description.xml new file mode 100644 index 00000000..b64e9d06 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/description.xml @@ -0,0 +1,114 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + NotApplicable + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/displayName.xml new file mode 100644 index 00000000..c210b165 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/displayName.xml @@ -0,0 +1,114 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + NotApplicable + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/embeddedDataSpecifications.xml new file mode 100644 index 00000000..3dac5184 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/embeddedDataSpecifications.xml @@ -0,0 +1,68 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + NotApplicable + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/extensions.xml new file mode 100644 index 00000000..66984b33 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/extensions.xml @@ -0,0 +1,116 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + NotApplicable + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/id.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/id.xml new file mode 100644 index 00000000..df68ccc6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/id.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + NotApplicable + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/id.xml.errors new file mode 100644 index 00000000..309501d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/idShort.xml new file mode 100644 index 00000000..24c916ec --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/idShort.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + NotApplicable + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/submodels.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/submodels.xml new file mode 100644 index 00000000..82153276 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/submodels.xml @@ -0,0 +1,104 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + NotApplicable + öĖa􍣡™| + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/submodels.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/submodels.xml.errors new file mode 100644 index 00000000..cced5c00 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/submodels.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Submodels must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/assetType.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/assetType.xml new file mode 100644 index 00000000..81c3d644 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/assetType.xml @@ -0,0 +1,89 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + + Batch + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/assetType.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/assetType.xml.errors new file mode 100644 index 00000000..4e8ce9c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/assetType.xml.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/description.xml new file mode 100644 index 00000000..f7f9548d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/description.xml @@ -0,0 +1,80 @@ + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + + Batch + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/displayName.xml new file mode 100644 index 00000000..84bf39a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/displayName.xml @@ -0,0 +1,80 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + + Batch + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/endpoints.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/endpoints.xml new file mode 100644 index 00000000..66bf60f6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/endpoints.xml @@ -0,0 +1,70 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + + Batch + Ûă<P󨱽²|dnœÞ® + + 0 + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/endpoints.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/endpoints.xml.errors new file mode 100644 index 00000000..fa292ae0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/endpoints.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Endpoints must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/extensions.xml new file mode 100644 index 00000000..b4ae6eee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/extensions.xml @@ -0,0 +1,82 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + 0 + + Batch + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/globalAssetId.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/globalAssetId.xml new file mode 100644 index 00000000..0f7856f6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/globalAssetId.xml @@ -0,0 +1,89 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + + Batch + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/globalAssetId.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/globalAssetId.xml.errors new file mode 100644 index 00000000..3aac43a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/globalAssetId.xml.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/id.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/id.xml new file mode 100644 index 00000000..fcfa10ef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/id.xml @@ -0,0 +1,89 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + + Batch + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/id.xml.errors new file mode 100644 index 00000000..309501d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/idShort.xml new file mode 100644 index 00000000..4a61407e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/idShort.xml @@ -0,0 +1,89 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + + Batch + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/idShort.xml.errors new file mode 100644 index 00000000..95ab0958 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/specificAssetIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/specificAssetIds.xml new file mode 100644 index 00000000..68562a58 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/specificAssetIds.xml @@ -0,0 +1,76 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + + Batch + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + <ă<P󨱽²|dnœÞ® + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/specificAssetIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/specificAssetIds.xml.errors new file mode 100644 index 00000000..b7e28d9d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/specificAssetIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Specific asset IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/submodelDescriptors.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/submodelDescriptors.xml new file mode 100644 index 00000000..13cd7576 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/submodelDescriptors.xml @@ -0,0 +1,71 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + + Batch + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/submodelDescriptors.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/submodelDescriptors.xml.errors new file mode 100644 index 00000000..ee78c620 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellDescriptor/submodelDescriptors.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Submodel descriptors must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/category.xml new file mode 100644 index 00000000..fc1441b9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/category.xml @@ -0,0 +1,99 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:some-company:05:3dfe70e9 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/description.xml new file mode 100644 index 00000000..73a66d36 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/description.xml @@ -0,0 +1,90 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:some-company:05:3dfe70e9 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/displayName.xml new file mode 100644 index 00000000..fa68829f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/displayName.xml @@ -0,0 +1,90 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:some-company:05:3dfe70e9 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..6b0bb26a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,44 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + ExternalReference + + + GlobalReference + urn:some-company:05:3dfe70e9 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/extensions.xml new file mode 100644 index 00000000..f64c357f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/extensions.xml @@ -0,0 +1,92 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:some-company:05:3dfe70e9 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/id.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/id.xml new file mode 100644 index 00000000..873d4f8f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/id.xml @@ -0,0 +1,99 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:some-company:05:3dfe70e9 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/id.xml.errors new file mode 100644 index 00000000..309501d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/idShort.xml new file mode 100644 index 00000000..4bb8b72b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/idShort.xml @@ -0,0 +1,99 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:some-company:05:3dfe70e9 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellMetadata/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellRecentChange/globalAssetId.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellRecentChange/globalAssetId.xml new file mode 100644 index 00000000..df24478d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellRecentChange/globalAssetId.xml @@ -0,0 +1,20 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + 0 + + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellRecentChange/globalAssetId.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellRecentChange/globalAssetId.xml.errors new file mode 100644 index 00000000..3aac43a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellRecentChange/globalAssetId.xml.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellRecentChange/id.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellRecentChange/id.xml new file mode 100644 index 00000000..a0f9e42f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellRecentChange/id.xml @@ -0,0 +1,20 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellRecentChange/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellRecentChange/id.xml.errors new file mode 100644 index 00000000..309501d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellRecentChange/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellRecentChange/specificAssetIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellRecentChange/specificAssetIds.xml new file mode 100644 index 00000000..36cd9a8b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellRecentChange/specificAssetIds.xml @@ -0,0 +1,7 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + 0 + 0 + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellRecentChange/specificAssetIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellRecentChange/specificAssetIds.xml.errors new file mode 100644 index 00000000..b7e28d9d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShellRecentChange/specificAssetIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Specific asset IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/assetType.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/assetType.xml new file mode 100644 index 00000000..1a12ecb8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/assetType.xml @@ -0,0 +1,22 @@ + + Batch + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + news:comp.infosystems.www.servers.unix + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/assetType.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/assetType.xml.errors new file mode 100644 index 00000000..4e8ce9c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/assetType.xml.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/globalAssetId.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/globalAssetId.xml new file mode 100644 index 00000000..2e5d2cc8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/globalAssetId.xml @@ -0,0 +1,22 @@ + + Batch + + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + Ûă<P󨱽²|dnœÞ® + + news:comp.infosystems.www.servers.unix + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/globalAssetId.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/globalAssetId.xml.errors new file mode 100644 index 00000000..3aac43a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/globalAssetId.xml.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/specificAssetIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/specificAssetIds.xml new file mode 100644 index 00000000..6f66f1ab --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/specificAssetIds.xml @@ -0,0 +1,9 @@ + + Batch + 0 + + Ûă<P󨱽²|dnœÞ® + + news:comp.infosystems.www.servers.unix + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/specificAssetIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/specificAssetIds.xml.errors new file mode 100644 index 00000000..a87da60e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/specificAssetIds.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-131: Either the global asset ID shall be defined or at least one specific asset ID.; +: Invariant violated: +Specific asset IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetLink/name.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetLink/name.xml new file mode 100644 index 00000000..cbc476bb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetLink/name.xml @@ -0,0 +1,4 @@ + + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetLink/name.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetLink/name.xml.errors new file mode 100644 index 00000000..baac5cdd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetLink/name.xml.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetLink/value.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetLink/value.xml new file mode 100644 index 00000000..dff418fb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetLink/value.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetLink/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetLink/value.xml.errors new file mode 100644 index 00000000..97d5cf04 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetLink/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/category.xml new file mode 100644 index 00000000..4926f55d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/category.xml @@ -0,0 +1,172 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/description.xml new file mode 100644 index 00000000..f1c289ee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/description.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/displayName.xml new file mode 100644 index 00000000..159795f1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/displayName.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/embeddedDataSpecifications.xml new file mode 100644 index 00000000..5b83a436 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/embeddedDataSpecifications.xml @@ -0,0 +1,117 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/extensions.xml new file mode 100644 index 00000000..2e14bd1c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/extensions.xml @@ -0,0 +1,165 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/idShort.xml new file mode 100644 index 00000000..28a9ce0c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/idShort.xml @@ -0,0 +1,172 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/messageTopic.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/messageTopic.xml new file mode 100644 index 00000000..cf6dfb96 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/messageTopic.xml @@ -0,0 +1,172 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/messageTopic.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/messageTopic.xml.errors new file mode 100644 index 00000000..a76cfa6d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/messageTopic.xml.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/qualifiers.xml new file mode 100644 index 00000000..867f1dc5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/qualifiers.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/supplementalSemanticIds.xml new file mode 100644 index 00000000..cb5a501b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/supplementalSemanticIds.xml @@ -0,0 +1,144 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/category.xml new file mode 100644 index 00000000..bae0f86d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/category.xml @@ -0,0 +1,155 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/description.xml new file mode 100644 index 00000000..9b36f1b0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/description.xml @@ -0,0 +1,146 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/displayName.xml new file mode 100644 index 00000000..3a7cb7a7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/displayName.xml @@ -0,0 +1,146 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..d0e53c06 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,100 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/extensions.xml new file mode 100644 index 00000000..8195d3e5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/extensions.xml @@ -0,0 +1,148 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/idShort.xml new file mode 100644 index 00000000..9986ff25 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/idShort.xml @@ -0,0 +1,155 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/messageTopic.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/messageTopic.xml new file mode 100644 index 00000000..31e75674 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/messageTopic.xml @@ -0,0 +1,155 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/messageTopic.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/messageTopic.xml.errors new file mode 100644 index 00000000..a76cfa6d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/messageTopic.xml.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/qualifiers.xml new file mode 100644 index 00000000..66d997e0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/qualifiers.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..03d66e1a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/supplementalSemanticIds.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElementMetadata/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/category.xml new file mode 100644 index 00000000..f0a6cdb5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/category.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/contentType.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/contentType.xml new file mode 100644 index 00000000..e91eedef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/contentType.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/contentType.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/contentType.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/contentType.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/description.xml new file mode 100644 index 00000000..87ab849f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/description.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/displayName.xml new file mode 100644 index 00000000..80a83556 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/displayName.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/embeddedDataSpecifications.xml new file mode 100644 index 00000000..5881f51f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/embeddedDataSpecifications.xml @@ -0,0 +1,87 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/extensions.xml new file mode 100644 index 00000000..c2c028ad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/extensions.xml @@ -0,0 +1,135 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/idShort.xml new file mode 100644 index 00000000..0896696e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/idShort.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/qualifiers.xml new file mode 100644 index 00000000..003b8704 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/qualifiers.xml @@ -0,0 +1,129 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/supplementalSemanticIds.xml new file mode 100644 index 00000000..5df97237 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/supplementalSemanticIds.xml @@ -0,0 +1,114 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/category.xml new file mode 100644 index 00000000..33ee5311 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/description.xml new file mode 100644 index 00000000..71786511 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/displayName.xml new file mode 100644 index 00000000..59df3e3f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..265f4aec --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/extensions.xml new file mode 100644 index 00000000..07dab865 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/extensions.xml @@ -0,0 +1,133 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/idShort.xml new file mode 100644 index 00000000..5b032c45 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/qualifiers.xml new file mode 100644 index 00000000..d49861dc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..11737b9c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobMetadata/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobValue/contentType.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobValue/contentType.xml new file mode 100644 index 00000000..21e1907a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobValue/contentType.xml @@ -0,0 +1,4 @@ + + + RyaIxQ6R/Wrra8w= + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobValue/contentType.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobValue/contentType.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blobValue/contentType.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/category.xml new file mode 100644 index 00000000..59d9f1c7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/description.xml new file mode 100644 index 00000000..aa128650 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/displayName.xml new file mode 100644 index 00000000..40ac9a40 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/embeddedDataSpecifications.xml new file mode 100644 index 00000000..7eee7b49 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/extensions.xml new file mode 100644 index 00000000..ff455ad2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/extensions.xml @@ -0,0 +1,133 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/idShort.xml new file mode 100644 index 00000000..851553c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/qualifiers.xml new file mode 100644 index 00000000..1a39520f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/supplementalSemanticIds.xml new file mode 100644 index 00000000..69b72381 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/category.xml new file mode 100644 index 00000000..160c0040 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/description.xml new file mode 100644 index 00000000..7aa95422 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/displayName.xml new file mode 100644 index 00000000..3169b923 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..e29cf34b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/extensions.xml new file mode 100644 index 00000000..852cc2d8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/extensions.xml @@ -0,0 +1,133 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/idShort.xml new file mode 100644 index 00000000..3a2ca17a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/qualifiers.xml new file mode 100644 index 00000000..d01ba33d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..a60caf74 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capabilityMetadata/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/category.xml new file mode 100644 index 00000000..1d21a354 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/category.xml @@ -0,0 +1,113 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/description.xml new file mode 100644 index 00000000..3b6631c2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/description.xml @@ -0,0 +1,104 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/displayName.xml new file mode 100644 index 00000000..5df20979 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/displayName.xml @@ -0,0 +1,104 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/embeddedDataSpecifications.xml new file mode 100644 index 00000000..145fb3ca --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/embeddedDataSpecifications.xml @@ -0,0 +1,46 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/extensions.xml new file mode 100644 index 00000000..3b6c8423 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/extensions.xml @@ -0,0 +1,106 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/id.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/id.xml new file mode 100644 index 00000000..0290642d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/id.xml @@ -0,0 +1,113 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/id.xml.errors new file mode 100644 index 00000000..309501d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/idShort.xml new file mode 100644 index 00000000..6e5534a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/idShort.xml @@ -0,0 +1,113 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/isCaseOf.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/isCaseOf.xml new file mode 100644 index 00000000..7c4efeca --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/isCaseOf.xml @@ -0,0 +1,103 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/isCaseOf.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/isCaseOf.xml.errors new file mode 100644 index 00000000..759e44b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/isCaseOf.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Is-case-of must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescriptionRecentChange/id.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescriptionRecentChange/id.xml new file mode 100644 index 00000000..e089259b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescriptionRecentChange/id.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescriptionRecentChange/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescriptionRecentChange/id.xml.errors new file mode 100644 index 00000000..309501d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescriptionRecentChange/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/definition.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/definition.xml new file mode 100644 index 00000000..e2ce935a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/definition.xml @@ -0,0 +1,36 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/definition.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/definition.xml.errors new file mode 100644 index 00000000..19aa8cad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/definition.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Definition must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/preferredName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/preferredName.xml new file mode 100644 index 00000000..296dcb81 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/preferredName.xml @@ -0,0 +1,36 @@ + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/preferredName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/preferredName.xml.errors new file mode 100644 index 00000000..3b811557 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/preferredName.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Preferred name must have at least one item.; +: Invariant violated: +Constraint AASc-002: preferred name shall be provided at least in English. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/shortName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/shortName.xml new file mode 100644 index 00000000..7784371f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/shortName.xml @@ -0,0 +1,36 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/shortName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/shortName.xml.errors new file mode 100644 index 00000000..2ae2a42e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/shortName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Short name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/sourceOfDefinition.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/sourceOfDefinition.xml new file mode 100644 index 00000000..c023aab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/sourceOfDefinition.xml @@ -0,0 +1,41 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/sourceOfDefinition.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/sourceOfDefinition.xml.errors new file mode 100644 index 00000000..8ffe22d1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/sourceOfDefinition.xml.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/symbol.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/symbol.xml new file mode 100644 index 00000000..b3ae7432 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/symbol.xml @@ -0,0 +1,41 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/symbol.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/symbol.xml.errors new file mode 100644 index 00000000..3e8f74be --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/symbol.xml.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/unit.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/unit.xml new file mode 100644 index 00000000..d00919c8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/unit.xml @@ -0,0 +1,41 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/unit.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/unit.xml.errors new file mode 100644 index 00000000..cfa1da72 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/unit.xml.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/value.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/value.xml new file mode 100644 index 00000000..b4511af4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/value.xml @@ -0,0 +1,41 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/value.xml.errors new file mode 100644 index 00000000..97d5cf04 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/valueFormat.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/valueFormat.xml new file mode 100644 index 00000000..1ee324da --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/valueFormat.xml @@ -0,0 +1,41 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/valueFormat.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/valueFormat.xml.errors new file mode 100644 index 00000000..037b8fec --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/valueFormat.xml.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/classificationSystem.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/classificationSystem.xml new file mode 100644 index 00000000..1d2d7f45 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/classificationSystem.xml @@ -0,0 +1,33 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + en-JM-x-86de9a4b + <ă<P󨱽²|dnœÞ® + + + en-JM-x-9bd9cd32 + 𠤢4𠤢 + + + en-JM-x-3d2061f3 + J5 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/classificationSystem.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/classificationSystem.xml.errors new file mode 100644 index 00000000..cf96df1c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/classificationSystem.xml.errors @@ -0,0 +1,2 @@ +classificationSystem: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/classificationSystemVersion.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/classificationSystemVersion.xml new file mode 100644 index 00000000..793dab02 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/classificationSystemVersion.xml @@ -0,0 +1,33 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + en-JM-x-86de9a4b + <ă<P󨱽²|dnœÞ® + + + en-JM-x-9bd9cd32 + 𠤢4𠤢 + + + en-JM-x-3d2061f3 + J5 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + <ă<P󨱽²|dnœÞ® + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/classificationSystemVersion.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/classificationSystemVersion.xml.errors new file mode 100644 index 00000000..405c179e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/classificationSystemVersion.xml.errors @@ -0,0 +1,2 @@ +classificationSystemVersion: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/definition.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/definition.xml new file mode 100644 index 00000000..8370bceb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/definition.xml @@ -0,0 +1,28 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-86de9a4b + <ă<P󨱽²|dnœÞ® + + + en-JM-x-9bd9cd32 + 𠤢4𠤢 + + + en-JM-x-3d2061f3 + J5 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/definition.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/definition.xml.errors new file mode 100644 index 00000000..19aa8cad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/definition.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Definition must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/preferredName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/preferredName.xml new file mode 100644 index 00000000..0b174bb7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/preferredName.xml @@ -0,0 +1,28 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + en-JM-x-86de9a4b + <ă<P󨱽²|dnœÞ® + + + en-JM-x-9bd9cd32 + 𠤢4𠤢 + + + en-JM-x-3d2061f3 + J5 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/preferredName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/preferredName.xml.errors new file mode 100644 index 00000000..f9d8802f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/preferredName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Preferred name must have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/preferredNameQuantity.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/preferredNameQuantity.xml new file mode 100644 index 00000000..7e214d34 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/preferredNameQuantity.xml @@ -0,0 +1,20 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/preferredNameQuantity.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/preferredNameQuantity.xml.errors new file mode 100644 index 00000000..938fa721 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/preferredNameQuantity.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Preferred name quantity must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/quantityId.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/quantityId.xml new file mode 100644 index 00000000..abed89b0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/quantityId.xml @@ -0,0 +1,33 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + en-JM-x-86de9a4b + <ă<P󨱽²|dnœÞ® + + + en-JM-x-9bd9cd32 + 𠤢4𠤢 + + + en-JM-x-3d2061f3 + J5 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/quantityId.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/quantityId.xml.errors new file mode 100644 index 00000000..cef7a895 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/quantityId.xml.errors @@ -0,0 +1,2 @@ +quantityId: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/specificUnitId.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/specificUnitId.xml new file mode 100644 index 00000000..98b75228 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/specificUnitId.xml @@ -0,0 +1,33 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + en-JM-x-86de9a4b + <ă<P󨱽²|dnœÞ® + + + en-JM-x-9bd9cd32 + 𠤢4𠤢 + + + en-JM-x-3d2061f3 + J5 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/specificUnitId.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/specificUnitId.xml.errors new file mode 100644 index 00000000..9d174495 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/specificUnitId.xml.errors @@ -0,0 +1,2 @@ +specificUnitId: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/symbol.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/symbol.xml new file mode 100644 index 00000000..994ed8b0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/symbol.xml @@ -0,0 +1,33 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + en-JM-x-86de9a4b + <ă<P󨱽²|dnœÞ® + + + en-JM-x-9bd9cd32 + 𠤢4𠤢 + + + en-JM-x-3d2061f3 + J5 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/symbol.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/symbol.xml.errors new file mode 100644 index 00000000..3e8f74be --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationUom/symbol.xml.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/definitionTypeUom/text.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/definitionTypeUom/text.xml new file mode 100644 index 00000000..472e5008 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/definitionTypeUom/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/definitionTypeUom/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/definitionTypeUom/text.xml.errors new file mode 100644 index 00000000..7cdab4c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/definitionTypeUom/text.xml.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/endpoint/interface.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/endpoint/interface.xml new file mode 100644 index 00000000..899706e8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/endpoint/interface.xml @@ -0,0 +1,6 @@ + + + something_72d646a9 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/endpoint/interface.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/endpoint/interface.xml.errors new file mode 100644 index 00000000..322101a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/endpoint/interface.xml.errors @@ -0,0 +1,2 @@ +interface: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/category.xml new file mode 100644 index 00000000..9b54500b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/category.xml @@ -0,0 +1,161 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/description.xml new file mode 100644 index 00000000..f254e5d0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/description.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/displayName.xml new file mode 100644 index 00000000..e205b915 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/displayName.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/embeddedDataSpecifications.xml new file mode 100644 index 00000000..d89b8fc8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/embeddedDataSpecifications.xml @@ -0,0 +1,106 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/extensions.xml new file mode 100644 index 00000000..eaa5d853 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/extensions.xml @@ -0,0 +1,154 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/globalAssetId.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/globalAssetId.xml new file mode 100644 index 00000000..ab096153 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/globalAssetId.xml @@ -0,0 +1,161 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/globalAssetId.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/globalAssetId.xml.errors new file mode 100644 index 00000000..3aac43a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/globalAssetId.xml.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/idShort.xml new file mode 100644 index 00000000..a520a8da --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/idShort.xml @@ -0,0 +1,161 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/qualifiers.xml new file mode 100644 index 00000000..767cf1d3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/qualifiers.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/specificAssetIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/specificAssetIds.xml new file mode 100644 index 00000000..283bebff --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/specificAssetIds.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/specificAssetIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/specificAssetIds.xml.errors new file mode 100644 index 00000000..b7e28d9d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/specificAssetIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Specific asset IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/statements.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/statements.xml new file mode 100644 index 00000000..fb87c2bc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/statements.xml @@ -0,0 +1,157 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/statements.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/statements.xml.errors new file mode 100644 index 00000000..f39337b9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/statements.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Statements must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/supplementalSemanticIds.xml new file mode 100644 index 00000000..388ffde0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/supplementalSemanticIds.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/category.xml new file mode 100644 index 00000000..32519b09 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/description.xml new file mode 100644 index 00000000..ea2deb85 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/displayName.xml new file mode 100644 index 00000000..a3f986d9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..1bb76e61 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/extensions.xml new file mode 100644 index 00000000..87a0b658 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/extensions.xml @@ -0,0 +1,133 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/idShort.xml new file mode 100644 index 00000000..cfbecd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/qualifiers.xml new file mode 100644 index 00000000..a6b7f4fc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..1d54fdbc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityMetadata/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityValue/globalAssetId.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityValue/globalAssetId.xml new file mode 100644 index 00000000..f9fdf41a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityValue/globalAssetId.xml @@ -0,0 +1,186 @@ + + CoManagedEntity + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + something_9893a589 + + + + 0 + + 7611687.58 + + + + Ûă<P󨱽²|dnœÞ® + + 1 + + + + J5 + + + + + something_976454e1 + + + 6047604.47 + + + + + nested + + 1 + + + + + + + + + + + + 6 + + something_e752ec58 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 2450279.81 + + + + öĖa􍣡™| + + 1 + + + + [\h$񒺟ìÖċŠ1¿ + + + + + something_410466ac + + + 34492713.6 + + + + + nested + + 1 + + + + + + + + + + + + 0 + + something_2af71231 + + + + Ûă<P󨱽²|dnœÞ® + + 41911723.71 + + + + [\h$񒺟ìÖċŠ1¿ + + 1 + + + + J5 + + + + + something_0be6fa02 + + + 71146.82 + + + + + nested + + 0 + + + + + + + + + + + + + aa + + something_ef8d35ae + + + + a-_-_-_-_-_ + + 14955386.36 + + + + fULCVpULCVq + + 0 + + + + strange-name_ + + + + + something_a6bc72af + + + 40013686.16 + + + + + nested + + 1 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityValue/globalAssetId.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityValue/globalAssetId.xml.errors new file mode 100644 index 00000000..3aac43a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityValue/globalAssetId.xml.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityValue/specificAssetIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityValue/specificAssetIds.xml new file mode 100644 index 00000000..1a02fd89 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityValue/specificAssetIds.xml @@ -0,0 +1,50 @@ + + CoManagedEntity + 0 + + + + aa + + something_ef8d35ae + + + + a-_-_-_-_-_ + + 14955386.36 + + + + fULCVpULCVq + + 0 + + + + strange-name_ + + + + + something_a6bc72af + + + 40013686.16 + + + + + nested + + 1 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityValue/specificAssetIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityValue/specificAssetIds.xml.errors new file mode 100644 index 00000000..b7e28d9d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entityValue/specificAssetIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Specific asset IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/assetAdministrationShells.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/assetAdministrationShells.xml new file mode 100644 index 00000000..491eb0a3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/assetAdministrationShells.xml @@ -0,0 +1,13 @@ + + + + + 0 + + + + + 0 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/assetAdministrationShells.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/assetAdministrationShells.xml.errors new file mode 100644 index 00000000..f106a93f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/assetAdministrationShells.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Asset administration shells must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/conceptDescriptions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/conceptDescriptions.xml new file mode 100644 index 00000000..ff202445 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/conceptDescriptions.xml @@ -0,0 +1,24 @@ + + + + J5 + + Type + J5 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + Instance + 򤑌M𪠇𛔊򂄲 + + + + + + 0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/conceptDescriptions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/conceptDescriptions.xml.errors new file mode 100644 index 00000000..41ca3fc0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/conceptDescriptions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Concept descriptions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/submodels.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/submodels.xml new file mode 100644 index 00000000..c0c3240c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/submodels.xml @@ -0,0 +1,24 @@ + + + + J5 + + Type + J5 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + Instance + 򤑌M𪠇𛔊򂄲 + + + + + + + 0 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/submodels.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/submodels.xml.errors new file mode 100644 index 00000000..cced5c00 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/submodels.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Submodels must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/eventPayload/topic.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/eventPayload/topic.xml new file mode 100644 index 00000000..f3d5a01f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/eventPayload/topic.xml @@ -0,0 +1,54 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ExternalReference + + + GlobalReference + urn:an-example:12:1ed44768 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + + ExternalReference + + + GlobalReference + urn:something:16:2204ae04 + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:01:0e4f465d + + + + 2022-04-01T24:00:00-00:00 + /TsF2AbyQb1dIa0= + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/eventPayload/topic.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/eventPayload/topic.xml.errors new file mode 100644 index 00000000..b22e7b77 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/eventPayload/topic.xml.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/name.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/name.xml new file mode 100644 index 00000000..7b8b4099 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/name.xml @@ -0,0 +1,63 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + xs:gDay + ---01 + + + ExternalReference + + + GlobalReference + urn:an-example:18:1d00b242 + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:b45040ec + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/name.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/name.xml.errors new file mode 100644 index 00000000..baac5cdd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/name.xml.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/refersTo.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/refersTo.xml new file mode 100644 index 00000000..bb70f4d7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/refersTo.xml @@ -0,0 +1,44 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01 + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/refersTo.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/refersTo.xml.errors new file mode 100644 index 00000000..761273ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/refersTo.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Refers-to must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/supplementalSemanticIds.xml new file mode 100644 index 00000000..bfd4a0ab --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/supplementalSemanticIds.xml @@ -0,0 +1,35 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01 + + + ExternalReference + + + GlobalReference + urn:an-example:18:1d00b242 + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:b45040ec + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/category.xml new file mode 100644 index 00000000..db9cfb67 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/category.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/contentType.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/contentType.xml new file mode 100644 index 00000000..10601ffe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/contentType.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/contentType.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/contentType.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/contentType.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/description.xml new file mode 100644 index 00000000..e7f0951c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/description.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/displayName.xml new file mode 100644 index 00000000..3a91647f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/displayName.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/embeddedDataSpecifications.xml new file mode 100644 index 00000000..4f0ef4ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/embeddedDataSpecifications.xml @@ -0,0 +1,87 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/extensions.xml new file mode 100644 index 00000000..0d87a76c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/extensions.xml @@ -0,0 +1,135 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/idShort.xml new file mode 100644 index 00000000..2d4c6ea9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/idShort.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/qualifiers.xml new file mode 100644 index 00000000..bfb9ed98 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/qualifiers.xml @@ -0,0 +1,129 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/supplementalSemanticIds.xml new file mode 100644 index 00000000..e0ee700a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/supplementalSemanticIds.xml @@ -0,0 +1,114 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/value.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/value.xml new file mode 100644 index 00000000..2a0f9fc0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/value.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/value.xml.errors new file mode 100644 index 00000000..97d5cf04 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/category.xml new file mode 100644 index 00000000..eedfab77 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/description.xml new file mode 100644 index 00000000..348876ec --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/displayName.xml new file mode 100644 index 00000000..7bb4de6a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..7898280b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/extensions.xml new file mode 100644 index 00000000..bef55d2b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/extensions.xml @@ -0,0 +1,133 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/idShort.xml new file mode 100644 index 00000000..94c702e0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/qualifiers.xml new file mode 100644 index 00000000..4ff1a4ef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..03495136 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileMetadata/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileValue/contentType.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileValue/contentType.xml new file mode 100644 index 00000000..43f864f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileValue/contentType.xml @@ -0,0 +1,4 @@ + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileValue/contentType.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileValue/contentType.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileValue/contentType.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileValue/value.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileValue/value.xml new file mode 100644 index 00000000..057d42cc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileValue/value.xml @@ -0,0 +1,4 @@ + + 15j/5j + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileValue/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileValue/value.xml.errors new file mode 100644 index 00000000..97d5cf04 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/fileValue/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/key/value.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/key/value.xml new file mode 100644 index 00000000..91272d88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/key/value.xml @@ -0,0 +1,4 @@ + + EventElement + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/key/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/key/value.xml.errors new file mode 100644 index 00000000..97d5cf04 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/key/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringDefinitionTypeIec61360/text.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringDefinitionTypeIec61360/text.xml new file mode 100644 index 00000000..399d3359 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringDefinitionTypeIec61360/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringDefinitionTypeIec61360/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringDefinitionTypeIec61360/text.xml.errors new file mode 100644 index 00000000..7cdab4c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringDefinitionTypeIec61360/text.xml.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringNameType/text.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringNameType/text.xml new file mode 100644 index 00000000..e63f486d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringNameType/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringNameType/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringNameType/text.xml.errors new file mode 100644 index 00000000..7cdab4c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringNameType/text.xml.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringPreferredNameTypeIec61360/text.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringPreferredNameTypeIec61360/text.xml new file mode 100644 index 00000000..1fd6f126 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringPreferredNameTypeIec61360/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringPreferredNameTypeIec61360/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringPreferredNameTypeIec61360/text.xml.errors new file mode 100644 index 00000000..7cdab4c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringPreferredNameTypeIec61360/text.xml.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringShortNameTypeIec61360/text.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringShortNameTypeIec61360/text.xml new file mode 100644 index 00000000..8e285365 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringShortNameTypeIec61360/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringShortNameTypeIec61360/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringShortNameTypeIec61360/text.xml.errors new file mode 100644 index 00000000..7cdab4c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringShortNameTypeIec61360/text.xml.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringTextType/text.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringTextType/text.xml new file mode 100644 index 00000000..5a3c0526 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringTextType/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringTextType/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringTextType/text.xml.errors new file mode 100644 index 00000000..7cdab4c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringTextType/text.xml.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringUom/text.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringUom/text.xml new file mode 100644 index 00000000..7936fce0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringUom/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringUom/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringUom/text.xml.errors new file mode 100644 index 00000000..7cdab4c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringUom/text.xml.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/matchClause/matchOperands.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/matchClause/matchOperands.xml new file mode 100644 index 00000000..c01d99bf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/matchClause/matchOperands.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/matchClause/matchOperands.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/matchClause/matchOperands.xml.errors new file mode 100644 index 00000000..7c5f65a4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/matchClause/matchOperands.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Match operands must have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/message/code.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/message/code.xml new file mode 100644 index 00000000..2114db73 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/message/code.xml @@ -0,0 +1,7 @@ + + Exception + something_24bc8444 + + 򤑌M𪠇𛔊򂄲 + 123456789012345678901234567-04-01T00:00:00Z + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/message/code.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/message/code.xml.errors new file mode 100644 index 00000000..a22f09c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/message/code.xml.errors @@ -0,0 +1,2 @@ +code: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/message/correlationId.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/message/correlationId.xml new file mode 100644 index 00000000..719d31e6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/message/correlationId.xml @@ -0,0 +1,7 @@ + + Exception + something_24bc8444 + something_ee3c0402 + + 123456789012345678901234567-04-01T00:00:00Z + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/message/correlationId.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/message/correlationId.xml.errors new file mode 100644 index 00000000..1b05f2e7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/message/correlationId.xml.errors @@ -0,0 +1,2 @@ +correlationId: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/category.xml new file mode 100644 index 00000000..9c799b77 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/category.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/description.xml new file mode 100644 index 00000000..fecaee0a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/description.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/displayName.xml new file mode 100644 index 00000000..e300c00f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/displayName.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/embeddedDataSpecifications.xml new file mode 100644 index 00000000..f40e6e8f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/embeddedDataSpecifications.xml @@ -0,0 +1,104 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/extensions.xml new file mode 100644 index 00000000..3db7e25e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/extensions.xml @@ -0,0 +1,152 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/idShort.xml new file mode 100644 index 00000000..f75cfa2c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/idShort.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/qualifiers.xml new file mode 100644 index 00000000..ad366072 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/qualifiers.xml @@ -0,0 +1,146 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/supplementalSemanticIds.xml new file mode 100644 index 00000000..a4c4ba8f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/supplementalSemanticIds.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/value.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/value.xml new file mode 100644 index 00000000..4183f0e5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/value.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/value.xml.errors new file mode 100644 index 00000000..51c7186f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/value.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/category.xml new file mode 100644 index 00000000..f91f8d86 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/description.xml new file mode 100644 index 00000000..8fd2d826 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/displayName.xml new file mode 100644 index 00000000..67d6f96f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..0ad07785 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/extensions.xml new file mode 100644 index 00000000..53cc77b7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/extensions.xml @@ -0,0 +1,133 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/idShort.xml new file mode 100644 index 00000000..5050031b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/qualifiers.xml new file mode 100644 index 00000000..3426bbc6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..cb0604c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguagePropertyMetadata/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/category.xml new file mode 100644 index 00000000..c4f25fb2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/category.xml @@ -0,0 +1,213 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/description.xml new file mode 100644 index 00000000..a26554dd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/description.xml @@ -0,0 +1,204 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/displayName.xml new file mode 100644 index 00000000..5bfc586d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/displayName.xml @@ -0,0 +1,204 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/embeddedDataSpecifications.xml new file mode 100644 index 00000000..82b96096 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/embeddedDataSpecifications.xml @@ -0,0 +1,158 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/extensions.xml new file mode 100644 index 00000000..7845447f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/extensions.xml @@ -0,0 +1,206 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/idShort.xml new file mode 100644 index 00000000..bf79c339 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/idShort.xml @@ -0,0 +1,213 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inoutputVariables.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inoutputVariables.xml new file mode 100644 index 00000000..0dfcdbe0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inoutputVariables.xml @@ -0,0 +1,166 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inoutputVariables.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inoutputVariables.xml.errors new file mode 100644 index 00000000..fa29eda5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inoutputVariables.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Inoutput variables must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inputVariables.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inputVariables.xml new file mode 100644 index 00000000..71bee65b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inputVariables.xml @@ -0,0 +1,205 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inputVariables.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inputVariables.xml.errors new file mode 100644 index 00000000..36304a74 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inputVariables.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Input variables must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/outputVariables.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/outputVariables.xml new file mode 100644 index 00000000..127123ef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/outputVariables.xml @@ -0,0 +1,198 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/outputVariables.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/outputVariables.xml.errors new file mode 100644 index 00000000..87964da2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/outputVariables.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Output variables must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/qualifiers.xml new file mode 100644 index 00000000..a93b5d64 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/qualifiers.xml @@ -0,0 +1,200 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/supplementalSemanticIds.xml new file mode 100644 index 00000000..43c0e5f3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/supplementalSemanticIds.xml @@ -0,0 +1,185 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationHandle/handleId.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationHandle/handleId.xml new file mode 100644 index 00000000..8f3ed524 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationHandle/handleId.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationHandle/handleId.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationHandle/handleId.xml.errors new file mode 100644 index 00000000..7758900c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationHandle/handleId.xml.errors @@ -0,0 +1,2 @@ +handleId: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/category.xml new file mode 100644 index 00000000..bf6aaec1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/description.xml new file mode 100644 index 00000000..174784af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/displayName.xml new file mode 100644 index 00000000..9a85bdfa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..70b21008 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/extensions.xml new file mode 100644 index 00000000..2996e77a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/extensions.xml @@ -0,0 +1,133 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/idShort.xml new file mode 100644 index 00000000..d054068c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/qualifiers.xml new file mode 100644 index 00000000..13c77207 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..02150c44 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationMetadata/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequest/inoutputArguments.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequest/inoutputArguments.xml new file mode 100644 index 00000000..6b82ded2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequest/inoutputArguments.xml @@ -0,0 +1,28 @@ + + + + + + something01a52cdc + xs:hexBinary + + + + + + + something854a0297 + + + + + + + something433fbada + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequest/inoutputArguments.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequest/inoutputArguments.xml.errors new file mode 100644 index 00000000..3e13dfbd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequest/inoutputArguments.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +InOutput arguments must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequest/inputArguments.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequest/inputArguments.xml new file mode 100644 index 00000000..402922a9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequest/inputArguments.xml @@ -0,0 +1,13 @@ + + + + + + + something291e2566 + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequest/inputArguments.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequest/inputArguments.xml.errors new file mode 100644 index 00000000..a2c74e01 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequest/inputArguments.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Input arguments must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequestAsync/inoutputArguments.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequestAsync/inoutputArguments.xml new file mode 100644 index 00000000..9ee4cf65 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequestAsync/inoutputArguments.xml @@ -0,0 +1,28 @@ + + + + + + something01a52cdc + xs:hexBinary + + + + + + + something854a0297 + + + + + + + something433fbada + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequestAsync/inoutputArguments.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequestAsync/inoutputArguments.xml.errors new file mode 100644 index 00000000..3e13dfbd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequestAsync/inoutputArguments.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +InOutput arguments must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequestAsync/inputArguments.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequestAsync/inputArguments.xml new file mode 100644 index 00000000..bbfdc62b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequestAsync/inputArguments.xml @@ -0,0 +1,13 @@ + + + + + + + something291e2566 + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequestAsync/inputArguments.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequestAsync/inputArguments.xml.errors new file mode 100644 index 00000000..a2c74e01 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationRequestAsync/inputArguments.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Input arguments must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationResult/inoutputArguments.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationResult/inoutputArguments.xml new file mode 100644 index 00000000..f0ae79ca --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationResult/inoutputArguments.xml @@ -0,0 +1,39 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + + + somethingd6d6ab05 + xs:string + + + + + + + something702c736e + + + + + + + something63bf5473 + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationResult/inoutputArguments.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationResult/inoutputArguments.xml.errors new file mode 100644 index 00000000..3e13dfbd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationResult/inoutputArguments.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +InOutput arguments must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationResult/outputArguments.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationResult/outputArguments.xml new file mode 100644 index 00000000..9cbdaae6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationResult/outputArguments.xml @@ -0,0 +1,24 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + + + + something291e2566 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationResult/outputArguments.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationResult/outputArguments.xml.errors new file mode 100644 index 00000000..c06aec66 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operationResult/outputArguments.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Output arguments must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/orExpression/orOperands.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/orExpression/orOperands.xml new file mode 100644 index 00000000..43d92407 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/orExpression/orOperands.xml @@ -0,0 +1,14 @@ + + + + + + 16#DEADBEEF + + + 16#00 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/orExpression/orOperands.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/orExpression/orOperands.xml.errors new file mode 100644 index 00000000..139a8cee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/orExpression/orOperands.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Or operands must have at least two items. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/packageDescription/packageId.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/packageDescription/packageId.xml new file mode 100644 index 00000000..64ca8a9d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/packageDescription/packageId.xml @@ -0,0 +1,8 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + J5 + <ă<P󨱽²|dnœÞ® + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/packageDescription/packageId.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/packageDescription/packageId.xml.errors new file mode 100644 index 00000000..9b843185 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/packageDescription/packageId.xml.errors @@ -0,0 +1,2 @@ +packageId: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/category.xml new file mode 100644 index 00000000..cf96ac82 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/category.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/description.xml new file mode 100644 index 00000000..ee9001f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/description.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/displayName.xml new file mode 100644 index 00000000..3d98be6a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/displayName.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/embeddedDataSpecifications.xml new file mode 100644 index 00000000..5e675a1c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/embeddedDataSpecifications.xml @@ -0,0 +1,96 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/extensions.xml new file mode 100644 index 00000000..6135413b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/extensions.xml @@ -0,0 +1,144 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/idShort.xml new file mode 100644 index 00000000..5c6f7882 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/idShort.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/qualifiers.xml new file mode 100644 index 00000000..7c26cb0c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/qualifiers.xml @@ -0,0 +1,138 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/supplementalSemanticIds.xml new file mode 100644 index 00000000..bb1936cd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/supplementalSemanticIds.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/category.xml new file mode 100644 index 00000000..3e19da47 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/category.xml @@ -0,0 +1,141 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/description.xml new file mode 100644 index 00000000..2ddeb9f9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/description.xml @@ -0,0 +1,132 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/displayName.xml new file mode 100644 index 00000000..9bd0fa36 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/displayName.xml @@ -0,0 +1,132 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..a87ad240 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,86 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/extensions.xml new file mode 100644 index 00000000..0e53cb8c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/extensions.xml @@ -0,0 +1,134 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/idShort.xml new file mode 100644 index 00000000..7445f066 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/idShort.xml @@ -0,0 +1,141 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/qualifiers.xml new file mode 100644 index 00000000..064e7b54 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/qualifiers.xml @@ -0,0 +1,128 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..f843953a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/supplementalSemanticIds.xml @@ -0,0 +1,113 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/propertyMetadata/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/endpointProtocol.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/endpointProtocol.xml new file mode 100644 index 00000000..836d4c57 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/endpointProtocol.xml @@ -0,0 +1,29 @@ + + something_cd6881d8 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 0 + something_063944e1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + W3C_DID + something_9babbd6a + something_05eecee4 + + + RFC_TLSA + something_5beee992 + something_9106f4e0 + + + RFC_TLSA + something_580cb1d7 + something_23f8577a + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/endpointProtocol.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/endpointProtocol.xml.errors new file mode 100644 index 00000000..290b7cce --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/endpointProtocol.xml.errors @@ -0,0 +1,2 @@ +endpointProtocol: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/href.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/href.xml new file mode 100644 index 00000000..87c12835 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/href.xml @@ -0,0 +1,29 @@ + + + Ûă<P󨱽²|dnœÞ® + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 0 + something_063944e1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + W3C_DID + something_9babbd6a + something_05eecee4 + + + RFC_TLSA + something_5beee992 + something_9106f4e0 + + + RFC_TLSA + something_580cb1d7 + something_23f8577a + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/href.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/href.xml.errors new file mode 100644 index 00000000..cfd3a535 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/href.xml.errors @@ -0,0 +1,2 @@ +href: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/securityAttributes.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/securityAttributes.xml new file mode 100644 index 00000000..214ffa36 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/securityAttributes.xml @@ -0,0 +1,13 @@ + + something_cd6881d8 + Ûă<P󨱽²|dnœÞ® + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 0 + something_063944e1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/securityAttributes.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/securityAttributes.xml.errors new file mode 100644 index 00000000..c2aaa783 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/securityAttributes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Security attributes must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/subprotocol.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/subprotocol.xml new file mode 100644 index 00000000..f5aef9f6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/subprotocol.xml @@ -0,0 +1,29 @@ + + something_cd6881d8 + Ûă<P󨱽²|dnœÞ® + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + something_063944e1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + W3C_DID + something_9babbd6a + something_05eecee4 + + + RFC_TLSA + something_5beee992 + something_9106f4e0 + + + RFC_TLSA + something_580cb1d7 + something_23f8577a + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/subprotocol.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/subprotocol.xml.errors new file mode 100644 index 00000000..f1e56ab5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/subprotocol.xml.errors @@ -0,0 +1,2 @@ +subprotocol: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/subprotocolBody.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/subprotocolBody.xml new file mode 100644 index 00000000..e12cbfad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/subprotocolBody.xml @@ -0,0 +1,29 @@ + + something_cd6881d8 + Ûă<P󨱽²|dnœÞ® + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 0 + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + W3C_DID + something_9babbd6a + something_05eecee4 + + + RFC_TLSA + something_5beee992 + something_9106f4e0 + + + RFC_TLSA + something_580cb1d7 + something_23f8577a + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/subprotocolBody.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/subprotocolBody.xml.errors new file mode 100644 index 00000000..811cf3a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/subprotocolBody.xml.errors @@ -0,0 +1,2 @@ +subprotocolBody: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/subprotocolBodyEncoding.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/subprotocolBodyEncoding.xml new file mode 100644 index 00000000..b268c7b8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/subprotocolBodyEncoding.xml @@ -0,0 +1,29 @@ + + something_cd6881d8 + Ûă<P󨱽²|dnœÞ® + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 0 + something_063944e1 + + + + W3C_DID + something_9babbd6a + something_05eecee4 + + + RFC_TLSA + something_5beee992 + something_9106f4e0 + + + RFC_TLSA + something_580cb1d7 + something_23f8577a + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/subprotocolBodyEncoding.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/subprotocolBodyEncoding.xml.errors new file mode 100644 index 00000000..f8071f1f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/protocolInformation/subprotocolBodyEncoding.xml.errors @@ -0,0 +1,2 @@ +subprotocolBodyEncoding: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/supplementalSemanticIds.xml new file mode 100644 index 00000000..f43605da --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/supplementalSemanticIds.xml @@ -0,0 +1,25 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + ValueQualifier + 6 + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/type.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/type.xml new file mode 100644 index 00000000..c754e742 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/type.xml @@ -0,0 +1,53 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + ValueQualifier + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/type.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/type.xml.errors new file mode 100644 index 00000000..ae07aabf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/type.xml.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/category.xml new file mode 100644 index 00000000..cafe1c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/category.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/description.xml new file mode 100644 index 00000000..23969730 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/description.xml @@ -0,0 +1,134 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/displayName.xml new file mode 100644 index 00000000..58d82d5d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/displayName.xml @@ -0,0 +1,134 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/embeddedDataSpecifications.xml new file mode 100644 index 00000000..28fa3d20 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/embeddedDataSpecifications.xml @@ -0,0 +1,88 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/extensions.xml new file mode 100644 index 00000000..46e73cb7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/extensions.xml @@ -0,0 +1,136 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/idShort.xml new file mode 100644 index 00000000..34a2994a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/idShort.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/qualifiers.xml new file mode 100644 index 00000000..d6bd2b7a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/qualifiers.xml @@ -0,0 +1,130 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/supplementalSemanticIds.xml new file mode 100644 index 00000000..a01be64d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/supplementalSemanticIds.xml @@ -0,0 +1,115 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/category.xml new file mode 100644 index 00000000..403e5765 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/category.xml @@ -0,0 +1,141 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/description.xml new file mode 100644 index 00000000..ea1881cc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/description.xml @@ -0,0 +1,132 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/displayName.xml new file mode 100644 index 00000000..0cf9ee5d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/displayName.xml @@ -0,0 +1,132 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..19c6a823 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,86 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/extensions.xml new file mode 100644 index 00000000..1a244c08 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/extensions.xml @@ -0,0 +1,134 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/idShort.xml new file mode 100644 index 00000000..1a4b6c5a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/idShort.xml @@ -0,0 +1,141 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/qualifiers.xml new file mode 100644 index 00000000..8136bc85 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/qualifiers.xml @@ -0,0 +1,128 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..1df17784 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/supplementalSemanticIds.xml @@ -0,0 +1,113 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/rangeMetadata/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/reference/keys.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/reference/keys.xml new file mode 100644 index 00000000..04acfa39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/reference/keys.xml @@ -0,0 +1,13 @@ + + ExternalReference + + ExternalReference + + + GlobalReference + urn:another-example:00:3fff168c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/reference/keys.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/reference/keys.xml.errors new file mode 100644 index 00000000..cb0c3fd5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/reference/keys.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Keys must contain at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/category.xml new file mode 100644 index 00000000..f8b616df --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/category.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/description.xml new file mode 100644 index 00000000..1a8b2c1c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/description.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/displayName.xml new file mode 100644 index 00000000..183f185f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/displayName.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/embeddedDataSpecifications.xml new file mode 100644 index 00000000..ade751ca --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/embeddedDataSpecifications.xml @@ -0,0 +1,94 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/extensions.xml new file mode 100644 index 00000000..37d4b70b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/extensions.xml @@ -0,0 +1,142 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/idShort.xml new file mode 100644 index 00000000..bfda1677 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/idShort.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/qualifiers.xml new file mode 100644 index 00000000..cb8297e7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/qualifiers.xml @@ -0,0 +1,136 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/supplementalSemanticIds.xml new file mode 100644 index 00000000..cb8269ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/supplementalSemanticIds.xml @@ -0,0 +1,121 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/category.xml new file mode 100644 index 00000000..b4d2ad27 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/description.xml new file mode 100644 index 00000000..c112d39b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/displayName.xml new file mode 100644 index 00000000..f64c0dea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..4f5d3ccd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/extensions.xml new file mode 100644 index 00000000..fa6ab7ca --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/extensions.xml @@ -0,0 +1,133 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/idShort.xml new file mode 100644 index 00000000..7785c083 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/qualifiers.xml new file mode 100644 index 00000000..dc51a0cb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..b179bfb4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementMetadata/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementValue/keys.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementValue/keys.xml new file mode 100644 index 00000000..65080cd9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementValue/keys.xml @@ -0,0 +1,13 @@ + + ExternalReference + + + ExternalReference + + + GlobalReference + urn:another-example:00:3fff168c + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementValue/keys.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementValue/keys.xml.errors new file mode 100644 index 00000000..cb0c3fd5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElementValue/keys.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Keys must contain at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/category.xml new file mode 100644 index 00000000..cbdc47b0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/category.xml @@ -0,0 +1,158 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/description.xml new file mode 100644 index 00000000..2baaaa01 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/description.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/displayName.xml new file mode 100644 index 00000000..c229e11d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/displayName.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/embeddedDataSpecifications.xml new file mode 100644 index 00000000..bf9afa36 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/embeddedDataSpecifications.xml @@ -0,0 +1,103 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/extensions.xml new file mode 100644 index 00000000..c887bcd3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/extensions.xml @@ -0,0 +1,151 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/idShort.xml new file mode 100644 index 00000000..9ec27d3c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/idShort.xml @@ -0,0 +1,158 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/qualifiers.xml new file mode 100644 index 00000000..a46c6cbf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/qualifiers.xml @@ -0,0 +1,145 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/supplementalSemanticIds.xml new file mode 100644 index 00000000..28ab1b96 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/supplementalSemanticIds.xml @@ -0,0 +1,130 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/category.xml new file mode 100644 index 00000000..3d38dcfa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/description.xml new file mode 100644 index 00000000..9b2e4f7e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/displayName.xml new file mode 100644 index 00000000..06bd7c74 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..1be163bf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/extensions.xml new file mode 100644 index 00000000..f4334313 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/extensions.xml @@ -0,0 +1,133 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/idShort.xml new file mode 100644 index 00000000..baa7f687 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/qualifiers.xml new file mode 100644 index 00000000..f1c03e65 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..8d803a45 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElementMetadata/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/contentType.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/contentType.xml new file mode 100644 index 00000000..eaa8fe91 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/contentType.xml @@ -0,0 +1,4 @@ + + #; + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/contentType.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/contentType.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/contentType.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/path.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/path.xml new file mode 100644 index 00000000..e4a954ef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/path.xml @@ -0,0 +1,4 @@ + + + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/path.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/path.xml.errors new file mode 100644 index 00000000..14110946 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/path.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/serviceDescription/profiles.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/serviceDescription/profiles.xml new file mode 100644 index 00000000..7cc1d2a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/serviceDescription/profiles.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/serviceDescription/profiles.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/serviceDescription/profiles.xml.errors new file mode 100644 index 00000000..3d31acd8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/serviceDescription/profiles.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Profiles must contain at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/name.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/name.xml new file mode 100644 index 00000000..59ffbd8a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/name.xml @@ -0,0 +1,51 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + 򤑌M𪠇𛔊򂄲 + + ExternalReference + + + GlobalReference + urn:an-example:01:3a080c99 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/name.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/name.xml.errors new file mode 100644 index 00000000..baac5cdd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/name.xml.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/supplementalSemanticIds.xml new file mode 100644 index 00000000..486f67f7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/supplementalSemanticIds.xml @@ -0,0 +1,23 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + Ûă<P󨱽²|dnœÞ® + 򤑌M𪠇𛔊򂄲 + + ExternalReference + + + GlobalReference + urn:an-example:01:3a080c99 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/value.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/value.xml new file mode 100644 index 00000000..565b38ad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/value.xml @@ -0,0 +1,51 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + + + ExternalReference + + + GlobalReference + urn:an-example:01:3a080c99 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/value.xml.errors new file mode 100644 index 00000000..97d5cf04 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/stringLiteral/strVal.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/stringLiteral/strVal.xml new file mode 100644 index 00000000..27171a27 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/stringLiteral/strVal.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/stringLiteral/strVal.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/stringLiteral/strVal.xml.errors new file mode 100644 index 00000000..15f9d658 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/stringLiteral/strVal.xml.errors @@ -0,0 +1,2 @@ +["$strVal"]: Invariant violated: +The value must have at least one character. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/category.xml new file mode 100644 index 00000000..a440c6da --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/category.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/description.xml new file mode 100644 index 00000000..522919e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/description.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/displayName.xml new file mode 100644 index 00000000..025747a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/displayName.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/embeddedDataSpecifications.xml new file mode 100644 index 00000000..93c0de27 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/embeddedDataSpecifications.xml @@ -0,0 +1,97 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/extensions.xml new file mode 100644 index 00000000..58fc32f9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/extensions.xml @@ -0,0 +1,145 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/id.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/id.xml new file mode 100644 index 00000000..f666f0d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/id.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/id.xml.errors new file mode 100644 index 00000000..309501d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/idShort.xml new file mode 100644 index 00000000..0ac02b26 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/idShort.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/qualifiers.xml new file mode 100644 index 00000000..4410bea9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/qualifiers.xml @@ -0,0 +1,139 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/submodelElements.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/submodelElements.xml new file mode 100644 index 00000000..ab273561 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/submodelElements.xml @@ -0,0 +1,144 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/submodelElements.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/submodelElements.xml.errors new file mode 100644 index 00000000..74312df8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/submodelElements.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Submodel elements must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/supplementalSemanticIds.xml new file mode 100644 index 00000000..5445b753 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/supplementalSemanticIds.xml @@ -0,0 +1,124 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/description.xml new file mode 100644 index 00000000..f6a32cc1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/description.xml @@ -0,0 +1,82 @@ + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + + <ă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/displayName.xml new file mode 100644 index 00000000..c5ea18c8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/displayName.xml @@ -0,0 +1,82 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + + <ă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/endpoints.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/endpoints.xml new file mode 100644 index 00000000..b2b26725 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/endpoints.xml @@ -0,0 +1,72 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + 0 + + <ă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/endpoints.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/endpoints.xml.errors new file mode 100644 index 00000000..02c512f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/endpoints.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Endpoints must contain at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/extensions.xml new file mode 100644 index 00000000..65f8d85b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/extensions.xml @@ -0,0 +1,84 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + + <ă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/id.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/id.xml new file mode 100644 index 00000000..832a912d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/id.xml @@ -0,0 +1,91 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + + + <ă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/id.xml.errors new file mode 100644 index 00000000..309501d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/idShort.xml new file mode 100644 index 00000000..8023ac3a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/idShort.xml @@ -0,0 +1,91 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/idShort.xml.errors new file mode 100644 index 00000000..95ab0958 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/supplementalSemanticIds.xml new file mode 100644 index 00000000..2723ba24 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/supplementalSemanticIds.xml @@ -0,0 +1,63 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + + <ă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelDescriptor/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/category.xml new file mode 100644 index 00000000..be10bc52 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/category.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/description.xml new file mode 100644 index 00000000..1619fb3e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/description.xml @@ -0,0 +1,154 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/displayName.xml new file mode 100644 index 00000000..724fa0d8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/displayName.xml @@ -0,0 +1,154 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/embeddedDataSpecifications.xml new file mode 100644 index 00000000..7897b100 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/embeddedDataSpecifications.xml @@ -0,0 +1,108 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/extensions.xml new file mode 100644 index 00000000..032670ab --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/extensions.xml @@ -0,0 +1,156 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/idShort.xml new file mode 100644 index 00000000..d36e8ea3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/idShort.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/qualifiers.xml new file mode 100644 index 00000000..6766686c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/qualifiers.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/supplementalSemanticIds.xml new file mode 100644 index 00000000..154584c7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/supplementalSemanticIds.xml @@ -0,0 +1,135 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/value.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/value.xml new file mode 100644 index 00000000..ba421ac7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/value.xml @@ -0,0 +1,141 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/value.xml.errors new file mode 100644 index 00000000..51c7186f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/value.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/category.xml new file mode 100644 index 00000000..caccc467 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/description.xml new file mode 100644 index 00000000..d1a4b512 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/displayName.xml new file mode 100644 index 00000000..68fe563f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..d076b15b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/extensions.xml new file mode 100644 index 00000000..b50aece0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/extensions.xml @@ -0,0 +1,133 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/idShort.xml new file mode 100644 index 00000000..14a6b9da --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/qualifiers.xml new file mode 100644 index 00000000..07dc2779 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..6e7a7d98 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollectionMetadata/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/category.xml new file mode 100644 index 00000000..674171cf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/category.xml @@ -0,0 +1,178 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/description.xml new file mode 100644 index 00000000..36ecdfcf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/description.xml @@ -0,0 +1,169 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/displayName.xml new file mode 100644 index 00000000..126aeddc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/displayName.xml @@ -0,0 +1,169 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/embeddedDataSpecifications.xml new file mode 100644 index 00000000..d0113b6c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/embeddedDataSpecifications.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/extensions.xml new file mode 100644 index 00000000..f19796cc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/extensions.xml @@ -0,0 +1,171 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/idShort.xml new file mode 100644 index 00000000..6cc9c2ec --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/idShort.xml @@ -0,0 +1,178 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/qualifiers.xml new file mode 100644 index 00000000..167bc686 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/qualifiers.xml @@ -0,0 +1,165 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/supplementalSemanticIds.xml new file mode 100644 index 00000000..77791ad8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/supplementalSemanticIds.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/value.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/value.xml new file mode 100644 index 00000000..78daba7a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/value.xml @@ -0,0 +1,153 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/value.xml.errors new file mode 100644 index 00000000..51c7186f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/value.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/category.xml new file mode 100644 index 00000000..0f32e6c4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/category.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/description.xml new file mode 100644 index 00000000..1c73ecd6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/description.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/displayName.xml new file mode 100644 index 00000000..549769ee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/displayName.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..3740e322 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,97 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/extensions.xml new file mode 100644 index 00000000..c173b2e5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/extensions.xml @@ -0,0 +1,145 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/idShort.xml new file mode 100644 index 00000000..46352cb5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/idShort.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/qualifiers.xml new file mode 100644 index 00000000..e85b481d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/qualifiers.xml @@ -0,0 +1,139 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..887e640d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/supplementalSemanticIds.xml @@ -0,0 +1,124 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementListMetadata/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/category.xml new file mode 100644 index 00000000..e6ac73aa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/category.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/description.xml new file mode 100644 index 00000000..7e9b424e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/description.xml @@ -0,0 +1,134 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/displayName.xml new file mode 100644 index 00000000..adf8f6a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/displayName.xml @@ -0,0 +1,134 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..bf44c7cd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,88 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/extensions.xml new file mode 100644 index 00000000..bd2c0107 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/extensions.xml @@ -0,0 +1,136 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/id.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/id.xml new file mode 100644 index 00000000..cf4097f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/id.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/id.xml.errors new file mode 100644 index 00000000..309501d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/idShort.xml new file mode 100644 index 00000000..cfdbf92d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/idShort.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/idShort.xml.errors new file mode 100644 index 00000000..219dff56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/qualifiers.xml new file mode 100644 index 00000000..49d19127 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/qualifiers.xml @@ -0,0 +1,130 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..556b6f51 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/supplementalSemanticIds.xml @@ -0,0 +1,115 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelMetadata/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelRecentChange/id.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelRecentChange/id.xml new file mode 100644 index 00000000..4cebeb37 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelRecentChange/id.xml @@ -0,0 +1,43 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelRecentChange/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelRecentChange/id.xml.errors new file mode 100644 index 00000000..309501d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelRecentChange/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelRecentChange/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelRecentChange/supplementalSemanticIds.xml new file mode 100644 index 00000000..cb13fb1f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelRecentChange/supplementalSemanticIds.xml @@ -0,0 +1,15 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + 0 + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelRecentChange/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelRecentChange/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelRecentChange/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueList/valueReferencePairs.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueList/valueReferencePairs.xml new file mode 100644 index 00000000..ad766699 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueList/valueReferencePairs.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueList/valueReferencePairs.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueList/valueReferencePairs.xml.errors new file mode 100644 index 00000000..3b3a1aae --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueList/valueReferencePairs.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value reference pair types must contain at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueReferencePair/value.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueReferencePair/value.xml new file mode 100644 index 00000000..9f9c27e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueReferencePair/value.xml @@ -0,0 +1,12 @@ + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueReferencePair/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueReferencePair/value.xml.errors new file mode 100644 index 00000000..97d5cf04 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueReferencePair/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/date_time_with_UTC_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/date_time_with_UTC_and_suffix.xml new file mode 100644 index 00000000..d78063fa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/date_time_with_UTC_and_suffix.xml @@ -0,0 +1,3 @@ + + 2022-04-01T01:02:03Z-unexpected-suffix + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/date_time_with_UTC_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/date_time_with_UTC_and_suffix.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/date_time_with_UTC_and_suffix.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/date_time_with_offset.xml new file mode 100644 index 00000000..2af7c9a2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/date_time_with_offset.xml @@ -0,0 +1,3 @@ + + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/date_time_with_offset.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/date_time_with_offset.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/date_time_without_zone.xml new file mode 100644 index 00000000..40649222 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/date_time_without_zone.xml @@ -0,0 +1,3 @@ + + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/date_time_without_zone.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/date_time_without_zone.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/empty.xml new file mode 100644 index 00000000..171f6438 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/empty.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/empty.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/empty.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/invalid_february_29th.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/invalid_february_29th.xml new file mode 100644 index 00000000..5b7bb554 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/invalid_february_29th.xml @@ -0,0 +1,3 @@ + + 2026-02-29T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/invalid_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/invalid_february_29th.xml.errors new file mode 100644 index 00000000..66d5d19f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/invalid_february_29th.xml.errors @@ -0,0 +1,2 @@ +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_02.xml new file mode 100644 index 00000000..3c0caf11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + <1𼨆򈷐Å\H󀨓 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_02.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_03.xml new file mode 100644 index 00000000..e42b8cf8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_03.xml @@ -0,0 +1,3 @@ + + 𢬣񂡼Í·ð˜²+š񁅿 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_03.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_04.xml new file mode 100644 index 00000000..2091d3d6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + 񊒳ð…񇐯 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_04.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_05.xml new file mode 100644 index 00000000..176a362d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 󢮾e𓕍—ñ> + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_05.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_06.xml new file mode 100644 index 00000000..9b729ded --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + 􃶦𮝸 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_06.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_08.xml new file mode 100644 index 00000000..25f2f78d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_08.xml @@ -0,0 +1,3 @@ + + hh + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_09.xml new file mode 100644 index 00000000..ac41d333 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_09.xml @@ -0,0 +1,3 @@ + + E…𑄦𠧃Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_09.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_10.xml new file mode 100644 index 00000000..d6b502c3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_10.xml @@ -0,0 +1,3 @@ + + 󉻽󉻽񻫾𛾨􉂌𓺶 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/negatively_fuzzed_10.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/only_date.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/only_date.xml new file mode 100644 index 00000000..4d80a502 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/only_date.xml @@ -0,0 +1,3 @@ + + 2022-04-01 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/only_date.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/only_date.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/only_date.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/only_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/only_date_with_time_zone.xml new file mode 100644 index 00000000..61ade914 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/only_date_with_time_zone.xml @@ -0,0 +1,3 @@ + + 2022-04-01Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/only_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/only_date_with_time_zone.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/only_date_with_time_zone.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/without_minutes.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/without_minutes.xml new file mode 100644 index 00000000..a19bf15b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/without_minutes.xml @@ -0,0 +1,3 @@ + + 2022-04-01T01Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/without_minutes.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/without_minutes.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/without_seconds.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/without_seconds.xml new file mode 100644 index 00000000..851c30cd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/without_seconds.xml @@ -0,0 +1,3 @@ + + 2022-04-01T01:02Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/without_seconds.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/createdAt/without_seconds.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/dot.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/dot.xml new file mode 100644 index 00000000..67984ae6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/dot.xml @@ -0,0 +1,3 @@ + + 1.0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/dot.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/dot.xml.errors new file mode 100644 index 00000000..c2019596 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/dot.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-005: If version is not specified, revision shall also be unspecified. This means that a revision requires a version. If there is no version, there is no revision. Revision is optional.; +revision: Invariant violated: +Revision type shall match the revision pattern. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/letter.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/letter.xml new file mode 100644 index 00000000..b0efba4f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/letter.xml @@ -0,0 +1,3 @@ + + 1.0rc1 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/letter.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/letter.xml.errors new file mode 100644 index 00000000..8bba439e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/letter.xml.errors @@ -0,0 +1,6 @@ +: Invariant violated: +Constraint AASd-005: If version is not specified, revision shall also be unspecified. This means that a revision requires a version. If there is no version, there is no revision. Revision is optional.; +revision: Invariant violated: +Revision type shall match the revision pattern.; +revision: Invariant violated: +Revision type shall have a maximum length of 4 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/negative.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/negative.xml new file mode 100644 index 00000000..14db8c52 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/negative.xml @@ -0,0 +1,3 @@ + + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/negative.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/negative.xml.errors new file mode 100644 index 00000000..c2019596 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/negative.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-005: If version is not specified, revision shall also be unspecified. This means that a revision requires a version. If there is no version, there is no revision. Revision is optional.; +revision: Invariant violated: +Revision type shall match the revision pattern. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/date_time_with_UTC_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/date_time_with_UTC_and_suffix.xml new file mode 100644 index 00000000..3d24e858 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/date_time_with_UTC_and_suffix.xml @@ -0,0 +1,3 @@ + + 2022-04-01T01:02:03Z-unexpected-suffix + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/date_time_with_UTC_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/date_time_with_UTC_and_suffix.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/date_time_with_UTC_and_suffix.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/date_time_with_offset.xml new file mode 100644 index 00000000..5fbb739a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/date_time_with_offset.xml @@ -0,0 +1,3 @@ + + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/date_time_with_offset.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/date_time_with_offset.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/date_time_without_zone.xml new file mode 100644 index 00000000..ebd5a711 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/date_time_without_zone.xml @@ -0,0 +1,3 @@ + + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/date_time_without_zone.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/date_time_without_zone.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/empty.xml new file mode 100644 index 00000000..3c84eabe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/empty.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/empty.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/empty.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/invalid_february_29th.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/invalid_february_29th.xml new file mode 100644 index 00000000..b65de7ee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/invalid_february_29th.xml @@ -0,0 +1,3 @@ + + 2026-02-29T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/invalid_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/invalid_february_29th.xml.errors new file mode 100644 index 00000000..1058cd79 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/invalid_february_29th.xml.errors @@ -0,0 +1,2 @@ +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_02.xml new file mode 100644 index 00000000..ef965fe0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + <1𼨆򈷐Å\H󀨓 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_02.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_03.xml new file mode 100644 index 00000000..b458f329 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_03.xml @@ -0,0 +1,3 @@ + + 𢬣񂡼Í·ð˜²+š񁅿 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_03.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_04.xml new file mode 100644 index 00000000..b362728d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + 񊒳ð…񇐯 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_04.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_05.xml new file mode 100644 index 00000000..ff883b24 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 󢮾e𓕍—ñ> + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_05.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_06.xml new file mode 100644 index 00000000..ac7d9db7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + 􃶦𮝸 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_06.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_08.xml new file mode 100644 index 00000000..63ef012e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_08.xml @@ -0,0 +1,3 @@ + + hh + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_09.xml new file mode 100644 index 00000000..a0ad3bf3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_09.xml @@ -0,0 +1,3 @@ + + E…𑄦𠧃Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_09.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_10.xml new file mode 100644 index 00000000..c0ee9cc5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_10.xml @@ -0,0 +1,3 @@ + + 󉻽󉻽񻫾𛾨􉂌𓺶 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/negatively_fuzzed_10.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/only_date.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/only_date.xml new file mode 100644 index 00000000..05a4f810 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/only_date.xml @@ -0,0 +1,3 @@ + + 2022-04-01 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/only_date.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/only_date.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/only_date.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/only_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/only_date_with_time_zone.xml new file mode 100644 index 00000000..c3fc7eb4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/only_date_with_time_zone.xml @@ -0,0 +1,3 @@ + + 2022-04-01Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/only_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/only_date_with_time_zone.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/only_date_with_time_zone.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/without_minutes.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/without_minutes.xml new file mode 100644 index 00000000..f8e435c9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/without_minutes.xml @@ -0,0 +1,3 @@ + + 2022-04-01T01Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/without_minutes.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/without_minutes.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/without_seconds.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/without_seconds.xml new file mode 100644 index 00000000..46d2bbf3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/without_seconds.xml @@ -0,0 +1,3 @@ + + 2022-04-01T01:02Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/without_seconds.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/updatedAt/without_seconds.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/dot.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/dot.xml new file mode 100644 index 00000000..d9fdd9b1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/dot.xml @@ -0,0 +1,3 @@ + + 1.0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/dot.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/dot.xml.errors new file mode 100644 index 00000000..7f6d5d6c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/dot.xml.errors @@ -0,0 +1,2 @@ +version: Invariant violated: +Version type shall match the version pattern. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/letter.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/letter.xml new file mode 100644 index 00000000..39e7ecb8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/letter.xml @@ -0,0 +1,3 @@ + + 1.0rc1 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/letter.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/letter.xml.errors new file mode 100644 index 00000000..d13ed64b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/letter.xml.errors @@ -0,0 +1,4 @@ +version: Invariant violated: +Version type shall match the version pattern.; +version: Invariant violated: +Version type shall have a maximum length of 4 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/negative.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/negative.xml new file mode 100644 index 00000000..7ac9fe7f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/negative.xml @@ -0,0 +1,3 @@ + + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/negative.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/negative.xml.errors new file mode 100644 index 00000000..7f6d5d6c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/negative.xml.errors @@ -0,0 +1,2 @@ +version: Invariant violated: +Version type shall match the version pattern. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..01aab867 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..fd166b92 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..97e2849d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..82e4f8e7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..8358f4b8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..1df32c90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..1afe13de --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..3f391ab5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..bb1ab36e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..a9bc9ba0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElementMetadata/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..ac92cfef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,8 @@ + + 򚪾󰾫7 + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..5fd48f85 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,8 @@ + + 15 + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..3e99293a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,8 @@ + + ‡Y񐅽󍈪 + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..e3058e50 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,8 @@ + + 9䠄񓝝 + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..eb1073e7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,8 @@ + + @ + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..b53b4cf7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,4 @@ + + 򚪾󰾫7 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..1560644b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + 15 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..aace7691 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + ‡Y񐅽󍈪 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..fd83b759 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 9䠄񓝝 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..a6743484 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + @ + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellMetadata/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/date_time_with_UTC_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/date_time_with_UTC_and_suffix.xml new file mode 100644 index 00000000..ccc4b0da --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/date_time_with_UTC_and_suffix.xml @@ -0,0 +1,5 @@ + + 2022-04-01T01:02:03Z-unexpected-suffix + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/date_time_with_UTC_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/date_time_with_UTC_and_suffix.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/date_time_with_UTC_and_suffix.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/date_time_with_offset.xml new file mode 100644 index 00000000..1ab9605a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/date_time_with_offset.xml @@ -0,0 +1,5 @@ + + 2022-04-01T01:02:03+02:00 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/date_time_with_offset.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/date_time_with_offset.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/date_time_without_zone.xml new file mode 100644 index 00000000..805cb7c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/date_time_without_zone.xml @@ -0,0 +1,5 @@ + + 2022-04-01T01:02:03 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/date_time_without_zone.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/date_time_without_zone.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/empty.xml new file mode 100644 index 00000000..f08e1d38 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/empty.xml @@ -0,0 +1,5 @@ + + + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/empty.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/empty.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/invalid_february_29th.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/invalid_february_29th.xml new file mode 100644 index 00000000..80cd3407 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/invalid_february_29th.xml @@ -0,0 +1,5 @@ + + 2026-02-29T01:02:03Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/invalid_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/invalid_february_29th.xml.errors new file mode 100644 index 00000000..66d5d19f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/invalid_february_29th.xml.errors @@ -0,0 +1,2 @@ +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_02.xml new file mode 100644 index 00000000..8a6079e3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_02.xml @@ -0,0 +1,5 @@ + + <1𼨆򈷐Å\H󀨓 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_02.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_03.xml new file mode 100644 index 00000000..aa9fce7d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_03.xml @@ -0,0 +1,5 @@ + + 𢬣񂡼Í·ð˜²+š񁅿 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_03.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_04.xml new file mode 100644 index 00000000..1f1d9256 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_04.xml @@ -0,0 +1,5 @@ + + 񊒳ð…񇐯 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_04.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_05.xml new file mode 100644 index 00000000..aec5e550 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + 󢮾e𓕍—ñ> + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_05.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_06.xml new file mode 100644 index 00000000..70475980 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_06.xml @@ -0,0 +1,5 @@ + + 􃶦𮝸 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_06.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_08.xml new file mode 100644 index 00000000..6e74a81e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_08.xml @@ -0,0 +1,5 @@ + + hh + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_09.xml new file mode 100644 index 00000000..0629f61d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_09.xml @@ -0,0 +1,5 @@ + + E…𑄦𠧃Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_09.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_10.xml new file mode 100644 index 00000000..46d7e7a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + 󉻽󉻽񻫾𛾨􉂌𓺶 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/negatively_fuzzed_10.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/only_date.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/only_date.xml new file mode 100644 index 00000000..0f315a2b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/only_date.xml @@ -0,0 +1,5 @@ + + 2022-04-01 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/only_date.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/only_date.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/only_date.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/only_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/only_date_with_time_zone.xml new file mode 100644 index 00000000..9ab46b28 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/only_date_with_time_zone.xml @@ -0,0 +1,5 @@ + + 2022-04-01Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/only_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/only_date_with_time_zone.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/only_date_with_time_zone.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/without_minutes.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/without_minutes.xml new file mode 100644 index 00000000..738c7759 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/without_minutes.xml @@ -0,0 +1,5 @@ + + 2022-04-01T01Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/without_minutes.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/without_minutes.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/without_seconds.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/without_seconds.xml new file mode 100644 index 00000000..7ddfb66b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/without_seconds.xml @@ -0,0 +1,5 @@ + + 2022-04-01T01:02Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/without_seconds.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/createdAt/without_seconds.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/date_time_with_UTC_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/date_time_with_UTC_and_suffix.xml new file mode 100644 index 00000000..4be020e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/date_time_with_UTC_and_suffix.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T01:02:03Z-unexpected-suffix + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/date_time_with_UTC_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/date_time_with_UTC_and_suffix.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/date_time_with_UTC_and_suffix.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/date_time_with_offset.xml new file mode 100644 index 00000000..cd148a29 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/date_time_with_offset.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T01:02:03+02:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/date_time_with_offset.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/date_time_with_offset.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/date_time_without_zone.xml new file mode 100644 index 00000000..ffe6247b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/date_time_without_zone.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T01:02:03 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/date_time_without_zone.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/date_time_without_zone.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/empty.xml new file mode 100644 index 00000000..3af97ad3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/empty.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/empty.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/empty.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/invalid_february_29th.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/invalid_february_29th.xml new file mode 100644 index 00000000..855e5eee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/invalid_february_29th.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2026-02-29T01:02:03Z + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/invalid_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/invalid_february_29th.xml.errors new file mode 100644 index 00000000..1058cd79 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/invalid_february_29th.xml.errors @@ -0,0 +1,2 @@ +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_02.xml new file mode 100644 index 00000000..1afec60a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_02.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + <1𼨆򈷐Å\H󀨓 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_02.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_03.xml new file mode 100644 index 00000000..2fdf7d0d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_03.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 𢬣񂡼Í·ð˜²+š񁅿 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_03.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_04.xml new file mode 100644 index 00000000..1a22d1e7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_04.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 񊒳ð…񇐯 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_04.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_05.xml new file mode 100644 index 00000000..d03495de --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 󢮾e𓕍—ñ> + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_05.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_06.xml new file mode 100644 index 00000000..b2a8e1a4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_06.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 􃶦𮝸 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_06.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_08.xml new file mode 100644 index 00000000..ce14857e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_08.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + hh + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_09.xml new file mode 100644 index 00000000..3f9f50cb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_09.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + E…𑄦𠧃Z + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_09.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_10.xml new file mode 100644 index 00000000..0a0dd241 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 󉻽󉻽񻫾𛾨􉂌𓺶 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/negatively_fuzzed_10.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/only_date.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/only_date.xml new file mode 100644 index 00000000..1960e9c4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/only_date.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/only_date.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/only_date.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/only_date.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/only_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/only_date_with_time_zone.xml new file mode 100644 index 00000000..b94539a4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/only_date_with_time_zone.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01Z + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/only_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/only_date_with_time_zone.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/only_date_with_time_zone.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/without_minutes.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/without_minutes.xml new file mode 100644 index 00000000..72a3bcb8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/without_minutes.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T01Z + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/without_minutes.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/without_minutes.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/without_seconds.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/without_seconds.xml new file mode 100644 index 00000000..9fcb3873 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/without_seconds.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T01:02Z + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/without_seconds.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShellRecentChange/updatedAt/without_seconds.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..5de6a8d0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,18 @@ + + 򚪾󰾫7 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..92f4a69e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,18 @@ + + 15 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..c3d74f4a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,18 @@ + + ‡Y񐅽󍈪 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..77f4151f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,18 @@ + + 9䠄񓝝 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..847dfc07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,18 @@ + + @ + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_UTC_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_UTC_and_suffix.xml new file mode 100644 index 00000000..cc1891f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_UTC_and_suffix.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T01:02:03Z-unexpected-suffix + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_UTC_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_UTC_and_suffix.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_UTC_and_suffix.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_offset.xml new file mode 100644 index 00000000..9a75cc24 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_offset.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_offset.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_offset.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_without_zone.xml new file mode 100644 index 00000000..f45c584b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_without_zone.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_without_zone.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_without_zone.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/empty.xml new file mode 100644 index 00000000..f6692fc5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/empty.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/empty.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/empty.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/invalid_february_29th.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/invalid_february_29th.xml new file mode 100644 index 00000000..7bdbf4aa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/invalid_february_29th.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2026-02-29T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/invalid_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/invalid_february_29th.xml.errors new file mode 100644 index 00000000..a24819ca --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/invalid_february_29th.xml.errors @@ -0,0 +1,2 @@ +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_02.xml new file mode 100644 index 00000000..9a0a776d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_02.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + <1𼨆򈷐Å\H󀨓 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_02.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_03.xml new file mode 100644 index 00000000..dcbdb3a7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_03.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 𢬣񂡼Í·ð˜²+š񁅿 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_03.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_04.xml new file mode 100644 index 00000000..30e78a75 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_04.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 񊒳ð…񇐯 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_04.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_05.xml new file mode 100644 index 00000000..984db36a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_05.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 󢮾e𓕍—ñ> + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_05.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_06.xml new file mode 100644 index 00000000..4fd015de --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_06.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 􃶦𮝸 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_06.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_08.xml new file mode 100644 index 00000000..87236286 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_08.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + hh + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_09.xml new file mode 100644 index 00000000..ae2488ae --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_09.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + E…𑄦𠧃Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_09.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_10.xml new file mode 100644 index 00000000..81b528a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_10.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 󉻽󉻽񻫾𛾨􉂌𓺶 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_10.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date.xml new file mode 100644 index 00000000..613111ef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date_with_time_zone.xml new file mode 100644 index 00000000..8962d706 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date_with_time_zone.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date_with_time_zone.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date_with_time_zone.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_minutes.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_minutes.xml new file mode 100644 index 00000000..82130a05 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_minutes.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T01Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_minutes.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_minutes.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_seconds.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_seconds.xml new file mode 100644 index 00000000..b2649658 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_seconds.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T01:02Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_seconds.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_seconds.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/empty.xml new file mode 100644 index 00000000..61378c76 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/empty.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/empty.xml.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/free_form_text.xml new file mode 100644 index 00000000..99ee7153 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/free_form_text.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/free_form_text.xml.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/integer.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/integer.xml new file mode 100644 index 00000000..19f6501a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/integer.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/integer.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/integer.xml.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/integer.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/leading_P_missing.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/leading_P_missing.xml new file mode 100644 index 00000000..51066e4c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/leading_P_missing.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 1Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/leading_P_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/leading_P_missing.xml.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/leading_P_missing.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/negative_years.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/negative_years.xml new file mode 100644 index 00000000..73d3446c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/negative_years.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P-1Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/negative_years.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/negative_years.xml.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/negative_years.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/positive_year_negative_months.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/positive_year_negative_months.xml new file mode 100644 index 00000000..4ee02f3f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/positive_year_negative_months.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P1Y-1M + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/positive_year_negative_months.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/positive_year_negative_months.xml.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/positive_year_negative_months.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/separator_T_missing.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/separator_T_missing.xml new file mode 100644 index 00000000..6d7027cc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/separator_T_missing.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P1S + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/separator_T_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/separator_T_missing.xml.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/separator_T_missing.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/the_order_matters.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/the_order_matters.xml new file mode 100644 index 00000000..2ccf4d9f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/the_order_matters.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P1M2Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/the_order_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/the_order_matters.xml.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/the_order_matters.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/empty.xml new file mode 100644 index 00000000..ce88c53d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/empty.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/empty.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/empty.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/free_form_text.xml new file mode 100644 index 00000000..8f4087bd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/free_form_text.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/free_form_text.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/free_form_text.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/integer.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/integer.xml new file mode 100644 index 00000000..6c880fda --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/integer.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/integer.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/integer.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/integer.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/leading_P_missing.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/leading_P_missing.xml new file mode 100644 index 00000000..1103af50 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/leading_P_missing.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 1Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/leading_P_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/leading_P_missing.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/leading_P_missing.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/negative_years.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/negative_years.xml new file mode 100644 index 00000000..b65c3399 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/negative_years.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P-1Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/negative_years.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/negative_years.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/negative_years.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/positive_year_negative_months.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/positive_year_negative_months.xml new file mode 100644 index 00000000..d5d5a286 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/positive_year_negative_months.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P1Y-1M + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/positive_year_negative_months.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/positive_year_negative_months.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/positive_year_negative_months.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/separator_T_missing.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/separator_T_missing.xml new file mode 100644 index 00000000..1633113a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/separator_T_missing.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P1S + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/separator_T_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/separator_T_missing.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/separator_T_missing.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/the_order_matters.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/the_order_matters.xml new file mode 100644 index 00000000..9ccb94fa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/the_order_matters.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P1M2Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/the_order_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/the_order_matters.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/the_order_matters.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..24a4d0a2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,5 @@ + + 򚪾󰾫7 + input + on + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..4aa295ad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,5 @@ + + 15 + input + on + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..5ce2212a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,5 @@ + + ‡Y񐅽󍈪 + input + on + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..20754f5d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + 9䠄񓝝 + input + on + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..d01047f3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,5 @@ + + @ + input + on + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/date_time_with_UTC_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/date_time_with_UTC_and_suffix.xml new file mode 100644 index 00000000..823d7c97 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/date_time_with_UTC_and_suffix.xml @@ -0,0 +1,5 @@ + + input + on + 2022-04-01T01:02:03Z-unexpected-suffix + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/date_time_with_UTC_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/date_time_with_UTC_and_suffix.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/date_time_with_UTC_and_suffix.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/date_time_with_offset.xml new file mode 100644 index 00000000..12dca6d9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/date_time_with_offset.xml @@ -0,0 +1,5 @@ + + input + on + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/date_time_with_offset.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/date_time_with_offset.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/date_time_without_zone.xml new file mode 100644 index 00000000..87a34278 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/date_time_without_zone.xml @@ -0,0 +1,5 @@ + + input + on + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/date_time_without_zone.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/date_time_without_zone.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/empty.xml new file mode 100644 index 00000000..66b00b9a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/empty.xml @@ -0,0 +1,5 @@ + + input + on + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/empty.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/empty.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/invalid_february_29th.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/invalid_february_29th.xml new file mode 100644 index 00000000..1433c23b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/invalid_february_29th.xml @@ -0,0 +1,5 @@ + + input + on + 2026-02-29T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/invalid_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/invalid_february_29th.xml.errors new file mode 100644 index 00000000..a24819ca --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/invalid_february_29th.xml.errors @@ -0,0 +1,2 @@ +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_02.xml new file mode 100644 index 00000000..fa787d24 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_02.xml @@ -0,0 +1,5 @@ + + input + on + <1𼨆򈷐Å\H󀨓 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_02.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_03.xml new file mode 100644 index 00000000..4d62b101 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_03.xml @@ -0,0 +1,5 @@ + + input + on + 𢬣񂡼Í·ð˜²+š񁅿 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_03.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_04.xml new file mode 100644 index 00000000..8e249203 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_04.xml @@ -0,0 +1,5 @@ + + input + on + 񊒳ð…񇐯 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_04.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_05.xml new file mode 100644 index 00000000..8486237c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + input + on + 󢮾e𓕍—ñ> + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_05.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_06.xml new file mode 100644 index 00000000..0b337346 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_06.xml @@ -0,0 +1,5 @@ + + input + on + 􃶦𮝸 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_06.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_08.xml new file mode 100644 index 00000000..92d40686 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_08.xml @@ -0,0 +1,5 @@ + + input + on + hh + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_09.xml new file mode 100644 index 00000000..c1cfad94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_09.xml @@ -0,0 +1,5 @@ + + input + on + E…𑄦𠧃Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_09.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_10.xml new file mode 100644 index 00000000..cfc7d344 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + input + on + 󉻽󉻽񻫾𛾨􉂌𓺶 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/negatively_fuzzed_10.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/only_date.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/only_date.xml new file mode 100644 index 00000000..00f4cf5d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/only_date.xml @@ -0,0 +1,5 @@ + + input + on + 2022-04-01 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/only_date.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/only_date.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/only_date.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/only_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/only_date_with_time_zone.xml new file mode 100644 index 00000000..bd1b3836 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/only_date_with_time_zone.xml @@ -0,0 +1,5 @@ + + input + on + 2022-04-01Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/only_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/only_date_with_time_zone.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/only_date_with_time_zone.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/without_minutes.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/without_minutes.xml new file mode 100644 index 00000000..0030ac3a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/without_minutes.xml @@ -0,0 +1,5 @@ + + input + on + 2022-04-01T01Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/without_minutes.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/without_minutes.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/without_seconds.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/without_seconds.xml new file mode 100644 index 00000000..9e930894 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/without_seconds.xml @@ -0,0 +1,5 @@ + + input + on + 2022-04-01T01:02Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/without_seconds.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/lastUpdate/without_seconds.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/empty.xml new file mode 100644 index 00000000..ea38e5fb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/empty.xml @@ -0,0 +1,5 @@ + + input + on + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/empty.xml.errors new file mode 100644 index 00000000..6791d1c8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/empty.xml.errors @@ -0,0 +1,2 @@ +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/free_form_text.xml new file mode 100644 index 00000000..64ee4225 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/free_form_text.xml @@ -0,0 +1,5 @@ + + input + on + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/free_form_text.xml.errors new file mode 100644 index 00000000..6791d1c8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/free_form_text.xml.errors @@ -0,0 +1,2 @@ +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/integer.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/integer.xml new file mode 100644 index 00000000..e1a84c8f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/integer.xml @@ -0,0 +1,5 @@ + + input + on + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/integer.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/integer.xml.errors new file mode 100644 index 00000000..6791d1c8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/integer.xml.errors @@ -0,0 +1,2 @@ +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/leading_P_missing.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/leading_P_missing.xml new file mode 100644 index 00000000..e5ce48eb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/leading_P_missing.xml @@ -0,0 +1,5 @@ + + input + on + 1Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/leading_P_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/leading_P_missing.xml.errors new file mode 100644 index 00000000..6791d1c8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/leading_P_missing.xml.errors @@ -0,0 +1,2 @@ +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/negative_years.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/negative_years.xml new file mode 100644 index 00000000..7d847d83 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/negative_years.xml @@ -0,0 +1,5 @@ + + input + on + P-1Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/negative_years.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/negative_years.xml.errors new file mode 100644 index 00000000..6791d1c8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/negative_years.xml.errors @@ -0,0 +1,2 @@ +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/positive_year_negative_months.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/positive_year_negative_months.xml new file mode 100644 index 00000000..4afdff37 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/positive_year_negative_months.xml @@ -0,0 +1,5 @@ + + input + on + P1Y-1M + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/positive_year_negative_months.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/positive_year_negative_months.xml.errors new file mode 100644 index 00000000..6791d1c8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/positive_year_negative_months.xml.errors @@ -0,0 +1,2 @@ +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/separator_T_missing.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/separator_T_missing.xml new file mode 100644 index 00000000..00b56f76 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/separator_T_missing.xml @@ -0,0 +1,5 @@ + + input + on + P1S + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/separator_T_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/separator_T_missing.xml.errors new file mode 100644 index 00000000..6791d1c8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/separator_T_missing.xml.errors @@ -0,0 +1,2 @@ +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/the_order_matters.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/the_order_matters.xml new file mode 100644 index 00000000..1993f26d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/the_order_matters.xml @@ -0,0 +1,5 @@ + + input + on + P1M2Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/the_order_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/the_order_matters.xml.errors new file mode 100644 index 00000000..6791d1c8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/maxInterval/the_order_matters.xml.errors @@ -0,0 +1,2 @@ +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/empty.xml new file mode 100644 index 00000000..f252713a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/empty.xml @@ -0,0 +1,5 @@ + + input + on + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/empty.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/empty.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/free_form_text.xml new file mode 100644 index 00000000..3b3d0274 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/free_form_text.xml @@ -0,0 +1,5 @@ + + input + on + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/free_form_text.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/free_form_text.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/integer.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/integer.xml new file mode 100644 index 00000000..778786b7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/integer.xml @@ -0,0 +1,5 @@ + + input + on + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/integer.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/integer.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/integer.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/leading_P_missing.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/leading_P_missing.xml new file mode 100644 index 00000000..ba1edb98 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/leading_P_missing.xml @@ -0,0 +1,5 @@ + + input + on + 1Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/leading_P_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/leading_P_missing.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/leading_P_missing.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/negative_years.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/negative_years.xml new file mode 100644 index 00000000..43cc9844 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/negative_years.xml @@ -0,0 +1,5 @@ + + input + on + P-1Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/negative_years.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/negative_years.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/negative_years.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/positive_year_negative_months.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/positive_year_negative_months.xml new file mode 100644 index 00000000..c6d5d9a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/positive_year_negative_months.xml @@ -0,0 +1,5 @@ + + input + on + P1Y-1M + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/positive_year_negative_months.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/positive_year_negative_months.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/positive_year_negative_months.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/separator_T_missing.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/separator_T_missing.xml new file mode 100644 index 00000000..91ff2ad3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/separator_T_missing.xml @@ -0,0 +1,5 @@ + + input + on + P1S + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/separator_T_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/separator_T_missing.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/separator_T_missing.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/the_order_matters.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/the_order_matters.xml new file mode 100644 index 00000000..2ae3ca47 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/the_order_matters.xml @@ -0,0 +1,5 @@ + + input + on + P1M2Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/the_order_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/the_order_matters.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElementMetadata/minInterval/the_order_matters.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/empty.xml new file mode 100644 index 00000000..9c7f68c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/empty.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/empty.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/empty.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_03.xml new file mode 100644 index 00000000..4c13cb71 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_03.xml @@ -0,0 +1,3 @@ + + 𡔹 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_04.xml new file mode 100644 index 00000000..829d49b2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ÐÐ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_05.xml new file mode 100644 index 00000000..83fc7ed8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 󝵽§…°¢󃡚>3󸴷 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_06.xml new file mode 100644 index 00000000..ad42167d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + q•d + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_07.xml new file mode 100644 index 00000000..4cb05178 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_07.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_08.xml new file mode 100644 index 00000000..9c7f68c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_08.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_09.xml new file mode 100644 index 00000000..98ade0d8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_09.xml @@ -0,0 +1,3 @@ + + |ä + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_10.xml new file mode 100644 index 00000000..6abad914 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_10.xml @@ -0,0 +1,3 @@ + + 𜮰𜮰 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/number.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/number.xml new file mode 100644 index 00000000..f6c5cf93 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/number.xml @@ -0,0 +1,3 @@ + + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/number.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/number.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/number.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..bb0bf6d7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..6f02a168 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..3e9d593b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..8be5e734 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..c949ca72 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..d433d9a5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..fed002e3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..50d94255 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..b9a21c51 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..66222cdb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobMetadata/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/empty.xml new file mode 100644 index 00000000..b0abe9dd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/empty.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/empty.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/empty.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_03.xml new file mode 100644 index 00000000..5ba130e5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_03.xml @@ -0,0 +1,3 @@ + + 𡔹 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_04.xml new file mode 100644 index 00000000..e808a4c6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ÐÐ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_05.xml new file mode 100644 index 00000000..83d5de47 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 󝵽§…°¢󃡚>3󸴷 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_06.xml new file mode 100644 index 00000000..1f41ade8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + q•d + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_07.xml new file mode 100644 index 00000000..82eeab76 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_07.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_08.xml new file mode 100644 index 00000000..b0abe9dd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_08.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_09.xml new file mode 100644 index 00000000..570ecd72 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_09.xml @@ -0,0 +1,3 @@ + + |ä + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_10.xml new file mode 100644 index 00000000..0b495796 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_10.xml @@ -0,0 +1,3 @@ + + 𜮰𜮰 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/number.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/number.xml new file mode 100644 index 00000000..e44b5de8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/number.xml @@ -0,0 +1,3 @@ + + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/number.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/number.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blobValue/contentType/number.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..3894017d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..c796e6ad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..a2fc3439 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..14328ea5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..3ad0af39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..588a36f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..74df4b4c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..d29d6db0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..83274bec --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..53d187a5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capabilityMetadata/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..fbffa4c2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,4 @@ + + 򚪾󰾫7 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..c2bdb2dd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + 15 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..d16330e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + ‡Y񐅽󍈪 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..fc5a5e88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 9䠄񓝝 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..eb26750b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + @ + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/date_time_with_UTC_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/date_time_with_UTC_and_suffix.xml new file mode 100644 index 00000000..5dd1dfd7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/date_time_with_UTC_and_suffix.xml @@ -0,0 +1,5 @@ + + 2022-04-01T01:02:03Z-unexpected-suffix + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/date_time_with_UTC_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/date_time_with_UTC_and_suffix.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/date_time_with_UTC_and_suffix.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/date_time_with_offset.xml new file mode 100644 index 00000000..3cf0f3cb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/date_time_with_offset.xml @@ -0,0 +1,5 @@ + + 2022-04-01T01:02:03+02:00 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/date_time_with_offset.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/date_time_with_offset.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/date_time_without_zone.xml new file mode 100644 index 00000000..e52c0862 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/date_time_without_zone.xml @@ -0,0 +1,5 @@ + + 2022-04-01T01:02:03 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/date_time_without_zone.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/date_time_without_zone.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/empty.xml new file mode 100644 index 00000000..beef846c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/empty.xml @@ -0,0 +1,5 @@ + + + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/empty.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/empty.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/invalid_february_29th.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/invalid_february_29th.xml new file mode 100644 index 00000000..58d09a08 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/invalid_february_29th.xml @@ -0,0 +1,5 @@ + + 2026-02-29T01:02:03Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/invalid_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/invalid_february_29th.xml.errors new file mode 100644 index 00000000..66d5d19f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/invalid_february_29th.xml.errors @@ -0,0 +1,2 @@ +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_02.xml new file mode 100644 index 00000000..afe43a0a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_02.xml @@ -0,0 +1,5 @@ + + <1𼨆򈷐Å\H󀨓 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_02.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_03.xml new file mode 100644 index 00000000..db30d55c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_03.xml @@ -0,0 +1,5 @@ + + 𢬣񂡼Í·ð˜²+š񁅿 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_03.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_04.xml new file mode 100644 index 00000000..ed8f7318 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_04.xml @@ -0,0 +1,5 @@ + + 񊒳ð…񇐯 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_04.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_05.xml new file mode 100644 index 00000000..2c84c888 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + 󢮾e𓕍—ñ> + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_05.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_06.xml new file mode 100644 index 00000000..014c6994 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_06.xml @@ -0,0 +1,5 @@ + + 􃶦𮝸 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_06.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_08.xml new file mode 100644 index 00000000..5674dfe2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_08.xml @@ -0,0 +1,5 @@ + + hh + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_09.xml new file mode 100644 index 00000000..570c758a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_09.xml @@ -0,0 +1,5 @@ + + E…𑄦𠧃Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_09.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_10.xml new file mode 100644 index 00000000..4ed2f8b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + 󉻽󉻽񻫾𛾨􉂌𓺶 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/negatively_fuzzed_10.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/only_date.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/only_date.xml new file mode 100644 index 00000000..3dd49858 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/only_date.xml @@ -0,0 +1,5 @@ + + 2022-04-01 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/only_date.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/only_date.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/only_date.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/only_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/only_date_with_time_zone.xml new file mode 100644 index 00000000..4189c710 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/only_date_with_time_zone.xml @@ -0,0 +1,5 @@ + + 2022-04-01Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/only_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/only_date_with_time_zone.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/only_date_with_time_zone.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/without_minutes.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/without_minutes.xml new file mode 100644 index 00000000..a8021f64 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/without_minutes.xml @@ -0,0 +1,5 @@ + + 2022-04-01T01Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/without_minutes.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/without_minutes.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/without_seconds.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/without_seconds.xml new file mode 100644 index 00000000..fb8ab035 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/without_seconds.xml @@ -0,0 +1,5 @@ + + 2022-04-01T01:02Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/without_seconds.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/createdAt/without_seconds.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/date_time_with_UTC_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/date_time_with_UTC_and_suffix.xml new file mode 100644 index 00000000..3fef9613 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/date_time_with_UTC_and_suffix.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T01:02:03Z-unexpected-suffix + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/date_time_with_UTC_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/date_time_with_UTC_and_suffix.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/date_time_with_UTC_and_suffix.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/date_time_with_offset.xml new file mode 100644 index 00000000..80465e37 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/date_time_with_offset.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T01:02:03+02:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/date_time_with_offset.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/date_time_with_offset.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/date_time_without_zone.xml new file mode 100644 index 00000000..22589db8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/date_time_without_zone.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T01:02:03 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/date_time_without_zone.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/date_time_without_zone.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/empty.xml new file mode 100644 index 00000000..677e86fe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/empty.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/empty.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/empty.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/invalid_february_29th.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/invalid_february_29th.xml new file mode 100644 index 00000000..e405d117 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/invalid_february_29th.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2026-02-29T01:02:03Z + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/invalid_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/invalid_february_29th.xml.errors new file mode 100644 index 00000000..1058cd79 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/invalid_february_29th.xml.errors @@ -0,0 +1,2 @@ +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_02.xml new file mode 100644 index 00000000..13263197 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_02.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + <1𼨆򈷐Å\H󀨓 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_02.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_03.xml new file mode 100644 index 00000000..32b5a34b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_03.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 𢬣񂡼Í·ð˜²+š񁅿 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_03.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_04.xml new file mode 100644 index 00000000..f9cbcc81 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_04.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 񊒳ð…񇐯 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_04.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_05.xml new file mode 100644 index 00000000..0423c368 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 󢮾e𓕍—ñ> + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_05.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_06.xml new file mode 100644 index 00000000..0e983eb1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_06.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 􃶦𮝸 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_06.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_08.xml new file mode 100644 index 00000000..1046ff95 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_08.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + hh + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_09.xml new file mode 100644 index 00000000..14a4c7cf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_09.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + E…𑄦𠧃Z + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_09.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_10.xml new file mode 100644 index 00000000..15f438d6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 󉻽󉻽񻫾𛾨􉂌𓺶 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/negatively_fuzzed_10.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/only_date.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/only_date.xml new file mode 100644 index 00000000..e15fb631 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/only_date.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/only_date.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/only_date.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/only_date.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/only_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/only_date_with_time_zone.xml new file mode 100644 index 00000000..3972d733 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/only_date_with_time_zone.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01Z + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/only_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/only_date_with_time_zone.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/only_date_with_time_zone.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/without_minutes.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/without_minutes.xml new file mode 100644 index 00000000..2a8d0e2f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/without_minutes.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T01Z + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/without_minutes.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/without_minutes.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/without_seconds.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/without_seconds.xml new file mode 100644 index 00000000..98dfd33a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/without_seconds.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T01:02Z + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/without_seconds.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescriptionRecentChange/updatedAt/without_seconds.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/bad_hour.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/bad_hour.xml new file mode 100644 index 00000000..70455870 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/bad_hour.xml @@ -0,0 +1,3 @@ + + 2024-01-01T25:00:00Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/bad_hour.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/bad_hour.xml.errors new file mode 100644 index 00000000..aa5a275e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/bad_hour.xml.errors @@ -0,0 +1,2 @@ +["$dateTimeVal"]: Invariant violated: +The value must match the pattern of a date-time literal. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/bad_month.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/bad_month.xml new file mode 100644 index 00000000..34d50840 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/bad_month.xml @@ -0,0 +1,3 @@ + + 2024-13-01T12:00:00Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/bad_month.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/bad_month.xml.errors new file mode 100644 index 00000000..aa5a275e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/bad_month.xml.errors @@ -0,0 +1,2 @@ +["$dateTimeVal"]: Invariant violated: +The value must match the pattern of a date-time literal. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/bad_offset.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/bad_offset.xml new file mode 100644 index 00000000..eb9b917b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/bad_offset.xml @@ -0,0 +1,3 @@ + + 2024-01-01T12:00:00+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/bad_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/bad_offset.xml.errors new file mode 100644 index 00000000..aa5a275e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/bad_offset.xml.errors @@ -0,0 +1,2 @@ +["$dateTimeVal"]: Invariant violated: +The value must match the pattern of a date-time literal. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/empty.xml new file mode 100644 index 00000000..40a2ca99 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/empty.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/empty.xml.errors new file mode 100644 index 00000000..aa5a275e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/empty.xml.errors @@ -0,0 +1,2 @@ +["$dateTimeVal"]: Invariant violated: +The value must match the pattern of a date-time literal. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/no_leap_year.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/no_leap_year.xml new file mode 100644 index 00000000..1f6497da --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/no_leap_year.xml @@ -0,0 +1,3 @@ + + 2023-02-29T12:00:00Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/no_leap_year.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/no_leap_year.xml.errors new file mode 100644 index 00000000..aa5a275e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/no_leap_year.xml.errors @@ -0,0 +1,2 @@ +["$dateTimeVal"]: Invariant violated: +The value must match the pattern of a date-time literal. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/no_time.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/no_time.xml new file mode 100644 index 00000000..2bed0602 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/no_time.xml @@ -0,0 +1,3 @@ + + 2024-01-01 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/no_time.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/no_time.xml.errors new file mode 100644 index 00000000..aa5a275e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/dateTimeLiteral/dateTimeVal/no_time.xml.errors @@ -0,0 +1,2 @@ +["$dateTimeVal"]: Invariant violated: +The value must match the pattern of a date-time literal. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/empty.xml new file mode 100644 index 00000000..fcfed1d1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/empty.xml @@ -0,0 +1,4 @@ + + + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/empty.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/empty.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/free_form_text.xml new file mode 100644 index 00000000..1e498fe3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/free_form_text.xml @@ -0,0 +1,4 @@ + + some free-form text + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/free_form_text.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/free_form_text.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_02.xml new file mode 100644 index 00000000..d91470c3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + Ûg􅅖²򅘴e´򗞕 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_03.xml new file mode 100644 index 00000000..2318ad8b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_03.xml @@ -0,0 +1,4 @@ + + 󉻽󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_04.xml new file mode 100644 index 00000000..9b1c37e3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + 0 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_05.xml new file mode 100644 index 00000000..d216598c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 􀬁7111 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_06.xml new file mode 100644 index 00000000..09327f00 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + 󯺏 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_07.xml new file mode 100644 index 00000000..f725dac2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_07.xml @@ -0,0 +1,4 @@ + + 󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_08.xml new file mode 100644 index 00000000..442b5a5f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_08.xml @@ -0,0 +1,4 @@ + + øPí + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_09.xml new file mode 100644 index 00000000..5aec54c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_09.xml @@ -0,0 +1,4 @@ + + pÜ򃯋®AÇ + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/definitionTypeUom/language/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..62737833 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..09206cd2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..829a90f7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..04720420 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..2b643cd8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..95be2816 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..201a3026 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..931a1279 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..895e6d04 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..fe0e1146 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entityMetadata/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_UTC_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_UTC_and_suffix.xml new file mode 100644 index 00000000..51ec25ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_UTC_and_suffix.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T01:02:03Z-unexpected-suffix + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_UTC_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_UTC_and_suffix.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_UTC_and_suffix.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_offset.xml new file mode 100644 index 00000000..54a16c3c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_offset.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_offset.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_offset.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_without_zone.xml new file mode 100644 index 00000000..dcd136c7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_without_zone.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_without_zone.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_without_zone.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/empty.xml new file mode 100644 index 00000000..14f9913b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/empty.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/empty.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/empty.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/invalid_february_29th.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/invalid_february_29th.xml new file mode 100644 index 00000000..47df9f90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/invalid_february_29th.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2026-02-29T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/invalid_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/invalid_february_29th.xml.errors new file mode 100644 index 00000000..698e336a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/invalid_february_29th.xml.errors @@ -0,0 +1,2 @@ +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_02.xml new file mode 100644 index 00000000..df9dc84b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_02.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + <1𼨆򈷐Å\H󀨓 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_02.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_03.xml new file mode 100644 index 00000000..119bf092 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_03.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 𢬣񂡼Í·ð˜²+š񁅿 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_03.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_04.xml new file mode 100644 index 00000000..101fa42f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_04.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 񊒳ð…񇐯 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_04.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_05.xml new file mode 100644 index 00000000..34e4401d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_05.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 󢮾e𓕍—ñ> + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_05.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_06.xml new file mode 100644 index 00000000..c27504fa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_06.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 􃶦𮝸 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_06.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_08.xml new file mode 100644 index 00000000..5488d422 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_08.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + hh + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_09.xml new file mode 100644 index 00000000..24120a91 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_09.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + E…𑄦𠧃Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_09.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_10.xml new file mode 100644 index 00000000..b49c813c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_10.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 󉻽󉻽񻫾𛾨􉂌𓺶 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_10.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date.xml new file mode 100644 index 00000000..8db91900 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date_with_time_zone.xml new file mode 100644 index 00000000..726f8fd2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date_with_time_zone.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date_with_time_zone.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date_with_time_zone.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_minutes.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_minutes.xml new file mode 100644 index 00000000..fb45e893 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_minutes.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T01Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_minutes.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_minutes.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_seconds.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_seconds.xml new file mode 100644 index 00000000..c8daa448 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_seconds.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T01:02Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_seconds.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_seconds.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/bare_index.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/bare_index.xml new file mode 100644 index 00000000..a9773f75 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/bare_index.xml @@ -0,0 +1,3 @@ + + $aas#submodels[a] + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/bare_index.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/bare_index.xml.errors new file mode 100644 index 00000000..3936fe18 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/bare_index.xml.errors @@ -0,0 +1,2 @@ +["$field"]: Invariant violated: +The value must match the pattern of a field identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/empty.xml new file mode 100644 index 00000000..7ca20df0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/empty.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/empty.xml.errors new file mode 100644 index 00000000..3936fe18 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/empty.xml.errors @@ -0,0 +1,2 @@ +["$field"]: Invariant violated: +The value must match the pattern of a field identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/id_short_path_trailing_dot.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/id_short_path_trailing_dot.xml new file mode 100644 index 00000000..97f18a7e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/id_short_path_trailing_dot.xml @@ -0,0 +1,3 @@ + + $sme.a.#value + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/id_short_path_trailing_dot.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/id_short_path_trailing_dot.xml.errors new file mode 100644 index 00000000..3936fe18 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/id_short_path_trailing_dot.xml.errors @@ -0,0 +1,2 @@ +["$field"]: Invariant violated: +The value must match the pattern of a field identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/leading_zero_index.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/leading_zero_index.xml new file mode 100644 index 00000000..a6fa8bbe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/leading_zero_index.xml @@ -0,0 +1,3 @@ + + $aas#submodels[01] + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/leading_zero_index.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/leading_zero_index.xml.errors new file mode 100644 index 00000000..3936fe18 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/leading_zero_index.xml.errors @@ -0,0 +1,2 @@ +["$field"]: Invariant violated: +The value must match the pattern of a field identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/missing_attribute.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/missing_attribute.xml new file mode 100644 index 00000000..bb96b18e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/missing_attribute.xml @@ -0,0 +1,3 @@ + + $aas + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/missing_attribute.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/missing_attribute.xml.errors new file mode 100644 index 00000000..3936fe18 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/missing_attribute.xml.errors @@ -0,0 +1,2 @@ +["$field"]: Invariant violated: +The value must match the pattern of a field identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/no_hash.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/no_hash.xml new file mode 100644 index 00000000..687f4809 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/no_hash.xml @@ -0,0 +1,3 @@ + + $sm.idShort + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/no_hash.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/no_hash.xml.errors new file mode 100644 index 00000000..3936fe18 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/no_hash.xml.errors @@ -0,0 +1,2 @@ +["$field"]: Invariant violated: +The value must match the pattern of a field identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/unknown_root.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/unknown_root.xml new file mode 100644 index 00000000..8747ca1d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/unknown_root.xml @@ -0,0 +1,3 @@ + + $xyz#idShort + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/unknown_root.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/unknown_root.xml.errors new file mode 100644 index 00000000..3936fe18 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/unknown_root.xml.errors @@ -0,0 +1,2 @@ +["$field"]: Invariant violated: +The value must match the pattern of a field identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/wrong_attribute.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/wrong_attribute.xml new file mode 100644 index 00000000..aa1a955d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/wrong_attribute.xml @@ -0,0 +1,3 @@ + + $cd#value + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/wrong_attribute.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/wrong_attribute.xml.errors new file mode 100644 index 00000000..3936fe18 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fieldOperand/field/wrong_attribute.xml.errors @@ -0,0 +1,2 @@ +["$field"]: Invariant violated: +The value must match the pattern of a field identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/empty.xml new file mode 100644 index 00000000..505e4a3b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/empty.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/empty.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/empty.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_03.xml new file mode 100644 index 00000000..eb285227 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_03.xml @@ -0,0 +1,3 @@ + + 𡔹 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_04.xml new file mode 100644 index 00000000..7cfddd0c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ÐÐ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_05.xml new file mode 100644 index 00000000..06592324 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 󝵽§…°¢󃡚>3󸴷 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_06.xml new file mode 100644 index 00000000..14488521 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + q•d + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_07.xml new file mode 100644 index 00000000..01e648e8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_07.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_08.xml new file mode 100644 index 00000000..505e4a3b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_08.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_09.xml new file mode 100644 index 00000000..e358d0bb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_09.xml @@ -0,0 +1,3 @@ + + |ä + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_10.xml new file mode 100644 index 00000000..05915659 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_10.xml @@ -0,0 +1,3 @@ + + 𜮰𜮰 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/number.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/number.xml new file mode 100644 index 00000000..a0b81928 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/number.xml @@ -0,0 +1,3 @@ + + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/number.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/number.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/number.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..5ac6a6b2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..64b2bb74 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..8fb89ef1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..a4befd82 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..bc32c45c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_01.xml new file mode 100644 index 00000000..be9590b5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 񊾤 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_02.xml new file mode 100644 index 00000000..ed71b28d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 󝺮ꨁ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_03.xml new file mode 100644 index 00000000..e8d2f0d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_03.xml @@ -0,0 +1,3 @@ + + çö + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_05.xml new file mode 100644 index 00000000..e1153246 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + †䀣𖗅 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_06.xml new file mode 100644 index 00000000..300084ea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + 󝺮ꨁ񩤊 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_07.xml new file mode 100644 index 00000000..411f82a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_07.xml @@ -0,0 +1,3 @@ + + ࠁࠁ𦊩 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_08.xml new file mode 100644 index 00000000..543f7c7b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_08.xml @@ -0,0 +1,3 @@ + + PKâ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_09.xml new file mode 100644 index 00000000..82834837 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_09.xml @@ -0,0 +1,3 @@ + + ð"u + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_10.xml new file mode 100644 index 00000000..c1585933 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_10.xml @@ -0,0 +1,3 @@ + + 00𐀇 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_01.xml new file mode 100644 index 00000000..a1a2ef01 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_01.xml @@ -0,0 +1,3 @@ + + http://exa mple.org + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_01.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_01.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_02.xml new file mode 100644 index 00000000..09800c2a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_02.xml @@ -0,0 +1,3 @@ + + ://example.org + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_02.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_02.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..6154e38f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..1a33b64e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..6cb12a69 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..2f56783a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..c9749a17 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileMetadata/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/empty.xml new file mode 100644 index 00000000..1a54eeee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/empty.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/empty.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/empty.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_03.xml new file mode 100644 index 00000000..7bd93ac1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_03.xml @@ -0,0 +1,3 @@ + + 𡔹 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_04.xml new file mode 100644 index 00000000..ddd3b1c2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ÐÐ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_05.xml new file mode 100644 index 00000000..890a27ce --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 󝵽§…°¢󃡚>3󸴷 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_06.xml new file mode 100644 index 00000000..ef1c8fba --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + q•d + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_07.xml new file mode 100644 index 00000000..fdedfd05 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_07.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_08.xml new file mode 100644 index 00000000..1a54eeee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_08.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_09.xml new file mode 100644 index 00000000..d639c2fe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_09.xml @@ -0,0 +1,3 @@ + + |ä + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_10.xml new file mode 100644 index 00000000..1f96c06d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_10.xml @@ -0,0 +1,3 @@ + + 𜮰𜮰 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/number.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/number.xml new file mode 100644 index 00000000..94523554 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/number.xml @@ -0,0 +1,3 @@ + + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/number.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/number.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/contentType/number.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_01.xml new file mode 100644 index 00000000..501d8525 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 񊾤 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_02.xml new file mode 100644 index 00000000..8f44a463 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 󝺮ꨁ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_03.xml new file mode 100644 index 00000000..317ca123 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_03.xml @@ -0,0 +1,3 @@ + + çö + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_05.xml new file mode 100644 index 00000000..8c965ea4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + †䀣𖗅 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_06.xml new file mode 100644 index 00000000..97373346 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + 󝺮ꨁ񩤊 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_07.xml new file mode 100644 index 00000000..fa022777 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_07.xml @@ -0,0 +1,3 @@ + + ࠁࠁ𦊩 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_08.xml new file mode 100644 index 00000000..b0434b0b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_08.xml @@ -0,0 +1,3 @@ + + PKâ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_09.xml new file mode 100644 index 00000000..ec5e717d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_09.xml @@ -0,0 +1,3 @@ + + ð"u + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_10.xml new file mode 100644 index 00000000..b537725c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_10.xml @@ -0,0 +1,3 @@ + + 00𐀇 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_made_up_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_made_up_01.xml new file mode 100644 index 00000000..658a272c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_made_up_01.xml @@ -0,0 +1,3 @@ + + http://exa mple.org + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_made_up_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_made_up_01.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_made_up_01.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_made_up_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_made_up_02.xml new file mode 100644 index 00000000..d420ff70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_made_up_02.xml @@ -0,0 +1,3 @@ + + ://example.org + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_made_up_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_made_up_02.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/fileValue/value/negatively_made_up_02.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/empty_digits.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/empty_digits.xml new file mode 100644 index 00000000..8ac247c6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/empty_digits.xml @@ -0,0 +1,3 @@ + + 16# + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/empty_digits.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/empty_digits.xml.errors new file mode 100644 index 00000000..834b376f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/empty_digits.xml.errors @@ -0,0 +1,2 @@ +["$hexVal"]: Invariant violated: +The value must match the pattern of a hexadecimal literal. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/lower_case.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/lower_case.xml new file mode 100644 index 00000000..b367dddc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/lower_case.xml @@ -0,0 +1,3 @@ + + 16#1f + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/lower_case.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/lower_case.xml.errors new file mode 100644 index 00000000..834b376f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/lower_case.xml.errors @@ -0,0 +1,2 @@ +["$hexVal"]: Invariant violated: +The value must match the pattern of a hexadecimal literal. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/no_prefix.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/no_prefix.xml new file mode 100644 index 00000000..9961b0f5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/no_prefix.xml @@ -0,0 +1,3 @@ + + 1F + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/no_prefix.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/no_prefix.xml.errors new file mode 100644 index 00000000..834b376f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/no_prefix.xml.errors @@ -0,0 +1,2 @@ +["$hexVal"]: Invariant violated: +The value must match the pattern of a hexadecimal literal. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/not_hex.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/not_hex.xml new file mode 100644 index 00000000..4ddd62ff --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/not_hex.xml @@ -0,0 +1,3 @@ + + 16#G1 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/not_hex.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/not_hex.xml.errors new file mode 100644 index 00000000..834b376f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/not_hex.xml.errors @@ -0,0 +1,2 @@ +["$hexVal"]: Invariant violated: +The value must match the pattern of a hexadecimal literal. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/other_base.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/other_base.xml new file mode 100644 index 00000000..896f1b21 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/other_base.xml @@ -0,0 +1,3 @@ + + 8#17 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/other_base.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/other_base.xml.errors new file mode 100644 index 00000000..834b376f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/hexLiteral/hexVal/other_base.xml.errors @@ -0,0 +1,2 @@ +["$hexVal"]: Invariant violated: +The value must match the pattern of a hexadecimal literal. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/empty.xml new file mode 100644 index 00000000..f422c411 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/empty.xml @@ -0,0 +1,4 @@ + + + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/empty.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/empty.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/free_form_text.xml new file mode 100644 index 00000000..b3cb82d3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/free_form_text.xml @@ -0,0 +1,4 @@ + + some free-form text + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/free_form_text.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/free_form_text.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_02.xml new file mode 100644 index 00000000..afc4bcbe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + Ûg􅅖²򅘴e´򗞕 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_03.xml new file mode 100644 index 00000000..65a79be3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_03.xml @@ -0,0 +1,4 @@ + + 󉻽󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_04.xml new file mode 100644 index 00000000..13b75d51 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + 0 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_05.xml new file mode 100644 index 00000000..5ac3a6b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 􀬁7111 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_06.xml new file mode 100644 index 00000000..be18d716 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + 󯺏 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_07.xml new file mode 100644 index 00000000..2794f5ba --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_07.xml @@ -0,0 +1,4 @@ + + 󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_08.xml new file mode 100644 index 00000000..5d19da10 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_08.xml @@ -0,0 +1,4 @@ + + øPí + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_09.xml new file mode 100644 index 00000000..578099a3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_09.xml @@ -0,0 +1,4 @@ + + pÜ򃯋®AÇ + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/empty.xml new file mode 100644 index 00000000..69c0f812 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/empty.xml @@ -0,0 +1,4 @@ + + + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/empty.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/empty.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/free_form_text.xml new file mode 100644 index 00000000..09e529af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/free_form_text.xml @@ -0,0 +1,4 @@ + + some free-form text + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/free_form_text.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/free_form_text.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_02.xml new file mode 100644 index 00000000..b7612fb7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + Ûg􅅖²򅘴e´򗞕 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_03.xml new file mode 100644 index 00000000..4074f4eb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_03.xml @@ -0,0 +1,4 @@ + + 󉻽󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_04.xml new file mode 100644 index 00000000..22f6aa29 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + 0 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_05.xml new file mode 100644 index 00000000..aa0defd9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 􀬁7111 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_06.xml new file mode 100644 index 00000000..08c254f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + 󯺏 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_07.xml new file mode 100644 index 00000000..ce62bf99 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_07.xml @@ -0,0 +1,4 @@ + + 󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_08.xml new file mode 100644 index 00000000..dbe2996d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_08.xml @@ -0,0 +1,4 @@ + + øPí + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_09.xml new file mode 100644 index 00000000..fd5044a9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_09.xml @@ -0,0 +1,4 @@ + + pÜ򃯋®AÇ + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/empty.xml new file mode 100644 index 00000000..4ae5eda0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/empty.xml @@ -0,0 +1,4 @@ + + + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/empty.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/empty.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/free_form_text.xml new file mode 100644 index 00000000..3740d42d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/free_form_text.xml @@ -0,0 +1,4 @@ + + some free-form text + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/free_form_text.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/free_form_text.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.xml new file mode 100644 index 00000000..fdb7bf7b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + Ûg􅅖²򅘴e´򗞕 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.xml new file mode 100644 index 00000000..9c8ecb40 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.xml @@ -0,0 +1,4 @@ + + 󉻽󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.xml new file mode 100644 index 00000000..0789fb70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + 0 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.xml new file mode 100644 index 00000000..8954a825 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 􀬁7111 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.xml new file mode 100644 index 00000000..51227144 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + 󯺏 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.xml new file mode 100644 index 00000000..12578f96 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.xml @@ -0,0 +1,4 @@ + + 󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.xml new file mode 100644 index 00000000..9a79dea8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.xml @@ -0,0 +1,4 @@ + + øPí + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.xml new file mode 100644 index 00000000..bc4454df --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.xml @@ -0,0 +1,4 @@ + + pÜ򃯋®AÇ + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/empty.xml new file mode 100644 index 00000000..0f78802f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/empty.xml @@ -0,0 +1,4 @@ + + + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/empty.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/empty.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/free_form_text.xml new file mode 100644 index 00000000..45eb2a34 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/free_form_text.xml @@ -0,0 +1,4 @@ + + some free-form text + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/free_form_text.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/free_form_text.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_02.xml new file mode 100644 index 00000000..2a36be12 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + Ûg􅅖²򅘴e´򗞕 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_03.xml new file mode 100644 index 00000000..9b95e972 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_03.xml @@ -0,0 +1,4 @@ + + 󉻽󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_04.xml new file mode 100644 index 00000000..fffa15a1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + 0 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_05.xml new file mode 100644 index 00000000..61e74059 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 􀬁7111 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_06.xml new file mode 100644 index 00000000..5e0c7af1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + 󯺏 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_07.xml new file mode 100644 index 00000000..fe331600 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_07.xml @@ -0,0 +1,4 @@ + + 󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_08.xml new file mode 100644 index 00000000..ac3efd26 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_08.xml @@ -0,0 +1,4 @@ + + øPí + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_09.xml new file mode 100644 index 00000000..70f3397b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_09.xml @@ -0,0 +1,4 @@ + + pÜ򃯋®AÇ + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/empty.xml new file mode 100644 index 00000000..80ea1360 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/empty.xml @@ -0,0 +1,4 @@ + + + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/empty.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/empty.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/free_form_text.xml new file mode 100644 index 00000000..fcb287a1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/free_form_text.xml @@ -0,0 +1,4 @@ + + some free-form text + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/free_form_text.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/free_form_text.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_02.xml new file mode 100644 index 00000000..be753632 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + Ûg􅅖²򅘴e´򗞕 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_03.xml new file mode 100644 index 00000000..a91f3d4b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_03.xml @@ -0,0 +1,4 @@ + + 󉻽󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_04.xml new file mode 100644 index 00000000..745c4e5e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + 0 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_05.xml new file mode 100644 index 00000000..56ed5793 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 􀬁7111 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_06.xml new file mode 100644 index 00000000..42648654 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + 󯺏 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_07.xml new file mode 100644 index 00000000..0fbd88af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_07.xml @@ -0,0 +1,4 @@ + + 󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_08.xml new file mode 100644 index 00000000..c4d15bde --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_08.xml @@ -0,0 +1,4 @@ + + øPí + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_09.xml new file mode 100644 index 00000000..e755b99b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_09.xml @@ -0,0 +1,4 @@ + + pÜ򃯋®AÇ + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/empty.xml new file mode 100644 index 00000000..f3d738bf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/empty.xml @@ -0,0 +1,4 @@ + + + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/empty.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/empty.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/free_form_text.xml new file mode 100644 index 00000000..259c2fde --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/free_form_text.xml @@ -0,0 +1,4 @@ + + some free-form text + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/free_form_text.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/free_form_text.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_02.xml new file mode 100644 index 00000000..601b34f1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + Ûg􅅖²򅘴e´򗞕 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_03.xml new file mode 100644 index 00000000..eaaaa2ce --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_03.xml @@ -0,0 +1,4 @@ + + 󉻽󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_04.xml new file mode 100644 index 00000000..795ed6e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + 0 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_05.xml new file mode 100644 index 00000000..c53d228f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 􀬁7111 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_06.xml new file mode 100644 index 00000000..168f3892 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + 󯺏 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_07.xml new file mode 100644 index 00000000..955eca9c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_07.xml @@ -0,0 +1,4 @@ + + 󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_08.xml new file mode 100644 index 00000000..266eb82e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_08.xml @@ -0,0 +1,4 @@ + + øPí + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_09.xml new file mode 100644 index 00000000..7119ce23 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_09.xml @@ -0,0 +1,4 @@ + + pÜ򃯋®AÇ + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringUom/language/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/date_time_with_UTC_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/date_time_with_UTC_and_suffix.xml new file mode 100644 index 00000000..924ef3b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/date_time_with_UTC_and_suffix.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 2022-04-01T01:02:03Z-unexpected-suffix + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/date_time_with_UTC_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/date_time_with_UTC_and_suffix.xml.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/date_time_with_UTC_and_suffix.xml.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/date_time_with_offset.xml new file mode 100644 index 00000000..e1351c68 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/date_time_with_offset.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/date_time_with_offset.xml.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/date_time_with_offset.xml.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/date_time_without_zone.xml new file mode 100644 index 00000000..d8b9ecd3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/date_time_without_zone.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/date_time_without_zone.xml.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/date_time_without_zone.xml.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/empty.xml new file mode 100644 index 00000000..1ec76e9f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/empty.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/empty.xml.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/empty.xml.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/invalid_february_29th.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/invalid_february_29th.xml new file mode 100644 index 00000000..91522e62 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/invalid_february_29th.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 2026-02-29T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/invalid_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/invalid_february_29th.xml.errors new file mode 100644 index 00000000..0cae55a1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/invalid_february_29th.xml.errors @@ -0,0 +1,2 @@ +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_02.xml new file mode 100644 index 00000000..d0ad8df6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + <1𼨆򈷐Å\H󀨓 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_02.xml.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_03.xml new file mode 100644 index 00000000..1b67a6db --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 𢬣񂡼Í·ð˜²+š񁅿 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_03.xml.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_04.xml new file mode 100644 index 00000000..1086ab0c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 񊒳ð…񇐯 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_04.xml.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_05.xml new file mode 100644 index 00000000..f0586e36 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 󢮾e𓕍—ñ> + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_05.xml.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_06.xml new file mode 100644 index 00000000..a9aa1284 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 􃶦𮝸 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_06.xml.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_08.xml new file mode 100644 index 00000000..65bf13ac --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + hh + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_09.xml new file mode 100644 index 00000000..6a9d6d50 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + E…𑄦𠧃Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_09.xml.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_10.xml new file mode 100644 index 00000000..bf3924b8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 󉻽󉻽񻫾𛾨􉂌𓺶 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/negatively_fuzzed_10.xml.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/only_date.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/only_date.xml new file mode 100644 index 00000000..e749df09 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/only_date.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 2022-04-01 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/only_date.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/only_date.xml.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/only_date.xml.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/only_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/only_date_with_time_zone.xml new file mode 100644 index 00000000..12db9742 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/only_date_with_time_zone.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 2022-04-01Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/only_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/only_date_with_time_zone.xml.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/only_date_with_time_zone.xml.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/without_minutes.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/without_minutes.xml new file mode 100644 index 00000000..d8949299 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/without_minutes.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 2022-04-01T01Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/without_minutes.xml.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/without_minutes.xml.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/without_seconds.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/without_seconds.xml new file mode 100644 index 00000000..0b21939f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/without_seconds.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + 2022-04-01T01:02Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/without_seconds.xml.errors new file mode 100644 index 00000000..bb29c3f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/message/timestamp/without_seconds.xml.errors @@ -0,0 +1,4 @@ +timestamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timestamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..0e60118e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..32d59589 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..2c20bed6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..48ea25b0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..7bb74edc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..8b6bac6e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..b3b7eff2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..132e9267 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..adc44d04 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..1f103cb6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguagePropertyMetadata/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..180612c7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..1fe23da9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..d183465c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..e313fce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..3a83fb81 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..2b586340 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..1658a441 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..21621226 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..338b73e5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..9675d013 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationMetadata/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/empty.xml new file mode 100644 index 00000000..5d49968e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/empty.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/empty.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/empty.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/free_form_text.xml new file mode 100644 index 00000000..b6ac3ffb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/free_form_text.xml @@ -0,0 +1,3 @@ + + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/free_form_text.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/free_form_text.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/integer.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/integer.xml new file mode 100644 index 00000000..3afafc29 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/integer.xml @@ -0,0 +1,3 @@ + + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/integer.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/integer.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/integer.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/leading_P_missing.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/leading_P_missing.xml new file mode 100644 index 00000000..c8f1035d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/leading_P_missing.xml @@ -0,0 +1,3 @@ + + 1Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/leading_P_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/leading_P_missing.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/leading_P_missing.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/negative_years.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/negative_years.xml new file mode 100644 index 00000000..6fdbc248 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/negative_years.xml @@ -0,0 +1,3 @@ + + P-1Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/negative_years.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/negative_years.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/negative_years.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/positive_year_negative_months.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/positive_year_negative_months.xml new file mode 100644 index 00000000..8a02d48c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/positive_year_negative_months.xml @@ -0,0 +1,3 @@ + + P1Y-1M + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/positive_year_negative_months.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/positive_year_negative_months.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/positive_year_negative_months.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/separator_T_missing.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/separator_T_missing.xml new file mode 100644 index 00000000..e6fc9fd3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/separator_T_missing.xml @@ -0,0 +1,3 @@ + + P1S + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/separator_T_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/separator_T_missing.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/separator_T_missing.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/the_order_matters.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/the_order_matters.xml new file mode 100644 index 00000000..6ad00a6b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/the_order_matters.xml @@ -0,0 +1,3 @@ + + P1M2Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/the_order_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/the_order_matters.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequest/clientTimeoutDuration/the_order_matters.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/empty.xml new file mode 100644 index 00000000..a9d897d9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/empty.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/empty.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/empty.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/free_form_text.xml new file mode 100644 index 00000000..da656a82 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/free_form_text.xml @@ -0,0 +1,3 @@ + + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/free_form_text.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/free_form_text.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/integer.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/integer.xml new file mode 100644 index 00000000..beed0aad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/integer.xml @@ -0,0 +1,3 @@ + + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/integer.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/integer.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/integer.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/leading_P_missing.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/leading_P_missing.xml new file mode 100644 index 00000000..0a84cc2c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/leading_P_missing.xml @@ -0,0 +1,3 @@ + + 1Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/leading_P_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/leading_P_missing.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/leading_P_missing.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/negative_years.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/negative_years.xml new file mode 100644 index 00000000..cb5710cc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/negative_years.xml @@ -0,0 +1,3 @@ + + P-1Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/negative_years.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/negative_years.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/negative_years.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/positive_year_negative_months.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/positive_year_negative_months.xml new file mode 100644 index 00000000..e8c62456 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/positive_year_negative_months.xml @@ -0,0 +1,3 @@ + + P1Y-1M + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/positive_year_negative_months.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/positive_year_negative_months.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/positive_year_negative_months.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/separator_T_missing.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/separator_T_missing.xml new file mode 100644 index 00000000..72f6ad79 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/separator_T_missing.xml @@ -0,0 +1,3 @@ + + P1S + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/separator_T_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/separator_T_missing.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/separator_T_missing.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/the_order_matters.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/the_order_matters.xml new file mode 100644 index 00000000..45e3aa95 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/the_order_matters.xml @@ -0,0 +1,3 @@ + + P1M2Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/the_order_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/the_order_matters.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsync/clientTimeoutDuration/the_order_matters.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/empty.xml new file mode 100644 index 00000000..1ad71ddd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/empty.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/empty.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/empty.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/free_form_text.xml new file mode 100644 index 00000000..898b7645 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/free_form_text.xml @@ -0,0 +1,3 @@ + + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/free_form_text.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/free_form_text.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/integer.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/integer.xml new file mode 100644 index 00000000..bd0ba8a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/integer.xml @@ -0,0 +1,3 @@ + + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/integer.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/integer.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/integer.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/leading_P_missing.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/leading_P_missing.xml new file mode 100644 index 00000000..1503e7fd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/leading_P_missing.xml @@ -0,0 +1,3 @@ + + 1Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/leading_P_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/leading_P_missing.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/leading_P_missing.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/negative_years.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/negative_years.xml new file mode 100644 index 00000000..8ba032ce --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/negative_years.xml @@ -0,0 +1,3 @@ + + P-1Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/negative_years.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/negative_years.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/negative_years.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/positive_year_negative_months.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/positive_year_negative_months.xml new file mode 100644 index 00000000..5cec2095 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/positive_year_negative_months.xml @@ -0,0 +1,3 @@ + + P1Y-1M + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/positive_year_negative_months.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/positive_year_negative_months.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/positive_year_negative_months.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/separator_T_missing.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/separator_T_missing.xml new file mode 100644 index 00000000..94644ad7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/separator_T_missing.xml @@ -0,0 +1,3 @@ + + P1S + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/separator_T_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/separator_T_missing.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/separator_T_missing.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/the_order_matters.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/the_order_matters.xml new file mode 100644 index 00000000..32f23d8c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/the_order_matters.xml @@ -0,0 +1,3 @@ + + P1M2Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/the_order_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/the_order_matters.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestAsyncValueOnly/clientTimeoutDuration/the_order_matters.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/empty.xml new file mode 100644 index 00000000..b4b27bc4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/empty.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/empty.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/empty.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/free_form_text.xml new file mode 100644 index 00000000..c0844cf1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/free_form_text.xml @@ -0,0 +1,3 @@ + + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/free_form_text.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/free_form_text.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/integer.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/integer.xml new file mode 100644 index 00000000..6d663019 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/integer.xml @@ -0,0 +1,3 @@ + + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/integer.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/integer.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/integer.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/leading_P_missing.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/leading_P_missing.xml new file mode 100644 index 00000000..778e1242 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/leading_P_missing.xml @@ -0,0 +1,3 @@ + + 1Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/leading_P_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/leading_P_missing.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/leading_P_missing.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/negative_years.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/negative_years.xml new file mode 100644 index 00000000..3a676109 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/negative_years.xml @@ -0,0 +1,3 @@ + + P-1Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/negative_years.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/negative_years.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/negative_years.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/positive_year_negative_months.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/positive_year_negative_months.xml new file mode 100644 index 00000000..2be772c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/positive_year_negative_months.xml @@ -0,0 +1,3 @@ + + P1Y-1M + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/positive_year_negative_months.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/positive_year_negative_months.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/positive_year_negative_months.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/separator_T_missing.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/separator_T_missing.xml new file mode 100644 index 00000000..eef74d2f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/separator_T_missing.xml @@ -0,0 +1,3 @@ + + P1S + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/separator_T_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/separator_T_missing.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/separator_T_missing.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/the_order_matters.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/the_order_matters.xml new file mode 100644 index 00000000..8e007396 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/the_order_matters.xml @@ -0,0 +1,3 @@ + + P1M2Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/the_order_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/the_order_matters.xml.errors new file mode 100644 index 00000000..7c2bdd88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operationRequestValueOnly/clientTimeoutDuration/the_order_matters.xml.errors @@ -0,0 +1,2 @@ +clientTimeoutDuration: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..3832de10 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,4 @@ + + 򚪾󰾫7 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..9054195b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + 15 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..090f7105 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + ‡Y񐅽󍈪 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..8d06b3fc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 9䠄񓝝 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..697f3cb1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + @ + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..df362ff7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,4 @@ + + 򚪾󰾫7 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..90e884d3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + 15 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..7128fbcf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + ‡Y񐅽󍈪 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..ca174b43 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 9䠄񓝝 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..6fb14829 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + @ + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/propertyMetadata/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/bad_index.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/bad_index.xml new file mode 100644 index 00000000..6f086b25 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/bad_index.xml @@ -0,0 +1,15 @@ + + $aas#submodels[x] + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/bad_index.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/bad_index.xml.errors new file mode 100644 index 00000000..5e9153a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/bad_index.xml.errors @@ -0,0 +1,2 @@ +["$fragment"]: Invariant violated: +The value must match the pattern of a fragment field identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/cd_id.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/cd_id.xml new file mode 100644 index 00000000..3311e9ac --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/cd_id.xml @@ -0,0 +1,15 @@ + + $cd#id + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/cd_id.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/cd_id.xml.errors new file mode 100644 index 00000000..5e9153a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/cd_id.xml.errors @@ -0,0 +1,2 @@ +["$fragment"]: Invariant violated: +The value must match the pattern of a fragment field identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/empty.xml new file mode 100644 index 00000000..e19050cd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/empty.xml @@ -0,0 +1,15 @@ + + + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/empty.xml.errors new file mode 100644 index 00000000..5e9153a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/empty.xml.errors @@ -0,0 +1,2 @@ +["$fragment"]: Invariant violated: +The value must match the pattern of a fragment field identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/missing_root.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/missing_root.xml new file mode 100644 index 00000000..b9ee88f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/missing_root.xml @@ -0,0 +1,15 @@ + + #idShort + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/missing_root.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/missing_root.xml.errors new file mode 100644 index 00000000..5e9153a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/missing_root.xml.errors @@ -0,0 +1,2 @@ +["$fragment"]: Invariant violated: +The value must match the pattern of a fragment field identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/sm_id.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/sm_id.xml new file mode 100644 index 00000000..ee5c07b8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/sm_id.xml @@ -0,0 +1,15 @@ + + $sm#id + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/sm_id.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/sm_id.xml.errors new file mode 100644 index 00000000..5e9153a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/sm_id.xml.errors @@ -0,0 +1,2 @@ +["$fragment"]: Invariant violated: +The value must match the pattern of a fragment field identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/trailing_dot.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/trailing_dot.xml new file mode 100644 index 00000000..3bba38a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/trailing_dot.xml @@ -0,0 +1,15 @@ + + $sme.a. + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/trailing_dot.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/trailing_dot.xml.errors new file mode 100644 index 00000000..5e9153a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/trailing_dot.xml.errors @@ -0,0 +1,2 @@ +["$fragment"]: Invariant violated: +The value must match the pattern of a fragment field identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/unknown_root.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/unknown_root.xml new file mode 100644 index 00000000..333f95fd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/unknown_root.xml @@ -0,0 +1,15 @@ + + $xyz#idShort + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/unknown_root.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/unknown_root.xml.errors new file mode 100644 index 00000000..5e9153a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/queryFilter/fragment/unknown_root.xml.errors @@ -0,0 +1,2 @@ +["$fragment"]: Invariant violated: +The value must match the pattern of a fragment field identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..6dabeae5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,4 @@ + + 򚪾󰾫7 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..671fb843 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + 15 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..ed1bf8fd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + ‡Y񐅽󍈪 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..2ad6434a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 9䠄񓝝 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..c8499a5c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + @ + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..b6b61fa8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,4 @@ + + 򚪾󰾫7 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..e05c30fb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + 15 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..d64fc42c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + ‡Y񐅽󍈪 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..686b3eb1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 9䠄񓝝 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..e197579f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + @ + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/rangeMetadata/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/cd_value.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/cd_value.xml new file mode 100644 index 00000000..b112b332 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/cd_value.xml @@ -0,0 +1,3 @@ + + $cd("a")#value + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/cd_value.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/cd_value.xml.errors new file mode 100644 index 00000000..f7a50d00 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/cd_value.xml.errors @@ -0,0 +1,2 @@ +REFERENCE: Invariant violated: +The value must match the pattern of a reference identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/empty.xml new file mode 100644 index 00000000..32eb3e9b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/empty.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/empty.xml.errors new file mode 100644 index 00000000..f7a50d00 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/empty.xml.errors @@ -0,0 +1,2 @@ +REFERENCE: Invariant violated: +The value must match the pattern of a reference identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/empty_identifier.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/empty_identifier.xml new file mode 100644 index 00000000..4eb1b121 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/empty_identifier.xml @@ -0,0 +1,3 @@ + + $sm("")#idShort + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/empty_identifier.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/empty_identifier.xml.errors new file mode 100644 index 00000000..f7a50d00 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/empty_identifier.xml.errors @@ -0,0 +1,2 @@ +REFERENCE: Invariant violated: +The value must match the pattern of a reference identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/missing_parens.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/missing_parens.xml new file mode 100644 index 00000000..3d5a617a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/missing_parens.xml @@ -0,0 +1,3 @@ + + $sm#idShort + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/missing_parens.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/missing_parens.xml.errors new file mode 100644 index 00000000..f7a50d00 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/missing_parens.xml.errors @@ -0,0 +1,2 @@ +REFERENCE: Invariant violated: +The value must match the pattern of a reference identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/missing_path.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/missing_path.xml new file mode 100644 index 00000000..7d8b66ff --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/missing_path.xml @@ -0,0 +1,3 @@ + + $sme("sm1")#value + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/missing_path.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/missing_path.xml.errors new file mode 100644 index 00000000..f7a50d00 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/missing_path.xml.errors @@ -0,0 +1,2 @@ +REFERENCE: Invariant violated: +The value must match the pattern of a reference identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/unescaped_quote.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/unescaped_quote.xml new file mode 100644 index 00000000..5744bad1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/unescaped_quote.xml @@ -0,0 +1,3 @@ + + $sm("a"b")#id + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/unescaped_quote.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/unescaped_quote.xml.errors new file mode 100644 index 00000000..f7a50d00 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/unescaped_quote.xml.errors @@ -0,0 +1,2 @@ +REFERENCE: Invariant violated: +The value must match the pattern of a reference identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/unknown_root.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/unknown_root.xml new file mode 100644 index 00000000..7372ccc8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/unknown_root.xml @@ -0,0 +1,3 @@ + + $xyz("a")#idShort + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/unknown_root.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/unknown_root.xml.errors new file mode 100644 index 00000000..f7a50d00 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceAttribute/reference/unknown_root.xml.errors @@ -0,0 +1,2 @@ +REFERENCE: Invariant violated: +The value must match the pattern of a reference identifier. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..6ec36410 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..15d28ccb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..a7f756d6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..72a7abf0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..1f733f98 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..524d068a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..a1f77be6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..6aa6dfc0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..5d44cb3f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..dc42fdf0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElementMetadata/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..fb8c8f3e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..ba56bb6b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..fb52137e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..717ab06c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..0452f9fb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..b93f32cf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..6ca69821 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..ef617a2c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..2e831240 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..4b4f747f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElementMetadata/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/empty.xml new file mode 100644 index 00000000..eaa8fe91 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/empty.xml @@ -0,0 +1,4 @@ + + #; + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/empty.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/empty.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_03.xml new file mode 100644 index 00000000..3a9f1136 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_03.xml @@ -0,0 +1,4 @@ + + #; + 𡔹 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_04.xml new file mode 100644 index 00000000..ce35614b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + #; + ÐÐ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_05.xml new file mode 100644 index 00000000..f1338cf6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + #; + 󝵽§…°¢󃡚>3󸴷 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_06.xml new file mode 100644 index 00000000..eb283f83 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + #; + q•d + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_07.xml new file mode 100644 index 00000000..38ccfd2d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_07.xml @@ -0,0 +1,4 @@ + + #; + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_08.xml new file mode 100644 index 00000000..eaa8fe91 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_08.xml @@ -0,0 +1,4 @@ + + #; + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_09.xml new file mode 100644 index 00000000..b11d2f3c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_09.xml @@ -0,0 +1,4 @@ + + #; + |ä + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_10.xml new file mode 100644 index 00000000..b8f154a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_10.xml @@ -0,0 +1,4 @@ + + #; + 𜮰𜮰 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/number.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/number.xml new file mode 100644 index 00000000..4bcb94de --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/number.xml @@ -0,0 +1,4 @@ + + #; + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/number.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/number.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/number.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_01.xml new file mode 100644 index 00000000..56a8ac4d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 񊾤 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_02.xml new file mode 100644 index 00000000..64881eaf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 󝺮ꨁ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_03.xml new file mode 100644 index 00000000..c638af82 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_03.xml @@ -0,0 +1,3 @@ + + çö + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_05.xml new file mode 100644 index 00000000..2d7673a7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + †䀣𖗅 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_06.xml new file mode 100644 index 00000000..f7fd5ad3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + 󝺮ꨁ񩤊 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_07.xml new file mode 100644 index 00000000..84186e3f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_07.xml @@ -0,0 +1,3 @@ + + ࠁࠁ𦊩 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_08.xml new file mode 100644 index 00000000..f6e405c3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_08.xml @@ -0,0 +1,3 @@ + + PKâ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_09.xml new file mode 100644 index 00000000..e31127f6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_09.xml @@ -0,0 +1,3 @@ + + ð"u + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_10.xml new file mode 100644 index 00000000..bf9a81e5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_10.xml @@ -0,0 +1,3 @@ + + 00𐀇 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_01.xml new file mode 100644 index 00000000..1b0faf9a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_01.xml @@ -0,0 +1,3 @@ + + http://exa mple.org + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_01.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_01.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_02.xml new file mode 100644 index 00000000..1bfd407f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_02.xml @@ -0,0 +1,3 @@ + + ://example.org + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_02.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_02.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..b47729bf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,4 @@ + + 򚪾󰾫7 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..f2b52c93 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + 15 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..368fc88f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + ‡Y񐅽󍈪 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..ee68bf28 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 9䠄񓝝 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..eb10356e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + @ + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..9458fd1e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..6a8e012f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..ad8e9fb3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..6f32300d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..a264803e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..e05da307 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..e22ba625 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..32f96470 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..7e963f88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..989e6370 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollectionMetadata/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..8bf180c9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,4 @@ + + 򚪾󰾫7 + BasicEventElement + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..36c9635f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + 15 + BasicEventElement + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..2b958b03 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + ‡Y񐅽󍈪 + BasicEventElement + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..fb5370b0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 9䠄񓝝 + BasicEventElement + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..0b7e5b80 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + @ + BasicEventElement + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..0ee4e8d2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,4 @@ + + 򚪾󰾫7 + BasicEventElement + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..ec975084 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + 15 + BasicEventElement + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..06f3f302 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + ‡Y񐅽󍈪 + BasicEventElement + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..27c1cf9e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 9䠄񓝝 + BasicEventElement + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..2700e727 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + @ + BasicEventElement + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementListMetadata/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..4eae1431 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,4 @@ + + 򚪾󰾫7 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..25f44c43 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + 15 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..72144816 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + ‡Y񐅽󍈪 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..e31cb44b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 9䠄񓝝 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..81d93cbe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + @ + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..43693cf2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelMetadata/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +AASd-002: ID-short of Referables shall consist of at least two characters and shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/date_time_with_UTC_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/date_time_with_UTC_and_suffix.xml new file mode 100644 index 00000000..a78fe66e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/date_time_with_UTC_and_suffix.xml @@ -0,0 +1,5 @@ + + 2022-04-01T01:02:03Z-unexpected-suffix + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/date_time_with_UTC_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/date_time_with_UTC_and_suffix.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/date_time_with_UTC_and_suffix.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/date_time_with_offset.xml new file mode 100644 index 00000000..8fb7bfa9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/date_time_with_offset.xml @@ -0,0 +1,5 @@ + + 2022-04-01T01:02:03+02:00 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/date_time_with_offset.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/date_time_with_offset.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/date_time_without_zone.xml new file mode 100644 index 00000000..9873197f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/date_time_without_zone.xml @@ -0,0 +1,5 @@ + + 2022-04-01T01:02:03 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/date_time_without_zone.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/date_time_without_zone.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/empty.xml new file mode 100644 index 00000000..46082db1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/empty.xml @@ -0,0 +1,5 @@ + + + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/empty.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/empty.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/invalid_february_29th.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/invalid_february_29th.xml new file mode 100644 index 00000000..aac96869 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/invalid_february_29th.xml @@ -0,0 +1,5 @@ + + 2026-02-29T01:02:03Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/invalid_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/invalid_february_29th.xml.errors new file mode 100644 index 00000000..66d5d19f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/invalid_february_29th.xml.errors @@ -0,0 +1,2 @@ +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_02.xml new file mode 100644 index 00000000..d8b20de1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_02.xml @@ -0,0 +1,5 @@ + + <1𼨆򈷐Å\H󀨓 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_02.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_03.xml new file mode 100644 index 00000000..689ff063 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_03.xml @@ -0,0 +1,5 @@ + + 𢬣񂡼Í·ð˜²+š񁅿 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_03.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_04.xml new file mode 100644 index 00000000..c972a254 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_04.xml @@ -0,0 +1,5 @@ + + 񊒳ð…񇐯 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_04.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_05.xml new file mode 100644 index 00000000..5afbe4da --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + 󢮾e𓕍—ñ> + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_05.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_06.xml new file mode 100644 index 00000000..c4068e1f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_06.xml @@ -0,0 +1,5 @@ + + 􃶦𮝸 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_06.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_08.xml new file mode 100644 index 00000000..124fea33 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_08.xml @@ -0,0 +1,5 @@ + + hh + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_09.xml new file mode 100644 index 00000000..1c38f0ba --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_09.xml @@ -0,0 +1,5 @@ + + E…𑄦𠧃Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_09.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_10.xml new file mode 100644 index 00000000..a32b2458 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + 󉻽󉻽񻫾𛾨􉂌𓺶 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/negatively_fuzzed_10.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/only_date.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/only_date.xml new file mode 100644 index 00000000..d46cf55b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/only_date.xml @@ -0,0 +1,5 @@ + + 2022-04-01 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/only_date.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/only_date.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/only_date.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/only_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/only_date_with_time_zone.xml new file mode 100644 index 00000000..3ca124a7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/only_date_with_time_zone.xml @@ -0,0 +1,5 @@ + + 2022-04-01Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/only_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/only_date_with_time_zone.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/only_date_with_time_zone.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/without_minutes.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/without_minutes.xml new file mode 100644 index 00000000..02ee4b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/without_minutes.xml @@ -0,0 +1,5 @@ + + 2022-04-01T01Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/without_minutes.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/without_minutes.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/without_seconds.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/without_seconds.xml new file mode 100644 index 00000000..bf64975a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/without_seconds.xml @@ -0,0 +1,5 @@ + + 2022-04-01T01:02Z + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/without_seconds.xml.errors new file mode 100644 index 00000000..beb36637 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/createdAt/without_seconds.xml.errors @@ -0,0 +1,4 @@ +createdAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +createdAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/date_time_with_UTC_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/date_time_with_UTC_and_suffix.xml new file mode 100644 index 00000000..494cb193 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/date_time_with_UTC_and_suffix.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T01:02:03Z-unexpected-suffix + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/date_time_with_UTC_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/date_time_with_UTC_and_suffix.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/date_time_with_UTC_and_suffix.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/date_time_with_offset.xml new file mode 100644 index 00000000..38d64405 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/date_time_with_offset.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T01:02:03+02:00 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/date_time_with_offset.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/date_time_with_offset.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/date_time_without_zone.xml new file mode 100644 index 00000000..8b9668e9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/date_time_without_zone.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T01:02:03 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/date_time_without_zone.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/date_time_without_zone.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/empty.xml new file mode 100644 index 00000000..82311dda --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/empty.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/empty.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/empty.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/invalid_february_29th.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/invalid_february_29th.xml new file mode 100644 index 00000000..667561c9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/invalid_february_29th.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2026-02-29T01:02:03Z + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/invalid_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/invalid_february_29th.xml.errors new file mode 100644 index 00000000..1058cd79 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/invalid_february_29th.xml.errors @@ -0,0 +1,2 @@ +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_02.xml new file mode 100644 index 00000000..37e05a5f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_02.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + <1𼨆򈷐Å\H󀨓 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_02.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_03.xml new file mode 100644 index 00000000..df444015 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_03.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 𢬣񂡼Í·ð˜²+š񁅿 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_03.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_04.xml new file mode 100644 index 00000000..ce142e90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_04.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 񊒳ð…񇐯 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_04.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_05.xml new file mode 100644 index 00000000..449e944a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 󢮾e𓕍—ñ> + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_05.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_06.xml new file mode 100644 index 00000000..1f254f20 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_06.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 􃶦𮝸 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_06.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_08.xml new file mode 100644 index 00000000..6d42b223 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_08.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + hh + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_09.xml new file mode 100644 index 00000000..c787d8b1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_09.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + E…𑄦𠧃Z + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_09.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_10.xml new file mode 100644 index 00000000..bab5047a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 󉻽󉻽񻫾𛾨􉂌𓺶 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/negatively_fuzzed_10.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/only_date.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/only_date.xml new file mode 100644 index 00000000..fb5ed27a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/only_date.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/only_date.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/only_date.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/only_date.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/only_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/only_date_with_time_zone.xml new file mode 100644 index 00000000..a33bf5df --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/only_date_with_time_zone.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01Z + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/only_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/only_date_with_time_zone.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/only_date_with_time_zone.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/without_minutes.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/without_minutes.xml new file mode 100644 index 00000000..17cad3b7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/without_minutes.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T01Z + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/without_minutes.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/without_minutes.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/without_seconds.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/without_seconds.xml new file mode 100644 index 00000000..89a1a497 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/without_seconds.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T01:02Z + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/without_seconds.xml.errors new file mode 100644 index 00000000..dba737ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelRecentChange/updatedAt/without_seconds.xml.errors @@ -0,0 +1,4 @@ +updatedAt: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +updatedAt: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/bad_hour.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/bad_hour.xml new file mode 100644 index 00000000..73fa8f58 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/bad_hour.xml @@ -0,0 +1,3 @@ + + 25:00 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/bad_hour.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/bad_hour.xml.errors new file mode 100644 index 00000000..360558ea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/bad_hour.xml.errors @@ -0,0 +1,2 @@ +["$timeVal"]: Invariant violated: +The value must match the pattern of a time literal. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/bad_minute.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/bad_minute.xml new file mode 100644 index 00000000..ab897dc6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/bad_minute.xml @@ -0,0 +1,3 @@ + + 12:60 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/bad_minute.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/bad_minute.xml.errors new file mode 100644 index 00000000..360558ea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/bad_minute.xml.errors @@ -0,0 +1,2 @@ +["$timeVal"]: Invariant violated: +The value must match the pattern of a time literal. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/bad_offset.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/bad_offset.xml new file mode 100644 index 00000000..8b4747a7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/bad_offset.xml @@ -0,0 +1,3 @@ + + 12:00+14:30 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/bad_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/bad_offset.xml.errors new file mode 100644 index 00000000..360558ea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/bad_offset.xml.errors @@ -0,0 +1,2 @@ +["$timeVal"]: Invariant violated: +The value must match the pattern of a time literal. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/date.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/date.xml new file mode 100644 index 00000000..5c60101a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/date.xml @@ -0,0 +1,3 @@ + + 2024-01-01 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/date.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/date.xml.errors new file mode 100644 index 00000000..360558ea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/date.xml.errors @@ -0,0 +1,2 @@ +["$timeVal"]: Invariant violated: +The value must match the pattern of a time literal. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/empty.xml new file mode 100644 index 00000000..d163b5eb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/empty.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/empty.xml.errors new file mode 100644 index 00000000..360558ea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/empty.xml.errors @@ -0,0 +1,2 @@ +["$timeVal"]: Invariant violated: +The value must match the pattern of a time literal. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/missing_minutes.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/missing_minutes.xml new file mode 100644 index 00000000..740afb89 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/missing_minutes.xml @@ -0,0 +1,3 @@ + + 12 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/missing_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/missing_minutes.xml.errors new file mode 100644 index 00000000..360558ea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/timeLiteral/timeVal/missing_minutes.xml.errors @@ -0,0 +1,2 @@ +["$timeVal"]: Invariant violated: +The value must match the pattern of a time literal. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/administrativeInformation/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/administrativeInformation/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/administrativeInformation/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/administrativeInformation/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/administrativeInformation/wrong.xml.exception new file mode 100644 index 00000000..5963df22 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/administrativeInformation/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element administrativeInformation, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/andExpression/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/andExpression/wrong.xml new file mode 100644 index 00000000..fa2473ec --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/andExpression/wrong.xml @@ -0,0 +1,24 @@ + + + + + + $aas#idShort + + + $aasdesc#endpoints[0].protocolinformation.href + + + + + + + something_b589635f + + + something_cf0bb8c6 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/andExpression/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/andExpression/wrong.xml.exception new file mode 100644 index 00000000..fe9dd44d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/andExpression/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element andExpression, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElement/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElement/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElement/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElement/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElement/wrong.xml.exception new file mode 100644 index 00000000..5299de3b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElement/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element annotatedRelationshipElement, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElementMetadata/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElementMetadata/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElementMetadata/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElementMetadata/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElementMetadata/wrong.xml.exception new file mode 100644 index 00000000..01898c76 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElementMetadata/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element annotatedRelationshipElementMetadata, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElementValue/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElementValue/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElementValue/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElementValue/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElementValue/wrong.xml.exception new file mode 100644 index 00000000..282e9338 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElementValue/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element annotatedRelationshipElementValue, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShell/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShell/wrong.xml new file mode 100644 index 00000000..c1e3a7ad --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShell/wrong.xml @@ -0,0 +1,7 @@ + + 0 + + Batch + 6 + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShell/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShell/wrong.xml.exception new file mode 100644 index 00000000..975f88b9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShell/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element assetAdministrationShell, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShellDescriptor/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShellDescriptor/wrong.xml new file mode 100644 index 00000000..37c1b1e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShellDescriptor/wrong.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShellDescriptor/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShellDescriptor/wrong.xml.exception new file mode 100644 index 00000000..af2c73ab --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShellDescriptor/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element assetAdministrationShellDescriptor, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShellMetadata/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShellMetadata/wrong.xml new file mode 100644 index 00000000..37c1b1e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShellMetadata/wrong.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShellMetadata/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShellMetadata/wrong.xml.exception new file mode 100644 index 00000000..49db99d8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShellMetadata/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element assetAdministrationShellMetadata, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShellRecentChange/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShellRecentChange/wrong.xml new file mode 100644 index 00000000..3f306c58 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShellRecentChange/wrong.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShellRecentChange/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShellRecentChange/wrong.xml.exception new file mode 100644 index 00000000..fb96a902 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShellRecentChange/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element assetAdministrationShellRecentChange, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetInformation/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetInformation/wrong.xml new file mode 100644 index 00000000..1da0300a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetInformation/wrong.xml @@ -0,0 +1,4 @@ + + Batch + 0 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetInformation/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetInformation/wrong.xml.exception new file mode 100644 index 00000000..53464454 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetInformation/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element assetInformation, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetLink/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetLink/wrong.xml new file mode 100644 index 00000000..d2230323 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetLink/wrong.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 𠤢4𠤢 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetLink/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetLink/wrong.xml.exception new file mode 100644 index 00000000..f28e110f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetLink/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element assetLink, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/attributeOperand/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/attributeOperand/wrong.xml new file mode 100644 index 00000000..2dcc2696 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/attributeOperand/wrong.xml @@ -0,0 +1,7 @@ + + + + something_00860a04 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/attributeOperand/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/attributeOperand/wrong.xml.exception new file mode 100644 index 00000000..4926cf72 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/attributeOperand/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element attributeOperand, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/baseOperationResult/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/baseOperationResult/wrong.xml new file mode 100644 index 00000000..0c2b5269 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/baseOperationResult/wrong.xml @@ -0,0 +1,3 @@ + + Running + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/baseOperationResult/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/baseOperationResult/wrong.xml.exception new file mode 100644 index 00000000..a310fa20 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/baseOperationResult/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element baseOperationResult, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElement/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElement/wrong.xml new file mode 100644 index 00000000..d3b2e994 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElement/wrong.xml @@ -0,0 +1,17 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElement/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElement/wrong.xml.exception new file mode 100644 index 00000000..c1b3b961 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElement/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element basicEventElement, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElementMetadata/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElementMetadata/wrong.xml new file mode 100644 index 00000000..caedaeb7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElementMetadata/wrong.xml @@ -0,0 +1,4 @@ + + input + on + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElementMetadata/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElementMetadata/wrong.xml.exception new file mode 100644 index 00000000..581249e0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElementMetadata/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element basicEventElementMetadata, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElementValue/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElementValue/wrong.xml new file mode 100644 index 00000000..b609adfc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElementValue/wrong.xml @@ -0,0 +1,11 @@ + + + ExternalReference + + + GlobalReference + urn:yet-another-company:02:3262900a + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElementValue/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElementValue/wrong.xml.exception new file mode 100644 index 00000000..c1dc5b12 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElementValue/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element basicEventElementValue, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blob/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blob/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blob/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blob/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blob/wrong.xml.exception new file mode 100644 index 00000000..a2e60d77 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blob/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element blob, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blobMetadata/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blobMetadata/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blobMetadata/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blobMetadata/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blobMetadata/wrong.xml.exception new file mode 100644 index 00000000..a47b8a23 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blobMetadata/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element blobMetadata, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blobValue/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blobValue/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blobValue/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blobValue/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blobValue/wrong.xml.exception new file mode 100644 index 00000000..609d76c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blobValue/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element blobValue, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/booleanCast/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/booleanCast/wrong.xml new file mode 100644 index 00000000..7175e862 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/booleanCast/wrong.xml @@ -0,0 +1,7 @@ + + + + something_a3fe9637 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/booleanCast/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/booleanCast/wrong.xml.exception new file mode 100644 index 00000000..d8885ca5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/booleanCast/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element booleanCast, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/booleanLiteral/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/booleanLiteral/wrong.xml new file mode 100644 index 00000000..27b643dd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/booleanLiteral/wrong.xml @@ -0,0 +1,3 @@ + + false + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/booleanLiteral/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/booleanLiteral/wrong.xml.exception new file mode 100644 index 00000000..ea8d5efe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/booleanLiteral/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element booleanLiteral, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/capability/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/capability/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/capability/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/capability/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/capability/wrong.xml.exception new file mode 100644 index 00000000..0ab34b24 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/capability/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element capability, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/capabilityMetadata/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/capabilityMetadata/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/capabilityMetadata/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/capabilityMetadata/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/capabilityMetadata/wrong.xml.exception new file mode 100644 index 00000000..56090d83 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/capabilityMetadata/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element capabilityMetadata, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/claimAttribute/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/claimAttribute/wrong.xml new file mode 100644 index 00000000..f47470d8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/claimAttribute/wrong.xml @@ -0,0 +1,3 @@ + + something_a8aab6e9 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/claimAttribute/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/claimAttribute/wrong.xml.exception new file mode 100644 index 00000000..f3116606 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/claimAttribute/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element claimAttribute, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/conceptDescription/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/conceptDescription/wrong.xml new file mode 100644 index 00000000..37c1b1e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/conceptDescription/wrong.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/conceptDescription/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/conceptDescription/wrong.xml.exception new file mode 100644 index 00000000..a7af4665 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/conceptDescription/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element conceptDescription, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/conceptDescriptionRecentChange/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/conceptDescriptionRecentChange/wrong.xml new file mode 100644 index 00000000..3f306c58 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/conceptDescriptionRecentChange/wrong.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/conceptDescriptionRecentChange/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/conceptDescriptionRecentChange/wrong.xml.exception new file mode 100644 index 00000000..a1e86e30 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/conceptDescriptionRecentChange/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element conceptDescriptionRecentChange, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/containsComparison/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/containsComparison/wrong.xml new file mode 100644 index 00000000..74ce8a38 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/containsComparison/wrong.xml @@ -0,0 +1,14 @@ + + + + + + something_aa87dee6 + + + + + $sme.list[3].prop#valueType + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/containsComparison/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/containsComparison/wrong.xml.exception new file mode 100644 index 00000000..911743ce --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/containsComparison/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element containsComparison, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dataSpecificationIec61360/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dataSpecificationIec61360/wrong.xml new file mode 100644 index 00000000..425c802f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dataSpecificationIec61360/wrong.xml @@ -0,0 +1,8 @@ + + + + en-JM-x-c7dddb5b + 6 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dataSpecificationIec61360/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dataSpecificationIec61360/wrong.xml.exception new file mode 100644 index 00000000..08b02b46 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dataSpecificationIec61360/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element dataSpecificationIec61360, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dataSpecificationUom/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dataSpecificationUom/wrong.xml new file mode 100644 index 00000000..c7af4f30 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dataSpecificationUom/wrong.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dataSpecificationUom/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dataSpecificationUom/wrong.xml.exception new file mode 100644 index 00000000..5c89c6c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dataSpecificationUom/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element dataSpecificationUom, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeAttributeItem/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeAttributeItem/wrong.xml new file mode 100644 index 00000000..a34dad34 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeAttributeItem/wrong.xml @@ -0,0 +1,3 @@ + + LOCALNOW + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeAttributeItem/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeAttributeItem/wrong.xml.exception new file mode 100644 index 00000000..90408229 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeAttributeItem/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element dateTimeAttributeItem, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeAttributeOperand/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeAttributeOperand/wrong.xml new file mode 100644 index 00000000..a5a02d5b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeAttributeOperand/wrong.xml @@ -0,0 +1,5 @@ + + + CLIENTNOW + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeAttributeOperand/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeAttributeOperand/wrong.xml.exception new file mode 100644 index 00000000..46d22f88 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeAttributeOperand/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element dateTimeAttributeOperand, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeCast/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeCast/wrong.xml new file mode 100644 index 00000000..5e5a47c7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeCast/wrong.xml @@ -0,0 +1,7 @@ + + + + something_431540db + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeCast/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeCast/wrong.xml.exception new file mode 100644 index 00000000..294a1e92 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeCast/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element dateTimeCast, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeLiteral/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeLiteral/wrong.xml new file mode 100644 index 00000000..15112ca3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeLiteral/wrong.xml @@ -0,0 +1,3 @@ + + 2024-03-0112:00:00Z + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeLiteral/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeLiteral/wrong.xml.exception new file mode 100644 index 00000000..5bceb3b4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dateTimeLiteral/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element dateTimeLiteral, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dayOfMonth/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dayOfMonth/wrong.xml new file mode 100644 index 00000000..a5a5b13a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dayOfMonth/wrong.xml @@ -0,0 +1,9 @@ + + + + + LOCALNOW + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dayOfMonth/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dayOfMonth/wrong.xml.exception new file mode 100644 index 00000000..1a45d273 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dayOfMonth/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element dayOfMonth, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dayOfWeek/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dayOfWeek/wrong.xml new file mode 100644 index 00000000..fabac407 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dayOfWeek/wrong.xml @@ -0,0 +1,7 @@ + + + + 2023-12-31T23:59 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dayOfWeek/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dayOfWeek/wrong.xml.exception new file mode 100644 index 00000000..f58cf99f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dayOfWeek/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element dayOfWeek, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/definitionTypeUom/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/definitionTypeUom/wrong.xml new file mode 100644 index 00000000..38bf4cea --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/definitionTypeUom/wrong.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/definitionTypeUom/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/definitionTypeUom/wrong.xml.exception new file mode 100644 index 00000000..1caad611 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/definitionTypeUom/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element definitionTypeUom, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/embeddedDataSpecification/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/embeddedDataSpecification/wrong.xml new file mode 100644 index 00000000..5a13f8c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/embeddedDataSpecification/wrong.xml @@ -0,0 +1,22 @@ + + + ExternalReference + + + GlobalReference + urn:some-company:10:9ac9d1a6 + + + + + + + + en-JM-x-b435b532 + 0 + + + <ă<P󨱽²|dnœÞ® + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/embeddedDataSpecification/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/embeddedDataSpecification/wrong.xml.exception new file mode 100644 index 00000000..0c7278f3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/embeddedDataSpecification/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element embeddedDataSpecification, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/endpoint/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/endpoint/wrong.xml new file mode 100644 index 00000000..86ed7e75 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/endpoint/wrong.xml @@ -0,0 +1,6 @@ + + + something_72d646a9 + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/endpoint/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/endpoint/wrong.xml.exception new file mode 100644 index 00000000..1cbda04d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/endpoint/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element endpoint, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/endsWithComparison/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/endsWithComparison/wrong.xml new file mode 100644 index 00000000..d2a1b34c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/endsWithComparison/wrong.xml @@ -0,0 +1,14 @@ + + + + + + $sm("a\"b")#id + + + + + $aas#assetInformation.assetKind + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/endsWithComparison/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/endsWithComparison/wrong.xml.exception new file mode 100644 index 00000000..80f41986 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/endsWithComparison/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element endsWithComparison, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entity/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entity/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entity/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entity/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entity/wrong.xml.exception new file mode 100644 index 00000000..886fb523 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entity/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element entity, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entityMetadata/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entityMetadata/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entityMetadata/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entityMetadata/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entityMetadata/wrong.xml.exception new file mode 100644 index 00000000..c142b8cf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entityMetadata/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element entityMetadata, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entityValue/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entityValue/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entityValue/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entityValue/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entityValue/wrong.xml.exception new file mode 100644 index 00000000..2878d558 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entityValue/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element entityValue, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/environment/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/environment/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/environment/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/environment/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/environment/wrong.xml.exception new file mode 100644 index 00000000..c237a183 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/environment/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element environment, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/equalComparison/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/equalComparison/wrong.xml new file mode 100644 index 00000000..215cd3b7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/equalComparison/wrong.xml @@ -0,0 +1,10 @@ + + + + 2023-01-01T24:00:00 + + + 2023-01-01T00:00:00.123+01:00 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/equalComparison/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/equalComparison/wrong.xml.exception new file mode 100644 index 00000000..3b76893f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/equalComparison/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element equalComparison, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/eventPayload/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/eventPayload/wrong.xml new file mode 100644 index 00000000..559dce12 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/eventPayload/wrong.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/eventPayload/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/eventPayload/wrong.xml.exception new file mode 100644 index 00000000..b639ff93 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/eventPayload/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element eventPayload, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/extension/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/extension/wrong.xml new file mode 100644 index 00000000..2e1031fe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/extension/wrong.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/extension/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/extension/wrong.xml.exception new file mode 100644 index 00000000..0eef0739 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/extension/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element extension, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/fieldOperand/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/fieldOperand/wrong.xml new file mode 100644 index 00000000..ab7592c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/fieldOperand/wrong.xml @@ -0,0 +1,3 @@ + + $sme.someCollection.someProperty#value + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/fieldOperand/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/fieldOperand/wrong.xml.exception new file mode 100644 index 00000000..af264a7f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/fieldOperand/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element fieldOperand, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/file/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/file/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/file/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/file/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/file/wrong.xml.exception new file mode 100644 index 00000000..7a9c8a58 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/file/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element file, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/fileMetadata/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/fileMetadata/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/fileMetadata/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/fileMetadata/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/fileMetadata/wrong.xml.exception new file mode 100644 index 00000000..a8e26b33 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/fileMetadata/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element fileMetadata, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/fileValue/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/fileValue/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/fileValue/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/fileValue/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/fileValue/wrong.xml.exception new file mode 100644 index 00000000..7761cec4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/fileValue/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element fileValue, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAllAssetAdministrationShellsRecentChangesResult/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAllAssetAdministrationShellsRecentChangesResult/wrong.xml new file mode 100644 index 00000000..e105f958 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAllAssetAdministrationShellsRecentChangesResult/wrong.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAllAssetAdministrationShellsRecentChangesResult/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAllAssetAdministrationShellsRecentChangesResult/wrong.xml.exception new file mode 100644 index 00000000..be81ed91 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAllAssetAdministrationShellsRecentChangesResult/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element getAllAssetAdministrationShellsRecentChangesResult, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAllConceptDescriptionsRecentChangesResult/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAllConceptDescriptionsRecentChangesResult/wrong.xml new file mode 100644 index 00000000..e105f958 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAllConceptDescriptionsRecentChangesResult/wrong.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAllConceptDescriptionsRecentChangesResult/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAllConceptDescriptionsRecentChangesResult/wrong.xml.exception new file mode 100644 index 00000000..a12f4ea7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAllConceptDescriptionsRecentChangesResult/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element getAllConceptDescriptionsRecentChangesResult, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAllSubmodelsRecentChangesResult/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAllSubmodelsRecentChangesResult/wrong.xml new file mode 100644 index 00000000..e105f958 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAllSubmodelsRecentChangesResult/wrong.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAllSubmodelsRecentChangesResult/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAllSubmodelsRecentChangesResult/wrong.xml.exception new file mode 100644 index 00000000..7d402b04 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAllSubmodelsRecentChangesResult/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element getAllSubmodelsRecentChangesResult, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAssetAdministrationShellDescriptorsResult/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAssetAdministrationShellDescriptorsResult/wrong.xml new file mode 100644 index 00000000..e105f958 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAssetAdministrationShellDescriptorsResult/wrong.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAssetAdministrationShellDescriptorsResult/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAssetAdministrationShellDescriptorsResult/wrong.xml.exception new file mode 100644 index 00000000..adc60423 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAssetAdministrationShellDescriptorsResult/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element getAssetAdministrationShellDescriptorsResult, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAssetAdministrationShellsMetadataResult/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAssetAdministrationShellsMetadataResult/wrong.xml new file mode 100644 index 00000000..e105f958 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAssetAdministrationShellsMetadataResult/wrong.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAssetAdministrationShellsMetadataResult/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAssetAdministrationShellsMetadataResult/wrong.xml.exception new file mode 100644 index 00000000..47fd1535 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAssetAdministrationShellsMetadataResult/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element getAssetAdministrationShellsMetadataResult, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAssetAdministrationShellsResult/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAssetAdministrationShellsResult/wrong.xml new file mode 100644 index 00000000..e105f958 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAssetAdministrationShellsResult/wrong.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAssetAdministrationShellsResult/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAssetAdministrationShellsResult/wrong.xml.exception new file mode 100644 index 00000000..0d92d0ea --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getAssetAdministrationShellsResult/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element getAssetAdministrationShellsResult, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getConceptDescriptionsResult/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getConceptDescriptionsResult/wrong.xml new file mode 100644 index 00000000..e105f958 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getConceptDescriptionsResult/wrong.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getConceptDescriptionsResult/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getConceptDescriptionsResult/wrong.xml.exception new file mode 100644 index 00000000..37f52357 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getConceptDescriptionsResult/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element getConceptDescriptionsResult, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getPackageDescriptionsResult/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getPackageDescriptionsResult/wrong.xml new file mode 100644 index 00000000..e105f958 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getPackageDescriptionsResult/wrong.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getPackageDescriptionsResult/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getPackageDescriptionsResult/wrong.xml.exception new file mode 100644 index 00000000..e8837574 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getPackageDescriptionsResult/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element getPackageDescriptionsResult, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getPathItemsResult/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getPathItemsResult/wrong.xml new file mode 100644 index 00000000..e105f958 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getPathItemsResult/wrong.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getPathItemsResult/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getPathItemsResult/wrong.xml.exception new file mode 100644 index 00000000..e521f75a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getPathItemsResult/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element getPathItemsResult, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getReferencesResult/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getReferencesResult/wrong.xml new file mode 100644 index 00000000..e105f958 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getReferencesResult/wrong.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getReferencesResult/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getReferencesResult/wrong.xml.exception new file mode 100644 index 00000000..cbcdb104 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getReferencesResult/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element getReferencesResult, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelDescriptorsResult/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelDescriptorsResult/wrong.xml new file mode 100644 index 00000000..e105f958 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelDescriptorsResult/wrong.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelDescriptorsResult/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelDescriptorsResult/wrong.xml.exception new file mode 100644 index 00000000..8d934004 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelDescriptorsResult/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element getSubmodelDescriptorsResult, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelElementsMetadataResult/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelElementsMetadataResult/wrong.xml new file mode 100644 index 00000000..e105f958 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelElementsMetadataResult/wrong.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelElementsMetadataResult/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelElementsMetadataResult/wrong.xml.exception new file mode 100644 index 00000000..9ee50d19 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelElementsMetadataResult/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element getSubmodelElementsMetadataResult, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelElementsResult/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelElementsResult/wrong.xml new file mode 100644 index 00000000..e105f958 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelElementsResult/wrong.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelElementsResult/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelElementsResult/wrong.xml.exception new file mode 100644 index 00000000..0d2c025c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelElementsResult/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element getSubmodelElementsResult, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelElementsValueResult/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelElementsValueResult/wrong.xml new file mode 100644 index 00000000..e105f958 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelElementsValueResult/wrong.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelElementsValueResult/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelElementsValueResult/wrong.xml.exception new file mode 100644 index 00000000..0f73530f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelElementsValueResult/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element getSubmodelElementsValueResult, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelsMetadataResult/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelsMetadataResult/wrong.xml new file mode 100644 index 00000000..e105f958 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelsMetadataResult/wrong.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelsMetadataResult/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelsMetadataResult/wrong.xml.exception new file mode 100644 index 00000000..fa1377d9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelsMetadataResult/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element getSubmodelsMetadataResult, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelsResult/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelsResult/wrong.xml new file mode 100644 index 00000000..e105f958 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelsResult/wrong.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelsResult/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelsResult/wrong.xml.exception new file mode 100644 index 00000000..69468c60 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelsResult/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element getSubmodelsResult, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelsValueResult/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelsValueResult/wrong.xml new file mode 100644 index 00000000..e105f958 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelsValueResult/wrong.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelsValueResult/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelsValueResult/wrong.xml.exception new file mode 100644 index 00000000..bb99b667 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/getSubmodelsValueResult/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element getSubmodelsValueResult, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/globalAttribute/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/globalAttribute/wrong.xml new file mode 100644 index 00000000..bb364bb7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/globalAttribute/wrong.xml @@ -0,0 +1,3 @@ + + ANONYMOUS + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/globalAttribute/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/globalAttribute/wrong.xml.exception new file mode 100644 index 00000000..a19c0480 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/globalAttribute/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element globalAttribute, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/greaterThanComparison/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/greaterThanComparison/wrong.xml new file mode 100644 index 00000000..3750d509 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/greaterThanComparison/wrong.xml @@ -0,0 +1,10 @@ + + + + 16#00 + + + 16#1F + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/greaterThanComparison/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/greaterThanComparison/wrong.xml.exception new file mode 100644 index 00000000..e788c8ea --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/greaterThanComparison/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element greaterThanComparison, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/greaterThanOrEqualComparison/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/greaterThanOrEqualComparison/wrong.xml new file mode 100644 index 00000000..f94611e9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/greaterThanOrEqualComparison/wrong.xml @@ -0,0 +1,10 @@ + + + + 16#1 + + + 16#00 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/greaterThanOrEqualComparison/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/greaterThanOrEqualComparison/wrong.xml.exception new file mode 100644 index 00000000..cbd3c0ac --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/greaterThanOrEqualComparison/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element greaterThanOrEqualComparison, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/hexCast/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/hexCast/wrong.xml new file mode 100644 index 00000000..10948575 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/hexCast/wrong.xml @@ -0,0 +1,7 @@ + + + + $sme.list[3].prop#valueType + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/hexCast/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/hexCast/wrong.xml.exception new file mode 100644 index 00000000..e813c8b9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/hexCast/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element hexCast, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/hexLiteral/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/hexLiteral/wrong.xml new file mode 100644 index 00000000..89128c39 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/hexLiteral/wrong.xml @@ -0,0 +1,3 @@ + + 16#1 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/hexLiteral/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/hexLiteral/wrong.xml.exception new file mode 100644 index 00000000..b19b9613 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/hexLiteral/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element hexLiteral, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/key/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/key/wrong.xml new file mode 100644 index 00000000..88b87d2e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/key/wrong.xml @@ -0,0 +1,4 @@ + + EventElement + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/key/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/key/wrong.xml.exception new file mode 100644 index 00000000..b32883c3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/key/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element key, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringDefinitionTypeIec61360/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringDefinitionTypeIec61360/wrong.xml new file mode 100644 index 00000000..38bf4cea --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringDefinitionTypeIec61360/wrong.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringDefinitionTypeIec61360/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringDefinitionTypeIec61360/wrong.xml.exception new file mode 100644 index 00000000..3d82cd7b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringDefinitionTypeIec61360/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element langStringDefinitionTypeIec61360, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringNameType/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringNameType/wrong.xml new file mode 100644 index 00000000..38bf4cea --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringNameType/wrong.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringNameType/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringNameType/wrong.xml.exception new file mode 100644 index 00000000..55d02ed4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringNameType/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element langStringNameType, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringPreferredNameTypeIec61360/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringPreferredNameTypeIec61360/wrong.xml new file mode 100644 index 00000000..38bf4cea --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringPreferredNameTypeIec61360/wrong.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringPreferredNameTypeIec61360/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringPreferredNameTypeIec61360/wrong.xml.exception new file mode 100644 index 00000000..e0e279fe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringPreferredNameTypeIec61360/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element langStringPreferredNameTypeIec61360, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringShortNameTypeIec61360/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringShortNameTypeIec61360/wrong.xml new file mode 100644 index 00000000..38bf4cea --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringShortNameTypeIec61360/wrong.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringShortNameTypeIec61360/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringShortNameTypeIec61360/wrong.xml.exception new file mode 100644 index 00000000..91e15b20 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringShortNameTypeIec61360/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element langStringShortNameTypeIec61360, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringTextType/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringTextType/wrong.xml new file mode 100644 index 00000000..38bf4cea --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringTextType/wrong.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringTextType/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringTextType/wrong.xml.exception new file mode 100644 index 00000000..ae782284 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringTextType/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element langStringTextType, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringUom/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringUom/wrong.xml new file mode 100644 index 00000000..38bf4cea --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringUom/wrong.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringUom/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringUom/wrong.xml.exception new file mode 100644 index 00000000..edff6412 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringUom/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element langStringUom, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/lessThanComparison/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/lessThanComparison/wrong.xml new file mode 100644 index 00000000..ef3cf7ca --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/lessThanComparison/wrong.xml @@ -0,0 +1,10 @@ + + + + 16#1F + + + 16#1 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/lessThanComparison/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/lessThanComparison/wrong.xml.exception new file mode 100644 index 00000000..4f4dc05d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/lessThanComparison/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element lessThanComparison, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/lessThanOrEqualComparison/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/lessThanOrEqualComparison/wrong.xml new file mode 100644 index 00000000..9cfb7562 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/lessThanOrEqualComparison/wrong.xml @@ -0,0 +1,10 @@ + + + + 16#00 + + + 16#00 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/lessThanOrEqualComparison/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/lessThanOrEqualComparison/wrong.xml.exception new file mode 100644 index 00000000..e825a2b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/lessThanOrEqualComparison/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element lessThanOrEqualComparison, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/levelType/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/levelType/wrong.xml new file mode 100644 index 00000000..e831d409 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/levelType/wrong.xml @@ -0,0 +1,6 @@ + + false + false + false + true + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/levelType/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/levelType/wrong.xml.exception new file mode 100644 index 00000000..48f25eac --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/levelType/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element levelType, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/matchClause/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/matchClause/wrong.xml new file mode 100644 index 00000000..78b6c94d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/matchClause/wrong.xml @@ -0,0 +1,38 @@ + + + + + + something_b2d0f286 + + + something_b0da9147 + + + + + + + + + something_aa0298f7 + + + + + something_e5667ab1 + + + + + + + something_697e8fb1 + + + something_a06a3e2e + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/matchClause/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/matchClause/wrong.xml.exception new file mode 100644 index 00000000..2888710d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/matchClause/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element matchClause, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/message/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/message/wrong.xml new file mode 100644 index 00000000..f1e49ede --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/message/wrong.xml @@ -0,0 +1,4 @@ + + Exception + something_2c25e1c4 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/message/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/message/wrong.xml.exception new file mode 100644 index 00000000..7ce92904 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/message/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element message, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/month/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/month/wrong.xml new file mode 100644 index 00000000..cf61beab --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/month/wrong.xml @@ -0,0 +1,9 @@ + + + + + CLIENTNOW + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/month/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/month/wrong.xml.exception new file mode 100644 index 00000000..56a418a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/month/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element month, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/multiLanguageProperty/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/multiLanguageProperty/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/multiLanguageProperty/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/multiLanguageProperty/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/multiLanguageProperty/wrong.xml.exception new file mode 100644 index 00000000..cc2fb27c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/multiLanguageProperty/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element multiLanguageProperty, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/multiLanguagePropertyMetadata/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/multiLanguagePropertyMetadata/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/multiLanguagePropertyMetadata/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/multiLanguagePropertyMetadata/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/multiLanguagePropertyMetadata/wrong.xml.exception new file mode 100644 index 00000000..141c317d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/multiLanguagePropertyMetadata/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element multiLanguagePropertyMetadata, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/notEqualComparison/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/notEqualComparison/wrong.xml new file mode 100644 index 00000000..e979bcff --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/notEqualComparison/wrong.xml @@ -0,0 +1,10 @@ + + + + 2023-06-15T08:30:00-05:00 + + + 2024-02-29T12:00:00Z + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/notEqualComparison/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/notEqualComparison/wrong.xml.exception new file mode 100644 index 00000000..a0e0fdc6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/notEqualComparison/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element notEqualComparison, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/notExpression/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/notExpression/wrong.xml new file mode 100644 index 00000000..a2d2090a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/notExpression/wrong.xml @@ -0,0 +1,14 @@ + + + + + + 2023-06-15T08:30:00-05:00 + + + 2023-01-01T24:00:00 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/notExpression/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/notExpression/wrong.xml.exception new file mode 100644 index 00000000..f6e77fb4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/notExpression/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element notExpression, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/numberCast/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/numberCast/wrong.xml new file mode 100644 index 00000000..1b3a3aba --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/numberCast/wrong.xml @@ -0,0 +1,7 @@ + + + + 12:00:00+01:00 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/numberCast/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/numberCast/wrong.xml.exception new file mode 100644 index 00000000..2ae4a6b0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/numberCast/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element numberCast, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/numberLiteral/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/numberLiteral/wrong.xml new file mode 100644 index 00000000..17b53eb4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/numberLiteral/wrong.xml @@ -0,0 +1,3 @@ + + 21668651.6 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/numberLiteral/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/numberLiteral/wrong.xml.exception new file mode 100644 index 00000000..4cc34efa --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/numberLiteral/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element numberLiteral, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operation/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operation/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operation/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operation/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operation/wrong.xml.exception new file mode 100644 index 00000000..c0632e8b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operation/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element operation, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationHandle/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationHandle/wrong.xml new file mode 100644 index 00000000..06e07045 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationHandle/wrong.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationHandle/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationHandle/wrong.xml.exception new file mode 100644 index 00000000..dc271c27 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationHandle/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element operationHandle, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationMetadata/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationMetadata/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationMetadata/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationMetadata/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationMetadata/wrong.xml.exception new file mode 100644 index 00000000..ad1b76bc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationMetadata/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element operationMetadata, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequest/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequest/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequest/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequest/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequest/wrong.xml.exception new file mode 100644 index 00000000..c0077b7c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequest/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element operationRequest, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequestAsync/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequestAsync/wrong.xml new file mode 100644 index 00000000..a930e338 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequestAsync/wrong.xml @@ -0,0 +1,3 @@ + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequestAsync/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequestAsync/wrong.xml.exception new file mode 100644 index 00000000..493fd01d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequestAsync/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element operationRequestAsync, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequestAsyncValueOnly/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequestAsyncValueOnly/wrong.xml new file mode 100644 index 00000000..a930e338 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequestAsyncValueOnly/wrong.xml @@ -0,0 +1,3 @@ + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequestAsyncValueOnly/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequestAsyncValueOnly/wrong.xml.exception new file mode 100644 index 00000000..3bb0003c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequestAsyncValueOnly/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element operationRequestAsyncValueOnly, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequestValueOnly/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequestValueOnly/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequestValueOnly/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequestValueOnly/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequestValueOnly/wrong.xml.exception new file mode 100644 index 00000000..28933b08 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationRequestValueOnly/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element operationRequestValueOnly, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationResult/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationResult/wrong.xml new file mode 100644 index 00000000..0c2b5269 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationResult/wrong.xml @@ -0,0 +1,3 @@ + + Running + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationResult/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationResult/wrong.xml.exception new file mode 100644 index 00000000..1781e2c7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationResult/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element operationResult, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationResultValueOnly/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationResultValueOnly/wrong.xml new file mode 100644 index 00000000..0c2b5269 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationResultValueOnly/wrong.xml @@ -0,0 +1,3 @@ + + Running + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationResultValueOnly/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationResultValueOnly/wrong.xml.exception new file mode 100644 index 00000000..213a468b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationResultValueOnly/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element operationResultValueOnly, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationVariable/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationVariable/wrong.xml new file mode 100644 index 00000000..4e95f39d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationVariable/wrong.xml @@ -0,0 +1,8 @@ + + + + something1d0edd81 + Capability + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationVariable/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationVariable/wrong.xml.exception new file mode 100644 index 00000000..52a64c5e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationVariable/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element operationVariable, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/orExpression/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/orExpression/wrong.xml new file mode 100644 index 00000000..dc303fdc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/orExpression/wrong.xml @@ -0,0 +1,24 @@ + + + + + + 16#DEADBEEF + + + 16#00 + + + + + + + 16#1 + + + 16#DEADBEEF + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/orExpression/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/orExpression/wrong.xml.exception new file mode 100644 index 00000000..35e00cfc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/orExpression/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element orExpression, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/packageDescription/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/packageDescription/wrong.xml new file mode 100644 index 00000000..c788f447 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/packageDescription/wrong.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/packageDescription/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/packageDescription/wrong.xml.exception new file mode 100644 index 00000000..8daabef1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/packageDescription/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element packageDescription, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/pagedResult/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/pagedResult/wrong.xml new file mode 100644 index 00000000..e105f958 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/pagedResult/wrong.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/pagedResult/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/pagedResult/wrong.xml.exception new file mode 100644 index 00000000..8445f07e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/pagedResult/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element pagedResult, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/pagingMetadata/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/pagingMetadata/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/pagingMetadata/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/pagingMetadata/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/pagingMetadata/wrong.xml.exception new file mode 100644 index 00000000..16ab19ee --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/pagingMetadata/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element pagingMetadata, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/property/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/property/wrong.xml new file mode 100644 index 00000000..59a277a7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/property/wrong.xml @@ -0,0 +1,3 @@ + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/property/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/property/wrong.xml.exception new file mode 100644 index 00000000..af151df5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/property/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element property, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/propertyMetadata/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/propertyMetadata/wrong.xml new file mode 100644 index 00000000..59a277a7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/propertyMetadata/wrong.xml @@ -0,0 +1,3 @@ + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/propertyMetadata/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/propertyMetadata/wrong.xml.exception new file mode 100644 index 00000000..66a5b124 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/propertyMetadata/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element propertyMetadata, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/protocolInformation/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/protocolInformation/wrong.xml new file mode 100644 index 00000000..ca626823 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/protocolInformation/wrong.xml @@ -0,0 +1,3 @@ + + something_cd6881d8 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/protocolInformation/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/protocolInformation/wrong.xml.exception new file mode 100644 index 00000000..fc79b919 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/protocolInformation/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element protocolInformation, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/qualifier/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/qualifier/wrong.xml new file mode 100644 index 00000000..62ab8236 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/qualifier/wrong.xml @@ -0,0 +1,4 @@ + + something_86027eb8 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/qualifier/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/qualifier/wrong.xml.exception new file mode 100644 index 00000000..52d4237f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/qualifier/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element qualifier, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/query/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/query/wrong.xml new file mode 100644 index 00000000..9bb9caf5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/query/wrong.xml @@ -0,0 +1,14 @@ + + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/query/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/query/wrong.xml.exception new file mode 100644 index 00000000..6f546854 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/query/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element query, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/queryFilter/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/queryFilter/wrong.xml new file mode 100644 index 00000000..ab0c41b2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/queryFilter/wrong.xml @@ -0,0 +1,15 @@ + + $aas#submodels + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/queryFilter/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/queryFilter/wrong.xml.exception new file mode 100644 index 00000000..b9c26739 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/queryFilter/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element queryFilter, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/range/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/range/wrong.xml new file mode 100644 index 00000000..59a277a7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/range/wrong.xml @@ -0,0 +1,3 @@ + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/range/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/range/wrong.xml.exception new file mode 100644 index 00000000..da0f484c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/range/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element range, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/rangeMetadata/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/rangeMetadata/wrong.xml new file mode 100644 index 00000000..59a277a7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/rangeMetadata/wrong.xml @@ -0,0 +1,3 @@ + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/rangeMetadata/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/rangeMetadata/wrong.xml.exception new file mode 100644 index 00000000..6e21e322 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/rangeMetadata/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element rangeMetadata, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/rangeValue/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/rangeValue/wrong.xml new file mode 100644 index 00000000..fb52c81f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/rangeValue/wrong.xml @@ -0,0 +1,4 @@ + + 12552311.97 + 8978292.24 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/rangeValue/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/rangeValue/wrong.xml.exception new file mode 100644 index 00000000..0bcc0112 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/rangeValue/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element rangeValue, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/reference/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/reference/wrong.xml new file mode 100644 index 00000000..35798f51 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/reference/wrong.xml @@ -0,0 +1,9 @@ + + ExternalReference + + + GlobalReference + urn:example:10:6914e6d2 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/reference/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/reference/wrong.xml.exception new file mode 100644 index 00000000..0cd796ea --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/reference/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element reference, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceAttribute/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceAttribute/wrong.xml new file mode 100644 index 00000000..6f4828fb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceAttribute/wrong.xml @@ -0,0 +1,3 @@ + + $sm("a\\b")#id + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceAttribute/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceAttribute/wrong.xml.exception new file mode 100644 index 00000000..93de26db --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceAttribute/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element referenceAttribute, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElement/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElement/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElement/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElement/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElement/wrong.xml.exception new file mode 100644 index 00000000..8b866d61 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElement/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element referenceElement, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElementMetadata/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElementMetadata/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElementMetadata/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElementMetadata/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElementMetadata/wrong.xml.exception new file mode 100644 index 00000000..a507a714 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElementMetadata/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element referenceElementMetadata, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElementValue/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElementValue/wrong.xml new file mode 100644 index 00000000..1e10d9b7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElementValue/wrong.xml @@ -0,0 +1,9 @@ + + ExternalReference + + + Operation + öĖa􍣡™| + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElementValue/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElementValue/wrong.xml.exception new file mode 100644 index 00000000..8178e9d0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElementValue/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element referenceElementValue, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/regexComparison/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/regexComparison/wrong.xml new file mode 100644 index 00000000..a3e272d8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/regexComparison/wrong.xml @@ -0,0 +1,14 @@ + + + + something_72aad79d + + + + + something_3bebb210 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/regexComparison/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/regexComparison/wrong.xml.exception new file mode 100644 index 00000000..51941192 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/regexComparison/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element regexComparison, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElement/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElement/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElement/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElement/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElement/wrong.xml.exception new file mode 100644 index 00000000..339359a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElement/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element relationshipElement, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElementMetadata/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElementMetadata/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElementMetadata/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElementMetadata/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElementMetadata/wrong.xml.exception new file mode 100644 index 00000000..f9a0089d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElementMetadata/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element relationshipElementMetadata, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElementValue/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElementValue/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElementValue/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElementValue/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElementValue/wrong.xml.exception new file mode 100644 index 00000000..4a21de1c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElementValue/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element relationshipElementValue, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/resource/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/resource/wrong.xml new file mode 100644 index 00000000..9821863f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/resource/wrong.xml @@ -0,0 +1,3 @@ + + #; + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/resource/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/resource/wrong.xml.exception new file mode 100644 index 00000000..3b9f0f2b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/resource/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element resource, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/result/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/result/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/result/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/result/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/result/wrong.xml.exception new file mode 100644 index 00000000..e55ad381 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/result/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element result, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/securityAttributeObject/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/securityAttributeObject/wrong.xml new file mode 100644 index 00000000..c9f81baa --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/securityAttributeObject/wrong.xml @@ -0,0 +1,5 @@ + + W3C_DID + something_67cebccd + something_2db7f511 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/securityAttributeObject/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/securityAttributeObject/wrong.xml.exception new file mode 100644 index 00000000..28a370e1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/securityAttributeObject/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element securityAttributeObject, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/serviceDescription/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/serviceDescription/wrong.xml new file mode 100644 index 00000000..dbc66052 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/serviceDescription/wrong.xml @@ -0,0 +1,6 @@ + + + https://admin-shell.io/aas/API/3/2/SubmodelServiceSpecification/SSP-001 + https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRegistryServiceSpecification/SSP-002 + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/serviceDescription/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/serviceDescription/wrong.xml.exception new file mode 100644 index 00000000..57183cea --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/serviceDescription/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element serviceDescription, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/specificAssetId/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/specificAssetId/wrong.xml new file mode 100644 index 00000000..d2230323 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/specificAssetId/wrong.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 𠤢4𠤢 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/specificAssetId/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/specificAssetId/wrong.xml.exception new file mode 100644 index 00000000..ecce4416 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/specificAssetId/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element specificAssetId, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/startsWithComparison/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/startsWithComparison/wrong.xml new file mode 100644 index 00000000..15c2b453 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/startsWithComparison/wrong.xml @@ -0,0 +1,14 @@ + + + + + + something_4df2f289 + + + + + $smdesc#semanticId.type + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/startsWithComparison/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/startsWithComparison/wrong.xml.exception new file mode 100644 index 00000000..a216011b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/startsWithComparison/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element startsWithComparison, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/stringCast/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/stringCast/wrong.xml new file mode 100644 index 00000000..57c9e132 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/stringCast/wrong.xml @@ -0,0 +1,11 @@ + + + + + + ANONYMOUS + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/stringCast/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/stringCast/wrong.xml.exception new file mode 100644 index 00000000..05adcb1b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/stringCast/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element stringCast, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/stringLiteral/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/stringLiteral/wrong.xml new file mode 100644 index 00000000..2776a56c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/stringLiteral/wrong.xml @@ -0,0 +1,3 @@ + + something_b358d315 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/stringLiteral/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/stringLiteral/wrong.xml.exception new file mode 100644 index 00000000..73fa0dac --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/stringLiteral/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element stringLiteral, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodel/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodel/wrong.xml new file mode 100644 index 00000000..37c1b1e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodel/wrong.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodel/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodel/wrong.xml.exception new file mode 100644 index 00000000..221c1ac4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodel/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element submodel, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelDescriptor/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelDescriptor/wrong.xml new file mode 100644 index 00000000..27a8aa95 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelDescriptor/wrong.xml @@ -0,0 +1,23 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelDescriptor/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelDescriptor/wrong.xml.exception new file mode 100644 index 00000000..bf5cea04 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelDescriptor/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element submodelDescriptor, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementCollection/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementCollection/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementCollection/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementCollection/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementCollection/wrong.xml.exception new file mode 100644 index 00000000..439e9225 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementCollection/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element submodelElementCollection, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementCollectionMetadata/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementCollectionMetadata/wrong.xml new file mode 100644 index 00000000..8c7634a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementCollectionMetadata/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementCollectionMetadata/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementCollectionMetadata/wrong.xml.exception new file mode 100644 index 00000000..f49d1b40 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementCollectionMetadata/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element submodelElementCollectionMetadata, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementList/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementList/wrong.xml new file mode 100644 index 00000000..4a6ca9e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementList/wrong.xml @@ -0,0 +1,3 @@ + + BasicEventElement + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementList/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementList/wrong.xml.exception new file mode 100644 index 00000000..3cd9e88e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementList/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element submodelElementList, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementListMetadata/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementListMetadata/wrong.xml new file mode 100644 index 00000000..4a6ca9e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementListMetadata/wrong.xml @@ -0,0 +1,3 @@ + + BasicEventElement + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementListMetadata/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementListMetadata/wrong.xml.exception new file mode 100644 index 00000000..3fe2b9d8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementListMetadata/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element submodelElementListMetadata, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelMetadata/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelMetadata/wrong.xml new file mode 100644 index 00000000..37c1b1e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelMetadata/wrong.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelMetadata/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelMetadata/wrong.xml.exception new file mode 100644 index 00000000..c090b9aa --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelMetadata/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element submodelMetadata, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelRecentChange/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelRecentChange/wrong.xml new file mode 100644 index 00000000..3f306c58 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelRecentChange/wrong.xml @@ -0,0 +1,5 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelRecentChange/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelRecentChange/wrong.xml.exception new file mode 100644 index 00000000..bd9725ad --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelRecentChange/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element submodelRecentChange, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/timeCast/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/timeCast/wrong.xml new file mode 100644 index 00000000..69721ae6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/timeCast/wrong.xml @@ -0,0 +1,7 @@ + + + + something_d032619c + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/timeCast/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/timeCast/wrong.xml.exception new file mode 100644 index 00000000..fac51623 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/timeCast/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element timeCast, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/timeLiteral/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/timeLiteral/wrong.xml new file mode 100644 index 00000000..f2cc4058 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/timeLiteral/wrong.xml @@ -0,0 +1,3 @@ + + 12:00:00+01:00 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/timeLiteral/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/timeLiteral/wrong.xml.exception new file mode 100644 index 00000000..97be7d2a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/timeLiteral/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element timeLiteral, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueList/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueList/wrong.xml new file mode 100644 index 00000000..be8f0169 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueList/wrong.xml @@ -0,0 +1,7 @@ + + + + öĖa􍣡™| + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueList/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueList/wrong.xml.exception new file mode 100644 index 00000000..ee25c908 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueList/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element valueList, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueReferencePair/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueReferencePair/wrong.xml new file mode 100644 index 00000000..64c32905 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueReferencePair/wrong.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueReferencePair/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueReferencePair/wrong.xml.exception new file mode 100644 index 00000000..ac9d3056 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueReferencePair/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element valueReferencePair, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/year/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/year/wrong.xml new file mode 100644 index 00000000..085e89d7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/year/wrong.xml @@ -0,0 +1,7 @@ + + + + 2023-01-01T24:00:00 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/year/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/year/wrong.xml.exception new file mode 100644 index 00000000..1ef3ecd6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/year/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element year, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/andExpression/andOperands.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/andExpression/andOperands.xml new file mode 100644 index 00000000..1d9109da --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/andExpression/andOperands.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/andExpression/andOperands.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/andExpression/andOperands.xml.exception new file mode 100644 index 00000000..6e72fafa --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/andExpression/andOperands.xml.exception @@ -0,0 +1 @@ +The required property andOperands has not been given in the XML representation of an instance of class AndExpression at: andExpression \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/assetInformation.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/assetInformation.xml new file mode 100644 index 00000000..32cd8d60 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/assetInformation.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/assetInformation.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/assetInformation.xml.exception new file mode 100644 index 00000000..02a822c2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/assetInformation.xml.exception @@ -0,0 +1 @@ +The required property assetInformation has not been given in the XML representation of an instance of class AssetAdministrationShell at: assetAdministrationShell \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/id.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/id.xml new file mode 100644 index 00000000..84f724c7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/id.xml @@ -0,0 +1,6 @@ + + + Batch + 6 + + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/id.xml.exception new file mode 100644 index 00000000..1b50169a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/id.xml.exception @@ -0,0 +1 @@ +The required property id has not been given in the XML representation of an instance of class AssetAdministrationShell at: assetAdministrationShell \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellDescriptor/id.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellDescriptor/id.xml new file mode 100644 index 00000000..fb97894b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellDescriptor/id.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellDescriptor/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellDescriptor/id.xml.exception new file mode 100644 index 00000000..b4f64ad8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellDescriptor/id.xml.exception @@ -0,0 +1 @@ +The required property id has not been given in the XML representation of an instance of class AssetAdministrationShellDescriptor at: assetAdministrationShellDescriptor \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellMetadata/id.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellMetadata/id.xml new file mode 100644 index 00000000..51299deb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellMetadata/id.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellMetadata/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellMetadata/id.xml.exception new file mode 100644 index 00000000..962c5364 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellMetadata/id.xml.exception @@ -0,0 +1 @@ +The required property id has not been given in the XML representation of an instance of class AssetAdministrationShellMetadata at: assetAdministrationShellMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellRecentChange/createdAt.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellRecentChange/createdAt.xml new file mode 100644 index 00000000..4967ab38 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellRecentChange/createdAt.xml @@ -0,0 +1,4 @@ + + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellRecentChange/createdAt.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellRecentChange/createdAt.xml.exception new file mode 100644 index 00000000..46cb6a03 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellRecentChange/createdAt.xml.exception @@ -0,0 +1 @@ +The required property createdAt has not been given in the XML representation of an instance of class AssetAdministrationShellRecentChange at: assetAdministrationShellRecentChange \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellRecentChange/id.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellRecentChange/id.xml new file mode 100644 index 00000000..27a36b68 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellRecentChange/id.xml @@ -0,0 +1,4 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellRecentChange/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellRecentChange/id.xml.exception new file mode 100644 index 00000000..071b557e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellRecentChange/id.xml.exception @@ -0,0 +1 @@ +The required property id has not been given in the XML representation of an instance of class AssetAdministrationShellRecentChange at: assetAdministrationShellRecentChange \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellRecentChange/updatedAt.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellRecentChange/updatedAt.xml new file mode 100644 index 00000000..dbbafa33 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellRecentChange/updatedAt.xml @@ -0,0 +1,4 @@ + + 2022-04-01T24:00:00+00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellRecentChange/updatedAt.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellRecentChange/updatedAt.xml.exception new file mode 100644 index 00000000..3eb6992b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShellRecentChange/updatedAt.xml.exception @@ -0,0 +1 @@ +The required property updatedAt has not been given in the XML representation of an instance of class AssetAdministrationShellRecentChange at: assetAdministrationShellRecentChange \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetInformation/assetKind.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetInformation/assetKind.xml new file mode 100644 index 00000000..5d727798 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetInformation/assetKind.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetInformation/assetKind.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetInformation/assetKind.xml.exception new file mode 100644 index 00000000..50ab5c2a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetInformation/assetKind.xml.exception @@ -0,0 +1 @@ +The required property assetKind has not been given in the XML representation of an instance of class AssetInformation at: assetInformation \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetLink/name.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetLink/name.xml new file mode 100644 index 00000000..e26c8859 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetLink/name.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetLink/name.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetLink/name.xml.exception new file mode 100644 index 00000000..cab0ae98 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetLink/name.xml.exception @@ -0,0 +1 @@ +The required property name has not been given in the XML representation of an instance of class AssetLink at: assetLink \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetLink/value.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetLink/value.xml new file mode 100644 index 00000000..43cb1044 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetLink/value.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetLink/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetLink/value.xml.exception new file mode 100644 index 00000000..d01addde --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetLink/value.xml.exception @@ -0,0 +1 @@ +The required property value has not been given in the XML representation of an instance of class AssetLink at: assetLink \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/attributeOperand/attribute.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/attributeOperand/attribute.xml new file mode 100644 index 00000000..a8f37458 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/attributeOperand/attribute.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/attributeOperand/attribute.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/attributeOperand/attribute.xml.exception new file mode 100644 index 00000000..2fd34e6d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/attributeOperand/attribute.xml.exception @@ -0,0 +1 @@ +The required property attribute has not been given in the XML representation of an instance of class AttributeOperand at: attributeOperand \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/baseOperationResult/executionState.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/baseOperationResult/executionState.xml new file mode 100644 index 00000000..b5b7926f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/baseOperationResult/executionState.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/baseOperationResult/executionState.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/baseOperationResult/executionState.xml.exception new file mode 100644 index 00000000..1b41d9f5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/baseOperationResult/executionState.xml.exception @@ -0,0 +1 @@ +The required property executionState has not been given in the XML representation of an instance of class BaseOperationResult at: baseOperationResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/direction.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/direction.xml new file mode 100644 index 00000000..e331d340 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/direction.xml @@ -0,0 +1,16 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + on + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/direction.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/direction.xml.exception new file mode 100644 index 00000000..b78c3916 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/direction.xml.exception @@ -0,0 +1 @@ +The required property direction has not been given in the XML representation of an instance of class BasicEventElement at: basicEventElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/observed.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/observed.xml new file mode 100644 index 00000000..7f521a40 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/observed.xml @@ -0,0 +1,4 @@ + + input + on + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/observed.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/observed.xml.exception new file mode 100644 index 00000000..90fd510e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/observed.xml.exception @@ -0,0 +1 @@ +The required property observed has not been given in the XML representation of an instance of class BasicEventElement at: basicEventElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/state.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/state.xml new file mode 100644 index 00000000..da947b5c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/state.xml @@ -0,0 +1,16 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/state.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/state.xml.exception new file mode 100644 index 00000000..239f2e96 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/state.xml.exception @@ -0,0 +1 @@ +The required property state has not been given in the XML representation of an instance of class BasicEventElement at: basicEventElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElementMetadata/direction.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElementMetadata/direction.xml new file mode 100644 index 00000000..71426ae4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElementMetadata/direction.xml @@ -0,0 +1,3 @@ + + on + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElementMetadata/direction.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElementMetadata/direction.xml.exception new file mode 100644 index 00000000..ba677b52 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElementMetadata/direction.xml.exception @@ -0,0 +1 @@ +The required property direction has not been given in the XML representation of an instance of class BasicEventElementMetadata at: basicEventElementMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElementMetadata/state.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElementMetadata/state.xml new file mode 100644 index 00000000..38698ca4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElementMetadata/state.xml @@ -0,0 +1,3 @@ + + input + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElementMetadata/state.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElementMetadata/state.xml.exception new file mode 100644 index 00000000..b3be9b2f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElementMetadata/state.xml.exception @@ -0,0 +1 @@ +The required property state has not been given in the XML representation of an instance of class BasicEventElementMetadata at: basicEventElementMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElementValue/observed.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElementValue/observed.xml new file mode 100644 index 00000000..4b977834 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElementValue/observed.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElementValue/observed.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElementValue/observed.xml.exception new file mode 100644 index 00000000..b046673a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElementValue/observed.xml.exception @@ -0,0 +1 @@ +The required property observed has not been given in the XML representation of an instance of class BasicEventElementValue at: basicEventElementValue \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/booleanCast/boolCast.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/booleanCast/boolCast.xml new file mode 100644 index 00000000..d542acd4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/booleanCast/boolCast.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/booleanCast/boolCast.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/booleanCast/boolCast.xml.exception new file mode 100644 index 00000000..7ba4532c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/booleanCast/boolCast.xml.exception @@ -0,0 +1 @@ +The required property boolCast has not been given in the XML representation of an instance of class BooleanCast at: booleanCast \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/booleanLiteral/boolean.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/booleanLiteral/boolean.xml new file mode 100644 index 00000000..a15af2c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/booleanLiteral/boolean.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/booleanLiteral/boolean.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/booleanLiteral/boolean.xml.exception new file mode 100644 index 00000000..d138d98a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/booleanLiteral/boolean.xml.exception @@ -0,0 +1 @@ +The required property booleaN has not been given in the XML representation of an instance of class BooleanLiteral at: booleanLiteral \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/claimAttribute/claim.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/claimAttribute/claim.xml new file mode 100644 index 00000000..37881a06 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/claimAttribute/claim.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/claimAttribute/claim.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/claimAttribute/claim.xml.exception new file mode 100644 index 00000000..18f12007 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/claimAttribute/claim.xml.exception @@ -0,0 +1 @@ +The required property claim has not been given in the XML representation of an instance of class ClaimAttribute at: claimAttribute \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescription/id.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescription/id.xml new file mode 100644 index 00000000..ef65a839 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescription/id.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescription/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescription/id.xml.exception new file mode 100644 index 00000000..84afcc8c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescription/id.xml.exception @@ -0,0 +1 @@ +The required property id has not been given in the XML representation of an instance of class ConceptDescription at: conceptDescription \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescriptionRecentChange/createdAt.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescriptionRecentChange/createdAt.xml new file mode 100644 index 00000000..84136653 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescriptionRecentChange/createdAt.xml @@ -0,0 +1,4 @@ + + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescriptionRecentChange/createdAt.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescriptionRecentChange/createdAt.xml.exception new file mode 100644 index 00000000..723e2ca0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescriptionRecentChange/createdAt.xml.exception @@ -0,0 +1 @@ +The required property createdAt has not been given in the XML representation of an instance of class ConceptDescriptionRecentChange at: conceptDescriptionRecentChange \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescriptionRecentChange/id.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescriptionRecentChange/id.xml new file mode 100644 index 00000000..90cd0030 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescriptionRecentChange/id.xml @@ -0,0 +1,4 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescriptionRecentChange/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescriptionRecentChange/id.xml.exception new file mode 100644 index 00000000..510efe94 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescriptionRecentChange/id.xml.exception @@ -0,0 +1 @@ +The required property id has not been given in the XML representation of an instance of class ConceptDescriptionRecentChange at: conceptDescriptionRecentChange \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescriptionRecentChange/updatedAt.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescriptionRecentChange/updatedAt.xml new file mode 100644 index 00000000..4a2bc686 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescriptionRecentChange/updatedAt.xml @@ -0,0 +1,4 @@ + + 2022-04-01T24:00:00+00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescriptionRecentChange/updatedAt.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescriptionRecentChange/updatedAt.xml.exception new file mode 100644 index 00000000..841d55db --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescriptionRecentChange/updatedAt.xml.exception @@ -0,0 +1 @@ +The required property updatedAt has not been given in the XML representation of an instance of class ConceptDescriptionRecentChange at: conceptDescriptionRecentChange \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/containsComparison/contains.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/containsComparison/contains.xml new file mode 100644 index 00000000..0b7b99bf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/containsComparison/contains.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/containsComparison/contains.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/containsComparison/contains.xml.exception new file mode 100644 index 00000000..b787268a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/containsComparison/contains.xml.exception @@ -0,0 +1 @@ +The required property contains has not been given in the XML representation of an instance of class ContainsComparison at: containsComparison \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationIec61360/preferredName.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationIec61360/preferredName.xml new file mode 100644 index 00000000..894cc6d3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationIec61360/preferredName.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationIec61360/preferredName.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationIec61360/preferredName.xml.exception new file mode 100644 index 00000000..026475f3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationIec61360/preferredName.xml.exception @@ -0,0 +1 @@ +The required property preferredName has not been given in the XML representation of an instance of class DataSpecificationIec61360 at: dataSpecificationIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationUom/preferredName.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationUom/preferredName.xml new file mode 100644 index 00000000..cd22e136 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationUom/preferredName.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationUom/preferredName.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationUom/preferredName.xml.exception new file mode 100644 index 00000000..2fee9485 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationUom/preferredName.xml.exception @@ -0,0 +1 @@ +The required property preferredName has not been given in the XML representation of an instance of class DataSpecificationUom at: dataSpecificationUom \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationUom/symbol.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationUom/symbol.xml new file mode 100644 index 00000000..cb77182f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationUom/symbol.xml @@ -0,0 +1,8 @@ + + + + en-JM-x-c7dddb5b + 6 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationUom/symbol.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationUom/symbol.xml.exception new file mode 100644 index 00000000..00abbf40 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationUom/symbol.xml.exception @@ -0,0 +1 @@ +The required property symbol has not been given in the XML representation of an instance of class DataSpecificationUom at: dataSpecificationUom \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeAttributeItem/kind.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeAttributeItem/kind.xml new file mode 100644 index 00000000..dc35abce --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeAttributeItem/kind.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeAttributeItem/kind.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeAttributeItem/kind.xml.exception new file mode 100644 index 00000000..55497272 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeAttributeItem/kind.xml.exception @@ -0,0 +1 @@ +The required property kind has not been given in the XML representation of an instance of class DateTimeAttributeItem at: dateTimeAttributeItem \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeAttributeOperand/attribute.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeAttributeOperand/attribute.xml new file mode 100644 index 00000000..8905d961 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeAttributeOperand/attribute.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeAttributeOperand/attribute.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeAttributeOperand/attribute.xml.exception new file mode 100644 index 00000000..17182b80 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeAttributeOperand/attribute.xml.exception @@ -0,0 +1 @@ +The required property attribute has not been given in the XML representation of an instance of class DateTimeAttributeOperand at: dateTimeAttributeOperand \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeCast/dateTimeCast.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeCast/dateTimeCast.xml new file mode 100644 index 00000000..0bd38d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeCast/dateTimeCast.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeCast/dateTimeCast.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeCast/dateTimeCast.xml.exception new file mode 100644 index 00000000..8f9060a4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeCast/dateTimeCast.xml.exception @@ -0,0 +1 @@ +The required property dateTimeCast has not been given in the XML representation of an instance of class DateTimeCast at: dateTimeCast \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeLiteral/dateTimeVal.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeLiteral/dateTimeVal.xml new file mode 100644 index 00000000..1ba41399 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeLiteral/dateTimeVal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeLiteral/dateTimeVal.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeLiteral/dateTimeVal.xml.exception new file mode 100644 index 00000000..1450b67a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dateTimeLiteral/dateTimeVal.xml.exception @@ -0,0 +1 @@ +The required property dateTimeVal has not been given in the XML representation of an instance of class DateTimeLiteral at: dateTimeLiteral \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dayOfMonth/dayOfMonth.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dayOfMonth/dayOfMonth.xml new file mode 100644 index 00000000..d1c8da22 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dayOfMonth/dayOfMonth.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dayOfMonth/dayOfMonth.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dayOfMonth/dayOfMonth.xml.exception new file mode 100644 index 00000000..2dbad6f6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dayOfMonth/dayOfMonth.xml.exception @@ -0,0 +1 @@ +The required property dayOfMonth has not been given in the XML representation of an instance of class DayOfMonth at: dayOfMonth \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dayOfWeek/dayOfWeek.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dayOfWeek/dayOfWeek.xml new file mode 100644 index 00000000..aaadab35 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dayOfWeek/dayOfWeek.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dayOfWeek/dayOfWeek.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dayOfWeek/dayOfWeek.xml.exception new file mode 100644 index 00000000..c38d04d2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dayOfWeek/dayOfWeek.xml.exception @@ -0,0 +1 @@ +The required property dayOfWeek has not been given in the XML representation of an instance of class DayOfWeek at: dayOfWeek \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/definitionTypeUom/language.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/definitionTypeUom/language.xml new file mode 100644 index 00000000..dc904b4a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/definitionTypeUom/language.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/definitionTypeUom/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/definitionTypeUom/language.xml.exception new file mode 100644 index 00000000..86b78572 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/definitionTypeUom/language.xml.exception @@ -0,0 +1 @@ +The required property language has not been given in the XML representation of an instance of class DefinitionTypeUom at: definitionTypeUom \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/definitionTypeUom/text.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/definitionTypeUom/text.xml new file mode 100644 index 00000000..175f0930 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/definitionTypeUom/text.xml @@ -0,0 +1,3 @@ + + en-JM-x-8fafefb1 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/definitionTypeUom/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/definitionTypeUom/text.xml.exception new file mode 100644 index 00000000..23c65d8b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/definitionTypeUom/text.xml.exception @@ -0,0 +1 @@ +The required property text has not been given in the XML representation of an instance of class DefinitionTypeUom at: definitionTypeUom \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecification.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecification.xml new file mode 100644 index 00000000..dac62326 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecification.xml @@ -0,0 +1,13 @@ + + + + + + en-JM-x-b435b532 + 0 + + + <ă<P󨱽²|dnœÞ® + + + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecification.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecification.xml.exception new file mode 100644 index 00000000..e0ec129e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecification.xml.exception @@ -0,0 +1 @@ +The required property dataSpecification has not been given in the XML representation of an instance of class EmbeddedDataSpecification at: embeddedDataSpecification \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecificationContent.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecificationContent.xml new file mode 100644 index 00000000..ba020562 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecificationContent.xml @@ -0,0 +1,11 @@ + + + ExternalReference + + + GlobalReference + urn:some-company:10:9ac9d1a6 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecificationContent.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecificationContent.xml.exception new file mode 100644 index 00000000..0767ed63 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecificationContent.xml.exception @@ -0,0 +1 @@ +The required property dataSpecificationContent has not been given in the XML representation of an instance of class EmbeddedDataSpecification at: embeddedDataSpecification \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/endpoint/interface.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/endpoint/interface.xml new file mode 100644 index 00000000..1528fdda --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/endpoint/interface.xml @@ -0,0 +1,5 @@ + + + something_72d646a9 + + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/endpoint/interface.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/endpoint/interface.xml.exception new file mode 100644 index 00000000..7650b714 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/endpoint/interface.xml.exception @@ -0,0 +1 @@ +The required property interfacE has not been given in the XML representation of an instance of class Endpoint at: endpoint \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/endpoint/protocolInformation.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/endpoint/protocolInformation.xml new file mode 100644 index 00000000..36c572be --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/endpoint/protocolInformation.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/endpoint/protocolInformation.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/endpoint/protocolInformation.xml.exception new file mode 100644 index 00000000..917be21f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/endpoint/protocolInformation.xml.exception @@ -0,0 +1 @@ +The required property protocolInformation has not been given in the XML representation of an instance of class Endpoint at: endpoint \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/endsWithComparison/endsWith.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/endsWithComparison/endsWith.xml new file mode 100644 index 00000000..14ba614b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/endsWithComparison/endsWith.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/endsWithComparison/endsWith.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/endsWithComparison/endsWith.xml.exception new file mode 100644 index 00000000..868d637d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/endsWithComparison/endsWith.xml.exception @@ -0,0 +1 @@ +The required property endsWith has not been given in the XML representation of an instance of class EndsWithComparison at: endsWithComparison \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/equalComparison/eq.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/equalComparison/eq.xml new file mode 100644 index 00000000..b3c42242 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/equalComparison/eq.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/equalComparison/eq.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/equalComparison/eq.xml.exception new file mode 100644 index 00000000..26819c97 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/equalComparison/eq.xml.exception @@ -0,0 +1 @@ +The required property eq has not been given in the XML representation of an instance of class EqualComparison at: equalComparison \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/observableReference.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/observableReference.xml new file mode 100644 index 00000000..3bb79fef --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/observableReference.xml @@ -0,0 +1,16 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/observableReference.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/observableReference.xml.exception new file mode 100644 index 00000000..cc68ca48 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/observableReference.xml.exception @@ -0,0 +1 @@ +The required property observableReference has not been given in the XML representation of an instance of class EventPayload at: eventPayload \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/source.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/source.xml new file mode 100644 index 00000000..a80288fd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/source.xml @@ -0,0 +1,12 @@ + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/source.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/source.xml.exception new file mode 100644 index 00000000..1bdf62cd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/source.xml.exception @@ -0,0 +1 @@ +The required property source has not been given in the XML representation of an instance of class EventPayload at: eventPayload \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/timeStamp.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/timeStamp.xml new file mode 100644 index 00000000..353f9b1c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/timeStamp.xml @@ -0,0 +1,24 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/timeStamp.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/timeStamp.xml.exception new file mode 100644 index 00000000..811e1765 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/timeStamp.xml.exception @@ -0,0 +1 @@ +The required property timeStamp has not been given in the XML representation of an instance of class EventPayload at: eventPayload \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/extension/name.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/extension/name.xml new file mode 100644 index 00000000..430dc010 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/extension/name.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/extension/name.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/extension/name.xml.exception new file mode 100644 index 00000000..f22bf4bc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/extension/name.xml.exception @@ -0,0 +1 @@ +The required property name has not been given in the XML representation of an instance of class Extension at: extension \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/fieldOperand/field.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/fieldOperand/field.xml new file mode 100644 index 00000000..bd75b341 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/fieldOperand/field.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/fieldOperand/field.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/fieldOperand/field.xml.exception new file mode 100644 index 00000000..d70a3b4f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/fieldOperand/field.xml.exception @@ -0,0 +1 @@ +The required property field has not been given in the XML representation of an instance of class FieldOperand at: fieldOperand \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAllAssetAdministrationShellsRecentChangesResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAllAssetAdministrationShellsRecentChangesResult/pagingMetadata.xml new file mode 100644 index 00000000..6636b3c2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAllAssetAdministrationShellsRecentChangesResult/pagingMetadata.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAllAssetAdministrationShellsRecentChangesResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAllAssetAdministrationShellsRecentChangesResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..1d3bc14c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAllAssetAdministrationShellsRecentChangesResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +The required property pagingMetadata has not been given in the XML representation of an instance of class GetAllAssetAdministrationShellsRecentChangesResult at: getAllAssetAdministrationShellsRecentChangesResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAllConceptDescriptionsRecentChangesResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAllConceptDescriptionsRecentChangesResult/pagingMetadata.xml new file mode 100644 index 00000000..6f7b1f7e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAllConceptDescriptionsRecentChangesResult/pagingMetadata.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAllConceptDescriptionsRecentChangesResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAllConceptDescriptionsRecentChangesResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..fcbdca44 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAllConceptDescriptionsRecentChangesResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +The required property pagingMetadata has not been given in the XML representation of an instance of class GetAllConceptDescriptionsRecentChangesResult at: getAllConceptDescriptionsRecentChangesResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAllSubmodelsRecentChangesResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAllSubmodelsRecentChangesResult/pagingMetadata.xml new file mode 100644 index 00000000..dc5e1172 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAllSubmodelsRecentChangesResult/pagingMetadata.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAllSubmodelsRecentChangesResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAllSubmodelsRecentChangesResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..ec985b23 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAllSubmodelsRecentChangesResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +The required property pagingMetadata has not been given in the XML representation of an instance of class GetAllSubmodelsRecentChangesResult at: getAllSubmodelsRecentChangesResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAssetAdministrationShellDescriptorsResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAssetAdministrationShellDescriptorsResult/pagingMetadata.xml new file mode 100644 index 00000000..de4b09a2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAssetAdministrationShellDescriptorsResult/pagingMetadata.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAssetAdministrationShellDescriptorsResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAssetAdministrationShellDescriptorsResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..47a62a1f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAssetAdministrationShellDescriptorsResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +The required property pagingMetadata has not been given in the XML representation of an instance of class GetAssetAdministrationShellDescriptorsResult at: getAssetAdministrationShellDescriptorsResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAssetAdministrationShellsMetadataResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAssetAdministrationShellsMetadataResult/pagingMetadata.xml new file mode 100644 index 00000000..22e38e90 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAssetAdministrationShellsMetadataResult/pagingMetadata.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAssetAdministrationShellsMetadataResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAssetAdministrationShellsMetadataResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..9523df49 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAssetAdministrationShellsMetadataResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +The required property pagingMetadata has not been given in the XML representation of an instance of class GetAssetAdministrationShellsMetadataResult at: getAssetAdministrationShellsMetadataResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAssetAdministrationShellsResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAssetAdministrationShellsResult/pagingMetadata.xml new file mode 100644 index 00000000..38bb40f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAssetAdministrationShellsResult/pagingMetadata.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAssetAdministrationShellsResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAssetAdministrationShellsResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..6f8a6f0d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getAssetAdministrationShellsResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +The required property pagingMetadata has not been given in the XML representation of an instance of class GetAssetAdministrationShellsResult at: getAssetAdministrationShellsResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getConceptDescriptionsResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getConceptDescriptionsResult/pagingMetadata.xml new file mode 100644 index 00000000..70f4691a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getConceptDescriptionsResult/pagingMetadata.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getConceptDescriptionsResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getConceptDescriptionsResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..af222887 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getConceptDescriptionsResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +The required property pagingMetadata has not been given in the XML representation of an instance of class GetConceptDescriptionsResult at: getConceptDescriptionsResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getPackageDescriptionsResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getPackageDescriptionsResult/pagingMetadata.xml new file mode 100644 index 00000000..5a8325bd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getPackageDescriptionsResult/pagingMetadata.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getPackageDescriptionsResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getPackageDescriptionsResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..53f00f0d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getPackageDescriptionsResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +The required property pagingMetadata has not been given in the XML representation of an instance of class GetPackageDescriptionsResult at: getPackageDescriptionsResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getPathItemsResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getPathItemsResult/pagingMetadata.xml new file mode 100644 index 00000000..15af48ee --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getPathItemsResult/pagingMetadata.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getPathItemsResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getPathItemsResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..9e94fa2d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getPathItemsResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +The required property pagingMetadata has not been given in the XML representation of an instance of class GetPathItemsResult at: getPathItemsResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getReferencesResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getReferencesResult/pagingMetadata.xml new file mode 100644 index 00000000..946a35b7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getReferencesResult/pagingMetadata.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getReferencesResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getReferencesResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..69114a7c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getReferencesResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +The required property pagingMetadata has not been given in the XML representation of an instance of class GetReferencesResult at: getReferencesResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelDescriptorsResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelDescriptorsResult/pagingMetadata.xml new file mode 100644 index 00000000..1b3781f1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelDescriptorsResult/pagingMetadata.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelDescriptorsResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelDescriptorsResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..2b02c0c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelDescriptorsResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +The required property pagingMetadata has not been given in the XML representation of an instance of class GetSubmodelDescriptorsResult at: getSubmodelDescriptorsResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelElementsMetadataResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelElementsMetadataResult/pagingMetadata.xml new file mode 100644 index 00000000..c6c36679 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelElementsMetadataResult/pagingMetadata.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelElementsMetadataResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelElementsMetadataResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..72f74f30 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelElementsMetadataResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +The required property pagingMetadata has not been given in the XML representation of an instance of class GetSubmodelElementsMetadataResult at: getSubmodelElementsMetadataResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelElementsResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelElementsResult/pagingMetadata.xml new file mode 100644 index 00000000..64b5adbf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelElementsResult/pagingMetadata.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelElementsResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelElementsResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..f33970c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelElementsResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +The required property pagingMetadata has not been given in the XML representation of an instance of class GetSubmodelElementsResult at: getSubmodelElementsResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelElementsValueResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelElementsValueResult/pagingMetadata.xml new file mode 100644 index 00000000..5ece4aa9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelElementsValueResult/pagingMetadata.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelElementsValueResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelElementsValueResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..454c74f8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelElementsValueResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +The required property pagingMetadata has not been given in the XML representation of an instance of class GetSubmodelElementsValueResult at: getSubmodelElementsValueResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelsMetadataResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelsMetadataResult/pagingMetadata.xml new file mode 100644 index 00000000..f1e700be --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelsMetadataResult/pagingMetadata.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelsMetadataResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelsMetadataResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..9b0c465c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelsMetadataResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +The required property pagingMetadata has not been given in the XML representation of an instance of class GetSubmodelsMetadataResult at: getSubmodelsMetadataResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelsResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelsResult/pagingMetadata.xml new file mode 100644 index 00000000..5e75be8d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelsResult/pagingMetadata.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelsResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelsResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..59b9420a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelsResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +The required property pagingMetadata has not been given in the XML representation of an instance of class GetSubmodelsResult at: getSubmodelsResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelsValueResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelsValueResult/pagingMetadata.xml new file mode 100644 index 00000000..56ae40fe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelsValueResult/pagingMetadata.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelsValueResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelsValueResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..075b97cf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/getSubmodelsValueResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +The required property pagingMetadata has not been given in the XML representation of an instance of class GetSubmodelsValueResult at: getSubmodelsValueResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/globalAttribute/kind.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/globalAttribute/kind.xml new file mode 100644 index 00000000..a3a28335 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/globalAttribute/kind.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/globalAttribute/kind.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/globalAttribute/kind.xml.exception new file mode 100644 index 00000000..65caba14 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/globalAttribute/kind.xml.exception @@ -0,0 +1 @@ +The required property kind has not been given in the XML representation of an instance of class GlobalAttribute at: globalAttribute \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/greaterThanComparison/gt.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/greaterThanComparison/gt.xml new file mode 100644 index 00000000..f9584e92 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/greaterThanComparison/gt.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/greaterThanComparison/gt.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/greaterThanComparison/gt.xml.exception new file mode 100644 index 00000000..b4ba0461 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/greaterThanComparison/gt.xml.exception @@ -0,0 +1 @@ +The required property gt has not been given in the XML representation of an instance of class GreaterThanComparison at: greaterThanComparison \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/greaterThanOrEqualComparison/ge.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/greaterThanOrEqualComparison/ge.xml new file mode 100644 index 00000000..37a7bd0e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/greaterThanOrEqualComparison/ge.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/greaterThanOrEqualComparison/ge.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/greaterThanOrEqualComparison/ge.xml.exception new file mode 100644 index 00000000..f37323bb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/greaterThanOrEqualComparison/ge.xml.exception @@ -0,0 +1 @@ +The required property ge has not been given in the XML representation of an instance of class GreaterThanOrEqualComparison at: greaterThanOrEqualComparison \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/hexCast/hexCast.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/hexCast/hexCast.xml new file mode 100644 index 00000000..aaced17b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/hexCast/hexCast.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/hexCast/hexCast.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/hexCast/hexCast.xml.exception new file mode 100644 index 00000000..7475f2bb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/hexCast/hexCast.xml.exception @@ -0,0 +1 @@ +The required property hexCast has not been given in the XML representation of an instance of class HexCast at: hexCast \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/hexLiteral/hexVal.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/hexLiteral/hexVal.xml new file mode 100644 index 00000000..a36cc44b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/hexLiteral/hexVal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/hexLiteral/hexVal.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/hexLiteral/hexVal.xml.exception new file mode 100644 index 00000000..5288a728 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/hexLiteral/hexVal.xml.exception @@ -0,0 +1 @@ +The required property hexVal has not been given in the XML representation of an instance of class HexLiteral at: hexLiteral \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/type.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/type.xml new file mode 100644 index 00000000..53115f37 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/type.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/type.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/type.xml.exception new file mode 100644 index 00000000..725fb3bb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/type.xml.exception @@ -0,0 +1 @@ +The required property type has not been given in the XML representation of an instance of class Key at: key \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/value.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/value.xml new file mode 100644 index 00000000..a51671f5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/value.xml @@ -0,0 +1,3 @@ + + EventElement + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/value.xml.exception new file mode 100644 index 00000000..745da5ae --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/value.xml.exception @@ -0,0 +1 @@ +The required property value has not been given in the XML representation of an instance of class Key at: key \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/language.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/language.xml new file mode 100644 index 00000000..8ea54d78 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/language.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/language.xml.exception new file mode 100644 index 00000000..df5b73cf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/language.xml.exception @@ -0,0 +1 @@ +The required property language has not been given in the XML representation of an instance of class LangStringDefinitionTypeIec61360 at: langStringDefinitionTypeIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/text.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/text.xml new file mode 100644 index 00000000..d2bfb470 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/text.xml @@ -0,0 +1,3 @@ + + en-JM-x-8fafefb1 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/text.xml.exception new file mode 100644 index 00000000..36add87f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/text.xml.exception @@ -0,0 +1 @@ +The required property text has not been given in the XML representation of an instance of class LangStringDefinitionTypeIec61360 at: langStringDefinitionTypeIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/language.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/language.xml new file mode 100644 index 00000000..5d365b84 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/language.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/language.xml.exception new file mode 100644 index 00000000..649a1241 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/language.xml.exception @@ -0,0 +1 @@ +The required property language has not been given in the XML representation of an instance of class LangStringNameType at: langStringNameType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/text.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/text.xml new file mode 100644 index 00000000..c4d0bb94 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/text.xml @@ -0,0 +1,3 @@ + + en-JM-x-8fafefb1 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/text.xml.exception new file mode 100644 index 00000000..86229a01 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/text.xml.exception @@ -0,0 +1 @@ +The required property text has not been given in the XML representation of an instance of class LangStringNameType at: langStringNameType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/language.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/language.xml new file mode 100644 index 00000000..4ebc8a68 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/language.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/language.xml.exception new file mode 100644 index 00000000..ea58e45f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/language.xml.exception @@ -0,0 +1 @@ +The required property language has not been given in the XML representation of an instance of class LangStringPreferredNameTypeIec61360 at: langStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/text.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/text.xml new file mode 100644 index 00000000..6b2df670 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/text.xml @@ -0,0 +1,3 @@ + + en-JM-x-8fafefb1 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/text.xml.exception new file mode 100644 index 00000000..600d5743 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/text.xml.exception @@ -0,0 +1 @@ +The required property text has not been given in the XML representation of an instance of class LangStringPreferredNameTypeIec61360 at: langStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/language.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/language.xml new file mode 100644 index 00000000..e234c61d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/language.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/language.xml.exception new file mode 100644 index 00000000..a4fb881d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/language.xml.exception @@ -0,0 +1 @@ +The required property language has not been given in the XML representation of an instance of class LangStringShortNameTypeIec61360 at: langStringShortNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/text.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/text.xml new file mode 100644 index 00000000..bacd690c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/text.xml @@ -0,0 +1,3 @@ + + en-JM-x-8fafefb1 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/text.xml.exception new file mode 100644 index 00000000..3b938b3f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/text.xml.exception @@ -0,0 +1 @@ +The required property text has not been given in the XML representation of an instance of class LangStringShortNameTypeIec61360 at: langStringShortNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/language.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/language.xml new file mode 100644 index 00000000..1084da6e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/language.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/language.xml.exception new file mode 100644 index 00000000..6225990a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/language.xml.exception @@ -0,0 +1 @@ +The required property language has not been given in the XML representation of an instance of class LangStringTextType at: langStringTextType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/text.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/text.xml new file mode 100644 index 00000000..dfd10f81 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/text.xml @@ -0,0 +1,3 @@ + + en-JM-x-8fafefb1 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/text.xml.exception new file mode 100644 index 00000000..4bedaeb5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/text.xml.exception @@ -0,0 +1 @@ +The required property text has not been given in the XML representation of an instance of class LangStringTextType at: langStringTextType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringUom/language.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringUom/language.xml new file mode 100644 index 00000000..32a14e42 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringUom/language.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringUom/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringUom/language.xml.exception new file mode 100644 index 00000000..e804a4cc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringUom/language.xml.exception @@ -0,0 +1 @@ +The required property language has not been given in the XML representation of an instance of class LangStringUom at: langStringUom \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringUom/text.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringUom/text.xml new file mode 100644 index 00000000..9bd0e34b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringUom/text.xml @@ -0,0 +1,3 @@ + + en-JM-x-8fafefb1 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringUom/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringUom/text.xml.exception new file mode 100644 index 00000000..f32831a2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringUom/text.xml.exception @@ -0,0 +1 @@ +The required property text has not been given in the XML representation of an instance of class LangStringUom at: langStringUom \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/lessThanComparison/lt.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/lessThanComparison/lt.xml new file mode 100644 index 00000000..bdb71c9a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/lessThanComparison/lt.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/lessThanComparison/lt.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/lessThanComparison/lt.xml.exception new file mode 100644 index 00000000..be631503 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/lessThanComparison/lt.xml.exception @@ -0,0 +1 @@ +The required property lt has not been given in the XML representation of an instance of class LessThanComparison at: lessThanComparison \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/lessThanOrEqualComparison/le.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/lessThanOrEqualComparison/le.xml new file mode 100644 index 00000000..e0a2e0bb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/lessThanOrEqualComparison/le.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/lessThanOrEqualComparison/le.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/lessThanOrEqualComparison/le.xml.exception new file mode 100644 index 00000000..73d26737 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/lessThanOrEqualComparison/le.xml.exception @@ -0,0 +1 @@ +The required property le has not been given in the XML representation of an instance of class LessThanOrEqualComparison at: lessThanOrEqualComparison \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/max.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/max.xml new file mode 100644 index 00000000..ad87dc49 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/max.xml @@ -0,0 +1,5 @@ + + false + false + false + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/max.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/max.xml.exception new file mode 100644 index 00000000..4f332aca --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/max.xml.exception @@ -0,0 +1 @@ +The required property max has not been given in the XML representation of an instance of class LevelType at: levelType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/min.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/min.xml new file mode 100644 index 00000000..c68cb6fe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/min.xml @@ -0,0 +1,5 @@ + + false + false + true + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/min.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/min.xml.exception new file mode 100644 index 00000000..54bdd21a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/min.xml.exception @@ -0,0 +1 @@ +The required property min has not been given in the XML representation of an instance of class LevelType at: levelType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/nom.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/nom.xml new file mode 100644 index 00000000..0635cf78 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/nom.xml @@ -0,0 +1,5 @@ + + false + false + true + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/nom.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/nom.xml.exception new file mode 100644 index 00000000..01deba81 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/nom.xml.exception @@ -0,0 +1 @@ +The required property nom has not been given in the XML representation of an instance of class LevelType at: levelType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/typ.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/typ.xml new file mode 100644 index 00000000..7ac5414d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/typ.xml @@ -0,0 +1,5 @@ + + false + false + true + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/typ.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/typ.xml.exception new file mode 100644 index 00000000..ce0eba16 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/typ.xml.exception @@ -0,0 +1 @@ +The required property typ has not been given in the XML representation of an instance of class LevelType at: levelType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/matchClause/matchOperands.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/matchClause/matchOperands.xml new file mode 100644 index 00000000..13ea7568 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/matchClause/matchOperands.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/matchClause/matchOperands.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/matchClause/matchOperands.xml.exception new file mode 100644 index 00000000..87f6f9e8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/matchClause/matchOperands.xml.exception @@ -0,0 +1 @@ +The required property matchOperands has not been given in the XML representation of an instance of class MatchClause at: matchClause \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/message/messageType.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/message/messageType.xml new file mode 100644 index 00000000..6c97d3ea --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/message/messageType.xml @@ -0,0 +1,3 @@ + + something_2c25e1c4 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/message/messageType.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/message/messageType.xml.exception new file mode 100644 index 00000000..5be5ba21 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/message/messageType.xml.exception @@ -0,0 +1 @@ +The required property messageType has not been given in the XML representation of an instance of class Message at: message \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/message/text.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/message/text.xml new file mode 100644 index 00000000..8dd182ee --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/message/text.xml @@ -0,0 +1,3 @@ + + Exception + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/message/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/message/text.xml.exception new file mode 100644 index 00000000..ce40e3c8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/message/text.xml.exception @@ -0,0 +1 @@ +The required property text has not been given in the XML representation of an instance of class Message at: message \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/month/month.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/month/month.xml new file mode 100644 index 00000000..8281b10d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/month/month.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/month/month.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/month/month.xml.exception new file mode 100644 index 00000000..c2ebb04b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/month/month.xml.exception @@ -0,0 +1 @@ +The required property month has not been given in the XML representation of an instance of class Month at: month \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/notEqualComparison/ne.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/notEqualComparison/ne.xml new file mode 100644 index 00000000..017b5423 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/notEqualComparison/ne.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/notEqualComparison/ne.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/notEqualComparison/ne.xml.exception new file mode 100644 index 00000000..8889b1be --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/notEqualComparison/ne.xml.exception @@ -0,0 +1 @@ +The required property ne has not been given in the XML representation of an instance of class NotEqualComparison at: notEqualComparison \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/notExpression/notOperand.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/notExpression/notOperand.xml new file mode 100644 index 00000000..e90020ba --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/notExpression/notOperand.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/notExpression/notOperand.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/notExpression/notOperand.xml.exception new file mode 100644 index 00000000..5588c576 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/notExpression/notOperand.xml.exception @@ -0,0 +1 @@ +The required property notOperand has not been given in the XML representation of an instance of class NotExpression at: notExpression \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/numberCast/numCast.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/numberCast/numCast.xml new file mode 100644 index 00000000..43a95c29 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/numberCast/numCast.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/numberCast/numCast.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/numberCast/numCast.xml.exception new file mode 100644 index 00000000..7c5df259 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/numberCast/numCast.xml.exception @@ -0,0 +1 @@ +The required property numCast has not been given in the XML representation of an instance of class NumberCast at: numberCast \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/numberLiteral/numVal.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/numberLiteral/numVal.xml new file mode 100644 index 00000000..f6797ddf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/numberLiteral/numVal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/numberLiteral/numVal.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/numberLiteral/numVal.xml.exception new file mode 100644 index 00000000..3d4a2528 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/numberLiteral/numVal.xml.exception @@ -0,0 +1 @@ +The required property numVal has not been given in the XML representation of an instance of class NumberLiteral at: numberLiteral \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationHandle/handleId.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationHandle/handleId.xml new file mode 100644 index 00000000..482bdee6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationHandle/handleId.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationHandle/handleId.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationHandle/handleId.xml.exception new file mode 100644 index 00000000..6903bd7c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationHandle/handleId.xml.exception @@ -0,0 +1 @@ +The required property handleId has not been given in the XML representation of an instance of class OperationHandle at: operationHandle \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationRequestAsync/clientTimeoutDuration.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationRequestAsync/clientTimeoutDuration.xml new file mode 100644 index 00000000..ce53fbff --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationRequestAsync/clientTimeoutDuration.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationRequestAsync/clientTimeoutDuration.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationRequestAsync/clientTimeoutDuration.xml.exception new file mode 100644 index 00000000..77295b6c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationRequestAsync/clientTimeoutDuration.xml.exception @@ -0,0 +1 @@ +The required property clientTimeoutDuration has not been given in the XML representation of an instance of class OperationRequestAsync at: operationRequestAsync \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationRequestAsyncValueOnly/clientTimeoutDuration.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationRequestAsyncValueOnly/clientTimeoutDuration.xml new file mode 100644 index 00000000..01d11280 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationRequestAsyncValueOnly/clientTimeoutDuration.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationRequestAsyncValueOnly/clientTimeoutDuration.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationRequestAsyncValueOnly/clientTimeoutDuration.xml.exception new file mode 100644 index 00000000..1564b581 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationRequestAsyncValueOnly/clientTimeoutDuration.xml.exception @@ -0,0 +1 @@ +The required property clientTimeoutDuration has not been given in the XML representation of an instance of class OperationRequestAsyncValueOnly at: operationRequestAsyncValueOnly \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationResult/executionState.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationResult/executionState.xml new file mode 100644 index 00000000..bef1e45e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationResult/executionState.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationResult/executionState.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationResult/executionState.xml.exception new file mode 100644 index 00000000..3ca374aa --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationResult/executionState.xml.exception @@ -0,0 +1 @@ +The required property executionState has not been given in the XML representation of an instance of class OperationResult at: operationResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationResultValueOnly/executionState.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationResultValueOnly/executionState.xml new file mode 100644 index 00000000..083b0350 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationResultValueOnly/executionState.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationResultValueOnly/executionState.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationResultValueOnly/executionState.xml.exception new file mode 100644 index 00000000..52e1a928 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationResultValueOnly/executionState.xml.exception @@ -0,0 +1 @@ +The required property executionState has not been given in the XML representation of an instance of class OperationResultValueOnly at: operationResultValueOnly \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationVariable/value.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationVariable/value.xml new file mode 100644 index 00000000..6e973d9a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationVariable/value.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationVariable/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationVariable/value.xml.exception new file mode 100644 index 00000000..c8cbdd4c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationVariable/value.xml.exception @@ -0,0 +1 @@ +The required property value has not been given in the XML representation of an instance of class OperationVariable at: operationVariable \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/orExpression/orOperands.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/orExpression/orOperands.xml new file mode 100644 index 00000000..f194bcd1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/orExpression/orOperands.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/orExpression/orOperands.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/orExpression/orOperands.xml.exception new file mode 100644 index 00000000..07d31f62 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/orExpression/orOperands.xml.exception @@ -0,0 +1 @@ +The required property orOperands has not been given in the XML representation of an instance of class OrExpression at: orExpression \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/packageDescription/packageId.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/packageDescription/packageId.xml new file mode 100644 index 00000000..de11890f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/packageDescription/packageId.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/packageDescription/packageId.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/packageDescription/packageId.xml.exception new file mode 100644 index 00000000..74fec442 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/packageDescription/packageId.xml.exception @@ -0,0 +1 @@ +The required property packageId has not been given in the XML representation of an instance of class PackageDescription at: packageDescription \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/pagedResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/pagedResult/pagingMetadata.xml new file mode 100644 index 00000000..4521d93a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/pagedResult/pagingMetadata.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/pagedResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/pagedResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..bca1771a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/pagedResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +The required property pagingMetadata has not been given in the XML representation of an instance of class PagedResult at: pagedResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/property/valueType.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/property/valueType.xml new file mode 100644 index 00000000..fea2861a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/property/valueType.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/property/valueType.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/property/valueType.xml.exception new file mode 100644 index 00000000..c38556b8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/property/valueType.xml.exception @@ -0,0 +1 @@ +The required property valueType has not been given in the XML representation of an instance of class Property at: property \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/propertyMetadata/valueType.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/propertyMetadata/valueType.xml new file mode 100644 index 00000000..5c8f8782 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/propertyMetadata/valueType.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/propertyMetadata/valueType.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/propertyMetadata/valueType.xml.exception new file mode 100644 index 00000000..2735b761 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/propertyMetadata/valueType.xml.exception @@ -0,0 +1 @@ +The required property valueType has not been given in the XML representation of an instance of class PropertyMetadata at: propertyMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/protocolInformation/href.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/protocolInformation/href.xml new file mode 100644 index 00000000..6b416451 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/protocolInformation/href.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/protocolInformation/href.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/protocolInformation/href.xml.exception new file mode 100644 index 00000000..1ddfba6b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/protocolInformation/href.xml.exception @@ -0,0 +1 @@ +The required property href has not been given in the XML representation of an instance of class ProtocolInformation at: protocolInformation \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/type.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/type.xml new file mode 100644 index 00000000..4ada74b5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/type.xml @@ -0,0 +1,3 @@ + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/type.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/type.xml.exception new file mode 100644 index 00000000..f7adeba3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/type.xml.exception @@ -0,0 +1 @@ +The required property type has not been given in the XML representation of an instance of class Qualifier at: qualifier \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/valueType.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/valueType.xml new file mode 100644 index 00000000..8bd35220 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/valueType.xml @@ -0,0 +1,3 @@ + + something_86027eb8 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/valueType.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/valueType.xml.exception new file mode 100644 index 00000000..9bca84cb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/valueType.xml.exception @@ -0,0 +1 @@ +The required property valueType has not been given in the XML representation of an instance of class Qualifier at: qualifier \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/query/condition.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/query/condition.xml new file mode 100644 index 00000000..58e65942 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/query/condition.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/query/condition.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/query/condition.xml.exception new file mode 100644 index 00000000..dc875b57 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/query/condition.xml.exception @@ -0,0 +1 @@ +The required property condition has not been given in the XML representation of an instance of class Query at: query \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/queryFilter/condition.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/queryFilter/condition.xml new file mode 100644 index 00000000..243d99fe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/queryFilter/condition.xml @@ -0,0 +1,3 @@ + + $aas#submodels + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/queryFilter/condition.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/queryFilter/condition.xml.exception new file mode 100644 index 00000000..d87a6cd6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/queryFilter/condition.xml.exception @@ -0,0 +1 @@ +The required property condition has not been given in the XML representation of an instance of class QueryFilter at: queryFilter \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/queryFilter/fragment.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/queryFilter/fragment.xml new file mode 100644 index 00000000..03e565e7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/queryFilter/fragment.xml @@ -0,0 +1,14 @@ + + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/queryFilter/fragment.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/queryFilter/fragment.xml.exception new file mode 100644 index 00000000..9076bad5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/queryFilter/fragment.xml.exception @@ -0,0 +1 @@ +The required property fragment has not been given in the XML representation of an instance of class QueryFilter at: queryFilter \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/range/valueType.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/range/valueType.xml new file mode 100644 index 00000000..afa0586e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/range/valueType.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/range/valueType.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/range/valueType.xml.exception new file mode 100644 index 00000000..1d4baf59 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/range/valueType.xml.exception @@ -0,0 +1 @@ +The required property valueType has not been given in the XML representation of an instance of class Range at: range \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/rangeMetadata/valueType.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/rangeMetadata/valueType.xml new file mode 100644 index 00000000..388a0ff3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/rangeMetadata/valueType.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/rangeMetadata/valueType.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/rangeMetadata/valueType.xml.exception new file mode 100644 index 00000000..2da73374 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/rangeMetadata/valueType.xml.exception @@ -0,0 +1 @@ +The required property valueType has not been given in the XML representation of an instance of class RangeMetadata at: rangeMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/rangeValue/max.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/rangeValue/max.xml new file mode 100644 index 00000000..ea1d1f83 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/rangeValue/max.xml @@ -0,0 +1,3 @@ + + 12552311.97 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/rangeValue/max.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/rangeValue/max.xml.exception new file mode 100644 index 00000000..f0aba8d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/rangeValue/max.xml.exception @@ -0,0 +1 @@ +The required property max has not been given in the XML representation of an instance of class RangeValue at: rangeValue \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/rangeValue/min.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/rangeValue/min.xml new file mode 100644 index 00000000..183a5084 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/rangeValue/min.xml @@ -0,0 +1,3 @@ + + 8978292.24 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/rangeValue/min.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/rangeValue/min.xml.exception new file mode 100644 index 00000000..889b283d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/rangeValue/min.xml.exception @@ -0,0 +1 @@ +The required property min has not been given in the XML representation of an instance of class RangeValue at: rangeValue \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/keys.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/keys.xml new file mode 100644 index 00000000..0f301dc8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/keys.xml @@ -0,0 +1,3 @@ + + ExternalReference + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/keys.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/keys.xml.exception new file mode 100644 index 00000000..41f9d23a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/keys.xml.exception @@ -0,0 +1 @@ +The required property keys has not been given in the XML representation of an instance of class Reference at: reference \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/type.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/type.xml new file mode 100644 index 00000000..56673032 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/type.xml @@ -0,0 +1,8 @@ + + + + GlobalReference + urn:example:10:6914e6d2 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/type.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/type.xml.exception new file mode 100644 index 00000000..7d05c7ff --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/type.xml.exception @@ -0,0 +1 @@ +The required property type has not been given in the XML representation of an instance of class Reference at: reference \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/referenceAttribute/reference.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/referenceAttribute/reference.xml new file mode 100644 index 00000000..9fa2d403 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/referenceAttribute/reference.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/referenceAttribute/reference.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/referenceAttribute/reference.xml.exception new file mode 100644 index 00000000..f00ddb83 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/referenceAttribute/reference.xml.exception @@ -0,0 +1 @@ +The required property reference has not been given in the XML representation of an instance of class ReferenceAttribute at: referenceAttribute \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/referenceElementValue/keys.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/referenceElementValue/keys.xml new file mode 100644 index 00000000..ae3b4f52 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/referenceElementValue/keys.xml @@ -0,0 +1,3 @@ + + ExternalReference + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/referenceElementValue/keys.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/referenceElementValue/keys.xml.exception new file mode 100644 index 00000000..e5b782dc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/referenceElementValue/keys.xml.exception @@ -0,0 +1 @@ +The required property keys has not been given in the XML representation of an instance of class ReferenceElementValue at: referenceElementValue \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/referenceElementValue/type.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/referenceElementValue/type.xml new file mode 100644 index 00000000..5b247375 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/referenceElementValue/type.xml @@ -0,0 +1,8 @@ + + + + Operation + öĖa􍣡™| + + + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/referenceElementValue/type.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/referenceElementValue/type.xml.exception new file mode 100644 index 00000000..f5f247a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/referenceElementValue/type.xml.exception @@ -0,0 +1 @@ +The required property type has not been given in the XML representation of an instance of class ReferenceElementValue at: referenceElementValue \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/regexComparison/regex.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/regexComparison/regex.xml new file mode 100644 index 00000000..9c1e51fe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/regexComparison/regex.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/regexComparison/regex.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/regexComparison/regex.xml.exception new file mode 100644 index 00000000..4281cd4f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/regexComparison/regex.xml.exception @@ -0,0 +1 @@ +The required property regex has not been given in the XML representation of an instance of class RegexComparison at: regexComparison \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/resource/path.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/resource/path.xml new file mode 100644 index 00000000..dd53abb6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/resource/path.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/resource/path.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/resource/path.xml.exception new file mode 100644 index 00000000..074ebb7b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/resource/path.xml.exception @@ -0,0 +1 @@ +The required property path has not been given in the XML representation of an instance of class Resource at: resource \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/securityAttributeObject/key.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/securityAttributeObject/key.xml new file mode 100644 index 00000000..6277c246 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/securityAttributeObject/key.xml @@ -0,0 +1,4 @@ + + W3C_DID + something_2db7f511 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/securityAttributeObject/key.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/securityAttributeObject/key.xml.exception new file mode 100644 index 00000000..4d0b396f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/securityAttributeObject/key.xml.exception @@ -0,0 +1 @@ +The required property key has not been given in the XML representation of an instance of class SecurityAttributeObject at: securityAttributeObject \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/securityAttributeObject/type.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/securityAttributeObject/type.xml new file mode 100644 index 00000000..2ace408c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/securityAttributeObject/type.xml @@ -0,0 +1,4 @@ + + something_67cebccd + something_2db7f511 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/securityAttributeObject/type.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/securityAttributeObject/type.xml.exception new file mode 100644 index 00000000..fb0085a7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/securityAttributeObject/type.xml.exception @@ -0,0 +1 @@ +The required property type has not been given in the XML representation of an instance of class SecurityAttributeObject at: securityAttributeObject \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/securityAttributeObject/value.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/securityAttributeObject/value.xml new file mode 100644 index 00000000..a964f294 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/securityAttributeObject/value.xml @@ -0,0 +1,4 @@ + + W3C_DID + something_67cebccd + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/securityAttributeObject/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/securityAttributeObject/value.xml.exception new file mode 100644 index 00000000..718e086a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/securityAttributeObject/value.xml.exception @@ -0,0 +1 @@ +The required property value has not been given in the XML representation of an instance of class SecurityAttributeObject at: securityAttributeObject \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/serviceDescription/profiles.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/serviceDescription/profiles.xml new file mode 100644 index 00000000..8b604b4d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/serviceDescription/profiles.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/serviceDescription/profiles.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/serviceDescription/profiles.xml.exception new file mode 100644 index 00000000..f8d8dde2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/serviceDescription/profiles.xml.exception @@ -0,0 +1 @@ +The required property profiles has not been given in the XML representation of an instance of class ServiceDescription at: serviceDescription \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/name.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/name.xml new file mode 100644 index 00000000..dfe36c47 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/name.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/name.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/name.xml.exception new file mode 100644 index 00000000..9881c53a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/name.xml.exception @@ -0,0 +1 @@ +The required property name has not been given in the XML representation of an instance of class SpecificAssetId at: specificAssetId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/value.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/value.xml new file mode 100644 index 00000000..64bcf29c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/value.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/value.xml.exception new file mode 100644 index 00000000..434bf95a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/value.xml.exception @@ -0,0 +1 @@ +The required property value has not been given in the XML representation of an instance of class SpecificAssetId at: specificAssetId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/startsWithComparison/startsWith.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/startsWithComparison/startsWith.xml new file mode 100644 index 00000000..bf6adb0d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/startsWithComparison/startsWith.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/startsWithComparison/startsWith.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/startsWithComparison/startsWith.xml.exception new file mode 100644 index 00000000..6fe34e95 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/startsWithComparison/startsWith.xml.exception @@ -0,0 +1 @@ +The required property startsWith has not been given in the XML representation of an instance of class StartsWithComparison at: startsWithComparison \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/stringCast/strCast.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/stringCast/strCast.xml new file mode 100644 index 00000000..259fe330 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/stringCast/strCast.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/stringCast/strCast.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/stringCast/strCast.xml.exception new file mode 100644 index 00000000..c3a7e454 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/stringCast/strCast.xml.exception @@ -0,0 +1 @@ +The required property strCast has not been given in the XML representation of an instance of class StringCast at: stringCast \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/stringLiteral/strVal.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/stringLiteral/strVal.xml new file mode 100644 index 00000000..4e2995d8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/stringLiteral/strVal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/stringLiteral/strVal.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/stringLiteral/strVal.xml.exception new file mode 100644 index 00000000..e3e8ae1b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/stringLiteral/strVal.xml.exception @@ -0,0 +1 @@ +The required property strVal has not been given in the XML representation of an instance of class StringLiteral at: stringLiteral \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodel/id.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodel/id.xml new file mode 100644 index 00000000..37069351 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodel/id.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodel/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodel/id.xml.exception new file mode 100644 index 00000000..2a0e1c38 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodel/id.xml.exception @@ -0,0 +1 @@ +The required property id has not been given in the XML representation of an instance of class Submodel at: submodel \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelDescriptor/endpoints.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelDescriptor/endpoints.xml new file mode 100644 index 00000000..4602ec49 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelDescriptor/endpoints.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelDescriptor/endpoints.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelDescriptor/endpoints.xml.exception new file mode 100644 index 00000000..05bf8734 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelDescriptor/endpoints.xml.exception @@ -0,0 +1 @@ +The required property endpoints has not been given in the XML representation of an instance of class SubmodelDescriptor at: submodelDescriptor \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelDescriptor/id.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelDescriptor/id.xml new file mode 100644 index 00000000..bd779137 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelDescriptor/id.xml @@ -0,0 +1,22 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelDescriptor/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelDescriptor/id.xml.exception new file mode 100644 index 00000000..a22fb3b0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelDescriptor/id.xml.exception @@ -0,0 +1 @@ +The required property id has not been given in the XML representation of an instance of class SubmodelDescriptor at: submodelDescriptor \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelElementList/typeValueListElement.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelElementList/typeValueListElement.xml new file mode 100644 index 00000000..585c367c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelElementList/typeValueListElement.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelElementList/typeValueListElement.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelElementList/typeValueListElement.xml.exception new file mode 100644 index 00000000..3190825b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelElementList/typeValueListElement.xml.exception @@ -0,0 +1 @@ +The required property typeValueListElement has not been given in the XML representation of an instance of class SubmodelElementList at: submodelElementList \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelElementListMetadata/typeValueListElement.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelElementListMetadata/typeValueListElement.xml new file mode 100644 index 00000000..1636bd8c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelElementListMetadata/typeValueListElement.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelElementListMetadata/typeValueListElement.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelElementListMetadata/typeValueListElement.xml.exception new file mode 100644 index 00000000..a029d055 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelElementListMetadata/typeValueListElement.xml.exception @@ -0,0 +1 @@ +The required property typeValueListElement has not been given in the XML representation of an instance of class SubmodelElementListMetadata at: submodelElementListMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelMetadata/id.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelMetadata/id.xml new file mode 100644 index 00000000..868b66ff --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelMetadata/id.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelMetadata/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelMetadata/id.xml.exception new file mode 100644 index 00000000..e05fc24e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelMetadata/id.xml.exception @@ -0,0 +1 @@ +The required property id has not been given in the XML representation of an instance of class SubmodelMetadata at: submodelMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelRecentChange/createdAt.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelRecentChange/createdAt.xml new file mode 100644 index 00000000..8c79334d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelRecentChange/createdAt.xml @@ -0,0 +1,4 @@ + + 2022-04-01T24:00:00-00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelRecentChange/createdAt.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelRecentChange/createdAt.xml.exception new file mode 100644 index 00000000..a6814a0c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelRecentChange/createdAt.xml.exception @@ -0,0 +1 @@ +The required property createdAt has not been given in the XML representation of an instance of class SubmodelRecentChange at: submodelRecentChange \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelRecentChange/id.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelRecentChange/id.xml new file mode 100644 index 00000000..fa375b7d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelRecentChange/id.xml @@ -0,0 +1,4 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelRecentChange/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelRecentChange/id.xml.exception new file mode 100644 index 00000000..c70c3f2f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelRecentChange/id.xml.exception @@ -0,0 +1 @@ +The required property id has not been given in the XML representation of an instance of class SubmodelRecentChange at: submodelRecentChange \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelRecentChange/updatedAt.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelRecentChange/updatedAt.xml new file mode 100644 index 00000000..903a2101 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelRecentChange/updatedAt.xml @@ -0,0 +1,4 @@ + + 2022-04-01T24:00:00+00:00 + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelRecentChange/updatedAt.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelRecentChange/updatedAt.xml.exception new file mode 100644 index 00000000..84fa8814 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelRecentChange/updatedAt.xml.exception @@ -0,0 +1 @@ +The required property updatedAt has not been given in the XML representation of an instance of class SubmodelRecentChange at: submodelRecentChange \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/timeCast/timeCast.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/timeCast/timeCast.xml new file mode 100644 index 00000000..327006ed --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/timeCast/timeCast.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/timeCast/timeCast.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/timeCast/timeCast.xml.exception new file mode 100644 index 00000000..bb03e4e1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/timeCast/timeCast.xml.exception @@ -0,0 +1 @@ +The required property timeCast has not been given in the XML representation of an instance of class TimeCast at: timeCast \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/timeLiteral/timeVal.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/timeLiteral/timeVal.xml new file mode 100644 index 00000000..514def4f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/timeLiteral/timeVal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/timeLiteral/timeVal.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/timeLiteral/timeVal.xml.exception new file mode 100644 index 00000000..a92c07cb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/timeLiteral/timeVal.xml.exception @@ -0,0 +1 @@ +The required property timeVal has not been given in the XML representation of an instance of class TimeLiteral at: timeLiteral \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueList/valueReferencePairs.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueList/valueReferencePairs.xml new file mode 100644 index 00000000..42ac32f5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueList/valueReferencePairs.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueList/valueReferencePairs.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueList/valueReferencePairs.xml.exception new file mode 100644 index 00000000..be55cbf6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueList/valueReferencePairs.xml.exception @@ -0,0 +1 @@ +The required property valueReferencePairs has not been given in the XML representation of an instance of class ValueList at: valueList \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueReferencePair/value.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueReferencePair/value.xml new file mode 100644 index 00000000..f430e090 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueReferencePair/value.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueReferencePair/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueReferencePair/value.xml.exception new file mode 100644 index 00000000..95169f37 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueReferencePair/value.xml.exception @@ -0,0 +1 @@ +The required property value has not been given in the XML representation of an instance of class ValueReferencePair at: valueReferencePair \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/year/year.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/year/year.xml new file mode 100644 index 00000000..96669f79 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/year/year.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/year/year.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/year/year.xml.exception new file mode 100644 index 00000000..a54d5492 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/year/year.xml.exception @@ -0,0 +1 @@ +The required property year has not been given in the XML representation of an instance of class Year at: year \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/createdAt.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/createdAt.xml new file mode 100644 index 00000000..068d4141 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/createdAt.xml @@ -0,0 +1,80 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + 116 + 116 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 2022-04-02T12:00:00Z + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/createdAt.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/createdAt.xml.exception new file mode 100644 index 00000000..fc1dcab7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/createdAt.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element createdAt, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: administrativeInformation/createdAt \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/creator.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/creator.xml new file mode 100644 index 00000000..0bdd5bb3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/creator.xml @@ -0,0 +1,64 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + 116 + 116 + Unexpected string value + 2022-04-01T12:00:00Z + 2022-04-02T12:00:00Z + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/creator.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/creator.xml.exception new file mode 100644 index 00000000..dac50950 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/creator.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: administrativeInformation/creator \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/embeddedDataSpecifications.xml new file mode 100644 index 00000000..d2486066 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/embeddedDataSpecifications.xml @@ -0,0 +1,17 @@ + + Unexpected string value + 116 + 116 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + 2022-04-01T12:00:00Z + 2022-04-02T12:00:00Z + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..f6a9f6a9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: administrativeInformation/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/revision.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/revision.xml new file mode 100644 index 00000000..23cf5152 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/revision.xml @@ -0,0 +1,80 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + 116 + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + 2022-04-01T12:00:00Z + 2022-04-02T12:00:00Z + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/revision.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/revision.xml.exception new file mode 100644 index 00000000..89280ea3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/revision.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element revision, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: administrativeInformation/revision \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/templateId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/templateId.xml new file mode 100644 index 00000000..40dc330f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/templateId.xml @@ -0,0 +1,80 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + 116 + 116 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + 2022-04-01T12:00:00Z + 2022-04-02T12:00:00Z + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/templateId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/templateId.xml.exception new file mode 100644 index 00000000..24a974f8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/templateId.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element templateId, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: administrativeInformation/templateId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/updatedAt.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/updatedAt.xml new file mode 100644 index 00000000..2b08af81 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/updatedAt.xml @@ -0,0 +1,80 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + 116 + 116 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + 2022-04-01T12:00:00Z + + ExternalReference + + + GlobalReference + unexpected reference + + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/updatedAt.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/updatedAt.xml.exception new file mode 100644 index 00000000..487a0270 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/updatedAt.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element updatedAt, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: administrativeInformation/updatedAt \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/version.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/version.xml new file mode 100644 index 00000000..f4ade2c6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/version.xml @@ -0,0 +1,80 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 116 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + 2022-04-01T12:00:00Z + 2022-04-02T12:00:00Z + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/version.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/version.xml.exception new file mode 100644 index 00000000..9d7bfc74 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/version.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element version, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: administrativeInformation/version \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/andExpression/andOperands.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/andExpression/andOperands.xml new file mode 100644 index 00000000..96bfb465 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/andExpression/andOperands.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/andExpression/andOperands.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/andExpression/andOperands.xml.exception new file mode 100644 index 00000000..3a502d3e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/andExpression/andOperands.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: andExpression/andOperands \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/annotations.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/annotations.xml new file mode 100644 index 00000000..8b766cb4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/annotations.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/annotations.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/annotations.xml.exception new file mode 100644 index 00000000..ab339276 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/annotations.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: annotatedRelationshipElement/annotations \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/category.xml new file mode 100644 index 00000000..3f8be2fc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/category.xml @@ -0,0 +1,174 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/category.xml.exception new file mode 100644 index 00000000..ca71e29d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: annotatedRelationshipElement/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/description.xml new file mode 100644 index 00000000..1cbe8f37 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/description.xml @@ -0,0 +1,157 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/description.xml.exception new file mode 100644 index 00000000..bb18c545 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: annotatedRelationshipElement/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/displayName.xml new file mode 100644 index 00000000..4c1c109d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/displayName.xml @@ -0,0 +1,157 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/displayName.xml.exception new file mode 100644 index 00000000..e6cf0553 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: annotatedRelationshipElement/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml new file mode 100644 index 00000000..dd87e233 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml @@ -0,0 +1,111 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..41eda5e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: annotatedRelationshipElement/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/extensions.xml new file mode 100644 index 00000000..3e11ee21 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/extensions.xml @@ -0,0 +1,159 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/extensions.xml.exception new file mode 100644 index 00000000..09ca4efd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: annotatedRelationshipElement/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/first.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/first.xml new file mode 100644 index 00000000..b4703792 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/first.xml @@ -0,0 +1,158 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/first.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/first.xml.exception new file mode 100644 index 00000000..b2101a32 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/first.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: annotatedRelationshipElement/first \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/idShort.xml new file mode 100644 index 00000000..7a7c9d9f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/idShort.xml @@ -0,0 +1,174 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/idShort.xml.exception new file mode 100644 index 00000000..9b482bee --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: annotatedRelationshipElement/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/qualifiers.xml new file mode 100644 index 00000000..5deaf1a5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/qualifiers.xml @@ -0,0 +1,153 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/qualifiers.xml.exception new file mode 100644 index 00000000..e0c99ae0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: annotatedRelationshipElement/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/second.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/second.xml new file mode 100644 index 00000000..a25d7a55 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/second.xml @@ -0,0 +1,158 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + Unexpected string value + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/second.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/second.xml.exception new file mode 100644 index 00000000..be819f60 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/second.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: annotatedRelationshipElement/second \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/semanticId.xml new file mode 100644 index 00000000..4804ab59 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/semanticId.xml @@ -0,0 +1,158 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/semanticId.xml.exception new file mode 100644 index 00000000..1f8f1ba4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: annotatedRelationshipElement/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/supplementalSemanticIds.xml new file mode 100644 index 00000000..6a2bf893 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/supplementalSemanticIds.xml @@ -0,0 +1,138 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..f871b685 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: annotatedRelationshipElement/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/category.xml new file mode 100644 index 00000000..2e976051 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/category.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/category.xml.exception new file mode 100644 index 00000000..2ddcf009 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: annotatedRelationshipElementMetadata/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/description.xml new file mode 100644 index 00000000..93ed96d6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/description.xml.exception new file mode 100644 index 00000000..a07e8d3f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: annotatedRelationshipElementMetadata/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/displayName.xml new file mode 100644 index 00000000..2b692b57 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/displayName.xml.exception new file mode 100644 index 00000000..e241af6e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: annotatedRelationshipElementMetadata/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..65f71442 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..a825ff77 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: annotatedRelationshipElementMetadata/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/extensions.xml new file mode 100644 index 00000000..90b0f116 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/extensions.xml @@ -0,0 +1,133 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/extensions.xml.exception new file mode 100644 index 00000000..b1661262 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: annotatedRelationshipElementMetadata/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/idShort.xml new file mode 100644 index 00000000..1b493b2e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/idShort.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/idShort.xml.exception new file mode 100644 index 00000000..97eac48a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: annotatedRelationshipElementMetadata/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/qualifiers.xml new file mode 100644 index 00000000..b27e421b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/qualifiers.xml.exception new file mode 100644 index 00000000..355b1992 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: annotatedRelationshipElementMetadata/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/semanticId.xml new file mode 100644 index 00000000..4a516ce9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/semanticId.xml @@ -0,0 +1,132 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/semanticId.xml.exception new file mode 100644 index 00000000..41cb1778 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: annotatedRelationshipElementMetadata/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..aa53add1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..87291ddb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementMetadata/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: annotatedRelationshipElementMetadata/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementValue/annotations.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementValue/annotations.xml new file mode 100644 index 00000000..76b3bfcb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementValue/annotations.xml @@ -0,0 +1,21 @@ + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementValue/annotations.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementValue/annotations.xml.exception new file mode 100644 index 00000000..17ef9a94 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementValue/annotations.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element annotations, but got the node of type Characters with the value Unexpected string value at: annotatedRelationshipElementValue/annotations \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementValue/first.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementValue/first.xml new file mode 100644 index 00000000..5e4d040e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementValue/first.xml @@ -0,0 +1,57 @@ + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + a-_ + + something_7e4e401e + + + + tWC + + 17240976.11 + + + + EO5DYAe + + 0 + + + + a----------------b + + + + + something_56d756a6 + + + 35366450.02 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementValue/first.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementValue/first.xml.exception new file mode 100644 index 00000000..ee570568 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementValue/first.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: annotatedRelationshipElementValue/first \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementValue/second.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementValue/second.xml new file mode 100644 index 00000000..8fb6924e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementValue/second.xml @@ -0,0 +1,57 @@ + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + Unexpected string value + + + a-_ + + something_7e4e401e + + + + tWC + + 17240976.11 + + + + EO5DYAe + + 0 + + + + a----------------b + + + + + something_56d756a6 + + + 35366450.02 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementValue/second.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementValue/second.xml.exception new file mode 100644 index 00000000..43913fea --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElementValue/second.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: annotatedRelationshipElementValue/second \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/administration.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/administration.xml new file mode 100644 index 00000000..c9674ef7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/administration.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + NotApplicable + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/administration.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/administration.xml.exception new file mode 100644 index 00000000..5bc5dcc9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/administration.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: assetAdministrationShell/administration \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/assetInformation.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/assetInformation.xml new file mode 100644 index 00000000..a2a99a48 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/assetInformation.xml @@ -0,0 +1,120 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + Unexpected string value + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/assetInformation.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/assetInformation.xml.exception new file mode 100644 index 00000000..836c6f18 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/assetInformation.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: assetAdministrationShell/assetInformation \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/category.xml new file mode 100644 index 00000000..29bffb66 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/category.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + NotApplicable + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/category.xml.exception new file mode 100644 index 00000000..6f5d2dad --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: assetAdministrationShell/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/derivedFrom.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/derivedFrom.xml new file mode 100644 index 00000000..f7a6f59f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/derivedFrom.xml @@ -0,0 +1,115 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + Unexpected string value + + NotApplicable + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/derivedFrom.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/derivedFrom.xml.exception new file mode 100644 index 00000000..85d464d8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/derivedFrom.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: assetAdministrationShell/derivedFrom \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/description.xml new file mode 100644 index 00000000..d4a41263 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/description.xml @@ -0,0 +1,114 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + NotApplicable + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/description.xml.exception new file mode 100644 index 00000000..cc947ad2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetAdministrationShell/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/displayName.xml new file mode 100644 index 00000000..70a6f787 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/displayName.xml @@ -0,0 +1,114 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + NotApplicable + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/displayName.xml.exception new file mode 100644 index 00000000..051d6baa --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetAdministrationShell/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/embeddedDataSpecifications.xml new file mode 100644 index 00000000..7262bacd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/embeddedDataSpecifications.xml @@ -0,0 +1,68 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Unexpected string value + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + NotApplicable + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..ea883827 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetAdministrationShell/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/extensions.xml new file mode 100644 index 00000000..da2c162c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/extensions.xml @@ -0,0 +1,116 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + NotApplicable + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/extensions.xml.exception new file mode 100644 index 00000000..9ed47b1b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetAdministrationShell/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/id.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/id.xml new file mode 100644 index 00000000..f342e669 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/id.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + NotApplicable + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/id.xml.exception new file mode 100644 index 00000000..516f583a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/id.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element id, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: assetAdministrationShell/id \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/idShort.xml new file mode 100644 index 00000000..c0a28df4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/idShort.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + NotApplicable + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/idShort.xml.exception new file mode 100644 index 00000000..427d3884 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: assetAdministrationShell/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/submodels.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/submodels.xml new file mode 100644 index 00000000..d5d6c458 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/submodels.xml @@ -0,0 +1,104 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + NotApplicable + öĖa􍣡™| + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/submodels.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/submodels.xml.exception new file mode 100644 index 00000000..f926b3c8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/submodels.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetAdministrationShell/submodels \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/administration.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/administration.xml new file mode 100644 index 00000000..2f36eb50 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/administration.xml @@ -0,0 +1,89 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + Unexpected string value + Batch + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/administration.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/administration.xml.exception new file mode 100644 index 00000000..c1d66c2c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/administration.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: assetAdministrationShellDescriptor/administration \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/assetKind.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/assetKind.xml new file mode 100644 index 00000000..15d90016 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/assetKind.xml @@ -0,0 +1,97 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + + + ExternalReference + + + GlobalReference + unexpected reference + + + + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/assetKind.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/assetKind.xml.exception new file mode 100644 index 00000000..1920f029 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/assetKind.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of AssetKind: + at: assetAdministrationShellDescriptor/assetKind \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/assetType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/assetType.xml new file mode 100644 index 00000000..ffe0f648 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/assetType.xml @@ -0,0 +1,97 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + + Batch + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/assetType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/assetType.xml.exception new file mode 100644 index 00000000..c0fc1c15 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/assetType.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element assetType, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: assetAdministrationShellDescriptor/assetType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/description.xml new file mode 100644 index 00000000..02727cb1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/description.xml @@ -0,0 +1,80 @@ + + Unexpected string value + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + + Batch + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/description.xml.exception new file mode 100644 index 00000000..812198e0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetAdministrationShellDescriptor/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/displayName.xml new file mode 100644 index 00000000..7e8cb31b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/displayName.xml @@ -0,0 +1,80 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + + Batch + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/displayName.xml.exception new file mode 100644 index 00000000..170ed45b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetAdministrationShellDescriptor/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/endpoints.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/endpoints.xml new file mode 100644 index 00000000..65119346 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/endpoints.xml @@ -0,0 +1,70 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + + Batch + Ûă<P󨱽²|dnœÞ® + Unexpected string value + 0 + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/endpoints.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/endpoints.xml.exception new file mode 100644 index 00000000..054aa839 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/endpoints.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetAdministrationShellDescriptor/endpoints \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/extensions.xml new file mode 100644 index 00000000..fc8ca5d1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/extensions.xml @@ -0,0 +1,82 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + 0 + + Batch + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/extensions.xml.exception new file mode 100644 index 00000000..da04d6ff --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetAdministrationShellDescriptor/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/globalAssetId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/globalAssetId.xml new file mode 100644 index 00000000..d46a4b03 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/globalAssetId.xml @@ -0,0 +1,97 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + + Batch + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/globalAssetId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/globalAssetId.xml.exception new file mode 100644 index 00000000..8328ef90 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/globalAssetId.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element globalAssetId, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: assetAdministrationShellDescriptor/globalAssetId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/id.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/id.xml new file mode 100644 index 00000000..ae9c1494 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/id.xml @@ -0,0 +1,97 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + Batch + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/id.xml.exception new file mode 100644 index 00000000..f513f60b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/id.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element id, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: assetAdministrationShellDescriptor/id \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/idShort.xml new file mode 100644 index 00000000..1e7da3fe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/idShort.xml @@ -0,0 +1,97 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + + Batch + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/idShort.xml.exception new file mode 100644 index 00000000..100377ee --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: assetAdministrationShellDescriptor/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/specificAssetIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/specificAssetIds.xml new file mode 100644 index 00000000..bd44a01d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/specificAssetIds.xml @@ -0,0 +1,76 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + + Batch + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + <ă<P󨱽²|dnœÞ® + Unexpected string value + + + + + + something_c2cd76b7 + + öĖa􍣡™| + + + + something_b9ed23d9 + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/specificAssetIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/specificAssetIds.xml.exception new file mode 100644 index 00000000..335767b5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/specificAssetIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetAdministrationShellDescriptor/specificAssetIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/submodelDescriptors.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/submodelDescriptors.xml new file mode 100644 index 00000000..a257c957 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/submodelDescriptors.xml @@ -0,0 +1,71 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 0 + + Batch + Ûă<P󨱽²|dnœÞ® + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + <ă<P󨱽²|dnœÞ® + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/submodelDescriptors.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/submodelDescriptors.xml.exception new file mode 100644 index 00000000..6af29e2d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellDescriptor/submodelDescriptors.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetAdministrationShellDescriptor/submodelDescriptors \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/administration.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/administration.xml new file mode 100644 index 00000000..21f59330 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/administration.xml @@ -0,0 +1,99 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:some-company:05:3dfe70e9 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/administration.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/administration.xml.exception new file mode 100644 index 00000000..8b164390 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/administration.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: assetAdministrationShellMetadata/administration \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/category.xml new file mode 100644 index 00000000..a9c2ddee --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/category.xml @@ -0,0 +1,107 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:some-company:05:3dfe70e9 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/category.xml.exception new file mode 100644 index 00000000..7a0c7959 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: assetAdministrationShellMetadata/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/derivedFrom.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/derivedFrom.xml new file mode 100644 index 00000000..22684b21 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/derivedFrom.xml @@ -0,0 +1,91 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/derivedFrom.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/derivedFrom.xml.exception new file mode 100644 index 00000000..6a312c9e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/derivedFrom.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: assetAdministrationShellMetadata/derivedFrom \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/description.xml new file mode 100644 index 00000000..7a43d494 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/description.xml @@ -0,0 +1,90 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:some-company:05:3dfe70e9 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/description.xml.exception new file mode 100644 index 00000000..4c1f306f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetAdministrationShellMetadata/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/displayName.xml new file mode 100644 index 00000000..cf420bbf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/displayName.xml @@ -0,0 +1,90 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:some-company:05:3dfe70e9 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/displayName.xml.exception new file mode 100644 index 00000000..4119b323 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetAdministrationShellMetadata/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..9488b03c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,44 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Unexpected string value + + ExternalReference + + + GlobalReference + urn:some-company:05:3dfe70e9 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..85141baf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetAdministrationShellMetadata/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/extensions.xml new file mode 100644 index 00000000..e9b81937 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/extensions.xml @@ -0,0 +1,92 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:some-company:05:3dfe70e9 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/extensions.xml.exception new file mode 100644 index 00000000..5f8caa45 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetAdministrationShellMetadata/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/id.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/id.xml new file mode 100644 index 00000000..3ef1aa35 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/id.xml @@ -0,0 +1,107 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:some-company:05:3dfe70e9 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/id.xml.exception new file mode 100644 index 00000000..ed162e7b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/id.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element id, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: assetAdministrationShellMetadata/id \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/idShort.xml new file mode 100644 index 00000000..ba10bb9d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/idShort.xml @@ -0,0 +1,107 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:some-company:05:3dfe70e9 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/idShort.xml.exception new file mode 100644 index 00000000..40370908 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellMetadata/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: assetAdministrationShellMetadata/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/createdAt.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/createdAt.xml new file mode 100644 index 00000000..6dc745ba --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/createdAt.xml @@ -0,0 +1,28 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 2022-04-01T24:00:00Z + 0 + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/createdAt.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/createdAt.xml.exception new file mode 100644 index 00000000..ad6c0abe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/createdAt.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element createdAt, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: assetAdministrationShellRecentChange/createdAt \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/globalAssetId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/globalAssetId.xml new file mode 100644 index 00000000..8e735f7f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/globalAssetId.xml @@ -0,0 +1,28 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + 0 + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/globalAssetId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/globalAssetId.xml.exception new file mode 100644 index 00000000..e66a7d91 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/globalAssetId.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element globalAssetId, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: assetAdministrationShellRecentChange/globalAssetId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/id.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/id.xml new file mode 100644 index 00000000..ff561d76 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/id.xml @@ -0,0 +1,28 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + + ExternalReference + + + GlobalReference + unexpected reference + + + + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/id.xml.exception new file mode 100644 index 00000000..b55c756f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/id.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element id, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: assetAdministrationShellRecentChange/id \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/specificAssetIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/specificAssetIds.xml new file mode 100644 index 00000000..1a47c42b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/specificAssetIds.xml @@ -0,0 +1,7 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + 0 + 0 + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/specificAssetIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/specificAssetIds.xml.exception new file mode 100644 index 00000000..fc7a5851 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/specificAssetIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetAdministrationShellRecentChange/specificAssetIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/updatedAt.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/updatedAt.xml new file mode 100644 index 00000000..cce4825b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/updatedAt.xml @@ -0,0 +1,28 @@ + + 2022-04-01T24:00:00+00:00 + + ExternalReference + + + GlobalReference + unexpected reference + + + + 0 + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/updatedAt.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/updatedAt.xml.exception new file mode 100644 index 00000000..91e52423 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShellRecentChange/updatedAt.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element updatedAt, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: assetAdministrationShellRecentChange/updatedAt \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetKind.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetKind.xml new file mode 100644 index 00000000..d8c7cec1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetKind.xml @@ -0,0 +1,30 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + Ûă<P󨱽²|dnœÞ® + + news:comp.infosystems.www.servers.unix + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetKind.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetKind.xml.exception new file mode 100644 index 00000000..b9ae8d3e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetKind.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of AssetKind: + at: assetInformation/assetKind \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetType.xml new file mode 100644 index 00000000..9f827a00 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetType.xml @@ -0,0 +1,30 @@ + + Batch + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + news:comp.infosystems.www.servers.unix + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetType.xml.exception new file mode 100644 index 00000000..617d2a3f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetType.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element assetType, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: assetInformation/assetType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/defaultThumbnail.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/defaultThumbnail.xml new file mode 100644 index 00000000..d683dcd6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/defaultThumbnail.xml @@ -0,0 +1,20 @@ + + Batch + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + Ûă<P󨱽²|dnœÞ® + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/defaultThumbnail.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/defaultThumbnail.xml.exception new file mode 100644 index 00000000..3c91f600 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/defaultThumbnail.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: assetInformation/defaultThumbnail \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/globalAssetId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/globalAssetId.xml new file mode 100644 index 00000000..e4f304fb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/globalAssetId.xml @@ -0,0 +1,30 @@ + + Batch + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + Ûă<P󨱽²|dnœÞ® + + news:comp.infosystems.www.servers.unix + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/globalAssetId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/globalAssetId.xml.exception new file mode 100644 index 00000000..cc97a737 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/globalAssetId.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element globalAssetId, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: assetInformation/globalAssetId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/specificAssetIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/specificAssetIds.xml new file mode 100644 index 00000000..77682342 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/specificAssetIds.xml @@ -0,0 +1,9 @@ + + Batch + 0 + Unexpected string value + Ûă<P󨱽²|dnœÞ® + + news:comp.infosystems.www.servers.unix + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/specificAssetIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/specificAssetIds.xml.exception new file mode 100644 index 00000000..2f5f228a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/specificAssetIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetInformation/specificAssetIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetLink/name.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetLink/name.xml new file mode 100644 index 00000000..01213010 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetLink/name.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetLink/name.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetLink/name.xml.exception new file mode 100644 index 00000000..9a77b508 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetLink/name.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element name, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: assetLink/name \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetLink/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetLink/value.xml new file mode 100644 index 00000000..150b310a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetLink/value.xml @@ -0,0 +1,12 @@ + + Ûă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetLink/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetLink/value.xml.exception new file mode 100644 index 00000000..952b5d69 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetLink/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: assetLink/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/attributeOperand/attribute.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/attributeOperand/attribute.xml new file mode 100644 index 00000000..96a8dd25 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/attributeOperand/attribute.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/attributeOperand/attribute.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/attributeOperand/attribute.xml.exception new file mode 100644 index 00000000..c0db0132 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/attributeOperand/attribute.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: attributeOperand/attribute \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/baseOperationResult/executionState.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/baseOperationResult/executionState.xml new file mode 100644 index 00000000..8483b4a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/baseOperationResult/executionState.xml @@ -0,0 +1,22 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/baseOperationResult/executionState.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/baseOperationResult/executionState.xml.exception new file mode 100644 index 00000000..a51b1cd2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/baseOperationResult/executionState.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of ExecutionState: + at: baseOperationResult/executionState \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/baseOperationResult/messages.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/baseOperationResult/messages.xml new file mode 100644 index 00000000..44c140f6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/baseOperationResult/messages.xml @@ -0,0 +1,5 @@ + + Running + Unexpected string value + false + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/baseOperationResult/messages.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/baseOperationResult/messages.xml.exception new file mode 100644 index 00000000..076e7575 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/baseOperationResult/messages.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: baseOperationResult/messages \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/baseOperationResult/success.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/baseOperationResult/success.xml new file mode 100644 index 00000000..d8931e36 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/baseOperationResult/success.xml @@ -0,0 +1,22 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/baseOperationResult/success.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/baseOperationResult/success.xml.exception new file mode 100644 index 00000000..2fb4921c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/baseOperationResult/success.xml.exception @@ -0,0 +1 @@ +The XML content could not be de-serialized as Boolean: Expected a value as xs:boolean, but got: at: baseOperationResult/success \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/category.xml new file mode 100644 index 00000000..f08c7086 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/category.xml @@ -0,0 +1,180 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/category.xml.exception new file mode 100644 index 00000000..618870e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: basicEventElement/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/description.xml new file mode 100644 index 00000000..9b5d3e23 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/description.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/description.xml.exception new file mode 100644 index 00000000..ecd42657 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: basicEventElement/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/direction.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/direction.xml new file mode 100644 index 00000000..acef1582 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/direction.xml @@ -0,0 +1,180 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/direction.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/direction.xml.exception new file mode 100644 index 00000000..99f3eda8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/direction.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of Direction: + at: basicEventElement/direction \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/displayName.xml new file mode 100644 index 00000000..79a99552 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/displayName.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/displayName.xml.exception new file mode 100644 index 00000000..213d6ebf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: basicEventElement/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/embeddedDataSpecifications.xml new file mode 100644 index 00000000..33508849 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/embeddedDataSpecifications.xml @@ -0,0 +1,117 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..b8e3eebe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: basicEventElement/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/extensions.xml new file mode 100644 index 00000000..6ab0e2cf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/extensions.xml @@ -0,0 +1,165 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/extensions.xml.exception new file mode 100644 index 00000000..165ed3df --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: basicEventElement/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/idShort.xml new file mode 100644 index 00000000..f35dc233 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/idShort.xml @@ -0,0 +1,180 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/idShort.xml.exception new file mode 100644 index 00000000..050475a1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: basicEventElement/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/lastUpdate.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/lastUpdate.xml new file mode 100644 index 00000000..caf9222a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/lastUpdate.xml @@ -0,0 +1,180 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/lastUpdate.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/lastUpdate.xml.exception new file mode 100644 index 00000000..adeb4b80 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/lastUpdate.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element lastUpdate, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: basicEventElement/lastUpdate \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/maxInterval.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/maxInterval.xml new file mode 100644 index 00000000..9029c8c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/maxInterval.xml @@ -0,0 +1,180 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/maxInterval.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/maxInterval.xml.exception new file mode 100644 index 00000000..9e63a1bd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/maxInterval.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element maxInterval, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: basicEventElement/maxInterval \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageBroker.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageBroker.xml new file mode 100644 index 00000000..4a4b9c7c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageBroker.xml @@ -0,0 +1,160 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + Unexpected string value + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageBroker.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageBroker.xml.exception new file mode 100644 index 00000000..d893ba97 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageBroker.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: basicEventElement/messageBroker \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageTopic.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageTopic.xml new file mode 100644 index 00000000..25bb747c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageTopic.xml @@ -0,0 +1,180 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageTopic.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageTopic.xml.exception new file mode 100644 index 00000000..f061dbdd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageTopic.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element messageTopic, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: basicEventElement/messageTopic \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/minInterval.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/minInterval.xml new file mode 100644 index 00000000..b66b3bdc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/minInterval.xml @@ -0,0 +1,180 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + + ExternalReference + + + GlobalReference + unexpected reference + + + + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/minInterval.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/minInterval.xml.exception new file mode 100644 index 00000000..8e195a16 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/minInterval.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element minInterval, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: basicEventElement/minInterval \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/observed.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/observed.xml new file mode 100644 index 00000000..39dd3f78 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/observed.xml @@ -0,0 +1,160 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + Unexpected string value + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/observed.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/observed.xml.exception new file mode 100644 index 00000000..3dd3c202 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/observed.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: basicEventElement/observed \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/qualifiers.xml new file mode 100644 index 00000000..aed2a720 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/qualifiers.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/qualifiers.xml.exception new file mode 100644 index 00000000..b97425fb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: basicEventElement/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/semanticId.xml new file mode 100644 index 00000000..1f642e78 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/semanticId.xml @@ -0,0 +1,164 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/semanticId.xml.exception new file mode 100644 index 00000000..d72314a4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: basicEventElement/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/state.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/state.xml new file mode 100644 index 00000000..dd229948 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/state.xml @@ -0,0 +1,180 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + + ExternalReference + + + GlobalReference + unexpected reference + + + + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/state.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/state.xml.exception new file mode 100644 index 00000000..4b8823a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/state.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of StateOfEvent: + at: basicEventElement/state \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/supplementalSemanticIds.xml new file mode 100644 index 00000000..f6516455 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/supplementalSemanticIds.xml @@ -0,0 +1,144 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..c00be5f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: basicEventElement/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/category.xml new file mode 100644 index 00000000..e59f2c51 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/category.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/category.xml.exception new file mode 100644 index 00000000..77d94c65 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: basicEventElementMetadata/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/description.xml new file mode 100644 index 00000000..9cbe34d0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/description.xml @@ -0,0 +1,146 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/description.xml.exception new file mode 100644 index 00000000..6c7300a7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: basicEventElementMetadata/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/direction.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/direction.xml new file mode 100644 index 00000000..da527ead --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/direction.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/direction.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/direction.xml.exception new file mode 100644 index 00000000..4d30dd9e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/direction.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of Direction: + at: basicEventElementMetadata/direction \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/displayName.xml new file mode 100644 index 00000000..79dc3aa0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/displayName.xml @@ -0,0 +1,146 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/displayName.xml.exception new file mode 100644 index 00000000..09b92aa8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: basicEventElementMetadata/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..17f41e33 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,100 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..09a33f40 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: basicEventElementMetadata/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/extensions.xml new file mode 100644 index 00000000..6f8a07ff --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/extensions.xml @@ -0,0 +1,148 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/extensions.xml.exception new file mode 100644 index 00000000..11f2f4f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: basicEventElementMetadata/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/idShort.xml new file mode 100644 index 00000000..3100d7dc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/idShort.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/idShort.xml.exception new file mode 100644 index 00000000..1d276942 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: basicEventElementMetadata/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/lastUpdate.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/lastUpdate.xml new file mode 100644 index 00000000..db18cee7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/lastUpdate.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/lastUpdate.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/lastUpdate.xml.exception new file mode 100644 index 00000000..fa45b302 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/lastUpdate.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element lastUpdate, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: basicEventElementMetadata/lastUpdate \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/maxInterval.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/maxInterval.xml new file mode 100644 index 00000000..7a26fad6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/maxInterval.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/maxInterval.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/maxInterval.xml.exception new file mode 100644 index 00000000..b57dbf37 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/maxInterval.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element maxInterval, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: basicEventElementMetadata/maxInterval \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/messageBroker.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/messageBroker.xml new file mode 100644 index 00000000..e0e8b54d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/messageBroker.xml @@ -0,0 +1,147 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + Unexpected string value + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/messageBroker.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/messageBroker.xml.exception new file mode 100644 index 00000000..6dd15221 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/messageBroker.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: basicEventElementMetadata/messageBroker \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/messageTopic.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/messageTopic.xml new file mode 100644 index 00000000..a0e61bef --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/messageTopic.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/messageTopic.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/messageTopic.xml.exception new file mode 100644 index 00000000..20d8dcdf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/messageTopic.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element messageTopic, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: basicEventElementMetadata/messageTopic \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/minInterval.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/minInterval.xml new file mode 100644 index 00000000..487ebb4c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/minInterval.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + + ExternalReference + + + GlobalReference + unexpected reference + + + + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/minInterval.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/minInterval.xml.exception new file mode 100644 index 00000000..168a6649 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/minInterval.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element minInterval, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: basicEventElementMetadata/minInterval \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/qualifiers.xml new file mode 100644 index 00000000..a3529921 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/qualifiers.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/qualifiers.xml.exception new file mode 100644 index 00000000..5f63e15f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: basicEventElementMetadata/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/semanticId.xml new file mode 100644 index 00000000..5c567afa --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/semanticId.xml @@ -0,0 +1,147 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/semanticId.xml.exception new file mode 100644 index 00000000..0441604e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: basicEventElementMetadata/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/state.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/state.xml new file mode 100644 index 00000000..e5e15dee --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/state.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + + ExternalReference + + + GlobalReference + unexpected reference + + + + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/state.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/state.xml.exception new file mode 100644 index 00000000..8655a45a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/state.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of StateOfEvent: + at: basicEventElementMetadata/state \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..9add5925 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/supplementalSemanticIds.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + input + on + 𠤢4𠤢 + + ExternalReference + + + GlobalReference + urn:example:13:931c2029 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..4af125eb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementMetadata/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: basicEventElementMetadata/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementValue/observed.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementValue/observed.xml new file mode 100644 index 00000000..86d72ce2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementValue/observed.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementValue/observed.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementValue/observed.xml.exception new file mode 100644 index 00000000..2f6dbec2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElementValue/observed.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: basicEventElementValue/observed \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/category.xml new file mode 100644 index 00000000..c8017a7f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/category.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/category.xml.exception new file mode 100644 index 00000000..91188223 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: blob/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/contentType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/contentType.xml new file mode 100644 index 00000000..888e4467 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/contentType.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/contentType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/contentType.xml.exception new file mode 100644 index 00000000..ec47e3ef --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/contentType.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element contentType, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: blob/contentType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/description.xml new file mode 100644 index 00000000..9b6a2077 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/description.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/description.xml.exception new file mode 100644 index 00000000..9faca17d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: blob/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/displayName.xml new file mode 100644 index 00000000..0dfc949b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/displayName.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/displayName.xml.exception new file mode 100644 index 00000000..9c70b99b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: blob/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/embeddedDataSpecifications.xml new file mode 100644 index 00000000..945b9c7d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/embeddedDataSpecifications.xml @@ -0,0 +1,87 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..c8ccf681 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: blob/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/extensions.xml new file mode 100644 index 00000000..67cdee8a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/extensions.xml @@ -0,0 +1,135 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/extensions.xml.exception new file mode 100644 index 00000000..e1eb3183 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: blob/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/idShort.xml new file mode 100644 index 00000000..23aa5391 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/idShort.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/idShort.xml.exception new file mode 100644 index 00000000..4e3abaac --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: blob/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/qualifiers.xml new file mode 100644 index 00000000..52721799 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/qualifiers.xml @@ -0,0 +1,129 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/qualifiers.xml.exception new file mode 100644 index 00000000..9f6020d6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: blob/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/semanticId.xml new file mode 100644 index 00000000..a4636362 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/semanticId.xml @@ -0,0 +1,134 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/semanticId.xml.exception new file mode 100644 index 00000000..e6d42386 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: blob/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/supplementalSemanticIds.xml new file mode 100644 index 00000000..1f41648e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/supplementalSemanticIds.xml @@ -0,0 +1,114 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..c92b00da --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: blob/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/value.xml new file mode 100644 index 00000000..b217fd76 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/value.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/value.xml.exception new file mode 100644 index 00000000..365a9bc7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: blob/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/category.xml new file mode 100644 index 00000000..6894348a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/category.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/category.xml.exception new file mode 100644 index 00000000..22986fde --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: blobMetadata/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/description.xml new file mode 100644 index 00000000..734276d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/description.xml.exception new file mode 100644 index 00000000..5fd86625 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: blobMetadata/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/displayName.xml new file mode 100644 index 00000000..bb8576bb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/displayName.xml.exception new file mode 100644 index 00000000..4961eea3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: blobMetadata/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..362f46cc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..ed4e2b0d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: blobMetadata/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/extensions.xml new file mode 100644 index 00000000..83c34009 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/extensions.xml @@ -0,0 +1,133 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/extensions.xml.exception new file mode 100644 index 00000000..5841863c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: blobMetadata/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/idShort.xml new file mode 100644 index 00000000..8e5a7c51 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/idShort.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/idShort.xml.exception new file mode 100644 index 00000000..4f347ae9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: blobMetadata/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/qualifiers.xml new file mode 100644 index 00000000..dc2a463c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/qualifiers.xml.exception new file mode 100644 index 00000000..e26f12fb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: blobMetadata/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/semanticId.xml new file mode 100644 index 00000000..95b3abef --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/semanticId.xml @@ -0,0 +1,132 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/semanticId.xml.exception new file mode 100644 index 00000000..f8800a89 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: blobMetadata/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..6a46056b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..7f451b80 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobMetadata/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: blobMetadata/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobValue/contentType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobValue/contentType.xml new file mode 100644 index 00000000..d6dfcf52 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobValue/contentType.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + RyaIxQ6R/Wrra8w= + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobValue/contentType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobValue/contentType.xml.exception new file mode 100644 index 00000000..2d7832d8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobValue/contentType.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element contentType, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: blobValue/contentType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobValue/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobValue/value.xml new file mode 100644 index 00000000..b3f73f7d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobValue/value.xml @@ -0,0 +1,12 @@ + + 15j/5j + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobValue/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobValue/value.xml.exception new file mode 100644 index 00000000..c026e45e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blobValue/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: blobValue/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/booleanCast/boolCast.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/booleanCast/boolCast.xml new file mode 100644 index 00000000..45083c01 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/booleanCast/boolCast.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/booleanCast/boolCast.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/booleanCast/boolCast.xml.exception new file mode 100644 index 00000000..ff792f3a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/booleanCast/boolCast.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: booleanCast/boolCast \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/booleanLiteral/boolean.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/booleanLiteral/boolean.xml new file mode 100644 index 00000000..99d4fa60 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/booleanLiteral/boolean.xml @@ -0,0 +1,11 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/booleanLiteral/boolean.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/booleanLiteral/boolean.xml.exception new file mode 100644 index 00000000..3a1b2d2e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/booleanLiteral/boolean.xml.exception @@ -0,0 +1 @@ +The XML content could not be de-serialized as Boolean: Expected a value as xs:boolean, but got: at: booleanLiteral/boolean \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/category.xml new file mode 100644 index 00000000..75479d79 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/category.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/category.xml.exception new file mode 100644 index 00000000..8be54d98 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: capability/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/description.xml new file mode 100644 index 00000000..207e3f6c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/description.xml.exception new file mode 100644 index 00000000..cbff968a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: capability/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/displayName.xml new file mode 100644 index 00000000..e890e8d9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/displayName.xml.exception new file mode 100644 index 00000000..81fb4361 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: capability/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/embeddedDataSpecifications.xml new file mode 100644 index 00000000..a0068f3d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..16051fef --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: capability/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/extensions.xml new file mode 100644 index 00000000..86d6a818 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/extensions.xml @@ -0,0 +1,133 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/extensions.xml.exception new file mode 100644 index 00000000..01c089a1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: capability/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/idShort.xml new file mode 100644 index 00000000..2571f540 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/idShort.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/idShort.xml.exception new file mode 100644 index 00000000..165fd2a9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: capability/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/qualifiers.xml new file mode 100644 index 00000000..6d107265 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/qualifiers.xml.exception new file mode 100644 index 00000000..ce28a1a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: capability/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/semanticId.xml new file mode 100644 index 00000000..504a8cba --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/semanticId.xml @@ -0,0 +1,132 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/semanticId.xml.exception new file mode 100644 index 00000000..43ebf212 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: capability/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/supplementalSemanticIds.xml new file mode 100644 index 00000000..daa9f5eb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..2a3fea87 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: capability/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/category.xml new file mode 100644 index 00000000..4ecda2ac --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/category.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/category.xml.exception new file mode 100644 index 00000000..fe875874 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: capabilityMetadata/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/description.xml new file mode 100644 index 00000000..c0ec6969 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/description.xml.exception new file mode 100644 index 00000000..bea4d00d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: capabilityMetadata/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/displayName.xml new file mode 100644 index 00000000..1aaa1878 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/displayName.xml.exception new file mode 100644 index 00000000..45c0b81c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: capabilityMetadata/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..b341bfbc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..2a44d1c6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: capabilityMetadata/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/extensions.xml new file mode 100644 index 00000000..bc7329af --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/extensions.xml @@ -0,0 +1,133 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/extensions.xml.exception new file mode 100644 index 00000000..ff559803 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: capabilityMetadata/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/idShort.xml new file mode 100644 index 00000000..32c8bef6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/idShort.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/idShort.xml.exception new file mode 100644 index 00000000..437c8fd3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: capabilityMetadata/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/qualifiers.xml new file mode 100644 index 00000000..a5a4ba77 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/qualifiers.xml.exception new file mode 100644 index 00000000..bb0d4b49 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: capabilityMetadata/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/semanticId.xml new file mode 100644 index 00000000..66e0be19 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/semanticId.xml @@ -0,0 +1,132 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/semanticId.xml.exception new file mode 100644 index 00000000..4d1b4634 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: capabilityMetadata/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..57e8ec79 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..27078b81 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capabilityMetadata/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: capabilityMetadata/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/claimAttribute/claim.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/claimAttribute/claim.xml new file mode 100644 index 00000000..b8965f60 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/claimAttribute/claim.xml @@ -0,0 +1,11 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/claimAttribute/claim.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/claimAttribute/claim.xml.exception new file mode 100644 index 00000000..8b6346de --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/claimAttribute/claim.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element claim, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: claimAttribute/claim \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/administration.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/administration.xml new file mode 100644 index 00000000..39264857 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/administration.xml @@ -0,0 +1,113 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/administration.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/administration.xml.exception new file mode 100644 index 00000000..b54f21c9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/administration.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: conceptDescription/administration \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/category.xml new file mode 100644 index 00000000..b83cedfb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/category.xml @@ -0,0 +1,121 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/category.xml.exception new file mode 100644 index 00000000..c2dbc414 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: conceptDescription/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/description.xml new file mode 100644 index 00000000..2b819e80 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/description.xml @@ -0,0 +1,104 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/description.xml.exception new file mode 100644 index 00000000..d078f7ca --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: conceptDescription/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/displayName.xml new file mode 100644 index 00000000..1c96cedd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/displayName.xml @@ -0,0 +1,104 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/displayName.xml.exception new file mode 100644 index 00000000..6ed1d2f3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: conceptDescription/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/embeddedDataSpecifications.xml new file mode 100644 index 00000000..614909b8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/embeddedDataSpecifications.xml @@ -0,0 +1,46 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..fcaa5617 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: conceptDescription/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/extensions.xml new file mode 100644 index 00000000..a8dfe0b1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/extensions.xml @@ -0,0 +1,106 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/extensions.xml.exception new file mode 100644 index 00000000..ef188362 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: conceptDescription/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/id.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/id.xml new file mode 100644 index 00000000..7be1af9d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/id.xml @@ -0,0 +1,121 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/id.xml.exception new file mode 100644 index 00000000..ac6c5d27 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/id.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element id, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: conceptDescription/id \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/idShort.xml new file mode 100644 index 00000000..883fe69c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/idShort.xml @@ -0,0 +1,121 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/idShort.xml.exception new file mode 100644 index 00000000..310e2d9b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: conceptDescription/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/isCaseOf.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/isCaseOf.xml new file mode 100644 index 00000000..8c96dea3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/isCaseOf.xml @@ -0,0 +1,103 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/isCaseOf.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/isCaseOf.xml.exception new file mode 100644 index 00000000..110e020b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/isCaseOf.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: conceptDescription/isCaseOf \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescriptionRecentChange/createdAt.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescriptionRecentChange/createdAt.xml new file mode 100644 index 00000000..0e6b2840 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescriptionRecentChange/createdAt.xml @@ -0,0 +1,13 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 2022-04-01T24:00:00Z + 0 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescriptionRecentChange/createdAt.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescriptionRecentChange/createdAt.xml.exception new file mode 100644 index 00000000..a62f3deb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescriptionRecentChange/createdAt.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element createdAt, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: conceptDescriptionRecentChange/createdAt \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescriptionRecentChange/id.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescriptionRecentChange/id.xml new file mode 100644 index 00000000..d9d183e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescriptionRecentChange/id.xml @@ -0,0 +1,13 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescriptionRecentChange/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescriptionRecentChange/id.xml.exception new file mode 100644 index 00000000..46f93499 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescriptionRecentChange/id.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element id, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: conceptDescriptionRecentChange/id \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescriptionRecentChange/updatedAt.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescriptionRecentChange/updatedAt.xml new file mode 100644 index 00000000..829ea084 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescriptionRecentChange/updatedAt.xml @@ -0,0 +1,13 @@ + + 2022-04-01T24:00:00+00:00 + + ExternalReference + + + GlobalReference + unexpected reference + + + + 0 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescriptionRecentChange/updatedAt.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescriptionRecentChange/updatedAt.xml.exception new file mode 100644 index 00000000..c66b232d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescriptionRecentChange/updatedAt.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element updatedAt, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: conceptDescriptionRecentChange/updatedAt \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/containsComparison/contains.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/containsComparison/contains.xml new file mode 100644 index 00000000..ecb07957 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/containsComparison/contains.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/containsComparison/contains.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/containsComparison/contains.xml.exception new file mode 100644 index 00000000..6b4e1418 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/containsComparison/contains.xml.exception @@ -0,0 +1 @@ +Expected a start element of the item 0 of the tuple, but got an XML Characters at: containsComparison/contains \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/dataType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/dataType.xml new file mode 100644 index 00000000..a1b2b335 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/dataType.xml @@ -0,0 +1,49 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/dataType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/dataType.xml.exception new file mode 100644 index 00000000..1836ce08 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/dataType.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of DataTypeIec61360: + at: dataSpecificationIec61360/dataType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/definition.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/definition.xml new file mode 100644 index 00000000..9b31cabf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/definition.xml @@ -0,0 +1,36 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + Unexpected string value + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/definition.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/definition.xml.exception new file mode 100644 index 00000000..fa9b892a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/definition.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: dataSpecificationIec61360/definition \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/levelType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/levelType.xml new file mode 100644 index 00000000..123f9d7b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/levelType.xml @@ -0,0 +1,36 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/levelType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/levelType.xml.exception new file mode 100644 index 00000000..72eab576 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/levelType.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: dataSpecificationIec61360/levelType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/preferredName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/preferredName.xml new file mode 100644 index 00000000..6875c605 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/preferredName.xml @@ -0,0 +1,36 @@ + + Unexpected string value + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/preferredName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/preferredName.xml.exception new file mode 100644 index 00000000..e0788974 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/preferredName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: dataSpecificationIec61360/preferredName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/shortName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/shortName.xml new file mode 100644 index 00000000..e259c9a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/shortName.xml @@ -0,0 +1,36 @@ + + + + en-JM-x-c7dddb5b + 6 + + + Unexpected string value + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/shortName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/shortName.xml.exception new file mode 100644 index 00000000..27e75a22 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/shortName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: dataSpecificationIec61360/shortName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/sourceOfDefinition.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/sourceOfDefinition.xml new file mode 100644 index 00000000..97f1dbe4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/sourceOfDefinition.xml @@ -0,0 +1,49 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/sourceOfDefinition.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/sourceOfDefinition.xml.exception new file mode 100644 index 00000000..c89576d9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/sourceOfDefinition.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element sourceOfDefinition, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: dataSpecificationIec61360/sourceOfDefinition \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/symbol.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/symbol.xml new file mode 100644 index 00000000..15c3df5b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/symbol.xml @@ -0,0 +1,49 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + unexpected reference + + + + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/symbol.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/symbol.xml.exception new file mode 100644 index 00000000..944d9d26 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/symbol.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element symbol, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: dataSpecificationIec61360/symbol \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unit.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unit.xml new file mode 100644 index 00000000..4ca6739a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unit.xml @@ -0,0 +1,49 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unit.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unit.xml.exception new file mode 100644 index 00000000..52f10ddd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unit.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element unit, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: dataSpecificationIec61360/unit \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unitId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unitId.xml new file mode 100644 index 00000000..a213d582 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unitId.xml @@ -0,0 +1,33 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + Unexpected string value + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unitId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unitId.xml.exception new file mode 100644 index 00000000..7ad3cd7b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unitId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: dataSpecificationIec61360/unitId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/value.xml new file mode 100644 index 00000000..fa56ff8d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/value.xml @@ -0,0 +1,49 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + + ExternalReference + + + GlobalReference + unexpected reference + + + + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/value.xml.exception new file mode 100644 index 00000000..a306ef96 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: dataSpecificationIec61360/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/valueFormat.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/valueFormat.xml new file mode 100644 index 00000000..d80fab6a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/valueFormat.xml @@ -0,0 +1,49 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/valueFormat.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/valueFormat.xml.exception new file mode 100644 index 00000000..8cf37167 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/valueFormat.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element valueFormat, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: dataSpecificationIec61360/valueFormat \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/classificationSystem.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/classificationSystem.xml new file mode 100644 index 00000000..d0d41c05 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/classificationSystem.xml @@ -0,0 +1,41 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + en-JM-x-86de9a4b + <ă<P󨱽²|dnœÞ® + + + en-JM-x-9bd9cd32 + 𠤢4𠤢 + + + en-JM-x-3d2061f3 + J5 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/classificationSystem.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/classificationSystem.xml.exception new file mode 100644 index 00000000..e2a8b8de --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/classificationSystem.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element classificationSystem, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: dataSpecificationUom/classificationSystem \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/classificationSystemVersion.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/classificationSystemVersion.xml new file mode 100644 index 00000000..b6db8b88 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/classificationSystemVersion.xml @@ -0,0 +1,41 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + en-JM-x-86de9a4b + <ă<P󨱽²|dnœÞ® + + + en-JM-x-9bd9cd32 + 𠤢4𠤢 + + + en-JM-x-3d2061f3 + J5 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + <ă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/classificationSystemVersion.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/classificationSystemVersion.xml.exception new file mode 100644 index 00000000..fe12f308 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/classificationSystemVersion.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element classificationSystemVersion, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: dataSpecificationUom/classificationSystemVersion \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/definition.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/definition.xml new file mode 100644 index 00000000..13cde7d3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/definition.xml @@ -0,0 +1,28 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + Unexpected string value + + + en-JM-x-86de9a4b + <ă<P󨱽²|dnœÞ® + + + en-JM-x-9bd9cd32 + 𠤢4𠤢 + + + en-JM-x-3d2061f3 + J5 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/definition.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/definition.xml.exception new file mode 100644 index 00000000..d18962a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/definition.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: dataSpecificationUom/definition \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/preferredName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/preferredName.xml new file mode 100644 index 00000000..387e6713 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/preferredName.xml @@ -0,0 +1,28 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + en-JM-x-86de9a4b + <ă<P󨱽²|dnœÞ® + + + en-JM-x-9bd9cd32 + 𠤢4𠤢 + + + en-JM-x-3d2061f3 + J5 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/preferredName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/preferredName.xml.exception new file mode 100644 index 00000000..87f85287 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/preferredName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: dataSpecificationUom/preferredName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/preferredNameQuantity.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/preferredNameQuantity.xml new file mode 100644 index 00000000..e6b2bc22 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/preferredNameQuantity.xml @@ -0,0 +1,20 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/preferredNameQuantity.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/preferredNameQuantity.xml.exception new file mode 100644 index 00000000..a424b576 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/preferredNameQuantity.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: dataSpecificationUom/preferredNameQuantity \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/quantityId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/quantityId.xml new file mode 100644 index 00000000..59dd9342 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/quantityId.xml @@ -0,0 +1,41 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + en-JM-x-86de9a4b + <ă<P󨱽²|dnœÞ® + + + en-JM-x-9bd9cd32 + 𠤢4𠤢 + + + en-JM-x-3d2061f3 + J5 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/quantityId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/quantityId.xml.exception new file mode 100644 index 00000000..8d66aa67 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/quantityId.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element quantityId, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: dataSpecificationUom/quantityId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/specificUnitId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/specificUnitId.xml new file mode 100644 index 00000000..afa52c08 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/specificUnitId.xml @@ -0,0 +1,41 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + en-JM-x-86de9a4b + <ă<P󨱽²|dnœÞ® + + + en-JM-x-9bd9cd32 + 𠤢4𠤢 + + + en-JM-x-3d2061f3 + J5 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/specificUnitId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/specificUnitId.xml.exception new file mode 100644 index 00000000..eb98f39e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/specificUnitId.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element specificUnitId, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: dataSpecificationUom/specificUnitId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/symbol.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/symbol.xml new file mode 100644 index 00000000..16f8cdd9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/symbol.xml @@ -0,0 +1,41 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + en-JM-x-86de9a4b + <ă<P󨱽²|dnœÞ® + + + en-JM-x-9bd9cd32 + 𠤢4𠤢 + + + en-JM-x-3d2061f3 + J5 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/symbol.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/symbol.xml.exception new file mode 100644 index 00000000..416abe8b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationUom/symbol.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element symbol, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: dataSpecificationUom/symbol \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeAttributeItem/kind.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeAttributeItem/kind.xml new file mode 100644 index 00000000..6db5151c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeAttributeItem/kind.xml @@ -0,0 +1,11 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeAttributeItem/kind.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeAttributeItem/kind.xml.exception new file mode 100644 index 00000000..928e1d5f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeAttributeItem/kind.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of DateTimeGlobalAttributeKind: + at: dateTimeAttributeItem/kind \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeAttributeOperand/attribute.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeAttributeOperand/attribute.xml new file mode 100644 index 00000000..3582d842 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeAttributeOperand/attribute.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeAttributeOperand/attribute.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeAttributeOperand/attribute.xml.exception new file mode 100644 index 00000000..0e896bcc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeAttributeOperand/attribute.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: dateTimeAttributeOperand/attribute \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeCast/dateTimeCast.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeCast/dateTimeCast.xml new file mode 100644 index 00000000..d3d881d5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeCast/dateTimeCast.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeCast/dateTimeCast.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeCast/dateTimeCast.xml.exception new file mode 100644 index 00000000..97ceefa4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeCast/dateTimeCast.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: dateTimeCast/dateTimeCast \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeLiteral/dateTimeVal.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeLiteral/dateTimeVal.xml new file mode 100644 index 00000000..2e7b5556 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeLiteral/dateTimeVal.xml @@ -0,0 +1,11 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeLiteral/dateTimeVal.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeLiteral/dateTimeVal.xml.exception new file mode 100644 index 00000000..f9232048 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dateTimeLiteral/dateTimeVal.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element dateTimeVal, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: dateTimeLiteral/dateTimeVal \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dayOfMonth/dayOfMonth.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dayOfMonth/dayOfMonth.xml new file mode 100644 index 00000000..f9edab7f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dayOfMonth/dayOfMonth.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dayOfMonth/dayOfMonth.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dayOfMonth/dayOfMonth.xml.exception new file mode 100644 index 00000000..a73c5140 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dayOfMonth/dayOfMonth.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: dayOfMonth/dayOfMonth \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dayOfWeek/dayOfWeek.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dayOfWeek/dayOfWeek.xml new file mode 100644 index 00000000..1dd4453e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dayOfWeek/dayOfWeek.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dayOfWeek/dayOfWeek.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dayOfWeek/dayOfWeek.xml.exception new file mode 100644 index 00000000..9bf431fe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dayOfWeek/dayOfWeek.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: dayOfWeek/dayOfWeek \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/definitionTypeUom/language.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/definitionTypeUom/language.xml new file mode 100644 index 00000000..5fac6e0f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/definitionTypeUom/language.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/definitionTypeUom/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/definitionTypeUom/language.xml.exception new file mode 100644 index 00000000..e61006ff --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/definitionTypeUom/language.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element language, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: definitionTypeUom/language \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/definitionTypeUom/text.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/definitionTypeUom/text.xml new file mode 100644 index 00000000..7611e6c6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/definitionTypeUom/text.xml @@ -0,0 +1,12 @@ + + en-JM-x-8fafefb1 + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/definitionTypeUom/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/definitionTypeUom/text.xml.exception new file mode 100644 index 00000000..d55f7840 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/definitionTypeUom/text.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element text, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: definitionTypeUom/text \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecification.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecification.xml new file mode 100644 index 00000000..841030e1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecification.xml @@ -0,0 +1,17 @@ + + Unexpected string value + + + + + en-JM-x-719cdf87 + <ă<P󨱽²|dnœÞ® + + + en-JM-x-2ffc5cd0 + 𠤢4𠤢 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecification.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecification.xml.exception new file mode 100644 index 00000000..b7e7b779 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecification.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: embeddedDataSpecification/dataSpecification \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecificationContent.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecificationContent.xml new file mode 100644 index 00000000..e1e9268c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecificationContent.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + urn:some-company:10:9ac9d1a6 + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecificationContent.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecificationContent.xml.exception new file mode 100644 index 00000000..d13d9dda --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecificationContent.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: embeddedDataSpecification/dataSpecificationContent \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/endpoint/interface.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/endpoint/interface.xml new file mode 100644 index 00000000..b8c4d8b8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/endpoint/interface.xml @@ -0,0 +1,14 @@ + + + something_72d646a9 + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/endpoint/interface.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/endpoint/interface.xml.exception new file mode 100644 index 00000000..38030328 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/endpoint/interface.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element interface, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: endpoint/interface \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/endpoint/protocolInformation.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/endpoint/protocolInformation.xml new file mode 100644 index 00000000..74974216 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/endpoint/protocolInformation.xml @@ -0,0 +1,4 @@ + + Unexpected string value + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/endpoint/protocolInformation.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/endpoint/protocolInformation.xml.exception new file mode 100644 index 00000000..13ae0f7f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/endpoint/protocolInformation.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: endpoint/protocolInformation \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/endsWithComparison/endsWith.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/endsWithComparison/endsWith.xml new file mode 100644 index 00000000..f47a4aba --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/endsWithComparison/endsWith.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/endsWithComparison/endsWith.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/endsWithComparison/endsWith.xml.exception new file mode 100644 index 00000000..aa1d8c12 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/endsWithComparison/endsWith.xml.exception @@ -0,0 +1 @@ +Expected a start element of the item 0 of the tuple, but got an XML Characters at: endsWithComparison/endsWith \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/category.xml new file mode 100644 index 00000000..4c848b8a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/category.xml @@ -0,0 +1,169 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/category.xml.exception new file mode 100644 index 00000000..52dd6ddb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: entity/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/description.xml new file mode 100644 index 00000000..cecfb7f5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/description.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/description.xml.exception new file mode 100644 index 00000000..34e11589 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entity/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/displayName.xml new file mode 100644 index 00000000..492fcf17 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/displayName.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/displayName.xml.exception new file mode 100644 index 00000000..46b8f4b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entity/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/embeddedDataSpecifications.xml new file mode 100644 index 00000000..6e86af05 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/embeddedDataSpecifications.xml @@ -0,0 +1,106 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..1ff37e77 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entity/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/entityType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/entityType.xml new file mode 100644 index 00000000..c889899c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/entityType.xml @@ -0,0 +1,169 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/entityType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/entityType.xml.exception new file mode 100644 index 00000000..45d483be --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/entityType.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of EntityType: + at: entity/entityType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/extensions.xml new file mode 100644 index 00000000..437172c2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/extensions.xml @@ -0,0 +1,154 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/extensions.xml.exception new file mode 100644 index 00000000..3f197ee6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entity/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/globalAssetId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/globalAssetId.xml new file mode 100644 index 00000000..76321748 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/globalAssetId.xml @@ -0,0 +1,169 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/globalAssetId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/globalAssetId.xml.exception new file mode 100644 index 00000000..f14b564f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/globalAssetId.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element globalAssetId, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: entity/globalAssetId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/idShort.xml new file mode 100644 index 00000000..29ccf12e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/idShort.xml @@ -0,0 +1,169 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/idShort.xml.exception new file mode 100644 index 00000000..11e0f8c7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: entity/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/qualifiers.xml new file mode 100644 index 00000000..9c4a7172 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/qualifiers.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/qualifiers.xml.exception new file mode 100644 index 00000000..ccf63049 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entity/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/semanticId.xml new file mode 100644 index 00000000..075df4f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/semanticId.xml @@ -0,0 +1,153 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/semanticId.xml.exception new file mode 100644 index 00000000..c4984a78 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: entity/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/specificAssetIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/specificAssetIds.xml new file mode 100644 index 00000000..1d505cc6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/specificAssetIds.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/specificAssetIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/specificAssetIds.xml.exception new file mode 100644 index 00000000..7c6f7194 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/specificAssetIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entity/specificAssetIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/statements.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/statements.xml new file mode 100644 index 00000000..fed1ae7f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/statements.xml @@ -0,0 +1,157 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + Unexpected string value + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/statements.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/statements.xml.exception new file mode 100644 index 00000000..e463adb7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/statements.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entity/statements \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/supplementalSemanticIds.xml new file mode 100644 index 00000000..13e72108 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/supplementalSemanticIds.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..01c81751 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entity/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/category.xml new file mode 100644 index 00000000..36eeb2af --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/category.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/category.xml.exception new file mode 100644 index 00000000..55ee2d7d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: entityMetadata/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/description.xml new file mode 100644 index 00000000..d3e8bfd5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/description.xml.exception new file mode 100644 index 00000000..d4a9d0ad --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entityMetadata/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/displayName.xml new file mode 100644 index 00000000..ccbdff97 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/displayName.xml.exception new file mode 100644 index 00000000..5ab77656 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entityMetadata/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..f4f98844 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..a150caa1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entityMetadata/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/extensions.xml new file mode 100644 index 00000000..0d7376bd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/extensions.xml @@ -0,0 +1,133 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/extensions.xml.exception new file mode 100644 index 00000000..d7a570e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entityMetadata/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/idShort.xml new file mode 100644 index 00000000..d8298d1c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/idShort.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/idShort.xml.exception new file mode 100644 index 00000000..493d661c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: entityMetadata/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/qualifiers.xml new file mode 100644 index 00000000..6eebe35d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/qualifiers.xml.exception new file mode 100644 index 00000000..265660f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entityMetadata/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/semanticId.xml new file mode 100644 index 00000000..5904324b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/semanticId.xml @@ -0,0 +1,132 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/semanticId.xml.exception new file mode 100644 index 00000000..def39122 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: entityMetadata/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..a7075c75 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..3980fb8e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityMetadata/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entityMetadata/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/entityType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/entityType.xml new file mode 100644 index 00000000..cfa0edca --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/entityType.xml @@ -0,0 +1,194 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 0 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + something_9893a589 + + + + 0 + + 7611687.58 + + + + Ûă<P󨱽²|dnœÞ® + + 1 + + + + J5 + + + + + something_976454e1 + + + 6047604.47 + + + + + nested + + 1 + + + + + + + + + + + + 6 + + something_e752ec58 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 2450279.81 + + + + öĖa􍣡™| + + 1 + + + + [\h$񒺟ìÖċŠ1¿ + + + + + something_410466ac + + + 34492713.6 + + + + + nested + + 1 + + + + + + + + + + + + 0 + + something_2af71231 + + + + Ûă<P󨱽²|dnœÞ® + + 41911723.71 + + + + [\h$񒺟ìÖċŠ1¿ + + 1 + + + + J5 + + + + + something_0be6fa02 + + + 71146.82 + + + + + nested + + 0 + + + + + + + + + + + + + aa + + something_ef8d35ae + + + + a-_-_-_-_-_ + + 14955386.36 + + + + fULCVpULCVq + + 0 + + + + strange-name_ + + + + + something_a6bc72af + + + 40013686.16 + + + + + nested + + 1 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/entityType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/entityType.xml.exception new file mode 100644 index 00000000..300ce5a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/entityType.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of EntityType: + at: entityValue/entityType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/globalAssetId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/globalAssetId.xml new file mode 100644 index 00000000..59acff88 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/globalAssetId.xml @@ -0,0 +1,194 @@ + + CoManagedEntity + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + something_9893a589 + + + + 0 + + 7611687.58 + + + + Ûă<P󨱽²|dnœÞ® + + 1 + + + + J5 + + + + + something_976454e1 + + + 6047604.47 + + + + + nested + + 1 + + + + + + + + + + + + 6 + + something_e752ec58 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 2450279.81 + + + + öĖa􍣡™| + + 1 + + + + [\h$񒺟ìÖċŠ1¿ + + + + + something_410466ac + + + 34492713.6 + + + + + nested + + 1 + + + + + + + + + + + + 0 + + something_2af71231 + + + + Ûă<P󨱽²|dnœÞ® + + 41911723.71 + + + + [\h$񒺟ìÖċŠ1¿ + + 1 + + + + J5 + + + + + something_0be6fa02 + + + 71146.82 + + + + + nested + + 0 + + + + + + + + + + + + + aa + + something_ef8d35ae + + + + a-_-_-_-_-_ + + 14955386.36 + + + + fULCVpULCVq + + 0 + + + + strange-name_ + + + + + something_a6bc72af + + + 40013686.16 + + + + + nested + + 1 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/globalAssetId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/globalAssetId.xml.exception new file mode 100644 index 00000000..046b48d8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/globalAssetId.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element globalAssetId, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: entityValue/globalAssetId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/specificAssetIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/specificAssetIds.xml new file mode 100644 index 00000000..5e282c58 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/specificAssetIds.xml @@ -0,0 +1,50 @@ + + CoManagedEntity + 0 + Unexpected string value + + + aa + + something_ef8d35ae + + + + a-_-_-_-_-_ + + 14955386.36 + + + + fULCVpULCVq + + 0 + + + + strange-name_ + + + + + something_a6bc72af + + + 40013686.16 + + + + + nested + + 1 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/specificAssetIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/specificAssetIds.xml.exception new file mode 100644 index 00000000..f869ddeb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/specificAssetIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entityValue/specificAssetIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/statements.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/statements.xml new file mode 100644 index 00000000..997ff7b8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/statements.xml @@ -0,0 +1,142 @@ + + CoManagedEntity + 0 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + something_9893a589 + + + + 0 + + 7611687.58 + + + + Ûă<P󨱽²|dnœÞ® + + 1 + + + + J5 + + + + + something_976454e1 + + + 6047604.47 + + + + + nested + + 1 + + + + + + + + + + + + 6 + + something_e752ec58 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 2450279.81 + + + + öĖa􍣡™| + + 1 + + + + [\h$񒺟ìÖċŠ1¿ + + + + + something_410466ac + + + 34492713.6 + + + + + nested + + 1 + + + + + + + + + + + + 0 + + something_2af71231 + + + + Ûă<P󨱽²|dnœÞ® + + 41911723.71 + + + + [\h$񒺟ìÖċŠ1¿ + + 1 + + + + J5 + + + + + something_0be6fa02 + + + 71146.82 + + + + + nested + + 0 + + + + + + + + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/statements.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/statements.xml.exception new file mode 100644 index 00000000..67362878 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entityValue/statements.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element statements, but got the node of type Characters with the value Unexpected string value at: entityValue/statements \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/assetAdministrationShells.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/assetAdministrationShells.xml new file mode 100644 index 00000000..48e4ad38 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/assetAdministrationShells.xml @@ -0,0 +1,13 @@ + + Unexpected string value + + + 0 + + + + + 0 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/assetAdministrationShells.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/assetAdministrationShells.xml.exception new file mode 100644 index 00000000..c91655c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/assetAdministrationShells.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: environment/assetAdministrationShells \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/conceptDescriptions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/conceptDescriptions.xml new file mode 100644 index 00000000..3b69d159 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/conceptDescriptions.xml @@ -0,0 +1,24 @@ + + + + J5 + + Type + J5 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + Instance + 򤑌M𪠇𛔊򂄲 + + + + + + 0 + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/conceptDescriptions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/conceptDescriptions.xml.exception new file mode 100644 index 00000000..8d71ade4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/conceptDescriptions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: environment/conceptDescriptions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/submodels.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/submodels.xml new file mode 100644 index 00000000..85ed2ac7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/submodels.xml @@ -0,0 +1,24 @@ + + + + J5 + + Type + J5 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + Instance + 򤑌M𪠇𛔊򂄲 + + + + Unexpected string value + + + 0 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/submodels.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/submodels.xml.exception new file mode 100644 index 00000000..588615f3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/submodels.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: environment/submodels \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/equalComparison/eq.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/equalComparison/eq.xml new file mode 100644 index 00000000..e3374549 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/equalComparison/eq.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/equalComparison/eq.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/equalComparison/eq.xml.exception new file mode 100644 index 00000000..1c1df05d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/equalComparison/eq.xml.exception @@ -0,0 +1 @@ +Expected a start element of the item 0 of the tuple, but got an XML Characters at: equalComparison/eq \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableReference.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableReference.xml new file mode 100644 index 00000000..2569ddd3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableReference.xml @@ -0,0 +1,46 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ExternalReference + + + GlobalReference + urn:an-example:12:1ed44768 + + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:something:16:2204ae04 + + + + öĖa􍣡™| + + ExternalReference + + + GlobalReference + urn:yet-another-company:01:0e4f465d + + + + 2022-04-01T24:00:00-00:00 + /TsF2AbyQb1dIa0= + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableReference.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableReference.xml.exception new file mode 100644 index 00000000..322611d6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableReference.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: eventPayload/observableReference \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableSemanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableSemanticId.xml new file mode 100644 index 00000000..3040e5c9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableSemanticId.xml @@ -0,0 +1,46 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ExternalReference + + + GlobalReference + urn:an-example:12:1ed44768 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + Unexpected string value + öĖa􍣡™| + + ExternalReference + + + GlobalReference + urn:yet-another-company:01:0e4f465d + + + + 2022-04-01T24:00:00-00:00 + /TsF2AbyQb1dIa0= + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableSemanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableSemanticId.xml.exception new file mode 100644 index 00000000..5e933d8f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableSemanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: eventPayload/observableSemanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/payload.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/payload.xml new file mode 100644 index 00000000..bf0dc888 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/payload.xml @@ -0,0 +1,62 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ExternalReference + + + GlobalReference + urn:an-example:12:1ed44768 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + + ExternalReference + + + GlobalReference + urn:something:16:2204ae04 + + + + öĖa􍣡™| + + ExternalReference + + + GlobalReference + urn:yet-another-company:01:0e4f465d + + + + 2022-04-01T24:00:00-00:00 + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/payload.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/payload.xml.exception new file mode 100644 index 00000000..dbccbb64 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/payload.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element payload, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: eventPayload/payload \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/source.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/source.xml new file mode 100644 index 00000000..194bdf1d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/source.xml @@ -0,0 +1,42 @@ + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:an-example:12:1ed44768 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + + ExternalReference + + + GlobalReference + urn:something:16:2204ae04 + + + + öĖa􍣡™| + + ExternalReference + + + GlobalReference + urn:yet-another-company:01:0e4f465d + + + + 2022-04-01T24:00:00-00:00 + /TsF2AbyQb1dIa0= + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/source.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/source.xml.exception new file mode 100644 index 00000000..c49bac83 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/source.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: eventPayload/source \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/sourceSemanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/sourceSemanticId.xml new file mode 100644 index 00000000..a3604d3f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/sourceSemanticId.xml @@ -0,0 +1,46 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + Unexpected string value + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + + ExternalReference + + + GlobalReference + urn:something:16:2204ae04 + + + + öĖa􍣡™| + + ExternalReference + + + GlobalReference + urn:yet-another-company:01:0e4f465d + + + + 2022-04-01T24:00:00-00:00 + /TsF2AbyQb1dIa0= + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/sourceSemanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/sourceSemanticId.xml.exception new file mode 100644 index 00000000..3f34d0ab --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/sourceSemanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: eventPayload/sourceSemanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/subjectId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/subjectId.xml new file mode 100644 index 00000000..82954268 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/subjectId.xml @@ -0,0 +1,46 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ExternalReference + + + GlobalReference + urn:an-example:12:1ed44768 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + + ExternalReference + + + GlobalReference + urn:something:16:2204ae04 + + + + öĖa􍣡™| + Unexpected string value + 2022-04-01T24:00:00-00:00 + /TsF2AbyQb1dIa0= + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/subjectId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/subjectId.xml.exception new file mode 100644 index 00000000..2b1ad6ce --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/subjectId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: eventPayload/subjectId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/timeStamp.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/timeStamp.xml new file mode 100644 index 00000000..5a320d44 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/timeStamp.xml @@ -0,0 +1,62 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ExternalReference + + + GlobalReference + urn:an-example:12:1ed44768 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + + ExternalReference + + + GlobalReference + urn:something:16:2204ae04 + + + + öĖa􍣡™| + + ExternalReference + + + GlobalReference + urn:yet-another-company:01:0e4f465d + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + /TsF2AbyQb1dIa0= + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/timeStamp.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/timeStamp.xml.exception new file mode 100644 index 00000000..c322625d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/timeStamp.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element timeStamp, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: eventPayload/timeStamp \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/topic.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/topic.xml new file mode 100644 index 00000000..6c804ae7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/topic.xml @@ -0,0 +1,62 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ExternalReference + + + GlobalReference + urn:an-example:12:1ed44768 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + + ExternalReference + + + GlobalReference + urn:something:16:2204ae04 + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:01:0e4f465d + + + + 2022-04-01T24:00:00-00:00 + /TsF2AbyQb1dIa0= + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/topic.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/topic.xml.exception new file mode 100644 index 00000000..41fa523c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/topic.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element topic, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: eventPayload/topic \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/name.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/name.xml new file mode 100644 index 00000000..1126621e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/name.xml @@ -0,0 +1,71 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + xs:gDay + ---01 + + + ExternalReference + + + GlobalReference + urn:an-example:18:1d00b242 + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:b45040ec + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/name.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/name.xml.exception new file mode 100644 index 00000000..4ee7cd6d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/name.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element name, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: extension/name \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/refersTo.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/refersTo.xml new file mode 100644 index 00000000..ddb6b1ce --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/refersTo.xml @@ -0,0 +1,44 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01 + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/refersTo.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/refersTo.xml.exception new file mode 100644 index 00000000..e7781ded --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/refersTo.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: extension/refersTo \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/semanticId.xml new file mode 100644 index 00000000..96bcbf55 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/semanticId.xml @@ -0,0 +1,55 @@ + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01 + + + ExternalReference + + + GlobalReference + urn:an-example:18:1d00b242 + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:b45040ec + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/semanticId.xml.exception new file mode 100644 index 00000000..58a31682 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: extension/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/supplementalSemanticIds.xml new file mode 100644 index 00000000..4b835dde --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/supplementalSemanticIds.xml @@ -0,0 +1,35 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01 + + + ExternalReference + + + GlobalReference + urn:an-example:18:1d00b242 + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:b45040ec + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..a9af626a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: extension/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/value.xml new file mode 100644 index 00000000..660632e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/value.xml @@ -0,0 +1,71 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + xs:gDay + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + ExternalReference + + + GlobalReference + urn:an-example:18:1d00b242 + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:b45040ec + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/value.xml.exception new file mode 100644 index 00000000..b68a29ff --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: extension/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/valueType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/valueType.xml new file mode 100644 index 00000000..1b6c2cef --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/valueType.xml @@ -0,0 +1,71 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + unexpected reference + + + + ---01 + + + ExternalReference + + + GlobalReference + urn:an-example:18:1d00b242 + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:b45040ec + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/valueType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/valueType.xml.exception new file mode 100644 index 00000000..46f5a6e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/valueType.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of DataTypeDefXsd: + at: extension/valueType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fieldOperand/field.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fieldOperand/field.xml new file mode 100644 index 00000000..8433bf59 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fieldOperand/field.xml @@ -0,0 +1,11 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fieldOperand/field.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fieldOperand/field.xml.exception new file mode 100644 index 00000000..3dc1e512 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fieldOperand/field.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element field, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: fieldOperand/field \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/category.xml new file mode 100644 index 00000000..38ec77be --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/category.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/category.xml.exception new file mode 100644 index 00000000..8cf97536 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: file/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/contentType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/contentType.xml new file mode 100644 index 00000000..81f0931b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/contentType.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/contentType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/contentType.xml.exception new file mode 100644 index 00000000..bd2ccde6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/contentType.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element contentType, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: file/contentType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/description.xml new file mode 100644 index 00000000..55caea92 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/description.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/description.xml.exception new file mode 100644 index 00000000..c18cc2dd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: file/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/displayName.xml new file mode 100644 index 00000000..0302dc00 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/displayName.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/displayName.xml.exception new file mode 100644 index 00000000..942f6064 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: file/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/embeddedDataSpecifications.xml new file mode 100644 index 00000000..01b81764 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/embeddedDataSpecifications.xml @@ -0,0 +1,87 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..d1ff2e1d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: file/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/extensions.xml new file mode 100644 index 00000000..8d7d1021 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/extensions.xml @@ -0,0 +1,135 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/extensions.xml.exception new file mode 100644 index 00000000..1f9e708e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: file/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/idShort.xml new file mode 100644 index 00000000..32b97335 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/idShort.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/idShort.xml.exception new file mode 100644 index 00000000..26e3b446 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: file/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/qualifiers.xml new file mode 100644 index 00000000..1b803f2b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/qualifiers.xml @@ -0,0 +1,129 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/qualifiers.xml.exception new file mode 100644 index 00000000..d1e45dd2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: file/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/semanticId.xml new file mode 100644 index 00000000..f2fe50ab --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/semanticId.xml @@ -0,0 +1,134 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/semanticId.xml.exception new file mode 100644 index 00000000..56d01011 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: file/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/supplementalSemanticIds.xml new file mode 100644 index 00000000..df9a4a43 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/supplementalSemanticIds.xml @@ -0,0 +1,114 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..dd29a7d9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: file/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/value.xml new file mode 100644 index 00000000..ad8f907b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/value.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/value.xml.exception new file mode 100644 index 00000000..803ee0ca --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: file/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/category.xml new file mode 100644 index 00000000..afb50422 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/category.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/category.xml.exception new file mode 100644 index 00000000..0a2b6030 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: fileMetadata/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/description.xml new file mode 100644 index 00000000..6f2a96fb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/description.xml.exception new file mode 100644 index 00000000..ee268fe1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: fileMetadata/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/displayName.xml new file mode 100644 index 00000000..2f1a5c72 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/displayName.xml.exception new file mode 100644 index 00000000..2e2a75ae --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: fileMetadata/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..ffe5d386 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..b7708063 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: fileMetadata/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/extensions.xml new file mode 100644 index 00000000..0c764216 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/extensions.xml @@ -0,0 +1,133 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/extensions.xml.exception new file mode 100644 index 00000000..f86abcaa --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: fileMetadata/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/idShort.xml new file mode 100644 index 00000000..3cfbe1cb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/idShort.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/idShort.xml.exception new file mode 100644 index 00000000..5c24f392 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: fileMetadata/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/qualifiers.xml new file mode 100644 index 00000000..83b68af0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/qualifiers.xml.exception new file mode 100644 index 00000000..f298c036 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: fileMetadata/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/semanticId.xml new file mode 100644 index 00000000..fc4eae2e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/semanticId.xml @@ -0,0 +1,132 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/semanticId.xml.exception new file mode 100644 index 00000000..18ebc2da --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: fileMetadata/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..e8cc5a3c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..935c9836 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileMetadata/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: fileMetadata/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileValue/contentType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileValue/contentType.xml new file mode 100644 index 00000000..28014a4b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileValue/contentType.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileValue/contentType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileValue/contentType.xml.exception new file mode 100644 index 00000000..0348f263 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileValue/contentType.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element contentType, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: fileValue/contentType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileValue/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileValue/value.xml new file mode 100644 index 00000000..404a0b2c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileValue/value.xml @@ -0,0 +1,12 @@ + + 15j/5j + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileValue/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileValue/value.xml.exception new file mode 100644 index 00000000..aaf36acf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/fileValue/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: fileValue/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllAssetAdministrationShellsRecentChangesResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllAssetAdministrationShellsRecentChangesResult/pagingMetadata.xml new file mode 100644 index 00000000..4e924285 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllAssetAdministrationShellsRecentChangesResult/pagingMetadata.xml @@ -0,0 +1,15 @@ + + Unexpected string value + + + 2022-04-01T24:00:00-00:00 + 2022-04-01T24:00:00-00:00 + 0 + + + 2022-04-01T00:00:00Z + 2022-04-01T00:00:00Z + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllAssetAdministrationShellsRecentChangesResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllAssetAdministrationShellsRecentChangesResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..79e6ef33 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllAssetAdministrationShellsRecentChangesResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: getAllAssetAdministrationShellsRecentChangesResult/pagingMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllAssetAdministrationShellsRecentChangesResult/result.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllAssetAdministrationShellsRecentChangesResult/result.xml new file mode 100644 index 00000000..0026ac85 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllAssetAdministrationShellsRecentChangesResult/result.xml @@ -0,0 +1,4 @@ + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllAssetAdministrationShellsRecentChangesResult/result.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllAssetAdministrationShellsRecentChangesResult/result.xml.exception new file mode 100644 index 00000000..8ab2d310 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllAssetAdministrationShellsRecentChangesResult/result.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: getAllAssetAdministrationShellsRecentChangesResult/result \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllConceptDescriptionsRecentChangesResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllConceptDescriptionsRecentChangesResult/pagingMetadata.xml new file mode 100644 index 00000000..dc82c0c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllConceptDescriptionsRecentChangesResult/pagingMetadata.xml @@ -0,0 +1,15 @@ + + Unexpected string value + + + 2022-04-01T24:00:00-00:00 + 2022-04-01T24:00:00-00:00 + 0 + + + 2022-04-01T00:00:00Z + 2022-04-01T00:00:00Z + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllConceptDescriptionsRecentChangesResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllConceptDescriptionsRecentChangesResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..3ab64245 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllConceptDescriptionsRecentChangesResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: getAllConceptDescriptionsRecentChangesResult/pagingMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllConceptDescriptionsRecentChangesResult/result.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllConceptDescriptionsRecentChangesResult/result.xml new file mode 100644 index 00000000..8a2f99f1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllConceptDescriptionsRecentChangesResult/result.xml @@ -0,0 +1,4 @@ + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllConceptDescriptionsRecentChangesResult/result.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllConceptDescriptionsRecentChangesResult/result.xml.exception new file mode 100644 index 00000000..7cacfd5f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllConceptDescriptionsRecentChangesResult/result.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: getAllConceptDescriptionsRecentChangesResult/result \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllSubmodelsRecentChangesResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllSubmodelsRecentChangesResult/pagingMetadata.xml new file mode 100644 index 00000000..20741dcc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllSubmodelsRecentChangesResult/pagingMetadata.xml @@ -0,0 +1,15 @@ + + Unexpected string value + + + 2022-04-01T24:00:00-00:00 + 2022-04-01T24:00:00-00:00 + 0 + + + 2022-04-01T00:00:00Z + 2022-04-01T00:00:00Z + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllSubmodelsRecentChangesResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllSubmodelsRecentChangesResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..d379d9d2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllSubmodelsRecentChangesResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: getAllSubmodelsRecentChangesResult/pagingMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllSubmodelsRecentChangesResult/result.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllSubmodelsRecentChangesResult/result.xml new file mode 100644 index 00000000..feb1b4d3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllSubmodelsRecentChangesResult/result.xml @@ -0,0 +1,4 @@ + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllSubmodelsRecentChangesResult/result.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllSubmodelsRecentChangesResult/result.xml.exception new file mode 100644 index 00000000..8c809c24 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAllSubmodelsRecentChangesResult/result.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: getAllSubmodelsRecentChangesResult/result \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellDescriptorsResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellDescriptorsResult/pagingMetadata.xml new file mode 100644 index 00000000..251bae1a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellDescriptorsResult/pagingMetadata.xml @@ -0,0 +1,11 @@ + + Unexpected string value + + + 6 + + + öĖa􍣡™| + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellDescriptorsResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellDescriptorsResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..7ae76696 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellDescriptorsResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: getAssetAdministrationShellDescriptorsResult/pagingMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellDescriptorsResult/result.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellDescriptorsResult/result.xml new file mode 100644 index 00000000..87886836 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellDescriptorsResult/result.xml @@ -0,0 +1,4 @@ + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellDescriptorsResult/result.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellDescriptorsResult/result.xml.exception new file mode 100644 index 00000000..4d5a9852 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellDescriptorsResult/result.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: getAssetAdministrationShellDescriptorsResult/result \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsMetadataResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsMetadataResult/pagingMetadata.xml new file mode 100644 index 00000000..f7e5722a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsMetadataResult/pagingMetadata.xml @@ -0,0 +1,11 @@ + + Unexpected string value + + + 6 + + + öĖa􍣡™| + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsMetadataResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsMetadataResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..dc156822 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsMetadataResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: getAssetAdministrationShellsMetadataResult/pagingMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsMetadataResult/result.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsMetadataResult/result.xml new file mode 100644 index 00000000..a8f177c2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsMetadataResult/result.xml @@ -0,0 +1,4 @@ + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsMetadataResult/result.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsMetadataResult/result.xml.exception new file mode 100644 index 00000000..53607e03 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsMetadataResult/result.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: getAssetAdministrationShellsMetadataResult/result \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsResult/pagingMetadata.xml new file mode 100644 index 00000000..586b30b0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsResult/pagingMetadata.xml @@ -0,0 +1,19 @@ + + Unexpected string value + + + 6 + + Instance + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + öĖa􍣡™| + + NotApplicable + 򤑌M𪠇𛔊򂄲 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..5b31ebf3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: getAssetAdministrationShellsResult/pagingMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsResult/result.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsResult/result.xml new file mode 100644 index 00000000..eec36498 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsResult/result.xml @@ -0,0 +1,4 @@ + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsResult/result.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsResult/result.xml.exception new file mode 100644 index 00000000..d8e5969f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getAssetAdministrationShellsResult/result.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: getAssetAdministrationShellsResult/result \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getConceptDescriptionsResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getConceptDescriptionsResult/pagingMetadata.xml new file mode 100644 index 00000000..6a79f1c6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getConceptDescriptionsResult/pagingMetadata.xml @@ -0,0 +1,11 @@ + + Unexpected string value + + + 6 + + + öĖa􍣡™| + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getConceptDescriptionsResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getConceptDescriptionsResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..8636c2bf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getConceptDescriptionsResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: getConceptDescriptionsResult/pagingMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getConceptDescriptionsResult/result.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getConceptDescriptionsResult/result.xml new file mode 100644 index 00000000..f3d3a001 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getConceptDescriptionsResult/result.xml @@ -0,0 +1,4 @@ + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getConceptDescriptionsResult/result.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getConceptDescriptionsResult/result.xml.exception new file mode 100644 index 00000000..8747cc3b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getConceptDescriptionsResult/result.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: getConceptDescriptionsResult/result \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPackageDescriptionsResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPackageDescriptionsResult/pagingMetadata.xml new file mode 100644 index 00000000..55c80c5f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPackageDescriptionsResult/pagingMetadata.xml @@ -0,0 +1,11 @@ + + Unexpected string value + + + J5 + + + 0 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPackageDescriptionsResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPackageDescriptionsResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..e07123c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPackageDescriptionsResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: getPackageDescriptionsResult/pagingMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPackageDescriptionsResult/result.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPackageDescriptionsResult/result.xml new file mode 100644 index 00000000..90144ffb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPackageDescriptionsResult/result.xml @@ -0,0 +1,4 @@ + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPackageDescriptionsResult/result.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPackageDescriptionsResult/result.xml.exception new file mode 100644 index 00000000..38b2dfb4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPackageDescriptionsResult/result.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: getPackageDescriptionsResult/result \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPathItemsResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPathItemsResult/pagingMetadata.xml new file mode 100644 index 00000000..1b8c960b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPathItemsResult/pagingMetadata.xml @@ -0,0 +1,7 @@ + + Unexpected string value + + [88607] + [2004][688] + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPathItemsResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPathItemsResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..083d7084 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPathItemsResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: getPathItemsResult/pagingMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPathItemsResult/result.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPathItemsResult/result.xml new file mode 100644 index 00000000..9f2c8b84 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPathItemsResult/result.xml @@ -0,0 +1,4 @@ + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPathItemsResult/result.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPathItemsResult/result.xml.exception new file mode 100644 index 00000000..5fcb9751 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getPathItemsResult/result.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: getPathItemsResult/result \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getReferencesResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getReferencesResult/pagingMetadata.xml new file mode 100644 index 00000000..318aac5d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getReferencesResult/pagingMetadata.xml @@ -0,0 +1,23 @@ + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:1e454a20 + + + + + ExternalReference + + + GlobalReference + urn:an-example:08:46556cf0 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getReferencesResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getReferencesResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..4b0e5090 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getReferencesResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: getReferencesResult/pagingMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getReferencesResult/result.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getReferencesResult/result.xml new file mode 100644 index 00000000..e4ef3f25 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getReferencesResult/result.xml @@ -0,0 +1,4 @@ + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getReferencesResult/result.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getReferencesResult/result.xml.exception new file mode 100644 index 00000000..2b30ccb3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getReferencesResult/result.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: getReferencesResult/result \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelDescriptorsResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelDescriptorsResult/pagingMetadata.xml new file mode 100644 index 00000000..3f4cdec2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelDescriptorsResult/pagingMetadata.xml @@ -0,0 +1,33 @@ + + Unexpected string value + + + + + + something_1a8f5f52 + + 0 + + + J5 + + + + + + something_5c6192cf + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + something_a0d1bab3 + + Ûă<P󨱽²|dnœÞ® + + + [\h$񒺟ìÖċŠ1¿ + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelDescriptorsResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelDescriptorsResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..34966097 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelDescriptorsResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: getSubmodelDescriptorsResult/pagingMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelDescriptorsResult/result.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelDescriptorsResult/result.xml new file mode 100644 index 00000000..4a3054f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelDescriptorsResult/result.xml @@ -0,0 +1,4 @@ + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelDescriptorsResult/result.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelDescriptorsResult/result.xml.exception new file mode 100644 index 00000000..29d71670 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelDescriptorsResult/result.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: getSubmodelDescriptorsResult/result \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsMetadataResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsMetadataResult/pagingMetadata.xml new file mode 100644 index 00000000..c3d21503 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsMetadataResult/pagingMetadata.xml @@ -0,0 +1,7 @@ + + Unexpected string value + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsMetadataResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsMetadataResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..4974d600 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsMetadataResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: getSubmodelElementsMetadataResult/pagingMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsMetadataResult/result.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsMetadataResult/result.xml new file mode 100644 index 00000000..112d87db --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsMetadataResult/result.xml @@ -0,0 +1,4 @@ + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsMetadataResult/result.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsMetadataResult/result.xml.exception new file mode 100644 index 00000000..f2933e8a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsMetadataResult/result.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: getSubmodelElementsMetadataResult/result \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsResult/pagingMetadata.xml new file mode 100644 index 00000000..3627cc30 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsResult/pagingMetadata.xml @@ -0,0 +1,11 @@ + + Unexpected string value + + + fULCVpULCVq + + + P7gn + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..9eb8412c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: getSubmodelElementsResult/pagingMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsResult/result.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsResult/result.xml new file mode 100644 index 00000000..b55b2733 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsResult/result.xml @@ -0,0 +1,4 @@ + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsResult/result.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsResult/result.xml.exception new file mode 100644 index 00000000..eaceffe0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsResult/result.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: getSubmodelElementsResult/result \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsValueResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsValueResult/pagingMetadata.xml new file mode 100644 index 00000000..1e993820 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsValueResult/pagingMetadata.xml @@ -0,0 +1,95 @@ + + Unexpected string value + + + + A_ + + something_26d9750b + + + + a_ + + 11487601.16 + + + + Jk0k1414Di + + 0 + + + + AopQejF + + + + + something_eed9253c + + + 40277513.02 + + + + + nested + + 1 + + + + + + + + + + + + a-_ + + something_e3ee22c6 + + + + tWC + + 41825534.23 + + + + a-b + + 1 + + + + t8x1pz9WS4TGV + + + + + something_949a3976 + + + 32116879.18 + + + + + nested + + 0 + + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsValueResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsValueResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..8542d10e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsValueResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: getSubmodelElementsValueResult/pagingMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsValueResult/result.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsValueResult/result.xml new file mode 100644 index 00000000..7b1e3d16 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsValueResult/result.xml @@ -0,0 +1,4 @@ + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsValueResult/result.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsValueResult/result.xml.exception new file mode 100644 index 00000000..3ecf5323 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelElementsValueResult/result.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: getSubmodelElementsValueResult/result \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsMetadataResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsMetadataResult/pagingMetadata.xml new file mode 100644 index 00000000..9660b223 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsMetadataResult/pagingMetadata.xml @@ -0,0 +1,11 @@ + + Unexpected string value + + + 6 + + + öĖa􍣡™| + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsMetadataResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsMetadataResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..07e45dce --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsMetadataResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: getSubmodelsMetadataResult/pagingMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsMetadataResult/result.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsMetadataResult/result.xml new file mode 100644 index 00000000..39f46730 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsMetadataResult/result.xml @@ -0,0 +1,4 @@ + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsMetadataResult/result.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsMetadataResult/result.xml.exception new file mode 100644 index 00000000..da1425ef --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsMetadataResult/result.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: getSubmodelsMetadataResult/result \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsResult/pagingMetadata.xml new file mode 100644 index 00000000..eee31c9b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsResult/pagingMetadata.xml @@ -0,0 +1,11 @@ + + Unexpected string value + + + 6 + + + öĖa􍣡™| + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..29e4c7d7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: getSubmodelsResult/pagingMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsResult/result.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsResult/result.xml new file mode 100644 index 00000000..4c1cd4a1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsResult/result.xml @@ -0,0 +1,4 @@ + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsResult/result.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsResult/result.xml.exception new file mode 100644 index 00000000..5bf77208 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsResult/result.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: getSubmodelsResult/result \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsValueResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsValueResult/pagingMetadata.xml new file mode 100644 index 00000000..b4ced7fa --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsValueResult/pagingMetadata.xml @@ -0,0 +1,95 @@ + + Unexpected string value + + + + A_ + + something_26d9750b + + + + a_ + + 11487601.16 + + + + Jk0k1414Di + + 0 + + + + AopQejF + + + + + something_eed9253c + + + 40277513.02 + + + + + nested + + 1 + + + + + + + + + + + + a-_ + + something_e3ee22c6 + + + + tWC + + 41825534.23 + + + + a-b + + 1 + + + + t8x1pz9WS4TGV + + + + + something_949a3976 + + + 32116879.18 + + + + + nested + + 0 + + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsValueResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsValueResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..de17fd55 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsValueResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: getSubmodelsValueResult/pagingMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsValueResult/result.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsValueResult/result.xml new file mode 100644 index 00000000..d8d95f35 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsValueResult/result.xml @@ -0,0 +1,4 @@ + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsValueResult/result.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsValueResult/result.xml.exception new file mode 100644 index 00000000..7675a99c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/getSubmodelsValueResult/result.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: getSubmodelsValueResult/result \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/globalAttribute/kind.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/globalAttribute/kind.xml new file mode 100644 index 00000000..7c425bc2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/globalAttribute/kind.xml @@ -0,0 +1,11 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/globalAttribute/kind.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/globalAttribute/kind.xml.exception new file mode 100644 index 00000000..802c972d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/globalAttribute/kind.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of GlobalAttributeKind: + at: globalAttribute/kind \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/greaterThanComparison/gt.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/greaterThanComparison/gt.xml new file mode 100644 index 00000000..6707891e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/greaterThanComparison/gt.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/greaterThanComparison/gt.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/greaterThanComparison/gt.xml.exception new file mode 100644 index 00000000..9afdd5fe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/greaterThanComparison/gt.xml.exception @@ -0,0 +1 @@ +Expected a start element of the item 0 of the tuple, but got an XML Characters at: greaterThanComparison/gt \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/greaterThanOrEqualComparison/ge.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/greaterThanOrEqualComparison/ge.xml new file mode 100644 index 00000000..1accd4a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/greaterThanOrEqualComparison/ge.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/greaterThanOrEqualComparison/ge.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/greaterThanOrEqualComparison/ge.xml.exception new file mode 100644 index 00000000..26613838 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/greaterThanOrEqualComparison/ge.xml.exception @@ -0,0 +1 @@ +Expected a start element of the item 0 of the tuple, but got an XML Characters at: greaterThanOrEqualComparison/ge \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/hexCast/hexCast.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/hexCast/hexCast.xml new file mode 100644 index 00000000..6d04775b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/hexCast/hexCast.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/hexCast/hexCast.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/hexCast/hexCast.xml.exception new file mode 100644 index 00000000..52c739c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/hexCast/hexCast.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: hexCast/hexCast \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/hexLiteral/hexVal.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/hexLiteral/hexVal.xml new file mode 100644 index 00000000..98f78498 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/hexLiteral/hexVal.xml @@ -0,0 +1,11 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/hexLiteral/hexVal.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/hexLiteral/hexVal.xml.exception new file mode 100644 index 00000000..6d6c1e94 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/hexLiteral/hexVal.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element hexVal, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: hexLiteral/hexVal \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/type.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/type.xml new file mode 100644 index 00000000..799e768c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/type.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/type.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/type.xml.exception new file mode 100644 index 00000000..4bead418 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/type.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of KeyTypes: + at: key/type \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/value.xml new file mode 100644 index 00000000..8ee4a79c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/value.xml @@ -0,0 +1,12 @@ + + EventElement + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/value.xml.exception new file mode 100644 index 00000000..1f8ac7eb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: key/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/language.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/language.xml new file mode 100644 index 00000000..52845023 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/language.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/language.xml.exception new file mode 100644 index 00000000..95f6a7cd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/language.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element language, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: langStringDefinitionTypeIec61360/language \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/text.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/text.xml new file mode 100644 index 00000000..99135091 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/text.xml @@ -0,0 +1,12 @@ + + en-JM-x-8fafefb1 + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/text.xml.exception new file mode 100644 index 00000000..9dfeda09 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/text.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element text, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: langStringDefinitionTypeIec61360/text \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/language.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/language.xml new file mode 100644 index 00000000..f186be57 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/language.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/language.xml.exception new file mode 100644 index 00000000..591636d7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/language.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element language, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: langStringNameType/language \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/text.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/text.xml new file mode 100644 index 00000000..8213d09b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/text.xml @@ -0,0 +1,12 @@ + + en-JM-x-8fafefb1 + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/text.xml.exception new file mode 100644 index 00000000..472003d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/text.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element text, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: langStringNameType/text \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/language.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/language.xml new file mode 100644 index 00000000..e81d0601 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/language.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/language.xml.exception new file mode 100644 index 00000000..1e07db39 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/language.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element language, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: langStringPreferredNameTypeIec61360/language \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/text.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/text.xml new file mode 100644 index 00000000..9c3bd77a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/text.xml @@ -0,0 +1,12 @@ + + en-JM-x-8fafefb1 + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/text.xml.exception new file mode 100644 index 00000000..c41ec0ab --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/text.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element text, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: langStringPreferredNameTypeIec61360/text \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/language.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/language.xml new file mode 100644 index 00000000..8c71ba3b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/language.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/language.xml.exception new file mode 100644 index 00000000..338f8220 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/language.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element language, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: langStringShortNameTypeIec61360/language \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/text.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/text.xml new file mode 100644 index 00000000..1e14d864 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/text.xml @@ -0,0 +1,12 @@ + + en-JM-x-8fafefb1 + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/text.xml.exception new file mode 100644 index 00000000..13a350f1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/text.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element text, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: langStringShortNameTypeIec61360/text \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/language.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/language.xml new file mode 100644 index 00000000..a6836019 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/language.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/language.xml.exception new file mode 100644 index 00000000..15f6ab2c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/language.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element language, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: langStringTextType/language \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/text.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/text.xml new file mode 100644 index 00000000..fa77fd9b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/text.xml @@ -0,0 +1,12 @@ + + en-JM-x-8fafefb1 + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/text.xml.exception new file mode 100644 index 00000000..a3b348d3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/text.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element text, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: langStringTextType/text \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringUom/language.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringUom/language.xml new file mode 100644 index 00000000..a2697ab2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringUom/language.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringUom/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringUom/language.xml.exception new file mode 100644 index 00000000..14bc534c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringUom/language.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element language, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: langStringUom/language \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringUom/text.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringUom/text.xml new file mode 100644 index 00000000..435f0ce2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringUom/text.xml @@ -0,0 +1,12 @@ + + en-JM-x-8fafefb1 + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringUom/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringUom/text.xml.exception new file mode 100644 index 00000000..61dab328 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringUom/text.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element text, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: langStringUom/text \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/lessThanComparison/lt.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/lessThanComparison/lt.xml new file mode 100644 index 00000000..e4fec6c7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/lessThanComparison/lt.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/lessThanComparison/lt.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/lessThanComparison/lt.xml.exception new file mode 100644 index 00000000..a1ac2d16 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/lessThanComparison/lt.xml.exception @@ -0,0 +1 @@ +Expected a start element of the item 0 of the tuple, but got an XML Characters at: lessThanComparison/lt \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/lessThanOrEqualComparison/le.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/lessThanOrEqualComparison/le.xml new file mode 100644 index 00000000..6463087e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/lessThanOrEqualComparison/le.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/lessThanOrEqualComparison/le.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/lessThanOrEqualComparison/le.xml.exception new file mode 100644 index 00000000..bbd8fb95 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/lessThanOrEqualComparison/le.xml.exception @@ -0,0 +1 @@ +Expected a start element of the item 0 of the tuple, but got an XML Characters at: lessThanOrEqualComparison/le \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/max.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/max.xml new file mode 100644 index 00000000..b5f61748 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/max.xml @@ -0,0 +1,14 @@ + + false + true + true + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/max.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/max.xml.exception new file mode 100644 index 00000000..5b265957 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/max.xml.exception @@ -0,0 +1 @@ +The XML content could not be de-serialized as Boolean: Expected a value as xs:boolean, but got: at: levelType/max \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/min.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/min.xml new file mode 100644 index 00000000..6bc54a1e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/min.xml @@ -0,0 +1,14 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + true + true + true + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/min.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/min.xml.exception new file mode 100644 index 00000000..29c571ec --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/min.xml.exception @@ -0,0 +1 @@ +The XML content could not be de-serialized as Boolean: Expected a value as xs:boolean, but got: at: levelType/min \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/nom.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/nom.xml new file mode 100644 index 00000000..db6934cb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/nom.xml @@ -0,0 +1,14 @@ + + false + + ExternalReference + + + GlobalReference + unexpected reference + + + + true + true + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/nom.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/nom.xml.exception new file mode 100644 index 00000000..9c932e68 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/nom.xml.exception @@ -0,0 +1 @@ +The XML content could not be de-serialized as Boolean: Expected a value as xs:boolean, but got: at: levelType/nom \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/typ.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/typ.xml new file mode 100644 index 00000000..bb0e32cd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/typ.xml @@ -0,0 +1,14 @@ + + false + true + + ExternalReference + + + GlobalReference + unexpected reference + + + + true + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/typ.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/typ.xml.exception new file mode 100644 index 00000000..06231ee6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/typ.xml.exception @@ -0,0 +1 @@ +The XML content could not be de-serialized as Boolean: Expected a value as xs:boolean, but got: at: levelType/typ \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/matchClause/matchOperands.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/matchClause/matchOperands.xml new file mode 100644 index 00000000..aa5a2799 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/matchClause/matchOperands.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/matchClause/matchOperands.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/matchClause/matchOperands.xml.exception new file mode 100644 index 00000000..96115953 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/matchClause/matchOperands.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: matchClause/matchOperands \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/code.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/code.xml new file mode 100644 index 00000000..b8c16d17 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/code.xml @@ -0,0 +1,15 @@ + + Exception + something_24bc8444 + + ExternalReference + + + GlobalReference + unexpected reference + + + + 򤑌M𪠇𛔊򂄲 + 123456789012345678901234567-04-01T00:00:00Z + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/code.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/code.xml.exception new file mode 100644 index 00000000..85053063 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/code.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element code, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: message/code \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/correlationId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/correlationId.xml new file mode 100644 index 00000000..d9d25847 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/correlationId.xml @@ -0,0 +1,15 @@ + + Exception + something_24bc8444 + something_ee3c0402 + + ExternalReference + + + GlobalReference + unexpected reference + + + + 123456789012345678901234567-04-01T00:00:00Z + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/correlationId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/correlationId.xml.exception new file mode 100644 index 00000000..262eec4b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/correlationId.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element correlationId, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: message/correlationId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/messageType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/messageType.xml new file mode 100644 index 00000000..00b25f44 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/messageType.xml @@ -0,0 +1,15 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + something_24bc8444 + something_ee3c0402 + 򤑌M𪠇𛔊򂄲 + 123456789012345678901234567-04-01T00:00:00Z + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/messageType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/messageType.xml.exception new file mode 100644 index 00000000..cc097658 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/messageType.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of MessageTypeEnum: + at: message/messageType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/text.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/text.xml new file mode 100644 index 00000000..69038a11 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/text.xml @@ -0,0 +1,15 @@ + + Exception + + ExternalReference + + + GlobalReference + unexpected reference + + + + something_ee3c0402 + 򤑌M𪠇𛔊򂄲 + 123456789012345678901234567-04-01T00:00:00Z + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/text.xml.exception new file mode 100644 index 00000000..f69572dd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/text.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element text, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: message/text \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/timestamp.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/timestamp.xml new file mode 100644 index 00000000..8ad30e7f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/timestamp.xml @@ -0,0 +1,15 @@ + + Exception + something_24bc8444 + something_ee3c0402 + 򤑌M𪠇𛔊򂄲 + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/timestamp.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/timestamp.xml.exception new file mode 100644 index 00000000..cb36f675 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/message/timestamp.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element timestamp, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: message/timestamp \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/month/month.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/month/month.xml new file mode 100644 index 00000000..d1fd7ac6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/month/month.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/month/month.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/month/month.xml.exception new file mode 100644 index 00000000..de493889 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/month/month.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: month/month \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/category.xml new file mode 100644 index 00000000..2d16e4ed --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/category.xml @@ -0,0 +1,167 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/category.xml.exception new file mode 100644 index 00000000..9f536c93 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: multiLanguageProperty/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/description.xml new file mode 100644 index 00000000..1ce93926 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/description.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/description.xml.exception new file mode 100644 index 00000000..b27985d1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: multiLanguageProperty/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/displayName.xml new file mode 100644 index 00000000..fda7e7f9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/displayName.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/displayName.xml.exception new file mode 100644 index 00000000..1c34556b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: multiLanguageProperty/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/embeddedDataSpecifications.xml new file mode 100644 index 00000000..a706b522 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/embeddedDataSpecifications.xml @@ -0,0 +1,104 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..e5c23a90 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: multiLanguageProperty/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/extensions.xml new file mode 100644 index 00000000..d6390700 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/extensions.xml @@ -0,0 +1,152 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/extensions.xml.exception new file mode 100644 index 00000000..480185c7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: multiLanguageProperty/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/idShort.xml new file mode 100644 index 00000000..88151ad8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/idShort.xml @@ -0,0 +1,167 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/idShort.xml.exception new file mode 100644 index 00000000..ae84332b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: multiLanguageProperty/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/qualifiers.xml new file mode 100644 index 00000000..72189462 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/qualifiers.xml @@ -0,0 +1,146 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/qualifiers.xml.exception new file mode 100644 index 00000000..5bd76eb7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: multiLanguageProperty/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/semanticId.xml new file mode 100644 index 00000000..9ea074d5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/semanticId.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/semanticId.xml.exception new file mode 100644 index 00000000..3cfba40e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: multiLanguageProperty/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/supplementalSemanticIds.xml new file mode 100644 index 00000000..4429c690 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/supplementalSemanticIds.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..6919eeb1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: multiLanguageProperty/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/value.xml new file mode 100644 index 00000000..8d52b0f1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/value.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/value.xml.exception new file mode 100644 index 00000000..d9ba019a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/value.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: multiLanguageProperty/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/valueId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/valueId.xml new file mode 100644 index 00000000..47050b9c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/valueId.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/valueId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/valueId.xml.exception new file mode 100644 index 00000000..8095452d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/valueId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: multiLanguageProperty/valueId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/category.xml new file mode 100644 index 00000000..614ed887 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/category.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/category.xml.exception new file mode 100644 index 00000000..497ba2cf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: multiLanguagePropertyMetadata/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/description.xml new file mode 100644 index 00000000..19c062ad --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/description.xml.exception new file mode 100644 index 00000000..ebf2d519 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: multiLanguagePropertyMetadata/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/displayName.xml new file mode 100644 index 00000000..c9b60014 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/displayName.xml.exception new file mode 100644 index 00000000..be4ebfeb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: multiLanguagePropertyMetadata/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..f578f832 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..eed706e1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: multiLanguagePropertyMetadata/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/extensions.xml new file mode 100644 index 00000000..db02e211 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/extensions.xml @@ -0,0 +1,133 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/extensions.xml.exception new file mode 100644 index 00000000..6c132b20 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: multiLanguagePropertyMetadata/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/idShort.xml new file mode 100644 index 00000000..0ad171d7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/idShort.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/idShort.xml.exception new file mode 100644 index 00000000..2b202c33 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: multiLanguagePropertyMetadata/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/qualifiers.xml new file mode 100644 index 00000000..440f928a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/qualifiers.xml.exception new file mode 100644 index 00000000..a75d0a94 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: multiLanguagePropertyMetadata/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/semanticId.xml new file mode 100644 index 00000000..49e8e9a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/semanticId.xml @@ -0,0 +1,132 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/semanticId.xml.exception new file mode 100644 index 00000000..6a9b0f0a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: multiLanguagePropertyMetadata/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..4d0dac2e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..721ba048 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguagePropertyMetadata/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: multiLanguagePropertyMetadata/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/notEqualComparison/ne.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/notEqualComparison/ne.xml new file mode 100644 index 00000000..7e2b467f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/notEqualComparison/ne.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/notEqualComparison/ne.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/notEqualComparison/ne.xml.exception new file mode 100644 index 00000000..8c45ed75 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/notEqualComparison/ne.xml.exception @@ -0,0 +1 @@ +Expected a start element of the item 0 of the tuple, but got an XML Characters at: notEqualComparison/ne \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/notExpression/notOperand.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/notExpression/notOperand.xml new file mode 100644 index 00000000..cc25dc2f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/notExpression/notOperand.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/notExpression/notOperand.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/notExpression/notOperand.xml.exception new file mode 100644 index 00000000..da360f3c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/notExpression/notOperand.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: notExpression/notOperand \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/numberCast/numCast.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/numberCast/numCast.xml new file mode 100644 index 00000000..74d27278 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/numberCast/numCast.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/numberCast/numCast.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/numberCast/numCast.xml.exception new file mode 100644 index 00000000..38b5914e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/numberCast/numCast.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: numberCast/numCast \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/numberLiteral/numVal.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/numberLiteral/numVal.xml new file mode 100644 index 00000000..47fdd963 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/numberLiteral/numVal.xml @@ -0,0 +1,11 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/numberLiteral/numVal.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/numberLiteral/numVal.xml.exception new file mode 100644 index 00000000..ee6e00f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/numberLiteral/numVal.xml.exception @@ -0,0 +1 @@ +The XML content could not be de-serialized as Double: Expected a value as xs:double, but got: at: numberLiteral/numVal \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/category.xml new file mode 100644 index 00000000..3ecf065b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/category.xml @@ -0,0 +1,221 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/category.xml.exception new file mode 100644 index 00000000..01f8c466 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: operation/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/description.xml new file mode 100644 index 00000000..7561bed0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/description.xml @@ -0,0 +1,204 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/description.xml.exception new file mode 100644 index 00000000..6c889e40 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operation/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/displayName.xml new file mode 100644 index 00000000..0d2db9d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/displayName.xml @@ -0,0 +1,204 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/displayName.xml.exception new file mode 100644 index 00000000..0d53aba9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operation/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/embeddedDataSpecifications.xml new file mode 100644 index 00000000..c75d58e7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/embeddedDataSpecifications.xml @@ -0,0 +1,158 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..a3e717fe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operation/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/extensions.xml new file mode 100644 index 00000000..17f70d2e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/extensions.xml @@ -0,0 +1,206 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/extensions.xml.exception new file mode 100644 index 00000000..39fe36f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operation/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/idShort.xml new file mode 100644 index 00000000..fedcb72a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/idShort.xml @@ -0,0 +1,221 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/idShort.xml.exception new file mode 100644 index 00000000..da9667ac --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: operation/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inoutputVariables.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inoutputVariables.xml new file mode 100644 index 00000000..51cc8ca0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inoutputVariables.xml @@ -0,0 +1,166 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inoutputVariables.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inoutputVariables.xml.exception new file mode 100644 index 00000000..d792172c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inoutputVariables.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operation/inoutputVariables \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inputVariables.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inputVariables.xml new file mode 100644 index 00000000..38d2e894 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inputVariables.xml @@ -0,0 +1,205 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + Unexpected string value + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inputVariables.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inputVariables.xml.exception new file mode 100644 index 00000000..46d70692 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inputVariables.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operation/inputVariables \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/outputVariables.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/outputVariables.xml new file mode 100644 index 00000000..ff4195a2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/outputVariables.xml @@ -0,0 +1,198 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + Unexpected string value + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/outputVariables.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/outputVariables.xml.exception new file mode 100644 index 00000000..8bda5a60 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/outputVariables.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operation/outputVariables \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/qualifiers.xml new file mode 100644 index 00000000..8ceba03a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/qualifiers.xml @@ -0,0 +1,200 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/qualifiers.xml.exception new file mode 100644 index 00000000..9512fe5f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operation/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/semanticId.xml new file mode 100644 index 00000000..856a682a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/semanticId.xml @@ -0,0 +1,205 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/semanticId.xml.exception new file mode 100644 index 00000000..55dd81a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: operation/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/supplementalSemanticIds.xml new file mode 100644 index 00000000..6fc14fd0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/supplementalSemanticIds.xml @@ -0,0 +1,185 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..6cb8c800 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operation/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationHandle/handleId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationHandle/handleId.xml new file mode 100644 index 00000000..87e1c7a7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationHandle/handleId.xml @@ -0,0 +1,11 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationHandle/handleId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationHandle/handleId.xml.exception new file mode 100644 index 00000000..ae2f4de6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationHandle/handleId.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element handleId, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: operationHandle/handleId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/category.xml new file mode 100644 index 00000000..159ced4d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/category.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/category.xml.exception new file mode 100644 index 00000000..34fa8c3d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: operationMetadata/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/description.xml new file mode 100644 index 00000000..54185af3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/description.xml.exception new file mode 100644 index 00000000..e4fcc694 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operationMetadata/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/displayName.xml new file mode 100644 index 00000000..df335c9d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/displayName.xml.exception new file mode 100644 index 00000000..75a4ae9b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operationMetadata/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..d087f0ab --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..8e98f599 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operationMetadata/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/extensions.xml new file mode 100644 index 00000000..ee7be12c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/extensions.xml @@ -0,0 +1,133 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/extensions.xml.exception new file mode 100644 index 00000000..c17166c3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operationMetadata/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/idShort.xml new file mode 100644 index 00000000..270187b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/idShort.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/idShort.xml.exception new file mode 100644 index 00000000..2d12c959 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: operationMetadata/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/qualifiers.xml new file mode 100644 index 00000000..941578e0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/qualifiers.xml.exception new file mode 100644 index 00000000..d11687ba --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operationMetadata/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/semanticId.xml new file mode 100644 index 00000000..42e4ec04 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/semanticId.xml @@ -0,0 +1,132 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/semanticId.xml.exception new file mode 100644 index 00000000..daf8b53d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: operationMetadata/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..c9cfdb21 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..aaddd458 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationMetadata/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operationMetadata/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequest/clientTimeoutDuration.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequest/clientTimeoutDuration.xml new file mode 100644 index 00000000..aeb06953 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequest/clientTimeoutDuration.xml @@ -0,0 +1,44 @@ + + + + + + something01a52cdc + xs:hexBinary + + + + + + + something854a0297 + + + + + + + something433fbada + + + + + + + + + something291e2566 + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequest/clientTimeoutDuration.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequest/clientTimeoutDuration.xml.exception new file mode 100644 index 00000000..b405fa0e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequest/clientTimeoutDuration.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element clientTimeoutDuration, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: operationRequest/clientTimeoutDuration \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequest/inoutputArguments.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequest/inoutputArguments.xml new file mode 100644 index 00000000..8bb4e44e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequest/inoutputArguments.xml @@ -0,0 +1,28 @@ + + + + + + something01a52cdc + xs:hexBinary + + + + + + + something854a0297 + + + + + + + something433fbada + + + + + Unexpected string value + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequest/inoutputArguments.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequest/inoutputArguments.xml.exception new file mode 100644 index 00000000..4bca32ec --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequest/inoutputArguments.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operationRequest/inoutputArguments \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequest/inputArguments.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequest/inputArguments.xml new file mode 100644 index 00000000..f53a76e5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequest/inputArguments.xml @@ -0,0 +1,13 @@ + + Unexpected string value + + + + + something291e2566 + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequest/inputArguments.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequest/inputArguments.xml.exception new file mode 100644 index 00000000..5b3a35e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequest/inputArguments.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operationRequest/inputArguments \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsync/clientTimeoutDuration.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsync/clientTimeoutDuration.xml new file mode 100644 index 00000000..d6575ad3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsync/clientTimeoutDuration.xml @@ -0,0 +1,44 @@ + + + + + + something01a52cdc + xs:hexBinary + + + + + + + something854a0297 + + + + + + + something433fbada + + + + + + + + + something291e2566 + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsync/clientTimeoutDuration.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsync/clientTimeoutDuration.xml.exception new file mode 100644 index 00000000..29702c89 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsync/clientTimeoutDuration.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element clientTimeoutDuration, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: operationRequestAsync/clientTimeoutDuration \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsync/inoutputArguments.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsync/inoutputArguments.xml new file mode 100644 index 00000000..56ceb09e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsync/inoutputArguments.xml @@ -0,0 +1,28 @@ + + + + + + something01a52cdc + xs:hexBinary + + + + + + + something854a0297 + + + + + + + something433fbada + + + + + Unexpected string value + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsync/inoutputArguments.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsync/inoutputArguments.xml.exception new file mode 100644 index 00000000..c1bffc93 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsync/inoutputArguments.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operationRequestAsync/inoutputArguments \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsync/inputArguments.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsync/inputArguments.xml new file mode 100644 index 00000000..85172d89 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsync/inputArguments.xml @@ -0,0 +1,13 @@ + + Unexpected string value + + + + + something291e2566 + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsync/inputArguments.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsync/inputArguments.xml.exception new file mode 100644 index 00000000..d21e1566 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsync/inputArguments.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operationRequestAsync/inputArguments \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsyncValueOnly/clientTimeoutDuration.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsyncValueOnly/clientTimeoutDuration.xml new file mode 100644 index 00000000..32e0568d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsyncValueOnly/clientTimeoutDuration.xml @@ -0,0 +1,101 @@ + + + + xF2bO_Uje6 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsyncValueOnly/clientTimeoutDuration.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsyncValueOnly/clientTimeoutDuration.xml.exception new file mode 100644 index 00000000..8e260553 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsyncValueOnly/clientTimeoutDuration.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element clientTimeoutDuration, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: operationRequestAsyncValueOnly/clientTimeoutDuration \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsyncValueOnly/inoutputArguments.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsyncValueOnly/inoutputArguments.xml new file mode 100644 index 00000000..5491faff --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsyncValueOnly/inoutputArguments.xml @@ -0,0 +1,49 @@ + + + + xF2bO_Uje6 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + Unexpected string value + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsyncValueOnly/inoutputArguments.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsyncValueOnly/inoutputArguments.xml.exception new file mode 100644 index 00000000..f2395610 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsyncValueOnly/inoutputArguments.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element inoutputArguments, but got the node of type Characters with the value Unexpected string value at: operationRequestAsyncValueOnly/inoutputArguments \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsyncValueOnly/inputArguments.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsyncValueOnly/inputArguments.xml new file mode 100644 index 00000000..8b3ea683 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsyncValueOnly/inputArguments.xml @@ -0,0 +1,49 @@ + + Unexpected string value + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsyncValueOnly/inputArguments.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsyncValueOnly/inputArguments.xml.exception new file mode 100644 index 00000000..20d03bff --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestAsyncValueOnly/inputArguments.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element inputArguments, but got the node of type Characters with the value Unexpected string value at: operationRequestAsyncValueOnly/inputArguments \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestValueOnly/clientTimeoutDuration.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestValueOnly/clientTimeoutDuration.xml new file mode 100644 index 00000000..4b3da7eb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestValueOnly/clientTimeoutDuration.xml @@ -0,0 +1,101 @@ + + + + xF2bO_Uje6 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestValueOnly/clientTimeoutDuration.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestValueOnly/clientTimeoutDuration.xml.exception new file mode 100644 index 00000000..f0b0372e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestValueOnly/clientTimeoutDuration.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element clientTimeoutDuration, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: operationRequestValueOnly/clientTimeoutDuration \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestValueOnly/inoutputArguments.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestValueOnly/inoutputArguments.xml new file mode 100644 index 00000000..fe75b628 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestValueOnly/inoutputArguments.xml @@ -0,0 +1,49 @@ + + + + xF2bO_Uje6 + + something_bbde819d + + + + nRdRe + + 31697300.43 + + + + a-_-_-_-_-_ + + 1 + + + + pVz10Vz10vZZNO9hM + + + + + something_410ccad8 + + + 28056891.92 + + + + + nested + + 0 + + + + + + + + + + Unexpected string value + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestValueOnly/inoutputArguments.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestValueOnly/inoutputArguments.xml.exception new file mode 100644 index 00000000..aa270186 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestValueOnly/inoutputArguments.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element inoutputArguments, but got the node of type Characters with the value Unexpected string value at: operationRequestValueOnly/inoutputArguments \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestValueOnly/inputArguments.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestValueOnly/inputArguments.xml new file mode 100644 index 00000000..a06145e8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestValueOnly/inputArguments.xml @@ -0,0 +1,49 @@ + + Unexpected string value + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + P5Y36660767143M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestValueOnly/inputArguments.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestValueOnly/inputArguments.xml.exception new file mode 100644 index 00000000..48f31e42 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationRequestValueOnly/inputArguments.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element inputArguments, but got the node of type Characters with the value Unexpected string value at: operationRequestValueOnly/inputArguments \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/executionState.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/executionState.xml new file mode 100644 index 00000000..515088e6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/executionState.xml @@ -0,0 +1,55 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + + + somethingd6d6ab05 + xs:string + + + + + + + something702c736e + + + + + + + something63bf5473 + + + + + + + + + something291e2566 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/executionState.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/executionState.xml.exception new file mode 100644 index 00000000..7c906a03 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/executionState.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of ExecutionState: + at: operationResult/executionState \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/inoutputArguments.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/inoutputArguments.xml new file mode 100644 index 00000000..6ad56d97 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/inoutputArguments.xml @@ -0,0 +1,39 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + + + somethingd6d6ab05 + xs:string + + + + + + + something702c736e + + + + + + + something63bf5473 + + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/inoutputArguments.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/inoutputArguments.xml.exception new file mode 100644 index 00000000..5c13fa8a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/inoutputArguments.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operationResult/inoutputArguments \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/messages.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/messages.xml new file mode 100644 index 00000000..00a3d369 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/messages.xml @@ -0,0 +1,38 @@ + + Running + Unexpected string value + false + + + + + somethingd6d6ab05 + xs:string + + + + + + + something702c736e + + + + + + + something63bf5473 + + + + + + + + + something291e2566 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/messages.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/messages.xml.exception new file mode 100644 index 00000000..cc98d0b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/messages.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operationResult/messages \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/outputArguments.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/outputArguments.xml new file mode 100644 index 00000000..ec4850e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/outputArguments.xml @@ -0,0 +1,24 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + Unexpected string value + + + + + something291e2566 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/outputArguments.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/outputArguments.xml.exception new file mode 100644 index 00000000..f3e01f53 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/outputArguments.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operationResult/outputArguments \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/success.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/success.xml new file mode 100644 index 00000000..0162e48f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/success.xml @@ -0,0 +1,55 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + + + somethingd6d6ab05 + xs:string + + + + + + + something702c736e + + + + + + + something63bf5473 + + + + + + + + + something291e2566 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/success.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/success.xml.exception new file mode 100644 index 00000000..72d4d1fe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResult/success.xml.exception @@ -0,0 +1 @@ +The XML content could not be de-serialized as Boolean: Expected a value as xs:boolean, but got: at: operationResult/success \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/executionState.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/executionState.xml new file mode 100644 index 00000000..7a4f1b4f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/executionState.xml @@ -0,0 +1,112 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + Jk0k1414Di + + something_764a7cd7 + + + + a_ + + 30188789.16 + + + + aa + + 0 + + + + a-_-_-_-_-_ + + + + + something_62dd8d48 + + + 30606723.38 + + + + + nested + + 1 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/executionState.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/executionState.xml.exception new file mode 100644 index 00000000..9d22c1c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/executionState.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of ExecutionState: + at: operationResultValueOnly/executionState \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/inoutputArguments.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/inoutputArguments.xml new file mode 100644 index 00000000..7c2e3c3c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/inoutputArguments.xml @@ -0,0 +1,60 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + + + Jk0k1414Di + + something_764a7cd7 + + + + a_ + + 30188789.16 + + + + aa + + 0 + + + + a-_-_-_-_-_ + + + + + something_62dd8d48 + + + 30606723.38 + + + + + nested + + 1 + + + + + + + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/inoutputArguments.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/inoutputArguments.xml.exception new file mode 100644 index 00000000..69d2c8ec --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/inoutputArguments.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element inoutputArguments, but got the node of type Characters with the value Unexpected string value at: operationResultValueOnly/inoutputArguments \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/messages.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/messages.xml new file mode 100644 index 00000000..7d64ff03 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/messages.xml @@ -0,0 +1,95 @@ + + Running + Unexpected string value + false + + + Jk0k1414Di + + something_764a7cd7 + + + + a_ + + 30188789.16 + + + + aa + + 0 + + + + a-_-_-_-_-_ + + + + + something_62dd8d48 + + + 30606723.38 + + + + + nested + + 1 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/messages.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/messages.xml.exception new file mode 100644 index 00000000..8ba1f72b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/messages.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operationResultValueOnly/messages \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/outputArguments.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/outputArguments.xml new file mode 100644 index 00000000..c8b2b44e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/outputArguments.xml @@ -0,0 +1,60 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + false + Unexpected string value + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/outputArguments.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/outputArguments.xml.exception new file mode 100644 index 00000000..28d985cc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/outputArguments.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element outputArguments, but got the node of type Characters with the value Unexpected string value at: operationResultValueOnly/outputArguments \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/success.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/success.xml new file mode 100644 index 00000000..24d9a4c9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/success.xml @@ -0,0 +1,112 @@ + + Running + + + Warning + something_fc5e4647 + + + Error + something_ff32f5c8 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + Jk0k1414Di + + something_764a7cd7 + + + + a_ + + 30188789.16 + + + + aa + + 0 + + + + a-_-_-_-_-_ + + + + + something_62dd8d48 + + + 30606723.38 + + + + + nested + + 1 + + + + + + + + + + + + tWC + + something_ab23bd21 + + + + EO5DYAe + + 37181367.93 + + + + aa + + 1 + + + + a-_ + + + + + something_7829b778 + + + 8436010.71 + + + + + nested + + 0 + + + + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/success.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/success.xml.exception new file mode 100644 index 00000000..831e599a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationResultValueOnly/success.xml.exception @@ -0,0 +1 @@ +The XML content could not be de-serialized as Boolean: Expected a value as xs:boolean, but got: at: operationResultValueOnly/success \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationVariable/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationVariable/value.xml new file mode 100644 index 00000000..1a247022 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationVariable/value.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationVariable/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationVariable/value.xml.exception new file mode 100644 index 00000000..82b57485 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationVariable/value.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: operationVariable/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/orExpression/orOperands.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/orExpression/orOperands.xml new file mode 100644 index 00000000..9268da4c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/orExpression/orOperands.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/orExpression/orOperands.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/orExpression/orOperands.xml.exception new file mode 100644 index 00000000..03a33103 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/orExpression/orOperands.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: orExpression/orOperands \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/packageDescription/aasIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/packageDescription/aasIds.xml new file mode 100644 index 00000000..f9e7f643 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/packageDescription/aasIds.xml @@ -0,0 +1,4 @@ + + 6 + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/packageDescription/aasIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/packageDescription/aasIds.xml.exception new file mode 100644 index 00000000..59d7e921 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/packageDescription/aasIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: packageDescription/aasIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/packageDescription/packageId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/packageDescription/packageId.xml new file mode 100644 index 00000000..c71d524c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/packageDescription/packageId.xml @@ -0,0 +1,16 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + J5 + <ă<P󨱽²|dnœÞ® + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/packageDescription/packageId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/packageDescription/packageId.xml.exception new file mode 100644 index 00000000..0ab43189 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/packageDescription/packageId.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element packageId, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: packageDescription/packageId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/pagedResult/pagingMetadata.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/pagedResult/pagingMetadata.xml new file mode 100644 index 00000000..e883f7b9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/pagedResult/pagingMetadata.xml @@ -0,0 +1,7 @@ + + + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/pagedResult/pagingMetadata.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/pagedResult/pagingMetadata.xml.exception new file mode 100644 index 00000000..be64b6c2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/pagedResult/pagingMetadata.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: pagedResult/pagingMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/pagedResult/result.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/pagedResult/result.xml new file mode 100644 index 00000000..8bfe5940 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/pagedResult/result.xml @@ -0,0 +1,4 @@ + + Unexpected string value + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/pagedResult/result.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/pagedResult/result.xml.exception new file mode 100644 index 00000000..3acc0af4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/pagedResult/result.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: pagedResult/result \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/pagingMetadata/cursor.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/pagingMetadata/cursor.xml new file mode 100644 index 00000000..e2f53d35 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/pagingMetadata/cursor.xml @@ -0,0 +1,11 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/pagingMetadata/cursor.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/pagingMetadata/cursor.xml.exception new file mode 100644 index 00000000..0c7d8b21 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/pagingMetadata/cursor.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element cursor, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: pagingMetadata/cursor \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/category.xml new file mode 100644 index 00000000..5439b410 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/category.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/category.xml.exception new file mode 100644 index 00000000..6d008305 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: property/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/description.xml new file mode 100644 index 00000000..058866da --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/description.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/description.xml.exception new file mode 100644 index 00000000..3df07912 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: property/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/displayName.xml new file mode 100644 index 00000000..44d1d1ce --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/displayName.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/displayName.xml.exception new file mode 100644 index 00000000..f2484d9e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: property/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/embeddedDataSpecifications.xml new file mode 100644 index 00000000..e642fc66 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/embeddedDataSpecifications.xml @@ -0,0 +1,96 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..e1c74883 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: property/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/extensions.xml new file mode 100644 index 00000000..6f265b28 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/extensions.xml @@ -0,0 +1,144 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/extensions.xml.exception new file mode 100644 index 00000000..e5293075 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: property/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/idShort.xml new file mode 100644 index 00000000..a410c618 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/idShort.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/idShort.xml.exception new file mode 100644 index 00000000..fe2d526e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: property/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/qualifiers.xml new file mode 100644 index 00000000..91bf83ed --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/qualifiers.xml @@ -0,0 +1,138 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/qualifiers.xml.exception new file mode 100644 index 00000000..90dfbc61 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: property/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/semanticId.xml new file mode 100644 index 00000000..d7528ac5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/semanticId.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/semanticId.xml.exception new file mode 100644 index 00000000..8b7562d1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: property/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/supplementalSemanticIds.xml new file mode 100644 index 00000000..e0fa2610 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/supplementalSemanticIds.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..f945c761 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: property/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/value.xml new file mode 100644 index 00000000..99216cc1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/value.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/value.xml.exception new file mode 100644 index 00000000..30c5c618 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: property/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueId.xml new file mode 100644 index 00000000..2c051221 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueId.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueId.xml.exception new file mode 100644 index 00000000..162d6cd9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: property/valueId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueType.xml new file mode 100644 index 00000000..4f8d535e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueType.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueType.xml.exception new file mode 100644 index 00000000..3c108952 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueType.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of DataTypeDefXsd: + at: property/valueType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/category.xml new file mode 100644 index 00000000..621001ae --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/category.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/category.xml.exception new file mode 100644 index 00000000..e8d63d84 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: propertyMetadata/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/description.xml new file mode 100644 index 00000000..09531862 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/description.xml @@ -0,0 +1,132 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/description.xml.exception new file mode 100644 index 00000000..b2c6d442 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: propertyMetadata/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/displayName.xml new file mode 100644 index 00000000..123b0936 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/displayName.xml @@ -0,0 +1,132 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/displayName.xml.exception new file mode 100644 index 00000000..1b01cc42 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: propertyMetadata/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..69ded863 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,86 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..23ad8af4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: propertyMetadata/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/extensions.xml new file mode 100644 index 00000000..169aed5a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/extensions.xml @@ -0,0 +1,134 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/extensions.xml.exception new file mode 100644 index 00000000..7f598779 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: propertyMetadata/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/idShort.xml new file mode 100644 index 00000000..7d799917 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/idShort.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/idShort.xml.exception new file mode 100644 index 00000000..ef460d56 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: propertyMetadata/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/qualifiers.xml new file mode 100644 index 00000000..6c372afd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/qualifiers.xml @@ -0,0 +1,128 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/qualifiers.xml.exception new file mode 100644 index 00000000..e7a68902 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: propertyMetadata/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/semanticId.xml new file mode 100644 index 00000000..fbf71608 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/semanticId.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/semanticId.xml.exception new file mode 100644 index 00000000..47cebad1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: propertyMetadata/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..54232758 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/supplementalSemanticIds.xml @@ -0,0 +1,113 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..fece7dae --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: propertyMetadata/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/valueType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/valueType.xml new file mode 100644 index 00000000..77424a1b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/valueType.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/valueType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/valueType.xml.exception new file mode 100644 index 00000000..895f49a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/propertyMetadata/valueType.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of DataTypeDefXsd: + at: propertyMetadata/valueType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/endpointProtocol.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/endpointProtocol.xml new file mode 100644 index 00000000..d37d8a7f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/endpointProtocol.xml @@ -0,0 +1,37 @@ + + something_cd6881d8 + + ExternalReference + + + GlobalReference + unexpected reference + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 0 + something_063944e1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + W3C_DID + something_9babbd6a + something_05eecee4 + + + RFC_TLSA + something_5beee992 + something_9106f4e0 + + + RFC_TLSA + something_580cb1d7 + something_23f8577a + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/endpointProtocol.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/endpointProtocol.xml.exception new file mode 100644 index 00000000..9ee0d220 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/endpointProtocol.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element endpointProtocol, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: protocolInformation/endpointProtocol \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/endpointProtocolVersion.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/endpointProtocolVersion.xml new file mode 100644 index 00000000..7a1dbf13 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/endpointProtocolVersion.xml @@ -0,0 +1,25 @@ + + something_cd6881d8 + Ûă<P󨱽²|dnœÞ® + Unexpected string value + 0 + something_063944e1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + W3C_DID + something_9babbd6a + something_05eecee4 + + + RFC_TLSA + something_5beee992 + something_9106f4e0 + + + RFC_TLSA + something_580cb1d7 + something_23f8577a + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/endpointProtocolVersion.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/endpointProtocolVersion.xml.exception new file mode 100644 index 00000000..eca81863 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/endpointProtocolVersion.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: protocolInformation/endpointProtocolVersion \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/href.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/href.xml new file mode 100644 index 00000000..1598eb69 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/href.xml @@ -0,0 +1,37 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + Ûă<P󨱽²|dnœÞ® + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 0 + something_063944e1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + W3C_DID + something_9babbd6a + something_05eecee4 + + + RFC_TLSA + something_5beee992 + something_9106f4e0 + + + RFC_TLSA + something_580cb1d7 + something_23f8577a + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/href.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/href.xml.exception new file mode 100644 index 00000000..4f08d132 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/href.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element href, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: protocolInformation/href \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/securityAttributes.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/securityAttributes.xml new file mode 100644 index 00000000..5b751d3a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/securityAttributes.xml @@ -0,0 +1,13 @@ + + something_cd6881d8 + Ûă<P󨱽²|dnœÞ® + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 0 + something_063944e1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/securityAttributes.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/securityAttributes.xml.exception new file mode 100644 index 00000000..b488401f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/securityAttributes.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: protocolInformation/securityAttributes \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/subprotocol.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/subprotocol.xml new file mode 100644 index 00000000..763adfa5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/subprotocol.xml @@ -0,0 +1,37 @@ + + something_cd6881d8 + Ûă<P󨱽²|dnœÞ® + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + ExternalReference + + + GlobalReference + unexpected reference + + + + something_063944e1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + W3C_DID + something_9babbd6a + something_05eecee4 + + + RFC_TLSA + something_5beee992 + something_9106f4e0 + + + RFC_TLSA + something_580cb1d7 + something_23f8577a + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/subprotocol.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/subprotocol.xml.exception new file mode 100644 index 00000000..08cd076a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/subprotocol.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element subprotocol, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: protocolInformation/subprotocol \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/subprotocolBody.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/subprotocolBody.xml new file mode 100644 index 00000000..592e837a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/subprotocolBody.xml @@ -0,0 +1,37 @@ + + something_cd6881d8 + Ûă<P󨱽²|dnœÞ® + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 0 + + ExternalReference + + + GlobalReference + unexpected reference + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + W3C_DID + something_9babbd6a + something_05eecee4 + + + RFC_TLSA + something_5beee992 + something_9106f4e0 + + + RFC_TLSA + something_580cb1d7 + something_23f8577a + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/subprotocolBody.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/subprotocolBody.xml.exception new file mode 100644 index 00000000..0cf9b4ad --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/subprotocolBody.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element subprotocolBody, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: protocolInformation/subprotocolBody \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/subprotocolBodyEncoding.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/subprotocolBodyEncoding.xml new file mode 100644 index 00000000..2bc674c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/subprotocolBodyEncoding.xml @@ -0,0 +1,37 @@ + + something_cd6881d8 + Ûă<P󨱽²|dnœÞ® + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + 0 + something_063944e1 + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + W3C_DID + something_9babbd6a + something_05eecee4 + + + RFC_TLSA + something_5beee992 + something_9106f4e0 + + + RFC_TLSA + something_580cb1d7 + something_23f8577a + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/subprotocolBodyEncoding.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/subprotocolBodyEncoding.xml.exception new file mode 100644 index 00000000..54c21988 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/protocolInformation/subprotocolBodyEncoding.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element subprotocolBodyEncoding, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: protocolInformation/subprotocolBodyEncoding \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/kind.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/kind.xml new file mode 100644 index 00000000..28c1e7bd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/kind.xml @@ -0,0 +1,61 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 6 + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/kind.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/kind.xml.exception new file mode 100644 index 00000000..4569cf01 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/kind.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of QualifierKind: + at: qualifier/kind \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/semanticId.xml new file mode 100644 index 00000000..8d53b335 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/semanticId.xml @@ -0,0 +1,45 @@ + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + ValueQualifier + 6 + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/semanticId.xml.exception new file mode 100644 index 00000000..057a1f0e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: qualifier/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/supplementalSemanticIds.xml new file mode 100644 index 00000000..11c3a317 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/supplementalSemanticIds.xml @@ -0,0 +1,25 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + ValueQualifier + 6 + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..b061f145 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: qualifier/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/type.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/type.xml new file mode 100644 index 00000000..db259278 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/type.xml @@ -0,0 +1,61 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + ValueQualifier + + ExternalReference + + + GlobalReference + unexpected reference + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/type.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/type.xml.exception new file mode 100644 index 00000000..c642a89c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/type.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element type, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: qualifier/type \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/value.xml new file mode 100644 index 00000000..c0fb83f9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/value.xml @@ -0,0 +1,61 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + ValueQualifier + 6 + xs:gDay + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/value.xml.exception new file mode 100644 index 00000000..320a3cb9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: qualifier/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueId.xml new file mode 100644 index 00000000..17e02fef --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueId.xml @@ -0,0 +1,45 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + ValueQualifier + 6 + xs:gDay + ---01 + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueId.xml.exception new file mode 100644 index 00000000..312b84e5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: qualifier/valueId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueType.xml new file mode 100644 index 00000000..294386b9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueType.xml @@ -0,0 +1,61 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + ValueQualifier + 6 + + ExternalReference + + + GlobalReference + unexpected reference + + + + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueType.xml.exception new file mode 100644 index 00000000..7ab724ce --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueType.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of DataTypeDefXsd: + at: qualifier/valueType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/query/condition.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/query/condition.xml new file mode 100644 index 00000000..05ee245d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/query/condition.xml @@ -0,0 +1,59 @@ + + + Unexpected string value + + + $sme + + + + + + + UTCNOW + + + + + + + something_64e5a93b + + + + + + + + + $sme.prop#value + + + + + something_4962fdb9 + + + something_933fd2a5 + + + + + + + $sme.prop#value + + + + + 16#1 + + + 16#00 + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/query/condition.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/query/condition.xml.exception new file mode 100644 index 00000000..ee29ad0a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/query/condition.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: query/condition \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/query/filters.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/query/filters.xml new file mode 100644 index 00000000..5d670eb0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/query/filters.xml @@ -0,0 +1,16 @@ + + + + + + + 16#1 + + + 16#1F + + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/query/filters.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/query/filters.xml.exception new file mode 100644 index 00000000..1895918e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/query/filters.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: query/filters \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/query/select.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/query/select.xml new file mode 100644 index 00000000..276a9375 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/query/select.xml @@ -0,0 +1,78 @@ + + + + + + + 16#1 + + + 16#1F + + + + + + + $sme + + + + + + + UTCNOW + + + + + + + something_64e5a93b + + + + + + + + + $sme.prop#value + + + + + something_4962fdb9 + + + something_933fd2a5 + + + + + + + $sme.prop#value + + + + + 16#1 + + + 16#00 + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/query/select.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/query/select.xml.exception new file mode 100644 index 00000000..400cd8cc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/query/select.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of QuerySelect: + at: query/select \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/queryFilter/condition.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/queryFilter/condition.xml new file mode 100644 index 00000000..b843c078 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/queryFilter/condition.xml @@ -0,0 +1,4 @@ + + $aas#submodels + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/queryFilter/condition.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/queryFilter/condition.xml.exception new file mode 100644 index 00000000..7c6e8b6d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/queryFilter/condition.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: queryFilter/condition \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/queryFilter/fragment.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/queryFilter/fragment.xml new file mode 100644 index 00000000..d66f1e21 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/queryFilter/fragment.xml @@ -0,0 +1,23 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + + + 16#1 + + + 16#1F + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/queryFilter/fragment.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/queryFilter/fragment.xml.exception new file mode 100644 index 00000000..9b965bca --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/queryFilter/fragment.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element fragment, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: queryFilter/fragment \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/category.xml new file mode 100644 index 00000000..8a975d8d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/category.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/category.xml.exception new file mode 100644 index 00000000..de2ddf43 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: range/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/description.xml new file mode 100644 index 00000000..d1725c2f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/description.xml @@ -0,0 +1,134 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/description.xml.exception new file mode 100644 index 00000000..fa750aa1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: range/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/displayName.xml new file mode 100644 index 00000000..a4cfa5c2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/displayName.xml @@ -0,0 +1,134 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/displayName.xml.exception new file mode 100644 index 00000000..81668357 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: range/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/embeddedDataSpecifications.xml new file mode 100644 index 00000000..eea3384d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/embeddedDataSpecifications.xml @@ -0,0 +1,88 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..761190e3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: range/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/extensions.xml new file mode 100644 index 00000000..4c4cfe47 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/extensions.xml @@ -0,0 +1,136 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/extensions.xml.exception new file mode 100644 index 00000000..2a689c1b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: range/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/idShort.xml new file mode 100644 index 00000000..96b5142f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/idShort.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/idShort.xml.exception new file mode 100644 index 00000000..7273fc73 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: range/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/max.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/max.xml new file mode 100644 index 00000000..3b72ead0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/max.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/max.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/max.xml.exception new file mode 100644 index 00000000..52dddd91 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/max.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element max, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: range/max \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/min.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/min.xml new file mode 100644 index 00000000..a1653c55 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/min.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + + ExternalReference + + + GlobalReference + unexpected reference + + + + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/min.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/min.xml.exception new file mode 100644 index 00000000..9e54ed98 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/min.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element min, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: range/min \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/qualifiers.xml new file mode 100644 index 00000000..ca7293df --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/qualifiers.xml @@ -0,0 +1,130 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/qualifiers.xml.exception new file mode 100644 index 00000000..c4ec48e5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: range/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/semanticId.xml new file mode 100644 index 00000000..b0c4172b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/semanticId.xml @@ -0,0 +1,135 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/semanticId.xml.exception new file mode 100644 index 00000000..a0e513b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: range/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/supplementalSemanticIds.xml new file mode 100644 index 00000000..96fee2c7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/supplementalSemanticIds.xml @@ -0,0 +1,115 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..2bfdf74f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: range/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/valueType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/valueType.xml new file mode 100644 index 00000000..a9297a78 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/valueType.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/valueType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/valueType.xml.exception new file mode 100644 index 00000000..166dc7eb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/valueType.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of DataTypeDefXsd: + at: range/valueType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/category.xml new file mode 100644 index 00000000..1dfa75d2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/category.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/category.xml.exception new file mode 100644 index 00000000..abf787fe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: rangeMetadata/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/description.xml new file mode 100644 index 00000000..7eaf54cf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/description.xml @@ -0,0 +1,132 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/description.xml.exception new file mode 100644 index 00000000..a99bc2a2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: rangeMetadata/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/displayName.xml new file mode 100644 index 00000000..a68ff4a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/displayName.xml @@ -0,0 +1,132 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/displayName.xml.exception new file mode 100644 index 00000000..4d1c25d9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: rangeMetadata/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..9b1d54f5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,86 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..412cf513 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: rangeMetadata/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/extensions.xml new file mode 100644 index 00000000..8cbe8fdd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/extensions.xml @@ -0,0 +1,134 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/extensions.xml.exception new file mode 100644 index 00000000..d3e7e9a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: rangeMetadata/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/idShort.xml new file mode 100644 index 00000000..9583b415 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/idShort.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/idShort.xml.exception new file mode 100644 index 00000000..9e0def4a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: rangeMetadata/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/qualifiers.xml new file mode 100644 index 00000000..08875b8c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/qualifiers.xml @@ -0,0 +1,128 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/qualifiers.xml.exception new file mode 100644 index 00000000..c1df2b74 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: rangeMetadata/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/semanticId.xml new file mode 100644 index 00000000..153e6e46 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/semanticId.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/semanticId.xml.exception new file mode 100644 index 00000000..0aa46cb1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: rangeMetadata/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..c0124743 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/supplementalSemanticIds.xml @@ -0,0 +1,113 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..34922084 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: rangeMetadata/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/valueType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/valueType.xml new file mode 100644 index 00000000..eec76b9a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/valueType.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/valueType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/valueType.xml.exception new file mode 100644 index 00000000..ec565e56 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeMetadata/valueType.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of DataTypeDefXsd: + at: rangeMetadata/valueType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeValue/max.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeValue/max.xml new file mode 100644 index 00000000..f913c350 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeValue/max.xml @@ -0,0 +1,12 @@ + + 12552311.97 + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeValue/max.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeValue/max.xml.exception new file mode 100644 index 00000000..dace9241 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeValue/max.xml.exception @@ -0,0 +1 @@ +The XML content could not be de-serialized as Double: Expected a value as xs:double, but got: at: rangeValue/max \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeValue/min.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeValue/min.xml new file mode 100644 index 00000000..f721247f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeValue/min.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 3242140.56 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeValue/min.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeValue/min.xml.exception new file mode 100644 index 00000000..ba8d1629 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/rangeValue/min.xml.exception @@ -0,0 +1 @@ +The XML content could not be de-serialized as Double: Expected a value as xs:double, but got: at: rangeValue/min \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/keys.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/keys.xml new file mode 100644 index 00000000..d5b759f9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/keys.xml @@ -0,0 +1,13 @@ + + ExternalReference + + ExternalReference + + + GlobalReference + urn:another-example:00:3fff168c + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/keys.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/keys.xml.exception new file mode 100644 index 00000000..18625d65 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/keys.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: reference/keys \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/referredSemanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/referredSemanticId.xml new file mode 100644 index 00000000..65ef34f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/referredSemanticId.xml @@ -0,0 +1,10 @@ + + ExternalReference + Unexpected string value + + + GlobalReference + urn:example:10:6914e6d2 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/referredSemanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/referredSemanticId.xml.exception new file mode 100644 index 00000000..750662ef --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/referredSemanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: reference/referredSemanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/type.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/type.xml new file mode 100644 index 00000000..05c4439d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/type.xml @@ -0,0 +1,26 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:another-example:00:3fff168c + + + + + + GlobalReference + urn:example:10:6914e6d2 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/type.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/type.xml.exception new file mode 100644 index 00000000..0a8b8e8e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/type.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of ReferenceTypes: + at: reference/type \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceAttribute/reference.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceAttribute/reference.xml new file mode 100644 index 00000000..7e2bf287 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceAttribute/reference.xml @@ -0,0 +1,11 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceAttribute/reference.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceAttribute/reference.xml.exception new file mode 100644 index 00000000..cfc40e98 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceAttribute/reference.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element reference, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: referenceAttribute/reference \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/category.xml new file mode 100644 index 00000000..98ed35ed --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/category.xml @@ -0,0 +1,157 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/category.xml.exception new file mode 100644 index 00000000..6ad9bdb1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: referenceElement/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/description.xml new file mode 100644 index 00000000..51027c74 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/description.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/description.xml.exception new file mode 100644 index 00000000..2c3b858e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: referenceElement/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/displayName.xml new file mode 100644 index 00000000..cd1bfb63 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/displayName.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/displayName.xml.exception new file mode 100644 index 00000000..70765be2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: referenceElement/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/embeddedDataSpecifications.xml new file mode 100644 index 00000000..6eef0f74 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/embeddedDataSpecifications.xml @@ -0,0 +1,94 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..81b14151 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: referenceElement/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/extensions.xml new file mode 100644 index 00000000..4f38d0f7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/extensions.xml @@ -0,0 +1,142 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/extensions.xml.exception new file mode 100644 index 00000000..5459beed --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: referenceElement/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/idShort.xml new file mode 100644 index 00000000..dfa19c01 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/idShort.xml @@ -0,0 +1,157 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/idShort.xml.exception new file mode 100644 index 00000000..74596dee --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: referenceElement/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/qualifiers.xml new file mode 100644 index 00000000..cfb1ce50 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/qualifiers.xml @@ -0,0 +1,136 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/qualifiers.xml.exception new file mode 100644 index 00000000..50504e66 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: referenceElement/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/semanticId.xml new file mode 100644 index 00000000..bc645cfb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/semanticId.xml @@ -0,0 +1,141 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/semanticId.xml.exception new file mode 100644 index 00000000..4fa6d670 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: referenceElement/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/supplementalSemanticIds.xml new file mode 100644 index 00000000..80a13fbe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/supplementalSemanticIds.xml @@ -0,0 +1,121 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..3d215033 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: referenceElement/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/value.xml new file mode 100644 index 00000000..bc5f9745 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/value.xml @@ -0,0 +1,141 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/value.xml.exception new file mode 100644 index 00000000..f5d2c3d9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/value.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: referenceElement/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/category.xml new file mode 100644 index 00000000..ddb51898 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/category.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/category.xml.exception new file mode 100644 index 00000000..9d32324e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: referenceElementMetadata/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/description.xml new file mode 100644 index 00000000..0d8a0e09 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/description.xml.exception new file mode 100644 index 00000000..88e10974 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: referenceElementMetadata/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/displayName.xml new file mode 100644 index 00000000..52019a47 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/displayName.xml.exception new file mode 100644 index 00000000..715726a7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: referenceElementMetadata/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..81469ed0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..c4d860da --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: referenceElementMetadata/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/extensions.xml new file mode 100644 index 00000000..c8f108d2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/extensions.xml @@ -0,0 +1,133 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/extensions.xml.exception new file mode 100644 index 00000000..b881bc7b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: referenceElementMetadata/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/idShort.xml new file mode 100644 index 00000000..077abf40 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/idShort.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/idShort.xml.exception new file mode 100644 index 00000000..95e7ad32 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: referenceElementMetadata/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/qualifiers.xml new file mode 100644 index 00000000..911f892e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/qualifiers.xml.exception new file mode 100644 index 00000000..e5ac57c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: referenceElementMetadata/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/semanticId.xml new file mode 100644 index 00000000..9e41c165 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/semanticId.xml @@ -0,0 +1,132 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/semanticId.xml.exception new file mode 100644 index 00000000..3e7f2920 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: referenceElementMetadata/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..8b4817fd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..0dedcf4d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementMetadata/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: referenceElementMetadata/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementValue/keys.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementValue/keys.xml new file mode 100644 index 00000000..ad333d72 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementValue/keys.xml @@ -0,0 +1,13 @@ + + ExternalReference + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-example:00:3fff168c + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementValue/keys.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementValue/keys.xml.exception new file mode 100644 index 00000000..bb8cf98b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementValue/keys.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: referenceElementValue/keys \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementValue/referredSemanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementValue/referredSemanticId.xml new file mode 100644 index 00000000..55b20f47 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementValue/referredSemanticId.xml @@ -0,0 +1,14 @@ + + ExternalReference + + + Entity + 0 + + + RelationshipElement + Ûă<P󨱽²|dnœÞ® + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementValue/referredSemanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementValue/referredSemanticId.xml.exception new file mode 100644 index 00000000..7693904f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementValue/referredSemanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: referenceElementValue/referredSemanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementValue/type.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementValue/type.xml new file mode 100644 index 00000000..b6b4a3f1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementValue/type.xml @@ -0,0 +1,30 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + Entity + 0 + + + RelationshipElement + Ûă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:another-example:00:3fff168c + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementValue/type.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementValue/type.xml.exception new file mode 100644 index 00000000..f9264ddc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElementValue/type.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of ReferenceTypes: + at: referenceElementValue/type \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/regexComparison/regex.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/regexComparison/regex.xml new file mode 100644 index 00000000..49897dd4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/regexComparison/regex.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/regexComparison/regex.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/regexComparison/regex.xml.exception new file mode 100644 index 00000000..7d49a886 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/regexComparison/regex.xml.exception @@ -0,0 +1 @@ +Expected a start element of the item 0 of the tuple, but got an XML Characters at: regexComparison/regex \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/category.xml new file mode 100644 index 00000000..e84474d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/category.xml @@ -0,0 +1,166 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/category.xml.exception new file mode 100644 index 00000000..ddf20d2e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: relationshipElement/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/description.xml new file mode 100644 index 00000000..0b7e2e83 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/description.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/description.xml.exception new file mode 100644 index 00000000..8f47b7cb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: relationshipElement/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/displayName.xml new file mode 100644 index 00000000..d30421c3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/displayName.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/displayName.xml.exception new file mode 100644 index 00000000..8ec1ec3a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: relationshipElement/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/embeddedDataSpecifications.xml new file mode 100644 index 00000000..ae74bdb0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/embeddedDataSpecifications.xml @@ -0,0 +1,103 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..0a352b67 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: relationshipElement/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/extensions.xml new file mode 100644 index 00000000..4fa48782 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/extensions.xml @@ -0,0 +1,151 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/extensions.xml.exception new file mode 100644 index 00000000..13488d93 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: relationshipElement/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/first.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/first.xml new file mode 100644 index 00000000..f4bc3acb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/first.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/first.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/first.xml.exception new file mode 100644 index 00000000..0f640e05 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/first.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: relationshipElement/first \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/idShort.xml new file mode 100644 index 00000000..93c358ff --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/idShort.xml @@ -0,0 +1,166 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/idShort.xml.exception new file mode 100644 index 00000000..a4de0385 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: relationshipElement/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/qualifiers.xml new file mode 100644 index 00000000..de0ab0b1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/qualifiers.xml @@ -0,0 +1,145 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/qualifiers.xml.exception new file mode 100644 index 00000000..a29ca489 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: relationshipElement/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/second.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/second.xml new file mode 100644 index 00000000..6d380f92 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/second.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/second.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/second.xml.exception new file mode 100644 index 00000000..8a8220b9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/second.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: relationshipElement/second \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/semanticId.xml new file mode 100644 index 00000000..1989677d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/semanticId.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/semanticId.xml.exception new file mode 100644 index 00000000..764e9221 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: relationshipElement/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/supplementalSemanticIds.xml new file mode 100644 index 00000000..62611729 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/supplementalSemanticIds.xml @@ -0,0 +1,130 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..1b32bdf9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: relationshipElement/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/category.xml new file mode 100644 index 00000000..8d9a9b51 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/category.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/category.xml.exception new file mode 100644 index 00000000..5501fa1d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: relationshipElementMetadata/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/description.xml new file mode 100644 index 00000000..2a9eb979 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/description.xml.exception new file mode 100644 index 00000000..4c5bed60 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: relationshipElementMetadata/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/displayName.xml new file mode 100644 index 00000000..c1c18e2b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/displayName.xml.exception new file mode 100644 index 00000000..b9f741b1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: relationshipElementMetadata/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..c1528510 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..7c4d10eb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: relationshipElementMetadata/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/extensions.xml new file mode 100644 index 00000000..24b667a9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/extensions.xml @@ -0,0 +1,133 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/extensions.xml.exception new file mode 100644 index 00000000..554fb6b0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: relationshipElementMetadata/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/idShort.xml new file mode 100644 index 00000000..be19ff93 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/idShort.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/idShort.xml.exception new file mode 100644 index 00000000..f56b2417 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: relationshipElementMetadata/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/qualifiers.xml new file mode 100644 index 00000000..808bad8e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/qualifiers.xml.exception new file mode 100644 index 00000000..4849b248 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: relationshipElementMetadata/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/semanticId.xml new file mode 100644 index 00000000..4ab9b99b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/semanticId.xml @@ -0,0 +1,132 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/semanticId.xml.exception new file mode 100644 index 00000000..f2e1062b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: relationshipElementMetadata/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..31813e8e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..fd494826 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementMetadata/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: relationshipElementMetadata/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementValue/first.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementValue/first.xml new file mode 100644 index 00000000..8131707c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementValue/first.xml @@ -0,0 +1,12 @@ + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementValue/first.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementValue/first.xml.exception new file mode 100644 index 00000000..9b2a92cf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementValue/first.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: relationshipElementValue/first \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementValue/second.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementValue/second.xml new file mode 100644 index 00000000..5bdda291 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementValue/second.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementValue/second.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementValue/second.xml.exception new file mode 100644 index 00000000..a37eb702 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElementValue/second.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: relationshipElementValue/second \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/contentType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/contentType.xml new file mode 100644 index 00000000..705918c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/contentType.xml @@ -0,0 +1,12 @@ + + #; + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/contentType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/contentType.xml.exception new file mode 100644 index 00000000..c720b6d1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/contentType.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element contentType, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: resource/contentType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/path.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/path.xml new file mode 100644 index 00000000..cc08faaa --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/path.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/path.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/path.xml.exception new file mode 100644 index 00000000..a7e1bd02 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/path.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element path, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: resource/path \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/result/messages.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/result/messages.xml new file mode 100644 index 00000000..25dda89c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/result/messages.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/result/messages.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/result/messages.xml.exception new file mode 100644 index 00000000..5f7d418a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/result/messages.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: result/messages \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/securityAttributeObject/key.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/securityAttributeObject/key.xml new file mode 100644 index 00000000..504f863e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/securityAttributeObject/key.xml @@ -0,0 +1,13 @@ + + W3C_DID + + ExternalReference + + + GlobalReference + unexpected reference + + + + something_472688c5 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/securityAttributeObject/key.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/securityAttributeObject/key.xml.exception new file mode 100644 index 00000000..61c486e0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/securityAttributeObject/key.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element key, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: securityAttributeObject/key \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/securityAttributeObject/type.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/securityAttributeObject/type.xml new file mode 100644 index 00000000..800ebf76 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/securityAttributeObject/type.xml @@ -0,0 +1,13 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + something_18d259b9 + something_472688c5 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/securityAttributeObject/type.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/securityAttributeObject/type.xml.exception new file mode 100644 index 00000000..2088b7a4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/securityAttributeObject/type.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of SecurityTypeEnum: + at: securityAttributeObject/type \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/securityAttributeObject/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/securityAttributeObject/value.xml new file mode 100644 index 00000000..047d79d9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/securityAttributeObject/value.xml @@ -0,0 +1,13 @@ + + W3C_DID + something_18d259b9 + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/securityAttributeObject/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/securityAttributeObject/value.xml.exception new file mode 100644 index 00000000..9b051aed --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/securityAttributeObject/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: securityAttributeObject/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/serviceDescription/profiles.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/serviceDescription/profiles.xml new file mode 100644 index 00000000..6d68d155 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/serviceDescription/profiles.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/serviceDescription/profiles.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/serviceDescription/profiles.xml.exception new file mode 100644 index 00000000..380cc087 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/serviceDescription/profiles.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: serviceDescription/profiles \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/externalSubjectId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/externalSubjectId.xml new file mode 100644 index 00000000..749df117 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/externalSubjectId.xml @@ -0,0 +1,43 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + 򤑌M𪠇𛔊򂄲 + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/externalSubjectId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/externalSubjectId.xml.exception new file mode 100644 index 00000000..613c6a4a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/externalSubjectId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: specificAssetId/externalSubjectId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/name.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/name.xml new file mode 100644 index 00000000..48abe06e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/name.xml @@ -0,0 +1,59 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 򤑌M𪠇𛔊򂄲 + + ExternalReference + + + GlobalReference + urn:an-example:01:3a080c99 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/name.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/name.xml.exception new file mode 100644 index 00000000..02d687a7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/name.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element name, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: specificAssetId/name \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/semanticId.xml new file mode 100644 index 00000000..88fbdda5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/semanticId.xml @@ -0,0 +1,43 @@ + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + 򤑌M𪠇𛔊򂄲 + + ExternalReference + + + GlobalReference + urn:an-example:01:3a080c99 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/semanticId.xml.exception new file mode 100644 index 00000000..68f3a8dd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: specificAssetId/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/supplementalSemanticIds.xml new file mode 100644 index 00000000..a50cd0bf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/supplementalSemanticIds.xml @@ -0,0 +1,23 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + Ûă<P󨱽²|dnœÞ® + 򤑌M𪠇𛔊򂄲 + + ExternalReference + + + GlobalReference + urn:an-example:01:3a080c99 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..ef716994 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: specificAssetId/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/value.xml new file mode 100644 index 00000000..e3fb26b1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/value.xml @@ -0,0 +1,59 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:an-example:01:3a080c99 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/value.xml.exception new file mode 100644 index 00000000..46e628f1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: specificAssetId/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/startsWithComparison/startsWith.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/startsWithComparison/startsWith.xml new file mode 100644 index 00000000..de950dea --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/startsWithComparison/startsWith.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/startsWithComparison/startsWith.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/startsWithComparison/startsWith.xml.exception new file mode 100644 index 00000000..4c448437 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/startsWithComparison/startsWith.xml.exception @@ -0,0 +1 @@ +Expected a start element of the item 0 of the tuple, but got an XML Characters at: startsWithComparison/startsWith \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/stringCast/strCast.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/stringCast/strCast.xml new file mode 100644 index 00000000..a2319355 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/stringCast/strCast.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/stringCast/strCast.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/stringCast/strCast.xml.exception new file mode 100644 index 00000000..bdd72fed --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/stringCast/strCast.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: stringCast/strCast \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/stringLiteral/strVal.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/stringLiteral/strVal.xml new file mode 100644 index 00000000..e34c4e53 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/stringLiteral/strVal.xml @@ -0,0 +1,11 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/stringLiteral/strVal.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/stringLiteral/strVal.xml.exception new file mode 100644 index 00000000..1015a79e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/stringLiteral/strVal.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element strVal, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: stringLiteral/strVal \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/administration.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/administration.xml new file mode 100644 index 00000000..d7d73c79 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/administration.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/administration.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/administration.xml.exception new file mode 100644 index 00000000..9fe3a062 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/administration.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: submodel/administration \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/category.xml new file mode 100644 index 00000000..b97e6217 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/category.xml @@ -0,0 +1,160 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/category.xml.exception new file mode 100644 index 00000000..115e1240 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: submodel/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/description.xml new file mode 100644 index 00000000..559a7ba0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/description.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/description.xml.exception new file mode 100644 index 00000000..87d49632 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodel/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/displayName.xml new file mode 100644 index 00000000..ca31e865 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/displayName.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/displayName.xml.exception new file mode 100644 index 00000000..02b0bb49 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodel/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/embeddedDataSpecifications.xml new file mode 100644 index 00000000..9689de06 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/embeddedDataSpecifications.xml @@ -0,0 +1,97 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..293eac24 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodel/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/extensions.xml new file mode 100644 index 00000000..21cc35c8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/extensions.xml @@ -0,0 +1,145 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/extensions.xml.exception new file mode 100644 index 00000000..9f252e1e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodel/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/id.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/id.xml new file mode 100644 index 00000000..c27b0423 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/id.xml @@ -0,0 +1,160 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/id.xml.exception new file mode 100644 index 00000000..67e63fe4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/id.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element id, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: submodel/id \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/idShort.xml new file mode 100644 index 00000000..bb98eeb1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/idShort.xml @@ -0,0 +1,160 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/idShort.xml.exception new file mode 100644 index 00000000..84cd1847 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: submodel/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/kind.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/kind.xml new file mode 100644 index 00000000..14e77ff5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/kind.xml @@ -0,0 +1,160 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/kind.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/kind.xml.exception new file mode 100644 index 00000000..71d012f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/kind.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of ModellingKind: + at: submodel/kind \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/qualifiers.xml new file mode 100644 index 00000000..4b4d0a10 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/qualifiers.xml @@ -0,0 +1,139 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/qualifiers.xml.exception new file mode 100644 index 00000000..8dfab1f9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodel/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/semanticId.xml new file mode 100644 index 00000000..ca5dbee1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/semanticId.xml @@ -0,0 +1,144 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/semanticId.xml.exception new file mode 100644 index 00000000..e4ab4572 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: submodel/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/submodelElements.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/submodelElements.xml new file mode 100644 index 00000000..1d32283f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/submodelElements.xml @@ -0,0 +1,144 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/submodelElements.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/submodelElements.xml.exception new file mode 100644 index 00000000..8b282dab --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/submodelElements.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodel/submodelElements \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/supplementalSemanticIds.xml new file mode 100644 index 00000000..35fd5d31 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/supplementalSemanticIds.xml @@ -0,0 +1,124 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..87dd1190 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodel/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/administration.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/administration.xml new file mode 100644 index 00000000..f5fed33a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/administration.xml @@ -0,0 +1,91 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + Unexpected string value + <ă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/administration.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/administration.xml.exception new file mode 100644 index 00000000..fc256ded --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/administration.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: submodelDescriptor/administration \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/description.xml new file mode 100644 index 00000000..f51d75e0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/description.xml @@ -0,0 +1,82 @@ + + Unexpected string value + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + + <ă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/description.xml.exception new file mode 100644 index 00000000..fb7179c7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelDescriptor/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/displayName.xml new file mode 100644 index 00000000..66b535da --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/displayName.xml @@ -0,0 +1,82 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + + <ă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/displayName.xml.exception new file mode 100644 index 00000000..f77f0472 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelDescriptor/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/endpoints.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/endpoints.xml new file mode 100644 index 00000000..8160808e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/endpoints.xml @@ -0,0 +1,72 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + Unexpected string value + 0 + + <ă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/endpoints.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/endpoints.xml.exception new file mode 100644 index 00000000..05920cd6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/endpoints.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelDescriptor/endpoints \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/extensions.xml new file mode 100644 index 00000000..fb9b542f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/extensions.xml @@ -0,0 +1,84 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + + <ă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/extensions.xml.exception new file mode 100644 index 00000000..846e78c8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelDescriptor/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/id.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/id.xml new file mode 100644 index 00000000..6d0c338a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/id.xml @@ -0,0 +1,99 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + <ă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/id.xml.exception new file mode 100644 index 00000000..64399d2e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/id.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element id, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: submodelDescriptor/id \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/idShort.xml new file mode 100644 index 00000000..bd9dfcda --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/idShort.xml @@ -0,0 +1,99 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/idShort.xml.exception new file mode 100644 index 00000000..682943eb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: submodelDescriptor/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/semanticId.xml new file mode 100644 index 00000000..597b6ea7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/semanticId.xml @@ -0,0 +1,83 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + + <ă<P󨱽²|dnœÞ® + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/semanticId.xml.exception new file mode 100644 index 00000000..f81daf73 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: submodelDescriptor/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/supplementalSemanticIds.xml new file mode 100644 index 00000000..ecc7c291 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/supplementalSemanticIds.xml @@ -0,0 +1,63 @@ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + 0 + + <ă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..71740236 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelDescriptor/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelDescriptor/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/category.xml new file mode 100644 index 00000000..e67bd931 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/category.xml @@ -0,0 +1,171 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/category.xml.exception new file mode 100644 index 00000000..b7542004 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: submodelElementCollection/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/description.xml new file mode 100644 index 00000000..9fef04ba --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/description.xml @@ -0,0 +1,154 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/description.xml.exception new file mode 100644 index 00000000..933dd00b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementCollection/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/displayName.xml new file mode 100644 index 00000000..b0c138d6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/displayName.xml @@ -0,0 +1,154 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/displayName.xml.exception new file mode 100644 index 00000000..acaffa96 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementCollection/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/embeddedDataSpecifications.xml new file mode 100644 index 00000000..23b2c4fe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/embeddedDataSpecifications.xml @@ -0,0 +1,108 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..a9fbc621 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementCollection/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/extensions.xml new file mode 100644 index 00000000..947d62eb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/extensions.xml @@ -0,0 +1,156 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/extensions.xml.exception new file mode 100644 index 00000000..62afeaaf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementCollection/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/idShort.xml new file mode 100644 index 00000000..3f7aa82d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/idShort.xml @@ -0,0 +1,171 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/idShort.xml.exception new file mode 100644 index 00000000..eb2ca806 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: submodelElementCollection/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/qualifiers.xml new file mode 100644 index 00000000..b3fc2189 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/qualifiers.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/qualifiers.xml.exception new file mode 100644 index 00000000..3281225f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementCollection/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/semanticId.xml new file mode 100644 index 00000000..548a69c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/semanticId.xml @@ -0,0 +1,155 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/semanticId.xml.exception new file mode 100644 index 00000000..17f58f45 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: submodelElementCollection/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/supplementalSemanticIds.xml new file mode 100644 index 00000000..55205d0b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/supplementalSemanticIds.xml @@ -0,0 +1,135 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..4c4f3ae7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementCollection/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/value.xml new file mode 100644 index 00000000..00240b53 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/value.xml @@ -0,0 +1,141 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/value.xml.exception new file mode 100644 index 00000000..ba9e3025 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/value.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementCollection/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/category.xml new file mode 100644 index 00000000..0e1cc573 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/category.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/category.xml.exception new file mode 100644 index 00000000..20e09e82 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: submodelElementCollectionMetadata/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/description.xml new file mode 100644 index 00000000..8983d232 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/description.xml.exception new file mode 100644 index 00000000..d51377f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementCollectionMetadata/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/displayName.xml new file mode 100644 index 00000000..bab82ef0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/displayName.xml.exception new file mode 100644 index 00000000..b5d45e43 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementCollectionMetadata/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..6521116d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..a8afe4aa --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementCollectionMetadata/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/extensions.xml new file mode 100644 index 00000000..196216be --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/extensions.xml @@ -0,0 +1,133 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/extensions.xml.exception new file mode 100644 index 00000000..65985c5b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementCollectionMetadata/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/idShort.xml new file mode 100644 index 00000000..fc7ebd4c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/idShort.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/idShort.xml.exception new file mode 100644 index 00000000..58341656 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: submodelElementCollectionMetadata/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/qualifiers.xml new file mode 100644 index 00000000..65cc0811 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/qualifiers.xml.exception new file mode 100644 index 00000000..e2deb8ea --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementCollectionMetadata/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/semanticId.xml new file mode 100644 index 00000000..5f3b8098 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/semanticId.xml @@ -0,0 +1,132 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/semanticId.xml.exception new file mode 100644 index 00000000..58809e5a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: submodelElementCollectionMetadata/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..2e5b61cf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..0f34db2e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollectionMetadata/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementCollectionMetadata/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/category.xml new file mode 100644 index 00000000..615e2a22 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/category.xml @@ -0,0 +1,186 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/category.xml.exception new file mode 100644 index 00000000..47d333ef --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: submodelElementList/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/description.xml new file mode 100644 index 00000000..36ed07df --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/description.xml @@ -0,0 +1,169 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/description.xml.exception new file mode 100644 index 00000000..3eb2fdda --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementList/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/displayName.xml new file mode 100644 index 00000000..db23aaad --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/displayName.xml @@ -0,0 +1,169 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/displayName.xml.exception new file mode 100644 index 00000000..508e2e73 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementList/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/embeddedDataSpecifications.xml new file mode 100644 index 00000000..a2d66aec --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/embeddedDataSpecifications.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..23487deb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementList/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/extensions.xml new file mode 100644 index 00000000..9eb68c52 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/extensions.xml @@ -0,0 +1,171 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/extensions.xml.exception new file mode 100644 index 00000000..8b03695b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementList/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/idShort.xml new file mode 100644 index 00000000..2c154d50 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/idShort.xml @@ -0,0 +1,186 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/idShort.xml.exception new file mode 100644 index 00000000..107b0345 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: submodelElementList/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/orderRelevant.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/orderRelevant.xml new file mode 100644 index 00000000..7a5d1085 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/orderRelevant.xml @@ -0,0 +1,186 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/orderRelevant.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/orderRelevant.xml.exception new file mode 100644 index 00000000..92a9d81c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/orderRelevant.xml.exception @@ -0,0 +1 @@ +The XML content could not be de-serialized as Boolean: Expected a value as xs:boolean, but got: at: submodelElementList/orderRelevant \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/qualifiers.xml new file mode 100644 index 00000000..ff6d956d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/qualifiers.xml @@ -0,0 +1,165 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/qualifiers.xml.exception new file mode 100644 index 00000000..e57aedee --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementList/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticId.xml new file mode 100644 index 00000000..1ad87a40 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticId.xml @@ -0,0 +1,170 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticId.xml.exception new file mode 100644 index 00000000..7444fed0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: submodelElementList/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticIdListElement.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticIdListElement.xml new file mode 100644 index 00000000..33c39c0b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticIdListElement.xml @@ -0,0 +1,170 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + Unexpected string value + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticIdListElement.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticIdListElement.xml.exception new file mode 100644 index 00000000..3c05965b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticIdListElement.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: submodelElementList/semanticIdListElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/supplementalSemanticIds.xml new file mode 100644 index 00000000..62fcc521 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/supplementalSemanticIds.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..e86d96b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementList/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/typeValueListElement.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/typeValueListElement.xml new file mode 100644 index 00000000..41336e9b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/typeValueListElement.xml @@ -0,0 +1,186 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/typeValueListElement.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/typeValueListElement.xml.exception new file mode 100644 index 00000000..d6a33fa8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/typeValueListElement.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of AasSubmodelElements: + at: submodelElementList/typeValueListElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/value.xml new file mode 100644 index 00000000..e4dab50e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/value.xml @@ -0,0 +1,153 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/value.xml.exception new file mode 100644 index 00000000..0367f55d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/value.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementList/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/valueTypeListElement.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/valueTypeListElement.xml new file mode 100644 index 00000000..595689e6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/valueTypeListElement.xml @@ -0,0 +1,186 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/valueTypeListElement.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/valueTypeListElement.xml.exception new file mode 100644 index 00000000..343f2a1b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/valueTypeListElement.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of DataTypeDefXsd: + at: submodelElementList/valueTypeListElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/category.xml new file mode 100644 index 00000000..0d8309e8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/category.xml @@ -0,0 +1,160 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/category.xml.exception new file mode 100644 index 00000000..bb983b93 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: submodelElementListMetadata/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/description.xml new file mode 100644 index 00000000..42805461 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/description.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/description.xml.exception new file mode 100644 index 00000000..92a739ec --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementListMetadata/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/displayName.xml new file mode 100644 index 00000000..4e435f21 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/displayName.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/displayName.xml.exception new file mode 100644 index 00000000..cea50be9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementListMetadata/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..61b03ecf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,97 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..61b792b2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementListMetadata/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/extensions.xml new file mode 100644 index 00000000..e38bf943 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/extensions.xml @@ -0,0 +1,145 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/extensions.xml.exception new file mode 100644 index 00000000..ad086889 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementListMetadata/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/idShort.xml new file mode 100644 index 00000000..131bdc6f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/idShort.xml @@ -0,0 +1,160 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/idShort.xml.exception new file mode 100644 index 00000000..0a795c23 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: submodelElementListMetadata/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/orderRelevant.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/orderRelevant.xml new file mode 100644 index 00000000..00fdb9f1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/orderRelevant.xml @@ -0,0 +1,160 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/orderRelevant.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/orderRelevant.xml.exception new file mode 100644 index 00000000..962858f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/orderRelevant.xml.exception @@ -0,0 +1 @@ +The XML content could not be de-serialized as Boolean: Expected a value as xs:boolean, but got: at: submodelElementListMetadata/orderRelevant \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/qualifiers.xml new file mode 100644 index 00000000..a8739003 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/qualifiers.xml @@ -0,0 +1,139 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/qualifiers.xml.exception new file mode 100644 index 00000000..44d48c51 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementListMetadata/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/semanticId.xml new file mode 100644 index 00000000..7741ddab --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/semanticId.xml @@ -0,0 +1,144 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/semanticId.xml.exception new file mode 100644 index 00000000..87af24ec --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: submodelElementListMetadata/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/semanticIdListElement.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/semanticIdListElement.xml new file mode 100644 index 00000000..34a19ca4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/semanticIdListElement.xml @@ -0,0 +1,144 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + Unexpected string value + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/semanticIdListElement.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/semanticIdListElement.xml.exception new file mode 100644 index 00000000..81228c7c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/semanticIdListElement.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: submodelElementListMetadata/semanticIdListElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..1b55df2b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/supplementalSemanticIds.xml @@ -0,0 +1,124 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..f904b19c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementListMetadata/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/typeValueListElement.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/typeValueListElement.xml new file mode 100644 index 00000000..6c833dde --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/typeValueListElement.xml @@ -0,0 +1,160 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + xs:dateTime + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/typeValueListElement.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/typeValueListElement.xml.exception new file mode 100644 index 00000000..f5f9a903 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/typeValueListElement.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of AasSubmodelElements: + at: submodelElementListMetadata/typeValueListElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/valueTypeListElement.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/valueTypeListElement.xml new file mode 100644 index 00000000..5c99d219 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/valueTypeListElement.xml @@ -0,0 +1,160 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + BasicEventElement + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/valueTypeListElement.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/valueTypeListElement.xml.exception new file mode 100644 index 00000000..77be82b9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementListMetadata/valueTypeListElement.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of DataTypeDefXsd: + at: submodelElementListMetadata/valueTypeListElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/administration.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/administration.xml new file mode 100644 index 00000000..5ff01b14 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/administration.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/administration.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/administration.xml.exception new file mode 100644 index 00000000..765ae56c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/administration.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: submodelMetadata/administration \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/category.xml new file mode 100644 index 00000000..29734f04 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/category.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/category.xml.exception new file mode 100644 index 00000000..e7029b18 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: submodelMetadata/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/description.xml new file mode 100644 index 00000000..04c9d829 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/description.xml @@ -0,0 +1,134 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/description.xml.exception new file mode 100644 index 00000000..7c3b3bbe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelMetadata/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/displayName.xml new file mode 100644 index 00000000..661af5d0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/displayName.xml @@ -0,0 +1,134 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/displayName.xml.exception new file mode 100644 index 00000000..03355691 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelMetadata/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/embeddedDataSpecifications.xml new file mode 100644 index 00000000..fcfb11e7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/embeddedDataSpecifications.xml @@ -0,0 +1,88 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..e87deebb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelMetadata/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/extensions.xml new file mode 100644 index 00000000..beadc4fc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/extensions.xml @@ -0,0 +1,136 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/extensions.xml.exception new file mode 100644 index 00000000..b37a1b2d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelMetadata/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/id.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/id.xml new file mode 100644 index 00000000..9a8bd040 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/id.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/id.xml.exception new file mode 100644 index 00000000..e31f51ef --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/id.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element id, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: submodelMetadata/id \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/idShort.xml new file mode 100644 index 00000000..85f69673 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/idShort.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/idShort.xml.exception new file mode 100644 index 00000000..8ab03737 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: submodelMetadata/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/kind.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/kind.xml new file mode 100644 index 00000000..e828b0cf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/kind.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/kind.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/kind.xml.exception new file mode 100644 index 00000000..fee77f9a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/kind.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of ModellingKind: + at: submodelMetadata/kind \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/qualifiers.xml new file mode 100644 index 00000000..5d209de1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/qualifiers.xml @@ -0,0 +1,130 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/qualifiers.xml.exception new file mode 100644 index 00000000..36661b36 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelMetadata/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/semanticId.xml new file mode 100644 index 00000000..a46eb108 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/semanticId.xml @@ -0,0 +1,135 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/semanticId.xml.exception new file mode 100644 index 00000000..bfcc7f2b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: submodelMetadata/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/supplementalSemanticIds.xml new file mode 100644 index 00000000..7af0857f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/supplementalSemanticIds.xml @@ -0,0 +1,115 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..bb67cdd8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelMetadata/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelMetadata/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/createdAt.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/createdAt.xml new file mode 100644 index 00000000..bc23baa8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/createdAt.xml @@ -0,0 +1,51 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 2022-04-01T24:00:00Z + 0 + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/createdAt.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/createdAt.xml.exception new file mode 100644 index 00000000..36573d0d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/createdAt.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element createdAt, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: submodelRecentChange/createdAt \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/id.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/id.xml new file mode 100644 index 00000000..10d0e620 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/id.xml @@ -0,0 +1,51 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/id.xml.exception new file mode 100644 index 00000000..a8d6820f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/id.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element id, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: submodelRecentChange/id \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/semanticId.xml new file mode 100644 index 00000000..ef2ed2ef --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/semanticId.xml @@ -0,0 +1,35 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + 0 + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/semanticId.xml.exception new file mode 100644 index 00000000..4d995018 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: submodelRecentChange/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/supplementalSemanticIds.xml new file mode 100644 index 00000000..557b3337 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/supplementalSemanticIds.xml @@ -0,0 +1,15 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00Z + 0 + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..79f2ec54 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelRecentChange/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/updatedAt.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/updatedAt.xml new file mode 100644 index 00000000..7406bc67 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/updatedAt.xml @@ -0,0 +1,51 @@ + + 2022-04-01T24:00:00+00:00 + + ExternalReference + + + GlobalReference + unexpected reference + + + + 0 + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/updatedAt.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/updatedAt.xml.exception new file mode 100644 index 00000000..9154ab55 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelRecentChange/updatedAt.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element updatedAt, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: submodelRecentChange/updatedAt \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/timeCast/timeCast.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/timeCast/timeCast.xml new file mode 100644 index 00000000..cd495614 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/timeCast/timeCast.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/timeCast/timeCast.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/timeCast/timeCast.xml.exception new file mode 100644 index 00000000..544a24e0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/timeCast/timeCast.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: timeCast/timeCast \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/timeLiteral/timeVal.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/timeLiteral/timeVal.xml new file mode 100644 index 00000000..63219ce9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/timeLiteral/timeVal.xml @@ -0,0 +1,11 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/timeLiteral/timeVal.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/timeLiteral/timeVal.xml.exception new file mode 100644 index 00000000..2e3ce6db --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/timeLiteral/timeVal.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element timeVal, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: timeLiteral/timeVal \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueList/valueReferencePairs.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueList/valueReferencePairs.xml new file mode 100644 index 00000000..fae434ea --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueList/valueReferencePairs.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueList/valueReferencePairs.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueList/valueReferencePairs.xml.exception new file mode 100644 index 00000000..b0315143 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueList/valueReferencePairs.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: valueList/valueReferencePairs \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/value.xml new file mode 100644 index 00000000..5f6daba8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/value.xml @@ -0,0 +1,20 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/value.xml.exception new file mode 100644 index 00000000..a28007a3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/2']::type> at: valueReferencePair/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/valueId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/valueId.xml new file mode 100644 index 00000000..42f12c9a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/valueId.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/valueId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/valueId.xml.exception new file mode 100644 index 00000000..2d72e552 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/valueId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: valueReferencePair/valueId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/year/year.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/year/year.xml new file mode 100644 index 00000000..761a7937 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/year/year.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/year/year.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/year/year.xml.exception new file mode 100644 index 00000000..a17aa335 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/year/year.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: year/year \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/administrativeInformation/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/administrativeInformation/instance.xml new file mode 100644 index 00000000..95cb5666 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/administrativeInformation/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/administrativeInformation/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/administrativeInformation/instance.xml.exception new file mode 100644 index 00000000..f6583209 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/administrativeInformation/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class AdministrativeInformation, but got an unexpected element with the name unexpectedAdditionalProperty at: administrativeInformation \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/andExpression/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/andExpression/instance.xml new file mode 100644 index 00000000..b1a02fc3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/andExpression/instance.xml @@ -0,0 +1,25 @@ + + + + + + $aas#idShort + + + $aasdesc#endpoints[0].protocolinformation.href + + + + + + + something_b589635f + + + something_cf0bb8c6 + + + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/andExpression/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/andExpression/instance.xml.exception new file mode 100644 index 00000000..97081e4e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/andExpression/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class AndExpression, but got an unexpected element with the name unexpectedAdditionalProperty at: andExpression \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElement/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElement/instance.xml new file mode 100644 index 00000000..5a22f96d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElement/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElement/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElement/instance.xml.exception new file mode 100644 index 00000000..8ee6d4a1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElement/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class AnnotatedRelationshipElement, but got an unexpected element with the name unexpectedAdditionalProperty at: annotatedRelationshipElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElementMetadata/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElementMetadata/instance.xml new file mode 100644 index 00000000..6ee3e0a9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElementMetadata/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElementMetadata/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElementMetadata/instance.xml.exception new file mode 100644 index 00000000..0dd6c9f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElementMetadata/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class AnnotatedRelationshipElementMetadata, but got an unexpected element with the name unexpectedAdditionalProperty at: annotatedRelationshipElementMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElementValue/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElementValue/instance.xml new file mode 100644 index 00000000..5cf8245f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElementValue/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElementValue/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElementValue/instance.xml.exception new file mode 100644 index 00000000..e5d21ffd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElementValue/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class AnnotatedRelationshipElementValue, but got an unexpected element with the name unexpectedAdditionalProperty at: annotatedRelationshipElementValue \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShell/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShell/instance.xml new file mode 100644 index 00000000..cf4036f7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShell/instance.xml @@ -0,0 +1,8 @@ + + 0 + + Batch + 6 + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShell/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShell/instance.xml.exception new file mode 100644 index 00000000..c361e5b7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShell/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class AssetAdministrationShell, but got an unexpected element with the name unexpectedAdditionalProperty at: assetAdministrationShell \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShellDescriptor/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShellDescriptor/instance.xml new file mode 100644 index 00000000..a090880f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShellDescriptor/instance.xml @@ -0,0 +1,4 @@ + + 0 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShellDescriptor/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShellDescriptor/instance.xml.exception new file mode 100644 index 00000000..3c282dd8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShellDescriptor/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class AssetAdministrationShellDescriptor, but got an unexpected element with the name unexpectedAdditionalProperty at: assetAdministrationShellDescriptor \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShellMetadata/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShellMetadata/instance.xml new file mode 100644 index 00000000..038c5927 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShellMetadata/instance.xml @@ -0,0 +1,4 @@ + + 0 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShellMetadata/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShellMetadata/instance.xml.exception new file mode 100644 index 00000000..2f82c1ab --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShellMetadata/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class AssetAdministrationShellMetadata, but got an unexpected element with the name unexpectedAdditionalProperty at: assetAdministrationShellMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShellRecentChange/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShellRecentChange/instance.xml new file mode 100644 index 00000000..dd9520b8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShellRecentChange/instance.xml @@ -0,0 +1,6 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShellRecentChange/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShellRecentChange/instance.xml.exception new file mode 100644 index 00000000..c03dc624 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShellRecentChange/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class AssetAdministrationShellRecentChange, but got an unexpected element with the name unexpectedAdditionalProperty at: assetAdministrationShellRecentChange \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetInformation/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetInformation/instance.xml new file mode 100644 index 00000000..fdd6ce88 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetInformation/instance.xml @@ -0,0 +1,5 @@ + + Batch + 0 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetInformation/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetInformation/instance.xml.exception new file mode 100644 index 00000000..c23a9e72 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetInformation/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class AssetInformation, but got an unexpected element with the name unexpectedAdditionalProperty at: assetInformation \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetLink/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetLink/instance.xml new file mode 100644 index 00000000..feb671c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetLink/instance.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + 𠤢4𠤢 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetLink/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetLink/instance.xml.exception new file mode 100644 index 00000000..cd42daa6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetLink/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class AssetLink, but got an unexpected element with the name unexpectedAdditionalProperty at: assetLink \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/attributeOperand/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/attributeOperand/instance.xml new file mode 100644 index 00000000..e45fc63b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/attributeOperand/instance.xml @@ -0,0 +1,8 @@ + + + + something_00860a04 + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/attributeOperand/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/attributeOperand/instance.xml.exception new file mode 100644 index 00000000..4c67fdbc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/attributeOperand/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class AttributeOperand, but got an unexpected element with the name unexpectedAdditionalProperty at: attributeOperand \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/baseOperationResult/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/baseOperationResult/instance.xml new file mode 100644 index 00000000..5f2748f5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/baseOperationResult/instance.xml @@ -0,0 +1,4 @@ + + Running + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/baseOperationResult/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/baseOperationResult/instance.xml.exception new file mode 100644 index 00000000..7bf2a6c6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/baseOperationResult/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class BaseOperationResult, but got an unexpected element with the name unexpectedAdditionalProperty at: baseOperationResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElement/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElement/instance.xml new file mode 100644 index 00000000..725c323e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElement/instance.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElement/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElement/instance.xml.exception new file mode 100644 index 00000000..dd1637fd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElement/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class BasicEventElement, but got an unexpected element with the name unexpectedAdditionalProperty at: basicEventElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElementMetadata/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElementMetadata/instance.xml new file mode 100644 index 00000000..40b2fa13 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElementMetadata/instance.xml @@ -0,0 +1,5 @@ + + input + on + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElementMetadata/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElementMetadata/instance.xml.exception new file mode 100644 index 00000000..d864d177 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElementMetadata/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class BasicEventElementMetadata, but got an unexpected element with the name unexpectedAdditionalProperty at: basicEventElementMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElementValue/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElementValue/instance.xml new file mode 100644 index 00000000..9b74378a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElementValue/instance.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + urn:yet-another-company:02:3262900a + + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElementValue/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElementValue/instance.xml.exception new file mode 100644 index 00000000..3b25ba6b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElementValue/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class BasicEventElementValue, but got an unexpected element with the name unexpectedAdditionalProperty at: basicEventElementValue \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blob/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blob/instance.xml new file mode 100644 index 00000000..74c553b5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blob/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blob/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blob/instance.xml.exception new file mode 100644 index 00000000..bf2f8551 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blob/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Blob, but got an unexpected element with the name unexpectedAdditionalProperty at: blob \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blobMetadata/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blobMetadata/instance.xml new file mode 100644 index 00000000..e95db95c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blobMetadata/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blobMetadata/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blobMetadata/instance.xml.exception new file mode 100644 index 00000000..d340520d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blobMetadata/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class BlobMetadata, but got an unexpected element with the name unexpectedAdditionalProperty at: blobMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blobValue/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blobValue/instance.xml new file mode 100644 index 00000000..42d64da6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blobValue/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blobValue/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blobValue/instance.xml.exception new file mode 100644 index 00000000..92e1fb67 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blobValue/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class BlobValue, but got an unexpected element with the name unexpectedAdditionalProperty at: blobValue \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/booleanCast/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/booleanCast/instance.xml new file mode 100644 index 00000000..a87c4e7a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/booleanCast/instance.xml @@ -0,0 +1,8 @@ + + + + something_a3fe9637 + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/booleanCast/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/booleanCast/instance.xml.exception new file mode 100644 index 00000000..9cde838f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/booleanCast/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class BooleanCast, but got an unexpected element with the name unexpectedAdditionalProperty at: booleanCast \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/booleanLiteral/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/booleanLiteral/instance.xml new file mode 100644 index 00000000..9424453d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/booleanLiteral/instance.xml @@ -0,0 +1,4 @@ + + false + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/booleanLiteral/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/booleanLiteral/instance.xml.exception new file mode 100644 index 00000000..338b6164 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/booleanLiteral/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class BooleanLiteral, but got an unexpected element with the name unexpectedAdditionalProperty at: booleanLiteral \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/capability/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/capability/instance.xml new file mode 100644 index 00000000..ffcbd931 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/capability/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/capability/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/capability/instance.xml.exception new file mode 100644 index 00000000..d03912cf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/capability/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Capability, but got an unexpected element with the name unexpectedAdditionalProperty at: capability \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/capabilityMetadata/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/capabilityMetadata/instance.xml new file mode 100644 index 00000000..fa87ab97 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/capabilityMetadata/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/capabilityMetadata/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/capabilityMetadata/instance.xml.exception new file mode 100644 index 00000000..75d55ea7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/capabilityMetadata/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class CapabilityMetadata, but got an unexpected element with the name unexpectedAdditionalProperty at: capabilityMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/claimAttribute/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/claimAttribute/instance.xml new file mode 100644 index 00000000..fe2b8b7e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/claimAttribute/instance.xml @@ -0,0 +1,4 @@ + + something_a8aab6e9 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/claimAttribute/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/claimAttribute/instance.xml.exception new file mode 100644 index 00000000..95900fb2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/claimAttribute/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class ClaimAttribute, but got an unexpected element with the name unexpectedAdditionalProperty at: claimAttribute \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/conceptDescription/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/conceptDescription/instance.xml new file mode 100644 index 00000000..4644305c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/conceptDescription/instance.xml @@ -0,0 +1,4 @@ + + 0 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/conceptDescription/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/conceptDescription/instance.xml.exception new file mode 100644 index 00000000..31ff75d0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/conceptDescription/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class ConceptDescription, but got an unexpected element with the name unexpectedAdditionalProperty at: conceptDescription \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/conceptDescriptionRecentChange/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/conceptDescriptionRecentChange/instance.xml new file mode 100644 index 00000000..95ccda03 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/conceptDescriptionRecentChange/instance.xml @@ -0,0 +1,6 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/conceptDescriptionRecentChange/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/conceptDescriptionRecentChange/instance.xml.exception new file mode 100644 index 00000000..a3e79783 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/conceptDescriptionRecentChange/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class ConceptDescriptionRecentChange, but got an unexpected element with the name unexpectedAdditionalProperty at: conceptDescriptionRecentChange \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/containsComparison/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/containsComparison/instance.xml new file mode 100644 index 00000000..a6267e5b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/containsComparison/instance.xml @@ -0,0 +1,15 @@ + + + + + + something_aa87dee6 + + + + + $sme.list[3].prop#valueType + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/containsComparison/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/containsComparison/instance.xml.exception new file mode 100644 index 00000000..039c0c14 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/containsComparison/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class ContainsComparison, but got an unexpected element with the name unexpectedAdditionalProperty at: containsComparison \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dataSpecificationIec61360/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dataSpecificationIec61360/instance.xml new file mode 100644 index 00000000..673633d7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dataSpecificationIec61360/instance.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dataSpecificationIec61360/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dataSpecificationIec61360/instance.xml.exception new file mode 100644 index 00000000..a1ba4339 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dataSpecificationIec61360/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class DataSpecificationIec61360, but got an unexpected element with the name unexpectedAdditionalProperty at: dataSpecificationIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dataSpecificationUom/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dataSpecificationUom/instance.xml new file mode 100644 index 00000000..a6bbb25d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dataSpecificationUom/instance.xml @@ -0,0 +1,10 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dataSpecificationUom/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dataSpecificationUom/instance.xml.exception new file mode 100644 index 00000000..f3758b36 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dataSpecificationUom/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class DataSpecificationUom, but got an unexpected element with the name unexpectedAdditionalProperty at: dataSpecificationUom \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeAttributeItem/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeAttributeItem/instance.xml new file mode 100644 index 00000000..ff3491ef --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeAttributeItem/instance.xml @@ -0,0 +1,4 @@ + + LOCALNOW + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeAttributeItem/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeAttributeItem/instance.xml.exception new file mode 100644 index 00000000..561db945 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeAttributeItem/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class DateTimeAttributeItem, but got an unexpected element with the name unexpectedAdditionalProperty at: dateTimeAttributeItem \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeAttributeOperand/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeAttributeOperand/instance.xml new file mode 100644 index 00000000..582b4efe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeAttributeOperand/instance.xml @@ -0,0 +1,6 @@ + + + CLIENTNOW + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeAttributeOperand/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeAttributeOperand/instance.xml.exception new file mode 100644 index 00000000..9de579f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeAttributeOperand/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class DateTimeAttributeOperand, but got an unexpected element with the name unexpectedAdditionalProperty at: dateTimeAttributeOperand \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeCast/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeCast/instance.xml new file mode 100644 index 00000000..137a90e9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeCast/instance.xml @@ -0,0 +1,8 @@ + + + + something_431540db + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeCast/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeCast/instance.xml.exception new file mode 100644 index 00000000..b138df6a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeCast/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class DateTimeCast, but got an unexpected element with the name unexpectedAdditionalProperty at: dateTimeCast \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeLiteral/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeLiteral/instance.xml new file mode 100644 index 00000000..bd49d891 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeLiteral/instance.xml @@ -0,0 +1,4 @@ + + 2024-03-0112:00:00Z + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeLiteral/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeLiteral/instance.xml.exception new file mode 100644 index 00000000..52bbeae1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dateTimeLiteral/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class DateTimeLiteral, but got an unexpected element with the name unexpectedAdditionalProperty at: dateTimeLiteral \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dayOfMonth/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dayOfMonth/instance.xml new file mode 100644 index 00000000..fb420302 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dayOfMonth/instance.xml @@ -0,0 +1,10 @@ + + + + + LOCALNOW + + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dayOfMonth/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dayOfMonth/instance.xml.exception new file mode 100644 index 00000000..73bf0779 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dayOfMonth/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class DayOfMonth, but got an unexpected element with the name unexpectedAdditionalProperty at: dayOfMonth \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dayOfWeek/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dayOfWeek/instance.xml new file mode 100644 index 00000000..25579ee1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dayOfWeek/instance.xml @@ -0,0 +1,8 @@ + + + + 2023-12-31T23:59 + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dayOfWeek/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dayOfWeek/instance.xml.exception new file mode 100644 index 00000000..5448fd49 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dayOfWeek/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class DayOfWeek, but got an unexpected element with the name unexpectedAdditionalProperty at: dayOfWeek \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/definitionTypeUom/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/definitionTypeUom/instance.xml new file mode 100644 index 00000000..f3d759a4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/definitionTypeUom/instance.xml @@ -0,0 +1,5 @@ + + en-JM-x-8fafefb1 + J5 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/definitionTypeUom/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/definitionTypeUom/instance.xml.exception new file mode 100644 index 00000000..afd97fba --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/definitionTypeUom/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class DefinitionTypeUom, but got an unexpected element with the name unexpectedAdditionalProperty at: definitionTypeUom \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/embeddedDataSpecification/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/embeddedDataSpecification/instance.xml new file mode 100644 index 00000000..48e2506f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/embeddedDataSpecification/instance.xml @@ -0,0 +1,23 @@ + + + ExternalReference + + + GlobalReference + urn:some-company:10:9ac9d1a6 + + + + + + + + en-JM-x-b435b532 + 0 + + + <ă<P󨱽²|dnœÞ® + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/embeddedDataSpecification/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/embeddedDataSpecification/instance.xml.exception new file mode 100644 index 00000000..4602af85 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/embeddedDataSpecification/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class EmbeddedDataSpecification, but got an unexpected element with the name unexpectedAdditionalProperty at: embeddedDataSpecification \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/endpoint/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/endpoint/instance.xml new file mode 100644 index 00000000..d5045566 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/endpoint/instance.xml @@ -0,0 +1,7 @@ + + + something_72d646a9 + + <ă<P󨱽²|dnœÞ® + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/endpoint/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/endpoint/instance.xml.exception new file mode 100644 index 00000000..6dde4f75 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/endpoint/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Endpoint, but got an unexpected element with the name unexpectedAdditionalProperty at: endpoint \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/endsWithComparison/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/endsWithComparison/instance.xml new file mode 100644 index 00000000..b4c2401e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/endsWithComparison/instance.xml @@ -0,0 +1,15 @@ + + + + + + $sm("a\"b")#id + + + + + $aas#assetInformation.assetKind + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/endsWithComparison/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/endsWithComparison/instance.xml.exception new file mode 100644 index 00000000..b36fe451 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/endsWithComparison/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class EndsWithComparison, but got an unexpected element with the name unexpectedAdditionalProperty at: endsWithComparison \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entity/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entity/instance.xml new file mode 100644 index 00000000..f1d548a3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entity/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entity/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entity/instance.xml.exception new file mode 100644 index 00000000..4be1daab --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entity/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Entity, but got an unexpected element with the name unexpectedAdditionalProperty at: entity \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entityMetadata/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entityMetadata/instance.xml new file mode 100644 index 00000000..80a040f5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entityMetadata/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entityMetadata/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entityMetadata/instance.xml.exception new file mode 100644 index 00000000..c3f64f00 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entityMetadata/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class EntityMetadata, but got an unexpected element with the name unexpectedAdditionalProperty at: entityMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entityValue/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entityValue/instance.xml new file mode 100644 index 00000000..365988e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entityValue/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entityValue/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entityValue/instance.xml.exception new file mode 100644 index 00000000..71322d13 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entityValue/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class EntityValue, but got an unexpected element with the name unexpectedAdditionalProperty at: entityValue \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/environment/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/environment/instance.xml new file mode 100644 index 00000000..c7006459 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/environment/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/environment/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/environment/instance.xml.exception new file mode 100644 index 00000000..2fe625c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/environment/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Environment, but got an unexpected element with the name unexpectedAdditionalProperty at: environment \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/equalComparison/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/equalComparison/instance.xml new file mode 100644 index 00000000..1fe9ed8b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/equalComparison/instance.xml @@ -0,0 +1,11 @@ + + + + 2023-01-01T24:00:00 + + + 2023-01-01T00:00:00.123+01:00 + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/equalComparison/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/equalComparison/instance.xml.exception new file mode 100644 index 00000000..6c4eed57 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/equalComparison/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class EqualComparison, but got an unexpected element with the name unexpectedAdditionalProperty at: equalComparison \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/eventPayload/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/eventPayload/instance.xml new file mode 100644 index 00000000..dc8a5362 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/eventPayload/instance.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T24:00:00-00:00 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/eventPayload/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/eventPayload/instance.xml.exception new file mode 100644 index 00000000..b48f1366 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/eventPayload/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class EventPayload, but got an unexpected element with the name unexpectedAdditionalProperty at: eventPayload \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/extension/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/extension/instance.xml new file mode 100644 index 00000000..d29a2794 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/extension/instance.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/extension/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/extension/instance.xml.exception new file mode 100644 index 00000000..d45482ae --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/extension/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Extension, but got an unexpected element with the name unexpectedAdditionalProperty at: extension \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/fieldOperand/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/fieldOperand/instance.xml new file mode 100644 index 00000000..f6fa8821 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/fieldOperand/instance.xml @@ -0,0 +1,4 @@ + + $sme.someCollection.someProperty#value + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/fieldOperand/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/fieldOperand/instance.xml.exception new file mode 100644 index 00000000..fced130e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/fieldOperand/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class FieldOperand, but got an unexpected element with the name unexpectedAdditionalProperty at: fieldOperand \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/file/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/file/instance.xml new file mode 100644 index 00000000..bcead6c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/file/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/file/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/file/instance.xml.exception new file mode 100644 index 00000000..380166db --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/file/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class File, but got an unexpected element with the name unexpectedAdditionalProperty at: file \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/fileMetadata/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/fileMetadata/instance.xml new file mode 100644 index 00000000..8e73f675 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/fileMetadata/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/fileMetadata/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/fileMetadata/instance.xml.exception new file mode 100644 index 00000000..b7d6926c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/fileMetadata/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class FileMetadata, but got an unexpected element with the name unexpectedAdditionalProperty at: fileMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/fileValue/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/fileValue/instance.xml new file mode 100644 index 00000000..a60ed9e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/fileValue/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/fileValue/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/fileValue/instance.xml.exception new file mode 100644 index 00000000..73d5b4d7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/fileValue/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class FileValue, but got an unexpected element with the name unexpectedAdditionalProperty at: fileValue \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAllAssetAdministrationShellsRecentChangesResult/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAllAssetAdministrationShellsRecentChangesResult/instance.xml new file mode 100644 index 00000000..014515f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAllAssetAdministrationShellsRecentChangesResult/instance.xml @@ -0,0 +1,4 @@ + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAllAssetAdministrationShellsRecentChangesResult/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAllAssetAdministrationShellsRecentChangesResult/instance.xml.exception new file mode 100644 index 00000000..a2b62854 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAllAssetAdministrationShellsRecentChangesResult/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class GetAllAssetAdministrationShellsRecentChangesResult, but got an unexpected element with the name unexpectedAdditionalProperty at: getAllAssetAdministrationShellsRecentChangesResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAllConceptDescriptionsRecentChangesResult/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAllConceptDescriptionsRecentChangesResult/instance.xml new file mode 100644 index 00000000..445c0264 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAllConceptDescriptionsRecentChangesResult/instance.xml @@ -0,0 +1,4 @@ + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAllConceptDescriptionsRecentChangesResult/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAllConceptDescriptionsRecentChangesResult/instance.xml.exception new file mode 100644 index 00000000..ca31af38 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAllConceptDescriptionsRecentChangesResult/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class GetAllConceptDescriptionsRecentChangesResult, but got an unexpected element with the name unexpectedAdditionalProperty at: getAllConceptDescriptionsRecentChangesResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAllSubmodelsRecentChangesResult/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAllSubmodelsRecentChangesResult/instance.xml new file mode 100644 index 00000000..715de2bf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAllSubmodelsRecentChangesResult/instance.xml @@ -0,0 +1,4 @@ + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAllSubmodelsRecentChangesResult/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAllSubmodelsRecentChangesResult/instance.xml.exception new file mode 100644 index 00000000..f8242e26 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAllSubmodelsRecentChangesResult/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class GetAllSubmodelsRecentChangesResult, but got an unexpected element with the name unexpectedAdditionalProperty at: getAllSubmodelsRecentChangesResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAssetAdministrationShellDescriptorsResult/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAssetAdministrationShellDescriptorsResult/instance.xml new file mode 100644 index 00000000..5e3b4007 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAssetAdministrationShellDescriptorsResult/instance.xml @@ -0,0 +1,4 @@ + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAssetAdministrationShellDescriptorsResult/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAssetAdministrationShellDescriptorsResult/instance.xml.exception new file mode 100644 index 00000000..bfc8cca5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAssetAdministrationShellDescriptorsResult/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class GetAssetAdministrationShellDescriptorsResult, but got an unexpected element with the name unexpectedAdditionalProperty at: getAssetAdministrationShellDescriptorsResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAssetAdministrationShellsMetadataResult/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAssetAdministrationShellsMetadataResult/instance.xml new file mode 100644 index 00000000..eba49710 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAssetAdministrationShellsMetadataResult/instance.xml @@ -0,0 +1,4 @@ + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAssetAdministrationShellsMetadataResult/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAssetAdministrationShellsMetadataResult/instance.xml.exception new file mode 100644 index 00000000..d58ee5b5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAssetAdministrationShellsMetadataResult/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class GetAssetAdministrationShellsMetadataResult, but got an unexpected element with the name unexpectedAdditionalProperty at: getAssetAdministrationShellsMetadataResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAssetAdministrationShellsResult/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAssetAdministrationShellsResult/instance.xml new file mode 100644 index 00000000..87d34bc3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAssetAdministrationShellsResult/instance.xml @@ -0,0 +1,4 @@ + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAssetAdministrationShellsResult/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAssetAdministrationShellsResult/instance.xml.exception new file mode 100644 index 00000000..3714deb1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getAssetAdministrationShellsResult/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class GetAssetAdministrationShellsResult, but got an unexpected element with the name unexpectedAdditionalProperty at: getAssetAdministrationShellsResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getConceptDescriptionsResult/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getConceptDescriptionsResult/instance.xml new file mode 100644 index 00000000..607a545f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getConceptDescriptionsResult/instance.xml @@ -0,0 +1,4 @@ + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getConceptDescriptionsResult/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getConceptDescriptionsResult/instance.xml.exception new file mode 100644 index 00000000..42146a8d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getConceptDescriptionsResult/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class GetConceptDescriptionsResult, but got an unexpected element with the name unexpectedAdditionalProperty at: getConceptDescriptionsResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getPackageDescriptionsResult/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getPackageDescriptionsResult/instance.xml new file mode 100644 index 00000000..e56d9755 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getPackageDescriptionsResult/instance.xml @@ -0,0 +1,4 @@ + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getPackageDescriptionsResult/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getPackageDescriptionsResult/instance.xml.exception new file mode 100644 index 00000000..6fc480c6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getPackageDescriptionsResult/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class GetPackageDescriptionsResult, but got an unexpected element with the name unexpectedAdditionalProperty at: getPackageDescriptionsResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getPathItemsResult/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getPathItemsResult/instance.xml new file mode 100644 index 00000000..fd0710bd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getPathItemsResult/instance.xml @@ -0,0 +1,4 @@ + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getPathItemsResult/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getPathItemsResult/instance.xml.exception new file mode 100644 index 00000000..6c70a228 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getPathItemsResult/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class GetPathItemsResult, but got an unexpected element with the name unexpectedAdditionalProperty at: getPathItemsResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getReferencesResult/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getReferencesResult/instance.xml new file mode 100644 index 00000000..7b30c853 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getReferencesResult/instance.xml @@ -0,0 +1,4 @@ + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getReferencesResult/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getReferencesResult/instance.xml.exception new file mode 100644 index 00000000..c89e02de --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getReferencesResult/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class GetReferencesResult, but got an unexpected element with the name unexpectedAdditionalProperty at: getReferencesResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelDescriptorsResult/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelDescriptorsResult/instance.xml new file mode 100644 index 00000000..91db4352 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelDescriptorsResult/instance.xml @@ -0,0 +1,4 @@ + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelDescriptorsResult/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelDescriptorsResult/instance.xml.exception new file mode 100644 index 00000000..46719f4e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelDescriptorsResult/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class GetSubmodelDescriptorsResult, but got an unexpected element with the name unexpectedAdditionalProperty at: getSubmodelDescriptorsResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelElementsMetadataResult/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelElementsMetadataResult/instance.xml new file mode 100644 index 00000000..11624c52 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelElementsMetadataResult/instance.xml @@ -0,0 +1,4 @@ + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelElementsMetadataResult/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelElementsMetadataResult/instance.xml.exception new file mode 100644 index 00000000..f02f2606 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelElementsMetadataResult/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class GetSubmodelElementsMetadataResult, but got an unexpected element with the name unexpectedAdditionalProperty at: getSubmodelElementsMetadataResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelElementsResult/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelElementsResult/instance.xml new file mode 100644 index 00000000..c7cd045b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelElementsResult/instance.xml @@ -0,0 +1,4 @@ + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelElementsResult/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelElementsResult/instance.xml.exception new file mode 100644 index 00000000..8286b5c9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelElementsResult/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class GetSubmodelElementsResult, but got an unexpected element with the name unexpectedAdditionalProperty at: getSubmodelElementsResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelElementsValueResult/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelElementsValueResult/instance.xml new file mode 100644 index 00000000..5017b398 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelElementsValueResult/instance.xml @@ -0,0 +1,4 @@ + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelElementsValueResult/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelElementsValueResult/instance.xml.exception new file mode 100644 index 00000000..aa91ba5a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelElementsValueResult/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class GetSubmodelElementsValueResult, but got an unexpected element with the name unexpectedAdditionalProperty at: getSubmodelElementsValueResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelsMetadataResult/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelsMetadataResult/instance.xml new file mode 100644 index 00000000..093c93ee --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelsMetadataResult/instance.xml @@ -0,0 +1,4 @@ + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelsMetadataResult/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelsMetadataResult/instance.xml.exception new file mode 100644 index 00000000..c82aeb6c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelsMetadataResult/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class GetSubmodelsMetadataResult, but got an unexpected element with the name unexpectedAdditionalProperty at: getSubmodelsMetadataResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelsResult/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelsResult/instance.xml new file mode 100644 index 00000000..03462995 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelsResult/instance.xml @@ -0,0 +1,4 @@ + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelsResult/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelsResult/instance.xml.exception new file mode 100644 index 00000000..7124efcf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelsResult/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class GetSubmodelsResult, but got an unexpected element with the name unexpectedAdditionalProperty at: getSubmodelsResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelsValueResult/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelsValueResult/instance.xml new file mode 100644 index 00000000..0cefbdc3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelsValueResult/instance.xml @@ -0,0 +1,4 @@ + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelsValueResult/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelsValueResult/instance.xml.exception new file mode 100644 index 00000000..9930a2c3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/getSubmodelsValueResult/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class GetSubmodelsValueResult, but got an unexpected element with the name unexpectedAdditionalProperty at: getSubmodelsValueResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/globalAttribute/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/globalAttribute/instance.xml new file mode 100644 index 00000000..f452ff4c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/globalAttribute/instance.xml @@ -0,0 +1,4 @@ + + ANONYMOUS + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/globalAttribute/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/globalAttribute/instance.xml.exception new file mode 100644 index 00000000..4c211558 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/globalAttribute/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class GlobalAttribute, but got an unexpected element with the name unexpectedAdditionalProperty at: globalAttribute \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/greaterThanComparison/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/greaterThanComparison/instance.xml new file mode 100644 index 00000000..f3c38f13 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/greaterThanComparison/instance.xml @@ -0,0 +1,11 @@ + + + + 16#00 + + + 16#1F + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/greaterThanComparison/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/greaterThanComparison/instance.xml.exception new file mode 100644 index 00000000..ae9642d1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/greaterThanComparison/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class GreaterThanComparison, but got an unexpected element with the name unexpectedAdditionalProperty at: greaterThanComparison \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/greaterThanOrEqualComparison/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/greaterThanOrEqualComparison/instance.xml new file mode 100644 index 00000000..8b578782 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/greaterThanOrEqualComparison/instance.xml @@ -0,0 +1,11 @@ + + + + 16#1 + + + 16#00 + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/greaterThanOrEqualComparison/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/greaterThanOrEqualComparison/instance.xml.exception new file mode 100644 index 00000000..fd58fa3d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/greaterThanOrEqualComparison/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class GreaterThanOrEqualComparison, but got an unexpected element with the name unexpectedAdditionalProperty at: greaterThanOrEqualComparison \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/hexCast/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/hexCast/instance.xml new file mode 100644 index 00000000..67fe430d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/hexCast/instance.xml @@ -0,0 +1,8 @@ + + + + $sme.list[3].prop#valueType + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/hexCast/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/hexCast/instance.xml.exception new file mode 100644 index 00000000..70fd38ea --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/hexCast/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class HexCast, but got an unexpected element with the name unexpectedAdditionalProperty at: hexCast \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/hexLiteral/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/hexLiteral/instance.xml new file mode 100644 index 00000000..d5311a94 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/hexLiteral/instance.xml @@ -0,0 +1,4 @@ + + 16#1 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/hexLiteral/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/hexLiteral/instance.xml.exception new file mode 100644 index 00000000..7023aaf6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/hexLiteral/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class HexLiteral, but got an unexpected element with the name unexpectedAdditionalProperty at: hexLiteral \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/key/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/key/instance.xml new file mode 100644 index 00000000..9a48fbd7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/key/instance.xml @@ -0,0 +1,5 @@ + + EventElement + <ă<P󨱽²|dnœÞ® + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/key/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/key/instance.xml.exception new file mode 100644 index 00000000..be31ef1f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/key/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Key, but got an unexpected element with the name unexpectedAdditionalProperty at: key \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringDefinitionTypeIec61360/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringDefinitionTypeIec61360/instance.xml new file mode 100644 index 00000000..a13b8dd1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringDefinitionTypeIec61360/instance.xml @@ -0,0 +1,5 @@ + + en-JM-x-8fafefb1 + J5 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringDefinitionTypeIec61360/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringDefinitionTypeIec61360/instance.xml.exception new file mode 100644 index 00000000..684c5d56 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringDefinitionTypeIec61360/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class LangStringDefinitionTypeIec61360, but got an unexpected element with the name unexpectedAdditionalProperty at: langStringDefinitionTypeIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringNameType/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringNameType/instance.xml new file mode 100644 index 00000000..299885c2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringNameType/instance.xml @@ -0,0 +1,5 @@ + + en-JM-x-8fafefb1 + J5 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringNameType/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringNameType/instance.xml.exception new file mode 100644 index 00000000..a3f75fa9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringNameType/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class LangStringNameType, but got an unexpected element with the name unexpectedAdditionalProperty at: langStringNameType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringPreferredNameTypeIec61360/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringPreferredNameTypeIec61360/instance.xml new file mode 100644 index 00000000..150196b4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringPreferredNameTypeIec61360/instance.xml @@ -0,0 +1,5 @@ + + en-JM-x-8fafefb1 + J5 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringPreferredNameTypeIec61360/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringPreferredNameTypeIec61360/instance.xml.exception new file mode 100644 index 00000000..d407a1a3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringPreferredNameTypeIec61360/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class LangStringPreferredNameTypeIec61360, but got an unexpected element with the name unexpectedAdditionalProperty at: langStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringShortNameTypeIec61360/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringShortNameTypeIec61360/instance.xml new file mode 100644 index 00000000..66f3ff43 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringShortNameTypeIec61360/instance.xml @@ -0,0 +1,5 @@ + + en-JM-x-8fafefb1 + J5 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringShortNameTypeIec61360/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringShortNameTypeIec61360/instance.xml.exception new file mode 100644 index 00000000..246fd0de --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringShortNameTypeIec61360/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class LangStringShortNameTypeIec61360, but got an unexpected element with the name unexpectedAdditionalProperty at: langStringShortNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringTextType/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringTextType/instance.xml new file mode 100644 index 00000000..f0905182 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringTextType/instance.xml @@ -0,0 +1,5 @@ + + en-JM-x-8fafefb1 + J5 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringTextType/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringTextType/instance.xml.exception new file mode 100644 index 00000000..10000513 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringTextType/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class LangStringTextType, but got an unexpected element with the name unexpectedAdditionalProperty at: langStringTextType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringUom/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringUom/instance.xml new file mode 100644 index 00000000..3abefc24 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringUom/instance.xml @@ -0,0 +1,5 @@ + + en-JM-x-8fafefb1 + J5 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringUom/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringUom/instance.xml.exception new file mode 100644 index 00000000..c2210ab3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringUom/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class LangStringUom, but got an unexpected element with the name unexpectedAdditionalProperty at: langStringUom \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/lessThanComparison/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/lessThanComparison/instance.xml new file mode 100644 index 00000000..ff7fa0ab --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/lessThanComparison/instance.xml @@ -0,0 +1,11 @@ + + + + 16#1F + + + 16#1 + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/lessThanComparison/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/lessThanComparison/instance.xml.exception new file mode 100644 index 00000000..594a3bed --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/lessThanComparison/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class LessThanComparison, but got an unexpected element with the name unexpectedAdditionalProperty at: lessThanComparison \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/lessThanOrEqualComparison/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/lessThanOrEqualComparison/instance.xml new file mode 100644 index 00000000..35f0e593 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/lessThanOrEqualComparison/instance.xml @@ -0,0 +1,11 @@ + + + + 16#00 + + + 16#00 + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/lessThanOrEqualComparison/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/lessThanOrEqualComparison/instance.xml.exception new file mode 100644 index 00000000..42dd7313 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/lessThanOrEqualComparison/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class LessThanOrEqualComparison, but got an unexpected element with the name unexpectedAdditionalProperty at: lessThanOrEqualComparison \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/levelType/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/levelType/instance.xml new file mode 100644 index 00000000..47dcb66a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/levelType/instance.xml @@ -0,0 +1,7 @@ + + false + false + false + true + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/levelType/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/levelType/instance.xml.exception new file mode 100644 index 00000000..3336ddbd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/levelType/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class LevelType, but got an unexpected element with the name unexpectedAdditionalProperty at: levelType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/matchClause/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/matchClause/instance.xml new file mode 100644 index 00000000..b9337711 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/matchClause/instance.xml @@ -0,0 +1,39 @@ + + + + + + something_b2d0f286 + + + something_b0da9147 + + + + + + + + + something_aa0298f7 + + + + + something_e5667ab1 + + + + + + + something_697e8fb1 + + + something_a06a3e2e + + + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/matchClause/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/matchClause/instance.xml.exception new file mode 100644 index 00000000..1a11bc03 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/matchClause/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class MatchClause, but got an unexpected element with the name unexpectedAdditionalProperty at: matchClause \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/message/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/message/instance.xml new file mode 100644 index 00000000..f7ca693e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/message/instance.xml @@ -0,0 +1,5 @@ + + Exception + something_2c25e1c4 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/message/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/message/instance.xml.exception new file mode 100644 index 00000000..f14865a3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/message/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Message, but got an unexpected element with the name unexpectedAdditionalProperty at: message \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/month/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/month/instance.xml new file mode 100644 index 00000000..531db0cf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/month/instance.xml @@ -0,0 +1,10 @@ + + + + + CLIENTNOW + + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/month/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/month/instance.xml.exception new file mode 100644 index 00000000..9aebc349 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/month/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Month, but got an unexpected element with the name unexpectedAdditionalProperty at: month \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/multiLanguageProperty/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/multiLanguageProperty/instance.xml new file mode 100644 index 00000000..d99abe3a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/multiLanguageProperty/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/multiLanguageProperty/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/multiLanguageProperty/instance.xml.exception new file mode 100644 index 00000000..e7186995 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/multiLanguageProperty/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class MultiLanguageProperty, but got an unexpected element with the name unexpectedAdditionalProperty at: multiLanguageProperty \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/multiLanguagePropertyMetadata/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/multiLanguagePropertyMetadata/instance.xml new file mode 100644 index 00000000..ac38b54f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/multiLanguagePropertyMetadata/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/multiLanguagePropertyMetadata/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/multiLanguagePropertyMetadata/instance.xml.exception new file mode 100644 index 00000000..cfffae12 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/multiLanguagePropertyMetadata/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class MultiLanguagePropertyMetadata, but got an unexpected element with the name unexpectedAdditionalProperty at: multiLanguagePropertyMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/notEqualComparison/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/notEqualComparison/instance.xml new file mode 100644 index 00000000..820f4e30 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/notEqualComparison/instance.xml @@ -0,0 +1,11 @@ + + + + 2023-06-15T08:30:00-05:00 + + + 2024-02-29T12:00:00Z + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/notEqualComparison/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/notEqualComparison/instance.xml.exception new file mode 100644 index 00000000..b04dc936 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/notEqualComparison/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class NotEqualComparison, but got an unexpected element with the name unexpectedAdditionalProperty at: notEqualComparison \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/notExpression/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/notExpression/instance.xml new file mode 100644 index 00000000..67597558 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/notExpression/instance.xml @@ -0,0 +1,15 @@ + + + + + + 2023-06-15T08:30:00-05:00 + + + 2023-01-01T24:00:00 + + + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/notExpression/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/notExpression/instance.xml.exception new file mode 100644 index 00000000..a9cb1c9f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/notExpression/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class NotExpression, but got an unexpected element with the name unexpectedAdditionalProperty at: notExpression \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/numberCast/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/numberCast/instance.xml new file mode 100644 index 00000000..ebc1d5a2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/numberCast/instance.xml @@ -0,0 +1,8 @@ + + + + 12:00:00+01:00 + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/numberCast/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/numberCast/instance.xml.exception new file mode 100644 index 00000000..0a708222 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/numberCast/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class NumberCast, but got an unexpected element with the name unexpectedAdditionalProperty at: numberCast \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/numberLiteral/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/numberLiteral/instance.xml new file mode 100644 index 00000000..08316c5b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/numberLiteral/instance.xml @@ -0,0 +1,4 @@ + + 21668651.6 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/numberLiteral/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/numberLiteral/instance.xml.exception new file mode 100644 index 00000000..c0c81e07 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/numberLiteral/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class NumberLiteral, but got an unexpected element with the name unexpectedAdditionalProperty at: numberLiteral \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operation/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operation/instance.xml new file mode 100644 index 00000000..08fa4aa3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operation/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operation/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operation/instance.xml.exception new file mode 100644 index 00000000..5f7ffadc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operation/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Operation, but got an unexpected element with the name unexpectedAdditionalProperty at: operation \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationHandle/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationHandle/instance.xml new file mode 100644 index 00000000..d5f7c3be --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationHandle/instance.xml @@ -0,0 +1,4 @@ + + J5 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationHandle/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationHandle/instance.xml.exception new file mode 100644 index 00000000..6f1c4cc5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationHandle/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class OperationHandle, but got an unexpected element with the name unexpectedAdditionalProperty at: operationHandle \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationMetadata/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationMetadata/instance.xml new file mode 100644 index 00000000..ca7186e6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationMetadata/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationMetadata/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationMetadata/instance.xml.exception new file mode 100644 index 00000000..6504e875 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationMetadata/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class OperationMetadata, but got an unexpected element with the name unexpectedAdditionalProperty at: operationMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequest/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequest/instance.xml new file mode 100644 index 00000000..3f56bbca --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequest/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequest/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequest/instance.xml.exception new file mode 100644 index 00000000..83257996 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequest/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class OperationRequest, but got an unexpected element with the name unexpectedAdditionalProperty at: operationRequest \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequestAsync/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequestAsync/instance.xml new file mode 100644 index 00000000..7510c712 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequestAsync/instance.xml @@ -0,0 +1,4 @@ + + P5Y36660767143M + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequestAsync/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequestAsync/instance.xml.exception new file mode 100644 index 00000000..8c84abe1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequestAsync/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class OperationRequestAsync, but got an unexpected element with the name unexpectedAdditionalProperty at: operationRequestAsync \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequestAsyncValueOnly/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequestAsyncValueOnly/instance.xml new file mode 100644 index 00000000..dbe79769 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequestAsyncValueOnly/instance.xml @@ -0,0 +1,4 @@ + + P5Y36660767143M + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequestAsyncValueOnly/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequestAsyncValueOnly/instance.xml.exception new file mode 100644 index 00000000..ea05f2df --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequestAsyncValueOnly/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class OperationRequestAsyncValueOnly, but got an unexpected element with the name unexpectedAdditionalProperty at: operationRequestAsyncValueOnly \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequestValueOnly/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequestValueOnly/instance.xml new file mode 100644 index 00000000..5f8ae412 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequestValueOnly/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequestValueOnly/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequestValueOnly/instance.xml.exception new file mode 100644 index 00000000..6f8074a1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationRequestValueOnly/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class OperationRequestValueOnly, but got an unexpected element with the name unexpectedAdditionalProperty at: operationRequestValueOnly \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationResult/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationResult/instance.xml new file mode 100644 index 00000000..4dae3c42 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationResult/instance.xml @@ -0,0 +1,4 @@ + + Running + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationResult/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationResult/instance.xml.exception new file mode 100644 index 00000000..8e8c5712 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationResult/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class OperationResult, but got an unexpected element with the name unexpectedAdditionalProperty at: operationResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationResultValueOnly/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationResultValueOnly/instance.xml new file mode 100644 index 00000000..d8950ca6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationResultValueOnly/instance.xml @@ -0,0 +1,4 @@ + + Running + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationResultValueOnly/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationResultValueOnly/instance.xml.exception new file mode 100644 index 00000000..98a96224 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationResultValueOnly/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class OperationResultValueOnly, but got an unexpected element with the name unexpectedAdditionalProperty at: operationResultValueOnly \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationVariable/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationVariable/instance.xml new file mode 100644 index 00000000..c0358879 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationVariable/instance.xml @@ -0,0 +1,9 @@ + + + + something1d0edd81 + Capability + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationVariable/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationVariable/instance.xml.exception new file mode 100644 index 00000000..7aca893b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationVariable/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class OperationVariable, but got an unexpected element with the name unexpectedAdditionalProperty at: operationVariable \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/orExpression/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/orExpression/instance.xml new file mode 100644 index 00000000..9bc8bde2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/orExpression/instance.xml @@ -0,0 +1,25 @@ + + + + + + 16#DEADBEEF + + + 16#00 + + + + + + + 16#1 + + + 16#DEADBEEF + + + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/orExpression/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/orExpression/instance.xml.exception new file mode 100644 index 00000000..e91857bc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/orExpression/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class OrExpression, but got an unexpected element with the name unexpectedAdditionalProperty at: orExpression \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/packageDescription/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/packageDescription/instance.xml new file mode 100644 index 00000000..22e0af92 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/packageDescription/instance.xml @@ -0,0 +1,4 @@ + + 6 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/packageDescription/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/packageDescription/instance.xml.exception new file mode 100644 index 00000000..38648d4e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/packageDescription/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class PackageDescription, but got an unexpected element with the name unexpectedAdditionalProperty at: packageDescription \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/pagedResult/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/pagedResult/instance.xml new file mode 100644 index 00000000..8f6d298a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/pagedResult/instance.xml @@ -0,0 +1,4 @@ + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/pagedResult/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/pagedResult/instance.xml.exception new file mode 100644 index 00000000..3a2a085a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/pagedResult/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class PagedResult, but got an unexpected element with the name unexpectedAdditionalProperty at: pagedResult \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/pagingMetadata/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/pagingMetadata/instance.xml new file mode 100644 index 00000000..7f058671 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/pagingMetadata/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/pagingMetadata/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/pagingMetadata/instance.xml.exception new file mode 100644 index 00000000..0ceba9cf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/pagingMetadata/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class PagingMetadata, but got an unexpected element with the name unexpectedAdditionalProperty at: pagingMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/property/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/property/instance.xml new file mode 100644 index 00000000..4cade83c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/property/instance.xml @@ -0,0 +1,4 @@ + + xs:gDay + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/property/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/property/instance.xml.exception new file mode 100644 index 00000000..18a3b996 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/property/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Property, but got an unexpected element with the name unexpectedAdditionalProperty at: property \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/propertyMetadata/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/propertyMetadata/instance.xml new file mode 100644 index 00000000..bd3333f7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/propertyMetadata/instance.xml @@ -0,0 +1,4 @@ + + xs:gDay + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/propertyMetadata/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/propertyMetadata/instance.xml.exception new file mode 100644 index 00000000..b689f807 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/propertyMetadata/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class PropertyMetadata, but got an unexpected element with the name unexpectedAdditionalProperty at: propertyMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/protocolInformation/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/protocolInformation/instance.xml new file mode 100644 index 00000000..d4f5f55e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/protocolInformation/instance.xml @@ -0,0 +1,4 @@ + + something_cd6881d8 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/protocolInformation/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/protocolInformation/instance.xml.exception new file mode 100644 index 00000000..88ee268a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/protocolInformation/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class ProtocolInformation, but got an unexpected element with the name unexpectedAdditionalProperty at: protocolInformation \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/qualifier/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/qualifier/instance.xml new file mode 100644 index 00000000..327e17ba --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/qualifier/instance.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/qualifier/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/qualifier/instance.xml.exception new file mode 100644 index 00000000..a147043b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/qualifier/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Qualifier, but got an unexpected element with the name unexpectedAdditionalProperty at: qualifier \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/query/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/query/instance.xml new file mode 100644 index 00000000..82118634 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/query/instance.xml @@ -0,0 +1,15 @@ + + + + + + 16#1 + + + 16#1F + + + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/query/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/query/instance.xml.exception new file mode 100644 index 00000000..f191d1d1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/query/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Query, but got an unexpected element with the name unexpectedAdditionalProperty at: query \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/queryFilter/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/queryFilter/instance.xml new file mode 100644 index 00000000..16c8f8e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/queryFilter/instance.xml @@ -0,0 +1,16 @@ + + $aas#submodels + + + + + 16#1 + + + 16#1F + + + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/queryFilter/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/queryFilter/instance.xml.exception new file mode 100644 index 00000000..01f334f8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/queryFilter/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class QueryFilter, but got an unexpected element with the name unexpectedAdditionalProperty at: queryFilter \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/range/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/range/instance.xml new file mode 100644 index 00000000..0573108d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/range/instance.xml @@ -0,0 +1,4 @@ + + xs:gDay + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/range/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/range/instance.xml.exception new file mode 100644 index 00000000..d1a453ad --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/range/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Range, but got an unexpected element with the name unexpectedAdditionalProperty at: range \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/rangeMetadata/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/rangeMetadata/instance.xml new file mode 100644 index 00000000..c00e7f34 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/rangeMetadata/instance.xml @@ -0,0 +1,4 @@ + + xs:gDay + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/rangeMetadata/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/rangeMetadata/instance.xml.exception new file mode 100644 index 00000000..4c4adce3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/rangeMetadata/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class RangeMetadata, but got an unexpected element with the name unexpectedAdditionalProperty at: rangeMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/rangeValue/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/rangeValue/instance.xml new file mode 100644 index 00000000..e68df54b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/rangeValue/instance.xml @@ -0,0 +1,5 @@ + + 12552311.97 + 8978292.24 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/rangeValue/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/rangeValue/instance.xml.exception new file mode 100644 index 00000000..bd17d81d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/rangeValue/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class RangeValue, but got an unexpected element with the name unexpectedAdditionalProperty at: rangeValue \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/reference/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/reference/instance.xml new file mode 100644 index 00000000..953917ef --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/reference/instance.xml @@ -0,0 +1,10 @@ + + ExternalReference + + + GlobalReference + urn:example:10:6914e6d2 + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/reference/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/reference/instance.xml.exception new file mode 100644 index 00000000..df2b458d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/reference/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Reference, but got an unexpected element with the name unexpectedAdditionalProperty at: reference \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceAttribute/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceAttribute/instance.xml new file mode 100644 index 00000000..4de118f9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceAttribute/instance.xml @@ -0,0 +1,4 @@ + + $sm("a\\b")#id + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceAttribute/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceAttribute/instance.xml.exception new file mode 100644 index 00000000..d3fd5732 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceAttribute/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class ReferenceAttribute, but got an unexpected element with the name unexpectedAdditionalProperty at: referenceAttribute \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElement/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElement/instance.xml new file mode 100644 index 00000000..22a8bc51 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElement/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElement/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElement/instance.xml.exception new file mode 100644 index 00000000..1308e312 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElement/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class ReferenceElement, but got an unexpected element with the name unexpectedAdditionalProperty at: referenceElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElementMetadata/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElementMetadata/instance.xml new file mode 100644 index 00000000..0faedbb9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElementMetadata/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElementMetadata/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElementMetadata/instance.xml.exception new file mode 100644 index 00000000..3f84fb7e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElementMetadata/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class ReferenceElementMetadata, but got an unexpected element with the name unexpectedAdditionalProperty at: referenceElementMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElementValue/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElementValue/instance.xml new file mode 100644 index 00000000..82eb8917 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElementValue/instance.xml @@ -0,0 +1,10 @@ + + ExternalReference + + + Operation + öĖa􍣡™| + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElementValue/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElementValue/instance.xml.exception new file mode 100644 index 00000000..1336973c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElementValue/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class ReferenceElementValue, but got an unexpected element with the name unexpectedAdditionalProperty at: referenceElementValue \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/regexComparison/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/regexComparison/instance.xml new file mode 100644 index 00000000..fb786621 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/regexComparison/instance.xml @@ -0,0 +1,15 @@ + + + + something_72aad79d + + + + + something_3bebb210 + + + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/regexComparison/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/regexComparison/instance.xml.exception new file mode 100644 index 00000000..e07cbcbd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/regexComparison/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class RegexComparison, but got an unexpected element with the name unexpectedAdditionalProperty at: regexComparison \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElement/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElement/instance.xml new file mode 100644 index 00000000..5bd0ff3b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElement/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElement/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElement/instance.xml.exception new file mode 100644 index 00000000..a7a3df6c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElement/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class RelationshipElement, but got an unexpected element with the name unexpectedAdditionalProperty at: relationshipElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElementMetadata/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElementMetadata/instance.xml new file mode 100644 index 00000000..45108fd6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElementMetadata/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElementMetadata/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElementMetadata/instance.xml.exception new file mode 100644 index 00000000..34591052 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElementMetadata/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class RelationshipElementMetadata, but got an unexpected element with the name unexpectedAdditionalProperty at: relationshipElementMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElementValue/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElementValue/instance.xml new file mode 100644 index 00000000..eccbce04 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElementValue/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElementValue/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElementValue/instance.xml.exception new file mode 100644 index 00000000..02fcd1e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElementValue/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class RelationshipElementValue, but got an unexpected element with the name unexpectedAdditionalProperty at: relationshipElementValue \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/resource/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/resource/instance.xml new file mode 100644 index 00000000..125871f1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/resource/instance.xml @@ -0,0 +1,4 @@ + + #; + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/resource/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/resource/instance.xml.exception new file mode 100644 index 00000000..3b1f2825 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/resource/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Resource, but got an unexpected element with the name unexpectedAdditionalProperty at: resource \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/result/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/result/instance.xml new file mode 100644 index 00000000..66d8ed16 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/result/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/result/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/result/instance.xml.exception new file mode 100644 index 00000000..44b23802 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/result/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Result, but got an unexpected element with the name unexpectedAdditionalProperty at: result \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/securityAttributeObject/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/securityAttributeObject/instance.xml new file mode 100644 index 00000000..70ce713f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/securityAttributeObject/instance.xml @@ -0,0 +1,6 @@ + + W3C_DID + something_67cebccd + something_2db7f511 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/securityAttributeObject/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/securityAttributeObject/instance.xml.exception new file mode 100644 index 00000000..28ac6de6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/securityAttributeObject/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class SecurityAttributeObject, but got an unexpected element with the name unexpectedAdditionalProperty at: securityAttributeObject \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/serviceDescription/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/serviceDescription/instance.xml new file mode 100644 index 00000000..8a36587b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/serviceDescription/instance.xml @@ -0,0 +1,7 @@ + + + https://admin-shell.io/aas/API/3/2/SubmodelServiceSpecification/SSP-001 + https://admin-shell.io/aas/API/3/2/AssetAdministrationShellRegistryServiceSpecification/SSP-002 + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/serviceDescription/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/serviceDescription/instance.xml.exception new file mode 100644 index 00000000..904ec84e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/serviceDescription/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class ServiceDescription, but got an unexpected element with the name unexpectedAdditionalProperty at: serviceDescription \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/specificAssetId/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/specificAssetId/instance.xml new file mode 100644 index 00000000..ba4f26a9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/specificAssetId/instance.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + 𠤢4𠤢 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/specificAssetId/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/specificAssetId/instance.xml.exception new file mode 100644 index 00000000..fb3dc577 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/specificAssetId/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class SpecificAssetId, but got an unexpected element with the name unexpectedAdditionalProperty at: specificAssetId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/startsWithComparison/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/startsWithComparison/instance.xml new file mode 100644 index 00000000..edbd1d47 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/startsWithComparison/instance.xml @@ -0,0 +1,15 @@ + + + + + + something_4df2f289 + + + + + $smdesc#semanticId.type + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/startsWithComparison/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/startsWithComparison/instance.xml.exception new file mode 100644 index 00000000..b880b49d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/startsWithComparison/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class StartsWithComparison, but got an unexpected element with the name unexpectedAdditionalProperty at: startsWithComparison \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/stringCast/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/stringCast/instance.xml new file mode 100644 index 00000000..bbf128b1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/stringCast/instance.xml @@ -0,0 +1,12 @@ + + + + + + ANONYMOUS + + + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/stringCast/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/stringCast/instance.xml.exception new file mode 100644 index 00000000..92d96c84 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/stringCast/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class StringCast, but got an unexpected element with the name unexpectedAdditionalProperty at: stringCast \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/stringLiteral/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/stringLiteral/instance.xml new file mode 100644 index 00000000..26207233 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/stringLiteral/instance.xml @@ -0,0 +1,4 @@ + + something_b358d315 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/stringLiteral/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/stringLiteral/instance.xml.exception new file mode 100644 index 00000000..a4f4ccb9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/stringLiteral/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class StringLiteral, but got an unexpected element with the name unexpectedAdditionalProperty at: stringLiteral \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodel/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodel/instance.xml new file mode 100644 index 00000000..4e783d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodel/instance.xml @@ -0,0 +1,4 @@ + + 0 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodel/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodel/instance.xml.exception new file mode 100644 index 00000000..019406a2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodel/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Submodel, but got an unexpected element with the name unexpectedAdditionalProperty at: submodel \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelDescriptor/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelDescriptor/instance.xml new file mode 100644 index 00000000..169ab8b7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelDescriptor/instance.xml @@ -0,0 +1,24 @@ + + + + + something_9e563111 + + <ă<P󨱽²|dnœÞ® + + + + something_5dae1086 + + <ă<P󨱽²|dnœÞ® + + + + something_b8ea5b5e + + <ă<P󨱽²|dnœÞ® + + + Ûă<P󨱽²|dnœÞ® + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelDescriptor/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelDescriptor/instance.xml.exception new file mode 100644 index 00000000..ca45f387 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelDescriptor/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class SubmodelDescriptor, but got an unexpected element with the name unexpectedAdditionalProperty at: submodelDescriptor \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementCollection/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementCollection/instance.xml new file mode 100644 index 00000000..fddc0af0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementCollection/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementCollection/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementCollection/instance.xml.exception new file mode 100644 index 00000000..bac53f19 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementCollection/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class SubmodelElementCollection, but got an unexpected element with the name unexpectedAdditionalProperty at: submodelElementCollection \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementCollectionMetadata/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementCollectionMetadata/instance.xml new file mode 100644 index 00000000..e0e89659 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementCollectionMetadata/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementCollectionMetadata/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementCollectionMetadata/instance.xml.exception new file mode 100644 index 00000000..41245548 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementCollectionMetadata/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class SubmodelElementCollectionMetadata, but got an unexpected element with the name unexpectedAdditionalProperty at: submodelElementCollectionMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementList/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementList/instance.xml new file mode 100644 index 00000000..d0eb7136 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementList/instance.xml @@ -0,0 +1,4 @@ + + BasicEventElement + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementList/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementList/instance.xml.exception new file mode 100644 index 00000000..31125542 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementList/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class SubmodelElementList, but got an unexpected element with the name unexpectedAdditionalProperty at: submodelElementList \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementListMetadata/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementListMetadata/instance.xml new file mode 100644 index 00000000..195db888 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementListMetadata/instance.xml @@ -0,0 +1,4 @@ + + BasicEventElement + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementListMetadata/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementListMetadata/instance.xml.exception new file mode 100644 index 00000000..ea57ea4b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementListMetadata/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class SubmodelElementListMetadata, but got an unexpected element with the name unexpectedAdditionalProperty at: submodelElementListMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelMetadata/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelMetadata/instance.xml new file mode 100644 index 00000000..b543dbe7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelMetadata/instance.xml @@ -0,0 +1,4 @@ + + 0 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelMetadata/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelMetadata/instance.xml.exception new file mode 100644 index 00000000..c801d9c8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelMetadata/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class SubmodelMetadata, but got an unexpected element with the name unexpectedAdditionalProperty at: submodelMetadata \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelRecentChange/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelRecentChange/instance.xml new file mode 100644 index 00000000..1f184d74 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelRecentChange/instance.xml @@ -0,0 +1,6 @@ + + 2022-04-01T24:00:00+00:00 + 2022-04-01T24:00:00-00:00 + J5 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelRecentChange/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelRecentChange/instance.xml.exception new file mode 100644 index 00000000..f208d6d0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelRecentChange/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class SubmodelRecentChange, but got an unexpected element with the name unexpectedAdditionalProperty at: submodelRecentChange \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/timeCast/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/timeCast/instance.xml new file mode 100644 index 00000000..677cc5ea --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/timeCast/instance.xml @@ -0,0 +1,8 @@ + + + + something_d032619c + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/timeCast/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/timeCast/instance.xml.exception new file mode 100644 index 00000000..3c01a06b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/timeCast/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class TimeCast, but got an unexpected element with the name unexpectedAdditionalProperty at: timeCast \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/timeLiteral/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/timeLiteral/instance.xml new file mode 100644 index 00000000..2575c8eb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/timeLiteral/instance.xml @@ -0,0 +1,4 @@ + + 12:00:00+01:00 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/timeLiteral/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/timeLiteral/instance.xml.exception new file mode 100644 index 00000000..58ab4ce2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/timeLiteral/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class TimeLiteral, but got an unexpected element with the name unexpectedAdditionalProperty at: timeLiteral \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueList/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueList/instance.xml new file mode 100644 index 00000000..c62be4cc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueList/instance.xml @@ -0,0 +1,8 @@ + + + + öĖa􍣡™| + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueList/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueList/instance.xml.exception new file mode 100644 index 00000000..3d14d540 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueList/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class ValueList, but got an unexpected element with the name unexpectedAdditionalProperty at: valueList \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueReferencePair/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueReferencePair/instance.xml new file mode 100644 index 00000000..80d600ef --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueReferencePair/instance.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueReferencePair/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueReferencePair/instance.xml.exception new file mode 100644 index 00000000..55274aaa --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueReferencePair/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class ValueReferencePair, but got an unexpected element with the name unexpectedAdditionalProperty at: valueReferencePair \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/year/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/year/instance.xml new file mode 100644 index 00000000..96498b54 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/year/instance.xml @@ -0,0 +1,8 @@ + + + + 2023-01-01T24:00:00 + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/year/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/year/instance.xml.exception new file mode 100644 index 00000000..193e2340 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/year/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Year, but got an unexpected element with the name unexpectedAdditionalProperty at: year \ No newline at end of file